  /* Fonts are loaded via <link> in the HTML head, not @import (parallel loading). */

  /* Single light palette. This page commits to one light visual world;
     it does not follow the viewer's dark mode. Tinted bands are a soft
     blue drawn from the brand teal/navy. */
  :root {
    color-scheme: light;
    --ground: #FCFDFE;
    --surface: #FFFFFF;
    --sand: #D6E8EE;
    --sand-deep: #C5DEE6;
    --sand-line: #A8CBD5;
    --line: #D2DEE3;
    --grey-note: #EDEFF1;
    --grey-note-line: #DDE1E4;
    --ink: #12243C;
    --muted: #55616F;
    --navy: #082E53;
    --teal: #2EA5B5;
    --teal-ink: #0F5C66;
    --focus: #2EA5B5;

    --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --wrap: 1080px;
    --pad: clamp(1.25rem, 5vw, 4rem);
    --section: clamp(3.75rem, 8vw, 6.5rem);
  }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 { font-family: var(--font-sans); color: var(--ink); margin: 0; text-wrap: balance; }
  p { margin: 0; }
  a { color: var(--teal-ink); text-decoration: none; }
  a:hover { text-decoration: underline; text-underline-offset: 3px; }
  :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
  img { max-width: 100%; }

  .wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
  .eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-ink);
    margin: 0 0 1.1rem;
  }
  .lede { color: var(--muted); font-size: 1.1875rem; line-height: 1.6; }
  .body-col { max-width: 62ch; }
  .body-col p + p { margin-top: 1rem; }

  .btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    padding: 0.95rem 1.5rem;
    border-radius: 3px;
    background: var(--teal);
    color: #04252B;
    transition: filter .15s ease;
  }
  .btn:hover { filter: brightness(1.06); text-decoration: none; }
  .btn--outline {
    background: transparent;
    color: var(--teal-ink);
    border: 1.5px solid var(--teal);
    padding: 0.55rem 1.1rem;
    font-size: 0.9375rem;
  }
  .btn--outline:hover { background: var(--sand); filter: none; text-decoration: none; }

  .site-header {
    position: relative;
    z-index: 30;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem;
    padding: 1.15rem var(--pad);
    border-bottom: 1px solid var(--line);
    background: var(--ground);
  }
  .logo-svg { width: 236px; height: 15px; display: block; }
  .nav { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
  .nav a { color: var(--ink); font-weight: 500; font-size: 0.9375rem; }
  .nav a:hover { color: var(--teal-ink); text-decoration: none; }

  .lang-switch { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--muted); }
  .lang-switch:hover { color: var(--teal-ink); }
  .lang-switch .flag { width: 1.15rem; height: auto; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(8,46,83,0.12); }

  .nav-item { position: relative; }
  .dropdown-toggle {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-family: var(--font-sans); font-weight: 500; font-size: 0.9375rem;
    color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer;
  }
  .dropdown-toggle:hover { color: var(--teal-ink); }
  .dropdown-toggle .caret { width: 0.6rem; height: 0.6rem; transition: transform .15s ease; }
  .dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
  .dropdown-menu {
    display: none;
    flex-direction: column;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
  }
  .nav-item.is-open .dropdown-menu { display: flex; }
  .dropdown-menu a { display: block; padding: 0.5rem 0; font-size: 0.9375rem; color: var(--muted); }
  .dropdown-menu a:hover { color: var(--teal-ink); }

  .nav-toggle {
    display: none;
    align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem;
    padding: 0; border: 0; background: transparent; cursor: pointer;
  }
  .nav-toggle svg { width: 1.5rem; height: 1.5rem; display: block; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }

  /* hero */
  .hero { padding-block: clamp(3rem, 6vw, 4.75rem) var(--section); }
  .hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }
  .hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
  }
  .hero .lede { margin-top: 1.5rem; max-width: 46ch; }
  .hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 2.25rem; }
  .hero-note { color: var(--muted); font-size: 0.9375rem; max-width: 30ch; }

  .portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    overflow: hidden;
    background: var(--navy);
  }
  .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
  .portrait::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--ground) 0%, rgba(0,0,0,0) 22%);
    pointer-events: none;
  }
  .portrait .ph {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: #93A9BE; text-align: center; padding: 0 1rem;
  }

  /* credibility */
  .cred { border-block: 1px solid var(--sand-line); background: var(--sand); }
  .cred ul {
    list-style: none; margin: 0; padding-block: 1.75rem;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  }
  .cred li { font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
  .cred li + li { border-left: 1px solid var(--sand-line); padding-left: 1.5rem; }

  /* section */
  .section { padding-block: var(--section); }
  .section h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
    max-width: 24ch;
  }
  .section--tint { background: var(--sand); border-block: 1px solid var(--sand-line); }

  /* problem */
  .problem-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .figures { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
  .figure { background: var(--surface); padding: 1.5rem 1.4rem; }
  .figure b {
    display: block;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 1.85rem;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .figure span { display: block; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-ink); margin-top: 0.15rem; }
  .figure p { font-size: 0.9375rem; color: var(--muted); margin-top: 0.6rem; line-height: 1.55; }
  .problem-grid .body-col p:last-child { margin-top: 1.25rem; color: var(--ink); font-weight: 500; }

  /* bausteine */
  .blocks {
    margin-top: 2.75rem;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--line);
    border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  }
  .block { background: var(--surface); padding: 1.6rem 1.5rem; }
  .block h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
  .block p { margin-top: 0.6rem; font-size: 0.9375rem; line-height: 1.6; color: var(--muted); }
  .blocks-foot { margin-top: 1.5rem; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
  .price {
    font-family: var(--font-mono); font-weight: 500; font-size: 0.9375rem;
    color: var(--ink); background: var(--surface);
    border: 1px solid var(--teal); border-radius: 3px; padding: 0.5rem 0.8rem;
    white-space: nowrap;
  }
  .blocks-foot span { color: var(--muted); font-size: 0.9375rem; }

  /* calendar embed (Kontakt) */
  .calendar-embed { margin-top: 1.5rem; }
  .calendar-embed__placeholder {
    border: 1px solid var(--line); border-radius: 4px;
    background: var(--surface);
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .calendar-embed__placeholder p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; max-width: 30rem; margin: 0 auto; }
  .calendar-embed__placeholder .btn { margin-top: 1.25rem; }
  .calendly-inline-widget { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }

  /* ablauf */
  .steps { margin-top: 2.75rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
  .step { border-top: 2px solid var(--teal); padding-top: 1rem; }
  .step b { font-family: var(--font-mono); font-size: 0.9375rem; color: var(--teal-ink); }
  .step h3 { font-size: 1.0625rem; font-weight: 600; margin-top: 0.5rem; }
  .step p { font-size: 0.9375rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.55; }

  /* auch möglich */
  .also { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 1rem; }
  .also h3 { font-size: 1.1875rem; font-weight: 600; }
  .also p { margin-top: 0.7rem; color: var(--muted); font-size: 1rem; line-height: 1.6; }
  .also a { display: inline-block; margin-top: 0.9rem; font-weight: 600; font-size: 0.9375rem; }

  /* stimmen: single quote on the subpage */
  .quotes { margin-top: 2.75rem; }
  .quote { border-left: 2px solid var(--teal); padding-left: 1.25rem; }
  .quote p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink); }
  .quote footer { margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); }
  .quote footer b { color: var(--ink); font-weight: 500; }

  /* stimmen: rotating quotes on the home page, centred */
  .stimmen { text-align: center; }
  .stimmen h2 { margin-inline: auto; }
  .rotator { display: grid; max-width: 58ch; margin: 2.75rem auto 0; }
  .rquote { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .55s ease; }
  .rquote:not(.is-active) { pointer-events: none; }
  .rquote.is-active { opacity: 1; }
  .rquote p { font-size: 1.125rem; line-height: 1.62; color: var(--ink); }
  .rquote footer { margin-top: 1.1rem; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); }
  .rquote footer b { color: var(--ink); font-weight: 500; }

  /* scroll reveal (below-the-fold content only; visible without JS) */
  .reveal { transition: opacity .6s ease, transform .6s ease; }
  .reveal.reveal-pending { opacity: 0; transform: translateY(16px); }

  /* cta */
  .cta-band { background: var(--sand-deep); border-block: 1px solid var(--sand-line); }
  .cta-band .wrap { padding-block: clamp(3rem, 7vw, 5rem); text-align: center; }
  .cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 600; max-width: 26ch; margin-inline: auto; }
  .cta-band p { color: var(--muted); margin: 1rem auto 0; max-width: 46ch; }
  .cta-band .btn { margin-top: 1.75rem; }

  /* footer */
  .footer { background: var(--sand-deep); border-top: 1px solid var(--sand-line); }
  .footer .wrap { padding-block: 3.25rem; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
  .footer address { font-style: normal; font-size: 0.875rem; line-height: 1.8; margin-top: 1.1rem; color: var(--muted); }
  .footer address a { color: var(--muted); }
  .footer nav { display: flex; flex-direction: column; gap: 0.6rem; }
  .footer nav a { color: var(--muted); font-size: 0.875rem; }
  .footer nav a:hover { color: var(--ink); text-decoration: none; }
  .footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--sand-line); padding-top: 1.25rem; font-size: 0.8125rem; color: var(--muted); }

  /* review divider (scaffolding note, not part of the site) */
  .review-band { background: var(--grey-note); border-block: 1px solid var(--grey-note-line); }
  .review-band .wrap { padding-block: 1rem; display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
  .review-band .tag { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-ink); }
  .review-band .txt { font-size: 0.875rem; color: var(--muted); }

  /* cookie consent banner */
  .cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(8, 46, 83, 0.12);
    padding: 1.25rem var(--pad);
  }
  .cookie-banner[hidden] { display: none; }
  .cookie-banner__inner { max-width: var(--wrap); margin: 0 auto; }
  .cookie-banner p { font-size: 0.9375rem; color: var(--muted); margin: 0; }
  .cookie-banner a { color: var(--teal-ink); }
  .cookie-banner__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1rem; }
  .cookie-banner__actions .btn, .cookie-banner__actions .btn--outline { padding: 0.6rem 1.1rem; font-size: 0.9375rem; }
  .cookie-banner__settings { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
  .cookie-banner__settings[hidden] { display: none; }
  .cookie-banner__settings label { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9375rem; color: var(--ink); margin-bottom: 0.6rem; }

  /* buy modal (Buch page) */
  .buy-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
  .buy-modal[hidden] { display: none; }
  .buy-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 46, 83, 0.45); }
  .buy-modal__panel {
    position: relative;
    background: var(--surface);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    max-width: 22rem; width: 100%;
    box-shadow: 0 20px 48px rgba(8, 46, 83, 0.25);
  }
  .buy-modal__panel h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 1.25rem; }
  .buy-modal__close {
    position: absolute; top: 0.75rem; right: 0.9rem;
    background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted);
  }
  .buy-modal__option {
    display: block; padding: 0.85rem 1rem; margin-bottom: 0.6rem;
    border: 1px solid var(--line); border-radius: 4px;
    font-weight: 600; color: var(--ink); text-align: center;
  }
  .buy-modal__option:hover { border-color: var(--teal); background: var(--sand); text-decoration: none; }
  .buy-modal__option:last-child { margin-bottom: 0; }

  /* legal pages (AGB, Impressum) */
  .legal h2 { font-size: 1.25rem; font-weight: 600; margin-top: 2.5rem; }
  .legal h2:first-child { margin-top: 0; }
  .legal h3 { font-size: 1.05rem; font-weight: 600; margin-top: 1.5rem; }
  .legal p { margin-top: 0.85rem; color: var(--muted); line-height: 1.7; }
  .legal ul { margin-top: 0.85rem; padding-left: 1.25rem; color: var(--muted); }
  .legal ul li { margin-top: 0.35rem; }
  .legal-jump { display: flex; gap: 1.5rem; margin-top: 1.5rem; }
  .legal-divider { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

  /* subpage */
  .subhero { padding-block: clamp(2.75rem, 6vw, 4rem) var(--section); }
  .subhero h1 { font-size: clamp(2rem, 4.2vw, 2.8rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
  .subhero .lede { margin-top: 1.1rem; max-width: 52ch; }
  .outcomes { margin-top: 1.5rem; display: grid; gap: 0.85rem; padding: 0; }
  .outcomes li { list-style: none; padding-left: 1.75rem; position: relative; color: var(--muted); line-height: 1.6; }
  .outcomes li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--teal); border-radius: 1px; }

  /* dropdown floats on desktop; on mobile it stays an inline accordion (see mobile nav rules below) */
  @media (min-width: 721px) {
    .dropdown-menu {
      position: absolute; top: 100%; left: -0.75rem;
      min-width: 15rem;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 4px;
      padding: 0.5rem 0.9rem;
      box-shadow: 0 10px 24px rgba(8, 46, 83, 0.12);
      margin-top: 0.6rem;
    }
    .dropdown-menu a { border-bottom: 1px solid var(--line); }
    .dropdown-menu a:last-child { border-bottom: 0; }
  }

  @media (max-width: 900px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .portrait { max-width: 360px; aspect-ratio: 3 / 3.4; }
    .cred ul { grid-template-columns: 1fr 1fr; }
    .cred li + li { border-left: 0; padding-left: 0; }
    .problem-grid { grid-template-columns: 1fr; }
    .blocks, .steps, .quotes { grid-template-columns: 1fr 1fr; }
    .also { grid-template-columns: 1fr; }
    .footer .wrap { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px) {
    .cred ul { grid-template-columns: 1fr; }
    .blocks, .steps, .quotes { grid-template-columns: 1fr; }
  }

  /* mobile nav: collapses into a toggled panel instead of disappearing */
  @media (max-width: 720px) {
    .nav-toggle { display: inline-flex; }
    .nav {
      display: none;
      position: absolute; top: 100%; left: 0; right: 0;
      flex-direction: column; align-items: stretch; gap: 0;
      background: var(--ground);
      border-bottom: 1px solid var(--line);
      padding: 0.25rem var(--pad) 1.25rem;
      box-shadow: 0 8px 16px rgba(8, 46, 83, 0.08);
    }
    .nav.is-open { display: flex; }
    .nav a, .nav .btn { width: 100%; }
    .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
    .nav .btn, .nav .btn--outline { margin-top: 0.85rem; text-align: center; }
    .nav-item { border-bottom: 1px solid var(--line); }
    .dropdown-toggle { width: 100%; justify-content: space-between; padding: 0.85rem 0; }
    .dropdown-menu { margin: 0 0 0.6rem; padding-left: 1rem; }
    .dropdown-menu a { border-bottom: 0; padding: 0.5rem 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    .reveal, .reveal.reveal-pending { opacity: 1 !important; transform: none !important; }
    .rotator { display: block; }
    .rquote { opacity: 1 !important; margin-bottom: 1.5rem; }
    .rquote:last-child { margin-bottom: 0; }
  }
</style>
