/* =========================================================================
   Lichtblick Zahnmedizin — Konzeptprojekt
   Eigenes Design-System. Bewusst NICHT die Tokens der Hauptseite.
   Grundlage: 04_DEMO_BRIEFS.md R6 + 07_DESIGN_QUALITAET.md (Überarbeitung R6b).

   Tonwert-Logik statt Pastellflächen: viel Weiß, EINE kräftig-minte Fläche
   (Terminanfrage), EINE dunkle Fläche (Angstfrei) und der Footer in Ink.
   Keine aufgehellten Akzentfarben als Sektionshintergrund.
   ========================================================================= */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/fonts/PlusJakartaSans-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Farbe: drei klare Tonwerte plus Papier ---------------------------- */
  --mint: #2bb3a3;            /* kräftige Fläche, nie aufgehellt als Hintergrund */
  --mint-deep: #0f6f66;       /* Textfarbe auf Hell */
  --ink: #1d3b3a;             /* dunkle Fläche, Fließtext */
  --cream: #fffdf9;           /* Papier */
  --paper: #ffffff;
  --shell: #f4f2ed;           /* warmes Off-White für Rhythmus (neutral, kein Pastell) */
  --muted: #4f6c6a;
  --line: #dcdfda;
  --line-strong: #b9bfba;
  --peach: #ffd9c2;           /* nur als schmaler Akzent, nie als Fläche */
  --on-ink: #fffdf9;
  --on-ink-muted: #a9c3bf;
  --on-mint: #16302f;         /* Text auf Mint, 5,39:1 */
  --on-mint-dim: #183d3b;     /* gedaempfter Text auf Mint, 4,57:1 - ersetzt opacity (R14, Spec §8 w) */
  --error: #97331f;

  /* --- Typografie ------------------------------------------------------- */
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lead: clamp(1.125rem, 1.04rem + 0.42vw, 1.375rem);
  --t-h3: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --t-h2: clamp(1.875rem, 1.32rem + 2.4vw, 3rem);
  --t-statement: clamp(2rem, 1.1rem + 3.9vw, 4rem);
  --t-h1: clamp(3rem, 1.5rem + 6.4vw, 5.75rem);

  /* --- Form ------------------------------------------------------------- */
  --r-img: 12px;
  --r-pill: 999px;
  --r-field: 6px;

  /* --- Bewegung: weiche Kurven, kein Overshoot --------------------------- */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 160ms;
  --t-mid: 240ms;
  --t-slow: 420ms;

  /* --- Raster ----------------------------------------------------------- */
  --wrap: 1220px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --bleed: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}

/* =========================================================================
   Grundlagen
   ========================================================================= */

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0; max-width: 65ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }

a { color: var(--mint-deep); text-underline-offset: 3px; }

button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 3px; }

::selection { background: var(--mint); color: var(--on-mint); }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -6rem;
  z-index: 100;
  padding: 0.85rem 1.4rem;
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  transition: top var(--t-mid) var(--ease);
}
.skip:focus { top: 1rem; }

.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--shell { background: var(--shell); }

.lead { color: var(--muted); font-size: var(--t-lead); max-width: 54ch; }

/* --- Buttons: Farbwechsel, kein Schweben ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.75rem;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--t-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.btn:hover { background: var(--mint-deep); border-color: var(--mint-deep); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--sm { min-height: 2.75rem; padding: 0.5rem 1.25rem; font-size: var(--t-sm); }

.btn--onmint { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn--onmint:hover { background: var(--on-mint); border-color: var(--on-mint); }

.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* =========================================================================
   Header
   ========================================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  transition: box-shadow var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
}

.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }

.brand {
  margin-right: auto;
  padding-block: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.brand i { font-style: normal; color: var(--mint-deep); }
.brand span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav { display: none; }
.nav ul { display: flex; gap: 1.75rem; }
.nav a {
  display: block;
  padding-block: 0.6rem;   /* 0.5rem ergab 41 px Trefferhoehe (R14) */
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font-size: var(--t-sm);
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease);
}
.nav a:hover { border-bottom-color: var(--ink); }

.header__cta { display: none; }

.burger {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  margin-right: -0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.burger i { position: relative; display: block; width: 1.375rem; height: 1px; background: var(--ink); }
.burger i::before, .burger i::after {
  content: '';
  position: absolute; left: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transition: transform var(--t-mid) var(--ease);
}
.burger i::before { top: -7px; }
.burger i::after { top: 7px; }
.burger[aria-expanded='true'] i { background: transparent; }
.burger[aria-expanded='true'] i::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] i::after { transform: translateY(-7px) rotate(-45deg); }

