/* ==========================================================================
   WISSENS-WERKSTATT JEVER 
   Design: CCC-Minimal / Brutalism Meets Culture Glow
   ========================================================================== */

/* --- 1. Grund-Setup --- */
:root {
    --radio-orange: #d35400;
    --werkstatt-blau: #557fa1;
    --accent-glow: #ff9d00;
    --kultur-gold: #ffcc00;
    --hacker-green: #00ff00;
    --ccc-red: #cc0000;
    --shadow-glow: 0 0 15px rgba(255, 157, 0, 0.5);
}

* { 
    box-sizing: border-box; 
}

body {
    font-family: "Courier New", Courier, monospace;
    background-color: #ffffff;
    color: #111;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.5;
}

/* --- 2. Header & Animationen --- */
header {
    background-color: #111;
    color: var(--hacker-green);
    padding: 1.5rem;
    border-bottom: 4px solid var(--ccc-red);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header strong { 
    font-size: 1.4rem; 
}

.header-subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

/* Das "Wissens-Werkstatt Leuchten" - Jetzt überall in Hacker-Grün */
.status-blink {
    color: var(--hacker-green) !important; /* Erzwungenes Grün */
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    animation: pulse-glow-green 2s infinite;
}

@keyframes pulse-glow-green {
    0% { opacity: 1; text-shadow: 0 0 5px var(--hacker-green); }
    50% { opacity: 0.5; text-shadow: 0 0 20px var(--hacker-green); }
    100% { opacity: 1; text-shadow: 0 0 5px var(--hacker-green); }
}

/* Der kleine Punkt beim Radio-Status */
.status-dot.status-online {
    background-color: var(--hacker-green) !important;
    box-shadow: 0 0 10px var(--hacker-green);
    animation: pulse-glow-green 1.5s infinite; /* Punkt blinkt jetzt auch! */
}

/* --- 3. Layout & Sidebar --- */
.main-container {
    display: flex;
    flex: 1;
}

nav {
    width: 280px;
    background-color: #f4f4f4;
    border-right: 1px solid #ddd;
    padding: 1.5rem;
}

nav h3 {
    font-size: 0.85rem;
    color: var(--werkstatt-blau);
    text-transform: uppercase;
    border-bottom: 1px solid var(--kultur-gold);
    padding-bottom: 5px;
    margin-top: 2rem;
    letter-spacing: 1px;
}

nav h3:first-child { 
    margin-top: 0; 
}

nav ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

nav li { 
    margin-bottom: 0.5rem; 
}

nav a {
    text-decoration: none;
    color: var(--werkstatt-blau);
    font-weight: bold;
    display: block;
    padding: 8px 5px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--kultur-gold);
    background-color: var(--werkstatt-blau);
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
    padding-left: 10px;
}

/* --- 4. Inhaltsbereich --- */
article {
    flex: 1;
    padding: 2.5rem;
    background-color: #fff;
    max-width: 1200px;
}

h1, h2 {
    border-bottom: 2px solid #111;
    padding-bottom: 10px;
    margin-top: 0;
    color: var(--werkstatt-blau);
}

h3 {
    color: #444;
}

.page-banner {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
}

/* --- 5. Werkstatt-Boxen & Karten --- */
.info-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-left: 6px solid var(--werkstatt-blau);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.project-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-top: 4px solid var(--werkstatt-blau);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
}

.border-gold {
    border-left: 6px solid var(--kultur-gold);
    background: rgba(255, 204, 0, 0.05);
    padding: 20px;
    margin: 20px 0;
}

.platt-box {
    background: #f1f5f9;
    padding: 20px;
    border-left: 4px solid var(--radio-orange);
    margin-top: 40px;
}

/* --- 6. Radio & Buttons --- */
.radio-banner {
    margin-bottom: 30px;
    border: 2px solid var(--radio-orange);
    padding: 25px;
    background: #fffaf5;
    text-align: center;
}

.status-dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-online {
    background-color: var(--hacker-green);
    box-shadow: 0 0 8px var(--hacker-green);
}

.radio-btn {
    background: var(--radio-orange);
    color: white;
    border: none;
    padding: 12px 25px;
    font-family: "Courier New", monospace;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 4px 4px 0px #5e2500;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.radio-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #5e2500;
}

/* ==========================================================================
   DER UNKAPUTTBARE FOOTER-FIX
   ========================================================================== */

#final-footer {
    background-color: #0a0a0a !important;
    color: #888 !important;
    padding: 60px 20px !important;
    border-top: 2px solid #1a1a1a !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    box-shadow: none !important;
    clear: both !important;
}

