/* Gemeinsame Basis für die Plattform-Seiten (Startseite, Reihe, Takt).
   Gleiche Palette wie terminbuchung.html, System-Fonts (kein Webfont-Request). */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #fff; color: #1D1D1F; line-height: 1.5;
}

:root {
    --blue:    #0071E3;
    --blue-hv: #0077ED;
    --black:   #1D1D1F;
    --gray2:   #6E6E73;
    --gray4:   #AEAEB2;
    --surface: #E8ECF3;
    --soft:    #F5F5F7;
    --border:  #D2D2D7;

    /* Modulfarben: Termin blau, Reihe orange, Takt grün */
    --termin:      #0071E3;
    --termin-bg:   #E8F1FC;
    --reihe:       #C25E00;
    --reihe-bg:    #FFF1E3;
    --takt:        #1F8A4C;
    --takt-bg:     #E6F5EC;
}

a { color: var(--blue); }

/* ── Nav ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: 60px; border-bottom: 1px solid var(--border);
    backdrop-filter: saturate(180%) blur(20px);
    background: rgba(255,255,255,0.88);
}
nav .inner {
    max-width: 1120px; margin: 0 auto; height: 100%;
    padding: 0 24px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 35px; font-weight: 900; letter-spacing: -0.03em; color: var(--black); text-decoration: none; }
.nav-logo .ok { color: #2563eb; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--black); text-decoration: none; opacity: 0.8; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-links a[aria-current] { font-weight: 600; }
.nav-links .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-hamburger {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; border-radius: 8px; color: var(--black);
}
@media (max-width: 759px) {
    .nav-hamburger { display: flex; align-items: center; justify-content: center; }
    .nav-links {
        display: none; position: fixed; top: 60px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0; background: #fff;
        border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(0,0,0,0.08);
        padding: 8px 24px 12px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
    .nav-links a:last-child { border-bottom: none; }
}

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; cursor: pointer; border: none; font-family: inherit;
    transition: background .2s, transform .2s; font-weight: 500; line-height: 1;
    border-radius: 980px; min-height: 44px;
}
.btn-primary { background: var(--blue); color: #fff; padding: 16px 32px; font-size: 17px; }
.btn-primary:hover { background: var(--blue-hv); transform: translateY(-1px); }
.btn-sm { background: var(--blue); color: #fff; padding: 11px 20px; font-size: 14px; }
.btn-sm:hover { background: var(--blue-hv); }
.btn-ghost { color: var(--blue); padding: 16px 20px; font-size: 17px; background: none; }
.btn-ghost:hover { text-decoration: underline; }
.btn-white { background: #fff; color: var(--black); padding: 18px 40px; font-size: 18px; }
.btn-white:hover { background: #f0f0f0; }

/* ── Typo ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.label {
    font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--blue);
}
.h1 {
    font-size: clamp(34px, 4.2vw, 56px); font-weight: 700;
    letter-spacing: -0.028em; line-height: 1.08; text-wrap: balance;
}
.h2 {
    font-size: clamp(28px, 3.2vw, 42px); font-weight: 700;
    letter-spacing: -0.022em; line-height: 1.12; text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--gray2); line-height: 1.55; max-width: 620px; }
section { padding: 96px 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ── Hero ── */
.hero {
    padding: 150px 0 90px;
    background: linear-gradient(180deg, var(--surface) 0%, #fff 75%);
}
.hero .label { margin-bottom: 16px; }
.hero-mods { font-size: 14px; letter-spacing: 0.12em; color: var(--black); display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; }
.hero-mods i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.hero .h1 { margin-bottom: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; align-items: center; }
.hero.center .hero-ctas { justify-content: center; }
.trust { margin-top: 22px; font-size: 14px; color: var(--gray2); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero.center .trust { justify-content: center; }

/* ── Modul-Kacheln (Startseite) ── */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 919px) { .modules { grid-template-columns: 1fr; } }
.module {
    position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 32px 28px 28px;
    background: var(--soft); color: var(--black); text-decoration: none;
    border: 1px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.module:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); border-color: var(--border); }
