/* ==================================================================
   Celebi Reinigung – Stylesheet
   ------------------------------------------------------------------
   Die Farben stehen als CSS-Variablen in functions.php
   (Funktion celebi_color_vars). Dort ändern, nicht hier.

   Aufbau
   01  Grundlagen
   02  Layout
   03  Typografie
   04  Buttons
   05  Info-Leiste und Kopfzeile
   06  Mobiles Menü
   07  Hero und Schnellauswahl
   08  Leistungen
   09  Ablauf
   10  Warum wir
   12  Kontakt und Formular
   13  Fußbereich
   14  Mobile Aktionsleiste
   15  Textseiten (Impressum, Datenschutz)
   16  Hinweise
   17  Bewegung
   18  Responsive
   ================================================================== */

/* 01 --------------------------------------------------- GRUNDLAGEN */
:root {
    /* Rückfallwerte. Die echten Werte kommen aus functions.php. */
    --blue: #2B39A0;
    --blue-dark: #1E2872;
    --blue-900: #141A4F;
    --blue-600: #3A49BE;
    --blue-400: #6E7BE0;
    --blue-050: #EEF0FB;
    --ink: #101223;
    --body: #4E5468;
    --line: #E1E4F0;
    --bg: #F7F8FC;

    --white: #fff;
    --error: #B3261E;
    --ok: #1B7F5A;

    --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --wrap: 1200px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(3.5rem, 7vw, 6.5rem);

    --r-sm: 8px;
    --r: 12px;
    --r-lg: 20px;

    --shadow-sm: 0 2px 8px rgba(16, 18, 35, .06);
    --shadow: 0 8px 30px rgba(16, 18, 35, .08);
    --shadow-lg: 0 24px 60px rgba(20, 26, 79, .16);

    --ease: cubic-bezier(.16, 1, .3, 1);
    --header-h: 76px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    background: var(--white);
    color: var(--body);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
    outline: 3px solid var(--blue-400);
    outline-offset: 2px;
    border-radius: 4px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--blue);
    color: #fff;
    padding: .9rem 1.4rem;
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }

/* 02 ------------------------------------------------------- LAYOUT */
.container {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg); }
.section--dark { background: var(--blue-900); color: rgba(255, 255, 255, .78); }

/* 03 --------------------------------------------------- TYPOGRAFIE */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
    text-wrap: balance;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

