/* ==========================================================================
   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.

   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
    9.  Kontakt
   10.  Sets & Pakete
   11.  Mietpark-Ansicht
   12.  Cookie-Hinweis
   13.  Fußzeile
   14.  Einstieg (Startseite)
   15.  Responsive Anpassungen (Tablet, Handy, Smartphone quer)
   16.  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);
    --text-primary: #f0f4ff;
    --text-secondary: rgba(200, 215, 255, 0.70);
    --text-muted: rgba(200, 215, 255, 0.45);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --header-h: 125px;               /* Kopfzeile + Modus-Leiste */
    color-scheme: dark;
}

/* Heller Systemmodus: nur Text etwas kräftiger, Hintergrund bleibt dunkel */
@media (prefers-color-scheme: light) {
    :root {
        --text-primary: #eef2ff;
        --text-secondary: rgba(210, 222, 255, 0.82);
        --text-muted: rgba(210, 222, 255, 0.52);
    }
}

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

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-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
}

/* 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; }
.logo-txt {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    white-space: nowrap;
}


/* ==========================================================================
   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));
    }
    #cookie-banner { bottom: calc(1rem + env(safe-area-inset-bottom)); }
}
/* 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-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    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: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 200ms;
    font-family: var(--font-body);
    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-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
}
#navdrawer a:hover { color: var(--brand-blue); }

/* Mietpark-Eintrag im Menü – etwas kleiner */
#navdrawer .drawer-mietpark {
    font-size: 20px;
    color: var(--text-secondary);
    transition: color 200ms;
}
#navdrawer .drawer-mietpark: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-family: var(--font-display);
    font-size: 14.5px;
    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-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    opacity: .8;
}
.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: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(225, 233, 255, .85);
    margin-bottom: 1rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .7);
}
.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(34px, 6.2vw, 76px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    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(14px, 1.8vw, 18px);
    color: rgba(220, 230, 255, 0.88);
    max-width: 520px;
    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: 15px;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    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: 15px;
    border: 0.5px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-family: var(--font-body);
    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: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.section-body {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 640px;
}
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;
    transition: background 200ms;
    display: flex;
    flex-direction: column;
}
.service-card:hover { background: var(--bg-card-hover); }
.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;
    transition: transform 400ms ease;
    display: block;
}
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-text { flex: 1; min-width: 0; }
.service-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}
.service-card p { font-size: 13.5px; 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
   ========================================================================== */
#pakete-pro {
    background: rgba(26, 108, 245, 0.05);
    border-top: 0.5px solid rgba(26, 108, 245, 0.2);
    border-bottom: 0.5px solid rgba(26, 108, 245, 0.2);
}
.komplett-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}
.komplett-col h3 {
    font-family: var(--font-display);
    font-size: 17px;
    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: 15px;
    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: 9px;
}
.komplett-claim {
    margin-top: 3rem;
    padding: 1.75rem 2rem;
    border: 0.5px solid var(--brand-blue-glow);
    border-radius: var(--radius-lg);
    background: var(--brand-blue-dim);
}
.komplett-claim p {
    font-family: var(--font-display);
    font-size: 18px;
    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-family: var(--font-display); font-size: 19px; line-height: 1.25; margin-bottom: .5rem; }
.stufe-price {
    font-family: var(--font-display);
    font-weight: 700;
    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-family: var(--font-display);
    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-family: var(--font-body); font-weight: 400; font-size: 12px; 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-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    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-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}
.proj-info p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; }
.proj-error { padding: 2.5rem 1.5rem; color: var(--text-muted); font-size: 14px; }

.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: 13px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    margin-left: auto;
}
.instagram-hint { margin-top: 1.25rem; font-size: 14px; color: var(--text-muted); }
.instagram-hint a { color: var(--brand-blue); text-decoration: none; }
.instagram-hint a:hover { text-decoration: underline; }


/* ==========================================================================
   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-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.kontakt-intro { color: var(--text-secondary); font-size: 15px; 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: 14.5px;
    transition: border-color 200ms, background 200ms;
    cursor: default;
    word-break: break-word;
    min-height: 44px;
}
a.contact-item { cursor: pointer; }
.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;
    font-size: 15px;
    flex-shrink: 0;
}


/* ==========================================================================
   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: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: var(--brand-blue-dim);
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: 0.9rem;
    align-self: flex-start;
}
.set-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
/* Beschreibung – gilt für Sets und Leistungsstufen */
.set-desc {
    font-size: 13.5px;
    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: 13px;
    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: 7px;
}
.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-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}
.set-price .amount span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.set-btn {
    background: var(--brand-blue-dim);
    color: var(--brand-blue);
    border: 0.5px solid rgba(26, 108, 245, 0.3);
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    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: 14px;
    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: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 0.75rem;
}
.mietpark-main h1 {
    font-family: var(--font-display);
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 2.5rem;
    line-height: 1.1;
}
.mietpark-intro { max-width: 680px; margin-bottom: 3rem; }
.mietpark-intro p { font-size: 16px; color: var(--text-secondary); line-height: 1.75; }
.mietpark-cats { display: flex; flex-direction: column; gap: 2.5rem; }
.mietpark-cat h2 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 0.5px solid var(--border);
}
/* Einzelne Karten mit Abstand – so entstehen keine leeren grauen Felder,
   egal wie viele Geräte eine Kategorie hat */