#final-footer .f-wrapper {
    max-width: 900px !important;
    margin: 0 auto !important;
    background: transparent !important;
    display: block !important;
}

#final-footer .f-brand strong {
    color: #eee !important;
    font-size: 1.1rem !important;
    display: block !important;
    margin-bottom: 5px !important;
}

/* Navigation ohne weiße Boxen und Riesen-Striche */
#final-footer .f-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    margin: 30px 0 !important;
    background: transparent !important;
    border: none !important;
}

#final-footer .f-nav a {
    color: #aaa !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 0.85rem !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

#final-footer .f-nav a:hover {
    color: var(--hacker-green) !important;
}

#final-footer .f-divider {
    color: #333 !important;
    user-select: none !important;
}

/* Terminal-Bereich am Ende */
#final-footer .f-terminal {
    border-top: 1px solid #1a1a1a !important;
    padding-top: 25px !important;
    font-family: 'Courier New', monospace !important;
    font-size: 0.75rem !important;
    line-height: 1.8 !important;
    background: transparent !important;
}

#final-footer .f-status {
    color: var(--hacker-green) !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

#final-footer .f-hex {
    color: #555 !important;
}
#final-footer .f-nav a[target="_blank"] {
    color: var(--kultur-gold) !important; /* Netzwerk-Links leicht golden hervorheben */
}

#final-footer .f-nav a[target="_blank"]:hover {
    color: var(--hacker-green) !important;
}
/* --- Kontakt & Impressum Spezial-Styles --- */
.contact-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.card-blue { border-top: 5px solid var(--werkstatt-blau) !important; flex: 1; min-width: 300px; }
.card-red { border-top: 5px solid var(--ccc-red) !important; flex: 1; min-width: 300px; }

.pgp-notice {
    background: rgba(19, 58, 89, 0.05);
    padding: 15px;
    border-left: 4px solid var(--ccc-red);
    margin-top: 15px;
    font-size: 0.85em;
}

.contact-form-wrapper {
    margin-bottom: 50px;
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.legal-box {
    background: #f9f9f9;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.back-link-area {
    text-align: center;
    margin-top: 50px;
}
/* --- Legal & Privacy Styles --- */
.legal-document header {
    border-bottom: 3px solid #111;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.legal-document h1 {
    color: var(--werkstatt-blau);
}

.sub-header-info {
    font-family: monospace;
    font-size: 0.9em;
    color: #666;
}

.responsible-box {
    border-left: 5px solid var(--ccc-red) !important;
    background: rgba(204, 0, 0, 0.03) !important;
    margin-bottom: 40px;
    padding: 20px;
}

.responsible-box h2 {
    border: none !important;
    margin-top: 0 !important;
    color: var(--ccc-red) !important;
}

.pgp-download-link {
    color: var(--ccc-red);
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
}

.no-cookie-section {
    margin-bottom: 40px;
    border: 2px solid #28a745;
    padding: 20px;
    background: #f6fff8;
}

.no-cookie-section h2 {
    border: none !important;
    margin-top: 0 !important;
    color: #155724 !important;
}

.privacy-sep {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 40px 0;
}

.english-translation {
    color: #555;
}

.english-translation h2 {
    border: none !important;
}

/* Antispam & PGP-Box bleiben wie gehabt, aber wir ziehen sie ins CSS */
.antispam {
    unicode-bidi: bidi-override;
    direction: rtl;
    display: inline;
    color: var(--werkstatt-blau);
    font-weight: bold;
}

.pgp-box {
    background: #f1f5f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85em;
    margin-top: 10px;
    word-break: break-all;
}
/* --- Impressum Spezial-Styles --- */
.legal-title-orange {
    color: var(--werkstatt-blau);
    border-bottom: 3px solid var(--radio-orange);
    padding-bottom: 10px;
}

.impressum-box {
    border-left: 5px solid var(--radio-orange) !important;
    background: rgba(211, 84, 0, 0.03) !important;
    padding: 25px;
}

.impressum-box h3 {
    margin-top: 0;
    color: var(--radio-orange);
}

.legal-text-block {
    margin-top: 40px;
}

.legal-text-block h3 {
    margin-bottom: 15px;
    border: none;
}

.legal-sep {
    border: 0;
    border-top: 1px dashed #ccc;
    margin: 30px 0;
}
/* --- Home Page Spezifische Styles --- */
.radio-banner {
    border: 2px solid var(--radio-orange);
    background: #fffaf5;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 4px 4px 0px rgba(211, 84, 0, 0.1);
}

.radio-banner h2 { color: var(--radio-orange); border: none; margin-bottom: 10px; font-size: 1.8rem; }

.track-display {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--werkstatt-blau);
    font-weight: bold;
    background: rgba(0,0,0,0.05);
    padding: 12px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid #eee;
}

