/* ========================================================= STYLE.CSS ========================================================= */
/* Google Fonts importieren */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap>');
/* ========================= VARIABLEN ========================= */
:root {
    --dark: #1c1c1c;
    --chalk-green: #42663b;
    --chalkboard-color: #42663b;
    --chalk-color: #f5f5dc;
    --success-color: #00cc44;
    --error-color: #ff4444;
    --accent-green: #27ae60;
    --wood: #BA8C63;
    --wood-light: #d4b592;
    --wood-dark: #8B6F47;
    --accent-color: #BA8C63;
  
    /* Schriftarten-Variablen */
    --font-heading: 'Caveat', cursive;
    --font-body: 'Quicksand', sans-serif;
    --font-accent: 'Caveat', cursive;
}
/* ========================= RESET & BASIS ========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: url('./images/bg.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--dark);
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.2px;
}
.container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}
/* ========================= HEADER & LOGO ========================= */
header {
    text-align: center;
    margin: -20px auto 0;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}
.logo {
    width: 100%;
    height: 400px;
    background: url('./images/header.png') center / cover no-repeat;
    border-radius: 30px 30px 0 0;
    margin-bottom: 0;
}
/* ========================= HAUPTNAVIGATION (NEU OPTIMIERT) ========================= */
.image-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 25px;
    padding: 20px 15px;
    border-radius: 0 0 20px 20px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3), 0 6px 15px rgba(0,0,0,0.15);
    background-color: var(--wood);
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.05) 1px,
        transparent 1px,
        transparent 6px
    );
    gap: 18px;
    position: relative;
    overflow: hidden;
}
/* Dekorative Elemente für die Navigation */
.image-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 165, 116, 0.6) 50%,
        transparent 100%);
}
.image-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(139, 111, 71, 0.6) 50%,
        transparent 100%);
}
/* Navigations-Buttons - ohne Rahmen, exakt passend zum Bild */
.image-nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 calc(25% - 18px);
    max-width: calc(25% - 18px);
    padding: 0;
    background: transparent;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 70px;
    text-decoration: none;
}
/* Hover-Effekte für Desktop */
.image-nav a:hover {
    transform: translateY(-6px) scale(1.02);
}
/* Aktiver Zustand mit speziellem Glow-Effekt */
.image-nav a.active {
    animation: gentleFloat 3s ease-in-out infinite;
}
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
/* Bilder in der Navigation */
.image-nav img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
    border-radius: 10px;
    position: relative;
    z-index: 1;
}
/* Hover-Effekt für Bilder */
.image-nav a:hover img {
    filter:
        drop-shadow(0 8px 16px rgba(0,0,0,0.6))
        brightness(1.08)
        contrast(1.1);
    transform: scale(1.05);
}
/* Aktiver Zustand für Bilder */
.image-nav a.active img {
    filter:
        drop-shadow(0 0 20px rgba(212, 165, 116, 0.8))
        drop-shadow(0 4px 12px rgba(0,0,0,0.5))
        brightness(1.12);
    animation: activeGlow 2s ease-in-out infinite alternate;
}
@keyframes activeGlow {
    0% {
        filter:
            drop-shadow(0 0 15px rgba(212, 165, 116, 0.6))
            drop-shadow(0 4px 12px rgba(0,0,0,0.5))
            brightness(1.1);
    }
    100% {
        filter:
            drop-shadow(0 0 25px rgba(212, 165, 116, 0.9))
            drop-shadow(0 4px 16px rgba(0,0,0,0.6))
            brightness(1.15);
    }
}
/* Hintergrund-Effekt beim Hover */
.image-nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}
.image-nav a:hover::before {
    width: 140%;
    height: 140%;
}
/* Aktiver Zustand Hintergrund */
.image-nav a.active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        rgba(212, 165, 116, 0.3),
        rgba(139, 111, 71, 0.3),
        rgba(212, 165, 116, 0.3));
    border-radius: 14px;
    z-index: 0;
    animation: borderGlow 3s linear infinite;
}
@keyframes borderGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}
/* ========================= RESPONSIVE - MOBILE NAVIGATION (2 NEBENEINANDER) ========================= */
@media (max-width: 768px) {
    .image-nav {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        padding: 18px 12px;
    }
  
    .image-nav a {
        flex: 0 0 calc(50% - 15px) !important;
        max-width: calc(50% - 15px) !important;
        min-height: 85px;
        margin: 2px;
    }
  
    .image-nav img {
        filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
        border-radius: 8px;
    }
  
    /* Verstärkte Hover-Effekte für Mobile */
    .image-nav a:hover img {
        filter:
            drop-shadow(0 6px 12px rgba(0,0,0,0.5))
            brightness(1.06);
        transform: scale(1.04);
    }
  
    /* Aktiver Zustand Mobile */
    .image-nav a.active img {
        filter:
            drop-shadow(0 0 15px rgba(212, 165, 116, 0.7))
            drop-shadow(0 3px 9px rgba(0,0,0,0.4))
            brightness(1.1);
    }
  
    /* Angepasster Hover-Hintergrund für Mobile */
    .image-nav a::before {
        display: none; /* Deaktivieren auf Mobile für bessere Performance */
    }
  
    .image-nav a.active::after {
        animation: borderGlowMobile 2s ease-in-out infinite alternate;
    }
  
    @keyframes borderGlowMobile {
        0% { opacity: 0.4; }
        100% { opacity: 0.7; }
    }
}
/* Extra kleine Smartphones */
@media (max-width: 480px) {
    .image-nav {
        gap: 12px;
        padding: 15px 10px;
    }
  
    .image-nav a {
        flex: 0 0 calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
        min-height: 75px;
    }
  
    .image-nav img {
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }
}
/* ========================= DOWNLOAD-BEREICH - ORDNER NAVIGATION ========================= */
.main-folders-nav,
.subfolders-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 25px 0;
    margin: 0 auto;
    max-width: 100%;
}
/* Ordner und Unterordner Items - Desktop */
.main-folder-item,
.subfolder-item {
    position: relative;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 180px;
    height: 80px;
    flex: 0 0 auto;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    border-radius: 0;
    overflow: visible !important;
    text-decoration: none;
    border: none !important;
    box-shadow: none !important;
}
/* Container für die Bilder - Desktop */
.main-folder-item .image-container,
.subfolder-item .image-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: visible !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
/* Bilder in Ordner-Navigation - Desktop */
.main-folder-item img,
.subfolder-item img {
    width: 95% !important;
    height: 95% !important;
    object-fit: contain !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
    border-radius: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    background: transparent !important;
    display: block !important;
    position: relative !important;
}
/* Hover-Effekte für Ordner-Bilder */
.main-folder-item:hover,
.subfolder-item:hover {
    transform: translateY(-6px) scale(1.03);
    background: transparent !important;
}
.main-folder-item:hover img,
.subfolder-item:hover img {
    filter:
        drop-shadow(0 8px 16px rgba(0,0,0,0.6))
        brightness(1.08)
        contrast(1.1);
    transform: scale(1.05);
    background: transparent !important;
}
/* Aktive Zustände für Ordner */
.main-folder-item.active::before,
.subfolder-item.active::before {
    content: '✓';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 28px;
    height: 28px;
    background: var(--accent-green);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
    animation: checkmarkAppear 0.3s ease-out;
}
@keyframes checkmarkAppear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.main-folder-item.active::after,
.subfolder-item.active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        rgba(39, 174, 96, 0.15),
        rgba(39, 174, 96, 0.25),
        rgba(39, 174, 96, 0.15));
    border-radius: 0;
    z-index: -1;
    animation: folderGlow 3s ease-in-out infinite alternate;
}
@keyframes folderGlow {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}
/* Aktiver Zustand für Ordner-Bilder */
.main-folder-item.active img,
.subfolder-item.active img {
    filter:
        drop-shadow(0 0 20px rgba(39, 174, 96, 0.6))
        drop-shadow(0 4px 12px rgba(0,0,0,0.5))
        brightness(1.1);
    animation: folderActiveGlow 2s ease-in-out infinite alternate;
    background: transparent !important;
}
@keyframes folderActiveGlow {
    0% {
        filter:
            drop-shadow(0 0 15px rgba(39, 174, 96, 0.5))
            drop-shadow(0 4px 12px rgba(0,0,0,0.5))
            brightness(1.08);
    }
    100% {
        filter:
            drop-shadow(0 0 25px rgba(39, 174, 96, 0.8))
            drop-shadow(0 4px 16px rgba(0,0,0,0.0.6))
            brightness(1.15);
    }
}
/* ========================= DOWNLOAD-BEREICH - MOBILE OPTIMIERUNG ========================= */
@media (max-width: 768px) {
    /* Grid mit 2 Spalten */
    .main-folders-nav,
    .subfolders-nav {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 20px 10px !important;
        width: 100% !important;
        margin: 0 auto !important;
        justify-items: center !important;
        align-items: center !important;
    }
  
    /* Items – Proportionen wie bei .image-nav auf Mobile */
    .main-folder-item,
    .subfolder-item {
         
        justify-content: center !important;
        align-items: center !important;
        overflow: visible !important;
        position: relative !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        transition: all 0.3s ease !important;
    }
  
    /* Der gesamte Item-Bereich ist klickbar – das Bild füllt den Container vollständig aus */
    .main-folder-item,
    .subfolder-item {
        cursor: pointer;
    }
  
    /* Bild füllt den gesamten verfügbaren Platz aus (inkl. Padding) */
    .main-folder-item img,
    .subfolder-item img {
        width: calc(100% - 16px) !important;   /* 100% minus 2×8px Padding */
        height: calc(100% - 16px) !important;
        object-fit: contain !important;
        filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4)) !important;
        max-width: none !important;
        max-height: none !important;
        transition: all 0.3s ease !important;
        background: transparent !important;
        border-radius: 8px !important;
        display: block !important;
        margin: 8px !important; /* zentriert das Bild optisch im Container */
        pointer-events: none; /* Bild selbst nicht klickbar – der gesamte .main-folder-item ist es */
    }
  
    /* Hover-Effekte */
    @media (hover: hover) {
        .main-folder-item:hover img,
        .subfolder-item:hover img {
            filter:
                drop-shadow(0 6px 12px rgba(0,0,0,0.5))
                brightness(1.06) !important;
            transform: scale(1.04) !important;
        }
      
        .main-folder-item:hover,
        .subfolder-item:hover {
            transform: scale(1.05) !important;
        }
    }
  
    /* Aktiver Zustand */
    .main-folder-item.active img,
    .subfolder-item.active img {
        filter:
            drop-shadow(0 0 15px rgba(39, 174, 96, 0.6))
            drop-shadow(0 3px 9px rgba(0,0,0,0.4))
            brightness(1.1) !important;
    }
  
    /* Checkmark */
    .main-folder-item.active::before,
    .subfolder-item.active::before {
        width: 36px !important;
        height: 36px !important;
        font-size: 20px !important;
        top: -8px !important;
        left: -8px !important;
        z-index: 1000 !important;
    }
  
    /* Touch-Feedback */
    .main-folder-item:active,
    .subfolder-item:active {
        transform: scale(0.98) !important;
    }
  
    /* Tablet-Feinjustierung */
    @media (min-width: 480px) and (max-width: 768px) {
        .main-folders-nav,
        .subfolders-nav {
            gap: 25px !important;
        }
      
        .main-folder-item,
        .subfolder-item {
            height: 170px !important;
        }
    }

    /* reCAPTCHA verkleinern */
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
        margin: 0 auto;
    }
    .recaptcha-container {
        overflow: hidden;
        max-width: 100%;
    }

    /* Dateinamen umbrechen */
    .file-title-school {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        padding: 0 5px;
    }
}
/* Extra kleine Smartphones */
@media (max-width: 480px) {
    .main-folders-nav,
    .subfolders-nav {
        gap: 15px !important;
        padding: 15px 8px !important;
    }
  
    .main-folder-item,
    .subfolder-item {
        height: 140px !important;
        min-height: 140px !important;
    }
  
    .main-folder-item.active::before,
    .subfolder-item.active::before {
        width: 32px !important;
        height: 32px !important;
        font-size: 18px !important;
        top: -6px !important;
        left: -6px !important;
    }

    .g-recaptcha {
        transform: scale(0.78);
    }
}
/* Sehr kleine Smartphones */
@media (max-width: 360px) {
    .main-folders-nav,
    .subfolders-nav {
        gap: 12px !important;
        padding: 12px 6px !important;
    }
  
    .main-folder-item,
    .subfolder-item {
        height: 130px !important;
    }
  
    .main-folder-item.active::before,
    .subfolder-item.active::before {
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
        top: -5px !important;
        left: -5px !important;
    }

    .g-recaptcha {
        transform: scale(0.72);
    }
}
/* Sehr kleine Smartphones */
@media (max-width: 360px) {
    .main-folders-nav,
    .subfolders-nav {
        gap: 12px !important;
        padding: 12px 6px !important;
    }
   
    .main-folder-item,
    .subfolder-item {
        height: 130px !important;
    }
   
    .main-folder-item.active::before,
    .subfolder-item.active::before {
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
        top: -5px !important;
        left: -5px !important;
    }

    .g-recaptcha {
        transform: scale(0.72);
    }
}
/* ========================= VERBESSERTE LEGAL-LINKS (NOCH GRÖßER BEI MOBILE) ========================= */
.legal-inline-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
}
.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.legal-links a.legal-link {
    color: var(--chalk-green);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    text-align: center;
    min-width: 140px;
    display: inline-block;
    flex: 0 0 auto;
}
.legal-links a.legal-link:hover {
    color: var(--wood);
    border-color: var(--wood);
    background-color: rgba(186, 140, 99, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.legal-images a .legal-link {
    display: none;
    color: var(--chalk-green);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    text-align: center;
    cursor: pointer;
    min-width: 140px;
    display: inline-block;
    flex: 0 0 auto;
}
.legal-images a .legal-link:hover {
    color: var(--wood);
    border-color: var(--wood);
    background-color: rgba(186, 140, 99, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.legal-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.legal-images a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    min-height: 60px;
    position: relative;
    text-decoration: none;
}
.legal-images a img {
    width: auto;
    height: 55px;
    object-fit: contain;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.legal-images a:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}
/* ========================= LEGAL-LINKS MOBILE NOCH GRÖßER ========================= */
@media (max-width: 768px) {
    .legal-images {
        gap: 25px;
        padding: 0 15px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
   
    .legal-images a {
        flex: 1;
        max-width: 33.333%;
        justify-content: center;
        min-height: 80px;
    }
   
    .legal-images a img {
        height: 75px !important;
        max-width: 100%;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }
   
    .legal-images a:hover img {
        transform: scale(1.08);
        filter: brightness(1.08) drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    }
   
    .legal-links {
        gap: 20px;
        padding: 0 15px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
   
    .legal-links a.legal-link,
    .legal-images a .legal-link {
        font-size: 1.05rem;
        padding: 15px 20px;
        min-width: 120px;
        margin: 0;
        flex: 1;
        max-width: 33.333%;
    }
   
    .legal-inline-frame {
        flex-wrap: nowrap;
        gap: 0;
        margin-top: -25px;
        justify-content: center;
        padding: 0 15px;
    }
   
    .legal-inline-frame a {
        flex: 1;
        max-width: 33.333%;
        min-width: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 80px;
    }
   
    .legal-inline-frame a img {
        max-height: 100px !important;
        max-width: 100%;
        height: auto;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }
   
    .legal-inline-frame a:hover img {
        transform: scale(1.08);
        filter: brightness(1.08) drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    }
}
/* Extra kleine Smartphones für Legal-Links */
@media (max-width: 480px) {
    .legal-images {
        gap: 15px;
    }
   
    .legal-images a img {
        height: 65px !important;
    }
   
    .legal-inline-frame a img {
        max-height: 90px !important;
    }
   
    .legal-links a.legal-link,
    .legal-images a .legal-link {
        font-size: 1rem;
        padding: 14px 16px;
        min-width: 100px;
    }
}
/* ========================= HOLZRAHMEN & TAFEL ========================= */
.chalkboard-frame {
    width: 100%;
    max-width: 900px;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: -10px;
    overflow: visible;
    background-color: var(--wood);
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.05) 1px,
        transparent 1px,
        transparent 6px
    );
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3), 0 6px 15px rgba(0,0,0,0.15);
}
.chalkboard {
    width: 100%;
    max-width: 860px;
    border-radius: 20px;
    background: var(--chalkboard-color);
    background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.03), transparent 40%),
                      radial-gradient(circle at 70% 60%, rgba(255,255,255,0.02), transparent 45%);
    color: var(--chalk-color);
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.7;
    padding: 40px 35px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
/* ========================= SCHRIFTGRÖSSE ANPASSUNG ========================= */
@media (min-width: 1200px) {
    .chalkboard {
        font-size: 1.05rem;
        line-height: 1.65;
    }
   
    .page-content {
        font-size: 1.1rem;
    }
   
    .download-step p,
    .faq-answer,
    .file-desc-school {
        font-size: 0.95rem;
    }
}
@media (min-width: 1600px) {
    .chalkboard {
        font-size: 1rem;
        padding: 35px 30px;
    }
}
/* ========================= LISTEN-STYLES ========================= */
.chalkboard ul,
.chalkboard ol {
    margin: 15px 0;
    padding-left: 20px;
}
.chalkboard li {
    padding-left: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
    color: rgba(245, 245, 220, 0.9);
    font-family: var(--font-body);
}
.chalkboard ul li {
    list-style-type: disc;
}
.chalkboard ol li {
    list-style-type: decimal;
}
.chalkboard ul ul li {
    list-style-type: circle;
    padding-left: 20px;
}
.chalkboard ol ol li {
    list-style-type: lower-alpha;
    padding-left: 20px;
}
.page-content li,
.download-step li,
.faq-item li,
.selected-content li {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 6px 10px 6px 25px;
    margin-bottom: 6px;
    border-left: 3px solid rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
    font-family: var(--font-body);
}
.page-content li:hover,
.download-step li:hover,
.faq-item li:hover,
.selected-content li:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: rgba(212, 165, 116, 0.6);
    transform: translateX(3px);
}
/* ========================= INDEX – SOCIAL ========================= */
.social-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #f5f5dc;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    font-weight: 500;
}
.social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 70%;
    margin: 0 auto;
}
.social-icons a {
    display: flex;
    justify-content: center;
    width: 85%;
}
.social-icons a img {
    width: 85%;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.social-icons a:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}
