/* ==========================================================================
   Augenklinik KSA Aarau – Relaunch-Konzept
   Designsprache: editoriale Serif (Fraunces) + Grotesk (Instrument Sans),
   Palette: Tiefnavy, Creme, Papier – ruhig, hochwertig, kein Effekt-Feuerwerk.
   ========================================================================== */

:root {
  --navy-950: #071624;
  --navy-900: #0b1e31;
  --navy-800: #12293f;
  --navy-700: #1e3c59;
  --navy-600: #304567;         /* KSA Primärfarbe (theme-default) */
  --cream:    #f0dac2;         /* KSA Sekundärfarbe */
  --cream-300:#e6c9a4;
  --cream-soft:#faf3ea;
  --paper:    #f6f5f1;
  --paper-2:  #efede7;
  --white:    #ffffff;
  --ink:      #0b1e31;
  --muted:    #5c6b7c;
  --muted-light: rgba(240, 218, 194, .62);
  --line:     #e2e0d8;
  --line-soft:rgba(11, 30, 49, .1);
  --line-dark:rgba(240, 218, 194, .16);
  --emergency:#b23a32;
  --emergency-soft:#f7e9e6;

  --font-display: "Fraunces", "Georgia", serif;
  --font-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 16px;
  --radius-large: 22px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--cream); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--navy-600); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy-900); color: var(--cream);
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 em, h2 em, h3 em, .statement-line em {
  font-style: italic;
  color: var(--navy-600);
}
.h2 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.4rem); line-height: 1.05; }
.h3 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.3rem); }
.h4 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
.section-navy .h2 em, .footer em { color: var(--cream); }

.kicker {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 14px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--cream-300); flex: none;
}
.kicker-light { color: var(--cream); }
.kicker-light::before { background: rgba(240,218,194,.55); }

.lead { font-size: 1.22rem; line-height: 1.6; color: var(--navy-800); }
.section-navy .lead { color: var(--cream); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem;
  color: var(--navy-700);
  text-decoration: none;
  border-bottom: 1.5px solid var(--cream-300);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.text-link:hover { color: var(--navy-600); border-color: var(--navy-600); }
.text-link::after { content: "\2192"; font-size: .9em; transition: transform .25s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }
.text-link-light { color: var(--cream); border-color: rgba(240,218,194,.4); }
.text-link-light:hover { color: #fff; border-color: #fff; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 920px; }
.section { padding-block: clamp(72px, 8.5vw, 132px); }
section[id], #top { scroll-margin-top: 96px; }
.section-white { background: var(--white); }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy-900); color: var(--cream); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--cream); }
.section-navy p { color: var(--muted-light); }

