/* ==========================================================
   layout.css — Struktur, Komponenten, Responsive
   ========================================================== */

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

body { position: relative; }

section,
header,
footer,
main {
    max-width: 100%;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.container--narrow { max-width: 900px; }

.section { padding: var(--section-space) 0; position: relative; }
.section--tight { padding: calc(var(--section-space) * .6) 0; }
.section--alt { background: var(--surface-alt); }
.section--white { background: var(--surface); }
.section--dark { background: var(--surface-deep); color: var(--on-dark); }
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark .lead,
.section--dark .muted { color: var(--on-dark-muted); }
.section--dark .eyebrow { color: var(--sage); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px 64px;
    align-items: end;
}
.section-head--split h2 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--primary);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-head);
    font-weight: 650;
    font-size: 15.5px;
    letter-spacing: .005em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
    white-space: nowrap;
}
.btn:hover { background: var(--primary-hover); color: #fff; box-shadow: var(--shadow-md); }
.btn .arrow { transition: transform .3s var(--ease); flex: none; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface); color: var(--text); border-color: var(--text); box-shadow: none; }

.btn--light { background: #fff; color: var(--surface-deep); }
.btn--light:hover { background: var(--solar-soft); color: var(--surface-deep); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; box-shadow: none; }

.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 14.5px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 650;
    color: var(--primary);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .35s var(--ease);
    padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1px; }
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 244, 238, .86);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled {
    border-color: var(--border);
    box-shadow: 0 6px 24px -18px rgba(24, 33, 28, .35);
    background: rgba(246, 244, 238, .94);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 750;
    font-size: 18.5px;
    letter-spacing: -.02em;
    min-width: 0;
}
.logo:hover { color: var(--text); }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    position: relative;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 550;
    padding: 10px 12px;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 5px;
    height: 1.5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.burger {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    cursor: pointer;
    position: relative;
    flex: none;
    padding: 0;
}
.burger span {
    position: absolute;
    left: 14px; right: 14px;
    height: 1.8px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .35s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: var(--bg);
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a:not(.btn) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 2px;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 650;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -.01em;
}
.mobile-nav a[aria-current="page"] { color: var(--primary); }
.mobile-nav .btn { margin-top: 28px; width: 100%; }
.mobile-nav__meta { margin-top: 28px; color: var(--muted); font-size: 15px; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { margin-bottom: 34px; }
.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero__tags li { display: inline-flex; align-items: center; gap: 8px; }
.hero__tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--solar); }
.hero__note {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    color: var(--muted);
    max-width: 56ch;
}
.hero__note strong { color: var(--text); }

/* ---------- Bild-Slots (Platzhalter bis zur Bildlieferung) ---------- */
.media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 85% 0%, rgba(227, 180, 72, .28), transparent 55%),
        linear-gradient(180deg, #dfe6e1 0%, #e9e6dc 58%, #dcd6c8 100%);
    aspect-ratio: 4 / 3;
    isolation: isolate;
}
.media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, center);
    z-index: 2;
}
@media (max-width: 600px) {
    .media img { object-position: var(--pos-m, var(--pos, center)); }
}
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1 / 1; }

/* abstrakte Dach-/Modul-Grafik als ruhiger Platzhalter */
.media::before {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -2%;
    height: 58%;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 15%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.22) 0 1px, transparent 1px 22%),
        linear-gradient(160deg, #2b3d4a 0%, #1f2e38 100%);
    clip-path: polygon(8% 100%, 26% 18%, 74% 18%, 92% 100%);
    opacity: .9;
    z-index: 0;
}
.media::after {
    content: "";
    position: absolute;
    width: 22%;
    aspect-ratio: 1;
    top: 12%;
    right: 14%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 222, 150, .95) 0%, rgba(227, 180, 72, .55) 45%, transparent 70%);
    z-index: 0;
}
.media--soft::before {
    clip-path: polygon(0 100%, 0 62%, 50% 22%, 100% 62%, 100% 100%);
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 12%),
        linear-gradient(180deg, #8ea596 0%, #6f8f86 100%);
    height: 64%;
    opacity: .55;
}
.media--detail::before {
    left: 0; right: 0; bottom: 0; top: 0; height: auto;
    clip-path: none;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 2px, transparent 2px 25%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.28) 0 2px, transparent 2px 33.3%),
        linear-gradient(135deg, #2c4150 0%, #1b2832 60%, #33505f 100%);
    transform: perspective(600px) rotateX(28deg) scale(1.3);
    transform-origin: 50% 100%;
}
.media.has-image::before,
.media.has-image::after { display: none; }

