@charset "utf-8";
/* =========================================================================
   Friseurteam Dornbusch — Stylesheet
   CI: Anthrazit #231f20 · Weiß #ffffff · Akzent-Rot #c0202e
   Schriften: Archivo (Display, variabel) · Newsreader (Fließtext)
   ========================================================================= */

@layer base, layout, components, utilities;

/* ---------- Schriften (lokal gehostet, keine externen Verbindungen) ------ */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-400-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@layer base {
  /* ---------- Tokens --------------------------------------------------- */
  :root {
    /* Farben */
    --ink: #231f20;
    --ink-80: #4a4544;
    --muted: #6b6664;
    --white: #ffffff;
    --band: #eceae7;
    --band-soft: #f5f3f1;
    --accent: #c0202e;
    --accent-dark: #99141f;
    --hairline: rgb(35 31 32 / 0.13);
    --hairline-strong: rgb(35 31 32 / 0.26);

    /* Typografie */
    --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Newsreader", Georgia, "Times New Roman", serif;

    --t-micro: 0.6875rem;
    --t-small: 0.8125rem;
    --t-base: clamp(1.0625rem, 0.99rem + 0.32vw, 1.1875rem);
    --t-lead: clamp(1.25rem, 1.09rem + 0.7vw, 1.6rem);
    --t-h3: clamp(1.25rem, 1.13rem + 0.5vw, 1.5rem);
    --t-h2: clamp(2rem, 1.5rem + 2.2vw, 3.4rem);
    --t-h1: clamp(2.4rem, 1.55rem + 3.6vw, 4.6rem);
    --t-display: clamp(2.2rem, 8.8vw, 8.4rem);

    color-scheme: light;

    /* Raum — berücksichtigt Notches und abgerundete Displayränder */
    --gutter: max(clamp(1.25rem, 4vw, 3.5rem), env(safe-area-inset-left), env(safe-area-inset-right));
    --wrap: 78rem;
    --measure: 34rem;
    --section-y: clamp(4.5rem, 9vw, 9rem);

    /* Bewegung */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.6s;
  }

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

  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
  }

  body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--t-base);
    line-height: 1.62;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    font-stretch: 118%;
    line-height: 0.98;
    letter-spacing: -0.022em;
    text-wrap: balance;
    margin: 0;
  }
  h1 { font-size: var(--t-h1); }
  h2 { font-size: var(--t-h2); }
  h3 {
    font-size: var(--t-h3);
    font-weight: 700;
    font-stretch: 108%;
    line-height: 1.12;
    letter-spacing: -0.012em;
  }

  p { margin: 0 0 1.1em; text-wrap: pretty; }
  p:last-child { margin-bottom: 0; }

  a, button, summary, [role="button"] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgb(192 32 46 / 0.12);
  }

  a { color: inherit; text-underline-offset: 0.18em; }

  ul, ol { margin: 0; padding: 0; }

  strong, b { font-weight: 600; }

  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
  }

  ::selection { background: var(--accent); color: var(--white); }

  svg { display: block; }
}

@layer layout {
  .wrap {
    width: min(100% - (var(--gutter) * 2), var(--wrap));
    margin-inline: auto;
  }
  .wrap--narrow { --wrap: 52rem; }

  .section { padding-block: var(--section-y); position: relative; }
  .section--band { background: var(--band-soft); }
  .section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
  .section--flush-top { padding-top: 0; }

  .skip {
    position: absolute;
    inset-inline-start: -100vw;
    top: 0.5rem;
    z-index: 200;
    background: var(--ink);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    font-family: var(--font-display);
    font-size: var(--t-small);
    text-decoration: none;
  }
  .skip:focus { inset-inline-start: 0.5rem; }

  /* Sektionskopf: Eyebrow + Titel + optionaler Beitext */
  .head {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
  }
  .head__text { max-width: 46rem; }
  .head__aside {
    max-width: var(--measure);
    color: var(--muted);
    font-size: 1.05rem;
  }
  @media (min-width: 60rem) {
    .head--split {
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
      align-items: end;
      gap: clamp(2rem, 4vw, 4rem);
    }
  }
}