.section-head {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head-note { max-width: 420px; color: var(--muted); font-size: 1rem; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); }
}
.section-head-stack { grid-template-columns: 1fr !important; }
.section-head-stack .section-head-note { max-width: 560px; }
h1, h2, h3, h4, .statement-line, .hero-title { overflow-wrap: break-word; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 620; font-size: .98rem; line-height: 1;
  text-decoration: none;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-primary { background: var(--navy-900); color: var(--cream); }
.btn-primary:hover { background: var(--navy-600); color: #fff; }
.btn-light { background: var(--cream); color: var(--navy-900); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: var(--line-soft); color: var(--navy-800); background: transparent; }
.btn-ghost:hover { border-color: var(--navy-600); background: var(--navy-900); color: var(--cream); }
.btn-ghost-light { border-color: rgba(240,218,194,.45); color: var(--cream); background: transparent; }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(240,218,194,.1); }
.btn-small { padding: 12px 20px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-950);
  color: var(--muted-light);
  font-size: .84rem;
  position: relative; z-index: 60;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 42px; gap: 20px;
}
.topbar-emergency {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--cream); text-decoration: none; font-weight: 500;
  white-space: nowrap;
}
.topbar-emergency strong { font-weight: 650; }
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emergency);
  box-shadow: 0 0 0 0 rgba(178,58,50,.55);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(178,58,50,.45); }
  70% { box-shadow: 0 0 0 9px rgba(178,58,50,0); }
  100% { box-shadow: 0 0 0 0 rgba(178,58,50,0); }
}
.topbar-links { display: flex; gap: 22px; }
.topbar-links a {
  color: inherit; text-decoration: none; white-space: nowrap;
  transition: color .2s var(--ease);
}
.topbar-links a:hover { color: var(--cream); }
@media (max-width: 900px) { .topbar-links { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 12px 34px -22px rgba(11,30,49,.35); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.brand {
  display: inline-flex; align-items: center; gap: 13px;
  text-decoration: none; color: var(--ink);
}
.brand-mark { color: var(--navy-600); display: inline-flex; }
.brand-mark svg { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title {
  font-family: var(--font-display);
  font-size: 1.28rem; font-weight: 460; letter-spacing: -.01em;
}
.brand-sub {
  font-size: .72rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); font-weight: 560;
}
.nav { display: none; gap: 6px; }
.nav a {
  position: relative;
  padding: 10px 13px;
  font-size: .94rem; font-weight: 540;
  color: var(--navy-800); text-decoration: none;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.nav a:hover { background: var(--paper); color: var(--navy-600); }
.nav a.nav-emergency { color: var(--emergency); }
.nav a.nav-emergency::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--emergency); margin-right: 7px; vertical-align: 1px;
}
@media (min-width: 1120px) { .nav { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { display: none; }
@media (min-width: 620px) { .header-actions .btn { display: inline-flex; } }

.burger {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--white);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; transition: border-color .2s var(--ease);
}
.burger:hover { border-color: var(--navy-600); }
.burger span {
  width: 19px; height: 2px; background: var(--navy-800); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1120px) { .burger { display: none; } }

.mobile-nav {
  position: fixed; inset: 0; top: 0; z-index: 49;
  background: var(--navy-950); color: var(--cream);
  padding: 130px var(--gutter) 40px;
  overflow-y: auto;
  display: none;
  flex-direction: column; justify-content: space-between; gap: 40px;
}
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 380;
  color: var(--cream); text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-left .25s var(--ease), color .2s var(--ease);
}
.mobile-nav nav a:hover { padding-left: 10px; color: #fff; }
.mobile-nav-foot { display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--cream);
  background: var(--navy-950);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 40%;
  opacity: .92;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(97deg, rgba(7,22,36,.97) 0%, rgba(7,22,36,.9) 34%, rgba(7,22,36,.55) 62%, rgba(7,22,36,.22) 100%),
    linear-gradient(180deg, rgba(7,22,36,.35) 0%, rgba(7,22,36,0) 30%);
}
.hero-inner {
  position: relative; z-index: 1;
  padding-block: clamp(96px, 13vw, 176px) clamp(64px, 8vw, 110px);
  max-width: 860px;
}
.hero-title {
  font-size: clamp(2.9rem, 1.2rem + 7.2vw, 5.9rem);
  font-weight: 350;
  line-height: .99;
  letter-spacing: -.022em;
  color: var(--cream);
  margin: 0 0 28px;
}
.hero-title em { color: var(--cream); opacity: .96; }
.hero-lead {
  font-size: clamp(1.06rem, 1rem + .35vw, 1.28rem);
  line-height: 1.6;
  color: rgba(250,243,234,.82);
  max-width: 560px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-dark);
  background: rgba(7,22,36,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}
@media (min-width: 860px) { .hero-facts-grid { grid-template-columns: repeat(4, 1fr); } }
.fact {
  padding: 26px 22px 30px;
  border-left: 1px solid var(--line-dark);
}
.fact:first-child { border-left: none; }
.fact-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem);
  font-weight: 380;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 10px;
}
.fact-label { font-size: .88rem; line-height: 1.45; color: var(--muted-light); }
@media (max-width: 859px) {
  .fact { border-left: none; border-top: 1px solid var(--line-dark); padding: 22px 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-top: none; }
}

