/* ===== FONTS ===== */
@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/satoshi-variable.woff2') format('woff2-variations');
    font-weight: 300 900;
    font-style: normal;
    /* Text sofort in der Ersatzschrift zeigen statt ihn unsichtbar zu lassen */
    font-display: swap;
}

/* Nur für die Credit-Zeile: Kleinbuchstaben und Satzzeichen.
   Neuer Zuschnitt = neuer Dateiname (Fonts werden 1 Jahr gecacht) */
@font-face {
    font-family: 'Europa Credit';
    src: url('assets/fonts/europa-bold-credit-az.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS VARIABLES ===== */
:root {
    --color-bg: #eae6e4;
    --color-text: #232120;
    --color-dark-bg: #1a1917;
    --color-dark-text: #eae6e4;
    --color-menu-dark: #131211;
    --font-primary: 'Satoshi', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-dark-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth theme transition */
body.theme-transition,
body.theme-transition *,
body.theme-transition *::before,
body.theme-transition *::after {
    transition: background-color 0.5s var(--ease-out-expo),
                color 0.5s var(--ease-out-expo),
                border-color 0.5s var(--ease-out-expo),
                filter 0.5s var(--ease-out-expo) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1.2s var(--ease-out-expo) forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Umschaltbare Sektionen erst nach dem Sichtbarkeits-Check zeigen (kein
   Aufblitzen). Greift nur mit aktivem JS (html.js) — ohne JS bleiben die
   Sektionen sichtbar. script.js setzt nach dem Check display:block/none. */
html.js #unsere-geschichte,
html.js #catering {
    display: none;
}

/* Sprunglink: nur sichtbar, wenn er den Fokus hat */
.sprunglink {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 4px;
    background: var(--color-dark-bg);
    color: var(--color-dark-text);
    font-size: 0.9rem;
    text-decoration: none;
    transition: top 0.2s var(--ease-out-expo);
}

.sprunglink:focus {
    top: 16px;
}

/* Sichtbarer Fokusrahmen statt des dünnen Browser-Standards */
:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Beim Bauen abgeschaltete Sektionen: so sind sie auch ohne JavaScript weg.
   Mit JS gewinnt das Stilattribut aus script.js, falls wieder eingeschaltet. */
.sektion-aus {
    display: none;
}

/* Staggered children animation */
.animate-on-scroll .menu-item,
.animate-on-scroll .hours-row {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out-expo),
                transform 0.6s var(--ease-out-expo);
}

.animate-on-scroll.visible .menu-item,
.animate-on-scroll.visible .hours-row {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for menu items */
.animate-on-scroll.visible .menu-item:nth-child(1) { transition-delay: 0.05s; }
.animate-on-scroll.visible .menu-item:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll.visible .menu-item:nth-child(3) { transition-delay: 0.15s; }
.animate-on-scroll.visible .menu-item:nth-child(4) { transition-delay: 0.2s; }
.animate-on-scroll.visible .menu-item:nth-child(5) { transition-delay: 0.25s; }
.animate-on-scroll.visible .menu-item:nth-child(6) { transition-delay: 0.3s; }
.animate-on-scroll.visible .menu-item:nth-child(7) { transition-delay: 0.35s; }
.animate-on-scroll.visible .menu-item:nth-child(8) { transition-delay: 0.4s; }
.animate-on-scroll.visible .menu-item:nth-child(9) { transition-delay: 0.45s; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 30px 40px;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

/* Theme Toggle Button - positioned top left */
.nav .theme-toggle {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s var(--ease-out-expo),
                transform 0.5s var(--ease-out-expo);
    z-index: 101;
}

/* Hide theme toggle when scrolled (like nav-links) */
.nav.scrolled .theme-toggle {
    opacity: 0;
    transform: translateY(-50%) translateY(-20px);
    pointer-events: none;
}

.theme-toggle:hover {
    opacity: 0.7;
}

.theme-icon {
    width: 36px;
    height: 36px;
}

/* Icons already have correct color #eae6e4 in SVG */
.theme-icon-sun {
    display: block;
}

.theme-icon-moon {
    display: none;
}

/* In light mode: show moon icon (to switch to dark) */
body.light-mode .theme-icon-sun {
    display: none;
}

body.light-mode .theme-icon-moon {
    display: block;
}

/* Initial state: centered links visible */
.nav-links {
    display: flex;
    gap: 40px;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s var(--ease-out-expo),
                transform 0.5s var(--ease-out-expo);
}

.nav-links a {
    color: var(--color-bg);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    transition: opacity 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
    opacity: 1;
}

/* When scrolled: hide nav-links */
.nav.scrolled .nav-links {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    /* nimmt die Links auch aus der Tab-Reihenfolge — sonst tabbt man durch
       unsichtbare Stationen (das Mobilmenü macht es genauso) */
    visibility: hidden;
}

/* Hamburger */
.nav-hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    width: 48px;
    height: 48px;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-out-expo),
                visibility 0.5s var(--ease-out-expo);
}

/* Show hamburger when scrolled */
.nav.scrolled .nav-hamburger {
    opacity: 1;
    visibility: visible;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--color-bg);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s var(--ease-out-expo),
                top 0.4s var(--ease-out-expo),
                background-color 0.4s var(--ease-out-expo);
}

.hamburger-line:first-child {
    top: 18px;
}

.hamburger-line:last-child {
    top: 28px;
}

/* Hamburger active state (X) */
.nav-hamburger.active .hamburger-line:first-child {
    transform: translateX(-50%) rotate(45deg);
    top: 23px;
}

.nav-hamburger.active .hamburger-line:last-child {
    transform: translateX(-50%) rotate(-45deg);
    top: 23px;
}

/* Hamburger color changes based on scroll position - only in light mode */
body.light-mode .nav.past-hero .hamburger-line {
    background-color: var(--color-text);
}

/* In dark mode, hamburger always stays light */
/* (no change needed, default is already light) */

/* When menu is open, keep lines light (on dark background) - ALWAYS */
.nav-hamburger.active .hamburger-line {
    background-color: var(--color-bg) !important;
}

/* Dropdown Menu Bar */
.dropdown-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: var(--color-menu-dark);
    padding: 0 40px;
    height: 0;
    overflow: hidden;
    /* zugeklappt nicht anspringbar; .active macht es wieder sichtbar */
    visibility: hidden;
    transition: height 0.5s var(--ease-out-expo), visibility 0s linear 0.5s;
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 8'><path d='M0,0 H50 C35,0 40,8 25,8 C10,8 15,0 0,0 Z' fill='%23131211'/></svg>");
    background-repeat: repeat-x;
    background-size: 50px 8px;
    pointer-events: none;
}