/* ========================= SEITENINHALT ========================= */
.header-with-image {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
}
.header-with-image img.top {
    width: 28%;
    height: auto;
    flex-shrink: 0;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border: 3px solid var(--wood-light);
}
/* ========================= HEADER-TITLE ========================= */
.header-title {
    flex: 1;
    text-align: center;
    padding: 20px;
    background:
        linear-gradient(135deg,
            rgba(66, 102, 59, 0.9) 0%,
            rgba(66, 102, 59, 0.7) 50%,
            rgba(66, 102, 59, 0.9) 100%
        );
    border-radius: 20px;
    box-shadow:
        inset 0 0 0 2px rgba(212, 165, 116, 0.3),
        0 10px 25px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--wood-light);
}
.header-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        var(--wood-light) 0%,
        var(--wood-dark) 50%,
        var(--wood-light) 100%);
    border-radius: 20px 20px 0 0;
}
.header-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        var(--wood-light) 0%,
        var(--wood-dark) 50%,
        var(--wood-light) 100%);
    border-radius: 0 0 20px 20px;
}
.header-title h2 {
    font-size: 2.6rem;
    margin: 0 0 10px 0;
    padding-bottom: 15px;
    display: inline-block;
    color: var(--chalk-color);
    text-shadow:
        2px 2px 4px rgba(0,0,0,0.5),
        0 0 10px rgba(212, 165, 116, 0.3);
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    position: relative;
    border-bottom: 3px dashed rgba(212, 165, 116, 0.5);
    font-weight: 600;
}
.header-title h2::before,
.header-title h2::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--wood-light);
    font-size: 1.8rem;
    opacity: 0.8;
}
.header-title h2::before {
    left: -40px;
}
.header-title h2::after {
    right: -40px;
}
.header-title p.subtitle {
    color: rgba(245, 245, 220, 0.9);
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin-top: 10px;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 400;
}
/* ========================= PAGE-CONTENT ========================= */
.page-content {
    width: 100%;
    font-size: 1.15rem;
    line-height: 1.7;
    background:
        linear-gradient(90deg,
            rgba(39, 174, 96, 0.15) 0%,
            rgba(39, 174, 96, 0.05) 10px,
            rgba(0, 0, 0, 0.2) 10px,
            rgba(0, 0, 0, 0.2) 100%
        );
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border-left: none;
    box-shadow:
        inset 5px 0 0 rgba(39, 174, 96, 0.3),
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}
.page-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 5px;
    background: linear-gradient(
        to bottom,
        var(--accent-green),
        var(--wood-light)
    );
    border-radius: 0 3px 3px 0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}