@layer components {

  /* ---------- Kleinteile ----------------------------------------------- */
  .eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-size: var(--t-micro);
    font-weight: 600;
    font-stretch: 100%;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
  }
  .eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    background: var(--accent);
    flex: none;
  }
  .eyebrow--plain::before { display: none; }

  .lead {
    font-size: var(--t-lead);
    line-height: 1.45;
    max-width: 38rem;
  }

  .prose { max-width: var(--measure); }
  .prose p + p { margin-top: 0; }

  .rule-red {
    width: clamp(3.5rem, 8vw, 6rem);
    height: 3px;
    background: var(--accent);
    border: 0;
    margin: 0;
  }

  /* ---------- Buttons --------------------------------------------------- */
  .btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.25rem;
    padding: 0.85rem 1.6rem;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    font-stretch: 105%;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1px solid var(--btn-bg);
    border-radius: 2px;
    cursor: pointer;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
                border-color var(--dur) var(--ease), transform 0.25s var(--ease);
  }
  .btn:hover { --btn-bg: var(--accent); transform: translateY(-2px); }
  .btn:active { transform: translateY(0); }

  .btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    border-color: var(--hairline-strong);
  }
  .btn--ghost:hover {
    --btn-bg: transparent;
    --btn-fg: var(--accent);
    border-color: var(--accent);
  }

  .btn--call { padding-inline: 1.75rem; }
  .btn__icon { width: 1.05rem; height: 1.05rem; flex: none; }

  .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
  }
  @media (max-width: 34rem) {
    .btn-row { flex-direction: column; align-items: stretch; }
    .btn-row .btn { justify-content: center; }
  }

  /* Textlink mit wachsender Unterstreichung */
  .link {
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    padding-bottom: 0.2rem;
  }
  .link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out);
  }
  .link:hover::after,
  .link:focus-visible::after { transform: scaleX(1); }
  .link__arrow { transition: transform 0.45s var(--ease-out); display: inline-block; }
  .link:hover .link__arrow { transform: translateX(0.35rem); }

  /* ---------- Header ---------------------------------------------------- */
  .header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(255 255 255 / 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
  }
  .header.is-stuck { border-bottom-color: var(--hairline); }

  .header__inner {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    min-height: 4.75rem;
    transition: min-height 0.4s var(--ease);
  }
  .header.is-stuck .header__inner { min-height: 4rem; }

  .brand {
    display: block;
    color: var(--ink);
    flex: none;
    line-height: 0;
  }
  .brand img {
    display: block;
    width: auto;
    height: clamp(2.35rem, 3.8vw, 2.95rem);
    transition: height 0.4s var(--ease);
  }
  .header.is-stuck .brand img { height: clamp(2.05rem, 3.2vw, 2.5rem); }

  .nav { margin-inline-start: auto; }
  .nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1.1rem, 2.4vw, 2.1rem);
    list-style: none;
  }
  .nav__link {
    position: relative;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding-block: 0.4rem;
    white-space: nowrap;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
  }
  .nav__link:hover::after,
  .nav__link:focus-visible::after { transform: scaleX(1); }
  .nav__link[aria-current="page"] { font-weight: 700; }
  .nav__link[aria-current="page"]::after { transform: scaleX(1); }

  .header__cta { flex: none; }
  .header__cta .btn { min-height: 2.75rem; padding-block: 0.6rem; font-size: 0.875rem; }

  /* Öffnungs-Chip */
  .status {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: var(--t-micro);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
  }
  .status__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--muted);
    flex: none;
    position: relative;
  }
  .status[data-open="true"] .status__dot { background: #1c8c4a; }
  .status[data-open="true"] .status__dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid #1c8c4a;
    opacity: 0;
    animation: ping 2.6s var(--ease) infinite;
  }
  .status[data-open="false"] .status__dot { background: var(--accent); }
  @keyframes ping {
    0%   { opacity: 0.9; transform: scale(0.7); }
    70%  { opacity: 0;   transform: scale(1.5); }
    100% { opacity: 0; }
  }

  /* Mobile-Navigation */
  .burger {
    display: none;
    margin-inline-start: auto;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--hairline-strong);
    border-radius: 2px;
    cursor: pointer;
    color: var(--ink);
  }
  .burger__bars { width: 1.05rem; height: 0.6rem; position: relative; }
  .burger__bars::before,
  .burger__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.4s var(--ease-out), top 0.3s var(--ease);
  }
  .burger__bars::before { top: 0; }
  .burger__bars::after  { top: calc(100% - 1.5px); }
  .burger[aria-expanded="true"] .burger__bars::before { top: 50%; transform: rotate(45deg); }
  .burger[aria-expanded="true"] .burger__bars::after  { top: 50%; transform: rotate(-45deg); }

  .menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--white);
    overscroll-behavior: contain;
    overflow-y: auto;
    padding: 6.5rem var(--gutter) max(2.5rem, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0.4s;
  }
  .menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .menu__list { list-style: none; display: grid; gap: 0.25rem; }
  .menu__link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    font-weight: 800;
    font-stretch: 112%;
    letter-spacing: -0.02em;
    text-decoration: none;
    padding-block: 0.5rem;
    border-bottom: 1px solid var(--hairline);
  }
  .menu__link[aria-current="page"] { color: var(--accent); }
  .menu__foot {
    margin-top: auto;
    display: grid;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--muted);
  }
  .menu__foot .btn { justify-content: center; }

  @media (max-width: 60rem) {
    .nav, .header__cta, .header .status { display: none; }
    .burger { display: inline-flex; }
  }
  /* Zwischen Tablet und Desktop wird es im Header eng: Chip weglassen */
  @media (min-width: 60.001rem) and (max-width: 68rem) {
    .header .status { display: none; }
  }
  @media (min-width: 60.001rem) {
    .menu { display: none; }
  }
  /* Ohne JavaScript lässt sich das Overlay nicht öffnen — dann steht die
     Navigation stattdessen direkt im Header. */
  @media (scripting: none) {
    .burger, .menu { display: none !important; }
  }
  @media (scripting: none) and (max-width: 60rem) {
    .nav { display: block; margin-inline-start: 0; width: 100%; }
    .nav__list { flex-wrap: wrap; gap: 0.75rem 1.25rem; }
    .header__inner { flex-wrap: wrap; padding-block: 0.75rem; }
  }

  /* ---------- Hero ------------------------------------------------------ */
  .hero {
    position: relative;
    padding-block: clamp(3.5rem, 9vw, 8rem) clamp(3.5rem, 8vw, 7rem);
    overflow: hidden;
  }
  .hero__inner { position: relative; z-index: 2; }
  .hero__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }

  /* Auftakt beim Laden: Überschrift, dann Fließtext, dann die Schaltflächen.
     `both` bedeutet, dass der Ausgangszustand erst während der Verzögerung gilt —
     wo keine Animationen laufen, bleibt der Inhalt schlicht sichtbar. */
  @keyframes hero-in {
    from { opacity: 0; transform: translateY(1.15rem); }
    to   { opacity: 1; transform: none; }
  }
  .hero__grid > * {
    animation: hero-in 0.85s var(--ease-out) both;
  }
  .hero__grid > .eyebrow    { animation-delay: 0.05s; }
  .hero__grid > h1          { animation-delay: 0.12s; }
  .hero__grid > .rule-red   { animation-delay: 0.40s; }
  .hero__grid > .hero__lead { animation-delay: 0.50s; }
  .hero__grid > .btn-row    { animation-delay: 0.68s; }
  .hero__grid > .hero__meta { animation-delay: 0.82s; }

  .hero h1 { font-size: var(--t-display); }
  .hero h1 .l2 { display: block; }

  .hero__lead {
    font-size: var(--t-lead);
    line-height: 1.42;
    max-width: 32rem;
    color: var(--ink-80);
  }
  .hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    font-family: var(--font-display);
    font-size: var(--t-small);
    color: var(--muted);
    letter-spacing: 0.01em;
    padding-top: 0.5rem;
  }
  .hero__meta strong { color: var(--ink); font-weight: 600; }

  /* Bildmarke als überdimensionale Fläche, rechts angeschnitten */
  .hero__mark {
    position: absolute;
    z-index: 1;
    color: var(--band);
    fill: currentColor;
    pointer-events: none;
    right: -7%;
    top: 50%;
    translate: 0 -50%;
    height: clamp(24rem, 62vw, 50rem);
    width: auto;
  }
  @media (scripting: enabled) {
    .hero__mark { opacity: 0; }
    .hero__mark > * {
      opacity: 0;
      transform: translateY(14px);
      animation: strand-in 0.9s var(--ease-out) forwards;
    }
  }
  .hero__mark.is-ready { opacity: 1; }
  @keyframes strand-in {
    to { opacity: 1; transform: none; }
  }
  @media (max-width: 60rem) {
    .hero__mark {
      right: -16%;
      top: auto;
      bottom: -6%;
      translate: none;
      height: clamp(14rem, 44vw, 22rem);
    }
  }

  /* ---------- Leistungs-Karten ------------------------------------------ */
  .cards {
    display: grid;
    gap: 1px;
    background: var(--hairline);
    border-block: 1px solid var(--hairline);
    list-style: none;
  }
  .cards > *, .team > *, .facts > *, .footer__grid > *, .head > * { min-width: 0; }
  @media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 64rem) { .cards { grid-template-columns: repeat(3, 1fr); } }

  .card {
    position: relative;
    background: var(--white);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 100%;
    transition: background 0.5s var(--ease);
  }
  .section--band .card { background: var(--band-soft); }
  .card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.55s var(--ease-out);
  }
  .card:hover::before,
  .card:focus-within::before { transform: scaleX(1); }
  .card:hover { background: var(--white); }

  .card__no {
    font-family: var(--font-display);
    font-size: var(--t-micro);
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--muted);
  }
  .card h3 { margin-block: 0.1rem 0; }
  /* Die ganze Kachel ist anklickbar, der Link bleibt aber der Titel —
     Vorlesewerkzeuge lesen so nicht den kompletten Kartentext als Linktext vor. */
  .card__link {
    text-decoration: none;
    transition: color 0.35s var(--ease);
  }
  .card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .card:hover .card__link { color: var(--accent); }
  .card:has(.card__link:focus-visible) {
    outline: 2px solid var(--accent);
    outline-offset: -3px;
  }
  @supports selector(:has(*)) {
    .card__link:focus-visible { outline: none; }
  }
  .card p { color: var(--ink-80); font-size: 1.02rem; }
  .card__price {
    margin-top: auto;
    padding-top: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
  }

  /* ---------- Preisliste ------------------------------------------------ */
  .pricelist { display: grid; gap: clamp(2.75rem, 6vw, 4.5rem); }

  /* Grid-Items dürfen sonst nicht unter ihre Mindestbreite schrumpfen und
     schieben die ganze Seite auf schmalen Displays auseinander. */
  .pricelist > *,
  .pricegroup__head > *,
  .price > * { min-width: 0; }

  .pricegroup { scroll-margin-top: 8.75rem; }
  .pricegroup__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 0.35rem;
  }
  .pricegroup__head h2,
  .pricegroup__head h3 {
    font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
    font-weight: 800;
    font-stretch: 114%;
  }
  .pricegroup__note {
    margin-inline-start: auto;
    font-family: var(--font-display);
    font-size: var(--t-micro);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .prices { list-style: none; }
  .prices--spaced { margin-top: 1.5rem; }
  .price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--hairline);
    transition: background 0.35s var(--ease);
  }
  .price:hover { background: rgb(35 31 32 / 0.02); }
  .price__name { flex: 0 1 auto; max-width: 60%; }
  .price__name b { font-weight: 600; }
  .price__variant {
    font-family: var(--font-display);
    font-size: var(--t-small);
    color: var(--muted);
    letter-spacing: 0.01em;
    margin-inline-start: 0.55rem;
  }
  .price__variant::before { content: "· "; }
  .price__leader {
    flex: 1 1 auto;
    height: 0;
    border-bottom: 1px dotted var(--hairline-strong);
    transform: translateY(-0.28em);
    min-width: 1.5rem;
  }
  .price__value {
    flex: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.005em;
    white-space: nowrap;
  }
  .price__value small {
    font-size: 0.75em;
    font-weight: 500;
    color: var(--muted);
    margin-inline-end: 0.35rem;
  }

  .price--feature {
    display: block;
    background: var(--ink);
    color: var(--white);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 0;
  }
  .price--feature:hover { background: var(--ink); }
  .price--feature h4 {
    font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
    font-weight: 800;
    font-stretch: 112%;
    margin-bottom: 0.6rem;
  }
  .price--feature p { color: rgb(255 255 255 / 0.72); max-width: 34rem; }
  .price--feature .price__value {
    display: block;
    margin-top: 1.1rem;
    font-size: 1.5rem;
    color: var(--white);
  }

  /* Sprungnavigation Preisliste */
  .jump {
    position: sticky;
    top: 4rem;
    z-index: 20;
    background: rgb(255 255 255 / 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hairline);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
  }
  .jump__list {
    display: flex;
    gap: 1.35rem;
    list-style: none;
    overflow-x: auto;
    padding-block: 0.9rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .jump__list::-webkit-scrollbar { display: none; }
  .jump__link {
    font-family: var(--font-display);
    font-size: var(--t-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    color: var(--muted);
    padding-block: 0.2rem;
    border-bottom: 1.5px solid transparent;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
  }
  .jump__link:hover { color: var(--ink); }
  .jump__link.is-active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }

  /* ---------- Team ------------------------------------------------------- */
  .team {
    display: grid;
    gap: 1px;
    background: var(--hairline);
    border-block: 1px solid var(--hairline);
    list-style: none;
  }
  /* Vier Personen: zwei oder vier Spalten gehen glatt auf, drei nicht. */
  @media (min-width: 34rem) { .team { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 62rem) { .team { grid-template-columns: repeat(4, 1fr); } }

  .member {
    background: var(--white);
    padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.25rem, 2vw, 1.75rem) clamp(1.75rem, 3vw, 2.25rem);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: background 0.5s var(--ease);
  }
  .section--band .member { background: var(--band-soft); }
  .member:hover { background: var(--white); }
  .member__initial {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 5rem);
    font-weight: 800;
    font-stretch: 120%;
    line-height: 0.85;
    color: var(--band);
    transition: color 0.5s var(--ease);
    margin-bottom: 0.6rem;
  }
  .member:hover .member__initial { color: var(--accent); }
  .section--band .member__initial { color: #ddd9d5; }
  .member__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    font-stretch: 108%;
    letter-spacing: -0.01em;
  }
  .member__role {
    font-family: var(--font-display);
    font-size: var(--t-micro);
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
  }
  /* Auf schmalen Displays liegt die Initiale neben dem Namen statt darüber */
  @media (max-width: 34rem) {
    .member {
      display: grid;
      grid-template-columns: 3rem 1fr;
      align-items: center;
      column-gap: 1.25rem;
      padding-block: 1.15rem;
    }
    .member__initial {
      grid-row: 1 / 3;
      font-size: 2.75rem;
      margin-bottom: 0;
    }
    .member__name { align-self: end; }
    .member__role { align-self: start; }
  }

  /* ---------- Fakten-/Kontaktblock --------------------------------------- */
  .facts {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  @media (min-width: 52rem) { .facts { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 66rem) { .facts--3 { grid-template-columns: repeat(3, 1fr); } }

  .fact { display: grid; gap: 0.75rem; align-content: start; }
  .fact__label {
    font-family: var(--font-display);
    font-size: var(--t-micro);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--hairline);
  }
  .fact__body { font-size: 1.05rem; }
  .fact__body a { color: inherit; text-decoration-color: var(--hairline-strong); }
  .fact__body a:hover { color: var(--accent); text-decoration-color: currentColor; }

  .hours { list-style: none; display: grid; gap: 0.55rem; }
  .hours li {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-variant-numeric: tabular-nums;
  }
  .hours .price__leader { transform: translateY(-0.3em); }
  .hours__day { flex: none; font-weight: 500; }
  /* Die Zeit steht immer als letztes Element — so bleibt die Zeitspalte
     bündig, auch wenn davor die Heute-Markierung eingeschoben wird. */
  .hours__time { flex: none; font-weight: 600; order: 2; }
  .hours li[data-closed] { color: var(--muted); }
  .hours li[data-closed] .hours__time { font-weight: 500; }
  .hours li[data-today]::before {
    content: "heute";
    order: 1;
    font-size: var(--t-micro);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-inline-end: 0.65rem;
    flex: none;
  }

  /* ---------- Zitat / Aussage ------------------------------------------- */
  .statement {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 1rem + 3vw, 3.5rem);
    font-weight: 700;
    font-stretch: 112%;
    line-height: 1.04;
    letter-spacing: -0.02em;
    max-width: 22ch;
    text-wrap: balance;
    margin: 0;
  }
  .statement::before {
    content: "";
    display: block;
    width: clamp(3rem, 6vw, 4.5rem);
    height: 3px;
    background: var(--accent);
    margin-bottom: clamp(1.1rem, 2.2vw, 1.75rem);
  }
  .statement em {
    font-style: normal;
    color: var(--accent);
  }
  /* Steht die Aussage neben einem langen Text, wird sie optisch auf dessen
     Mitte gesetzt — sonst hängt sie oben und der Rest der Spalte bleibt leer. */
  @media (min-width: 52rem) {
    .facts > .statement { align-self: center; }
  }

  /* ---------- FAQ -------------------------------------------------------- */
  .faq { border-top: 1px solid var(--hairline); }
  .faq details {
    border-bottom: 1px solid var(--hairline);
  }
  .faq summary {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-block: clamp(1.1rem, 2vw, 1.5rem);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
    font-weight: 600;
    font-stretch: 106%;
    letter-spacing: -0.008em;
    transition: color 0.35s var(--ease);
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary:hover { color: var(--accent); }
  .faq summary::after {
    content: "";
    margin-inline-start: auto;
    flex: none;
    width: 0.85rem;
    height: 0.85rem;
    background:
      linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat,
      linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
    transition: transform 0.45s var(--ease-out);
  }
  .faq details[open] summary::after { transform: rotate(135deg); }
  .faq__answer {
    padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    max-width: 44rem;
    color: var(--ink-80);
  }

  /* ---------- CTA-Band ---------------------------------------------------- */
  .cta {
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  .cta__inner {
    display: grid;
    gap: clamp(1.75rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
  }
  @media (min-width: 56rem) {
    .cta__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  }
  .cta h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem); }
  .cta p { color: rgb(255 255 255 / 0.7); max-width: 34rem; margin-top: 1rem; }
  .cta .btn {
    --btn-bg: var(--white);
    --btn-fg: var(--ink);
    font-size: 1.0625rem;
    min-height: 3.75rem;
  }
  .cta .btn:hover { --btn-bg: var(--accent); --btn-fg: var(--white); }
  .cta__mark {
    position: absolute;
    right: -3%;
    bottom: -35%;
    height: 190%;
    width: auto;
    opacity: 0.07;
    z-index: 1;
    pointer-events: none;
  }

  /* ---------- Aktionsleiste (nur mobil) ----------------------------------- */
  .dock {
    display: none;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 90;
    gap: 0.6rem;
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 0.9);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid var(--hairline);
  }
  .dock__btn {
    flex: 1 1 0;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.1rem;
    padding-inline: 0.6rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }
  .dock__btn:first-child { flex-grow: 1.9; }
  .dock .btn--ghost { background: var(--white); }
  .dock .btn:hover { transform: none; }

  @media (max-width: 60rem) {
    .dock { display: flex; }
    /* Platz schaffen, damit die Leiste den Footer nicht überdeckt */
    body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  }
  @media (max-width: 22rem) {
    .dock__btn { font-size: 0.8125rem; padding-inline: 0.4rem; }
    .dock__btn .btn__icon { display: none; }
  }

  /* ---------- Footer ------------------------------------------------------ */
  .footer {
    background: var(--white);
    border-top: 1px solid var(--hairline);
    padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  }
  .footer__grid {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
  }
  @media (min-width: 46rem) {
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (min-width: 68rem) {
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
  }
  .footer__brand img {
    display: block;
    height: clamp(2.15rem, 3.2vw, 2.7rem);
    width: auto;
  }
  .footer__tag {
    margin-top: 1.1rem;
    color: var(--muted);
    font-size: 1rem;
    max-width: 22rem;
  }
  .footer__list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    font-size: 1rem;
    margin-top: 1.25rem;
  }
  .footer__list a { color: inherit; text-decoration: none; }
  .footer__list a:hover { color: var(--accent); }
  .footer__bottom {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--hairline);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    align-items: center;
    font-family: var(--font-display);
    font-size: var(--t-small);
    color: var(--muted);
  }
  .footer__bottom a { text-decoration: none; }
  .footer__bottom a:hover { color: var(--accent); }
  /* Nur die Blockränder zurücksetzen — die Seitenränder steuern die Klassen
     darunter, sonst gewinnt diese Regel durch ihre höhere Spezifität. */
  .footer__bottom p { margin-block: 0; }
  .footer__legal { display: flex; gap: 1.5rem; }
  .footer__bottom--bare { margin-top: 0; padding-top: 0; border-top: 0; }

  /* Gestalter-Nachweis, ganz rechts in derselben Zeile */
  .footer__credit {
    margin-inline-start: auto;
    font-size: var(--t-micro);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--muted) 82%, var(--white));
  }
  .footer__credit a { text-decoration: none; }
  .footer__credit a:hover,
  .footer__credit a:focus-visible { color: var(--accent); }

  @media (max-width: 46rem) {
    .footer__legal, .footer__credit { margin-inline-start: 0; }
    .footer__credit { flex-basis: 100%; }
  }

  /* ---------- Rechtstexte -------------------------------------------------- */
  .legal { max-width: 46rem; }
  .legal h2 {
    font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem);
    margin-top: 2.75rem;
    margin-bottom: 0.9rem;
  }
  .legal h3 {
    font-size: 1.1rem;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
  }
  .legal p, .legal li { color: var(--ink-80); font-size: 1.03rem; }
  .legal ul { padding-inline-start: 1.15rem; margin-bottom: 1.1em; }
  .legal li { margin-bottom: 0.35rem; }
  .legal a { color: var(--ink); }
  .legal a:hover { color: var(--accent); }

  .note {
    border-inline-start: 3px solid var(--accent);
    background: var(--band-soft);
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    color: var(--ink-80);
    margin-block: 1.5rem;
  }
  .note strong { color: var(--ink); }

  /* ---------- Fehlerseite --------------------------------------------------- */
  .error {
    min-height: 68vh;
    display: grid;
    align-content: center;
    gap: 1.5rem;
    padding-block: var(--section-y);
  }
  .error__code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 12rem);
    font-weight: 800;
    font-stretch: 120%;
    line-height: 0.8;
    color: var(--band);
  }
}