.dropdown-menu.active {
    height: 78px; /* 70px content + 8px wave */
    visibility: visible;
    transition: height 0.5s var(--ease-out-expo), visibility 0s;
}

.dropdown-menu-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    height: 70px;
}

.dropdown-menu-content a {
    color: var(--color-bg);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s var(--ease-out-expo),
                transform 0.4s var(--ease-out-expo);
}

.dropdown-menu.active .dropdown-menu-content a {
    opacity: 0.85;
    transform: translateY(0);
}

/* Stagger delays are set dynamically via JS */

.dropdown-menu-content a:hover {
    opacity: 1;
}

/* Theme toggle in dropdown menu - positioned left like in nav */
.dropdown-menu .theme-toggle {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%) translateY(-10px);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo),
                transform 0.4s var(--ease-out-expo);
}

.dropdown-menu .theme-toggle .theme-icon {
    width: 36px;
    height: 36px;
}

.dropdown-menu.active .theme-toggle {
    opacity: 0.85;
    transform: translateY(-50%);
    transition-delay: 0.05s;
}

.dropdown-menu .theme-toggle:hover {
    opacity: 1;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-menu-dark);
    z-index: 99;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-out-expo),
                visibility 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.mobile-menu-content a {
    color: var(--color-bg);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease-out-expo),
                transform 0.5s var(--ease-out-expo);
}

.mobile-menu.active .mobile-menu-content a {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays are set dynamically via JS */

.mobile-menu-content a:hover {
    opacity: 0.7;
}

/* Theme toggle in mobile menu */
.mobile-menu-content .theme-toggle {
    position: static;
    margin-top: 20px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease-out-expo),
                transform 0.5s var(--ease-out-expo);
}

.mobile-menu-content .theme-toggle .theme-icon {
    width: 36px;
    height: 36px;
}

.mobile-menu.active .mobile-menu-content .theme-toggle {
    opacity: 1;
    transform: translateY(0);
    /* transition-delay set dynamically via JS */
}