.module .icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
}
.module .icon svg { width: 26px; height: 26px; }
.module .name { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.module .name small { display: block; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--gray2); margin-top: 6px; }
.module p { margin: 16px 0 20px; color: #3a3a3c; font-size: 16px; }
.module ul { list-style: none; font-size: 15px; color: #3a3a3c; display: grid; gap: 8px; margin-bottom: 26px; }
.module li { padding-left: 22px; position: relative; }
.module li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; }
.module .more { margin-top: auto; font-weight: 600; font-size: 15px; }
.badge {
    display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 980px;
    margin-left: 8px; vertical-align: 4px; letter-spacing: 0.01em;
}

.is-termin .icon { background: var(--termin-bg); color: var(--termin); }
.is-termin .more, .is-termin .label-mod { color: var(--termin); }
.is-reihe  .icon { background: var(--reihe-bg);  color: var(--reihe); }
.is-reihe  .more, .is-reihe .label-mod  { color: var(--reihe); }
.is-takt   .icon { background: var(--takt-bg);   color: var(--takt); }
.is-takt   .more, .is-takt .label-mod   { color: var(--takt); }
.module .badge { position: absolute; top: 34px; right: 28px; margin: 0; }
.badge-live { background: #E3F4E8; color: #1B7A3E; }
.badge-soon { background: #FFF4D6; color: #8A5A00; }

/* ── Gemeinsame Werte ── */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
@media (max-width: 919px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 519px) { .values { grid-template-columns: 1fr; } }
.value h3 { font-size: 19px; letter-spacing: -0.02em; margin: 14px 0 6px; }
.value p { color: var(--gray2); font-size: 15px; }
.value .v-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--black); }

/* ── Feature-Raster (Modulseiten) ── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 919px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { background: var(--soft); border-radius: 20px; padding: 28px 26px; }
.feat h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.feat p { color: #3a3a3c; font-size: 15px; }
.feat .tag { display: inline-block; font-size: 12px; font-weight: 600; margin-top: 12px; color: var(--gray2); }

/* ── Schritte ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; counter-reset: step; }
@media (max-width: 819px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 58px; }
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 700; font-size: 18px;
    background: var(--black); color: #fff;
}
.step h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 6px; }
.step p { color: var(--gray2); font-size: 16px; }

/* ── Split (Text + Visual) ── */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 919px) { .split { grid-template-columns: 1fr; gap: 48px; } }

/* ── Preise ── */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
@media (max-width: 919px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 519px) { .prices { grid-template-columns: 1fr; } }
.price { border: 1px solid var(--border); border-radius: 20px; padding: 26px 22px; }
.price.featured { border: 2px solid var(--reihe); }
.price .p-tag { font-size: 14px; font-weight: 600; color: var(--gray2); }
.price .p-amount { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; margin: 8px 0 2px; }
.price .p-per { font-size: 14px; color: var(--gray2); margin-bottom: 16px; }
.price ul { list-style: none; font-size: 14px; display: grid; gap: 6px; color: #3a3a3c; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--gray2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: #3a3a3c; font-size: 16px; }

/* ── Final CTA ── */
.final-cta { background: var(--black); color: #fff; text-align: center; padding: 110px 24px; }
.final-cta h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
.final-cta p { color: rgba(255,255,255,0.7); font-size: 19px; margin: 18px auto 36px; max-width: 560px; }
.final-cta .sub { font-size: 14px; margin: 24px 0 0; color: rgba(255,255,255,0.5); }

/* ── Footer ── */
footer { background: var(--soft); padding: 64px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 819px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-brand { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.footer-tagline { color: var(--gray2); margin-top: 8px; }
.footer-col-title { font-weight: 600; margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--gray2); text-decoration: none; }
.footer-links a:hover { color: var(--black); }
.footer-bar { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--gray2); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .module, .btn { transition: none; }
    .module:hover, .btn-primary:hover { transform: none; }
}