.media__badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 32px);
    background: rgba(255, 255, 255, .92);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.media__badge::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

.hero__media { position: relative; }
.hero__card {
    position: absolute;
    left: -28px;
    bottom: 28px;
    z-index: 4;
    width: min(290px, 70%);
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 20px 22px;
}
.hero__card .mono { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero__card p { font-size: 14.5px; margin: 8px 0 0; line-height: 1.5; }

/* ---------- Trust-Leiste ---------- */
.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.trust-strip__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.trust-strip__list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 26px 24px;
    border-left: 1px solid var(--border);
}
.trust-strip__list li:first-child { border-left: 0; padding-left: 0; }
.trust-strip__list strong { display: block; font-family: var(--font-head); font-size: 16px; }
.trust-strip__list span { font-size: 14.5px; color: var(--muted); line-height: 1.5; display: block; }
.trust-strip .icon { margin-top: 2px; }

/* ---------- Icons ---------- */
.icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
}
.icon svg { width: 22px; height: 22px; }
.icon--solar { background: var(--solar-soft); color: #8a6512; }
.icon--plain { background: transparent; width: auto; height: auto; }

/* ---------- Grids & Karten ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: clamp(24px, 2.4vw, 32px);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.card h3 { margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card .text-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card--flat { background: transparent; }
.card--alt { background: var(--surface-alt); border-color: transparent; }
.card__num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--primary);
    letter-spacing: .1em;
}
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card ul li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.5;
}
.card ul li::before {
    content: "";
    position: absolute;
    left: 2px; top: .62em;
    width: 9px; height: 1.5px;
    background: var(--primary);
}

.section--dark .card {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.1);
}
.section--dark .card p { color: var(--on-dark-muted); }
.section--dark .card h3 { color: #fff; }
.section--dark .icon { background: rgba(169, 191, 168, .14); color: var(--sage); }

/* Listen mit Häkchen */
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; line-height: 1.55; }
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 2px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5d46' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }

/* Kennzahl-/Info-Zeilen */
.info-rows { border-top: 1px solid var(--border); margin-top: 28px; }
.info-rows > div {
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.info-rows dt { font-family: var(--font-head); font-weight: 650; }
.info-rows dd { margin: 0; color: var(--muted); }

/* ---------- Funktionsweise-Flow ---------- */
.flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    counter-reset: flow;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    overflow: hidden;
}
.flow li {
    position: relative;
    padding: 30px 28px 32px;
    border-left: 1px solid var(--border);
    min-width: 0;
}
.flow li:first-child { border-left: 0; }
.flow li::after {
    content: "";
    position: absolute;
    top: 50px;
    right: -13px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5d46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
    border: 1px solid var(--border);
    z-index: 2;
}
.flow li:last-child::after { display: none; }
.flow h3 { margin: 18px 0 8px; font-size: 19px; }
.flow p { color: var(--muted); font-size: 15px; margin: 0; }
.flow .step-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

/* ---------- Prozess / Timeline ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps > li {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
}
.steps > li:last-child { border-bottom: 1px solid var(--border); }
.steps .step-no {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--primary);
    padding-top: 4px;
}
.steps .step-no b {
    display: block;
    font-family: var(--font-head);
    font-size: 34px;
    letter-spacing: -.03em;
    color: var(--text);
    line-height: 1;
    margin-top: 6px;
}
.steps h3 { margin: 0 0 8px; }
.steps p { color: var(--muted); margin: 0; max-width: 70ch; }
.steps--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.steps--grid > li:nth-last-child(2) { border-bottom: 1px solid var(--border); }

.start-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    position: relative;
}
.start-steps li {
    position: relative;
    padding-top: 26px;
    min-width: 0;
}
.start-steps li::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--border);
}
.start-steps li::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 1.1s var(--ease);
}
.start-steps.is-visible li::after { width: 100%; }
.start-steps li:nth-child(2)::after { transition-delay: .15s; }
.start-steps li:nth-child(3)::after { transition-delay: .3s; }
.start-steps li:nth-child(4)::after { transition-delay: .45s; }
.start-steps li:nth-child(5)::after { transition-delay: .6s; }
.start-steps .mono { font-size: 13px; color: var(--primary); }
.start-steps h3 { font-size: 18px; margin: 10px 0 8px; }
.start-steps p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Preise ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.price-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 2.6vw, 36px);
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.price-card__tag {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}
.price-card__name {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 12px;
    font-weight: 500;
}
.price-card h3 { margin: 0 0 10px; }
.price-card > p { color: var(--muted); font-size: 15.5px; }
.price-card__size {
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 18px 0;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
    color: var(--muted);
}
.price-card__size b { font-family: var(--font-head); color: var(--text); font-size: 17px; }
.price-card__price {
    font-family: var(--font-head);
    font-size: clamp(34px, 3.4vw, 44px);
    font-weight: 750;
    letter-spacing: -.03em;
    line-height: 1.05;
    margin: 6px 0 4px;
}
.price-card__price small { font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-right: 4px; }
.price-card__label { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.price-card ul li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; }
.price-card ul li::before {
    content: "";
    position: absolute; left: 0; top: .35em;
    width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5d46' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-card .btn { margin-top: auto; }

.price-disclaimer {
    margin-top: 28px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background: var(--solar-soft);
    border: 1px solid #ecd9a6;
    font-size: 15.5px;
    line-height: 1.6;
    color: #3d3420;
}
.price-disclaimer + .price-disclaimer { margin-top: 12px; }

/* ---------- Editorial ---------- */
.editorial {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: end;
}
.editorial__title {
    font-size: clamp(32px, 4.6vw, 60px);
    line-height: 1.06;
    letter-spacing: -.035em;
    margin: 0;
}
.editorial__title span { color: var(--primary); }
.section--dark .editorial__title span { color: var(--solar); }
.editorial__text p { color: var(--muted); }
.section--dark .editorial__text p { color: var(--on-dark-muted); }