/* ===== VIDEO HERO ===== */
.video-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 720px;
    overflow: hidden;
    /* Standbild hinter den Videos: zu sehen, solange sie laden, wenn eines
       scheitert und wenn JavaScript aus ist. Gleicher Ausschnitt wie die
       Clips (mittig beschnitten). */
    background-image: url('assets/images/hero-innenraum.webp');
    background-size: cover;
    background-position: center;
    background-color: var(--color-dark-bg);
}

/* Am Handy reicht die halbe Auflösung */
@media (max-width: 768px) {
    .video-hero {
        background-image: url('assets/images/hero-innenraum-klein.webp');
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}

.hero-video-next {
    opacity: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 33, 32, 0.55);
    z-index: 2;
}

/* Zusätzlicher Verlauf im unteren Drittel: Über hellen Videobildern fiel der
   Kontrast des Öffnungsstatus sonst bis auf 3,15 : 1 — und das ist die
   wichtigste Zeile der Seite. Oben bleibt das Bild unangetastet. */
.video-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to bottom, rgba(26, 25, 23, 0), rgba(26, 25, 23, 0.55));
    z-index: 2;
    pointer-events: none;
}

/* Untere Hero-Kante als Wellenlinie, dieselbe Form wie im Logo.
   Der Streifen ist in der Farbe des Abschnitts darunter eingefärbt und wird
   von der Welle maskiert — so wirkt der Hero wellenförmig beschnitten.
   Er ragt links und rechts über den Hero hinaus: Am Anfang und Ende der
   Maske liegt eine angeschnittene Kante, die als heller Fleck durchscheint.
   Außerhalb des Sichtfelds fällt sie nicht auf. */
.hero-welle {
    position: absolute;
    left: -30px;
    right: -30px;
    bottom: -1px;
    height: 20px;
    z-index: 4;
    background-color: var(--color-dark-bg);
    pointer-events: none;
    -webkit-mask-image: url('assets/icons/welle-kante.svg');
    mask-image: url('assets/icons/welle-kante.svg');
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    -webkit-mask-size: 56px 20px;
    mask-size: 56px 20px;
    -webkit-mask-position: bottom left;
    mask-position: bottom left;
}

body.light-mode .hero-welle {
    background-color: var(--color-bg);
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 60px 40px;
    padding-bottom: 100px; /* Logo etwas höher positionieren */
    pointer-events: none; /* Klicks durchlassen */
}

.hero-content > * {
    pointer-events: auto; /* Interaktive Elemente wieder aktivieren */
}