@layer utilities {
  .visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* Der Ausgangszustand wird nur gesetzt, wenn JavaScript ihn auch wieder
     aufheben kann. Ohne Skripte bleibt der Inhalt sichtbar. */
  .reveal { transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); }
  @media (scripting: enabled) {
    .reveal { opacity: 0; transform: translateY(1.35rem); }
  }
  .reveal.is-in { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: 0.09s; }
  .reveal[data-delay="2"] { transition-delay: 0.18s; }
  .reveal[data-delay="3"] { transition-delay: 0.27s; }
  .reveal[data-delay="4"] { transition-delay: 0.36s; }

  .stack-sm { display: grid; gap: 0.75rem; }
  .stack-md { display: grid; gap: 1.5rem; }
  .stack-lg { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
  .mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
  .text-muted { color: var(--muted); }
  .small { font-size: 0.95rem; }
}

/* ---------- Bewegung reduzieren ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__grid > * { animation: none !important; opacity: 1; transform: none; }
  .hero__mark, .hero__mark > * { opacity: 1; transform: none; animation: none; }
  .hero__mark.is-ready { opacity: 1; }
}

/* ---------- Druck ---------------------------------------------------------- */
@media print {
  .header, .menu, .dock, .cta, .jump, .btn-row { display: none !important; }
  body { padding-bottom: 0 !important; }
  body { font-size: 11pt; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .price { break-inside: avoid; }
}