.deco-line {
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
    margin: clamp(36px, 5vw, 64px) 0;
}
.deco-line::after {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: var(--primary);
    transition: width 1.6s var(--ease);
}
.deco-line.is-visible::after { width: 100%; }
.section--dark .deco-line { background: rgba(255,255,255,.12); }
.section--dark .deco-line::after { background: var(--solar); }

.quote-line {
    font-family: var(--font-head);
    font-size: clamp(21px, 2.2vw, 28px);
    line-height: 1.35;
    letter-spacing: -.015em;
    font-weight: 600;
    margin: 0 0 20px;
    color: var(--text);
}
.quote-line--accent { padding-left: 22px; border-left: 3px solid var(--solar); }

/* ---------- CTA-Band ---------- */
.cta-band {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 64px);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 28px 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    right: -80px; top: -120px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 180, 72, .35), transparent 65%);
    pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(25px, 2.8vw, 36px); margin-bottom: 12px; position: relative; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; position: relative; max-width: 62ch; }
.cta-band .btn-row { position: relative; }

/* ---------- Marquee ---------- */
.js-marquee-wrap {
    overflow: hidden;
    max-width: 100vw;
    padding: clamp(36px, 5vw, 64px) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    user-select: none;
}
.js-mq-row {
    display: flex;
    width: max-content;
    font-family: var(--font-head);
    font-size: clamp(20px, 3vw, 38px);
    font-weight: 750;
    letter-spacing: -.01em;
    text-transform: uppercase;
    line-height: 1.25;
    color: var(--text);
    opacity: .12;
    white-space: nowrap;
}
.js-mq-row + .js-mq-row { margin-top: 10px; }
.mq-track { display: flex; flex: none; }
.mq-item { display: inline-flex; align-items: center; }
.mq-item::after {
    content: "";
    display: inline-block;
    width: .32em; height: .32em;
    border-radius: 50%;
    background: currentColor;
    margin: 0 .8em;
}
.js-mq-row.fwd { animation: mq-fwd 60s linear infinite; }
.js-mq-row.rev { animation: mq-rev 66s linear infinite; }
.js-marquee-wrap:hover .js-mq-row { animation-play-state: paused; }
@keyframes mq-fwd { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mq-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- FAQ ---------- */
.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq { border-top: 1px solid var(--border-strong); }
.faq-item { border-bottom: 1px solid var(--border-strong); }
.faq-item h3 { margin: 0; font-size: inherit; letter-spacing: 0; }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--font-head);
    font-size: clamp(17px, 1.4vw, 19px);
    font-weight: 650;
    color: var(--text);
    cursor: pointer;
    line-height: 1.4;
    min-height: 48px;
}
.faq-q:hover { color: var(--primary); }
.faq-q .plus {
    flex: none;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    position: relative;
    transition: background-color .3s, border-color .3s, transform .4s var(--ease);
}
.faq-q .plus::before,
.faq-q .plus::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 12px; height: 1.6px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform .4s var(--ease);
}
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .plus { background: var(--primary); border-color: var(--primary); color: #fff; }
.faq-q[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a .faq-a__inner { padding: 0 52px 26px 0; color: var(--muted); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a[hidden] { display: grid; }
.faq-group-title { margin: 48px 0 8px; font-size: 22px; }
.faq-group-title:first-child { margin-top: 0; }

/* ---------- Ratgeber-Karten ---------- */
.guide-card { padding: 0; overflow: hidden; }
.guide-card .media { border-radius: 0; aspect-ratio: 16 / 10; }
.guide-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.guide-card__body h3 { margin: 10px 0 10px; }
.guide-card__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.article { padding: 40px 0; border-top: 1px solid var(--border); }
.article:first-of-type { border-top: 0; padding-top: 0; }
.article h2 { font-size: clamp(25px, 2.6vw, 34px); }

/* ---------- Formular ---------- */
.form-wrap {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3.4vw, 44px);
    box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    font: inherit;
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318211c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(47, 93, 70, .15);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13.5px; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { font-size: 13px; color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 14px; color: var(--muted); margin-top: 18px; line-height: 1.55; }
.form-thanks {
    margin: 8px 0 4px;
    font-family: var(--font-head);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
    color: var(--text);
}
.form-status { margin-top: 14px; font-size: 14.5px; color: var(--error); }
.form-status:empty { display: none; }
.form-actions { margin-top: 26px; }

.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .k { font-size: 13px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; display: block; }
.contact-list a, .contact-list .v { font-family: var(--font-head); font-weight: 650; font-size: 17px; color: var(--text); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--primary); }

/* ---------- Transparenz ---------- */
.transparency {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr);
    gap: 28px 56px;
    background: var(--surface);
}
.transparency h2 { font-size: clamp(25px, 2.6vw, 34px); }
.transparency ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.transparency li { font-size: 15.5px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--border); }
.transparency li strong { display: block; color: var(--text); font-family: var(--font-head); margin-bottom: 4px; }