/* Logo */
.logo {
    position: relative;
    width: 460px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Invert logo to white for dark background */
.logo-light {
    filter: invert(1);
}

/* Lottie-Logo füllt den .logo-Container; das SVG skaliert darin
   proportional (gleiches Verhalten wie das frühere img) */
.logo-lottie {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-lottie svg {
    display: block;
}

.hero-welcome {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-welcome h1 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 100;
    color: var(--color-bg);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.opening-status {
    font-size: 1.4rem;
    font-weight: 100;
    color: var(--color-bg);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.opening-status .status-bold {
    font-weight: 500;
}

/* ===== DARK MODE (Default) ===== */
/* All sections after hero get dark background */
.menu,
.philosophy,
.about,
.catering,
.contact,
.footer {
    background-color: var(--color-dark-bg);
    color: var(--color-dark-text);
}

/* Ensure all text in dark sections is the correct color */
.menu,
.menu *,
.philosophy,
.philosophy *,
.about,
.about *,
.catering,
.catering *,
.contact,
.contact *,
.footer,
.footer * {
    color: var(--color-dark-text);
}

/* Invert ALL icons in dark sections */
.menu .category-icon,
.menu img:not(.editorial-image img),
.philosophy .philosophy-icon,
.philosophy .inline-icon,
.about .about-icon,
.contact .contact-icon,
.catering .catering-icon,
.daily-menu-fallback-full img {
    filter: invert(1);
}

/* Footer logo invert */
.footer-logo img {
    filter: invert(1);
    opacity: 0.8;
}

/* Contact note border adjustment */
.contact-note {
    border-color: rgba(234, 230, 228, 0.15);
}

.contact-note .underline {
    text-decoration-color: rgba(234, 230, 228, 0.3);
}

/* Footer border adjustment */
.footer {
    border-top-color: rgba(234, 230, 228, 0.1);
}

/* ===== LIGHT MODE ===== */
body.light-mode {
    background-color: var(--color-bg);
}

body.light-mode .menu,
body.light-mode .philosophy,
body.light-mode .about,
body.light-mode .catering,
body.light-mode .contact,
body.light-mode .footer {
    background-color: var(--color-bg);
    color: var(--color-text);
}

body.light-mode .menu,
body.light-mode .menu *,
body.light-mode .philosophy,
body.light-mode .philosophy *,
body.light-mode .about,
body.light-mode .about *,
body.light-mode .catering,
body.light-mode .catering *,
body.light-mode .contact,
body.light-mode .contact *,
body.light-mode .footer,
body.light-mode .footer * {
    color: var(--color-text);
}

/* Don't invert icons in light mode */
body.light-mode .menu .category-icon,
body.light-mode .menu img:not(.editorial-image img),
body.light-mode .philosophy .philosophy-icon,
body.light-mode .philosophy .inline-icon,
body.light-mode .about .about-icon,
body.light-mode .contact .contact-icon,
body.light-mode .catering .catering-icon,
body.light-mode .daily-menu-fallback-full img,
body.light-mode .footer-logo img {
    filter: none;
}

body.light-mode .footer-logo img {
    opacity: 0.8;
}

/* Light mode borders */
body.light-mode .contact-note {
    border-color: rgba(35, 33, 32, 0.15);
}

body.light-mode .contact-note .underline {
    text-decoration-color: rgba(35, 33, 32, 0.3);
}

body.light-mode .footer {
    border-top-color: rgba(35, 33, 32, 0.1);
}

body.light-mode .daily-menu-item {
    border-bottom-color: rgba(35, 33, 32, 0.1);
}

body.light-mode .daily-menu-fallback-full a {
    color: var(--color-text);
}

body.light-mode .daily-menu-fallback-full .inline-icon {
    filter: none;
}

/* ===== MENU ===== */
.menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 120px;
}

.menu-category {
    margin-bottom: 20px;
}

/* Daily Menu Row (Mittagsangebot & Tagesmenü nebeneinander) */
.menu-category-daily {
    grid-column: 1 / -1; /* Über beide Spalten des Menü-Grids */
    margin-bottom: 60px;
}

.daily-menu-date {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 50px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.daily-menu-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.daily-menu-column .category-header {
    margin-bottom: 30px;
}

.daily-menu-column .menu-items {
    min-height: 80px;
}

/* Zentrierter Fallback-Text wenn beide Felder leer sind */
.daily-menu-fallback-full {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.9;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    text-wrap: pretty;
}

.daily-menu-fallback-full a {
    color: var(--color-dark-text);
    font-weight: 500;
    text-decoration: none;
}

.daily-menu-fallback-full a:hover {
    text-decoration: underline;
}

/* Inline icons in fallback text */
.daily-menu-fallback-full .inline-icon {
    filter: invert(1);
}

@media (max-width: 900px) {
    .daily-menu-row {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.category-header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.category-icon {
    height: 44px;
    width: auto;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.item-number {
    font-size: 1rem;
    font-weight: 500;
    min-width: 28px;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 500;
}

.item-description {
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
    opacity: 0.85;
}

.item-price {
    font-size: 1rem;
    font-weight: 500;
    min-width: 60px;
    text-align: right;
}

.menu-item-extra {
    margin-top: 20px;
    padding-top: 20px;
}

/* ===== DAILY MENU (Tagesmenü) ===== */
.daily-menu {
    padding: 80px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.daily-menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.daily-menu-header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.daily-menu-icon {
    width: 28px;
    height: 28px;
}

.daily-menu-items {
    margin-bottom: 30px;
}

.daily-menu-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(234, 230, 228, 0.1);
}

.daily-menu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.daily-menu-item-name {
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.daily-menu-item-description {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.8;
    display: block;
    margin-bottom: 12px;
}

.daily-menu-item-price {
    font-size: 1.1rem;
    font-weight: 500;
}

.daily-menu-date {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.6;
    letter-spacing: 0.1em;
}

.daily-menu-loading,
.daily-menu-empty {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.6;
}

/* ===== CONTACT ===== */
.contact {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.contact-icon {
    height: 44px;
    width: auto;
}

.contact-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.opening-hours {
    margin-bottom: 0;
}

.hours-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 8px;
    white-space: nowrap;
}

.hours-row:last-child {
    margin-bottom: 0;
}

.day {
    font-weight: 500;
}

.time {
    font-weight: 300;
}

.address {
    font-style: normal;
    font-weight: 300;
    line-height: 1.8;
}

/* Trefferflächen am Handy: 20 px hohe Zeilen sind zu knapp zum Tippen */
.address a,
.map-link,
.footer-links a {
    display: inline-block;
    padding-block: 8px;
}

.address a {
    /* Farbe vom Umfeld erben, sonst bleibt im Nachtmodus die helle
       Textfarbe stehen und Telefon und E-Mail sind unsichtbar */
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s var(--ease-out-expo);
}

.address a:hover {
    opacity: 0.7;
}

.contact-note {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    padding: 16px 20px;
    border: 1px solid rgba(35, 33, 32, 0.15);
}

.contact-note .underline {
    text-decoration: underline;
    text-decoration-color: rgba(35, 33, 32, 0.3);
    text-underline-offset: 3px;
}

.contact-map {
    position: relative;
    width: 100%;
    /* Seitenverhältnis der Lagekarte (SVG 261.28 × 175.45) — so füllt die
       Karte den Container vollständig ohne Beschnitt oder Ränder; die
       Google-Karte übernimmt nach dem Klick denselben Rahmen */
    aspect-ratio: 261.28 / 175.45;
    overflow: hidden;
    background: #eae6e4;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s var(--ease-out-expo);
}

.contact-map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

.map-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.map-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Sichtbarer Hinweis auf die Datenübertragung — am Handy gibt es kein
   Überfahren mit der Maus, der title allein würde dort nie gelesen */
.map-hinweis {
    margin-top: 10px;
    font-size: 0.75rem;
    line-height: 1.5;
    opacity: 0.6;
}

/* Nur für Screenreader */
.nur-vorlesen {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.map-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: inherit;
    opacity: 0.75;
    text-decoration: none;
    transition: opacity 0.3s var(--ease-out-expo);
}

.map-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Desktop: Kartenspalte (Karte + Link) exakt so hoch wie der Textblock
   links (KONTAKT bis Unterkante Disclaimer). contain: size nimmt der
   Spalte ihre eigene Inhaltshöhe, so bestimmt allein der Textblock die
   Zeilenhöhe; die Karte füllt den Rest über dem Link. */
@media (min-width: 769px) {
    .contact-container {
        align-items: stretch;
    }

    .contact-map-wrap {
        contain: size;
        display: flex;
        flex-direction: column;
    }

    /* Karte skaliert statt beschnitten: Höhe = verfügbarer Platz über dem
       Link, Breite folgt dem Seitenverhältnis des SVG (linksbündig) */
    .contact-map {
        flex: 1;
        min-height: 0;
        width: auto;
        max-width: 100%;
        align-self: flex-start;
        aspect-ratio: 261.28 / 175.45;
    }

    .map-link {
        align-self: flex-start;
        line-height: 1;
    }
}

/* ===== EDITORIAL IMAGES ===== */
.editorial {
    padding: 0;
    margin: 0 0 40px 0;
    max-width: none;
}

.editorial-grid {
    position: relative;
    display: block;
    height: 600px;
}

.editorial-image {
    overflow: hidden;
    position: absolute;
    width: 56%;
}

.editorial-left {
    top: 0;
    left: 0;
    z-index: 1;
}

.editorial-right {
    top: 80px;
    left: 44%;
    z-index: 2;
}

/* <picture> selbst soll das Layout nicht beeinflussen — die Regeln gelten
   weiterhin dem img darin */
.editorial-image picture {
    display: contents;
}

.editorial-image .image-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 4;
}

.editorial-image img,
.editorial-image video {
    width: 100%;
    height: 120%;
    display: block;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

/* Zwei gestapelte Videos pro Maske für weiche Crossfades: beide liegen
   absolut im Wrapper (der über aspect-ratio die Größe hält), das Standby-
   Element startet unsichtbar und blendet beim Clip-Wechsel über */
.editorial-image .image-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease-in-out;
}

.editorial-image .image-wrapper video.philo-standby {
    opacity: 0;
}

/* Bildausschnitte pro Clip — festgelegt mit tools/video-ausschnitt.html
   (greifen über das src-Attribut, das die Rotation setzt) */
.editorial-image video[src*="hero-finishing-touches"] { object-position: 39% 50%; }
.editorial-image video[src*="hero-fire"] { object-position: 62% 50%; }
.editorial-image video[src*="hero-sushi-theke"] { object-position: 50% 50%; }
.editorial-image video[src*="hero-kitchen"] { object-position: 32% 50%; }
.editorial-image video[src*="hero-ryu-hinten"] { object-position: 65% 50%; }
.editorial-image video[src*="hero-ryu-vorne"] { object-position: 87% 50%; }

/* Überlagerung der Masken-Videos (festgelegt mit tools/video-farbe.html):
   im Nachtmodus dunkel mit 55%, im Tagesmodus hell mit 25%. Hover bzw.
   Tippen (script.js, nur Touch-Geräte) blendet sie aus. Nur Philosophie —
   der Hero hat seine eigene Überlagerung. */
.editorial-image .mask-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 25, 23, 0.55);
    transition: opacity 0.4s var(--ease-out-expo);
    pointer-events: none;
}

body.light-mode .editorial-image .mask-overlay {
    background: rgba(234, 230, 228, 0.25);
}

.editorial-image .image-wrapper:hover .mask-overlay,
.editorial-image .image-wrapper.overlay-aus .mask-overlay {
    opacity: 0;
}

/* Scroll animation for editorial images */
.editorial-image.animate-on-scroll {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s var(--ease-out-expo),
                transform 1s var(--ease-out-expo);
}

.editorial-image.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the right image */
.editorial-right.animate-on-scroll {
    transition-delay: 0.2s;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
    padding: 100px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.philosophy-header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.philosophy-icon {
    height: 44px;
    width: auto;
}

.philosophy-text p {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 30px;
    text-wrap: pretty;
}

.inline-icon {
    display: inline-block;
    height: 2em;
    width: auto;
    vertical-align: -0.55em;
    margin: 0 5px;
}

/* Prevent orphaned icons at end of lines */
.nowrap {
    white-space: nowrap;
}

/* ===== ABOUT (Unsere Geschichte) ===== */
.about {
    padding: 80px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.about-header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.about-icon {
    height: 44px;
    width: auto;
}

.about p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0 40px;
}

.timeline-svg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 1;
    overflow: visible;
}

.timeline-path {
    stroke: var(--color-dark-text);
    opacity: 1;
}

.timeline-dot-svg {
    fill: var(--color-dark-text);
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-expo);
}

.timeline-dot-svg.visible {
    opacity: 0.8;
}

.timeline-entry {
    position: absolute;
    width: calc(50% - 60px);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.7s var(--ease-out-expo),
                transform 0.7s var(--ease-out-expo);
}

.timeline-entry-left {
    right: calc(50% + 50px);
    text-align: right;
    transform: translateY(-50%) translateX(-20px);
}

.timeline-entry-left.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.timeline-entry-right {
    left: calc(50% + 50px);
    text-align: left;
    transform: translateY(-50%) translateX(20px);
}

.timeline-entry-right.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.timeline-year {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.timeline-entry-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.8;
}

/* Light mode timeline */
body.light-mode .timeline-path {
    stroke: var(--color-text);
}

body.light-mode .timeline-dot-svg {
    fill: var(--color-text);
}

/* ===== CATERING ===== */
.catering {
    padding: 100px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.catering-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.catering-header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.catering-text p {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 30px;
    text-wrap: pretty;
}

/* Editorial gespiegelt für Catering */
.editorial-mirrored .editorial-bottom-right {
    top: 80px;
    left: 44%;
    z-index: 1;
}

.editorial-mirrored .editorial-top-left {
    top: 0;
    left: 0;
    z-index: 2;
}

/* Stagger the bottom-right image */
.editorial-mirrored .editorial-bottom-right.animate-on-scroll {
    transition-delay: 0.2s;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 40px;
    border-top: 1px solid rgba(234, 230, 228, 0.1);
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo img {
    width: 200px;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--color-dark-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: opacity 0.3s var(--ease-out-expo);
}

.footer-links a:hover {
    opacity: 0.6;
}

/* Gestaltungs-Credit: schmale schwarze Zeile ganz unten, in beiden Modi.
   Die Zeile ist so breit wie die Footer-Links darüber (--credit-width setzt
   script.js): links bündig mit dem ersten, rechts mit dem letzten Link. */
.credit {
    display: flex;
    justify-content: center;
    padding: 9px 16px;
    background: #0b0b0b;
}

.credit-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px 40px;
    width: var(--credit-width, auto);
    min-width: max-content;
    color: #fff;
    font-family: 'Europa Credit', var(--font-primary);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.credit-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.credit-mark {
    width: auto;
    height: 9.4px;           /* wächst nur nach unten (Oberkante bleibt) */
    position: relative;
    top: 0.5px;
}

/* Hover: kleiner Pfeil (wie auf kubitza.design) gleitet hinter den Namen.
   Absolut positioniert, damit die Bündigkeit mit den Links bleibt. */
.credit-name {
    position: relative;
}

.credit-arrow {
    position: absolute;
    left: calc(100% + 6px);
    top: 50%;
    height: 0.66em;
    width: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8px;
    stroke-miterlimit: 10;
    opacity: 0;
    transform: translate(-4px, -50%);
    transition:
        opacity 0.3s ease,
        transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}

.credit-link:hover .credit-arrow,
.credit-link:focus-visible .credit-arrow {
    opacity: 1;
    transform: translate(0, -50%);
}

/* Zweiter Text nur für den Wechsel auf dem Handy */
.credit-text[aria-hidden="true"] {
    display: none;
}

/* ===== LEGAL PAGES ===== */
.nav-legal {
    position: relative;
    padding: 30px 40px;
    justify-content: flex-start;
    pointer-events: auto;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: opacity 0.3s var(--ease-out-expo);
}

.nav-back:hover {
    opacity: 0.6;
}

.nav-back svg {
    width: 20px;
    height: 20px;
}

.legal-page {
    padding: 40px 40px 100px;
    max-width: 800px;
    margin: 0 auto;
}

/* Die Seite trägt eine (versteckte) h1 „Datenschutz und Impressum"; die
   beiden sichtbaren Hauptüberschriften sind h2, ihre Abschnitte h3 — das
   Aussehen bleibt unverändert. */
.legal-content h1,
.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-content p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content a {
    color: var(--color-text);
    text-decoration: underline;
}

.legal-content em {
    opacity: 0.6;
}

.legal-content h2.section-divider {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(35, 33, 32, 0.15);
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
    /* Ryu-hinten-Clip: Bildausschnitt auf Mobil nach links verschieben,
       damit das Motiv im Hochformat-Crop sitzt (greift über das
       src-Attribut, das die Video-Rotation in script.js setzt) */
    .hero-video[src*="ryu-hinten"] {
        object-position: calc(50% - 150px) center;
    }

    /* Navigation - always show hamburger on mobile */
    .nav {
        padding: 20px 24px;
        justify-content: space-between;
    }

    /* Theme toggle on mobile - position left */
    .nav .theme-toggle {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    /* Hide dropdown on mobile, use fullscreen overlay instead */
    .dropdown-menu {
        display: none;
    }

    /* Show mobile menu overlay */
    .mobile-menu {
        display: flex;
    }

    .mobile-menu-content a {
        font-size: 1.5rem;
    }

    .hero-welcome {
        bottom: 40px;
    }

    .video-hero {
        height: 50vh;
        min-height: 720px;
    }

    .hero-content {
        padding: 40px 24px;
    }

    .logo {
        width: 50vw;
        max-width: 300px;
        height: auto;
    }

    /* Am Handy eine kürzere Welle, sonst wirkt sie grob */
    .hero-welle {
        height: 14px;
        -webkit-mask-size: 39px 14px;
        mask-size: 39px 14px;
    }

    .hero-welcome {
        padding: 0 24px;
    }

    /* Am Handy wird es sonst zu viel neben Logo und Öffnungsstatus.
       Die Überschrift bleibt im Quelltext (sie ist die einzige h1 der Seite)
       und wird nur unsichtbar gestellt — Screenreader und Google lesen sie. */
    .hero-welcome h1 {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .hero-welcome p {
        opacity: 0;
    }

    .opening-status {
        font-size: 1rem;
        text-wrap: balance;
    }

    .menu {
        padding: 40px 24px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-category {
        margin-bottom: 40px;
    }

    .category-header {
        margin-bottom: 35px;
    }

    .category-header h2 {
        font-size: 0.95rem;
    }

    .menu-items {
        gap: 20px;
    }

    .menu-item {
        gap: 14px;
    }

    .item-number {
        font-size: 0.9rem;
        min-width: 24px;
    }

    .item-name {
        font-size: 1rem;
    }

    .item-description {
        font-size: 0.85rem;
    }

    .item-price {
        font-size: 0.95rem;
        min-width: 50px;
    }

    .contact {
        padding: 60px 24px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .editorial {
        padding: 0;
        margin: 0 0 60px 0;
    }

    .editorial-grid {
        /* Höhe folgt der vorderen Maske statt fest 450px zu blocken:
           50px Versatz + Maskenhöhe (68% Breite × 4/3 Seitenverhältnis
           ≈ Faktor 0.907 der Containerbreite; 44px = Philosophy-Padding) */
        height: calc((100vw - 44px) * 0.907 + 50px);
    }

    .editorial-image {
        width: 68%;
    }

    .editorial-left {
        left: 0;
        top: 0;
    }

    .editorial-right {
        top: 50px;
        left: 32%;
    }

    .philosophy {
        padding: 60px 20px 60px 24px;
    }

    .philosophy-header {
        margin-bottom: 35px;
    }

    .philosophy-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .inline-icon {
        height: 1.9em;
    }

    .about {
        padding: 60px 24px;
    }

    .about p {
        font-size: 1rem;
    }

    /* Timeline Mobile */
    .timeline {
        padding: 0;
        margin-top: 30px;
    }

    .timeline-svg {
        left: -32px;
        transform: none;
    }

    .timeline-entry {
        width: calc(100% - 36px);
        text-align: left !important;
    }

    .timeline-entry-left,
    .timeline-entry-right {
        left: 36px;
        right: auto;
        transform: translateY(-50%) translateX(20px);
    }

    .timeline-entry-left.visible,
    .timeline-entry-right.visible {
        transform: translateY(-50%) translateX(0);
    }

    .timeline-year {
        font-size: 1.1rem;
    }

    .timeline-entry-text {
        font-size: 0.9rem;
    }

    .catering {
        padding: 60px 24px;
    }

    .catering-header {
        margin-bottom: 35px;
    }

    .catering-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .editorial-mirrored .editorial-bottom-right {
        top: 50px;
        left: 30%;
    }

    .editorial-mirrored .editorial-top-left {
        left: 0;
        top: 0;
    }

    .footer {
        padding: 40px 24px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-logo img {
        width: 160px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 30px;
    }

    .credit {
        padding: 10px 16px;
    }

    /* Handy: eine Zeile — Logo steht, daneben wechselt der Text
       (Bewegung wie der Zitatwechsel auf kubitza.design) */
    .credit-link {
        width: auto;
        min-width: 0;
        justify-content: center;
        font-size: 0.86rem;
    }

    .credit-role,
    .credit-arrow {
        display: none;
    }

    /* Logo-Unterkante auf die Schriftlinie (x-Tiefe), nicht auf die
       Unterlänge: Baseline-Ausrichtung setzt die SVG-Box auf die Linie,
       top gleicht den Leerraum unter der Welle in der viewBox aus */
    .credit-name {
        align-items: baseline;
    }

    .credit-mark {
        top: 0.33px;
    }

    /* Beide Texte übereinander; die Spalte ist so breit wie der längere,
       damit das Logo beim Wechsel nicht springt */
    .credit-swap {
        display: grid;
        overflow: hidden;
    }

    .credit-text,
    .credit-text[aria-hidden="true"] {
        display: block;
        grid-area: 1 / 1;
        transform: translateY(105%);
        opacity: 0;
        transition:
            transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
            opacity 0.5s ease;
    }

    .credit-text.is-active {
        transform: translateY(0);
        opacity: 1;
    }

    .credit-text.is-leaving {
        transform: translateY(-105%);
        opacity: 0;
    }

    /* Legal pages mobile */
    .nav-legal {
        padding: 20px 24px;
    }

    .legal-page {
        padding: 20px 24px 80px;
    }

    .legal-content h1 {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }

    .legal-content h2 {
        font-size: 1rem;
        margin-top: 30px;
    }

    .legal-content p {
        font-size: 0.95rem;
    }

}

/* ===== SYSTEMEINSTELLUNG "BEWEGUNG REDUZIEREN" ===== */
/* Alles, was sich von selbst bewegt, steht still: Einblendungen beim
   Scrollen, Überblendungen, weiches Scrollen. Bedienbar bleibt alles. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    /* Inhalte, die sonst erst beim Scrollen erscheinen, sind sofort da */
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}
