/*===================================================
Project: ProductSuite – Produktdatenpflege-Software
Stylesheet: Redesign 2026
====================================================*/

@import url("root.css");

:root {
    --brand: #84cc16;
    --brand-dark: #5f960c;
    --brand-darker: #3f6606;
    --brand-tint: #f4fbe6;
    --brand-tint-2: #e8f6cd;

    --ink: #14180d;
    --ink-2: #3c4436;
    --ink-3: #6b7464;
    --line: #e6e9e1;
    --surface: #ffffff;
    --surface-2: #fafbf7;

    --danger: #dc2626;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(20, 24, 13, .05), 0 2px 8px rgba(20, 24, 13, .04);
    --shadow: 0 2px 6px rgba(20, 24, 13, .05), 0 12px 32px rgba(20, 24, 13, .07);
    --shadow-lg: 0 8px 24px rgba(20, 24, 13, .08), 0 32px 64px rgba(20, 24, 13, .10);

    --container: 1180px;
    --header-h: 92px;
}

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

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

body {
    margin: 0;
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Layout ---------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
/* Gleicher Innenabstand oben wie unten in der Sektion direkt unter dem Hero */
.hero + .section {
    padding-top: clamp(16px, 3.5vw, 48px);
    padding-bottom: clamp(16px, 3.5vw, 48px);
}
/* Newsletter und Merkmale rücken enger zusammen */
#newsletter { padding-bottom: clamp(20px, 2.5vw, 32px); }
#newsletter + .section { padding-top: clamp(32px, 4vw, 52px); }

/* Merkmale und Outro-CTA rücken enger zusammen */
#merkmale { padding-bottom: 0; }
#merkmale + .section--tight { padding-top: clamp(40px, 4.5vw, 60px); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--surface-2); }
.section--tinted { background: var(--brand-tint); }

.stack > * + * { margin-top: 20px; }

/* ---------- Typography helpers ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--brand-darker);
    background: var(--brand-tint-2);
    border-radius: 999px;
    padding: 7px 16px;
}

.h1 { font-size: clamp(36px, 4.2vw, 52px); }
.h2 { font-size: clamp(30px, 3.8vw, 44px); }
.h3 { font-size: clamp(23px, 2.4vw, 30px); }
.h4 { font-size: 20px; }

.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-3); }
.muted { color: var(--ink-3); }

/* Einleitungstext über Bullet-Listen – bewusst kleiner als der Hero-Lead */
.intro { font-size: 16px; line-height: 1.7; color: var(--ink-3); }
.split__body .lead { font-size: 16px; line-height: 1.7; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }

.accent { color: var(--brand-dark); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    padding: 17px 30px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.btn i { font-size: .9em; }

.btn-primary {
    background: var(--brand);
    color: #14180d;
    box-shadow: 0 6px 18px rgba(132, 204, 22, .32);
}
.btn-primary:hover {
    /* bleibt im hellen Markengruen, Feedback ueber Aufhellung und Anheben */
    background: #97e01c;
    color: #14180d;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(132, 204, 22, .45);
}

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }

.btn-sm { padding: 13px 22px; font-size: 15px; }

.btn-light {
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
}
.btn-light:hover { transform: translateY(-2px); color: var(--brand-darker); }



.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--brand-dark);
    outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease, transform .28s ease;
}
.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 20px rgba(20, 24, 13, .05);
}
/* Header blendet beim Runterscrollen aus und kommt beim Hochscrollen zurück */
.site-header.is-hidden { transform: translateY(-100%); }

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

.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 64px; width: auto; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav__links a {
    display: block;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink-2);
    transition: background-color .18s ease, color .18s ease;
}
.nav__links a:hover { background: var(--brand-tint); color: var(--brand-darker); }

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

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
}

.badge-soon {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(20, 24, 13, .12);
    padding: 4px 8px;
    border-radius: 999px;
}

@media (max-width: 991px) {
    .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav__menu {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        padding: 20px 24px 28px;
        display: none;
        flex-direction: column;
        gap: 18px;
    }
    .nav__menu.is-open { display: flex; }
    .nav__links { flex-direction: column; align-items: stretch; gap: 2px; margin: 0; }
    .nav__links a { padding: 12px 14px; font-size: 17px; }
    .nav__cta .btn { width: 100%; }
}

