/* ==========================================================================
   Kabelsalat Eventtechnik – Haupt-Stylesheet
   Gilt für die Startseite (index.html) und die Bereichsseiten
   privat/, band/ und pro/ (inkl. Mietpark-Ansicht).
   Die Rechtstexte (Impressum, AGBs, Datenschutz) nutzen legal.css.

   Typografie (eine Schrift: Open Sans, siehe --font)
    Schriftgrößen: 13 · 14 · 15 · 16 · 18 · 20 · 24 · 28 · 32 px
    Titel fließend: Abschnitt clamp(28–44 px), Startbild clamp(36–72 px)
    Gewichte: 400 Text · 500 Navigation · 600 Überschriften & Hervorhebungen

   Inhalt
    1.  Variablen & Grundlagen
    2.  Kopfzeile (Navigation, Burger, Mobil-Menü)
    3.  Modus-Leiste (Privat / Band / Veranstalter)
    4.  Hero (Titelbild mit Bildwechsel)
    5.  Buttons
    6.  Abschnitte & Leistungen
    7.  Komplett-Angebot & Leistungsstufen
    8.  Projekte-Karussell
    8b. Bewertungen
    9.  Kontakt
   10.  Sets & Pakete
   11.  Mietpark-Ansicht
   12.  Fußzeile
   13.  Einstieg (Startseite)
   14.  Responsive Anpassungen (Tablet, Handy, Smartphone quer)
   15.  Barrierefreiheit (Touch-Ziele, reduzierte Bewegung)
   ========================================================================== */


/* ==========================================================================
   1. Variablen & Grundlagen
   ========================================================================== */
:root {
    --brand-blue: hsl(218, 92%, 53%);
    --brand-blue-dim: rgba(26, 108, 245, 0.12);
    --brand-blue-glow: rgba(26, 108, 245, 0.30);
    --bg-dark: #0e1520;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.10);
    --border: rgba(255, 255, 255, 0.11);
    --border-strong: rgba(255, 255, 255, 0.18);
    --star: #f2b632;                /* Sternfarbe der Bewertungen */
    --accent-text: #5b95fb;          /* helleres Blau für kleine Schrift (Kontrast 6:1) */
    /* Textfarben deckend statt halbtransparent – Kontrast mind. 7:1 (WCAG AAA) */
    --text-primary: #f2f5fb;
    --text-secondary: #c5cee0;
    --text-muted: #97a3ba;
    /* Hausschrift: Open Sans. Sie wird NUR hier festgelegt und von allen
       Elementen geerbt – bitte nirgends eine andere Schrift eintragen. */
    --font: 'Open Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --header-h: 125px;               /* Kopfzeile + Modus-Leiste */
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Buttons und Formularfelder übernehmen die Hausschrift (Browser setzen sonst eigene) */
button, input, select, textarea { font: inherit; }
/* Überschriften und Hervorhebungen einheitlich halbfett (600) */
h1, h2, h3, strong, b { font-weight: 600; }

html {
    scroll-behavior: smooth;
    /* Sprungziele nicht unter der fixierten Kopfzeile verstecken */
    scroll-padding-top: var(--header-h);
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Scroll-Sperre bei geöffnetem Mobil-Menü (iOS-sicher) */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Seiten-Ansichten: Startansicht und Mietpark */
.page { display: none; flex-direction: column; min-height: 100vh; }
.page.active { display: flex; }

/* Logo (Kopfzeile und Einstieg) */
.logo-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; }


/* ==========================================================================
   2. Kopfzeile (Navigation, Burger, Mobil-Menü)
   ========================================================================== */
#topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
    background: rgba(8, 12, 20, 0.88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 0.5px solid transparent;
}
/* iPhone mit Notch (viewport-fit=cover): Inhalt nicht unter die Kamera-Aussparung */
@supports (padding: max(0px)) {
    #topnav {
        padding-left: max(2rem, env(safe-area-inset-left));
        padding-right: max(2rem, env(safe-area-inset-right));
    }
}
/* Bei offenem Menü liegt die Kopfzeile (mit Schließen-Button) über dem Menü */
body.menu-open #topnav { z-index: 1100; }

