/* ==========================================================================
   Marco Langmaier – Makler für Versicherungen und Finanzen
   ========================================================================== */

/* Fonts (lokal eingebunden – DSGVO-konform, kein Google-Fonts-Request) */
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

:root {
    /* Markenfarben aus dem Logo / mlangmaier.de */
    --ink: #1f1f1f;
    --ink-soft: #2b2b2b;
    --coral: #ff595e;
    --coral-dark: #e8444a;
    --amber: #ffbb54;
    --amber-soft: #fff4e2;
    --coral-soft: #ffeeee;

    --text: #1f1f1f;
    --muted: #5f6368;
    --line: #e7e4df;
    --bg: #ffffff;
    --bg-soft: #f7f5f2;

    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 10px 30px rgba(31, 31, 31, .08);
    --shadow-lg: 0 24px 60px rgba(31, 31, 31, .14);

    --container: 1200px;
    --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 3rem); margin-inline: auto; }
.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }

.icon { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

/* Überschriften im DEMV-Stil: Großbuchstaben + Untertitel */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-head); font-weight: 700; font-size: .8rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--coral);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: ""; width: 28px; height: 10px; flex-shrink: 0;
    background:
        radial-gradient(circle, var(--ink) 4px, transparent 4.5px) 0 50% / 10px 10px no-repeat,
        radial-gradient(circle, var(--coral) 4px, transparent 4.5px) 9px 50% / 10px 10px no-repeat,
        radial-gradient(circle, var(--amber) 4px, transparent 4.5px) 18px 50% / 10px 10px no-repeat;
}
.section--dark .eyebrow::before {
    background:
        radial-gradient(circle, #fff 4px, transparent 4.5px) 0 50% / 10px 10px no-repeat,
        radial-gradient(circle, var(--coral) 4px, transparent 4.5px) 9px 50% / 10px 10px no-repeat,
        radial-gradient(circle, var(--amber) 4px, transparent 4.5px) 18px 50% / 10px 10px no-repeat;
}
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head h2, .title {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800;
    text-transform: uppercase; letter-spacing: .02em;
}
.section-head .sub { font-size: 1.15rem; color: var(--muted); }
.section--dark .section-head .sub { color: rgba(255,255,255,.75); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .95rem 1.8rem; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 700; font-size: .92rem;
    letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
    cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn .icon { width: .95em; height: .95em; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 89, 94, .35); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 187, 84, .45); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: .6rem 1.2rem; font-size: .78rem; }