@media (min-width: 992px) {
    .nav__menu { display: flex; align-items: center; gap: 24px; flex: 1; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: clamp(48px, 6vw, 84px) 0 clamp(24px, 4vw, 64px);
    background:
        radial-gradient(900px 420px at 12% -10%, var(--brand-tint-2), transparent 65%),
        radial-gradient(700px 380px at 92% 0%, #f7fee7, transparent 60%);
    overflow: hidden;
}

.hero__inner {
    display: grid;
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
}

/* Video ragt rechts über den Container hinaus, der Text bleibt am Raster */
@media (min-width: 1240px) {
    .hero__media { margin-right: -80px; }
}

.hero__copy { max-width: 560px; }
.hero .h1 { margin-top: 20px; }
.hero__lead { margin-top: 20px; }
.hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__media video,
.hero__media img {
    width: 100%;
    display: block;
    border-radius: var(--radius);
}

/* ---------- Cards / Grids ---------- */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 991px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--brand-tint-2);
}

.card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    color: var(--brand-darker);
    background: var(--brand-tint);
    border: 1px solid var(--brand-tint-2);
    margin-bottom: 20px;
}
.card h3 { font-size: 21px; }
.card p { margin-top: 10px; font-size: 16px; color: var(--ink-3); }

/* ---------- Split (Zielgruppe / Features) ---------- */

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}
@media (max-width: 899px) {
    .split { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 900px) {
    .split--reverse .split__media { order: -1; }
}

.split__media img { width: 100%; }

.checklist { margin-top: 28px; display: grid; gap: 16px; }
.checklist li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 14px;
    align-items: start;
    font-size: 17px;
    color: var(--ink-2);
}
.checklist i {
    color: var(--brand-dark);
    font-size: 18px;
    margin-top: 4px;
}

.feature-list { margin-top: 26px; display: grid; gap: 14px; }
.feature-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    align-items: start;
    color: var(--ink-3);
    font-size: 16px;
}
.feature-list strong { color: var(--ink); display: block; }
.feature-list i { color: var(--brand-dark); margin-top: 5px; }

.features-stack { display: grid; gap: clamp(64px, 8vw, 112px); }

/* ---------- Steps Box (Zahlenstrahl) ---------- */