.nav-logo-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: color 200ms;
    display: inline-block;
    line-height: normal;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
    background: var(--brand-blue);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 600 !important;
    white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; }

/* Burger-Button */
#burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}
#burger .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 260ms ease, opacity 200ms ease;
    pointer-events: none;
}
#burger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#burger.open .bar:nth-child(2) { opacity: 0; }
#burger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobil-Menü (Drawer) */
#navdrawer {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 20, 0.97);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
    visibility: hidden;
    padding-top: 64px;               /* Platz für die Kopfzeile mit Schließen-Button */
    overflow-y: auto;
}
#navdrawer.open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
}
#navdrawer ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
#navdrawer a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
}
#navdrawer a:hover { color: var(--brand-blue); }


/* ==========================================================================
   3. Modus-Leiste (Privat / Band / Veranstalter)
   ========================================================================== */
#modebar {
    position: fixed;
    top: 64px; left: 0; right: 0;
    z-index: 990;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 1rem 10px;
    background: rgba(8, 12, 20, 0.88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 0.5px solid var(--border);
}
body.on-sub #modebar { display: none; }

.mode-switch {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: min(520px, 100%);
    padding: 4px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 0.5px solid var(--border-strong);
}
.mode-thumb {
    position: absolute;
    top: 4px; bottom: 4px; left: 4px;
    width: calc(33.333% - 2.67px);
    border-radius: 100px;
    background: var(--brand-blue);
    transition: transform 380ms cubic-bezier(.3, 1.2, .4, 1);
    box-shadow: 0 4px 18px var(--brand-blue-glow);
}
body[data-mode="band"] .mode-thumb { transform: translateX(100%); }
body[data-mode="pro"] .mode-thumb { transform: translateX(200%); }

.mode-switch a {
    position: relative;
    z-index: 1;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    transition: color 250ms;
    min-height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}
.mode-switch a small {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: .85;
}
.mode-switch a[aria-current="page"] { color: #fff; }
.mode-switch a:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }


/* ==========================================================================
   4. Hero (Titelbild mit Bildwechsel)
   ========================================================================== */
#hero {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 620px;
    overflow: hidden;
    flex-shrink: 0;
}
.slider { position: absolute; inset: 0; }
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    visibility: hidden;
}
.slide.visible { opacity: 1; visibility: visible; }
.slide-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d1829 0%, #16315d 50%, #0a1020 100%);
}
/* Schleier über dem Bild für lesbaren Text */
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse 70% 55% at 50% 52%, rgba(0, 0, 0, .45), transparent 75%),
        linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .1) 60%, rgba(0, 0, 0, .85) 100%);
}

/* Pfeile links/rechts */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(0, 0, 0, 0.38);
    border: 0.5px solid var(--border-strong);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms;
}
.arrow:hover { background: rgba(26, 108, 245, 0.5); border-color: transparent; }
.arrow:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.arrow.left { left: 20px; }
.arrow.right { right: 20px; }

/* Punkte (Bildauswahl) */
.dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background 200ms, transform 200ms;
}
.dot.active { background: var(--brand-blue); transform: scale(1.5); }
.dot:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
#hero .dots { position: absolute; left: 0; right: 0; bottom: 28px; margin: 0; z-index: 12; }

/* Text im Hero – wächst bei wenig Höhe mit, statt oben abgeschnitten zu werden */
#hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 150px 1.5rem 90px;
    text-align: center;
}
.hero-eyebrow {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .01em;
    color: rgba(235, 241, 255, .92);
    margin-bottom: 1rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .7);
}
.hero-tagline {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.1rem;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .55);
}
.hero-tagline em { font-style: normal; color: var(--brand-blue); }
.hero-sub {
    font-size: clamp(16px, 1.6vw, 18px);
    color: rgba(235, 241, 255, 0.92);
    max-width: 560px;
    margin-bottom: 2rem;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .7);
}
.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn-primary {
    background: var(--brand-blue);
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: opacity 200ms, transform 200ms;
    display: inline-block;
    min-height: 44px;
    line-height: 1.2;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    border: 0.5px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 200ms;
    display: inline-block;
    min-height: 44px;
    line-height: 1.2;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.25); }