.page-content:hover {
    background:
        linear-gradient(90deg,
            rgba(39, 174, 96, 0.2) 0%,
            rgba(39, 174, 96, 0.1) 10px,
            rgba(0, 0, 0, 0.25) 10px,
            rgba(0, 0, 0, 0.25) 100%
        );
    transform: translateY(-3px);
    box-shadow:
        inset 5px 0 0 rgba(39, 174, 96, 0.4),
        inset 0 0 0 1px rgba(255,255,255,0.1),
        0 8px 20px rgba(0,0,0,0.15);
}
.page-content p {
    margin-bottom: 1.5rem;
    color: rgba(245, 245, 220, 0.9);
    font-family: var(--font-body);
}
.page-content p:last-child {
    margin-bottom: 0;
}
/* ========================= DOWNLOAD-STEP ========================= */
.download-step {
    background:
        linear-gradient(90deg,
            rgba(186, 140, 99, 0.15) 0%,
            rgba(186, 140, 99, 0.05) 10px,
            rgba(0, 0, 0, 0.2) 10px,
            rgba(0, 0, 0, 0.2) 100%
        );
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border-left: none;
    box-shadow:
        inset 5px 0 0 rgba(186, 140, 99, 0.3),
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}
.download-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 5px;
    background: linear-gradient(
        to bottom,
        var(--wood-light),
        var(--wood-dark)
    );
    border-radius: 0 3px 3px 0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}