/* ---------- Intro / Statement ---------- */
.intro .kicker { margin-bottom: 34px; }
.statement { margin-bottom: clamp(44px, 6vw, 76px); }
.statement-line {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1rem + 3.3vw, 3.5rem);
  font-weight: 380;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .35em;
  max-width: 22ch;
}
.statement-indent { margin-left: clamp(0px, 8vw, 180px); color: var(--muted); }
.statement-indent em { color: var(--navy-600); }
.intro-grid {
  display: grid; gap: clamp(36px, 5vw, 72px);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1.15fr .85fr; } }
.fact-list { display: grid; gap: 0; align-content: start; }
.fact-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.fact-list li:last-child { border-bottom: 1px solid var(--line); }
.fact-list-title {
  display: block;
  font-weight: 650; font-size: .98rem; color: var(--navy-800);
  margin-bottom: 6px;
}
.fact-list-text { color: var(--muted); font-size: .98rem; }

/* ---------- Quote ---------- */
.quote-grid {
  display: grid; gap: clamp(36px, 5vw, 80px);
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: clamp(64px, 8vw, 110px);
}
@media (min-width: 960px) { .quote-grid { grid-template-columns: 380px 1fr; } }
.quote-figure { position: relative; }
.quote-img {
  position: relative; z-index: 1;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(11,30,49,.5);
}
.quote-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.quote-figure::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--cream-300); border-radius: var(--radius-large);
  z-index: 0;
}
.quote-figure figcaption {
  margin-top: 18px; font-size: .9rem; line-height: 1.5; color: var(--muted);
}
.quote-figure figcaption strong { color: var(--ink); font-weight: 650; }
.quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.35rem);
  font-weight: 370;
  line-height: 1.22;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0 0 30px;
  text-wrap: balance;
}
.quote-links { display: flex; flex-wrap: wrap; gap: 28px; }

.split-band {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-radius: var(--radius-large);
  overflow: hidden;
  background: var(--paper);
}
@media (min-width: 960px) { .split-band { grid-template-columns: 1.05fr 1fr; } }
.split-band-media { min-height: 320px; }
.split-band-media img { width: 100%; height: 100%; object-fit: cover; }
.split-band-body {
  padding: clamp(32px, 4.5vw, 64px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.split-band-body .h3 { margin-bottom: 18px; }
.split-band-body p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Schwerpunkte ---------- */
.focus-list {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line-dark);
}
@media (min-width: 800px) { .focus-list { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 88px); } }
.focus-list li { border-bottom: 1px solid var(--line-dark); }
.focus-list a {
  display: flex; align-items: center; gap: 20px;
  padding: 21px 4px;
  text-decoration: none; color: var(--cream);
  transition: padding-left .25s var(--ease), color .2s var(--ease);
}
.focus-list a:hover { padding-left: 12px; color: #fff; }
.focus-num {
  font-family: var(--font-display);
  font-size: .95rem; color: rgba(240,218,194,.5);
  min-width: 2.2ch;
}
.focus-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem);
  font-weight: 400; flex: 1;
}
.focus-arrow {
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  color: var(--cream);
}
.focus-list a:hover .focus-arrow { opacity: 1; transform: translateX(0); }

.focus-foot {
  margin-top: clamp(36px, 5vw, 64px);
  display: flex; flex-direction: column; gap: 26px; align-items: flex-start;
}
@media (min-width: 900px) {
  .focus-foot { flex-direction: row; align-items: center; justify-content: space-between; }
}
.focus-foot p { max-width: 640px; font-size: .98rem; }

