/* ==========================================================================
   Dr. Ernst Weinmann — Mobiler Zahnarzt Wien & Niederösterreich
   Design system
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Colour */
  --ink:        #0F262B;
  --ink-90:     #1B383E;
  --ink-70:     #3D5A60;
  --ink-50:     #6B8288;
  --ink-30:     #A9B8BB;

  --paper:      #FCFAF7;
  --sand:       #F3EDE4;
  --sand-2:     #E8DFD1;
  --line:       #DED4C6;

  --brass:      #A17439;
  --brass-lt:   #C9A46B;
  --brass-wash: #F6EEE1;

  --teal:       #2C6E6B;
  --teal-wash:  #E9F1F0;

  --white:      #FFFFFF;
  --amber-wash: #FDF4E3;
  --amber-line: #E5C989;

  /* Type */
  --f-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid scale — generous, senior-friendly */
  --t-xs:   0.8125rem;  /* 13 */
  --t-sm:   0.9375rem;  /* 15 */
  --t-base: 1.125rem;   /* 18 */
  --t-md:   clamp(1.1875rem, 0.4vw + 1.1rem, 1.3125rem);
  --t-lg:   clamp(1.375rem, 0.8vw + 1.2rem, 1.625rem);
  --t-xl:   clamp(1.625rem, 1.4vw + 1.3rem, 2.125rem);
  --t-2xl:  clamp(2rem, 2.4vw + 1.4rem, 2.9rem);
  --t-3xl:  clamp(2.4rem, 4vw + 1.4rem, 4.1rem);

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(3.75rem, 6vw, 6.5rem);
  --maxw: 1240px;
  --maxw-text: 68ch;

  /* Effects */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 38, 43, .05), 0 4px 14px rgba(15, 38, 43, .05);
  --shadow-md: 0 2px 6px rgba(15, 38, 43, .06), 0 18px 40px -12px rgba(15, 38, 43, .16);
  --shadow-lg: 0 4px 10px rgba(15, 38, 43, .07), 0 34px 70px -20px rgba(15, 38, 43, .25);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--f-sans);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink-90);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 100;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

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

/* --- Layout primitives -------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 880px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.75rem, 4vw, 4.25rem); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #D8E2E3; }
.section--ink h2, .section--ink h3 { color: var(--white); }

.skip-link {
  position: absolute; top: -100px; left: var(--gutter); z-index: 200;
  background: var(--ink); color: var(--white);
  padding: .75rem 1.25rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* --- Typographic helpers ------------------------------------------------ */
.eyebrow {
  font-family: var(--f-sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; width: 2rem; height: 1px; background: var(--brass-lt); flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 2rem; height: 1px; background: var(--brass-lt); flex: none; }

.h-xl { font-size: var(--t-3xl); }
.h-lg { font-size: var(--t-2xl); }
.h-md { font-size: var(--t-xl); }
.h-sm { font-size: var(--t-lg); }

.lede {
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink-70);
  max-width: var(--maxw-text);
}
.muted { color: var(--ink-70); }
.center { text-align: center; }
.center .lede, .center .eyebrow { margin-inline: auto; }
.stack > * + * { margin-top: 1.15rem; }
.stack-lg > * + * { margin-top: 2rem; }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 3vw, 3.25rem); }
.section-head.center { margin-inline: auto; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 1.9rem;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ink-90); box-shadow: var(--shadow-md); }