.mobilenav {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  background: var(--cream);
  transition: grid-template-rows var(--t-slow) var(--ease);
}
.mobilenav.is-open { grid-template-rows: 1fr; }
.mobilenav > div { min-height: 0; }
.mobilenav ul { padding-bottom: 1.5rem; border-top: 1px solid var(--line); }
.mobilenav a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

@media (min-width: 60rem) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger, .mobilenav { display: none; }
}

/* =========================================================================
   Hero — Text links, Foto rechts angeschnitten
   ========================================================================= */

.hero { overflow: clip; padding-top: clamp(2rem, 5vw, 4.5rem); }

.hero__inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: end; }

.hero h1 { max-width: 12ch; }
.hero__text > * + * { margin-top: 1.75rem; }
.hero__text p { font-size: var(--t-lead); max-width: 44ch; }
.hero__meta { color: var(--muted); font-size: var(--t-sm); max-width: 46ch; }
.hero__meta a { display: inline-block; padding-block: 0.7rem; color: var(--ink); }

.hero__figure { margin: 0; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% 25%;
  border-radius: var(--r-img);
}

@media (min-width: 60rem) {
  .hero__inner { grid-template-columns: 1fr 0.8fr; gap: clamp(2rem, 4vw, 4rem); }
  .hero__text { padding-bottom: clamp(3rem, 6vw, 6rem); }
  .hero__figure { width: calc(100% + var(--bleed)); }
  .hero__figure img { aspect-ratio: 4 / 5.2; border-radius: var(--r-img) 0 0 var(--r-img); }
}

/* =========================================================================
   Leistungen — Tabelle, keine Karten, keine Symbole
   ========================================================================= */

