/* ============================================================
   mahnbescheid — Landingpage
   1:1 aus dem Claude-Design-Export übernommen.
   Farb-/Layout-Tokens liegen zentral in css/tokens.css (von
   beiden Seiten geladen). Hier nur Komponenten-/Layout-Styles
   und die seiten-spezifischen sRGB-Hex-Fallbacks (Dateiende).
   Webfonts werden über fonts/fonts.css self-hosted geladen.
   Aktive Konfiguration (im <body> gesetzt):
     data-palette="smaragd"  data-hero="split"
     data-tile="icon"        data-density="comfortable"
   ============================================================ */


  *{ box-sizing: border-box; }
  html, body{ margin: 0; padding: 0; overflow-x: clip; }
  body{ font-size: 16px; line-height: 1.55; }

  a{ color: var(--c-primary); text-decoration: none; text-underline-offset: 2px; text-decoration-thickness: 1px; }
  a:hover{ color: var(--c-primary-700); text-decoration: underline; }
  /* Buttons & Logo nie unterstreichen — auch nicht beim Hover */
  .btn:hover, .brand:hover{ text-decoration: none; }

  h1, h2, h3, h4{ font-family: "IBM Plex Sans", sans-serif; color: var(--c-ink); margin: 0; font-weight: 600; letter-spacing: -0.005em; }
  h1{ font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
  h2{ font-size: 26px; line-height: 1.2; }
  h3{ font-size: 17px; line-height: 1.3; font-weight: 600; }
  p{ margin: 0; }

  .wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

  /* ============ TOP UTILITY BAR ============ */
  .utility{
    background: var(--c-dark);
    color: oklch(0.85 0.008 252);
    font-size: 13px;
    border-bottom: 1px solid var(--c-dark-border);
  }
  .utility .wrap{ display: flex; justify-content: space-between; align-items: center; height: 36px; }
  .utility a{ color: oklch(0.9 0.008 252); text-decoration: none; }
  .utility a:hover{ color: #fff; text-decoration: underline; }
  .util-lang-current{
    color: oklch(0.6 0.008 252);
    cursor: default;
  }
  .utility-left, .utility-right{ display: flex; gap: 24px; align-items: center; }
  .utility-right{ gap: 18px; }
  .util-sep{ width: 1px; height: 14px; background: var(--c-dark-border); display: inline-block; }

  /* ============ HEADER ============ */
  .header{
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
  }
  .header .wrap{ display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
  .brand{ display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--c-ink); }
  .brand-mark{
    width: 40px; height: 40px;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  .brand-mark svg{ width: 100%; height: 100%; display: block; }
  .brand-text{ display: flex; flex-direction: column; line-height: 1.15; }
  .brand-name{ font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
  .brand-name .tld{ color: var(--c-muted); font-weight: 500; }
  .brand-tag{ font-size: 12.5px; color: var(--c-muted); letter-spacing: 0.02em; font-weight: 500; }

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

  .btn{
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    border-radius: var(--r-md);
    font: inherit; font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    transition: background .12s ease;
  }
  .btn-primary{ background: var(--c-primary); color: #fff; }
  .btn-primary:hover{ background: var(--c-primary-700); color: #fff; }
  .btn-ghost{ background: transparent; color: var(--c-primary-700); border-color: var(--c-line); }
  .btn-ghost:hover{ background: var(--c-primary-050); }
  .btn-lg{ padding: 14px 22px; font-size: 16px; }
  .btn-arrow::after{ content: "→"; font-weight: 400; margin-left: 2px; }

  /* ============ MAIN NAV ============ */
  .mainnav{
    background: var(--c-primary);
    color: #fff;
  }
  .mainnav .wrap{ display: flex; }
  .mainnav a{
    color: #fff;
    text-decoration: none;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
  }
  .mainnav a:hover{ background: var(--c-primary-700); }
  .mainnav a.active{ background: var(--c-primary-700); }

  /* ============ HERO ============ */
  .hero{ background: var(--c-surface); padding: 40px 0 var(--pad-y); border-bottom: 1px solid var(--c-line-soft); }
  .hero .wrap{ display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
  /* Grid-Spalten dürfen unter ihre Inhalts-Mindestbreite schrumpfen
     (sonst weiten lange Select-Optionen die Formularspalte auf) */
  .hero .wrap > *{ min-width: 0; }
  .hero h1{ margin-bottom: 18px; font-size: 35px; }
  .hero-lede{ font-size: 18px; line-height: 1.55; color: var(--c-ink-soft); max-width: 56ch; margin-bottom: 28px; }
  .hero-cta{ display: flex; gap: 12px; align-items: center; }

  /* hero benefits */
  .hero-benefits{
    list-style: none; padding: 0;
    display: flex; flex-direction: column; gap: 14px;
    margin: 6px 0 28px;
  }
  .hero-benefit{ display: flex; align-items: start; gap: 12px; }
  .hero-benefit .check{
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--c-ok);
    color: #fff;
    display: grid; place-items: center;
    margin-top: 2px;
  }
  .hero-benefit .check svg{ display: block; }
  .hero-benefit-text{ display: flex; flex-direction: column; gap: 2px; }
  .hero-benefit-title{ font-weight: 600; color: var(--c-ink); letter-spacing: -0.005em; }
  .hero-benefit-desc{ font-size: 15px; color: var(--c-ink-soft); line-height: 1.5; }
  .hero-benefit-desc .tt{
    position: relative;
    display: inline-flex; align-items: center;
    margin-left: 5px; vertical-align: middle;
    cursor: help;
  }
  .hero-benefit-desc .tt-mark{
    width: 15px; height: 15px;
    border-radius: 50%;
    background: transparent;
    border: 1.75px solid var(--c-ink-soft);
    color: var(--c-ink-soft);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    font-family: "IBM Plex Sans", sans-serif;
    line-height: 1;
    font-style: normal;
    text-align: center;
    padding-bottom: 0;
  }
  .hero-benefit-desc .tt-bub{
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    width: 280px;
    max-width: calc(100vw - 32px);
    padding: 12px 14px;
    background: #fff;
    color: var(--c-ink-soft);
    font-size: 12.5px; line-height: 1.55;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s, visibility 0s linear .15s;
    z-index: 10; font-weight: 400;
    text-align: left;
  }
  .hero-benefit-desc .tt:hover .tt-bub,
  .hero-benefit-desc .tt:focus-within .tt-bub{
    opacity: 1; visibility: visible;
    transition: opacity .15s, visibility 0s linear 0s;
  }

  /* hero info card (right column) */
  .hero-card{
    background: #fff;
    border: 1px solid var(--c-line);
    border-top: 4px solid var(--c-primary);
    padding: 28px 28px 24px;
  }
  .hero-card h2{ font-size: 18px; margin-bottom: 4px; }
  .hero-card-sub{ font-size: 15px; color: var(--c-muted); margin-bottom: 22px; }
  .hero-form-row{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
  .hero-form-row label{ font-size: 15px; font-weight: 500; color: var(--c-ink-soft); }
  .hero-form-row input, .hero-form-row select{
    border: 1px solid var(--c-line);
    background: #fff;
    border-radius: var(--r-sm);
    padding: 9px 12px;
    font: inherit;
    color: var(--c-ink);
    width: 100%;
    min-width: 0;          /* lange <option>-Texte dürfen das Feld nicht aufweiten */
    box-sizing: border-box;
    text-overflow: ellipsis;
  }
  .hero-form-row input:focus, .hero-form-row select:focus{ outline: 2px solid var(--c-primary); outline-offset: -1px; border-color: var(--c-primary); }
  .hero-card-foot{
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-line-soft);
    font-size: 13px; color: var(--c-muted);
  }
  .hero-card-foot strong{ color: var(--c-ink); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }


  /* ============ SECTION ============ */
  section.section{ padding: 40px 0; }
  .section-head{ display: flex; align-items: end; justify-content: space-between; margin-bottom: 32px; gap: 32px; }
  .section-head .eyebrow{
    font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--c-primary-700); font-weight: 600; margin-bottom: 10px;
    display: flex; align-items: center; gap: 10px;
  }
  .section-head .eyebrow::before{ content:""; width: 22px; height: 2px; background: var(--c-primary); }
  .section-head p{ color: var(--c-ink-soft); max-width: 56ch; margin-top: 8px; }

  /* ============ STEPS ============ */
  .steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  /* steps section gets soft surface to add rhythm */
  section.section.steps-section{
    background: var(--c-surface-2);
    border-bottom: 1px solid var(--c-line-soft);
  }
  .step{
    background: #fff; border: 1px solid var(--c-line);
    padding: 28px 26px;
    position: relative;
  }
  .step-num{
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 12.5px; font-weight: 600;
    color: var(--c-primary-700);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .step h3{ margin-bottom: 10px; font-size: 18px; }
  .step p{ font-size: 15px; color: var(--c-ink-soft); line-height: 1.55; }
  .step ul{ margin: 12px 0 0 18px; padding: 0; font-size: 15px; color: var(--c-ink-soft); line-height: 1.7; }

  /* ============ FAQ ============ */
  .faq-list{ border-top: 1px solid var(--c-line); }
  .faq-item{ border-bottom: 1px solid var(--c-line); }
  .faq-item summary{
    list-style: none;
    cursor: pointer;
    padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 500; font-size: 16px; color: var(--c-ink);
  }
  .faq-item summary::-webkit-details-marker{ display: none; }
  .faq-item summary::after{
    content: "+";
    font-size: 22px; color: var(--c-primary); font-weight: 400;
    width: 24px; text-align: center;
  }
  .faq-item[open] summary::after{ content: "–"; }
  .faq-item summary:hover{ color: var(--c-primary-700); }
  .faq-body{ padding: 0 0 20px; color: var(--c-ink-soft); font-size: 15px; max-width: 75ch; line-height: 1.6; margin-top: -10px; }

  /* anchor offset */
  [id="vorteile"], [id="ablauf"], [id="faq"], [id="kundenmeinungen"], [id="bestellformular"]{
    scroll-margin-top: 24px;
  }

  /* ============ TESTIMONIALS ============ */
  .testimonials{ background: var(--c-surface-2); border-top: 1px solid var(--c-line-soft); border-bottom: 1px solid var(--c-line-soft); }
  .test-carousel{ position: relative; }
  .test-viewport{ overflow: hidden; }
  .test-track{
    display: flex;
    gap: 28px;
    transition: transform .45s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
  }
  .testimonial{
    background: #fff;
    border: 1px solid var(--c-line);
    padding: 24px 28px;
    margin: 0;
    display: flex; flex-direction: column;
    position: relative;
    flex: 0 0 var(--card-w, calc((100% - 28px) / 2));
    box-sizing: border-box;
    min-width: 0;
  }
  .testimonial-stars{
    display: inline-flex; gap: 3px;
    color: oklch(0.78 0.16 80);
    margin: 0;
  }
  .testimonial-stars svg{ display: block; }
  .testimonial-quote-mark{
    font-family: "IBM Plex Serif", serif;
    font-size: 48px;
    line-height: 1;
    color: var(--c-primary);
    margin: -22px 0 4px;
    user-select: none;
  }
  .testimonial-quote{
    font-size: 16px; line-height: 1.6; color: var(--c-ink);
    margin: 0 0 22px;
    flex: 1;
  }
  .testimonial-meta{
    padding-top: 16px;
    border-top: 1px solid var(--c-line-soft);
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    margin: 0;
  }
  .testimonial-name{ font-size: 14.5px; font-weight: 600; color: var(--c-ink); }

  .test-controls{
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 24px;
    gap: 16px;
  }
  .test-dots{ display: flex; gap: 8px; }
  .test-dot{
    width: 26px; height: 3px;
    background: var(--c-line);
    border: 0; padding: 0; cursor: pointer;
    transition: background .15s;
  }
  .test-dot:hover{ background: oklch(0.75 0.012 252); }
  .test-dot.is-active{ background: var(--c-primary); }
  .test-arrows{ display: flex; gap: 10px; }
  .test-arrow{
    width: 44px; height: 44px;
    border: 1px solid var(--c-line);
    background: #fff;
    color: var(--c-primary-700);
    cursor: pointer;
    display: grid; place-items: center;
    font-size: 18px;
    transition: background .12s, border-color .12s;
  }
  .test-arrow:hover{ background: var(--c-primary-050); border-color: var(--c-primary); }
  .test-arrow:disabled{ opacity: .35; cursor: not-allowed; background: #fff; border-color: var(--c-line); }
  .test-arrow svg{ display: block; }

  /* ============ INFO ============ */
  .info{ background: var(--c-surface); }
  .info-grid{ display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
  .info-prose{ max-width: 64ch; }
  .info-prose .info-lede{
    font-size: 18px; line-height: 1.6; color: var(--c-ink);
    padding-left: 18px; border-left: 3px solid var(--c-primary);
    margin-bottom: 32px;
  }
  .info-prose h3{
    font-size: 18px; margin: 28px 0 10px;
    color: var(--c-ink);
    display: flex; align-items: center; gap: 12px;
  }
  .info-prose h3::before{
    content: ""; width: 18px; height: 1px; background: var(--c-primary);
  }
  .info-prose p{ color: var(--c-ink-soft); }

  .info-aside{
    background: #fff;
    border: 1px solid var(--c-line);
    border-top: 4px solid var(--c-primary);
    padding: 28px 28px 24px;
    position: sticky; top: 24px;
  }
  .info-aside h3{
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 600; color: var(--c-primary-700);
    margin-bottom: 16px;
  }
  .info-facts{ margin: 0; padding: 0; display: flex; flex-direction: column; }
  .info-facts > div{
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line-soft);
    display: flex; flex-direction: column; gap: 3px;
  }
  .info-facts > div:last-child{ border-bottom: 0; }
  .info-facts dt{ font-size: 12.5px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
  .info-facts dd{ margin: 0; font-size: 14.5px; color: var(--c-ink); font-weight: 500; }
  .info-aside-link{
    display: inline-block; margin-top: 18px; font-size: 14.5px; font-weight: 500;
  }

  /* ============ CONTACT CTA ============ */
  .ctablock{
    background: var(--c-primary);
    color: #fff;
    padding: 56px 0;
  }
  .ctablock .wrap{ display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
  .ctablock h2{ color: #fff; margin-bottom: 12px; }
  .ctablock p{ color: oklch(0.92 0.012 252); max-width: 50ch; }
  .cta-actions{ display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
  .cta-actions .btn-primary{ background: #fff; color: var(--c-primary-700); }
  .cta-actions .btn-primary:hover{ background: oklch(0.92 0.012 252); color: var(--c-primary-700); }
  .cta-actions .btn-ghost{ color: #fff; border-color: oklch(0.55 0.06 252); background: transparent; }
  .cta-actions .btn-ghost:hover{ background: var(--c-primary-700); }

  /* ============ FOOTER ============ */
  footer{
    background: var(--c-dark);
    color: oklch(0.78 0.008 252);
    font-size: 14px;
    padding: 56px 0 0;
  }
  footer a{ color: oklch(0.86 0.008 252); text-decoration: none; }
  footer a:hover{ color: #fff; text-decoration: underline; }
  .foot-grid{
    display: grid;
    /* Marke fix (1.3fr); jede Link-Spalte gleich breit (1fr),
       automatisch so viele Spalten wie vorhanden. */
    grid-auto-flow: column;
    grid-template-columns: 1.3fr;
    grid-auto-columns: 1fr;
    gap: 40px;
    padding-bottom: 44px;
  }
  .foot-lockup{ display: flex; align-items: center; gap: 12px; }
  .foot-brand .brand-mark{ width: 36px; height: 36px; }
  .foot-brand .brand-name{ color: #fff; font-size: 20px; }
  .foot-brand .brand-name .tld{ color: oklch(0.65 0.008 252); }
  .foot-brand p{ color: oklch(0.7 0.008 252); margin-top: 14px; font-size: 13.5px; line-height: 1.55; max-width: 32ch; }
  .foot-col h4{
    color: #fff; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px;
  }
  .foot-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
  .foot-bottom{
    border-top: 1px solid var(--c-dark-border);
    padding: 22px 0;
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px;
    color: oklch(0.6 0.008 252); font-size: 13px;
  }
  .foot-bottom-left{ display: flex; flex-direction: column; gap: 5px; }
  .foot-legal{ display: flex; gap: 20px; }
  .foot-pay{ flex-shrink: 0; }
  .foot-pay-badge{
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--c-dark-border);
    border-radius: 5px;
    padding: 6px 11px;
    color: oklch(0.8 0.008 252);
    font-size: 12.5px; font-weight: 500;
  }
  .foot-pay-badge svg{ width: 22px; height: 22px; }

  /* ============ MODAL ============ */
  .modal{
    position: fixed; inset: 0;
    z-index: 10000;
    display: grid; place-items: center;
    padding: 24px;
  }
  .modal[hidden]{ display: none; }
  .modal-backdrop{
    position: absolute; inset: 0;
    background: rgba(15, 31, 61, .55);
    backdrop-filter: blur(2px);
    cursor: pointer;
  }
  .modal-panel{
    position: relative;
    background: #fff;
    border-top: 4px solid var(--c-primary);
    width: 100%; max-width: 520px;
    padding: 36px 40px 32px;
    box-shadow: 0 30px 80px -20px rgba(15,31,61,.4);
    border-radius: 2px;
  }
  .modal-close{
    position: absolute; top: 14px; right: 18px;
    background: transparent; border: 0;
    font-size: 26px; line-height: 1; color: var(--c-muted);
    cursor: pointer; padding: 4px 8px;
  }
  .modal-close:hover{ color: var(--c-ink); }
  .modal-eyebrow{
    font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--c-primary-700); font-weight: 600;
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 10px;
  }
  .modal-eyebrow::before{
    content: ""; width: 22px; height: 2px; background: var(--c-primary);
  }
  .modal-title{ font-size: 22px; line-height: 1.25; margin-bottom: 14px; }
  .modal-body{ font-size: 15px; line-height: 1.6; color: var(--c-ink-soft); margin-bottom: 24px; }
  .modal-actions{ display: flex; justify-content: flex-end; }

  /* ============ HAMBURGER ============ */
  .hamburger{
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--c-line);
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: var(--r-sm);
  }
  .hamburger span{
    display: block;
    width: 18px; height: 2px;
    background: var(--c-ink);
    transition: transform .2s, opacity .2s;
  }
  body.nav-open .hamburger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  body.nav-open .hamburger span:nth-child(2){ opacity: 0; }
  body.nav-open .hamburger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1024px){
    .hero .wrap{ grid-template-columns: 1fr; gap: 32px; }
    [data-hero="split"] .hero-form{ max-width: 520px; margin-inline: auto; width: 100%; }
    .info-grid{ grid-template-columns: 1fr; gap: 28px; }
    .info-aside{ position: static; }
    .foot-grid{ grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  }

  @media (max-width: 768px){
    :root{ --pad-y: 36px; }
    .wrap{ padding: 0 16px; }
    h1{ font-size: 26px; }
    .hero h1{ line-height: 1.2; letter-spacing: -0.015em; font-size: 25px; }
    /* .hero h1 setzt desktop explizit 35px (spezifischer als h1) und muss
       daher mobil eigens reduziert werden — in die Skala oben eingepasst. */
    h2{ font-size: 20px; line-height: 1.25; }
    h3{ font-size: 16px; }
    .hero-lede{ font-size: 16px; line-height: 1.55; margin-bottom: 22px; }

    /* utility bar */
    .utility{ font-size: 12px; }
    .utility .wrap{ height: 32px; }
    .utility-right{ gap: 12px; }
    /* Leeren .utility-left-Platzhalter NICHT ausblenden — so schiebt
       justify-content: space-between die Links nach rechts, exakt wie
       auf der bestellformular.html (rechtsbündige oberste Headerzeile). */

    /* header */
    .header .wrap{ padding-top: 12px; padding-bottom: 12px; }
    .header-actions .btn{ display: none; }
    .hamburger{ display: flex; }
    /* Logo mobil identisch zu Desktop: Mark 40px, Name 22px, Tagline sichtbar
       (keine Mobile-Overrides) */

    /* nav drawer */
    .mainnav{ display: none; }
    body.nav-open .mainnav{ display: block; }
    .mainnav .wrap{ flex-direction: column; padding: 0; }
    .mainnav a{ padding: 13px 16px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.12); width: 100%; }
    .mainnav a.active{ background: var(--c-primary-700); }

    /* eyebrows */
    .section-head .eyebrow{ margin-bottom: 10px; }

    /* hero */
    .hero{ padding: 22px 0 var(--pad-y); }
    .hero-cta{ flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-cta .btn{ justify-content: center; padding: 12px 18px; }
    .hero-benefits{ gap: 12px; margin: 4px 0 22px; }
    .hero-card{ padding: 20px 18px 18px; }
    .hero-card h2{ font-size: 17px; }
    .hero-card-sub{ margin-bottom: 16px; }

    /* sections */
    section.section{ padding: 32px 0; }
    .section-head{ flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 22px; }

    /* steps */
    .steps{ grid-template-columns: 1fr; gap: 14px; }
    .step{ padding: 20px 20px 18px; }
    .step h3{ font-size: 16px; margin-bottom: 8px; }
    .step-num{ margin-bottom: 12px; }

    /* faq */
    .faq-item summary{ padding: 16px 0; gap: 12px; }
    .faq-item summary::after{ font-size: 20px; }

    /* testimonials */
    .testimonials.section{ padding: 32px 0; }
    .testimonial{ padding: 18px 20px 18px !important; }
    .testimonial-quote-mark{ font-size: 36px; margin: -18px 0 4px !important; }
    .testimonial-quote{ line-height: 1.55; margin: 0 0 16px; }
    .testimonial-meta{ padding-top: 12px; gap: 6px; }
    .test-controls{ flex-direction: column-reverse; align-items: stretch; gap: 14px; margin-top: 18px; }
    .test-arrows{ justify-content: center; }
    .test-arrow{ width: 40px; height: 40px; }
    .test-dots{ justify-content: center; }

    /* info aside */
    .info{ padding: 36px 0; }
    .info-grid{ grid-template-columns: 1fr; gap: 24px; }
    .info-aside{ position: static; padding: 20px 20px 18px; }
    .info-aside h3{ margin-bottom: 12px; }
    .info-prose .info-lede{ font-size: 15px; padding-left: 14px; margin-bottom: 22px; }
    .info-prose h3{ font-size: 16px; margin: 22px 0 8px; }
    .info-prose p{ line-height: 1.6; }

    /* CTA block */
    .ctablock{ padding: 36px 0; }
    .ctablock .wrap{ grid-template-columns: 1fr; gap: 18px; }
    .ctablock h2{ font-size: 22px; }
    .cta-actions{ align-items: stretch; gap: 10px; }
    .cta-actions .btn{ justify-content: center; }

    /* footer */
    footer{ padding: 32px 0 0; }
    .foot-grid{ grid-auto-flow: row; grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
    .foot-bottom{ flex-direction: column; gap: 10px; align-items: flex-start; padding: 18px 0; font-size: 12px; }
    .foot-legal{ flex-wrap: wrap; gap: 10px 14px; font-size: 12px; }
    .foot-col h4{ font-size: 12px; }
    .foot-col ul{ font-size: 13.5px; }
    .foot-brand .brand-name{ font-size: 17px; }
    .foot-brand p{ font-size: 12.5px; }

    /* modal */
    .modal-panel{ padding: 28px 22px 24px; }
    .modal-title{ font-size: 19px; }
    .modal-body{ font-size: 14px; }
  }

  /* ============================================================
     LEGACY-FALLBACK — sRGB-Hex für Browser ohne OKLCH-Support
     (vor 2023: Chrome <111, Safari <15.4, Firefox <113).
     Moderne Browser ignorieren diesen Block und verwenden die
     originalen OKLCH-Werte oben. Hex 1:1 aus OKLCH konvertiert
     (Oklab→sRGB). Vollständige Tabelle: TOKENS.md.
     ============================================================ */
  @supports not (color: oklch(0 0 0)){
    .utility{ color: #CACED3; }
    .utility a{ color: #DADEE3; }
    .util-lang-current{ color: #7D8185; }
    .testimonial-stars{ color: #ECAA0B; }
    .test-dot:hover{ background: #A9AFB5; }
    .ctablock p{ color: #DFE5ED; }
    .cta-actions .btn-primary:hover{ background: #DFE5ED; }
    .cta-actions .btn-ghost{ border-color: #587494; }
    footer{ color: #B4B8BC; }
    footer a{ color: #CDD1D6; }
    .foot-brand .brand-name .tld{ color: #8C9094; }
    .foot-brand p{ color: #9B9FA3; }
    .foot-bottom{ color: #7D8185; }
  }

  /* ============================================================
     GENERISCHE SEITEN (page.php) — Impressum, Datenschutz, AGB …
     Lesbare Fließtext-Typografie auf Basis der Design-Tokens.
     ============================================================ */
  .page-section{ background: var(--c-surface); }
  /* Weißer Container über die volle Breite (analog .form-content im Bestellformular) */
  .page-prose{
    background: #fff;
    border: 1px solid var(--c-line);
    padding: 26px;
    position: relative;
  }
  .page-prose-head{ margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--c-line); }
  .page-prose-body{ font-size: 16px; line-height: 1.7; color: var(--c-ink-soft); }
  .page-prose-body > *:first-child{ margin-top: 0; }
  .page-prose-body p{ margin: 0 0 16px; }
  .page-prose-body p:last-of-type{ margin-bottom: 0; }
  .page-prose-body h2{ font-size: 22px; line-height: 1.25; color: var(--c-ink); margin: 32px 0 12px; }
  .page-prose-body h3{ font-size: 18px; line-height: 1.3; color: var(--c-ink); margin: 26px 0 10px; }
  .page-prose-body h4{ font-size: 16px; color: var(--c-ink); margin: 22px 0 8px; }
  .page-prose-body a{ color: var(--c-primary); }
  .page-prose-body a:hover{ color: var(--c-primary-700); }
  .page-prose-body strong{ color: var(--c-ink); font-weight: 600; }
  .page-prose-body ul, .page-prose-body ol{ margin: 0 0 16px; padding-left: 22px; }
  .page-prose-body li{ margin-bottom: 6px; }
  .page-prose-body blockquote{
    margin: 0 0 16px; padding: 4px 0 4px 18px;
    border-left: 3px solid var(--c-primary); color: var(--c-ink);
  }
  .page-prose-body img{ max-width: 100%; height: auto; }
  .page-prose-body table{ width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
  .page-prose-body th, .page-prose-body td{ text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--c-line-soft); vertical-align: top; }
  .page-prose-body th{ color: var(--c-ink); font-weight: 600; }
  .page-prose-body hr{ border: 0; border-top: 1px solid var(--c-line); margin: 28px 0; }
  .page-pagination{ margin-top: 24px; font-size: 14px; display: flex; gap: 10px; }
  @media (max-width: 768px){
    .page-prose{ padding: 20px; }
  }

  /* ============================================================
     GLOSSAR (page-glossar.php) — A–Z-Sprungleiste + Akkordeon
     ============================================================ */
  /* Einleitung direkt unter der H1 (im Seitenkopf) */
  .glossary .page-prose-head .glossary-lede{ font-size: 17px; line-height: 1.6; color: var(--c-ink-soft); margin: 10px 0 0; }
  /* A–Z-Sprungleiste */
  .glossary-az{
    display: flex; flex-wrap: wrap; gap: 6px;
    margin: 0 0 28px; padding: 14px 16px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-line-soft);
  }
  .glossary-az a, .glossary-az span{
    width: 36px; height: 36px;
    display: grid; place-items: center;
    font-size: 15px; font-weight: 600;
    border-radius: var(--r-sm);
  }
  .glossary-az a{ color: var(--c-primary-700); background: #fff; border: 1px solid var(--c-line); }
  .glossary-az a:hover{ background: var(--c-primary-050); border-color: var(--c-primary); text-decoration: none; }
  .glossary-az span.is-empty{ color: var(--c-muted); opacity: 0.45; }
  /* Buchstaben-Überschriften (Sprungziele) */
  .glossary-letter{
    font-size: 24px; color: var(--c-primary-700);
    margin: 38px 0 6px; padding-bottom: 8px;
    border-bottom: 2px solid var(--c-primary);
    scroll-margin-top: 16px;
  }
  .glossary-content > .glossary-letter:first-child{ margin-top: 6px; }
  /* Begriffe als Akkordeon (analog FAQ) */
  .glossary-item{ border-bottom: 1px solid var(--c-line); }
  .glossary-item summary{
    list-style: none; cursor: pointer;
    padding: 15px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    font-weight: 600; font-size: 16px; color: var(--c-ink);
  }
  .glossary-item summary::-webkit-details-marker{ display: none; }
  .glossary-item summary::after{
    content: "+"; font-size: 22px; color: var(--c-primary); font-weight: 400;
    width: 24px; text-align: center; flex-shrink: 0;
  }
  .glossary-item[open] summary::after{ content: "–"; }
  .glossary-item summary:hover{ color: var(--c-primary-700); }
  .glossary-body{ padding: 0 0 18px; color: var(--c-ink-soft); font-size: 15px; line-height: 1.6; max-width: 100ch; }
  .glossary-body p{ margin: 0 0 10px; }
  .glossary-body p:last-child{ margin-bottom: 0; }
  .glossary-body a{ color: var(--c-primary); }
  .glossary-body strong{ color: var(--c-ink); font-weight: 600; }
  .glossary-note{ margin: 16px 0 0 !important; font-size: 13.5px; color: var(--c-muted); }

  @media (max-width: 768px){
    .glossary-az{ gap: 5px; padding: 12px; }
    .glossary-az a, .glossary-az span{ width: 32px; height: 32px; font-size: 14px; }
    .glossary-letter{ font-size: 21px; margin-top: 30px; }
  }

/* ============================================================
   ABLAUFPLAN / ZEITSTRAHL  (mv = Mahnverfahren)
   Vertikale Timeline für eine Unterseite. Das Markup wird als
   HTML in den Seiteneditor eingefügt (Custom-HTML-Block):
   <section class="mv-flow"> … pro Schritt ein
   .mv-row > .mv-marker + .mv-card. Letzter Schritt: .mv-row--end.
   ============================================================ */
.mv-flow{
  --mv-accent:   var(--c-primary, #005E42);
  --mv-rail:     var(--c-line, #e3ded3);
  --mv-ink:      var(--c-ink, #20262b);
  --mv-soft-ink: var(--c-ink-soft, #49555f);
  --mv-radius:   var(--r-md, 4px);
  position: relative;
  margin: 1rem 0 0 0;
  color: var(--mv-ink);
}
/* Durchgehende Schiene (bis zur Unterkante der letzten Box) */
.mv-flow::before{
  content: "";
  position: absolute;
  left: 21px; top: 18px; bottom: 0;
  width: 2px;
  background: var(--mv-rail);
}
.mv-row{ position: relative; padding-left: 64px; margin-bottom: 1rem; }
.mv-flow .mv-row:last-of-type{ margin-bottom: 0; }
.mv-marker{
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--mv-accent);
  color: #fff;
  font-weight: 700; font-size: 16px; line-height: 1;
  box-shadow: 0 0 0 4px #fff;        /* maskiert die Schiene hinter dem Marker */
  z-index: 1;
}
.mv-marker svg{ width: 20px; height: 20px; }
.mv-card{
  background: #fff;
  border: 1px solid var(--mv-rail);
  border-radius: var(--mv-radius);
  padding: 15px 18px;
}
.mv-eyebrow{
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--mv-accent);
  margin: 0 0 5px;
}
.mv-card h3{
  margin: 0; font-size: 16px; line-height: 1.35; font-weight: 700;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--mv-ink);
}
.mv-card p{
  margin: 7px 0 0; font-size: 14px; line-height: 1.6;
  color: var(--mv-soft-ink);
}
/* Zielstation hervorheben */
.mv-row--end .mv-card{ border-color: var(--mv-accent); }
.mv-row--end .mv-eyebrow{ color: var(--mv-accent); }

@media (max-width: 560px){
  .mv-flow::before{ left: 17px; }
  .mv-row{ padding-left: 52px; }
  .mv-marker{ width: 36px; height: 36px; font-size: 14px; }
  .mv-marker svg{ width: 17px; height: 17px; }
  .mv-card h3{ font-size: 15px; }
}

/* ============================================================
   FORDERUNGSRECHNER (Page Template "Forderungsrechner")
   Eingaben + Ergebnis-Aufstellung; Logik in forderungsrechner.js.
   ============================================================ */
.forderungsrechner .fr{ max-width: 560px; margin: 8px 0 0; }
.fr-field{ margin-bottom: 18px; }
.fr-field > label,
.fr-field > .fr-label{
  display: block; font-size: 14px; font-weight: 600;
  color: var(--c-ink); margin: 0 0 7px;
}
.fr-input{
  font: inherit; color: var(--c-ink);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: 10px 12px; width: 200px; max-width: 100%;
  box-sizing: border-box;
}
.fr-input:focus{
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-050);
}
.fr-seg{
  display: inline-flex; max-width: 100%;
  border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden;
}
.fr-seg button{
  border: 0; background: #fff; font: inherit; cursor: pointer;
  padding: 10px 18px; color: var(--c-ink-soft);
}
.fr-seg button + button{ border-left: 1px solid var(--c-line); }
.fr-seg button[aria-pressed="true"]{ background: var(--c-primary); color: #fff; font-weight: 600; }
.fr-result{
  background: var(--c-surface-2); border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: 4px 18px; margin: 4px 0 12px;
}
.fr-row{
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--c-line-soft);
  font-size: 15px; color: var(--c-ink-soft);
}
.fr-row:last-child{ border-bottom: 0; }
.fr-row b{ color: var(--c-ink); font-weight: 600; }
.fr-sub{ color: var(--c-muted); font-size: 13px; }
.fr-row.fr-total{ font-size: 19px; }
.fr-row.fr-total span,
.fr-row.fr-total b{ color: var(--c-ink); font-weight: 700; }
.fr-meta{ margin: 0 0 18px; font-size: 13px; color: var(--c-muted); }
.fr-disclaimer{
  margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--c-line);
  font-size: 13px; line-height: 1.6; color: var(--c-muted);
}
@media (max-width: 560px){
  .fr-input{ width: 100%; }
  .fr-seg{ width: 100%; }
  .fr-seg button{ flex: 1; }
}