.link-more {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--font-head); font-weight: 700; font-size: .85rem;
    text-transform: uppercase; letter-spacing: .06em; color: var(--coral); text-decoration: none;
}
.link-more .icon { width: .85em; height: .85em; transition: transform .2s; }
.link-more:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--ink); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.topbar__info { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar__info span, .topbar__links a { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__info .icon { color: var(--amber); }
.topbar__links { display: flex; gap: 1.4rem; align-items: center; }
.topbar__links a { text-decoration: none; transition: color .2s; }
.topbar__links a:hover { color: var(--amber); }
.topbar__links .icon { color: var(--coral); width: 1.1em; height: 1.1em; }

.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 1.5rem; }
.header .btn { white-space: nowrap; }
.header__logo img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; gap: 1.5rem; }
.nav__item { position: relative; }
.nav__link {
    font-family: var(--font-head); font-weight: 700; font-size: .88rem;
    text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
    padding: .6rem 0; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
    position: relative;
}
.nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px;
    background: var(--coral); border-radius: 3px; transform: scaleX(0); transition: transform .25s;
}
.nav__link:hover::after, .nav__item:focus-within .nav__link::after { transform: scaleX(1); }
.nav__item--has-sub > .nav__link::before {
    content: ""; order: 2; width: 6px; height: 6px; margin-top: -3px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.subnav {
    position: absolute; top: 100%; left: -1.2rem; min-width: 260px;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: .8rem; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item:hover .subnav, .nav__item:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a {
    display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border-radius: 12px;
    text-decoration: none; font-size: .95rem; font-weight: 600; transition: background .2s;
}
.subnav a:hover { background: var(--bg-soft); }
.subnav .icon { color: var(--coral); width: 1.1em; height: 1.1em; }

.nav-toggle {
    display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
    width: 44px; height: 44px; color: var(--ink);
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon--close { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 40px 0 60px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; text-transform: uppercase;
    letter-spacing: .01em; line-height: 1.08; margin-bottom: .4em;
}
.hero h1 .accent { color: var(--coral); }
.hero__sub { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); margin-bottom: 1.4rem; }
.hero__lead { font-size: 1.12rem; max-width: 560px; margin-bottom: 2.2rem; }
.hero__lead strong { background: linear-gradient(transparent 62%, rgba(255,187,84,.55) 62%); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.4rem; font-size: .92rem; font-weight: 600; color: var(--muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust .icon { color: var(--coral); }

/* Hero-Visual aus den drei Logo-Punkten */
.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; justify-self: end; width: 100%; }
.dot { position: absolute; border-radius: 50%; }
.dot--ink   { width: 46%; aspect-ratio: 1; background: var(--ink);   top: 4%;  left: 6%; }
.dot--coral { width: 56%; aspect-ratio: 1; background: var(--coral); top: 26%; right: 2%; }
.dot--amber { width: 40%; aspect-ratio: 1; background: var(--amber); bottom: 0;  left: 16%; }
.dot--ink, .dot--coral, .dot--amber { animation: float 9s ease-in-out infinite; }
.dot--coral { animation-delay: -3s; }
.dot--amber { animation-delay: -6s; }
@keyframes float { 50% { transform: translateY(-14px); } }

.float-card {
    position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 1rem 1.2rem; display: flex; align-items: center; gap: .9rem; font-size: .92rem; line-height: 1.35;
    min-width: 220px;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.float-card span { color: var(--muted); font-size: .85rem; }
.float-card__icon {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
    background: var(--coral-soft); color: var(--coral);
}
.float-card__icon .icon { width: 22px; height: 22px; }
.float-card--1 { top: 12%; right: -2%; }
.float-card--2 { top: 52%; left: -8%; }
.float-card--2 .float-card__icon { background: var(--amber-soft); color: #d48a12; }
.float-card--3 { bottom: 6%; right: 4%; }

/* Teaser-Karten unter dem Hero (wie bei DEMV) */
.teasers { position: relative; z-index: 2; margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.teaser {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 1.8rem; display: flex; gap: 1.2rem; align-items: flex-start;
    text-decoration: none; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.teaser:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--amber); }
.teaser__icon {
    width: 58px; height: 58px; border-radius: 16px; background: var(--ink); color: #fff;
    display: grid; place-items: center; flex-shrink: 0;
}
.teaser__icon .icon { width: 28px; height: 28px; fill: var(--coral); }
.teaser h3 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: .3rem; }
.teaser p { font-size: .95rem; color: var(--muted); margin-bottom: .6rem; }

/* ==========================================================================
   „So unterstützen wir Sie" – Kacheln
   ========================================================================== */
.features { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; }
.feature {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem 1.5rem; text-align: center; transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column; align-items: center;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature__icon {
    width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.3rem;
    background: var(--coral-soft); color: var(--coral); transition: background .25s, color .25s;
}
.feature:hover .feature__icon { background: var(--amber); color: var(--ink); }
.feature__icon .icon { width: 34px; height: 34px; }
.feature h3 { hyphens: auto; overflow-wrap: anywhere; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; }
.feature p { font-size: .93rem; color: var(--muted); margin: 0; }
.features-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 3.5rem; }

/* ==========================================================================
   Alternierende Blöcke
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split + .split { margin-top: 110px; }
.split--reverse .split__media { order: 2; }
.split__num {
    font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .14em;
    color: var(--coral); text-transform: uppercase; margin-bottom: .6rem; display: block;
}
.split h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-transform: uppercase; }
.split p { color: var(--muted); }
.checklist { margin: 1.4rem 0 2rem; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; }
.checklist .icon { color: var(--coral); width: 1.25em; height: 1.25em; margin-top: .2em; }
.section--dark .checklist .icon { color: var(--amber); }

/* Mock-UI-Karten (statt Screenshots) */
.mock {
    position: relative; background: var(--bg-soft); border-radius: var(--radius-lg);
    padding: 2.4rem; min-height: 380px; display: grid; place-items: center; overflow: hidden;
}
.mock::before {
    content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
    background: var(--amber); opacity: .35; right: -80px; top: -80px;
}
.mock::after {
    content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
    background: var(--coral); opacity: .18; left: -60px; bottom: -60px;
}
.section--soft .mock { background: #fff; }
.mock__panel {
    position: relative; z-index: 1; width: 100%; max-width: 420px; background: #fff;
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.6rem;
}
.mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.mock__head strong { font-family: var(--font-head); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.mock__dots i:nth-child(2) { background: var(--coral); }
.mock__dots i:nth-child(3) { background: var(--amber); }
.mock__row {
    display: flex; align-items: center; gap: .9rem; padding: .85rem 0; border-top: 1px solid var(--line);
    font-size: .95rem;
}
.mock__row .ico {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
    background: var(--coral-soft); color: var(--coral);
}
.mock__row .ico .icon { width: 18px; height: 18px; }
.mock__row .grow { flex: 1; font-weight: 600; }
.mock__row .grow small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.badge { font-size: .72rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.badge--ok { background: #e6f6ec; color: #1f8a4c; }
.badge--check { background: var(--amber-soft); color: #b16f00; }
.mock__bar { height: 10px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; margin-top: .5rem; }
.mock__bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--coral), var(--amber)); }

/* ==========================================================================
   Produktportfolio
   ========================================================================== */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product {
    position: relative; background: var(--ink-soft); border-radius: var(--radius); padding: 2.2rem;
    border: 1px solid rgba(255,255,255,.08); overflow: hidden; transition: transform .25s, border-color .25s;
}
.product::after {
    content: ""; position: absolute; right: -50px; bottom: -50px; width: 140px; height: 140px; border-radius: 50%;
    background: var(--coral); opacity: 0; transition: opacity .3s;
}
.product:nth-child(even)::after { background: var(--amber); }
.product:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.2); }
.product:hover::after { opacity: .14; }
.product__icon {
    width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.4rem;
    background: rgba(255, 89, 94, .14); color: var(--coral);
}
.product:nth-child(even) .product__icon { background: rgba(255, 187, 84, .14); color: var(--amber); }
.product__icon .icon { width: 28px; height: 28px; }
.product h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.product p { color: rgba(255,255,255,.7); font-size: .95rem; }
.product ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.product li {
    font-size: .8rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px;
    background: rgba(255,255,255,.07); color: rgba(255,255,255,.88);
}

/* ==========================================================================
   Vorteile + Zahlen
   ========================================================================== */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.benefit { display: flex; gap: 1.2rem; align-items: flex-start; }
.benefit__icon {
    width: 64px; height: 64px; border-radius: 50%; background: var(--amber); color: var(--ink);
    display: grid; place-items: center; flex-shrink: 0;
}
.benefit__icon .icon { width: 28px; height: 28px; }
.benefit h3 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: .4rem; }
.benefit p { color: var(--muted); margin: 0; font-size: .97rem; }

.stats {
    margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--ink); color: #fff; border-radius: var(--radius-lg); overflow: hidden;
}
.stat { padding: 2.4rem 1.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; }
.stat:nth-child(odd) .stat__num { color: var(--coral); }
.stat:nth-child(even) .stat__num { color: var(--amber); }
.stat__label { margin-top: .6rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.75); font-weight: 600; }

/* ==========================================================================
   Ablauf
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step__num {
    counter-increment: step; width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 1.4rem;
    display: grid; place-items: center; background: #fff; border: 2px solid var(--line);
    font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; position: relative; z-index: 1;
    transition: background .25s, border-color .25s, color .25s;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step:hover .step__num { background: var(--coral); border-color: var(--coral); color: #fff; }
.step h3 { font-size: 1rem; text-transform: uppercase; }
.step p { color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   Über uns
   ========================================================================== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.about__card {
    position: relative; background: #fff; border-radius: var(--radius-lg); padding: 3rem;
    box-shadow: var(--shadow-lg); text-align: center;
}
.about__card img { width: 100%; max-width: 360px; margin: 0 auto 2rem; }
.about__card .contact-lines { text-align: left; display: grid; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1.8rem; }
.contact-lines a, .contact-lines div { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 600; }
.contact-lines .icon { color: var(--coral); width: 1.2em; height: 1.2em; }
.contact-lines a:hover { color: var(--coral); }
.about__deco { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--amber); z-index: -1; right: -30px; top: -30px; }
.about__deco--2 { background: var(--coral); width: 80px; height: 80px; left: -24px; bottom: -24px; right: auto; top: auto; }
.about__wrap { position: relative; z-index: 0; }

/* ==========================================================================
   Kennenlernen-CTA + Service-Kacheln (Original-Icons von mlangmaier.de)
   ========================================================================== */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    background: var(--coral); color: #fff; padding: 4rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; }
.cta-band::before { width: 340px; height: 340px; background: var(--amber); right: -100px; top: -140px; opacity: .9; }
.cta-band::after { width: 200px; height: 200px; background: var(--ink); right: 140px; bottom: -120px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); text-transform: uppercase; font-weight: 800; }
.cta-band p { font-size: 1.12rem; opacity: .95; }
.cta-band .btn--primary { background: var(--ink); }
.cta-band .btn--outline-light { background: #fff; border-color: #fff; color: var(--ink); }
.cta-band .btn--outline-light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-band .btn--primary:hover { background: #000; box-shadow: 0 12px 26px rgba(0,0,0,.3); }

.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; margin-top: 60px; }
.service {
    border: 2px solid var(--line); border-radius: 25px; padding: 1.6rem 1rem; text-align: center;
    text-decoration: none; background: #fff; transition: background .25s, border-color .25s, transform .25s;
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.service .icon { width: 46px; height: 46px; fill: var(--coral); }
.service span { font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.service:hover, .service:focus-visible { background: var(--amber); border-color: var(--amber); transform: translateY(-4px); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.contact__info { display: grid; gap: 1.2rem; }
.info-box { display: flex; gap: 1.1rem; background: #fff; border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); }
.info-box__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; flex-shrink: 0; }
.info-box__icon .icon { width: 22px; height: 22px; }
.info-box h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.info-box p, .info-box a { margin: 0; color: var(--muted); text-decoration: none; }
.info-box a:hover { color: var(--coral); }
.info-box--highlight { background: var(--amber-soft); border-color: var(--amber); }
.info-box--highlight .info-box__icon { background: var(--amber); color: var(--ink); }
.info-box--highlight p { color: var(--text); margin-bottom: .6rem; }
.info-box--highlight .link-more { color: var(--coral-dark); }

.form { background: #fff; border-radius: var(--radius-lg); padding: 2.6rem; box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form__field { display: flex; flex-direction: column; gap: .4rem; }
.form__field--full { grid-column: 1 / -1; }
.form__field > label, .qf-label { font-family: var(--font-head); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.form input, .form select, .form textarea,
.quote input:not([type="checkbox"]):not([type="radio"]), .quote select, .quote textarea {
    font: inherit; font-size: 1rem; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 12px;
    background: var(--bg-soft); transition: border-color .2s, background .2s; width: 100%;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus,
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--coral); background: #fff; }
.form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form__consent input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--coral); flex-shrink: 0; }
.form__actions { margin-top: 1.6rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__note.is-error { color: var(--coral-dark); font-weight: 600; }
.form__note.is-error a { color: inherit; }

/* Karte (Google Maps, Zwei-Klick-Lösung) */
.map {
    margin-top: 3rem; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; position: relative;
    background:
        radial-gradient(circle at 12% 20%, rgba(255,187,84,.35) 0 90px, transparent 91px),
        radial-gradient(circle at 88% 85%, rgba(255,89,94,.22) 0 120px, transparent 121px),
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(31,31,31,.05) 38px 40px),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(31,31,31,.05) 38px 40px),
        var(--bg-soft);
    display: grid; place-items: center; border: 1px solid var(--line);
}
.map__consent { text-align: center; max-width: 520px; padding: 2.5rem 1.5rem; }
.map__icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; margin: 0 auto 1.2rem; color: var(--coral); }
.map__icon .icon { width: 28px; height: 28px; }
.map__consent h3 { text-transform: uppercase; font-size: 1.15rem; margin-bottom: .3rem; }
.map__consent > p { color: var(--muted); }
.map__note { font-size: .82rem; margin: 1.2rem 0 0; }
.map__note a { color: var(--coral-dark); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded { border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 80px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 60px; }
.footer__brand img { width: 240px; background: #fff; padding: .9rem 1.1rem; border-radius: 14px; margin-bottom: 1.4rem; }
.footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2rem; }
.footer li + li { margin-top: .55rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--amber); }
.footer__contact li { display: flex; gap: .7rem; align-items: center; }
.footer__contact .icon { color: var(--coral); width: 1.1em; height: 1.1em; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.6rem 0 calc(1.6rem + 90px); font-size: .85rem; } /* Platz für den WhatsApp-Button */
.footer__bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__bottom nav { display: flex; gap: 1.6rem; }

/* Overlay Anfahrt */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem; background: rgba(31,31,31,.6); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 2.6rem; max-width: 480px; width: 100%; text-align: center; transform: translateY(12px); transition: transform .25s; }
.modal.is-open .modal__box { transform: none; }
.icon--big-wrap { display: block; margin-bottom: 1.2rem; }
.icon--big-wrap .icon { width: 60px; height: 60px; fill: var(--coral); }
.modal__close { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; color: var(--muted); }
.modal__close .icon { width: 20px; height: 20px; }
.modal__box h3 { text-transform: uppercase; }
.modal__box .btn { margin-top: 1rem; }

/* ==========================================================================
   Angebotsrechner (angebot.html)
   ========================================================================== */
.page-hero { padding: 80px 0 60px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); position: relative; overflow: hidden; }
.page-hero::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle at 30% 70%, var(--amber) 0 38%, transparent 38.5%), radial-gradient(circle at 70% 40%, var(--coral) 0 30%, transparent 30.5%);
    opacity: .9;
}
.page-hero .container { position: relative; z-index: 1; max-width: 820px; margin-left: max(1.5rem, calc((100% - var(--container)) / 2)); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; text-transform: uppercase; }
.page-hero p { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.quote-section { padding-top: 50px; }

.quote-steps { display: flex; gap: .6rem; list-style: none; margin: 0 auto 2rem; padding: 0; max-width: 900px; counter-reset: none; }
.quote-steps li {
    flex: 1; display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-radius: 14px;
    background: #fff; border: 2px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: .85rem;
    color: var(--muted); transition: border-color .2s, color .2s, background .2s;
}
.quote-steps li span {
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
    background: var(--bg-soft); color: var(--muted); font-size: .8rem;
}
.quote-steps li.is-active { border-color: var(--coral); color: var(--ink); }
.quote-steps li.is-active span { background: var(--coral); color: #fff; }
.quote-steps li.is-done { cursor: pointer; color: var(--ink); }
.quote-steps li.is-done span { background: var(--amber); color: var(--ink); }
.quote-steps li.is-done:hover { border-color: var(--amber); }

.quote { max-width: 900px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2.6rem; }
.quote__step { display: none; }
.quote__step.is-active { display: block; animation: step-in .3s ease; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
.quote__title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); text-transform: uppercase; margin-bottom: .4rem; }
.quote__lead { color: var(--muted); margin-bottom: 2rem; }
.quote__error { color: var(--coral-dark); font-weight: 600; margin: 1rem 0 0; min-height: 1px; }
.quote__nav { display: flex; gap: 1rem; align-items: center; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.quote__spacer { flex: 1; }
.quote__status { text-align: right; margin: .8rem 0 0; }
.quote [hidden] { display: none !important; }

/* Schritt 1: Sparten-Kacheln */
.sparte-group { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 1.8rem 0 .9rem; }
.sparte-group:first-child { margin-top: 0; }
.sparten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sparte {
    position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem 1.2rem; cursor: pointer;
    border: 2px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, background .2s, transform .2s;
}
.sparte:hover { border-color: var(--amber); transform: translateY(-2px); }
.sparte input { position: absolute; opacity: 0; pointer-events: none; }
.sparte__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); margin-bottom: .5rem; }
.sparte__icon .icon { width: 24px; height: 24px; }
.sparte strong { font-family: var(--font-head); font-size: .95rem; line-height: 1.3; hyphens: auto; overflow-wrap: anywhere; }
.sparte small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.sparte__check {
    position: absolute; top: .9rem; right: .9rem; width: 26px; height: 26px; border-radius: 50%;
    border: 2px solid var(--line); display: grid; place-items: center; color: transparent; transition: all .2s;
}
.sparte__check .icon { width: 13px; height: 13px; }
.sparte:has(input:checked) { border-color: var(--coral); background: #fff8f8; }
.sparte:has(input:checked) .sparte__check { background: var(--coral); border-color: var(--coral); color: #fff; }
.sparte:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Schritt 2/3: Karten & Felder */
.qcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.qcard + .qcard { margin-top: 1.5rem; }
.qcard__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.qcard__head h3 { margin: 0; font-size: 1.1rem; text-transform: uppercase; }
.qcard__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--coral); display: grid; place-items: center; flex-shrink: 0; }
.qcard__icon .icon { width: 22px; height: 22px; }
.qf-heading {
    grid-column: 1 / -1; margin: .8rem 0 -.2rem; padding-top: 1rem; border-top: 1px dashed var(--line);
    font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral);
}
.form__grid > .qf-heading:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.qf-hint { color: var(--muted); font-size: .8rem; }
.qf-error { color: var(--coral-dark); font-size: .82rem; font-weight: 600; }
.qf-error:empty { display: none; }
.is-invalid input:not([type="checkbox"]):not([type="radio"]), .is-invalid select, .is-invalid textarea { border-color: var(--coral) !important; background: #fff8f8 !important; }
.is-invalid .chip span { border-color: #ffb3b5; }
.quote textarea { resize: vertical; min-height: 90px; }
.qf-unit { position: relative; }
.qf-unit input { padding-right: 4.5rem !important; }
.qf-unit span { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; font-size: .9rem; pointer-events: none; }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-block; padding: .6rem 1rem; border: 2px solid var(--line); border-radius: 999px;
    font-size: .92rem; font-weight: 600; background: var(--bg-soft); transition: all .2s; line-height: 1.3;
}
.chip:hover span { border-color: var(--amber); }
.chip input:checked + span { background: var(--coral); border-color: var(--coral); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Schritt 4: Zusammenfassung */
.summary { display: grid; gap: 1.2rem; }
.summary__card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.summary__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.summary__head h3 { margin: 0; font-size: 1rem; text-transform: uppercase; }
.summary__head button { background: none; border: 0; cursor: pointer; padding: 0; }
.summary dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: .5rem 1.5rem; margin: 0; font-size: .95rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.quote-note {
    display: flex; gap: 1rem; align-items: flex-start; margin: 1.8rem 0 1.4rem; padding: 1.2rem 1.4rem;
    background: var(--amber-soft); border-radius: var(--radius); font-size: .92rem;
}
.quote-note > .icon { color: #d48a12; width: 22px; height: 22px; margin-top: .15rem; }
.quote-note p { margin: 0; }
.quote-note a { color: var(--coral-dark); font-weight: 600; }

.quote--done { text-align: center; }
.quote--done p { max-width: 560px; margin-left: auto; margin-right: auto; }
.quote--done { padding-top: 3.5rem; padding-bottom: 3.5rem; }

/* Erfolgsanzeige (Kontaktformular + Angebotsanfrage) */
.success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 0 .5rem; outline: none; }
.form.is-sent > :not(.success) { display: none; }
.form.is-sent .success { display: flex; animation: step-in .4s ease; }
.success p { color: var(--muted); max-width: 440px; margin-left: auto; margin-right: auto; }
.success__title {
    font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; text-transform: uppercase; margin: 0 0 .4rem;
    animation: success-pop .6s .55s cubic-bezier(.2, 1.4, .4, 1) both;
}
.success__lead { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink) !important; animation: step-in .5s .75s both; }
.success__lead + p { animation: step-in .5s .85s both; }
.success .link-more { background: none; border: 0; cursor: pointer; margin-top: .6rem; padding: 0; animation: step-in .5s 1s both; }

.success-anim { position: relative; width: 120px; height: 120px; margin: 0 auto 1.6rem; }
.success-anim__check { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.success-anim__check circle {
    fill: var(--coral); stroke: var(--coral); stroke-width: 4;
    transform-origin: center; animation: success-circle .5s cubic-bezier(.2, 1.3, .5, 1) both;
    filter: drop-shadow(0 12px 24px rgba(255, 89, 94, .4));
}
.success-anim__check path {
    fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 60; stroke-dashoffset: 60; animation: success-draw .45s .4s ease-out forwards;
}
.success-anim__burst { position: absolute; inset: 0; }
.success-anim__burst i {
    position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%;
    background: var(--coral); opacity: 0;
    animation: success-burst .9s .35s cubic-bezier(.1, .8, .3, 1) forwards;
}
.success-anim__burst i:nth-child(3n+1) { background: var(--ink); }
.success-anim__burst i:nth-child(3n+2) { background: var(--amber); }
.success-anim__burst i:nth-child(1)  { --a: 0deg; }   .success-anim__burst i:nth-child(2)  { --a: 30deg;  --d: 92px; }
.success-anim__burst i:nth-child(3)  { --a: 60deg; }  .success-anim__burst i:nth-child(4)  { --a: 90deg;  --d: 92px; }
.success-anim__burst i:nth-child(5)  { --a: 120deg; } .success-anim__burst i:nth-child(6)  { --a: 150deg; --d: 92px; }
.success-anim__burst i:nth-child(7)  { --a: 180deg; } .success-anim__burst i:nth-child(8)  { --a: 210deg; --d: 92px; }
.success-anim__burst i:nth-child(9)  { --a: 240deg; } .success-anim__burst i:nth-child(10) { --a: 270deg; --d: 92px; }
.success-anim__burst i:nth-child(11) { --a: 300deg; } .success-anim__burst i:nth-child(12) { --a: 330deg; --d: 92px; }
@keyframes success-circle { from { transform: scale(0); } }
@keyframes success-draw { to { stroke-dashoffset: 0; } }
@keyframes success-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes success-burst {
    0%   { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(.4); }
    60%  { opacity: 1; }
    100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--d, 78px)) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .success-anim *, .success__title, .success__lead, .success__lead + p, .success .link-more { animation: none !important; }
    .success-anim__check path { stroke-dashoffset: 0; }
}