.audio-wrapper {
    margin: 20px auto;
    max-width: 450px;
    background: #111;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid var(--radio-orange);
}

.audio-wrapper audio {
    width: 100%;
    filter: invert(100%) hue-rotate(180deg);
}

.platt-box {
    margin-top: 25px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px;
    border-radius: 4px;
}

.opening-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.opening-card { background: #fff; padding: 15px; border-radius: 4px; border: 1px solid #ccc; }
.card-green { border-color: #28a745; }
.card-red { border-color: var(--ccc-red); }

.donate-section {
    border: 2px solid var(--werkstatt-blau);
    background: #f8fafc;
    text-align: center;
    padding: 40px;
    margin: 40px 0;
}

.team-box {
    margin-top: 50px;
    padding: 25px;
    background: #f1f5f9;
    border-left: 6px solid #ccc;
}
/* --- AGB & Teilnahmebedingungen Spezial-Styles --- */
.legal-document section {
    margin-bottom: 40px;
}

.legal-document h2 {
    color: var(--werkstatt-blau);
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.legal-list {
    line-height: 1.8;
    list-style-type: '>> ';
    padding-left: 5px;
}

.legal-list-numbered {
    line-height: 1.8;
    padding-left: 20px;
}

.legal-list-numbered li {
    margin-bottom: 10px;
}

.tax-notice {
    font-size: 0.9em;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
    color: #555;
}

.salvatorische-klausel {
    font-style: italic;
    color: #666;
    margin-top: 20px;
}
/* --- OS-Vergleich Spezial-Styles --- */
.os-comparison-header {
    border-bottom: 4px solid var(--werkstatt-blau);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.card-windows {
    border-top: 5px solid #0078d7 !important;
    background: rgba(0, 120, 215, 0.03) !important;
}

.card-linux {
    border-top: 5px solid #f8d000 !important;
    background: rgba(248, 208, 0, 0.03) !important;
}

.os-list {
    padding-left: 10px;
    line-height: 1.6;
    margin: 20px 0;
}

.list-pro { list-style-type: '>> '; color: #28a745; font-weight: bold; }
.list-con { list-style-type: '-- '; color: #cc0000; font-weight: bold; }

/* Die Texte in den Listen müssen wieder neutral sein */
.os-list li span { color: var(--text-color); font-weight: normal; }

.os-hybrid-box {
    background: var(--werkstatt-blau);
    color: white;
    border-radius: 8px;
    padding: 30px;
    margin-top: 40px;
}

.os-hybrid-box h2 {
    color: #fff !important;
    border: none !important;
    margin-top: 0;
}

.os-quote {
    margin-top: 20px;
    font-style: italic;
    border-top: 1px dashed rgba(255,255,255,0.3);
    padding-top: 10px;
    text-align: center;
}
/* --- Bildungsangebote Spezial-Styles --- */
.edu-intro {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.edu-box {
    margin-bottom: 2rem;
    padding: 25px;
}

/* Die vier Säulen der Bildung */
.edu-akustik { border-left: 6px solid #d4af37; background: rgba(212, 175, 55, 0.05); }
.edu-akustik h3 { color: var(--werkstatt-blau) !important; border: none !important; }

.edu-security { border-left: 6px solid #0e7e13; background: rgba(14, 126, 19, 0.05); }
.edu-security h3 { color: var(--werkstatt-blau) !important; border: none !important; }

.edu-ki { border-left: 6px solid #cc0000; background: rgba(204, 0, 0, 0.05); }
.edu-ki h3 { color: var(--werkstatt-blau) !important; border: none !important; }

.edu-medien { border-left: 6px solid #007bff; background: rgba(0, 123, 255, 0.05); }
.edu-medien h3 { color: var(--werkstatt-blau) !important; border: none !important; }

.participation-box {
    background: var(--werkstatt-blau);
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin: 40px 0;
}

.participation-box h4 {
    margin-top: 0;
    color: #fff !important;
    border: none !important;
}

.edu-summary-section {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    color: #555;
}
/* --- Computerbau Spezial-Styles --- */
.pc-build-header {
    border-bottom: 4px solid var(--werkstatt-blau);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.pc-build-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
    margin-bottom: 40px;
}

.card-gold {
    border-top: 5px solid #d4af37 !important;
}

.pc-cta-box {
    background: var(--werkstatt-blau); 
    color: white; 
    padding: 40px 20px; 
    border-radius: 8px; 
    text-align: center; 
    border: 2px solid #d4af37;
}

.pc-cta-box h2 {
    color: #d4af37 !important; 
    border: none !important; 
    margin-top: 0;
}

.pc-cta-phone {
    font-size: 1.5rem; 
    font-weight: bold;
    margin-top: 20px;
}
/* --- Digital Signage Spezial-Styles --- */
.signage-header {
    border-bottom: 4px solid var(--werkstatt-blau);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.signage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.fee-box {
    background: var(--werkstatt-blau);
    color: white;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid #ffcc00;
    text-align: center;
    margin-bottom: 40px;
}

.fee-box h2 {
    color: #ffcc00 !important;
    border: none !important;
    margin-top: 0;
}

.advantage-list {
    line-height: 1.8;
    list-style-type: '✅ ';
    padding-left: 5px;
}

.signage-footer-call {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
}
/* --- Fernwartung Spezial-Styles --- */
.support-header {
    border-bottom: 4px solid var(--ccc-red);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.support-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    margin-bottom: 40px;
}

.anydesk-box {
    text-align: center; 
    border: 2px solid var(--ccc-red); 
    background: #fffcfc; 
    padding: 40px 20px;
    margin-bottom: 40px;
}

.anydesk-box h3 {
    color: var(--ccc-red) !important; 
    border: none !important; 
    margin-top: 0;
}

.anydesk-btn {
    background: var(--ccc-red) !important; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 1.2rem; 
    box-shadow: 4px 4px 0px #800000;
}

.ready-for-support {
    margin-top: 50px; 
    text-align: center; 
    padding: 30px; 
    background: #f1f5f9; 
    border-radius: 8px;
}
/* --- Homecloud Spezial-Styles --- */
.cloud-list {
    line-height: 1.8;
    list-style-type: '>> ';
    padding-left: 5px;
    margin-bottom: 30px;
}

.cloud-list li strong {
    color: var(--werkstatt-blau);
}

.cloud-topics-box {
    background: #f1f5f9;
    border-left: 6px solid var(--hacker-green);
    padding: 25px;
    margin: 30px 0;
}

.cloud-topics-box h4 {
    margin-top: 0;
    color: var(--hacker-green) !important;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* --- Künstlerhilfe & Kultur Spezial-Styles --- */
.kultur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.kultur-grid-item {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-top: 4px solid var(--kultur-gold);
}

.kultur-grid-item h3 {
    margin-top: 0;
    color: var(--werkstatt-blau) !important;
    border: none !important;
}

.border-gold {
    border-left: 6px solid var(--kultur-gold) !important;
    background: rgba(212, 175, 55, 0.05) !important;
    padding: 25px;
    margin: 30px 0;
}

.border-gold h4 {
    margin-top: 0;
    color: #b8860b !important;
    border: none !important;
    text-transform: uppercase;
}

.kultur-list {
    line-height: 1.8;
    list-style-type: '🎨 ';
    padding-left: 5px;
    margin-bottom: 30px;
}
/* --- Maria von Jever Spezial-Styles --- */
.maria-header {
    border-bottom: 4px solid #d4af37;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.maria-grid-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.maria-statue-card {
    flex: 0 0 300px;
    max-width: 100%;
    text-align: center;
    background: #fff;
}

.maria-statue-card img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.maria-inscription-box {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.maria-castle-section {
    overflow: hidden;
    margin-top: 40px;
    background: #f1f5f9;
    padding: 30px;
    border-radius: 8px;
}

.maria-castle-img-float {
    float: right;
    width: 30%;
    min-width: 250px;
    margin-left: 25px;
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
}

.maria-myth-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .maria-myth-grid { grid-template-columns: 1fr; }
    .maria-castle-img-float { float: none; width: 100%; margin-left: 0; margin-bottom: 20px; }
}
/* --- Mediendesign Spezial-Styles --- */
.design-header {
    border-bottom: 4px solid var(--kultur-gold);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.design-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 20px; 
    margin-bottom: 40px;
}

.tool-box {
    border-left: 5px solid var(--werkstatt-blau) !important; 
    background: #f8fafc !important; 
    margin-bottom: 40px;
    padding: 25px;
}

.tool-box h3 {
    margin-top: 0; 
    color: var(--werkstatt-blau) !important; 
    border: none !important;
}

.tool-list {
    line-height: 1.8; 
    list-style-type: '>> ';
    padding-left: 5px;
}

.hardware-bridge-box {
    background: #fff5f5; 
    border: 2px solid var(--ccc-red); 
    padding: 25px; 
    border-radius: 8px;
}

.hardware-bridge-box h4 {
    margin-top: 0; 
    color: var(--ccc-red) !important; 
    border: none !important;
}
/* --- Medienwerkstatt Spezial-Styles --- */
.medien-header {
    color: var(--werkstatt-blau); 
    border-bottom: 3px solid var(--kultur-gold); 
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.medien-banner {
    border-bottom: 5px solid var(--kultur-gold);
}

.medien-intro {
    font-size: 1.2rem; 
    line-height: 1.6;
    margin-bottom: 30px;
}

.artist-support-box {
    border-left: 6px solid var(--kultur-gold) !important;
    background: rgba(212, 175, 55, 0.05) !important;
    padding: 25px;
    margin: 30px 0;
}

.artist-support-box h3 {
    color: var(--radio-orange) !important; 
    margin-top: 0;
    border: none !important;
}

.medien-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px;
    margin-top: 30px;
}

.medien-cta-box {
    background: #f9f9f9; 
    padding: 30px; 
    border-radius: 8px; 
    margin-top: 50px; 
    text-align: center; 
    border: 1px solid #eee;
}
/* --- Open Source (FOSS) Spezial-Styles --- */
.foss-header {
    border-bottom: 4px solid #28a745;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* Das simulierte Software-Fenster */
.window-box {
    border: 2px solid #0078d7; 
    padding: 0; 
    overflow: hidden; 
    margin-bottom: 40px;
    border-radius: 4px;
}

.window-header {
    background: #0078d7; 
    color: white; 
    padding: 5px 15px; 
    font-family: monospace; 
    font-size: 0.9em; 
    display: flex; 
    justify-content: space-between;
}

.window-content {
    padding: 25px; 
    background: #fff;
}

.foss-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-bottom: 50px;
}

.foss-benefit-box {
    border-left: 5px solid #28a745 !important; 
    background: #f6fff8 !important;
    padding: 25px;
}

.foss-blue-callout {
    background: var(--werkstatt-blau); 
    color: white; 
    padding: 30px; 
    border-radius: 8px; 
    text-align: center; 
    margin-bottom: 40px;
}
/* --- Radio Likedeeler Spezial-Styles --- */
.radio-hero {
    background: linear-gradient(135deg, var(--werkstatt-blau) 0%, #071a29 100%); 
    color: white; 
    padding: 60px 20px; 
    border-radius: 12px; 
    margin-bottom: 40px; 
    text-align: center; 
    border-bottom: 5px solid var(--radio-orange);
}

.radio-hero h1 {
    color: #d4af37 !important; 
    font-size: 3.5rem; 
    margin: 0; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); 
    border: none !important;
}

.radio-live-box {
    background: #fff; 
    border: 3px solid var(--radio-orange); 
    padding: 30px; 
    margin-bottom: 40px; 
    text-align: center;
}

.radio-status-area {
    font-size: 1.2rem; 
    margin-bottom: 20px; 
    color: var(--werkstatt-blau); 
    font-style: italic; 
    background: #f0f0f0; 
    padding: 10px; 
    display: inline-block; 
    border-radius: 5px;
}

.radio-player-container {
    margin: 20px auto; 
    max-width: 500px; 
    background: #111; 
    padding: 20px; 
    border-radius: 8px; 
    border: 1px solid #333;
}

.radio-player-container audio {
    width: 100%; 
    filter: invert(100%) hue-rotate(180deg);
}

.radio-paten-box {
    margin-top: 30px; 
    padding: 15px; 
    background: rgba(211, 84, 0, 0.1); 
    border: 1px dashed var(--radio-orange);
}

.radio-program-grid {
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-bottom: 50px;
}

.radio-tech-docs {
    background: #f1f5f9; 
    padding: 30px; 
    border-radius: 8px;
}

.radio-tech-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    margin-top: 20px;
}
/* --- Refurbishing Spezial-Styles --- */
.refurb-hero {
    background: #fff; 
    border: 1px solid #c0c0c0; 
    box-shadow: 8px 8px 0px var(--werkstatt-blau); 
    padding: 40px; 
    margin-bottom: 50px;
}

.refurb-tag {
    display: inline-block; 
    background: #d4af37; 
    color: #fff; 
    padding: 4px 12px; 
    font-size: 0.8em; 
    font-weight: bold; 
    margin-bottom: 10px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.refurb-photo-frame {
    transform: rotate(2deg); 
    background: #fff; 
    padding: 10px; 
    border: 1px solid #ddd; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.refurb-ribbon {
    margin-top: 30px; 
    background: var(--ccc-red); 
    color: #fff; 
    padding: 15px; 
    text-align: center; 
    font-weight: bold; 
    clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);
}

.refurb-form {
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    margin-top: 20px;
}

.refurb-input {
    flex: 1; 
    min-width: 250px; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 6px;
    font-family: inherit;
}

.refurb-grid-images {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-top: 40px;
}
/* --- SBC & Freifunk Spezial-Styles --- */
.sbc-header {
    border-bottom: 4px solid var(--werkstatt-blau);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.sbc-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    margin-bottom: 40px;
}

.sbc-example-list {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 15px; 
    list-style: none; 
    padding: 0; 
    margin-top: 20px;
}

.sbc-example-item {
    background: #fff; 
    padding: 15px; 
    border-left: 3px solid var(--werkstatt-blau);
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.freifunk-box {
    background: #fff; 
    border: 2px solid #cc0044; 
    padding: 30px; 
    border-radius: 8px; 
    margin-bottom: 40px; 
    box-shadow: 4px 4px 0px #cc0044;
}

.freifunk-box h3 {
    color: #cc0044 !important; 
    margin-top: 0; 
    border: none !important;
}

.sbc-target-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-bottom: 40px;
}

.sbc-footer-info {
    background: #f1f5f9; 
    border-left: 5px solid var(--werkstatt-blau);
    padding: 25px;
}
/* --- Softwareentwicklung Spezial-Styles --- */
.dev-header {
    border-bottom: 4px solid var(--werkstatt-blau);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.navigator-box {
    border-left: 6px solid #d4af37 !important; 
    background: var(--werkstatt-blau) !important; 
    color: #fff !important; 
    padding: 30px;
    margin-bottom: 40px;
}

.navigator-box h2 {
    color: #d4af37 !important; 
    border: none !important; 
    margin-top: 0;
}

.signage-case-study {
    border-left: 6px solid #cc0000 !important; 
    background: #fdfdfd !important; 
    padding: 30px;
    margin-bottom: 40px;
}

.signage-badge {
    display: inline-block; 
    background: #cc0000; 
    color: #fff; 
    padding: 2px 10px; 
    font-size: 0.8em; 
    font-weight: bold; 
    margin-bottom: 10px; 
    text-transform: uppercase;
}

.signage-status-card {
    background: var(--werkstatt-blau); 
    color: #fff; 
    padding: 30px; 
    border-radius: 10px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.winamp-box {
    border-top: 5px solid #0078d7 !important; 
    position: relative; 
    margin-bottom: 40px;
    padding: 25px;
}

.winamp-work-badge {
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: #ffc107; 
    color: #856404; 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 11px; 
    font-weight: bold; 
    text-transform: uppercase; 
    border: 1px solid #856404;
}

.future-projects-placeholder {
    border: 2px dashed #ccc; 
    padding: 25px; 
    border-radius: 8px; 
    text-align: center; 
    color: #666;
}
/* --- Transparenz Spezial-Styles --- */
.transparency-header {
    border-bottom: 4px solid var(--werkstatt-blau);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.finance-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
    margin-bottom: 50px;
}

.finance-list {
    list-style: none; 
    padding: 0; 
    line-height: 2;
}

.finance-item {
    border-bottom: 1px dashed #ddd; 
    display: flex; 
    justify-content: space-between;
}

.finance-summary {
    margin-top: 20px; 
    text-align: right;
}

/* Fortschrittsbalken */
.goal-container {
    border: 2px solid #d4af37; 
    background: #fffdf5; 
    padding: 40px 20px;
    margin-bottom: 40px;
}

.progress-track {
    background: #eee; 
    height: 35px; 
    border-radius: 18px; 
    overflow: hidden; 
    margin: 25px auto; 
    border: 2px solid #333; 
    max-width: 600px;
}

.progress-bar {
    background: #28a745; 
    height: 100%; 
    text-align: right; 
    padding-right: 15px; 
    color: white; 
    font-weight: bold; 
    line-height: 31px; 
    transition: width 1s ease-in-out;
}

.thanks-box {
    margin-top: 40px; 
    padding: 25px; 
    border: 2px dashed #d4af37; 
    border-radius: 12px; 
    background-color: #fff; 
    text-align: center; 
    box-shadow: 4px 4px 15px rgba(0,0,0,0.05);
}
/* --- Über uns Spezial-Styles --- */
.about-header {
    border-bottom: 4px solid var(--werkstatt-blau); 
    padding-bottom: 15px; 
    margin-bottom: 40px;
}

.about-intro {
    font-size: 1.2em; 
    line-height: 1.6; 
    color: #333;
    margin-bottom: 50px;
}

.profile-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 30px; 
    margin-bottom: 50px;
}

.profile-card-mr {
    border-top: 6px solid var(--werkstatt-blau) !important; 
    background: #fdfdfd;
}

.profile-card-frank {
    border-top: 6px solid #d4af37 !important; 
    background: #fdfdfd;
}

.profile-card h2 {
    border: none !important; 
    margin-top: 0;
}

.profile-list {
    line-height: 1.8; 
    font-size: 0.9em; 
    margin-top: 15px; 
    border-top: 1px dashed #ccc; 
    padding-top: 15px;
}

.promise-box {
    border-left: 6px solid #d4af37; 
    background: var(--werkstatt-blau); 
    color: white; 
    padding: 40px;
}

.promise-box h3 {
    color: #d4af37 !important; 
    border: none !important; 
    margin-top: 0;
}
/* --- Unterstützen & Spenden Spezial-Styles --- */
.support-header {
    border-bottom: 4px solid var(--werkstatt-blau); 
    padding-bottom: 15px; 
    margin-bottom: 40px;
}

.legal-notice-box {
    border-left: 5px solid var(--ccc-red); 
    background: rgba(204, 0, 0, 0.03); 
    margin-top: 25px;
    padding: 20px;
}

.support-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
    margin-bottom: 50px;
}

.support-card-gold {
    border-top: 5px solid #d4af37 !important; 
    background: #fffdf5 !important;
}

.support-card-green {
    border-top: 5px solid #28a745 !important;
}

.donation-callout {
    background: #f8fafc; 
    border: 2px solid var(--werkstatt-blau); 
    padding: 40px 20px; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.donation-btn-paypal {
    background-color: #28a745 !important; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 1.4rem; 
    padding: 20px 40px; 
    box-shadow: 4px 4px 0px #155724;
}
/* --- Die Werkstatt Spezial-Styles --- */
.workshop-header {
    border-bottom: 4px solid var(--werkstatt-blau); 
    padding-bottom: 15px; 
    margin-bottom: 40px;
}

.workshop-intro {
    font-size: 1.2em; 
    line-height: 1.6;
    margin-bottom: 40px;
}

.workshop-flex-grid {
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-bottom: 50px;
}

.workshop-card-it {
    border-top: 6px solid #00d4ff !important; 
    background: rgba(0, 212, 255, 0.03) !important; 
    height: 100%;
}

.workshop-card-music {
    border-top: 6px solid #ffcc00 !important; 
    background: rgba(255, 204, 0, 0.03) !important; 
    height: 100%;
}

.circular-economy-box {
    background: #f1f5f9; 
    padding: 35px; 
    border-radius: 8px; 
    margin-bottom: 50px;
}

.circular-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    margin-top: 25px;
}

.circular-item {
    background: #fff; 
    padding: 20px; 
    border-radius: 5px; 
    border: 1px solid #ddd;
}

.visit-us-callout {
    background: var(--werkstatt-blau); 
    color: white; 
    padding: 40px; 
    border-radius: 12px; 
    text-align: center; 
    border: 2px solid var(--ccc-red); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* --- Windows Spezial-Styles --- */
.win-header {
    border-bottom: 4px solid #0078d7;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.win-service-grid {
    display: flex; 
    gap: 30px; 
    flex-wrap: wrap; 
    margin-bottom: 50px;
}

/* Terminal / Code-Box Design */
.terminal-box {
    background: #1e1e1e; 
    color: #fff; 
    padding: 35px; 
    border-radius: 12px; 
    margin-bottom: 40px;
}

.terminal-box h2 {
    color: #4ec9b0 !important; 
    border: none !important; 
    margin-top: 0;
}

.code-snippet {
    background: #2d2d2d; 
    color: #d4d4d4; 
    padding: 15px; 
    border-radius: 8px; 
    font-family: 'Courier New', monospace; 
    margin: 20px 0; 
    border-left: 4px solid #4ec9b0; 
    word-break: break-all;
}

.registry-card {
    background: #fdfdfd; 
    border: 1px solid #eee; 
    padding: 20px; 
    border-radius: 8px;
}

.registry-card code {
    display: block; 
    background: #eee; 
    padding: 10px; 
    font-size: 0.75em; 
    border-radius: 4px; 
    overflow-x: auto;
    color: #333;
}
/* --- Radio Likedeeler Spezial-Styles --- */
.radio-hero {
    background: linear-gradient(135deg, var(--werkstatt-blau) 0%, #071a29 100%); 
    color: white; 
    padding: 60px 20px; 
    border-radius: 12px; 
    margin-bottom: 40px; 
    text-align: center; 
    border-bottom: 5px solid var(--radio-orange);
}

.radio-hero h1 {
    color: #d4af37 !important; 
    font-size: 3.5rem; 
    margin: 0; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); 
    border: none !important;
}

.radio-live-box {
    background: #fff; 
    border: 3px solid var(--radio-orange); 
    padding: 30px; 
    margin-bottom: 40px; 
    text-align: center;
}

.radio-status-area {
    font-size: 1.2rem; 
    margin-bottom: 20px; 
    color: var(--werkstatt-blau); 
    font-style: italic; 
    background: #f0f0f0; 
    padding: 10px; 
    display: inline-block; 
    border-radius: 5px;
}

.radio-player-container {
    margin: 20px auto; 
    max-width: 500px; 
    background: #111; 
    padding: 20px; 
    border-radius: 8px; 
    border: 1px solid #333;
}

.radio-player-container audio {
    width: 100%; 
    filter: invert(100%) hue-rotate(180deg);
}

.radio-program-grid {
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-bottom: 50px;
}

.radio-tech-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    margin-top: 20px;
}

.radio-paten-box {
    margin-top: 30px; 
    padding: 15px; 
    background: rgba(211, 84, 0, 0.1); 
    border: 1px dashed var(--radio-orange);
}
/* Newsletter Bestätigungsseite Design */
.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.status-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.status-card h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--werkstatt-blau);
}

.termin-mini-card {
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 5px solid var(--werkstatt-blau);
    transition: transform 0.2s;
}

.termin-mini-card:hover {
    transform: translateX(5px);
}

.termin-mini-card.gold { border-left-color: var(--kultur-gold); }
.termin-mini-card.green { border-left-color: var(--hacker-green); }
.termin-mini-card.red { border-left-color: var(--ccc-red); }

.success-header {
    background: var(--werkstatt-blau);
    color: white;
    padding: 40px 20px;
    border-radius: 15px;
    border-bottom: 6px solid var(--radio-orange);
    text-align: center;
}
/* --- Maria von Jever: Schloss-Bild Fix --- */

/* Der Container, der das Bild hält */
.maria-castle-img-float {
    float: right;               /* Bild schwebt rechts */
    width: 40%;                 /* Nimmt 40% der Textbreite ein */
    min-width: 300px;           /* Wird aber nie kleiner als 300px */
    max-width: 500px;           /* Und nie größer als 500px */
    margin-left: 30px;          /* Abstand zum Text links */
    margin-bottom: 20px;        /* Abstand zum Text unten */
    background: #fff;           /* Weißer Hintergrund für den Rahmen-Effekt */
    padding: 10px;              /* Innenabstand */
    border: 1px solid #ddd;     /* Leichter Rahmen */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sanfter Schatten */
    z-index: 10;                /* Liegt über anderen Elementen */
}

/* Das eigentliche Bild im Container */
.maria-castle-img-float img {
    width: 100%;                /* Füllt den Container (40%) komplett aus */
    height: auto;               /* Behält das Seitenverhältnis bei */
    display: block;             /* Verhindert Lücken unten */
}

/* --- Responsive Anpassung für Smartphones --- */
@media (max-width: 768px) {
    .maria-castle-img-float {
        float: none;            /* Kein Schweben mehr auf Handys */
        width: 100%;            /* Volle Breite des Bildschirms */
        max-width: 100%;        /* Keine Begrenzung nach oben */
        margin-left: 0;         /* Kein Seitenabstand */
        margin-bottom: 30px;    /* Mehr Abstand nach unten zum Text */
        box-sizing: border-box; /* Padding wird in die Breite eingerechnet */
    }
}
/* Aktiver Menüpunkt in der Wissens-Werkstatt */
nav a.active {
    color: var(--hacker-green) !important;
    background-color: #111; /* Dunkler Hintergrund für Kontrast */
    border-left: 4px solid var(--hacker-green);
    padding-left: 10px;
    text-shadow: 0 0 8px var(--hacker-green);
}
/* --- GLOSSAR & WISSENS-LINKS --- */

.glossar-link {
    border-bottom: 2px dotted var(--radio-orange); /* Die typische Werkstatt-Markierung */
    cursor: help;
    position: relative;
    transition: all 0.3s ease;
    color: inherit;
    text-decoration: none;
}

.glossar-link:hover {
    color: var(--radio-orange);
    background: rgba(212, 175, 55, 0.05);
    border-bottom-style: dashed;
}

/* Ein kleines unaufdringliches Fragezeichen nach dem Wort */
.glossar-link::after {
    content: '?';
    font-size: 0.7em;
    vertical-align: super;
    margin-left: 2px;
    color: var(--radio-orange);
    opacity: 0.6;
}

.glossar-link:hover::after {
    opacity: 1;
}

/* Das Standard-Tooltip vom Browser (title-Attribut) 
   wird durch das Design oben optisch unterstützt. */