:root {
    --bg: #f5f7ff;
    --text: #1e1e2e;
    --accent: #4A90E2;
    --accent-glow: rgba(74, 144, 226, 0.4);
    --light: #ffffff;
    --border: rgba(74, 144, 226, 0.15);
    --shadow: 0 20px 40px rgba(0,0,0,0.06);
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --radius: 22px;
}

[data-theme="dark"] {
    --bg: #0a0e1a;
    --text: #e0e7ff;
    --light: #141a2e;
    --border: rgba(74, 144, 226, 0.2);
    --shadow: 0 20px 40px rgba(0,0,0,0.4);
    --accent-glow: rgba(74, 144, 226, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
    height: 100%; 
    font-family: 'Inter', sans-serif; 
    background: var(--bg); 
    color: var(--text); 
    line-height: 1.8; 
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

/* Parallax */
.parallax-bg {
    position: fixed;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1506318137071-a8e063b4bec0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
    background-attachment: fixed;
    opacity: 0.07;
    z-index: -1;
    transform: scale(1.05);
    transition: transform 1.5s ease;
}
[data-theme="dark"] .parallax-bg { opacity: 0.04; }

/* Progress Bar */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border);
    z-index: 1001;
    overflow: hidden;
}
#progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    width: 0%;
    transition: width 0.1s ease;
}
[data-theme="dark"] #progress-container { background: var(--border); }

/* Header */
#mainHeader {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(232, 245, 243, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}
[data-theme="dark"] #mainHeader {
    background: rgba(10,14,26,0.92);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-weight: 900; font-size: 1.8rem; letter-spacing: -1px; color: var(--text); text-decoration: none;
}
.logo span { color: var(--accent); }

/* Header Buttons */
.header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.header-right button {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 80px;
}
.header-right button:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74,144,226,0.3);
}
.theme-toggle {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    padding: 0 !important;
}
.theme-toggle:hover {
    background: var(--accent) !important;
    color: white !important;
}

/* ================================================================
   MOBILE MENU – X/TWITTER RADIAL KACHEL-MENÜ
================================================================ */

/* ================================================================
   MOBILE MENU – TRANSPARENT, LINKS AUSGERICHTET, RESPONSIVE
================================================================ */

/* FAB Button – 3 Striche, Text links */
#mobileMenuBtn {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    z-index: 1000;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(74,144,226,0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;     /* LINKS AUSGERICHTET */
    justify-content: center;
    gap: 4px;
    padding-left: 18px;          /* Abstand vom Rand */
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,0.2);
}
#mobileMenuBtn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 18px 44px rgba(74,144,226,0.6), 0 0 30px var(--accent-glow);
    border-color: white;
}
#mobileMenuBtn::before,
#mobileMenuBtn::after,
#mobileMenuBtn span {
    content: '';
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}
#mobileMenuBtn span { margin: 0; }
#mobileMenuBtn.open::before { transform: rotate(45deg) translate(6px, 6px); }
#mobileMenuBtn.open::after { transform: rotate(-45deg) translate(6px, -6px); }
#mobileMenuBtn.open span { opacity: 0; }

/* Vertikales Menü – TRANSPARENT, rechtsbündig */
.mobile-menu-modal {
    position: fixed;
    bottom: 5.5rem;
    right: 2.5rem;
    transform: translateY(100%) scale(0);
    transform-origin: bottom right;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 12px;
    padding: 18px 16px;
    background: transparent; /* TRANSPARENT */
    border: none;
    box-shadow: none;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 70vh;
    overflow-y: auto;
}
.mobile-menu-modal.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