.download-step:hover {
    background:
        linear-gradient(90deg,
            rgba(186, 140, 99, 0.2) 0%,
            rgba(186, 140, 99, 0.1) 10px,
            rgba(0, 0, 0, 0.25) 10px,
            rgba(0, 0, 0, 0.25) 100%
        );
    transform: translateY(-3px);
    box-shadow:
        inset 5px 0 0 rgba(186, 140, 99, 0.4),
        inset 0 0 0 1px rgba(255,255,255,0.1),
        0 8px 20px rgba(0,0,0,0.15);
}
.download-step h3 {
    color: var(--chalk-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.download-step p {
    color: rgba(245, 245, 220, 0.8);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
}
/* ========================= FAQ-ITEMS ========================= */
.faq-item {
    background:
        linear-gradient(90deg,
            rgba(186, 140, 99, 0.1) 0%,
            rgba(186, 140, 99, 0.05) 8px,
            rgba(0, 0, 0, 0.15) 8px,
            rgba(0, 0, 0, 0.15) 100%
        );
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: none;
    box-shadow:
        inset 4px 0 0 rgba(186, 140, 99, 0.2),
        inset 0 0 0 1px rgba(255,255,255,0.03);
    transition: all 0.3s ease;
    font-family: var(--font-body);
}
.faq-item:hover {
    background:
        linear-gradient(90deg,
            rgba(186, 140, 99, 0.15) 0%,
            rgba(186, 140, 99, 0.08) 8px,
            rgba(0, 0, 0, 0.2) 8px,
            rgba(0, 0, 0, 0.2) 100%
        );
    transform: translateY(-2px);
    box-shadow:
        inset 4px 0 0 rgba(186, 140, 99, 0.3),
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 4px 8px rgba(0,0,0,0.1);
}
.faq-question {
    color: var(--chalk-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 500;
}
.faq-answer {
    color: rgba(245, 245, 220, 0.8);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
}
/* ========================= FILE-CARD-SCHOOL ========================= */
.file-card-school {
    background:
        linear-gradient(90deg,
            rgba(212, 165, 116, 0.1) 0%,
            rgba(212, 165, 116, 0.05) 8px,
            rgba(255, 255, 255, 0.05) 8px,
            rgba(255, 255, 255, 0.05) 100%
        );
    border: 2px solid rgba(212, 165, 116, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow:
        inset 4px 0 0 rgba(212, 165, 116, 0.15),
        0 4px 8px rgba(0,0,0,0.1);
    font-family: var(--font-body);
}
.file-card-school:hover {
    background:
        linear-gradient(90deg,
            rgba(212, 165, 116, 0.15) 0%,
            rgba(212, 165, 116, 0.08) 8px,
            rgba(255, 255, 255, 0.08) 8px,
            rgba(255, 255, 255, 0.08) 100%
        );
    border-color: rgba(212, 165, 116, 0.4);
    box-shadow:
        inset 4px 0 0 rgba(212, 165, 116, 0.25),
        0 6px 12px rgba(0,0,0,0.15);
}
/* ========================= MELDUNGEN ========================= */
.message-school {
    padding: 18px 30px;
    border-radius: 20px;
    background: var(--chalkboard-color);
    color: var(--chalk-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border: 4px solid rgba(255,255,255,0.2);
    margin: 20px auto;
    max-width: 800px;
    animation: slideIn 0.5s ease-out;
    font-weight: 500;
}
.message-school.success {
    border-color: var(--success-color);
    box-shadow: 0 0 25px rgba(0,204,68,0.4);
    background: rgba(39, 174, 96, 0.2);
    border-left-color: var(--success-color);
    color: #d4f4e6;
}
.message-school.error {
    border-color: var(--error-color);
    box-shadow: 0 0 25px rgba(255,68,68,0.4);
    background: rgba(231, 76, 60, 0.2);
    border-left-color: #e74c3c;
    color: #f8d7da;
}
.message-school.info {
    border-color: #3498db;
    box-shadow: 0 0 25px rgba(52,152,219,0.4);
    background: rgba(52, 152, 219, 0.2);
    border-left-color: #3498db;
    color: #d1ecf1;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ========================= SCHULTAFEL-FORMULARE ========================= */
.newsletter-school,
.contact-school,
.download-school {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    border: 2px dashed rgba(212, 165, 116, 0.3);
    position: relative;
    font-family: var(--font-body);
    width: 100%;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 5px 15px rgba(0,0,0,0.2);
}
.chalk-doodle {
    position: absolute;
    font-size: 40px;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
    font-family: var(--font-heading);
}
.doodle-1 { top: 10%; left: 5%; transform: rotate(-15deg); }
.doodle-2 { top: 15%; right: 5%; transform: rotate(15deg); }
.doodle-3 { bottom: 10%; left: 10%; transform: rotate(-10deg); }
.doodle-4 { bottom: 15%; right: 10%; transform: rotate(10deg); }
.school-title,
.contact-title,
.download-title {
    font-family: var(--font-heading);
    color: var(--chalk-color);
    text-align: center;
    margin: 20px 0 30px;
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    font-weight: 600;
}
.school-title:after,
.contact-title:after,
.download-title:after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: var(--chalk-color);
    margin: 10px auto;
    border-radius: 2px;
}
/* ========================= FORMULARE ALLGEMEIN ========================= */
.contact-form,
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 250px;
}
.form-group label {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--chalk-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 500;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 15px;
    border: none;
    background: rgba(245,245,220,0.9);
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--dark);
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.15);
    font-weight: 500;
}
.form-group textarea {
    min-height: 200px;
    resize: vertical;
}
/* ========================= CHECKBOXEN ========================= */
.checkbox-school {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.2rem;
    color: var(--chalk-color);
    background: rgba(186, 140, 99, 0.1);
    border-radius: 8px;
    padding: 15px;
    box-shadow:
        inset 4px 0 0 rgba(212, 165, 116, 0.3),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    margin: 15px 0;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}
.checkbox-school:hover {
    background: rgba(186, 140, 99, 0.15);
    box-shadow:
        inset 4px 0 0 rgba(212, 165, 116, 0.4),
        inset 0 0 0 1px rgba(255,255,255,0.08);
}
.checkbox-school input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--accent-green);
    transform: scale(1.3);
    margin-top: 3px;
    flex-shrink: 0;
}
.checkbox-school label {
    flex: 1;
    color: var(--chalk-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.4;
    cursor: pointer;
    font-weight: 500;
}
.checkbox-school a {
    color: #d4a574;
    text-decoration: underline;
    font-weight: bold;
    margin: 0 3px;
}
.checkbox-school a:hover {
    color: #f5f5dc;
}
/* ========================= reCAPTCHA ========================= */
.recaptcha-container {
    margin: 20px 0;
    text-align: center;
}
.g-recaptcha {
    margin: 0 auto;
    display: inline-block;
}
.recaptcha-note {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(245, 245, 220, 0.7);
    margin: 10px 0 20px;
    font-style: italic;
    font-family: var(--font-body);
}
/* ========================= FORMULAR-BUTTONS ========================= */
.form-submit-btn-school {
    background: none;
    border: none;
    cursor: pointer;
    margin: 20px auto 0;
    padding: 0;
    transition: transform 0.4s ease;
    display: block;
    width: 100%;
    max-width: 300px;
}
.form-submit-btn-school img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}
.form-submit-btn-school:hover img {
    transform: scale(1.08);
}
.privacy-note-school {
    text-align: center;
    margin-top: 20px;
    color: rgba(245, 245, 220, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: var(--font-body);
}
/* ========================= FAQ ========================= */
.faq-school {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px dashed rgba(212, 165, 116, 0.3);
}
.faq-title {
    font-family: var(--font-heading);
    color: var(--chalk-color);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}
/* ========================= DOWNLOAD-WRAPPER ========================= */
.download-wrapper {
    width: 100%;
    margin: 0 auto;
}
.download-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.folder-nav-container {
    width: 100%;
}
/* ========================= DATEIKARTEN ========================= */
#files-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.file-preview {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}
.file-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}
.file-icon-large {
    font-size: 60px;
    opacity: 0.7;
}
.file-title-school {
    color: var(--chalk-color);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-weight: 500;
}
.file-description-container {
    display: flex;
    align-items: flex-start;
    margin: 12px 0;
    padding: 15px;
    background:
        linear-gradient(90deg,
            rgba(212, 165, 116, 0.08) 0%,
            rgba(212, 165, 116, 0.04) 8px,
            rgba(255, 255, 255, 0.02) 8px,
            rgba(255, 255, 255, 0.02) 100%
        );
    border-radius: 8px;
    box-shadow:
        inset 4px 0 0 rgba(212, 165, 116, 0.15),
        inset 0 0 0 1px rgba(255,255,255,0.02);
}
.description-icon {
    color: var(--wood-light);
    margin-right: 10px;
    margin-top: 2px;
    font-size: 16px;
    flex-shrink: 0;
}
.file-desc-school {
    color: rgba(245, 245, 220, 0.8);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    flex: 1;
}
.file-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--chalk-color);
    opacity: 0.8;
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255,255,255,0.2);
    font-family: var(--font-body);
}
.file-meta span {
    display: flex;
    align-items: center;
}
.file-meta i {
    margin-right: 6px;
    opacity: 0.7;
}
.file-extension {
    background: rgba(212, 165, 116, 0.1);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-family: var(--font-body);
}
/* ========================= AUSGEWÄHLTE DOWNLOADS ========================= */
.selected-content {
    background:
        linear-gradient(90deg,
            rgba(186, 140, 99, 0.15) 0%,
            rgba(186, 140, 99, 0.05) 10px,
            rgba(0, 0, 0, 0.2) 10px,
            rgba(0, 0, 0, 0.2) 100%
        );
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    box-shadow:
        inset 5px 0 0 rgba(186, 140, 99, 0.3),
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    border: 2px dashed rgba(212, 165, 116, 0.2);
    font-family: var(--font-body);
}
.selected-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 5px;
    background: linear-gradient(
        to bottom,
        var(--wood-light),
        var(--wood-dark)
    );
    border-radius: 0 3px 3px 0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}