.head { max-width: 34ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head .lead { margin-top: 1.25rem; }

.tbl { width: 100%; border-collapse: collapse; text-align: left; }
.tbl th, .tbl td { padding: 1.4rem 0; border-top: 1px solid var(--line); vertical-align: baseline; }
.tbl thead th {
  padding-top: 0;
  border-top: 0;
  color: var(--muted);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tbl tbody th {
  width: 30%;
  padding-right: 2rem;
  font-size: var(--t-h3);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tbl td { padding-right: 2.5rem; color: var(--muted); }
.tbl td:last-child { width: 20%; padding-right: 0; color: var(--ink); font-variant-numeric: tabular-nums; }

@media (max-width: 46rem) {
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl tbody th, .tbl td { display: block; width: auto; padding: 0; border: 0; }
  .tbl tbody tr { display: block; padding-block: 1.6rem; border-top: 1px solid var(--line); }
  .tbl tbody td { margin-top: 0.5rem; }
  .tbl tbody td:last-child { margin-top: 0.75rem; color: var(--muted); font-size: var(--t-sm); }
}

/* =========================================================================
   Ästhetik — Bild über die volle Breite, darunter ein zweispaltiger Text
   ========================================================================= */

.fullshot { margin: 0 calc(-1 * var(--bleed)); }
.fullshot img { width: 100%; aspect-ratio: 2 / 1; max-height: 62vh; object-fit: cover; }
.fullshot figcaption {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1rem var(--gutter) 0;
  color: var(--muted);
  font-size: var(--t-sm);
}

.essay { display: grid; gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.essay h2 { max-width: 16ch; }
@media (min-width: 52rem) {
  .essay { grid-template-columns: 1fr 1fr; align-items: start; }
  .essay h2 { grid-column: 1 / -1; margin-bottom: 1rem; }
}

/* =========================================================================
   Terminanfrage — die kräftige Mint-Fläche
   ========================================================================= */

.book { background: var(--mint); color: var(--on-mint); }
.book h2, .book h3 { color: var(--on-mint); }
.book .lead { color: var(--on-mint-dim); }

.book__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 64rem) { .book__grid { grid-template-columns: 1.55fr 1fr; } }

.steps { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2.5rem; }
.steps li {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--on-mint-dim);   /* opacity 0.5 ergab 2,21:1 auf Mint (R14, Spec §8 w) */
  transition: color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.steps li.is-done { color: var(--on-mint-dim); }
.steps li.is-current { color: var(--on-mint); font-weight: 700; border-bottom-color: var(--peach); }

.step { display: none; }
.step.is-active { display: block; }
.step h3 { font-size: var(--t-h2); letter-spacing: -0.02em; line-height: 1.1; }
.step__hint { margin-top: 0.75rem; font-size: var(--t-sm); color: var(--on-mint-dim); }

.opts { margin-top: 2rem; border-top: 1px solid rgba(22, 48, 47, 0.25); }
.opts button {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 1.1rem 0.75rem 1.1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(22, 48, 47, 0.25);
  background: transparent;
  color: var(--on-mint);
  text-align: left;
  font-size: var(--t-h3);
  font-weight: 600;
  cursor: pointer;
  transition: padding-left var(--t-mid) var(--ease), background-color var(--t-fast) var(--ease);
}
.opts button:hover { padding-left: 0.75rem; background: rgba(255, 253, 249, 0.2); }
.opts button small { font-size: var(--t-sm); font-weight: 500; color: var(--on-mint-dim); }
.opts button[aria-pressed='true'] { padding-left: 0.75rem; background: var(--ink); color: var(--on-ink); }

.cal { max-width: 27rem; margin-top: 2rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal__month { font-size: var(--t-h3); font-weight: 700; }
.cal__nav { display: flex; gap: 0.25rem; }
.cal__btn {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(22, 48, 47, 0.3);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--on-mint);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
.cal__btn:hover:not([disabled]) { background: rgba(255, 253, 249, 0.3); }
.cal__btn svg { width: 1rem; height: 1rem; }
.cal__btn[disabled] { opacity: 0.3; cursor: not-allowed; }

.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__dow { padding-block: 0.5rem; text-align: center; font-size: var(--t-xs); font-weight: 700; opacity: 0.65; }
.cal__day {
  aspect-ratio: 1;
  min-height: 2.75rem;
  border: 0;
  background: rgba(255, 253, 249, 0.6);
  color: var(--on-mint);
  font-size: var(--t-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.cal__day:hover:not([disabled]) { background: var(--paper); }
.cal__day[disabled] { background: transparent; opacity: 0.45; cursor: not-allowed; }
.cal__day[aria-pressed='true'] { background: var(--ink); color: var(--on-ink); }
.cal__day--empty { background: transparent; cursor: default; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips button {
  min-height: 2.75rem;
  padding: 0.6rem 1.15rem;
  border: 1px solid rgba(22, 48, 47, 0.3);
  border-radius: var(--r-pill);
  background: rgba(255, 253, 249, 0.6);
  color: var(--on-mint);
  font-size: var(--t-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chips button:hover { background: var(--paper); }
.chips button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

.chipgroup + .chipgroup { margin-top: 1.75rem; }
.chipgroup > p { margin-bottom: 0.75rem; font-size: var(--t-sm); font-weight: 600; opacity: 0.8; }

.fields { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 40rem) { .fields--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field label span { font-weight: 500; opacity: 0.75; }
.field input, .field textarea {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(22, 48, 47, 0.3);
  border-radius: var(--r-field);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease);
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.field__error { color: var(--error); font-size: var(--t-xs); font-weight: 700; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); border-width: 2px; }

.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--t-sm); cursor: pointer; }
.check input { width: 1.5rem; height: 1.5rem; flex: none; margin: 0.05rem 0 0; accent-color: var(--ink); }

.step__actions { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin-top: 2.25rem; }
.step__back {
  order: 2;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  color: var(--on-mint);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.summary { border-top: 1px solid rgba(22, 48, 47, 0.3); }
.summary h3 { padding-top: 1.25rem; font-size: var(--t-h3); font-weight: 700; }
.summary dl { margin: 1.25rem 0 0; }
.summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid rgba(22, 48, 47, 0.18);
  font-size: var(--t-sm);
}
.summary dt { color: var(--on-mint-dim); }
.summary dd { margin: 0; font-weight: 700; text-align: right; }
.summary dd:empty::after { content: '–'; opacity: 0.5; font-weight: 500; }
.summary > p { margin-top: 1.25rem; font-size: var(--t-xs); line-height: 1.6; color: var(--on-mint-dim); }

.confirm h3 { font-size: var(--t-statement); line-height: 1.02; }
.confirm > p { margin-top: 1.25rem; }
.confirm dl { max-width: 32rem; margin-top: 2rem; border-top: 1px solid rgba(22, 48, 47, 0.3); }
.confirm dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid rgba(22, 48, 47, 0.18);
  font-size: var(--t-sm);
}
.confirm dd { margin: 0; font-weight: 700; }

/* =========================================================================
   Angstfrei — die dunkle Fläche
   ========================================================================= */

.dark { background: var(--ink); color: var(--on-ink); }
.dark h2 { color: var(--on-ink); }
.dark .lead { color: var(--on-ink-muted); margin-top: 1.75rem; }

.statement {
  max-width: 14ch;
  margin: 0;
  font-size: var(--t-statement);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.promises { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(169, 195, 191, 0.28); }
.promises li {
  display: grid;
  gap: 0.4rem 3rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid rgba(169, 195, 191, 0.28);
}
.promises b { font-size: var(--t-h3); font-weight: 700; }
.promises span { color: var(--on-ink-muted); }
@media (min-width: 52rem) {
  .promises li { grid-template-columns: 20rem 1fr; align-items: baseline; }
  .promises span { max-width: 60ch; }
}

/* =========================================================================
   Zitat
   ========================================================================= */

.quote { max-width: 46rem; }
.quote blockquote {
  margin: 0;
  font-size: clamp(1.5rem, 0.95rem + 2.3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.quote figcaption { margin-top: 2rem; max-width: 40ch; color: var(--muted); font-size: var(--t-sm); }

/* =========================================================================
   Team — Steckbriefe, keine Karten, keine Portraits
   ========================================================================= */

.people { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.people li { display: grid; gap: 0.5rem 3rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.people b { display: block; font-size: var(--t-h3); font-weight: 700; }
.people i { display: block; margin-top: 0.15rem; color: var(--mint-deep); font-size: var(--t-sm); font-weight: 600; font-style: normal; }
.people span { color: var(--muted); }
@media (min-width: 52rem) {
  .people li { grid-template-columns: 18rem 1fr; align-items: baseline; }
  .people span { max-width: 58ch; }
}

/* =========================================================================
   Rundgang — Bildband
   ========================================================================= */

.band {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-inline: var(--bleed);   /* Bandanfang buendig zur Ueberschrift */
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.band.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.band > figure { flex: 0 0 min(80vw, 34rem); margin: 0; scroll-snap-align: start; }
.band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-img);
  pointer-events: none;
}
.band figcaption { margin-top: 0.9rem; font-size: var(--t-sm); font-weight: 700; }
.band figcaption span { display: block; color: var(--muted); font-weight: 400; }

.band__hint { margin-top: 1.25rem; padding-inline: var(--bleed); color: var(--muted); font-size: var(--t-xs); }

/* =========================================================================
   Kontakt
   ========================================================================= */

.contact { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 56rem) { .contact { grid-template-columns: 1fr 1fr; } }

.hours { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.hours th, .hours td { padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-align: left; font-size: var(--t-sm); }
.hours th { color: var(--muted); font-weight: 500; }
.hours td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.facts { display: grid; gap: 1.75rem; align-content: start; }
.facts h3 {
  color: var(--muted);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.facts p { margin-top: 0.45rem; }
.facts a { display: inline-block; padding-block: 0.7rem; color: var(--ink); }

/* =========================================================================
   Footer
   ========================================================================= */

.footer { padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; background: var(--ink); color: var(--on-ink); }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 52rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand { color: var(--on-ink); }
.footer .brand i, .footer .brand span { color: var(--on-ink-muted); }
.footer > .wrap > .footer__grid p { margin-top: 1.25rem; max-width: 32ch; color: var(--on-ink-muted); font-size: var(--t-sm); }
.footer h3 { color: var(--on-ink); font-size: var(--t-sm); font-weight: 700; }
.footer ul { margin-top: 0.75rem; }
.footer li a, .footer li span {
  display: block;
  padding-block: 0.625rem;  /* 0.55rem ergab 42 px Trefferhoehe (R14) */
  color: var(--on-ink-muted);
  font-size: var(--t-sm);
  text-decoration: none;
}
.footer li a:hover { color: var(--on-ink); }

.note {
  padding-top: 2rem;
  border-top: 1px solid rgba(169, 195, 191, 0.28);
  font-size: var(--t-xs);
  line-height: 1.7;
}
.note p { max-width: 78ch; color: var(--on-ink-muted); }
.note p + p { margin-top: 0.9rem; }
.note a { display: inline-block; padding-block: 0.7rem; color: var(--on-ink); }

/* =========================================================================
   Hinweis nach dem Absenden
   ========================================================================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 60;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  width: min(92vw, 30rem);
  padding: 1.1rem 1.25rem;
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--t-sm);
  line-height: 1.5;
  transform: translate(-50%, 130%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-mid) var(--ease);
}
/* Zu jeder eigenen display-Regel gehoert die [hidden]-Regel: .toast { display: flex }
   schlaegt sonst das hidden-Attribut, der Toast bleibt im Baum (Spec §8 k). */
.toast[hidden] { display: none; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast p { color: var(--on-ink); }
.toast button {
  flex: none;
  width: 2.75rem; height: 2.75rem;
  margin: -0.75rem -0.75rem -0.75rem auto;
  border: 0;
  background: transparent;
  color: var(--on-ink-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

/* =========================================================================
   Reveal — die einzige Bewegung neben dem Termin-Widget.
   Endzustand ist der Normalfall; der Startzustand gilt nur mit JS und ohne
   prefers-reduced-motion (die Klasse .js wird im Head nur dann gesetzt).
   ========================================================================= */

.js [data-reveal] { opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.js [data-reveal].is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; }
}