/* Kachel – nur Hintergrund bei Hover, Text links */
.mobile-menu-modal a {
    min-width: 90px;
    height: 40px;
    background: rgba(255,255,255,0.1); /* Leicht getönt */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* LINKS AUSGERICHTET */
    gap: 10px;
    padding: 0 16px;
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
    margin-left: auto;
}
[data-theme="dark"] .mobile-menu-modal a {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(74,144,226,0.2);
}
.mobile-menu-modal a:hover {
    background: rgba(74,144,226,0.25);
    transform: translateX(-4px) scale(1.03);
    box-shadow: 0 8px 20px rgba(74,144,226,0.3);
    border-color: var(--accent);
}
.mobile-menu-modal a i {
    color: white;
    font-size: 1.3rem;
}
.mobile-menu-modal a span {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

/* Overlay – leicht transparent */
body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
body.menu-open::before {
    opacity: 1;
    pointer-events: all;
}

/* Kältebot Modal – Eingabe & Antwort */
#kaeltebotModal textarea {
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(4px);
}
[data-theme="dark"] #kaeltebotModal textarea {
    background: rgba(255,255,255,0.1) !important;
    color: #e0e7ff;
}
#kaeltebotModal button {
    transition: var(--transition);
}
#kaeltebotModal button:hover {
    background: #357ABD;
    transform: translateY(-2px);
}
#botAnswer {
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
}
[data-theme="dark"] #botAnswer {
    background: rgba(255,255,255,0.05);
}
/* ================================================================
   RESPONSIVE: SEHR KLEINE HANDYS (≤320px) – iPhone SE
================================================================ */
@media (max-width: 320px) {
    #mobileMenuBtn {
        width: 48px;
        height: 48px;
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 2.5px;
        padding-left: 12px;
        font-size: 1.3rem;
    }
    #mobileMenuBtn::before,
    #mobileMenuBtn::after,
    #mobileMenuBtn span {
        width: 16px;
        height: 2px;
    }

    .mobile-menu-modal {
        bottom: 3.8rem;
        right: 1.5rem;
        gap: 8px;
        padding: 12px 10px;
    }

    .mobile-menu-modal a {
        min-width: 72px;
        height: 32px;
        gap: 6px;
        padding: 0 10px;
        font-size: 1.1rem;
    }
    .mobile-menu-modal a i {
        font-size: 1.0rem;
    }
    .mobile-menu-modal a span {
        font-size: 0.68rem;
        font-weight: 600;
    }
}

[data-theme="dark"] #kaeltebotModal input,
[data-theme="dark"] #kaeltebotModal button:not(.modal-close-button) {
    background: rgba(255,255,255,0.1) !important;
    color: #e0e7ff;
    border-color: rgba(74,144,226,0.3);
}
[data-theme="dark"] #botAnswer {
    background: rgba(255,255,255,0.05);
}
[data-theme="dark"] #disclaimer {
    color: #aaa;
}
[data-theme="dark"] .modal-close-button {
    background: transparent;
    color: #e0e7ff;
    border-color: rgba(74,144,226,0.3);
}
/* Hero */
.hero {
    height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 0 5%; position: relative;
}
.hero h1 {
    font-size: 5.6rem; font-weight: 900; letter-spacing: -3px; margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: fadeUp 1s 0.3s forwards; opacity: 0; transform: translateY(30px);
}
.hero p {
    font-size: 1.5rem; max-width: 720px; color: #555; opacity: 0; animation: fadeUp 1s 0.5s forwards;
}
[data-theme="dark"] .hero p { color: #bbb; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Sections */
.section {
    padding: 14rem 5%; max-width: 1000px; margin: 0 auto 4rem;
    opacity: 0; transform: scale(0.96); transition: all 1s ease;
    border-radius: var(--radius); background: var(--light);
    box-shadow: var(--shadow); backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(74,144,226,0.05), transparent);
    pointer-events: none; border-radius: var(--radius);
}
.section.visible { opacity: 1; transform: scale(1); }

.section h2 {
    font-size: 3.2rem; font-weight: 800; margin-bottom: 2.5rem; color: var(--accent);
    position: relative; display: inline-block;
}
.section h2::after {
    content: ''; position: absolute; left: 0; bottom: -12px; width: 90px; height: 5px;
    background: linear-gradient(90deg, var(--accent), transparent); border-radius: 3px;
}