.selected-header {
    color: var(--chalk-color);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}
.selected-info {
    color: rgba(245, 245, 220, 0.8);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.total-size-info {
    background: rgba(186, 140, 99, 0.2);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--chalk-color);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow:
        inset 4px 0 0 rgba(186, 140, 99, 0.4),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    font-weight: 500;
}
.total-size-info i {
    font-size: 20px;
}
.selected-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.selected-item {
    background:
        linear-gradient(90deg,
            rgba(212, 165, 116, 0.1) 0%,
            rgba(212, 165, 116, 0.05) 8px,
            rgba(255, 255, 255, 0.08) 8px,
            rgba(255, 255, 255, 0.08) 100%
        );
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow:
        inset 4px 0 0 rgba(212, 165, 116, 0.2),
        inset 0 0 0 1px rgba(212, 165, 116, 0.1),
        0 3px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-family: var(--font-body);
}
.selected-item:hover {
    background:
        linear-gradient(90deg,
            rgba(212, 165, 116, 0.15) 0%,
            rgba(212, 165, 116, 0.08) 8px,
            rgba(255, 255, 255, 0.12) 8px,
            rgba(255, 255, 255, 0.12) 100%
        );
    transform: translateY(-3px);
    box-shadow:
        inset 4px 0 0 rgba(212, 165, 116, 0.3),
        inset 0 0 0 1px rgba(212, 165, 116, 0.2),
        0 5px 10px rgba(0,0,0,0.15);
}
.selected-item-preview {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 2px 4px rgba(0,0,0,0.2);
}
.selected-item-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.selected-item-preview i {
    font-size: 30px;
    color: #d4a574;
}
.selected-item-info {
    flex: 1;
    min-width: 0;
}
.selected-item-info strong {
    color: var(--chalk-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}
.selected-item-info small {
    color: rgba(245, 245, 220, 0.7);
    font-family: var(--font-body);
    font-size: 0.9rem;
}
.remove-btn {
    background: rgba(231, 76, 60, 0.2);
    border: none;
    color: #e74c3c;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow:
        inset 0 0 0 1px rgba(231, 76, 60, 0.3),
        0 2px 4px rgba(0,0,0,0.2);
}
.remove-btn:hover {
    background: rgba(231, 76, 60, 0.4);
    transform: scale(1.1);
    box-shadow:
        inset 0 0 0 1px rgba(231, 76, 60, 0.5),
        0 3px 6px rgba(0,0,0,0.3);
}
/* ========================= DOWNLOAD-FORMULAR ========================= */
.form-section {
    background:
        linear-gradient(90deg,
            rgba(212, 165, 116, 0.15) 0%,
            rgba(212, 165, 116, 0.05) 10px,
            rgba(0, 0, 0, 0.2) 10px,
            rgba(0, 0, 0, 0.2) 100%
        );
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    box-shadow:
        inset 5px 0 0 rgba(212, 165, 116, 0.3),
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    border: 2px solid rgba(212, 165, 116, 0.2);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    font-family: var(--font-body);
}
.form-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 15px;
    width: 5px;
    background: linear-gradient(
        to bottom,
        var(--wood-light),
        var(--wood-dark)
    );
    border-radius: 0 3px 3px 0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}