/* ---------- Innenseiten-Hero ---------- */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--border); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.page-hero h1 { font-size: clamp(34px, 4.8vw, 58px); margin-bottom: 20px; }
.page-hero--media .page-hero__grid { align-items: center; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }

/* Rechtstexte */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); font-size: 14.5px; }
.toc p { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 16px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--primary); border-left-color: var(--primary); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(23px, 2.3vw, 29px); margin-top: 52px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; font-size: 19px; }
.prose p, .prose li { color: #343d37; }
.prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose .note {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 15.5px;
}
.ph {
    display: inline;
    background: var(--solar-soft);
    border: 1px dashed #c9a24a;
    border-radius: 4px;
    padding: 1px 6px;
    font-family: var(--font-mono);
    font-size: .86em;
    color: #5b4511;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15px; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table th { font-family: var(--font-head); font-weight: 650; background: var(--surface-alt); }
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-deep); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: 15px; }
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
    gap: 40px 32px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo:hover { color: #fff; }
.footer-about p { margin: 18px 0 0; max-width: 36ch; line-height: 1.6; }
.footer-col h2 {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sage);
    margin: 6px 0 16px;
    font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--solar); }
.footer-col button.link-btn {
    background: none; border: 0; padding: 0; font: inherit; color: var(--on-dark); cursor: pointer; text-align: left;
}
.footer-col button.link-btn:hover { color: var(--solar); }
.footer-contact { margin-top: 22px; display: grid; gap: 6px; }
.footer-bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    font-size: 14px;
}

/* ---------- Danke-Seite ---------- */
.thanks {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px var(--gutter);
}
.thanks__card {
    max-width: 640px;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 6vw, 64px);
    text-align: center;
    box-shadow: var(--shadow-md);
}
.thanks__icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin: 0 auto 28px;
}
.thanks h1 { font-size: clamp(30px, 4vw, 44px); }
.thanks p { color: var(--muted); }
.thanks .btn { margin-top: 28px; }
.thanks .logo { justify-content: center; margin-bottom: 36px; }
.thanks__steps { text-align: left; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--border); list-style: none; display: grid; gap: 10px; font-size: 15.5px; color: var(--muted); }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 300;
    max-width: 620px;
    margin-left: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 60px -20px rgba(24, 33, 28, .35);
    padding: 24px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.cookie-banner.is-visible { transform: none; opacity: 1; }