/* Tool Cards */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.tool-card {
    background: rgba(255,255,255,0.75); padding: 2.8rem; border-radius: var(--radius);
    text-align: center; cursor: pointer; transition: var(--transition); border: 1px solid var(--border);
    backdrop-filter: blur(12px); transform-style: preserve-3d;
}
[data-theme="dark"] .tool-card { background: rgba(20,26,46,0.8); }
.tool-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-12px);
    box-shadow: 0 32px 64px rgba(0,0,0,0.18), 0 0 30px var(--accent-glow);
    border-color: var(--accent);
}
.tool-card button {
    background: transparent; border: 2px solid var(--accent); color: var(--accent);
    padding: 0.9rem 2rem; border-radius: 50px; font-weight: 600; width: 100%; margin-top: 1rem;
    transition: var(--transition);
}
.tool-card button:hover {
    background: var(--accent); color: white; transform: translateY(-2px);
}

/* Form */
.form-container {
    background: rgba(255,255,255,0.75); padding: 3.2rem; border-radius: var(--radius);
    backdrop-filter: blur(14px); border: 1px solid var(--border); max-width: 700px; margin: 0 auto;
}
[data-theme="dark"] .form-container { background: rgba(20,26,46,0.8); }
input, select, textarea {
    width: 100%; padding: 1.1rem; border: 1px solid var(--border); border-radius: 14px;
    background: rgba(255,255,255,0.6); color: var(--text); font-size: 1.05rem; margin-bottom: 1rem;
    transition: var(--transition);
}
[data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea {
    background: rgba(255,255,255,0.1);
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-glow);
}
button[type="submit"] {
    background: var(--accent); color: white; padding: 1.1rem 2.5rem; border: none;
    border-radius: 50px; font-weight: 600; width: 100%; cursor: pointer; transition: var(--transition);
    box-shadow: 0 8px 20px rgba(74,144,226,0.3);
}
button[type="submit"]:hover { background: #357ABD; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(74,144,226,0.4); }

/* References */
/* References */
.references-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2rem; 
}
.ref-item {
    background: rgba(255,255,255,0.75); 
    border-radius: var(--radius); 
    overflow: hidden;
    border: 1px solid var(--border); 
    backdrop-filter: blur(12px); 
    transition: var(--transition);
}
[data-theme="dark"] .ref-item { 
    background: rgba(20,26,46,0.8); 
}
.ref-item:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); 
}
.ref-item img {
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.ref-item img:hover { 
    transform: scale(1.06); 
}

/* Neuer Stil für den Text-Bereich – moderner, mit Abständen und schöner Typografie */
.ref-text {
    padding: 1.5rem 1.25rem 1rem; /* Ober/unten mehr Platz für Überschrift/Text, links/rechts für Randabstand */
    font-family: 'Inter', sans-serif; /* Konsistent mit globaler Schrift */
}
.ref-text h3 {
    font-size: 1.3rem; /* Etwas größer und lesbarer */
    font-weight: 700; /* Bold, aber nicht zu schwer */
    line-height: 1.3; /* Enger Zeilenabstand für Modernität */
    margin: 0 0 0.75rem 0; /* Kleiner Abstand unten */
    color: var(--text); /* Primärfarbe */
    letter-spacing: -0.02em; /* Leichte Komprimierung für Eleganz */
    word-break: break-word; /* Verhindert Überlauf bei langen Titeln */
}
[data-theme="dark"] .ref-text h3 {
    color: var(--text); /* Bleibt hell in Dark Mode */
}
.ref-text p {
    font-size: 0.95rem; /* Etwas kleiner als h3, aber klar lesbar */
    line-height: 1.6; /* Guter Zeilenabstand für Flüssigkeit */
    margin: 0 0 1rem 0; /* Abstand unten, vor Button falls vorhanden */
    color: #666; /* Etwas gedämpfter als h3 für Hierarchie */
    word-break: break-word; /* Verhindert Überlauf */
}
[data-theme="dark"] .ref-text p {
    color: #bbb; /* Heller in Dark Mode */
}
/* Delete-Button-Integration: Etwas Abstand und moderner Look */
.ref-text button {
    background: #ef4444; /* Rot, aber weicher */
    color: white; 
    padding: 0.5rem 1rem; 
    border: none; 
    border-radius: 8px; 
    font-size: 0.85rem; 
    font-weight: 500; 
    cursor: pointer; 
    transition: var(--transition); 
    width: 100%; /* Vollbreite für Mobile */
    margin-top: 0.5rem; /* Kleiner Abstand oben */
}
.ref-text button:hover {
    background: #dc2626; /* Dunkleres Rot bei Hover */
    transform: translateY(-1px); 
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
/* News - LinkedIn */
.news-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    margin-top: 2rem; 
}
.news-item {
    position: relative; /* Für Lösch-Button */
    background: var(--light); 
    border-radius: var(--radius); 
    overflow: hidden; 
    border: 1px solid var(--border); 
    backdrop-filter: blur(12px); 
    transition: var(--transition); 
    box-shadow: var(--shadow);
}
[data-theme="dark"] .news-item { background: rgba(20,26,46,0.8); }
.news-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.news-item iframe {
    width: 100%; 
    height: 500px; /* Standard-Höhe */
    border: none; 
    display: block;
}

/* Lightbox */
.lightbox {
    display: none; position: fixed; z-index: 3000; inset: 0; background: rgba(0,0,0,0.96);
    justify-content: center; align-items: center; padding: 2rem; backdrop-filter: blur(12px);
}
.lightbox img { max-width: 92%; max-height: 92vh; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,0.6); }