@media (max-width: 860px) {
    .sparten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quote-steps li { flex-direction: column; text-align: center; gap: .35rem; font-size: .72rem; padding: .7rem .4rem; }
}
@media (max-width: 680px) {
    .quote { padding: 1.4rem; border-radius: var(--radius); }
    .qcard { padding: 1.2rem; }
    .sparte { padding: 1rem; }
    .sparte small { display: none; }
    .summary dl { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
    .summary dd { margin-bottom: .6rem; }
    .quote__nav .btn { flex: 1 1 auto; }
    .quote__spacer { display: none; }
    .page-hero { padding: 50px 0 40px; }
    .page-hero::after { width: 200px; height: 200px; right: -90px; top: -90px; }
    .page-quote .wa-widget { display: none; } /* verdeckt sonst Formular-Buttons */
}

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutz, Erstinformation)
   ========================================================================== */
.page-hero--small { padding: 70px 0 50px; }
.page-hero--small .container { margin-inline: auto; }
.page-hero--small::after { width: 260px; height: 260px; right: -100px; top: -110px; }
.legal-section { padding-top: 60px; }
.legal { max-width: 820px; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; margin: 2.4rem 0 .8rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #3c3f43; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.legal li + li { margin-top: .3rem; }
.legal a { color: var(--coral-dark); }
.legal__stand { margin-top: 2.4rem; font-size: .9rem; color: var(--muted); }
/* Platzhalter – müssen vor Veröffentlichung ersetzt werden (build.py warnt) */
mark.todo { background: #fff3a8; color: #6b5200; padding: .05em .35em; border-radius: 4px; outline: 1px dashed #d4b000; font-weight: 600; }

/* Honeypot gegen Spam-Bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WhatsApp-Widget */
.wa-widget {
    position: fixed; right: 24px; bottom: 24px; z-index: 150;
    display: flex; align-items: center; gap: .9rem; text-decoration: none;
}
.wa-widget__btn {
    position: relative; width: 62px; height: 62px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .25s;
}
.wa-widget__btn .icon { width: 32px; height: 32px; position: relative; z-index: 1; }
.wa-widget__btn::before, .wa-widget__btn::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: #25d366; animation: wa-pulse 2.2s ease-out infinite;
}
.wa-widget__btn::after { animation-delay: 1.1s; }
@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: .55; }
    100% { transform: scale(1.9); opacity: 0; }
}
.wa-widget:hover .wa-widget__btn { transform: scale(1.08); }
.wa-widget__label {
    background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .85rem;
    padding: .65rem 1rem; border-radius: 999px; box-shadow: var(--shadow-lg); white-space: nowrap;
    opacity: 0; transform: translateX(10px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.wa-widget:hover .wa-widget__label, .wa-widget:focus-visible .wa-widget__label { opacity: 1; transform: none; }
.nav-open .wa-widget { display: none; }

/* Scroll-Animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .dot { animation: none !important; }
    .wa-widget__btn::before, .wa-widget__btn::after { animation: none; opacity: 0; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .features { grid-template-columns: repeat(3, 1fr); }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .nav__list { gap: 1.2rem; }
    .float-card--2 { left: 0; }
}

/* Burger-Menü, sobald das Hauptmenü nicht mehr in eine Zeile passt */
@media (max-width: 1280px) {
    .nav-toggle { display: grid; place-items: center; }
    .header { backdrop-filter: none; background: #fff; } /* sonst wird der Header Bezugsrahmen für position: fixed */
    .nav {
        position: fixed; top: var(--nav-top, 130px); right: 0; bottom: 0; left: 0; background: #fff;
        display: none; flex-direction: column; align-items: stretch;
        padding: 1.5rem; gap: 1.5rem; overflow-y: auto;
    }
    .nav.is-open { display: flex; animation: nav-in .25s ease; }
    @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
    .nav-open { overflow: hidden; }
    .nav-open .nav-toggle .icon--open { display: none; }
    .nav-open .nav-toggle .icon--close { display: block; }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__link { font-size: 1.05rem; padding: 1rem 0; width: 100%; border-bottom: 1px solid var(--line); }
    .nav__link::after { display: none; }
    .nav__item--has-sub > .nav__link::before { display: none; }
    .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: .4rem 0 .8rem; min-width: 0; }
    .nav .btn { align-self: flex-start; }
}

@media (max-width: 1024px) {
    .topbar__info span:nth-child(2) { display: none; }

    .hero__grid, .split, .about, .contact, .cta-band { grid-template-columns: minmax(0, 1fr); }
    .hero__visual { justify-self: center; max-width: 440px; }
    .split--reverse .split__media { order: 0; }
    .split { gap: 3rem; }
    .teasers { grid-template-columns: 1fr; }
    .products, .benefits { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
    .steps::before { display: none; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat { padding: 2rem 1rem; }
    .stat__label { font-size: .75rem; letter-spacing: .04em; overflow-wrap: anywhere; hyphens: auto; }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 3rem 2rem; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .section { padding: 80px 0; }
    .topbar__info { display: none; }
    .topbar .container { justify-content: center; }
    .header .container { min-height: 72px; }
    .header__logo img { height: 38px; }
    .hero { padding-top: 30px; }
    .features, .products, .benefits, .form__grid, .footer__grid { grid-template-columns: minmax(0, 1fr); }
    .mock__row { flex-wrap: wrap; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .float-card { min-width: 0; padding: .8rem 1rem; font-size: .85rem; }
    .float-card--1 { right: 0; }
    .float-card--3 { display: none; }
    .mock { padding: 1.4rem; min-height: 0; }
    .form { padding: 1.6rem; }
    .wa-widget { right: 16px; bottom: 16px; }
    .wa-widget__btn { width: 56px; height: 56px; }
    .wa-widget__label { display: none; }
    .about__card { padding: 2rem; }
    .cta-band::before { width: 160px; height: 160px; right: -70px; top: -80px; }
    .cta-band::after { width: 120px; height: 120px; right: -40px; bottom: -70px; }
    .about__deco { right: -10px; top: -24px; width: 90px; height: 90px; }
    .about__deco--2 { left: -10px; right: auto; top: auto; width: 60px; height: 60px; }
}