p { text-wrap: pretty; }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-head);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-050);
    padding: .45rem .85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.kicker--light {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title { font-size: clamp(1.875rem, 3.6vw, 2.75rem); margin-bottom: 1rem; }
.section-head__lead { font-size: 1.0625rem; }
.section--dark .section-head__lead { color: rgba(255, 255, 255, .72); }

/* 04 ------------------------------------------------------ BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .9rem 1.5rem;
    min-height: 48px;
    border: 2px solid transparent;
    border-radius: var(--r);
    font-family: var(--font-head);
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease),
                border-color .25s var(--ease), transform .2s var(--ease),
                box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.btn--primary {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(43, 57, 160, .25);
}
.btn--primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    box-shadow: 0 6px 20px rgba(43, 57, 160, .32);
}

.btn--light { background: #fff; border-color: #fff; color: var(--blue); }
.btn--light:hover { background: var(--blue-050); border-color: var(--blue-050); }

.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; min-height: 56px; }
.btn--sm { padding: .65rem 1.1rem; font-size: .875rem; min-height: 42px; }
.btn--block { display: flex; width: 100%; }

/* 05 ------------------------------------------ INFO-LEISTE / KOPF */
.topbar {
    background: var(--blue-900);
    color: rgba(255, 255, 255, .8);
    font-size: .8125rem;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 42px;
    padding-block: .4rem;
}
.topbar__claim { margin: 0; }
.topbar__area { color: rgba(255, 255, 255, .55); }
.topbar__meta { display: flex; align-items: center; gap: 1.5rem; }
.topbar__meta li { display: flex; align-items: center; gap: .45rem; }
.topbar__meta a:hover { color: #fff; text-decoration: underline; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-h);
}

/* Wortmarke */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 40px; height: 40px; color: var(--blue); flex: none; }
/* Die Trennlinien im Logo laufen in der Hintergrundfarbe. */
.brand__cut { stroke: #fff; }
.brand__words { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
    font-family: var(--font-head);
    font-size: 1.1875rem;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
}
.brand__sub {
    font-family: var(--font-head);
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-top: .18rem;
}
.brand__logo--invers .brand__mark { color: #fff; }
.brand__logo--invers .brand__cut { stroke: var(--blue-900); }
.brand__logo--invers .brand__name { color: #fff; }
.brand__logo--invers .brand__sub { color: rgba(255, 255, 255, .6); }
.brand__img { max-height: 52px; width: auto; }

/* Navigation */
.nav-menu { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-menu a {
    position: relative;
    display: block;
    padding: .5rem 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9375rem;
    color: var(--ink);
    transition: color .25s var(--ease);
}
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu a.is-active { color: var(--blue); }
.nav-menu a:hover::after, .nav-menu a.is-active::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: .75rem; flex: none; }

/* Telefon im Kopf */
.header-phone {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .5rem .4rem .4rem;
    border-radius: var(--r);
    transition: background-color .25s var(--ease);
}
.header-phone:hover { background: var(--blue-050); }
.header-phone__icon {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--blue-050);
    color: var(--blue);
    flex: none;
}
.header-phone__text { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone__label { font-size: .6875rem; color: var(--body); }
.header-phone__number {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    color: var(--ink);
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 48px; height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    color: var(--ink);
}
.menu-toggle__bars { display: block; width: 24px; }
.menu-toggle__bars i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.menu-toggle__bars i + i { margin-top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 06 ------------------------------------------------ MOBILES MENÜ */
.mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 99;
    background: #fff;
    padding-block: 1.5rem 2rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.nav-menu--mobile { display: block; }
.nav-menu--mobile li { border-bottom: 1px solid var(--line); }
.nav-menu--mobile a {
    padding: 1.1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}
.nav-menu--mobile a::after { display: none; }

.mobile-nav__actions { display: grid; gap: .75rem; margin-top: 1.75rem; }

/* 07 ---------------------------------------- HERO / SCHNELLAUSWAHL */
.hero {
    position: relative;
    color: #fff;
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1000px 520px at 82% 12%, rgba(110, 123, 224, .45), transparent 62%),
        linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 55%, var(--blue-900) 100%);
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.hero__title {
    font-size: clamp(2.125rem, 4.6vw, 3.5rem);
    color: #fff;
    margin-bottom: 1.25rem;
}
.hero__lead {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    color: rgba(255, 255, 255, .8);
    max-width: 34rem;
    margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__points {
    display: grid;
    gap: .6rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__points li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9375rem;
    color: rgba(255, 255, 255, .85);
}
.hero__points .icon { color: var(--blue-400); }

.hero__figure {
    position: relative;
    aspect-ratio: 4 / 3.4;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .18);
}
.hero__figure img, .hero__figure .img-fallback {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Schnellauswahl der Leistungen als Laufband
   ------------------------------------------------------------------
   Alle Leistungen laufen endlos von rechts nach links. Der zweite
   Durchlauf im Markup ist eine reine Kopie, deshalb reicht ein Versatz
   von -50%, damit der Übergang unsichtbar bleibt.
   Tempo: --quicknav-speed. Größer = langsamer.
   Das Laufband hält an bei Mausberührung, bei Tastaturfokus und
   sobald jemand es antippt, damit sich jede Leistung anklicken lässt. */
.quicknav {
    --quicknav-speed: 46s;
    position: relative;
    z-index: 3;
    overflow: hidden;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    margin-top: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: calc(var(--section-y) * -1 + 1rem);
}
/* Weiche Kanten: die Leistungen laufen in das Weiß der Karte hinein,
   statt an der Kante hart abgeschnitten zu werden. */
.quicknav::before,
.quicknav::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 3rem;
    z-index: 2;
    pointer-events: none;
}
.quicknav::before { left: 0;  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.quicknav::after  { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.quicknav__track {
    display: flex;
    width: max-content;
    animation: quicknav-scroll var(--quicknav-speed) linear infinite;
}
.quicknav:hover .quicknav__track,
.quicknav:focus-within .quicknav__track,
.quicknav.is-paused .quicknav__track { animation-play-state: paused; }

.quicknav__group { display: flex; flex: none; }

.quicknav__item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-right: 1px solid var(--line);
    transition: background-color .25s var(--ease);
}
.quicknav__item:hover { background: var(--blue-050); }
.quicknav__icon {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: var(--blue-050);
    color: var(--blue);
    flex: none;
}
/* Bewusst nur der Name der Leistung. Ein zusätzlicher Teaser würde im
   Laufband zu breit und wäre im Vorbeiziehen nicht lesbar. */
.quicknav__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.25;
    color: var(--ink);
    white-space: nowrap;
}

@keyframes quicknav-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

/* Ohne Bewegung: kein Laufband, stattdessen von Hand schiebbar */
@media (prefers-reduced-motion: reduce) {
    .quicknav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .quicknav__track { animation: none; }
    .quicknav__group--clone { display: none; }
    .quicknav::before, .quicknav::after { display: none; }
}

/* 08 --------------------------------------------------- LEISTUNGEN */
.services { padding-top: calc(var(--section-y) + 3rem); }

/* Slideshow der Leistungen
   ------------------------------------------------------------------
   Ohne JavaScript stehen alle Folien untereinander und sind vollständig
   lesbar. Erst wenn JavaScript läuft (Klasse .js am <html>), wird daraus
   ein Karussell. */

.slider { position: relative; }

.slider__viewport { overflow: visible; }
.js .slider__viewport { overflow: hidden; }

.slider__track { display: grid; gap: 1.5rem; }
.js .slider__track {
    display: flex;
    gap: 0;
    transition: transform .7s var(--ease);
    will-change: transform;
}
.js .slide { flex: 0 0 100%; min-width: 0; }

.slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    scroll-margin-top: calc(var(--header-h) + 24px);
}

.slide__figure { margin: 0; position: relative; min-height: 300px; background: var(--blue-050); }
.slide__figure img, .slide__figure .img-fallback {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.slide__body {
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}
.slide__count {
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--blue-400);
    margin-bottom: .9rem;
}
.slide__head { display: flex; align-items: center; gap: .85rem; margin-bottom: .6rem; }
.slide__icon {
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: var(--r);
    background: var(--blue);
    color: #fff;
    flex: none;
}
.slide__title { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.slide__teaser {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--blue);
    margin-bottom: .75rem;
}
.slide__text { font-size: .9375rem; margin-bottom: 1.25rem; }
.slide__cta { margin-top: auto; align-self: flex-start; }

/* Aufklappbare Details */
.details {
    border: 1px solid var(--line);
    border-radius: var(--r);
    margin-bottom: 1.5rem;
    background: var(--bg);
}
.details__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.1rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9375rem;
    color: var(--ink);
    border-radius: var(--r);
}
.details__summary::-webkit-details-marker { display: none; }
.details__summary:hover { color: var(--blue); }
.details__chevron { color: var(--blue); transition: transform .3s var(--ease); }
.details[open] .details__chevron { transform: rotate(180deg); }
.details__body { padding: 0 1.1rem 1.1rem; }
.details .checklist { margin: 0; }

/* Bedienung */
.slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.75rem, 2vw, 1.25rem);
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.slider__controls[hidden] { display: none; }