.btn-ghost:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }


/* ==========================================================================
   6. Abschnitte & Leistungen
   ========================================================================== */
.section {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 96px 2rem;
}
.section-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-text);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.section-body {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.65;
}
hr.divider { border: none; border-top: 0.5px solid var(--border); }

/* Leistungs-Kacheln */
.services-intro { max-width: 680px; margin-bottom: 60px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
/* Variante mit drei Kacheln (Privat, Band) */
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
    background: var(--bg-dark);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.service-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0d1829, #16315d);
}
.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-text { flex: 1; min-width: 0; }
.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    line-height: 1.3;
}
.service-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 1000px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
/* Handy: Kacheln untereinander, Bild klein links (gilt für 3er- und 4er-Raster) */
@media (max-width: 640px) {
    .services-grid,
    .services-grid.cols-3 { grid-template-columns: 1fr; border-radius: var(--radius-md); }
    .service-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }
    .service-img-wrap {
        width: 80px;
        height: 80px;
        border-radius: var(--radius-sm);
        margin-bottom: 0;
    }
}


/* ==========================================================================
   7. Komplett-Angebot & Leistungsstufen
   ========================================================================== */
/* Angebots-Abschnitt (Sets / Stufen) – auf allen drei Bereichsseiten gleich hinterlegt */
.section-tint { background: rgba(26, 108, 245, 0.05); }
.komplett-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}
.komplett-col h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.komplett-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.komplett-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: var(--text-secondary);
}
.komplett-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-blue);
    flex-shrink: 0;
    margin-top: 10px;
}
.komplett-claim {
    margin-top: 3rem;
    padding: 1.25rem 1.5rem;
    border: 0.5px solid var(--brand-blue-glow);
    border-radius: var(--radius-lg);
    background: var(--brand-blue-dim);
}
.komplett-claim p {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Leistungsstufen (Band & Veranstalter) */
.stufen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 3rem;
}
.stufe { background: var(--bg-dark); padding: 1.75rem; display: flex; flex-direction: column; }
.stufe.feat { background: #101c33; }
.stufe h3 { font-size: 20px; line-height: 1.25; margin-bottom: .5rem; font-weight: 600; }
.stufe-price {
    font-weight: 600;
    font-size: 16px;
    padding-top: 1.1rem;
    border-top: 0.5px solid var(--border);
    color: var(--text-primary);
}

/* Bands als Referenz-Pillen */
.band-refs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; list-style: none; }
.band-ref {
    padding: 10px 20px;
    border-radius: 100px;
    border: 0.5px solid var(--border-strong);
    background: var(--bg-card);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
}
.band-ref.main { background: var(--brand-blue); border-color: transparent; color: #fff; }
.band-ref small { font-weight: 400; font-size: 13px; opacity: .8; margin-left: 8px; }


/* ==========================================================================
   8. Projekte-Karussell (Inhalte aus db.json)
   ========================================================================== */
.proj-slides {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    margin-top: 2.5rem;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}
.proj-slide {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
    visibility: hidden;
}
.proj-slide.visible { opacity: 1; pointer-events: auto; visibility: visible; }
.proj-img {
    width: 55%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
/* Platzhalter, falls ein Projektbild fehlt */
.proj-ph {
    background: linear-gradient(135deg, #0d1829, #16315d);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}
.proj-info {
    flex: 1;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-dark);
    overflow: hidden;
}
.proj-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.25;
}
.proj-info p { font-size: 16px; color: var(--text-secondary); line-height: 1.65; }
.proj-error { padding: 2.5rem 1.5rem; color: var(--text-muted); font-size: 15px; }

.proj-controls {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
}
.proj-controls.single { margin-top: 0; }
.proj-controls.single .proj-arrow,
.proj-controls.single .proj-dots,
.proj-controls.single .proj-counter { display: none; }
.proj-arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 0.5px solid var(--border-strong);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms;
    flex-shrink: 0;
}
.proj-arrow:hover { background: var(--brand-blue); border-color: transparent; }
.proj-arrow:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.proj-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.proj-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: background 200ms, transform 200ms;
}
.proj-dot.active { background: var(--brand-blue); transform: scale(1.5); }
.proj-dot:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
.proj-counter {
    font-size: 14px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    margin-left: auto;
}
.instagram-hint { margin-top: 1.25rem; font-size: 15px; color: var(--text-muted); }
.instagram-hint a { color: var(--accent-text); text-decoration: none; }
.instagram-hint a:hover { text-decoration: underline; }