/* ---------- Accordion (generisch) ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 24px 2px;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--navy-600); }
.acc-q {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1rem + .5vw, 1.35rem);
  font-weight: 420;
  line-height: 1.3;
}
.acc-icon {
  position: relative; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: currentColor; border-radius: 2px;
  transform: translate(-50%, -50%);
}
.acc-icon::before { width: 12px; height: 1.8px; }
.acc-icon::after { width: 1.8px; height: 12px; transition: transform .3s var(--ease); }
.acc[open] .acc-icon { background: var(--navy-900); color: var(--cream); border-color: var(--navy-900); }
.acc[open] .acc-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.acc-body {
  padding: 0 2px 28px;
  max-width: 72ch;
  color: var(--muted);
  animation: accIn .3s var(--ease);
}
@keyframes accIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.acc-body a { color: var(--navy-600); font-weight: 600; }

/* Offer-Accordion Variante */
.accordion-offers .acc-q { font-weight: 430; }
.accordion-offers .acc-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-sans); font-size: .84rem; color: var(--muted);
}
.acc-more {
  display: inline-flex; margin-top: 6px;
  font-size: .9rem; font-weight: 620; color: var(--navy-600); text-decoration: none;
  border-bottom: 1.5px solid var(--cream-300); padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.acc-more:hover { color: var(--navy-900); border-color: var(--navy-900); }
.acc-body p + p { margin-top: .9em; }

/* ---------- Team ---------- */
.team-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: .9rem; font-weight: 580; color: var(--navy-800);
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--navy-600); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--cream); }
.chip-count { font-size: .78rem; opacity: .55; font-weight: 520; }

.team-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1060px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none; color: inherit;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -30px rgba(11,30,49,.4);
  border-color: transparent;
}
.team-media { aspect-ratio: 3/3.4; overflow: hidden; background: #e7ebf0; }
.team-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s var(--ease);
}
.team-card:hover .team-media img { transform: scale(1.035); }
.team-monogram {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 360;
}
.team-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.team-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 440; line-height: 1.25; }
.team-role { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.team-more { margin-top: clamp(30px, 4vw, 48px); text-align: center; }

/* ---------- Notfall ---------- */
.section-emergency {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(178,58,50,.22) 0%, rgba(178,58,50,0) 55%),
    var(--navy-950);
  color: var(--cream);
}
.section-emergency .h2 { color: var(--cream); }
.section-emergency .h2 em { color: var(--cream); opacity: .9; }
.section-emergency p { color: rgba(250,243,234,.68); }

.emergency-hours {
  display: grid; gap: 1px;
  grid-template-columns: 1fr;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (min-width: 840px) { .emergency-hours { grid-template-columns: 1fr 1fr 1.15fr; } }
.hours-block {
  background: rgba(7,22,36,.6);
  padding: 26px 26px 30px;
  display: flex; flex-direction: column; gap: 6px;
}
.hours-time {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 420; color: var(--cream);
}
.hours-where { font-size: .92rem; color: rgba(250,243,234,.6); }
.hours-block-call .hours-where { margin-top: 6px; }
.hours-tel {
  font-weight: 650; font-size: 1.05rem; color: var(--cream);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(240,218,194,.4);
  align-self: flex-start;
  transition: border-color .2s var(--ease);
}
.hours-tel:hover { border-color: var(--cream); }

.emergency-sub { margin-bottom: 26px; }

.urgency-grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 900px) { .urgency-grid { grid-template-columns: 1.25fr 1fr 1fr; } }
.urgency {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255,255,255,.03);
}
.urgency-flag {
  display: inline-block;
  font-size: .76rem; font-weight: 680;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 16px;
}
.urgency-now { background: var(--emergency); color: #fff; }
.urgency-24 { background: var(--cream); color: var(--navy-900); }
.urgency-days { background: rgba(240,218,194,.16); color: var(--cream); }
.urgency-when { font-size: .88rem; color: rgba(250,243,234,.6); margin-bottom: 14px; }
.urgency ul { display: grid; gap: 11px; }
.urgency li {
  position: relative;
  padding-left: 20px;
  font-size: .95rem;
  color: rgba(250,243,234,.85);
  line-height: 1.5;
}
.urgency li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(240,218,194,.45);
}
.urgency-now + .urgency-when + ul li::before { background: rgba(178,58,50,.85); }