.slider__arrow {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--blue);
    transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.slider__arrow:hover { border-color: var(--blue); background: var(--blue-050); }
.slider__arrow--prev .icon { transform: rotate(180deg); }

.slider__dots { display: flex; align-items: center; gap: .45rem; }
.slider__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--line);
    transition: background-color .3s var(--ease), width .3s var(--ease);
}
.slider__dot:hover { background: var(--blue-400); }
.slider__dot[aria-selected="true"] { background: var(--blue); width: 26px; border-radius: 5px; }

.slider__pause {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .8rem;
    border-radius: 100px;
    border: 1.5px solid var(--line);
    font-family: var(--font-head);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--body);
}
.slider__pause:hover { border-color: var(--blue); color: var(--blue); }
.slider__pause-icon {
    width: 10px; height: 12px;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
}
.slider__pause[aria-pressed="true"] .slider__pause-icon {
    width: 0; height: 0;
    border: 6px solid transparent;
    border-left: 9px solid currentColor;
    border-right: 0;
}

.slider__progress {
    height: 3px;
    margin-top: 1rem;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
}
.slider__progress[hidden] { display: none; }
.slider__progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--blue);
    border-radius: 2px;
}


.checklist { display: grid; gap: .6rem; margin-bottom: 1.75rem; }
.checklist li { display: flex; align-items: flex-start; gap: .65rem; font-size: .9375rem; }
.checklist .icon { color: var(--blue); margin-top: .2rem; }