/* Modal */
.modal {
    display: none; position: fixed; z-index: 2000; inset: 0; background: rgba(0,0,0,0.7);
    justify-content: center; align-items: center; backdrop-filter: blur(12px);
    padding: 1rem;
}
.modal-content {
    background: var(--light);
    width: calc(100vw - 4rem);   /* Vollbreite minus 2rem Rand links/rechts */
    max-width: none;             /* Keine Begrenzung! */
    height: calc(100vh - 4rem);  /* Fast volle Höhe */
    max-height: none;
    margin: 2rem;
    border-radius: var(--radius);
    padding: 0;
    box-shadow: var(--shadow), 0 0 60px var(--accent-glow);
    border: 1px solid var(--border);
    position: relative;
    animation: modalPop 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Speziell für Tool-Modale: iframe füllt Inhalt aus */
.modal-content iframe {
    flex: 1;
    border: none;
    border-radius: 0 0 var(--radius) var(--radius);
    min-height: 70vh;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}
.modal-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0;
}
.close { font-size: 2rem; color: #aaa; cursor: pointer; transition: 0.3s; }
.close:hover { color: var(--text); transform: scale(1.2); }
@keyframes modalPop { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Footer */
footer {
    text-align: center; padding: 4.5rem 5%; font-size: 0.95rem; color: #888;
    border-top: 1px solid var(--border); background: var(--light);
    backdrop-filter: blur(10px);
}

/* Responsive für News */
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-item iframe { height: 400px; }
}

@media (max-width: 480px) {
    .news-item iframe { height: 300px; } /* Kompakt für Handys */
    #adminNewsAdd textarea { font-size: 0.9rem; }
}

/* Responsive – Tablet und kleiner */
@media (max-width: 768px) {
    .hero h1 { 
        font-size: clamp(2.8rem, 8vw, 3.3rem); /* Fließend skalieren: min 2.8rem, max 3.3rem, basierend auf Viewport-Breite */
    }
    .section { padding: 8rem 5%; }
    .section h2 { font-size: 2.4rem; }
    .tool-grid { grid-template-columns: 1fr; }
    .header-right { gap: 0.6rem; }
    .header-right button { padding: 0.5rem 0.9rem; font-size: 0.8rem; min-width: 70px; }
}

/* Für sehr kleine Handys (z.B. iPhone SE, <375px) – extra Reduktion + Umbruch */
@media (max-width: 375px) {
    .hero h1 { 
        font-size: 2.5rem; /* Weiter reduzieren */
        word-break: break-word; /* Text umbrechen, falls nötig */
        letter-spacing: -1px; /* Weniger Letter-Spacing für Kompaktheit */
        line-height: 1.1; /* Enger Zeilenabstand */
        margin-bottom: 1rem; /* Weniger Abstand unten */
        padding: 0 2%; /* Leichter Padding für Rand-Sicherheit */
    }
    .hero p { 
        font-size: 1.2rem; /* Auch den Untertitel anpassen */
        padding: 0 2%;
    }
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--light);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem;
    text-align: center;
}
[data-theme="dark"] .cookie-banner {
    background: var(--light); /* Oder dunkler: rgba(20,26,46,0.95) */
    color: var(--text);
}
.cookie-content p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .cookie-banner { padding: 0.8rem; }
    .cookie-content p { font-size: 0.85rem; }
}
.logo-img {
    height: 1.8rem; /* Schrift-Höhe beibehalten */
    width: auto; /* Proportionen halten */
    max-width: 1.8rem; /* NEU: Begrenzt Breite auf max. Schrift-Höhe – verhindert "Überbreite" */
    vertical-align: middle; /* Zentrierung */
    margin-right: 0; /* NULL Abstand – Text setzt direkt daneben an */
    display: inline-block;
    transition: var(--transition);
    object-fit: contain; /* NEU: Passt das Bild rein, ohne Verzerrung (gut für GIFs mit Rand) */
}