/* ===== FORM-TITEL STYLES ===== */
.form-title {
    color: var(--chalk-color);
    font-family: var(--font-heading);
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}
.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--wood-light);
    border-radius: 2px;
}
/* ===== FORM-INFO STYLES ===== */
.form-section .form-info {
    color: rgba(245, 245, 220, 0.85);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 10px;
    max-width: 100%;
    word-wrap: break-word;
}
.form-section .form-info strong {
    color: var(--wood-light);
    font-weight: 600;
}
/* ===== DOWNLOAD-FORMULAR OPTIMIERUNG ===== */
.form-section .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    max-width: 100%;
}
.form-section .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 100%;
    min-width: 0;
}
@media (min-width: 768px) {
    .form-section .form-group {
        flex: 1 1 calc(50% - 20px);
    }
}
.form-section .form-group label {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--chalk-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 5px;
    font-weight: 500;
}
/* ===== TEXT-INPUTS FÜR DOWNLOAD-FORMULAR ===== */
.form-section input[type="text"],
.form-section input[type="email"] {
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--wood-light);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #333;
    box-shadow:
        inset 0 3px 8px rgba(0,0,0,0.15),
        0 2px 4px rgba(0,0,0,0.1);
    box-sizing: border-box;
    font-weight: 500;
}
.form-section input[type="text"]:focus,
.form-section input[type="email"]:focus {
    outline: none;
    border-color: var(--wood);
    background: rgba(255, 255, 255, 1);
    box-shadow:
        0 0 0 3px rgba(212, 165, 116, 0.3),
        inset 0 3px 8px rgba(0,0,0,0.15);
}
/* ===== DOWNLOAD-ANFORDERN BUTTON ===== */
#submit-btn.form-submit-btn-school {
    width: 100%;
    max-width: 320px;
    margin: 25px auto 10px;
    display: block;
}
#submit-btn.form-submit-btn-school img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
/* ===== CHECKBOXEN IM DOWNLOAD-FORMULAR ===== */
.form-section .checkbox-school {
    width: 100%;
    max-width: 100%;
    margin: 15px 0;
}
.form-info {
    color: rgba(245, 245, 220, 0.8);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}