.cookie-banner h2 { font-size: 19px; margin-bottom: 8px; }
.cookie-banner p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { flex: 1 1 auto; min-height: 46px; padding: 10px 18px; font-size: 14.5px; }

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 310;
    background: rgba(24, 33, 28, .45);
    display: grid;
    place-items: center;
    padding: 16px;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal__box {
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 4vw, 36px);
    box-shadow: var(--shadow-md);
}
.cookie-modal__box h2 { font-size: 23px; }
.cookie-cat { border-top: 1px solid var(--border); padding: 16px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; }
.cookie-cat h3 { margin: 0; font-size: 16.5px; }
.cookie-cat p { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.switch { position: relative; width: 50px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--border-strong); transition: background-color .25s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 3px solid var(--solar); outline-offset: 2px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-media { clip-path: inset(8% 8% 8% 8% round var(--radius-lg)); transition: clip-path 1.1s var(--ease); }
.js .reveal-media.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* Kartenneigung nur bei Maus */
@media (hover: hover) and (pointer: fine) {
    .tilt { transform-style: preserve-3d; will-change: transform; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
    .main-nav a { padding: 10px 9px; font-size: 14.5px; }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
    .main-nav, .header-actions .btn { display: none; }
    .burger { display: block; }
    .start-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
}

@media (max-width: 1024px) {
    .grid-3, .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing .price-card:last-child { grid-column: 1 / -1; }
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow li:nth-child(3) { border-left: 0; }
    .flow li:nth-child(n+3) { border-top: 1px solid var(--border); }
    .flow li:nth-child(2)::after { display: none; }
    .hero__card { left: 16px; }
    .faq-layout { grid-template-columns: minmax(0, 1fr); }
    .faq-layout .section-head { position: static; }
    .transparency { grid-template-columns: minmax(0, 1fr); }
    .legal-layout { grid-template-columns: minmax(0, 1fr); }
    .toc { position: static; }
    .trust-strip__list { grid-template-columns: minmax(0, 1fr); }
    .trust-strip__list li { border-left: 0; border-top: 1px solid var(--border); padding: 18px 0; }
    .trust-strip__list li:first-child { border-top: 0; }
}

@media (max-width: 900px) {
    .hero__grid,
    .split,
    .editorial,
    .form-wrap,
    .page-hero__grid,
    .section-head--split { grid-template-columns: minmax(0, 1fr); }
    .split--reverse > :first-child { order: 0; }
    .cta-band { grid-template-columns: minmax(0, 1fr); }
    .steps--grid { grid-template-columns: minmax(0, 1fr); }
    .steps--grid > li:nth-last-child(2) { border-bottom: 0; }
    .media--tall { aspect-ratio: 4 / 3; }
    .hero__media { margin-top: 8px; }
}

@media (max-width: 768px) {
    :root { --header-h: 68px; }
    body { font-size: 16.5px; }
    .grid-2, .grid-3, .pricing { grid-template-columns: minmax(0, 1fr); }
    .pricing .price-card:last-child { grid-column: auto; }
    .check-list--two, .transparency ul { grid-template-columns: minmax(0, 1fr); }
    .start-steps { grid-template-columns: minmax(0, 1fr); }
    .info-rows > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps > li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .steps .step-no b { display: inline; font-size: 26px; margin-left: 8px; }
}

@media (max-width: 600px) {
    .flow { grid-template-columns: minmax(0, 1fr); }
    .flow li { border-left: 0; border-top: 1px solid var(--border); }
    .flow li:first-child { border-top: 0; }
    .flow li::after { display: block; top: auto; bottom: -13px; right: auto; left: 28px; transform: rotate(90deg); }
    .flow li:nth-child(2)::after { display: block; }
    .flow li:last-child::after { display: none; }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .btn-row .btn { width: 100%; }
    .btn { white-space: normal; text-align: center; }
    .hero__card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -40px; margin-left: 0; }
    .hero__media .media { margin: 0; }
    .faq-a .faq-a__inner { padding-right: 0; }
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 20px; }
    .cookie-actions .btn { flex: 1 1 100%; }
    .price-card__tag { left: 20px; }
}

@media (max-width: 430px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .logo { font-size: 17px; }
    .logo__mark { width: 30px; height: 30px; }
    .data-table th, .data-table td { padding: 10px 8px; font-size: 14px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .js-mq-row.fwd, .js-mq-row.rev { animation: none !important; transform: none !important; }
    .js-mq-row { flex-wrap: wrap; width: auto; white-space: normal; }
    .js-mq-row .mq-track[aria-hidden="true"] { display: none; }
    .mq-track { flex-wrap: wrap; }
    .js .reveal { opacity: 1; transform: none; }
    .js .reveal-media { clip-path: none; }
}

/* ---------- Schutz vor horizontalem Überlauf (muss am Ende stehen) ---------- */
html,
body {
    overflow-x: hidden !important;
    max-width: 100vw;
}