.btn--brass { background: var(--brass); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--brass:hover { background: #8E6531; box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sand); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn--lg { padding: 1.2rem 2.25rem; font-size: 1.125rem; }
.btn--full { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: 1.0625rem;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--brass-lt);
  padding-bottom: 2px;
  transition: gap .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow::after { content: "→"; color: var(--brass); transition: transform .25s var(--ease); }
.link-arrow:hover { gap: .7rem; color: var(--brass); border-color: var(--brass); }

/* --- Header ------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 250, 247, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(15,38,43,.5); }

.header__bar {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 84px;
}
.header__logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.header__logo img { width: 46px; height: 46px; object-fit: contain; }
.header__logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.header__logo-name { font-family: var(--f-display); font-size: 1.075rem; color: var(--ink); letter-spacing: -.01em; }
.header__logo-sub { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50); font-weight: 500; }

.nav { margin-left: auto; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; padding: 0; margin: 0; }
.nav__link {
  display: block; padding: .6rem .7rem;
  font-size: .9375rem; font-weight: 500; color: var(--ink-90);
  text-decoration: none; border-radius: 999px;
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--sand); }
.nav__link[aria-current="page"] { color: var(--brass); font-weight: 600; }

.header__cta { display: flex; align-items: center; gap: .85rem; flex: none; margin-left: 1rem; }
.header__cta .btn { padding: .8rem 1.4rem; font-size: .9875rem; }
.header__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  white-space: nowrap;
  font-weight: 700; font-size: 1.0625rem; color: var(--ink);
  text-decoration: none; letter-spacing: -.01em;
  transition: color .2s var(--ease);
}
.header__phone:hover { color: var(--brass); }
.header__phone svg { width: 1.05em; height: 1.05em; color: var(--brass); }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer;
}
.burger span { display: block; width: 19px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease), opacity .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 1.25rem var(--gutter) 2rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.mobile-nav li + li { border-top: 1px solid var(--line); }
/* Nur die Listenlinks – sonst überschreibt display:block das Flex-Layout
   des Telefon-Buttons darunter und Icon und Nummer brechen um. */
.mobile-nav ul a { display: block; padding: .95rem 0; font-size: 1.125rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.mobile-nav ul a[aria-current="page"] { color: var(--brass); }

/* Auf schmaleren Desktops reicht der Platz nicht für Nav + Button:
   dann bleibt die Telefonnummer als primäre Aktion stehen. */
@media (max-width: 1180px) {
  .header__cta .btn { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
}
@media (max-width: 560px) {
  .header__cta .header__phone span { display: none; }
  .header__logo-sub { display: none; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(175deg, var(--sand) 0%, var(--paper) 62%);
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 6rem) clamp(3.5rem, 6vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute; inset: auto -12% -40% 45%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(201,164,107,.14), transparent 68%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero__title {
  font-size: var(--t-3xl);
  line-height: 1.04;
  margin-bottom: 1.5rem;
}
.hero__title em {
  display: block;
  font-style: normal;
  color: var(--brass);
  font-size: .68em;
  letter-spacing: -.01em;
  margin-top: .35em;
}
.hero__lede { font-size: var(--t-md); color: var(--ink-70); max-width: 34ch; margin-bottom: 2.25rem; }

.hero__reassure {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin-top: 1.75rem;
  font-size: var(--t-sm); color: var(--ink-70);
}
.hero__reassure li { display: flex; align-items: center; gap: .45rem; }
.hero__reassure svg { width: 1.05em; height: 1.05em; color: var(--teal); flex: none; }
ul.hero__reassure { list-style: none; padding: 0; }

.hero__media { position: relative; }
.hero__portrait {
  position: relative;
  border-radius: 260px 260px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
  background: var(--sand-2);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

.hero__badge {
  position: absolute; left: -1.5rem; bottom: 2.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.4rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .95rem;
  max-width: 17rem;
}
.hero__badge-num { font-family: var(--f-display); font-size: 2.5rem; line-height: 1; color: var(--brass); }
.hero__badge-txt { font-size: var(--t-sm); line-height: 1.35; color: var(--ink-70); }
.hero__badge-txt strong { display: block; color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin: 0 auto 2.5rem; width: 100%; }
  .hero__lede { max-width: 46ch; }
  /* Badge an den unteren Rand, damit es das Porträt nicht überdeckt */
  .hero__badge { left: 1rem; right: 1rem; bottom: -1.75rem; max-width: none; }
}

/* --- Trust strip -------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust__item {
  padding: 2.25rem 1.5rem;
  text-align: center;
}
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__num {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1; color: var(--ink);
  display: block; margin-bottom: .45rem;
}
/* Wort statt Ziffer: kleiner setzen, damit es nicht umbricht */
.trust__num--wort { font-size: clamp(1.4rem, 1.7vw, 1.8rem); }
.trust__label { font-size: var(--t-sm); color: var(--ink-70); line-height: 1.4; }
@media (max-width: 780px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(odd) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust__item { padding: 1.75rem 1rem; }
}

/* --- Cards -------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.25rem, 2.2vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
a.card { text-decoration: none; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sand-2); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
a.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 1.6rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; gap: .7rem; }
.card__title { font-size: 1.3125rem; }
.card__text { font-size: 1rem; color: var(--ink-70); line-height: 1.6; }
.card__more {
  margin-top: auto; padding-top: .8rem;
  font-size: .9375rem; font-weight: 600; color: var(--brass);
  display: inline-flex; align-items: center; gap: .4rem;
}
.card__more::after { content: "→"; transition: transform .25s var(--ease); }
a.card:hover .card__more::after { transform: translateX(3px); }

/* Feature card (icon, no image) */
.fcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  display: flex; flex-direction: column; gap: .85rem;
  height: 100%;
}
.fcard--plain { background: transparent; border-color: transparent; padding: 0; }
.fcard__icon {
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--brass-wash); color: var(--brass);
  display: grid; place-items: center; flex: none;
  margin-bottom: .3rem;
}
.fcard__icon svg { width: 22px; height: 22px; }
.fcard__title { font-size: 1.25rem; }
.fcard__text { font-size: 1rem; color: var(--ink-70); line-height: 1.6; }

/* --- Split (image + text) ---------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3.4; object-fit: cover;
}
.split__media--tall img { aspect-ratio: 3/4; }
/* Porträt-Zuschnitte oben ausrichten, damit das Gesicht im Bild bleibt */
.split__media--face img { object-position: 50% 12%; }
/* Hochformat mit Person am oberen Bildrand – sonst wird der Kopf abgeschnitten */
.split__media--kopf img { object-position: 50% 6%; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* --- Check list --------------------------------------------------------- */
.checks { list-style: none; padding: 0; display: grid; gap: 1.05rem; }
.checks li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .85rem; align-items: start; font-size: 1.0625rem; }
.checks svg { width: 1.6rem; height: 1.6rem; color: var(--teal); margin-top: .12em; flex: none; }
.checks strong { color: var(--ink); font-weight: 600; }
.checks--warn svg { color: var(--brass); }

/* --- Steps -------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 3.5rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--f-display); font-size: 1.5rem; line-height: 1.2; color: var(--brass);
  letter-spacing: .02em;
}
.step::after {
  content: ""; position: absolute; top: 2.6rem; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--brass-lt) 0 2.4rem, var(--line) 2.4rem);
}
.section--ink .step::before { color: var(--brass-lt); }
.step__title { font-size: 1.3125rem; margin-bottom: .6rem; }
.step__text { color: var(--ink-70); font-size: 1.0625rem; }
.section--ink .step__text { color: #AFC1C4; }
.section--ink .step::after { background: linear-gradient(90deg, var(--brass-lt) 0 2.2rem, rgba(255,255,255,.16) 2.2rem); }

/* --- Quotes / testimonials --------------------------------------------- */
/* Rezensionen sind unterschiedlich lang – die Karten laufen deshalb
   natürlich hoch, statt unten große Lücken zu lassen. */
.grid--quotes { align-items: start; }
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.9rem 1.6rem;
  display: flex; flex-direction: column; gap: 1.05rem;
  position: relative;
}
.quote__stars { color: #E0A424; font-size: 1.0625rem; letter-spacing: .12em; line-height: 1; }
.quote__text { font-family: var(--f-display); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
.quote__meta { padding-top: .9rem; font-size: var(--t-sm); color: var(--ink-50); border-top: 1px solid var(--line); }
.quote__meta strong { display: block; color: var(--ink-90); font-weight: 600; font-size: 1rem; margin-bottom: .1rem; }

/* --- Notfall & Akutfall -------------------------------------------------
   Bewusst warm-auffällig statt dunkel: Der Abschnitt steht direkt unter der
   Zahlenleiste und soll sich von den ruhigen Flächen abheben, ohne mit den
   beiden dunklen Abschnitten weiter unten zu konkurrieren. */
.emergency {
  background: var(--brass-wash);
  border-block: 1px solid var(--sand-2);
  padding-block: clamp(3rem, 5vw, 4.75rem);
}
.emergency__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
@media (max-width: 780px) { .emergency__grid { grid-template-columns: 1fr; } }

.emergency__card {
  background: var(--white);
  border: 1px solid var(--sand-2);
  border-left: 4px solid var(--brass);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.75rem 1.75rem;
}
.emergency__tag {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .7rem;
}
.emergency__card h3 { font-size: 1.3125rem; margin-bottom: .6rem; }
.emergency__card p { font-size: 1rem; color: var(--ink-70); line-height: 1.6; }

.emergency__cta {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
}
.emergency__cta p { font-size: var(--t-sm); color: var(--ink-70); max-width: 46ch; }

/* --- Galerie ------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.gallery--2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-inline: auto; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

.gallery__item { margin: 0; }
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--sand);
  box-shadow: var(--shadow-sm);
}
.gallery__item figcaption {
  margin-top: .85rem;
  font-size: var(--t-sm);
  line-height: 1.5;
  color: var(--ink-70);
}

/* --- Press -------------------------------------------------------------- */
/* auto-fit: funktioniert mit 2, 3 oder mehr Artikeln ohne Lücke */
.press-list {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
  justify-content: start;
}
@media (max-width: 860px) { .press-list { grid-template-columns: 1fr; } }
.press {
  display: flex; flex-direction: column; gap: .9rem;
  text-decoration: none;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.press:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); transform: translateY(-3px); }
.press__src {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-lt);
}
.press__title { font-family: var(--f-display); font-size: 1.3125rem; color: var(--white); line-height: 1.25; }
.press__meta { margin-top: auto; font-size: var(--t-sm); color: #93A8AB; display: flex; align-items: center; gap: .4rem; }
.press__meta::after { content: "↗"; }

/* --- Audience cards ----------------------------------------------------- */
.aud {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 1.9rem 1.75rem;
  display: flex; flex-direction: column; gap: .9rem;
  height: 100%;
}
.aud__icon { width: 44px; height: 44px; border-radius: 999px; background: var(--teal-wash); color: var(--teal); display: grid; place-items: center; }
.aud__icon svg { width: 21px; height: 21px; }
.aud__title { font-size: 1.25rem; }
.aud__text { font-size: 1rem; color: var(--ink-70); line-height: 1.6; }

/* --- Relatives callout -------------------------------------------------- */
.callout {
  background: var(--ink);
  color: #CFDCDE;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.callout h2 { color: var(--white); font-size: var(--t-xl); margin-bottom: .8rem; }
.callout p { max-width: 58ch; }
@media (max-width: 860px) { .callout { grid-template-columns: 1fr; } }

/* --- FAQ ---------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.5rem 3rem 1.5rem 0;
  position: relative;
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass); }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%;
  width: 13px; height: 13px;
  border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__body { padding: 0 2.5rem 1.75rem 0; color: var(--ink-70); }
.faq__body > * + * { margin-top: .8rem; }

/* --- Areas / locations -------------------------------------------------- */
.areas { display: flex; flex-wrap: wrap; gap: .7rem; list-style: none; padding: 0; }
.areas li {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: .65rem 1.25rem;
  font-size: 1rem; font-weight: 500; color: var(--ink-90);
}
.areas li strong { font-weight: 600; }

/* --- Contact / form ----------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: 1.75rem; }
.cinfo { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; }
.cinfo__icon { width: 2.6rem; height: 2.6rem; border-radius: 999px; background: var(--brass-wash); color: var(--brass); display: grid; place-items: center; }
.cinfo__icon svg { width: 19px; height: 19px; }
.cinfo__label { font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50); font-weight: 600; margin-bottom: .2rem; }
.cinfo__value { font-size: 1.1875rem; color: var(--ink); font-weight: 500; text-decoration: none; line-height: 1.4; }
a.cinfo__value:hover { color: var(--brass); }
.cinfo__note { font-size: var(--t-sm); color: var(--ink-50); margin-top: .25rem; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.form-card__head { margin-bottom: 1.75rem; }
.form-card__head h3 { font-size: var(--t-lg); margin-bottom: .5rem; }
.form-card__head p { font-size: var(--t-sm); color: var(--ink-70); }

.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--ink-90); margin-bottom: .45rem; }
.field .req { color: var(--brass); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .95rem 1.05rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.0625rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brass); background: var(--white);
  box-shadow: 0 0 0 4px rgba(201,164,107,.16);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-30); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: block; padding: .6rem 1.05rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .9375rem; cursor: pointer;
  transition: all .2s var(--ease);
  background: var(--paper);
}
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 1.35rem 1fr; gap: .75rem; align-items: start; font-size: var(--t-sm); color: var(--ink-70); margin-bottom: 1.5rem; }
.consent input { width: 1.35rem; height: 1.35rem; margin-top: .15rem; accent-color: var(--brass); }
.consent a { color: var(--ink); }

.form-foot { font-size: var(--t-sm); color: var(--ink-50); margin-top: 1rem; text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* --- Footer ------------------------------------------------------------- */
.footer { background: var(--ink); color: #9FB2B5; padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.footer a { color: #C9D6D8; text-decoration: none; transition: color .2s var(--ease); }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 940px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.footer__brand img { width: 52px; height: 52px; object-fit: contain; background: var(--white); border-radius: 6px; padding: 5px; }
.footer__brand-name { font-family: var(--f-display); font-size: 1.15rem; color: var(--white); line-height: 1.2; }
.footer__title { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-lt); font-weight: 700; margin-bottom: 1.1rem; }
.footer__list { list-style: none; padding: 0; display: grid; gap: .7rem; font-size: 1rem; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  font-size: var(--t-sm); color: #7C9094;
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; }

/* --- Sticky mobile action bar ------------------------------------------ */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  gap: .6rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(252,250,247,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -18px rgba(15,38,43,.6);
}
.actionbar .btn { flex: 1; padding: .95rem 1rem; font-size: 1rem; }
@media (max-width: 860px) {
  .actionbar { display: flex; }
  body { padding-bottom: 76px; }
}

/* --- Page hero (subpages) ---------------------------------------------- */
.pagehero {
  background: linear-gradient(178deg, var(--sand) 0%, var(--paper) 100%);
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--t-sm); color: var(--ink-50); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--ink-70); text-decoration: none; }
.breadcrumb a:hover { color: var(--brass); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--ink-30); }

/* --- Prose (legal pages) ------------------------------------------------ */
.prose { max-width: 76ch; }
.prose h2 { font-size: var(--t-lg); margin-top: 2.75rem; margin-bottom: .9rem; }
.prose h3 { font-size: 1.1875rem; margin-top: 2rem; margin-bottom: .6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1rem; color: var(--ink-70); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .45rem; }
.prose a { color: var(--brass); }
.prose > :first-child { margin-top: 0; }

/* --- CV timeline -------------------------------------------------------- */
.cv { list-style: none; padding: 0; border-left: 1px solid var(--line); margin-left: .4rem; }
.cv li { position: relative; padding: 0 0 1.75rem 2rem; }
.cv li::before {
  content: ""; position: absolute; left: -5px; top: .55rem;
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--brass);
}
.cv__year { font-size: var(--t-sm); font-weight: 700; letter-spacing: .06em; color: var(--brass); display: block; margin-bottom: .2rem; }
.cv__text { color: var(--ink-90); font-size: 1.0625rem; }

/* --- Reveal on scroll ---------------------------------------------------
   Nur wenn JavaScript aktiv ist (html.js wird inline im <head> gesetzt).
   Ohne JS bleibt der Inhalt sichtbar statt unsichtbar. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