.form-section .form-group {
    min-width: 250px;
}
/* ========================= COOKIE BANNER STYLES ========================= */
.cookie-banner-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 1000;
    animation: slideUpBanner 0.5s ease;
}
.cookie-banner {
    background: linear-gradient(135deg, var(--chalk-green) 0%, #2d4a28 100%);
    border-radius: 15px;
    padding: 20px;
    color: var(--chalk-color);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--wood);
    font-family: var(--font-body);
    position: relative;
}
.cookie-banner.hidden {
    display: none;
}
.cookie-banner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.cookie-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--chalk-color);
    margin: 0;
    font-weight: 600;
}
.close-cookie-banner {
    background: none;
    border: none;
    color: var(--chalk-color);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.close-cookie-banner:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.cookie-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: rgba(245, 245, 220, 0.9);
    font-family: var(--font-body);
}
.cookie-buttons {
    display: flex;
    gap: 10px;
}
.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent-green) 0%, #219653 100%);
    color: var(--chalk-color);
}
.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #2ecc71 0%, var(--accent-green) 100%);
    transform: translateY(-2px);
}
.cookie-btn-reject {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--chalk-color);
}
.cookie-btn-reject:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #e74c3c 100%);
    transform: translateY(-2px);
}
.cookie-btn-revoke {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: var(--chalk-color);
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}
.cookie-btn-revoke:hover {
    background: linear-gradient(135deg, #ffa726 0%, #f39c12 100%);
    transform: translateY(-2px);
}
.cookie-more-info {
    text-align: center;
    margin-top: 10px;
}
.cookie-more-info a {
    color: var(--wood);
    text-decoration: underline;
    font-size: 0.85rem;
    font-family: var(--font-body);
}
.cookie-more-info a:hover {
    color: var(--wood-light);
}
.recaptcha-notice {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    border: 2px solid #d35400;
    color: var(--chalk-color);
    font-family: var(--font-body);
}
.recaptcha-notice h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
}
.recaptcha-notice p {
    margin: 0;
    font-size: 0.9rem;
}
.recaptcha-notice a {
    color: var(--chalk-color);
    text-decoration: underline;
    font-weight: bold;
}
.recaptcha-notice a:hover {
    color: rgba(245, 245, 220, 0.9);
}
@keyframes slideUpBanner {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cookie-settings-link {
    color: var(--chalk-green);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
    margin: 0;
    display: inline;
    font-family: var(--font-body);
}
.cookie-settings-link:hover {
    color: var(--wood);
}
.cookie-details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid var(--wood);
    font-family: var(--font-body);
}
.cookie-details-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--chalk-color);
    font-size: 1rem;
    font-family: var(--font-heading);
}
.cookie-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-body);
}
.cookie-details-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}
.cookie-details-list li:last-child {
    border-bottom: none;
}
.cookie-details-list i {
    color: var(--wood);
    font-size: 0.9rem;
}
.cookie-icon {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--wood);
}
.copyright {
    color: #000;
    text-align: center;
    padding: 15px 0;
    margin-top: 10px;
    font-family: var(--font-body);
}
.impressum-link {
    color: #000;
    text-decoration: none;
    font-weight: normal;
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-body);
}
.impressum-link:hover {
    text-decoration: underline;
}
.copyright-text {
    font-size: 0.9rem;
    color: #000;
    font-family: var(--font-body);
}
/* ========================= LIGHTBOX ========================= */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
}
#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
/* ========================= CONFETTI ========================= */
.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1001;
}
.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--confetti-color);
    opacity: 0;
    animation: fall linear forwards;
    animation-duration: calc(1s + var(--delay) * 1s);
}
@keyframes fall {
    0% {
        opacity: 1;
        transform: translateY(-100px) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(360deg);
    }
}
/* ========================= HILFSKLASSEN ========================= */
.empty-state,
.empty-state-text {
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    color: white;
    width: 100%;
    font-family: var(--font-body);
}
.empty-state p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
/* ========================= KREIDE-SPEZIALEFFEKTE ========================= */
.kreide-text {
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
    font-weight: 500;
}
.kreide-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(245, 245, 220, 0.1) 50%,
        transparent 100%
    );
    pointer-events: none;
}
.chalk-underline {
    position: relative;
    display: inline-block;
}
.chalk-underline::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--chalk-color);
    opacity: 0.6;
    transform: scaleX(0.9);
    transform-origin: center;
}
/* ========================= WEITERE RESPONSIVE ANPASSUNGEN ========================= */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.5;
    }
   
    .chalkboard li {
        padding-left: 12px;
        margin-bottom: 6px;
    }
   
    .page-content li,
    .download-step li,
    .faq-item li,
    .selected-content li {
        padding: 5px 8px 5px 20px;
        margin-bottom: 5px;
    }
   
    .form-section {
        padding: 25px 20px;
        margin-top: 20px;
    }
   
    .form-title {
        font-size: 1.8rem;
        padding-bottom: 12px;
        margin-bottom: 15px;
    }
   
    .form-section .form-info {
        font-size: 1rem;
        padding: 0;
        margin-bottom: 25px;
        line-height: 1.5;
    }
   
    .form-section .form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
   
    .form-section .form-group {
        flex: 1 1 100%;
        min-width: 100%;
    }
   
    .form-section input[type="text"],
    .form-section input[type="email"] {
        padding: 14px 18px;
        font-size: 1rem;
        border-radius: 10px;
    }
   
    #submit-btn.form-submit-btn-school {
        max-width: 280px;
        margin: 20px auto 10px;
    }
   
    #submit-btn.form-submit-btn-school img {
        max-height: 70px;
    }
   
    .page-content {
        padding: 20px;
        font-size: 1rem;
        line-height: 1.6;
        margin: 15px 0;
        background:
            linear-gradient(90deg,
                rgba(39, 174, 96, 0.12) 0%,
                rgba(39, 174, 96, 0.05) 8px,
                rgba(0, 0, 0, 0.18) 8px,
                rgba(0, 0, 0, 0.18) 100%
            );
    }
   
    .page-content::before {
        width: 4px;
        top: 8px;
        bottom: 8px;
    }
   
    .download-step {
        padding: 20px;
        margin: 15px 0;
        background:
            linear-gradient(90deg,
                rgba(186, 140, 99, 0.12) 0%,
                rgba(186, 140, 99, 0.05) 8px,
                rgba(0, 0, 0, 0.18) 8px,
                rgba(0, 0, 0, 0.18) 100%
            );
    }
   
    .download-step::before {
        width: 4px;
        top: 8px;
        bottom: 8px;
    }
   
    .header-with-image {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
   
    .header-with-image img.top {
        width: 70%;
        max-width: 250px;
        margin-bottom: 0;
    }
   
    .header-title {
        padding: 15px;
        width: 100%;
    }
   
    .header-title h2 {
        font-size: 1.8rem;
        padding-bottom: 12px;
    }
   
    .header-title h2::before,
    .header-title h2::after {
        display: none;
    }
   
    .header-title p.subtitle {
        font-size: 1.1rem;
    }
   
    .social-text {
        font-size: 1.4rem;
    }
   
    .message-school {
        font-size: 1.4rem;
        padding: 15px 20px;
    }
   
    .school-title,
    .contact-title,
    .download-title {
        font-size: 2rem;
    }
   
    .form-title {
        font-size: 1.8rem;
    }
   
    .selected-header {
        font-size: 1.8rem;
    }
   
    .faq-title {
        font-size: 1.8rem;
    }
   
    .faq-question {
        font-size: 1.2rem;
    }
   
    .file-title-school {
        font-size: 1.3rem;
    }
   
    .container {
        max-width: 100%;
        padding: 15px 10px;
        width: 100vw;
        margin: 0;
    }
   
    .logo {
        height: 250px;
        border-radius: 25px 25px 0 0;
    }
   
    .chalkboard-frame {
        max-width: 100%;
        padding: 15px 10px;
        border-radius: 25px;
        width: 100%;
    }
   
    .chalkboard {
        max-width: 100%;
        padding: 25px 20px;
        width: 100%;
        font-size: 1rem;
    }
   
    .social-icons {
        width: 100%;
    }
   
    .selected-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
   
    .cookie-banner-container {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
   
    .cookie-buttons {
        flex-direction: column;
    }
   
    .cookie-btn {
        width: 100%;
    }
   
    .cookie-title {
        font-size: 1.3rem;
    }
   
    .cookie-text {
        font-size: 0.85rem;
    }
   
    .recaptcha-notice {
        padding: 12px;
        margin: 15px 0;
    }
   
    .recaptcha-notice h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
   
    .recaptcha-notice p {
        font-size: 0.85rem;
    }
}