.mietpark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    list-style: none;
}
.miet-item {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.25rem;
    transition: background 200ms;
}
.miet-item:hover { background: var(--bg-card-hover); }
.miet-item-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}
.miet-item-detail { font-size: 13px; 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-md);
    font-size: 14px;
    color: var(--text-secondary);
}
.miet-note strong { color: var(--text-primary); }
.miet-note a { color: var(--brand-blue); }


/* ==========================================================================
   12. Cookie-Hinweis
   ========================================================================== */
#cookie-banner {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 3000;
    display: none;
    max-width: 780px;
    margin: 0 auto;
    background: rgba(10, 16, 28, .94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 0.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.25rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}
#cookie-banner.visible { display: block; animation: introin 500ms ease both; }
.cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}
.cookie-text {
    flex: 1 1 420px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.cookie-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: .2rem;
}
.cookie-text p { font-size: 13.5px; }
.cookie-text a { color: var(--brand-blue); text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
#cookie-accept {
    background: var(--brand-blue);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: .7rem 1.6rem;
    min-height: 44px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#cookie-accept:hover { filter: brightness(1.1); }


/* ==========================================================================
   13. 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: 13px;
    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-family: var(--font-body);
    font-size: 13px;
    padding: 12px 0;           /* größere Tippfläche, ohne das Layout zu verändern */
}
.site-footer a:hover { color: var(--text-secondary); }


/* ==========================================================================
   14. 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 calc(6rem + var(--cookie-h, 0px));
    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 .logo-txt { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }

.intro-claim {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #fff;
    font-size: clamp(34px, 6.2vw, 76px);
    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(14px, 1.8vw, 18px);
    text-shadow: 0 1px 14px rgba(0, 0, 0, .7);
}
.intro-q {
    margin-top: 2.6rem;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(225, 233, 255, .8);
    font-weight: 600;
}

/* 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 (rückt über den Cookie-Hinweis) */
.intro-foot {
    position: absolute !important;
    left: 0; right: 0;
    bottom: calc(1.25rem + var(--cookie-h, 0px));
    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: 13px; color: rgba(210, 222, 255, .65); }
.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; }


/* ==========================================================================
   15. 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; }
    .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: 13px; }
    #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; }
    #cookie-banner { left: .75rem; right: .75rem; bottom: .75rem; padding: .85rem 1rem; }
    #cookie-banner { bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); }
    .cookie-inner { gap: .6rem 1rem; }
    .cookie-text strong { font-size: 15px; }
    .cookie-text p { font-size: 12.5px; line-height: 1.5; }
    .cookie-actions { width: 100%; }
    #cookie-accept { width: 100%; min-height: 42px; padding: .55rem 1.2rem; }
}

@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: 30px; }
    .intro-sub { margin-top: .6rem; font-size: 14px; }
    .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; }
}

@media (max-width: 420px) {
    .logo-img + .logo-txt { font-size: 15px; }
    .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 .logo-txt { font-size: 14px; }
    .mode-switch a { font-size: 12.5px; }
    .mode-switch a small { font-size: 10.5px; }
}

/* Geringe Höhe (Smartphone quer) */
@media (max-height: 520px) {
    #intro { padding-top: 4.4rem; padding-bottom: calc(4rem + var(--cookie-h, 0px)); }
    .intro-logo { top: .7rem; }
    .intro-logo .logo-img { height: 40px; }
    .intro-sub { margin-top: .5rem; font-size: 14px; }
    .intro-q { margin-top: 1rem; }
    .intro-foot { bottom: calc(.6rem + var(--cookie-h, 0px)); 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: 22px; }
    #navdrawer .drawer-mietpark { font-size: 17px; }

    .arrow { display: none; }

    #cookie-banner { padding: .55rem 1rem; }
    .cookie-inner { flex-wrap: nowrap; align-items: center; }
    .cookie-text { flex: 1 1 auto; }
    .cookie-text strong { display: none; }
    .cookie-text p { font-size: 12px; line-height: 1.45; }
    .cookie-actions { width: auto; flex-shrink: 0; }
    #cookie-accept { width: auto; white-space: nowrap; min-height: 40px; }
}

/* 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; }
}


/* ==========================================================================
   16. 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, .service-card,
    #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; }
}
