/* ============================================================
   FONTS – Self-hosted, DSGVO-konform (Fallbacks greifen wenn
   keine .woff2-Dateien in /fonts/ vorhanden sind)
   ============================================================ */
@font-face {
    font-family: 'Sora';
    src: url('fonts/Sora-SemiBold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Sora';
    src: url('fonts/Sora-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Sans';
    src: url('fonts/IBMPlexSans-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Sans';
    src: url('fonts/IBMPlexSans-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
    --c-base:        #FFFFFF;
    --c-surface:     #F1F6F7;
    --c-surface-2:   #E6EEF0;

    --c-ink:         #16282C;
    --c-ink-soft:    #50646A;

    --c-primary:     #11A8A2;
    --c-primary-600: #0E8C87;
    --c-primary-deep:#0B4E4C;

    --c-warm:        #EE9B3A;
    --c-warm-600:    #D9852A;
    --c-warm-wash:   #FBEBD4;

    --c-line:        #D8E3E5;

    --r-card: 14px;
    --r-pill: 999px;
    --shadow-soft: 0 1px 2px rgba(11,78,76,.06), 0 8px 24px rgba(11,78,76,.06);
    --shadow-hover: 0 2px 4px rgba(11,78,76,.08), 0 16px 40px rgba(11,78,76,.10);

    --font-display: "Sora", system-ui, "Segoe UI", Roboto, sans-serif;
    --font-body:    "IBM Plex Sans", system-ui, "Segoe UI", Roboto, sans-serif;

    --container: 1180px;
    --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--c-ink);
    background: var(--c-base);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea, select {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--c-ink);
}

:focus-visible {
    outline: 3px solid var(--c-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    width: min(var(--container), 100% - 2rem);
    margin-inline: auto;
}

.section {
    padding-block: clamp(4rem, 8vw, 7rem);
}
.section--surface { background: var(--c-surface); }

.section__header {
    max-width: 620px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__header h2 { margin-bottom: .5rem; }
.section__header p { color: var(--c-ink-soft); font-size: 1.1rem; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--c-ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--c-ink-soft); }
p + p { margin-top: .75rem; }

.text-primary { color: var(--c-primary); }
.text-warm-strong { color: var(--c-warm-600); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: var(--r-pill);
    transition: background .18s, color .18s, transform .18s, box-shadow .18s;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}
.btn:active { transform: scale(.97); }

.btn--sm  { font-size: .875rem; padding: .5rem 1.1rem; }
.btn--lg  { font-size: 1rem;    padding: .75rem 1.75rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
    background: var(--c-warm);
    color: var(--c-ink);
}
.btn--primary:hover { background: var(--c-warm-600); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(238,155,58,.35); }

.btn--warm {
    background: var(--c-warm);
    color: var(--c-ink);
    font-size: 1rem; padding: .75rem 1.75rem;
}
.btn--warm:hover { background: var(--c-warm-600); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(238,155,58,.35); }

.btn--outline {
    background: transparent;
    color: var(--c-primary);
    border: 2px solid var(--c-primary);
}
.btn--outline:hover { background: rgba(17,168,162,.08); transform: translateY(-2px); }

/* ============================================================
   DEMO BANNER
   ============================================================ */
.demo-banner {
    background: var(--c-primary-deep);
    color: rgba(255,255,255,.85);
    text-align: center;
    font-size: .8rem;
    padding: .45rem 1rem;
}
.demo-banner strong { color: #fff; }
.demo-banner a { color: var(--c-warm); text-decoration: underline; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header--scrolled {
    border-bottom-color: var(--c-line);
    box-shadow: var(--shadow-soft);
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: var(--nav-h);
}
.nav__logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--c-ink);
    flex-shrink: 0;
}
.nav__logo-sh {
    color: var(--c-primary);
}

.nav__links {
    display: flex;
    gap: 1.75rem;
    margin-left: auto;
}
.nav__links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--c-ink-soft);
    transition: color .15s;
}
.nav__links a:hover { color: var(--c-primary); }

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}
.nav__tel {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--c-ink);
    white-space: nowrap;
}
.nav__tel:hover { color: var(--c-primary); }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 34px;
    padding: 6px;
    margin-left: auto;
}
.nav__burger span {
    display: block;
    height: 2px;
    background: var(--c-ink);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding-top: clamp(4rem, 8vw, 7rem);
    background: linear-gradient(180deg, var(--c-base) 60%, var(--c-surface) 100%);
    overflow: hidden;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero__content {
    max-width: 680px;
}

.hero__headline {
    margin-bottom: 1rem;
}

.hero__sub {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--c-ink-soft);
    max-width: 560px;
    margin-bottom: 2rem;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* Pipe wrap */
.hero__pipe-wrap {
    width: 100%;
    margin-top: 2.5rem;
    overflow: visible;
}
.hero__pipe {
    width: 100%;
    height: auto;
    display: block;
}

.pipe-base {
    stroke: var(--c-line);
    stroke-width: 9;
}
.pipe-flow {
    stroke-width: 5;
    stroke-dasharray: 280 9999;
    stroke-dashoffset: 0;
}
.pipe-joint {
    fill: var(--c-surface);
    stroke: var(--c-line);
    stroke-width: 2.5;
}

/* Trust Bar */
.trust-bar {
    background: var(--c-surface);
    border-top: 1px solid var(--c-line);
    margin-top: 0;
}
.trust-bar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    padding-block: 1.1rem;
}
.trust-bar__item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--c-ink);
}
.trust-bar__item svg { color: var(--c-primary); flex-shrink: 0; }