/* ==========================================================================
   8b. Bewertungen (Auszüge aus dem Google-Profil)
   ========================================================================== */
.review-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: -.25rem;
}
.review-summary strong { color: var(--text-primary); font-weight: 600; }
.review-stars { display: inline-flex; gap: 2px; color: var(--star); }
.review-stars svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.review-stars-lg svg { width: 20px; height: 20px; }
.review-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 2rem;
}
.review-card {
    margin: 0;
    padding: 1.75rem;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
}
.review-card figcaption { font-size: 14px; color: var(--text-muted); }
.review-card figcaption strong { color: var(--text-secondary); font-weight: 600; }
.review-more { margin-top: 1.5rem; font-size: 15px; }
.review-more a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.review-more a:hover { color: var(--text-primary); }
.review-note { margin-top: .6rem; font-size: 13px; line-height: 1.55; color: var(--text-muted); max-width: 640px; }


/* ==========================================================================
   9. Kontakt
   ========================================================================== */
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.kontakt-grid.no-img { grid-template-columns: 1fr; }
.kontakt-img-wrap { width: 100%; }
.kontakt-img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 3 / 4;
    border: 0.5px solid var(--border);
    background: linear-gradient(135deg, #0d1829, #16315d);
    display: block;
}
.kontakt-info h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}
.kontakt-intro { color: var(--text-secondary); font-size: 16px; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 0.6rem; font-style: normal; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    border: 0.5px solid var(--border);
    background: var(--bg-card);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    transition: border-color 200ms, background 200ms;
    cursor: default;
    word-break: break-word;
    min-height: 44px;
}
a.contact-item { cursor: pointer; }
a.contact-item:hover { border-color: var(--brand-blue); background: var(--bg-card-hover); }
.contact-item:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.nowrap { white-space: nowrap; }
.contact-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--brand-blue-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-text);
}


/* ==========================================================================
   10. Sets & Pakete (Privat)
   ========================================================================== */