.emergency-note {
  font-size: 1.02rem; color: var(--cream) !important;
  margin-bottom: 30px;
}
.emergency-note a { color: var(--cream); font-weight: 650; }
.emergency-links { display: flex; flex-wrap: wrap; gap: 12px 30px; }

/* ---------- Kontakte ---------- */
.contact-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover { border-color: var(--cream-300); box-shadow: 0 22px 44px -34px rgba(11,30,49,.4); }
.contact-card-primary { background: var(--paper); }
.contact-label {
  font-weight: 650; font-size: .98rem;
  color: var(--ink); margin-bottom: 8px; line-height: 1.4;
}
.contact-hours { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.contact-line {
  font-size: 1.02rem; font-weight: 560; color: var(--navy-700);
  text-decoration: none; align-self: flex-start;
  border-bottom: 1.5px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
  word-break: break-word;
}
.contact-line:hover { color: var(--navy-600); border-color: var(--cream-300); }
.contact-text { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.contact-card-assign { background: var(--navy-900); border-color: var(--navy-900); }
.contact-card-assign .contact-label { color: var(--cream); }
.contact-card-assign .contact-text { color: rgba(250,243,234,.65); }

/* ---------- News ---------- */
.news-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .news-grid { grid-template-columns: repeat(4, 1fr); } }
.news-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -34px rgba(11,30,49,.45);
  border-color: transparent;
}
.news-media { aspect-ratio: 16/11; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.045); }
.news-body {
  padding: 20px 20px 24px;
  display: flex; flex-direction: column; gap: 12px; flex: 1; justify-content: space-between;
}
.news-title {
  font-family: var(--font-display);
  font-size: 1.14rem; font-weight: 430; line-height: 1.28;
}
.news-meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); }
.news-tag {
  background: var(--cream-soft);
  color: var(--navy-700);
  border-radius: 999px; padding: 4px 12px;
  font-weight: 640; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Agenda ---------- */
.agenda-band {
  display: grid; gap: 26px;
  grid-template-columns: 1fr;
  align-items: center;
  background: var(--paper);
  border-radius: var(--radius-large);
  padding: clamp(30px, 4.5vw, 56px);
  border: 1px solid var(--line);
}
@media (min-width: 960px) { .agenda-band { grid-template-columns: 1.4fr 1fr auto; } }
.agenda-band .h3 { margin: 0; }
.agenda-meta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.agenda-flag {
  background: var(--navy-900); color: var(--cream);
  font-size: .74rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  border-radius: 999px; padding: 6px 14px;
}
.agenda-loc { font-size: .92rem; color: var(--muted); }
.agenda-more { margin-top: 26px; }

/* ---------- Forschung ---------- */
.research-grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .research-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1160px) { .research-grid { grid-template-columns: repeat(3, 1fr); } }
.research-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px;
  background: rgba(255,255,255,.025);
  display: flex; flex-direction: column;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.research-card:hover { background: rgba(255,255,255,.05); border-color: rgba(240,218,194,.3); }