/* ============================================================
   LEISTUNGEN / CARDS
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--c-base);
    border: 1px solid var(--c-line);
    border-radius: var(--r-card);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: transform .2s, box-shadow .2s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.card__icon {
    width: 48px;
    height: 48px;
    color: var(--c-primary);
    margin-bottom: 1rem;
}
.card h3 {
    margin-bottom: .4rem;
    font-size: 1.05rem;
}
.card p { font-size: .9rem; }

.card--accent {
    border-color: rgba(17,168,162,.25);
    background: linear-gradient(135deg, rgba(17,168,162,.04), var(--c-base));
}
.card--accent .card__icon { color: var(--c-warm); }

/* ============================================================
   SHOWPIECE A – HEIZUNG
   ============================================================ */
.section--warm {
    background: var(--c-warm-wash);
    border-top: 1px solid rgba(238,155,58,.2);
    border-bottom: 1px solid rgba(238,155,58,.2);
}

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

.heizung__content h2 { margin-bottom: 1rem; }
.heizung__content p  { margin-bottom: 2rem; }

.heizung__stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat {
    background: var(--c-base);
    border: 1px solid rgba(238,155,58,.2);
    border-radius: var(--r-card);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-soft);
}
.stat__value {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--c-ink);
    line-height: 1.1;
    margin-bottom: .25rem;
}
.stat__prefix { font-size: .7em; font-weight: 400; color: var(--c-ink-soft); margin-right: .1em; }
.stat__unit   { font-size: .55em; font-weight: 600; color: var(--c-ink-soft); }
.stat__label  { font-size: .85rem; color: var(--c-ink-soft); }

/* ============================================================
   SHOWPIECE B – VORHER/NACHHER SLIDER
   ============================================================ */
.slider-wrap {
    border-radius: var(--r-card);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    margin-bottom: 2rem;
}

.before-after {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.before-after__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.before-after__img svg {
    width: 100%;
    height: 100%;
}

.before-after__img--after {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0s;
}

.before-after__handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    touch-action: none;
}
.handle__line {
    position: absolute;
    inset: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
}
.handle__btn {
    position: relative;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
    flex-shrink: 0;
}
.handle__btn svg { width: 100%; height: 100%; }

.bad__cta { text-align: center; margin-top: .5rem; }

/* ============================================================
   ABLAUF / STEPS
   ============================================================ */
.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
}

.step {
    background: var(--c-base);
    border: 1px solid var(--c-line);
    border-radius: var(--r-card);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.step__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--c-primary);
    opacity: .2;
    line-height: 1;
    margin-bottom: .75rem;
}
.step h3 { margin-bottom: .4rem; }
.step p  { font-size: .9rem; }