.sets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 2.5rem;
}
.set-card {
    background: var(--bg-dark);
    padding: 1.75rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.set-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--accent-text);
    background: var(--brand-blue-dim);
    border-radius: 100px;
    padding: 3px 11px;
    margin-bottom: 0.9rem;
    align-self: flex-start;
}
.set-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}
/* Beschreibung – gilt für Sets und Leistungsstufen */
.set-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
/* Liste füllt den Platz, damit Preiszeilen unten auf einer Linie stehen */
.set-includes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.5rem;
    flex: 1;
}
.set-includes li {
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.set-includes li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-blue);
    flex-shrink: 0;
    margin-top: 9.5px;
}
.set-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 0.5px solid var(--border);
}
.set-price { display: flex; flex-direction: column; gap: 2px; }
.set-price .amount {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}
.set-price .amount span { font-size: 15px; font-weight: 400; color: var(--text-muted); }
.set-btn {
    background: var(--brand-blue-dim);
    color: var(--accent-text);
    border: 0.5px solid rgba(26, 108, 245, 0.3);
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 200ms, color 200ms;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
}
.set-btn:hover { background: var(--brand-blue); color: #fff; border-color: transparent; }
.set-btn:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

/* Hinweis unter den Sets („Ruf uns an … kompletten Mietpark“) */
.mietpark-cta-hint {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
}
.mietpark-cta-hint a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mietpark-cta-hint a:hover { color: var(--text-secondary); }
.mietpark-cta-hint a.link-mietpark { color: var(--text-secondary); }
.mietpark-cta-hint a.link-mietpark:hover { color: var(--text-primary); }


/* ==========================================================================
   11. Mietpark-Ansicht (#mietpark)
   ========================================================================== */
.mietpark-main {
    flex: 1;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 80px 2rem 80px;
}
.page-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-text);
    margin-bottom: 0.75rem;
}
.mietpark-main h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    line-height: 1.15;
}
.mietpark-intro { max-width: 680px; margin-bottom: 3rem; }
.mietpark-intro p { font-size: 18px; color: var(--text-secondary); line-height: 1.7; }
.mietpark-cats { display: flex; flex-direction: column; gap: 2.5rem; }
.mietpark-cat h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: .75rem;
}
/* Je Kategorie eine Liste im gleichen Rahmen-Stil wie Leistungen und Stufen:
   Gerät links, Beschreibung rechts – ohne leere Felder, egal wie viele Einträge */
.mietpark-grid {
    display: grid;
    gap: 1.5px;
    background: var(--border);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    list-style: none;
}
.miet-item {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: .25rem 1.5rem;
    align-items: baseline;
    background: var(--bg-dark);
    padding: 1rem 1.5rem;
}
.miet-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}
.miet-item-detail { font-size: 15px; color: var(--text-secondary); line-height: 1.5; }
.miet-note {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--brand-blue-dim);
    border: 0.5px solid var(--brand-blue-glow);
    border-radius: var(--radius-lg);
    font-size: 15px;
    color: var(--text-secondary);
}
.miet-note strong { color: var(--text-primary); }
.miet-note a { color: var(--accent-text); }


/* ==========================================================================
   12. Fußzeile
   ========================================================================== */
/* Copyright und Links umbrechen als ganze Gruppen – kein „·“ am Zeilenanfang */
.site-footer {
    border-top: 0.5px solid var(--border);
    padding: 1.75rem 2rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0 1.75rem;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: auto;
}
.footer-links { display: inline-flex; flex-wrap: wrap; justify-content: center; }
.footer-links a + a::before { content: '·'; padding: 0 .6em; color: var(--text-muted); }
.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    padding: 12px 0;           /* größere Tippfläche, ohne das Layout zu verändern */
}
.site-footer a:hover { color: var(--text-secondary); }


/* ==========================================================================
   13. Einstieg (Startseite)
   ========================================================================== */
#intro { display: none; }
html.intro-on #intro { display: flex; }

#intro {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0d1829;
    padding: 5rem 1.5rem 6rem;
    text-align: center;
}
#intro::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 50% 50%, rgba(0, 0, 0, .45), transparent 75%),
        linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .1) 60%, rgba(0, 0, 0, .85) 100%);
}
#intro > * { position: relative; z-index: 2; }
#intro > .intro-slider { position: absolute; z-index: 0; }

.intro-slider { position: absolute; inset: 0; }
.intro-slider .slide-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d1829 0%, #16315d 50%, #0a1020 100%);
}
.intro-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease;
}
.intro-slider .slide.visible { opacity: 1; visibility: visible; }

.intro-logo {
    position: absolute !important;
    top: 1.1rem;
    left: 1.5rem;
    z-index: 5;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 4px;
}
.intro-logo .logo-img { height: 52px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .45)); }
.intro-logo 
.intro-claim {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
    font-size: clamp(36px, 6vw, 72px);
    text-shadow: 0 2px 30px rgba(0, 0, 0, .55);
    text-wrap: balance;
}
.intro-claim em { font-style: normal; color: var(--brand-blue); }
.intro-sub {
    margin-top: 1.1rem;
    color: rgba(225, 233, 255, .92);
    font-size: clamp(16px, 1.6vw, 18px);
    text-shadow: 0 1px 14px rgba(0, 0, 0, .7);
}
.intro-q {
    margin-top: 2.6rem;
    font-size: 16px;
    color: rgba(235, 241, 255, .9);
    font-weight: 500;
}