.services__note {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: 1.5rem;
    text-align: center;
    background: var(--blue-050);
    border-radius: var(--r);
}
.services__note a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 09 ------------------------------------------------------- ABLAUF */
.steps__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    counter-reset: step;
}
.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.75rem 1.5rem;
}
.step__num {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .9375rem;
    margin-bottom: 1rem;
}
.step__title { font-size: 1.125rem; margin-bottom: .5rem; }
.step__text { font-size: .9375rem; }

.steps__cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* 10 ---------------------------------------------------- WARUM WIR */
.reasons__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.reason {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-lg);
    padding: 1.75rem 1.5rem;
    transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.reason:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }
.reason__icon {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: var(--r);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    margin-bottom: 1.1rem;
}
.reason__title { font-size: 1.0625rem; margin-bottom: .45rem; }
.reason__text { font-size: .9375rem; color: rgba(255, 255, 255, .7); }

/* 12 ------------------------------------------- KONTAKT / FORMULAR */
.contact { background: var(--bg); }

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.contact__card {
    background: var(--blue);
    color: rgba(255, 255, 255, .82);
    border-radius: var(--r-lg);
    padding: clamp(1.75rem, 3vw, 2.25rem);
    box-shadow: var(--shadow);
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.contact__card-title { color: #fff; font-size: 1.25rem; margin-bottom: 1.5rem; }

.contact__phone {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem;
    background: rgba(255, 255, 255, .12);
    border-radius: var(--r);
    margin-bottom: 1.5rem;
    transition: background-color .25s var(--ease);
}
.contact__phone:hover { background: rgba(255, 255, 255, .2); }
.contact__phone-icon {
    display: grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    flex: none;
}
.contact__phone-label { display: block; font-size: .75rem; color: rgba(255, 255, 255, .7); }
.contact__phone-number {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1875rem;
    color: #fff;
}

.contact__list { display: grid; gap: 1.1rem; }
.contact__list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .9375rem; }
.contact__list .icon { color: rgba(255, 255, 255, .6); margin-top: .2rem; }
.contact__list-label {
    display: block;
    font-size: .6875rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}
.contact__list a { color: #fff; }
.contact__list a:hover { text-decoration: underline; }
.contact__list span > span + a, .contact__list span { color: #fff; }

.contact__hint {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: .875rem;
    color: rgba(255, 255, 255, .72);
}

.contact__form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.form__row { margin-bottom: 1.25rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { display: flex; flex-direction: column; min-width: 0; }
.field__label {
    font-family: var(--font-head);
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .45rem;
}
.req { color: var(--blue); }
.opt { font-weight: 400; color: var(--body); font-size: .8125rem; }

.field__input {
    width: 100%;
    /* 16px verhindert, dass iOS beim Tippen hineinzoomt */
    font-size: 16px;
    padding: .8rem 1rem;
    min-height: 50px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__input::placeholder { color: #9AA0B4; }
.field__input:hover { border-color: #C7CCE0; }
.field__input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(43, 57, 160, .12);
}
.field__input.is-invalid { border-color: var(--error); }
/* Kurze Hervorhebung, wenn die Leistung automatisch vorgewählt wurde */
.field__input.is-prefilled {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(43, 57, 160, .18);
}
.field__input--area { min-height: 8.5rem; resize: vertical; line-height: 1.6; }

.field__select { position: relative; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.field__chevron {
    position: absolute;
    right: 1rem; top: 50%;
    width: 18px; height: 18px;
    transform: translateY(-50%) rotate(90deg);
    color: var(--body);
    pointer-events: none;
}

.field__error { margin-top: .4rem; font-size: .875rem; color: var(--error); }

.field--check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.checkbox {
    width: 22px; height: 22px;
    margin-top: .15rem;
    accent-color: var(--blue);
    cursor: pointer;
    flex: none;
}
.checkbox__label { font-size: .9375rem; line-height: 1.55; cursor: pointer; }
.checkbox__label a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.field--check .field__error { grid-column: 1 / -1; }

.form__footer {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.form__note { font-size: .875rem; }

/* 13 --------------------------------------------------- FUSSBEREICH */
.site-footer {
    background: var(--blue-900);
    color: rgba(255, 255, 255, .68);
    padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
    font-size: .9375rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}
.site-footer__claim { margin-top: 1.25rem; line-height: 1.7; color: rgba(255, 255, 255, .55); }
.site-footer__head {
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 1.1rem;
}
.footer-links li + li { margin-top: .6rem; }
.footer-links a { transition: color .2s var(--ease); }
.footer-links a:hover { color: #fff; }

.footer-contact { display: grid; gap: .9rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer-contact .icon { color: rgba(255, 255, 255, .4); margin-top: .15rem; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .8125rem;
    color: rgba(255, 255, 255, .45);
}
.site-footer__legal { display: flex; gap: 1.25rem; }
.site-footer__legal a:hover { color: #fff; }

/* 15 ---------------------------------------------------- TEXTSEITEN */
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(1.875rem, 3.6vw, 2.5rem); margin-bottom: 1.5rem; }
.prose h2 {
    font-size: 1.375rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    margin-bottom: .75rem;
}
.prose h3 { font-size: 1.0625rem; margin-top: 1.75rem; margin-bottom: .5rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* 16 ------------------------------------------------------ HINWEISE */
.notice {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1.25rem 1.4rem;
    border-radius: var(--r);
    margin-bottom: 1.75rem;
}
.notice p { margin: .35rem 0 0; font-size: .9375rem; }
.notice strong { font-family: var(--font-head); }

.notice--ok { background: #E7F5EF; color: #14543C; border: 1px solid #B8E0CF; }
.notice--ok .icon { color: var(--ok); }
.notice--error { background: #FCEDEC; color: #7C1D17; border: 1px solid #F2C7C4; }
.notice--info { background: var(--blue-050); color: var(--ink); border: 1px solid #CFD6F2; }

/* Bildplatzhalter, solange keine echte Datei hochgeladen ist */
.img-fallback { position: relative; display: block; width: 100%; height: 100%; min-height: 200px; }
.img-fallback svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.img-fallback__tag {
    position: absolute;
    left: 1rem; bottom: 1rem;
    font-family: var(--font-head);
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 100px;
    padding: .35rem .7rem;
}

/* 17 ------------------------------------------------------ BEWEGUNG */
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* 18 ----------------------------------------------------- RESPONSIVE */

/* Laptop */
@media (max-width: 1100px) {
    .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reasons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-phone__text { display: none; }
    .header-phone { padding: 0; }
}

/* Tablet */
@media (max-width: 900px) {
    .topbar { display: none; }
    .primary-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-cta { display: none; }

    .hero__inner { grid-template-columns: 1fr; }
    .hero__media { order: -1; }
    .hero__figure { aspect-ratio: 16 / 10; }

    .slide { grid-template-columns: 1fr; }
    .slide__figure { min-height: 0; aspect-ratio: 16 / 10; }
    .slide__figure img, .slide__figure .img-fallback { position: static; }

    .contact__grid { grid-template-columns: 1fr; }
    .contact__card { position: static; }

    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Smartphone */
@media (max-width: 640px) {
    :root { --header-h: 66px; }

    .brand__mark { width: 34px; height: 34px; }
    .brand__name { font-size: 1.0625rem; }
    .brand__sub { font-size: .5625rem; }

    /* Laufband auf dem Handy: etwas kompakter und einen Tick schneller */
    .quicknav {
        --quicknav-speed: 34s;
        margin-bottom: calc(var(--section-y) * -1 + .5rem);
    }
    .quicknav__item { padding: 1rem 1.15rem; gap: .7rem; }
    .quicknav__icon { width: 38px; height: 38px; }
    .quicknav__title { font-size: .9375rem; }
    .quicknav::before, .quicknav::after { width: 1.5rem; }

    .services { padding-top: calc(var(--section-y) + 2rem); }

    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }

    .steps__list { grid-template-columns: 1fr; }
    .reasons__grid { grid-template-columns: 1fr; }

    .form__row--2 { grid-template-columns: 1fr; gap: 1.25rem; }
    .form__footer { flex-direction: column; align-items: stretch; }
    .form__footer .btn { width: 100%; }
    .form__note { text-align: center; }

    .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .site-footer__bottom { flex-direction: column; gap: .75rem; }

}