.step__conn {
    display: flex;
    align-items: flex-start;
    padding-top: 2.6rem;
    width: 2.5rem;
}
.step__conn::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-warm));
    opacity: .3;
}

/* ============================================================
   ÜBER DEN BETRIEB
   ============================================================ */
.ueber__inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.ueber__portrait {
    border-radius: var(--r-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}
.ueber__portrait svg { width: 100%; height: auto; display: block; }

.ueber__text h2  { margin-bottom: 1.25rem; }
.ueber__lead     { font-size: 1.1rem; color: var(--c-ink-soft); margin-bottom: 1rem; }
.ueber__lead strong { color: var(--c-ink); }

.ueber__values {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.ueber__values li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--c-ink);
}
.ueber__values li svg { color: var(--c-primary); flex-shrink: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.testimonial {
    background: var(--c-base);
    border: 1px solid var(--c-line);
    border-radius: var(--r-card);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
}
.testimonial__stars {
    color: var(--c-warm);
    font-size: 1.1rem;
    margin-bottom: .75rem;
    letter-spacing: .05em;
}
.testimonial p {
    font-size: .95rem;
    color: var(--c-ink);
    margin-bottom: 1rem;
    font-style: italic;
}
.testimonial footer {
    font-size: .85rem;
    color: var(--c-ink-soft);
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.testimonial footer strong { color: var(--c-ink); }
.testimonial__badge {
    display: inline-block;
    background: var(--c-surface);
    color: var(--c-primary);
    border-radius: var(--r-pill);
    padding: .15rem .65rem;
    font-size: .78rem;
    font-weight: 600;
    width: fit-content;
}

/* ============================================================
   NOTDIENST BAND
   ============================================================ */
.notdienst-band {
    background: var(--c-primary-deep);
    padding-block: clamp(2.5rem, 5vw, 4rem);
}
.notdienst-band__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.notdienst-band__text h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: .35rem;
}
.notdienst-band__text p { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.notdienst-band__text strong { color: rgba(255,255,255,.95); }

.notdienst-band__tel {
    display: flex;
    align-items: center;
    gap: .7rem;
    background: var(--c-warm);
    color: var(--c-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    padding: .85rem 2rem;
    border-radius: var(--r-pill);
    transition: background .15s, transform .15s, box-shadow .15s;
    white-space: nowrap;
}
.notdienst-band__tel:hover {
    background: var(--c-warm-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(238,155,58,.4);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.accordion {
    border: 1px solid var(--c-line);
    border-radius: var(--r-card);
    overflow: hidden;
    background: var(--c-base);
    box-shadow: var(--shadow-soft);
    max-width: 760px;
}

.accordion__item {
    border-bottom: 1px solid var(--c-line);
}
.accordion__item:last-child { border-bottom: none; }

.accordion__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--c-ink);
    background: transparent;
    transition: background .15s;
}
.accordion__btn:hover { background: var(--c-surface); }
.accordion__btn[aria-expanded="true"] { color: var(--c-primary); }

.accordion__chevron {
    flex-shrink: 0;
    transition: transform .25s;
}
.accordion__btn[aria-expanded="true"] .accordion__chevron {
    transform: rotate(180deg);
}

.accordion__panel {
    padding: 0 1.5rem 1.25rem;
}
.accordion__panel p { font-size: .95rem; }

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

/* Form */
.form__notice {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--c-ink-soft);
    background: var(--c-surface);
    border-radius: 6px;
    padding: .5rem .75rem;
    margin-bottom: 1.25rem;
}
.form__notice svg { color: var(--c-primary); flex-shrink: 0; }

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: 1rem;
}
.form__field label {
    font-size: .875rem;
    font-weight: 500;
    color: var(--c-ink);
}

.form__field input,
.form__field select,
.form__field textarea {
    padding: .65rem .9rem;
    border: 1.5px solid var(--c-line);
    border-radius: 8px;
    background: var(--c-base);
    transition: border-color .15s, box-shadow .15s;
    font-size: .95rem;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(17,168,162,.12);
}
.form__field textarea { resize: vertical; }

.form__success {
    margin-top: .75rem;
    padding: .75rem 1rem;
    background: rgba(17,168,162,.1);
    border: 1px solid rgba(17,168,162,.3);
    border-radius: 8px;
    color: var(--c-primary-deep);
    font-size: .9rem;
    font-weight: 500;
}

/* Contact info */
.kontakt__details {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 1.5rem;
}
.kontakt__item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
}
.kontakt__item svg { color: var(--c-primary); flex-shrink: 0; margin-top: 2px; }
.kontakt__item div { display: flex; flex-direction: column; gap: .1rem; }
.kontakt__item span { font-size: .78rem; font-weight: 600; color: var(--c-primary); text-transform: uppercase; letter-spacing: .06em; }
.kontakt__item a, .kontakt__item address { font-size: .95rem; color: var(--c-ink); }
.kontakt__item a:hover { color: var(--c-primary); }