.research-card h3 {
  font-size: 1.35rem; font-weight: 420; margin-bottom: 14px;
}
.research-card p { font-size: .95rem; line-height: 1.62; }
.research-partners, .research-people { margin-top: auto; padding-top: 16px; font-size: .88rem; }
.research-people a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(240,218,194,.35); }
.research-people a:hover { border-color: var(--cream); }
.research-more { margin-top: 40px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: clamp(40px, 5vw, 80px); grid-template-columns: 1fr; }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: minmax(300px, 400px) 1fr; align-items: start; }
}
.faq-aside { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 1000px) { .faq-aside { position: sticky; top: 110px; } }
.faq-aside > p { color: var(--muted); margin-bottom: 26px; }
.faq-figure { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.faq-figure img { aspect-ratio: 4/3.1; object-fit: cover; width: 100%; }
.faq-figure figcaption {
  padding: 16px 18px; font-size: .86rem; line-height: 1.55;
  color: var(--muted); background: var(--paper);
}

/* ---------- Standort ---------- */
.location-grid {
  display: grid; gap: 24px; grid-template-columns: 1fr;
}
@media (min-width: 960px) { .location-grid { grid-template-columns: .8fr 1.2fr; align-items: stretch; } }
.location-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.location-address { font-size: 1.05rem; color: var(--muted); margin-bottom: 12px; }
.location-links { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.location-note {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}
.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe7ee;
  border: 1px solid var(--line);
  min-height: 340px;
  display: flex;
}
.location-map img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Teaser ---------- */
.section-teasers { padding-top: clamp(40px, 5vw, 72px); }
.teaser-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .teaser-grid { grid-template-columns: repeat(3, 1fr); } }
.teaser-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none; color: var(--cream);
  aspect-ratio: 4/3.4;
  display: flex; align-items: flex-end;
  transition: transform .3s var(--ease);
}
.teaser-card:hover { transform: translateY(-4px); }
.teaser-media, .teaser-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(7,22,36,.05) 30%, rgba(7,22,36,.86) 100%);
  transition: opacity .3s var(--ease);
}
.teaser-card:hover::after { opacity: .92; }
.teaser-body { position: relative; z-index: 1; padding: 24px; display: flex; flex-direction: column; gap: 7px; }
.teaser-kicker {
  font-size: .74rem; font-weight: 650; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(240,218,194,.75);
}
.teaser-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 420; color: var(--cream); }

.siwf-band {
  margin-top: 26px;
  display: grid; gap: 28px;
  grid-template-columns: 1fr; align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  padding: clamp(26px, 3.5vw, 44px);
}
@media (min-width: 760px) { .siwf-band { grid-template-columns: 200px 1fr; } }
.siwf-media img { width: 100%; max-width: 200px; }
.siwf-band .kicker { margin-bottom: 10px; }
.siwf-band .h4 { margin-bottom: 10px; }
.siwf-band p { color: var(--muted); font-size: .96rem; }
.siwf-band a { color: var(--navy-600); font-weight: 620; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(250,243,234,.66);
  padding-block: clamp(64px, 8vw, 110px) 40px;
  font-size: .94rem;
}
.footer-top {
  display: grid; gap: 44px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 760px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1fr; } }
.brand-footer { color: var(--cream); margin-bottom: 22px; }
.brand-footer .brand-mark { color: var(--cream); }
.brand-footer .brand-sub { color: rgba(250,243,234,.5); }
.footer-address { margin-bottom: 10px; }
.footer-tel {
  display: inline-block; font-weight: 650; color: var(--cream);
  text-decoration: none; border-bottom: 1.5px solid rgba(240,218,194,.35);
  margin-bottom: 24px; transition: border-color .2s var(--ease);
}
.footer-tel:hover { border-color: var(--cream); }
.footer-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-heading {
  font-family: var(--font-sans);
  font-size: .76rem; font-weight: 680; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cream);
  margin: 0 0 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  color: rgba(250,243,234,.62); text-decoration: none; line-height: 1.45;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--cream); }
.footer-social {
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-social .footer-heading { margin: 0; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a {
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .88rem; color: rgba(250,243,234,.72); text-decoration: none;
  transition: all .2s var(--ease);
}
.social-links a:hover { border-color: var(--cream); color: var(--cream); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px;
  padding-top: 30px;
  font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
.footer-legal a:hover { color: var(--cream); }
.footer-concept { margin-left: auto; color: rgba(250,243,234,.4); }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Print ---------- */
@media print {
  .topbar, .header, .hero-bg, .mobile-nav, .footer-cta { display: none !important; }
  body { color: #000; }
  .section { padding-block: 24px; }
}