.steps-box {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background:
        radial-gradient(720px 420px at 14% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
        radial-gradient(640px 480px at 88% 106%, #dcdfd7 0%, rgba(220, 223, 215, 0) 60%),
        linear-gradient(158deg, #f4f5f1 0%, #e9ebe4 100%);
    color: var(--ink-2);
    padding: clamp(36px, 5vw, 72px);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.steps-box .h2 { color: var(--ink); max-width: 28ch; }

.stepline {
    counter-reset: none;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: clamp(36px, 4vw, 56px) 0 clamp(32px, 4vw, 48px);
}

.stepline__item { position: relative; }

.stepline__num {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--brand);
    color: var(--brand-darker);
    background: #fff;
    font-size: 19px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.stepline__item h3 { font-size: 18px; color: var(--ink); }
.stepline__item p { margin-top: 8px; font-size: 15px; color: var(--ink-3); }

@media (min-width: 768px) {
    .stepline__item::before {
        content: "";
        position: absolute;
        top: 23px;
        left: 48px;
        right: -28px;
        height: 2px;
        background: rgba(20, 24, 13, .14);
    }
    .stepline__item:last-child::before { display: none; }
}

@media (max-width: 767px) {
    .stepline { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .stepline__num { margin-bottom: 14px; }
    /* Headline in der Box mobil kleiner halten */
    .steps-box .h2 { font-size: 26px; max-width: none; }
}

/* ---------- Steps ---------- */

.steps { counter-reset: step; }
.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 26px 28px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.step__num {
    counter-increment: step;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: #14180d;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.step h3 { font-size: 20px; }
.step p { margin-top: 10px; color: var(--ink-3); font-size: 16px; }

@media (min-width: 992px) {
    .steps .step::after {
        content: "";
        position: absolute;
        top: 54px;
        right: -26px;
        width: 26px;
        height: 1px;
        border-top: 2px dashed var(--brand-tint-2);
    }
    .steps .step:last-child::after { display: none; }
}

/* ---------- Integrationen ---------- */

.integration {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.integration:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--brand-tint-2);
}
.integration__logo {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: var(--brand-tint);
    border: 1px solid var(--brand-tint-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    /* identisch zur Füllfarbe des OXID-SVGs */
    color: var(--brand);
}
.integration__logo img { width: 30px; height: 30px; }
.integration h3 { font-size: 18px; }

.tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-3);
}
.tag--beta {
    background: var(--brand-tint);
    border-color: var(--brand-tint-2);
    color: var(--brand-darker);
}

/* ---------- Merkmale ---------- */

.h2-em {
    font-style: italic;
    font-weight: 500;
    color: var(--ink-3);
}

.merkmale {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 40px);
    margin-top: clamp(48px, 6vw, 76px);
}

@media (max-width: 991px) { .merkmale { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .merkmale { grid-template-columns: minmax(0, 1fr); } }

.merkmal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 18px;
    color: var(--brand-darker);
    background: var(--brand-tint);
    border: 1px solid var(--brand-tint-2);
}

.merkmal h3 { font-size: 17px; }
.merkmal p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }

/* ---------- Vergleichstabelle ---------- */

#vergleich {
    background: #f7f7f7;
    /* halber Innenabstand oben gegenüber den übrigen Sektionen */
    padding-top: clamp(32px, 4.5vw, 60px);
}

.compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: clamp(40px, 5vw, 60px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}

.compare {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    text-align: left;
}

.compare th,
.compare td {
    padding: 18px 24px;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.compare thead th {
    background: var(--surface-2);
    font-size: 15px;
    letter-spacing: .02em;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.compare tbody th {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    width: 26%;
}

.compare td {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-3);
    width: 37%;
}

/* Hervorgehobene ProductSuite-Spalte */
.compare .col-ps { background: var(--brand-tint); }
.compare thead .col-ps { background: var(--brand-tint-2); color: var(--brand-darker); }
.compare td.col-ps { color: var(--ink-2); }

.compare .mark {
    display: inline-flex;
    margin-right: 9px;
}
.compare .mark--no { color: var(--danger); }
.compare .mark--yes { color: var(--brand-dark); }

.compare-hint {
    margin-top: 14px;
    font-size: 14px;
    color: var(--ink-3);
}

/* Mobil bricht die Tabelle in Karten um – eine Zeile pro Aufgabe, kein Querscrollen */
@media (max-width: 767px) {
    /* Ein zusammenhängender Block – die Zeilen werden nur durch Trennstriche geteilt */
    .compare-scroll { overflow: visible; }

    .compare,
    .compare tbody,
    .compare tbody tr,
    .compare tbody th,
    .compare tbody td { display: block; width: auto; }

    .compare { min-width: 0; }
    .compare thead { display: none; }

    .compare tbody tr {
        padding: 24px 20px;
        border-bottom: 1px solid var(--line);
    }
    .compare tbody tr:last-child { border-bottom: 0; }

    /* Kategorie-Label im Stil der Pre-Headlines.
       display:inline + box-decoration-break:clone gibt jeder Zeile eine eigene Box. */
    .compare tbody th {
        display: inline;
        border: 0;
        padding: 6px 16px;
        line-height: 2.45;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--brand-darker);
        background: var(--brand-tint-2);
        border-radius: 999px;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
    }

    /* Icon und Spaltenname stehen in einer Zeile, der Text bricht darunter um */
    .compare tbody td {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 0;
        border: 0;
        font-size: 15px;
    }
    .compare tbody td:first-of-type { margin-top: 20px; }
    .compare tbody td + td { margin-top: 16px; }

    .compare tbody td::before {
        content: attr(data-label);
        order: 2;
        font-weight: 700;
        font-size: 16px;
        color: var(--ink);
    }

    .compare tbody td .mark { order: 1; }

    .compare tbody td .cell-text {
        order: 3;
        flex: 0 0 100%;
        margin-top: 4px;
    }

    /* Beide Vergleichsspalten bündig – ohne farbige Box */
    .compare tbody td.col-ps { background: transparent; }
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: var(--brand-tint-2); box-shadow: var(--shadow); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    padding: 22px 26px;
    font-weight: 700;
    font-size: 18px;
    color: var(--ink);
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    color: var(--brand-dark);
    flex: none;
    transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-item .faq-body {
    padding: 0 26px 24px;
    color: var(--ink-3);
    font-size: 16px;
}

/* ---------- CTA ---------- */

.cta-box {
    position: relative;
    text-align: center;
    border-radius: var(--radius-lg);
    padding: clamp(48px, 6vw, 78px) 28px;
    background:
        radial-gradient(680px 420px at 18% 8%, #d9f99d 0%, rgba(217, 249, 157, 0) 60%),
        radial-gradient(760px 520px at 84% 110%, #65a30d 0%, rgba(101, 163, 13, 0) 62%),
        var(--brand);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box .h2 { color: #14180d; }
.cta-box p { margin-top: 16px; color: #2c3a12; font-size: 19px; }
.cta-box .btn { margin-top: 30px; }

/* ---------- Coming Soon ---------- */

.soon {
    background:
        radial-gradient(760px 420px at 12% -10%, var(--brand-tint-2) 0%, rgba(232, 246, 205, 0) 62%),
        radial-gradient(680px 460px at 92% 6%, #f7fee7 0%, rgba(247, 254, 231, 0) 58%);
}

.soon__inner {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.soon__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 32px;
    border-radius: 20px;
    font-size: 28px;
    color: var(--brand-darker);
    background: #fff;
    border: 1px solid var(--brand-tint-2);
    box-shadow: var(--shadow);
}

.soon__actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.soon__list {
    margin-top: clamp(40px, 5vw, 56px);
    padding-top: clamp(32px, 4vw, 40px);
    border-top: 1px solid var(--brand-tint-2);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    text-align: left;
}
@media (max-width: 599px) { .soon__list { grid-template-columns: minmax(0, 1fr); } }

.soon__list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    font-size: 16px;
    color: var(--ink-3);
}
.soon__list i { color: var(--brand-dark); margin-top: 4px; }

/* ---------- Newsletter ---------- */

.newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    padding: clamp(32px, 4.5vw, 64px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--brand-tint-2);
    background:
        radial-gradient(680px 400px at 8% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
        var(--brand-tint);
}

@media (min-width: 900px) {
    .newsletter { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

.newsletter__list { margin-top: 26px; }
.newsletter__list li { font-size: 16px; }

.newsletter__form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 34px);
    box-shadow: var(--shadow);
}
.newsletter__form .btn {
    width: 100%;
    white-space: normal;
}

.checkbox {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
}
.checkbox input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--brand-dark);
    cursor: pointer;
}
.checkbox label {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-2);
    cursor: pointer;
}

/* ---------- Rechtstexte ---------- */

.legal { max-width: 820px; }
.legal > * + * { margin-top: 18px; }

.legal h2 {
    margin-top: clamp(40px, 5vw, 56px);
    font-size: clamp(22px, 2.2vw, 28px);
}
.legal h3 {
    margin-top: 32px;
    font-size: 19px;
}
.legal p,
.legal li { font-size: 16px; line-height: 1.75; color: var(--ink-2); }

.legal ul {
    list-style: disc;
    padding-left: 22px;
    display: grid;
    gap: 8px;
}
.legal ul li { padding-left: 4px; }

.legal a {
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
.legal a:hover { color: var(--brand-darker); }

.legal .lead + h2 { margin-top: clamp(32px, 4vw, 44px); }

.legal-box {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 26px;
}
.legal-box p + p { margin-top: 12px; }

.legal-updated {
    margin-top: clamp(40px, 5vw, 56px);
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink-3);
}

/* ---------- Kontakt ---------- */

.contact-hero {
    background:
        radial-gradient(760px 420px at 10% -10%, var(--brand-tint-2) 0%, rgba(232, 246, 205, 0) 62%),
        radial-gradient(680px 460px at 96% 4%, #f7fee7 0%, rgba(247, 254, 231, 0) 58%);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
}
@media (min-width: 900px) {
    .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.contact-direct {
    margin-top: clamp(32px, 4vw, 48px);
    padding-top: 28px;
    border-top: 1px solid var(--brand-tint-2);
}
.contact-direct h2 {
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.contact-direct a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--ink-2);
    line-height: 2.1;
    transition: color .18s ease;
}
.contact-direct a:hover { color: var(--brand-dark); }
.contact-direct i { color: var(--brand-dark); width: 18px; }

.form-note {
    font-size: 14px;
    color: var(--ink-3);
}

.form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(28px, 4vw, 48px);
}

/* minmax(0,1fr) verhindert, dass nicht umbrechbare Inhalte (z. B. Buttons mit
   white-space:nowrap) die Spalte über die Kartenbreite hinaus aufziehen. */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; color: var(--ink); }
.field label .muted { font-weight: 500; }
.field input,
.field textarea {
    font: inherit;
    font-size: 16px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus,
.field textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(132, 204, 22, .18);
    outline: none;
}
.field textarea { min-height: 160px; resize: vertical; }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--surface-2);
    border-top: 1px solid var(--line);
    padding-top: clamp(56px, 6vw, 80px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
}
@media (max-width: 991px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.site-footer .logo { height: 64px; width: auto; margin-bottom: 20px; }
.site-footer p { color: var(--ink-3); font-size: 15px; }
.site-footer p + p { margin-top: 14px; }
.site-footer h3 {
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 16px;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a {
    color: var(--ink-3);
    font-size: 15px;
    transition: color .18s ease;
}
.site-footer ul a:hover { color: var(--brand-dark); }

.footer-bottom {
    margin-top: clamp(40px, 5vw, 64px);
    border-top: 1px solid var(--line);
    padding: 24px 0;
    text-align: center;
    font-size: 15px;
    color: var(--ink-3);
}
.footer-bottom a { color: var(--brand-dark); font-weight: 600; }

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin-bottom: 14px;
}
.footer-legal a { color: var(--ink-2); }
.footer-legal a:hover { color: var(--brand-dark); }
@media (min-width: 600px) { .footer-bottom a { white-space: nowrap; } }

/* ---------- Back to top ---------- */

.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--brand-dark); border-color: var(--brand); }

/* ---------- Reveal animation ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.22, .8, .3, 1), transform .6s cubic-bezier(.22, .8, .3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand);
    color: #14180d;
    padding: 12px 20px;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 700;
    z-index: 200;
}
.skip-link:focus { left: 0; }
/*===================================================
  TESTVARIANTE Hero "hero--bold"
  Aktiv über die Klasse .hero--bold am <section class="hero">.
  Zum Zurücksetzen: Klasse im Markup entfernen (dieser Block kann dann
  ebenfalls gelöscht werden, er wirkt sich ohne die Klasse nicht aus).
====================================================*/

.hero--bold {
    position: relative;
    isolation: isolate;
    /* Grauer Grundton, darüber locker verteilte, unterschiedlich geformte
       Farbwolken – bewusst asymmetrisch, damit es nicht wie ein Raster wirkt. */
    background:
        radial-gradient(1100px 460px at 18% -22%, rgba(232, 246, 205, .95) 0%, rgba(232, 246, 205, 0) 70%),
        radial-gradient(680px 720px at 78% -12%, rgba(247, 254, 231, .9) 0%, rgba(247, 254, 231, 0) 66%),
        radial-gradient(520px 380px at 96% 58%, rgba(219, 240, 186, .55) 0%, rgba(219, 240, 186, 0) 72%),
        radial-gradient(760px 300px at 34% 118%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 68%),
        linear-gradient(168deg, #f6f7f4 0%, #eff0ec 54%, #f7f8f5 100%);
}

/* Feines Punktraster, nach unten ausgeblendet */
.hero--bold::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle, rgba(20, 24, 13, .17) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 74%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 74%);
    pointer-events: none;
}