/* Bereichsauswahl im Glas-Look */
.intro-choose {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    width: 100%;
    margin-top: .9rem;
}
.intro-switch {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .38);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.intro-switch a { color: #fff; transition: background 220ms; }
.intro-switch a small { color: rgba(235, 242, 255, .85); }
.intro-switch a:hover { background: var(--brand-blue); }
.intro-switch a:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

/* Fuß des Einstiegs: Punkte + Rechtliches */
.intro-foot {
    position: absolute !important;
    left: 0; right: 0;
    bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
}
.intro-dots { display: flex; gap: 8px; }
.intro-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 200ms, transform 200ms;
}
.intro-dots .dot.active { background: var(--brand-blue); transform: scale(1.5); }
.intro-legal { font-size: 14px; color: rgba(225, 233, 255, .78); }
.intro-legal a { color: inherit; text-decoration: none; margin: 0 .5rem; padding: 12px 0; }
.intro-legal a:hover { color: #fff; }

/* Einblend-Animationen */
@keyframes introin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.intro-claim, .intro-sub, .intro-q, .intro-choose { animation: introin 700ms ease both; }
.intro-sub { animation-delay: 80ms; }
.intro-q { animation-delay: 160ms; }
.intro-choose { animation-delay: 220ms; }


/* ==========================================================================
   14. Responsive Anpassungen
   ========================================================================== */

/* Tablet und kleiner: Burger statt Navigationsleiste */
@media (max-width: 1100px) {
    #topnav .nav-links { display: none; }
    #burger { display: flex; }
}

@media (max-width: 900px) {
    .komplett-grid { grid-template-columns: 1fr; gap: 2rem; }
    .kontakt-grid { grid-template-columns: 1fr; }
    .kontakt-img { aspect-ratio: 4 / 3; max-width: 100%; }
    .stufen { grid-template-columns: 1fr; }

    /* Projekte untereinander: Bild oben, Text unten.
       Alle Projekte liegen übereinander in einer Rasterzelle – die Höhe richtet
       sich nach dem längsten Text, damit die Seite beim Wechsel nicht springt. */
    .proj-slides { display: grid; height: auto; min-height: unset; }
    .proj-slide {
        grid-area: 1 / 1;
        position: relative;
        inset: auto;
        flex-direction: column;
    }
    .proj-img { width: 100%; height: clamp(220px, 58vw, 420px); }
    .proj-info { padding: 1.5rem; justify-content: flex-start; }
    .review-grid { grid-auto-flow: row; grid-template-columns: 1fr; }
    .sets-grid { grid-template-columns: repeat(2, 1fr); }
    /* ungerade Anzahl: letztes Set über die ganze Breite statt leerem Feld */
    .sets-grid > .set-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .section { padding: 64px 1.25rem; }
    .mietpark-main { padding: 72px 1.25rem 60px; }
    .arrow { display: none; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns > a { min-width: 230px; text-align: center; }
    .mode-switch a { font-size: 14px; }
    #hero { min-height: 560px; }
    #hero-content { padding-top: 140px; }
    .sets-grid { grid-template-columns: 1fr; }
    .site-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media (max-width: 600px) {
    .intro-logo { left: 1rem; top: .9rem; }
    .intro-logo .logo-img { height: 44px; }
    #intro { padding-top: 4.5rem; }
}

@media (max-width: 600px) and (max-height: 640px) {
    #intro { padding-top: 4rem; }
    .intro-logo { top: .75rem; }
    .intro-logo .logo-img { height: 36px; }
    .intro-claim { font-size: 32px; }
    .intro-sub { margin-top: .6rem; font-size: 15px; }
    .intro-q { margin-top: 1.3rem; }
}

@media (max-width: 480px) {
    /* Adresse: PLZ + Ort zusammen in die zweite Zeile */
    .addr-sep { display: block; height: 0; overflow: hidden; }
    /* Bewertungen: Sterne und Gesamtnote in einer Zeile */
    .review-summary { font-size: 15px; gap: .5rem; }
    .review-stars-lg svg { width: 16px; height: 16px; }
    .review-card { padding: 1.25rem; }
    .miet-item { grid-template-columns: 1fr; padding: .9rem 1.25rem; }
    .review-card blockquote p { font-size: 16px; }
}

@media (max-width: 420px) {
    .logo-img +     .logo-img { height: 36px; }
    #topnav { padding: 0 1.25rem; }
    /* Bereichsschalter: Unterzeilen nicht umbrechen */
    .mode-switch a { padding-left: 4px; padding-right: 4px; }
    .mode-switch a small { white-space: nowrap; }
}

@media (max-width: 380px) {
    .set-price-row { flex-direction: column; align-items: flex-start; }
    .kontakt-info h2 { font-size: 24px; }
}

@media (max-width: 360px) {
    #topnav { padding: 0 1rem; }
    .logo-link { gap: 8px; }
    .logo-img { height: 34px; }
    .logo-link     .mode-switch a { font-size: 13px; }
    .mode-switch a small { font-size: 12px; }
}

/* Geringe Höhe (Smartphone quer) */
@media (max-height: 520px) {
    #intro { padding-top: 4.4rem; padding-bottom: 4rem; }
    .intro-logo { top: .7rem; }
    .intro-logo .logo-img { height: 40px; }
    .intro-sub { margin-top: .5rem; font-size: 15px; }
    .intro-q { margin-top: 1rem; }
    .intro-foot { bottom: .6rem; gap: .4rem; }
    #hero { min-height: 480px; }
    #hero-content { padding: 130px 1.5rem 60px; }
    .hero-sub { margin-bottom: 1.2rem; }
    .hero-eyebrow { margin-bottom: .5rem; }
    .intro-claim br, .hero-tagline br { display: none; }
    .intro-claim, .hero-tagline { font-size: clamp(24px, 4.2vw, 40px); }

    /* Mobil-Menü kompakter, damit alle Punkte unter die Kopfzeile passen */
    #navdrawer ul { gap: .9rem; }
    #navdrawer a { font-size: 20px; }

    .arrow { display: none; }

}

/* Smartphone quer: Bereichsschalter wandert in die Kopfzeile,
   damit die fixierte Kopfzeile nicht ein Drittel des Bildschirms belegt */
@media (max-height: 520px) and (min-width: 560px) and (max-width: 1100px) {
    :root { --header-h: 64px; }
    #modebar {
        top: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(440px, calc(100% - 210px));
        height: 64px;
        padding: 0;
        justify-content: center;
        background: none;
        border-bottom: 0;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        z-index: 1001;
    }
    #topnav { border-bottom: 0.5px solid var(--border); }
    .mode-switch a { min-height: 40px; }
    #hero-content { padding-top: 90px; }
}


/* ==========================================================================
   15. Barrierefreiheit
   ========================================================================== */

/* Touch-Geräte: Punkte bekommen eine 24px große Tippfläche (WCAG 2.5.8) */
@media (pointer: coarse) {
    .dots, .intro-dots, .proj-dots { gap: 18px; }
    .dot, .proj-dot { position: relative; }
    .dot::after, .proj-dot::after { content: ''; position: absolute; inset: -9px; }
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .slide, .proj-slide, .arrow, .btn-primary,
    #navdrawer, #burger .bar {
        transition: none !important;
        animation: none !important;
    }
    .intro-claim, .intro-sub, .intro-q, .intro-choose { animation: none !important; }
    .intro-slider .slide { transition: none; }
}