.logo {
    display: inline-flex; /* Bleibt: Flex für enge Anordnung */
    align-items: center;
    gap: 0; /* NULL Gap – alles klebt zusammen */
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    backdrop-filter: blur(5px);
    border-top: 3px solid var(--accent, #00aaff);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent.light-mode {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-top-color: var(--accent, #007acc);
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-inner p {
    margin: 0;
    flex: 1;
}

.cookie-inner p a {
    color: inherit;
    text-decoration: underline;
}

.cookie-inner button {
    background: var(--accent, #00aaff);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-inner button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-inner button {
        width: 100%;
        max-width: 300px;
    }
}
/* ===================================
   LOGO – GRÖßERE VERSIONEN
=================================== */
/* ===================================
   LOGO – ANGEPASSTE GRÖßEN (Dezember 2026 Update)
=================================== */

/* Logo im Header – ca. 1/3 kleiner als vorher (jetzt moderat groß, nicht dominant) */
.header-logo {
    height: 3.6rem !important;     /* Von 5.4rem runter auf 3.6rem → ca. 2/3 der vorherigen, also 1/3 kleiner */
    width: auto;
    max-width: none !important;
    margin-right: 1.2rem;          /* Schöner Abstand zum Text */
    transition: var(--transition);
    object-fit: contain;
}

#mainHeader .logo {
    gap: 1rem;
    align-items: center;
}

#mainHeader .logo:hover .header-logo {
    transform: scale(1.08) rotate(2deg);
}

/* Großes Logo im Hero-Bereich – ca. 1/3 größer als vorher */
.hero-logo {
    width: 420px;                  /* Von 320px hoch auf 420px → ca. +31% */
    max-width: 90vw;               /* Auf sehr kleinen Screens immer noch passend */
    height: auto;
    margin-bottom: 2.5rem;         /* Mehr Abstand zum Titel */
    opacity: 0.95;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    transition: var(--transition);
    object-fit: contain;
}

.hero-logo:hover {
    opacity: 1;
    transform: translateY(-6px);
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.4));
}

/* Responsive Anpassungen – feiner abgestimmt */
@media (max-width: 992px) {
    .hero-logo {
        width: 360px;
    }
}

@media (max-width: 768px) {
    .header-logo {
        height: 3.2rem !important;
        margin-right: 0.8rem;
    }
    
    .hero-logo {
        width: 320px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 2.8rem !important;
    }
    
    .hero-logo {
        width: 280px;
        margin-bottom: 1.5rem;
    }
}