.map-placeholder {
    border-radius: var(--r-card);
    overflow: hidden;
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-soft);
}
.map-placeholder svg { width: 100%; height: auto; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--c-primary-deep);
    padding-block: clamp(3rem, 6vw, 5rem) 1.5rem;
    color: rgba(255,255,255,.75);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
    margin-bottom: 1.5rem;
}

.footer__logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: .35rem;
}
.footer__claim { font-size: .9rem; margin-bottom: 1rem; }
.footer__brand address { font-size: .875rem; line-height: 1.7; }
.footer__brand address a { color: rgba(255,255,255,.8); }
.footer__brand address a:hover { color: var(--c-warm); }

.footer__col h3 {
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col li { font-size: .875rem; }
.footer__col a { color: rgba(255,255,255,.7); transition: color .15s; }
.footer__col a:hover { color: var(--c-warm); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8rem;
}
.footer__bottom a { color: var(--c-warm); }
.footer__bottom a:hover { text-decoration: underline; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* ============================================================
   PIPE ANIMATION (set via JS for path length)
   ============================================================ */
@keyframes pipeFlow {
    to { stroke-dashoffset: var(--pipe-travel); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
    .heizung__inner { grid-template-columns: 1fr; }
    .heizung__stats { flex-direction: row; flex-wrap: wrap; }
    .heizung__stats .stat { flex: 1 1 180px; }

    .ueber__inner { grid-template-columns: 220px 1fr; }

    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }

    .kontakt__inner { grid-template-columns: 1fr; }

    .steps {
        grid-template-columns: 1fr;
    }
    .step__conn {
        display: block;
        width: 2px;
        height: 2rem;
        padding: 0;
        margin-inline: auto;
    }
    .step__conn::before {
        width: 2px;
        height: 100%;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .nav__links { display: none; flex-direction: column; gap: 0; }
    .nav__links.is-open {
        display: flex;
        position: absolute;
        top: calc(var(--nav-h) + 1px);
        left: 0; right: 0;
        background: var(--c-base);
        border-bottom: 1px solid var(--c-line);
        box-shadow: var(--shadow-soft);
        padding: .5rem 0;
    }
    .nav__links li a {
        display: block;
        padding: .75rem 1.5rem;
        font-size: 1rem;
    }
    .nav__links li a:hover { background: var(--c-surface); }

    .nav__actions { display: none; }
    .nav__burger   { display: flex; }

    .hero__ctas { flex-direction: column; }
    .hero__ctas .btn { width: 100%; justify-content: center; }

    .trust-bar__inner { gap: .75rem 1.5rem; }

    .cards-grid { grid-template-columns: 1fr; }

    .before-after { aspect-ratio: 4/3; }

    .ueber__inner { grid-template-columns: 1fr; }
    .ueber__portrait { max-width: 220px; }

    .testimonials { grid-template-columns: 1fr; }

    .notdienst-band__inner { flex-direction: column; text-align: center; }

    .form__row { grid-template-columns: 1fr; }

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

    .accordion { border-radius: 10px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pipe-flow { animation: none !important; }

    .btn,
    .card,
    .notdienst-band__tel {
        transition: none;
    }
}
