/* ==========================================================================
   Hausarztpraxis Krone – style.css
   Konzept „Bergpanorama“: Krone-Blau läuft als Verlauf über das Alpenfoto
   und endet im tiefen Button-Blau der Altseite. Serifen-Überschriften,
   humanistische Grotesk für Text, Kronen-Gold als leiser Akzent.

   1. Design-Tokens        6. Titelbereich (Hero)     11. Team
   2. Basis                7. Sprechzeiten            12. Aktuelles
   3. Layout & Abschnitte  8. Inhalte & Bausteine     13. Kontakt & Karte
   4. Kopfzeile            9. Startseite              14. Rechtstexte
   5. Mobiles Menü        10. Leistungen              15. Fußzeile
                                                     16. Kontakt-Pille, Pfeil, Hinweisleiste
                                                     17. Dunkelmodus, Bewegung, Druck
   ========================================================================== */

/* 1. DESIGN-TOKENS ======================================================= */
:root {
  /* Farben aus der Altseite */
  --krone: #0a2881;
  --krone-btn: #081f65;
  --krone-tief: #061952;
  --logo-blau: #092780;
  --logo-ink: #151515;

  /* Neutrals (warmes Papier statt kühlem Grau) */
  --paper: #f4f2ee;
  --paper-2: #fbfaf7;
  --ink: #1f2430;
  --ink-2: #3a3f4b;
  --muted: #5a6170;
  --line: #dcd6ca;
  --line-2: #e9e4da;

  /* Akzent „Kronen-Gold“ */
  --gold: #c9a24a;
  --gold-hell: #e6cf93;
  --gold-text: #7a5a12;

  --surface: #ffffff;
  --focus: #c9a24a;

  /* Schriften – ausschließlich lokale Systemschriften */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
  --sans: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Maße */
  --wrap: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.25rem);
  --header-h: 76px;
  --hero-h: clamp(560px, 82svh, 760px);
  --radius: 0.75rem;
  --radius-s: 0.5rem;
  --shadow: 0 1px 2px rgba(6, 25, 82, .06), 0 10px 30px -14px rgba(6, 25, 82, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Logo-Farben (Kopfzeile oben: hell auf Foto) */
  --lg-a: #ffffff;
  --lg-b: var(--gold-hell);

  color-scheme: light dark;
}

@media (max-width: 899px) {
  :root {
    --header-h: 64px;
    --hero-h: clamp(500px, 74svh, 620px);
  }
}

/* 2. BASIS =============================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 700; }

a {
  color: var(--krone);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color .3s ease, text-decoration-color .3s ease;
}
a:hover { color: var(--krone-tief); text-decoration-color: var(--gold); }

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

mark {
  background: #fff2a8;
  color: #3d3000;
  padding: 0 .2em;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 600;
  background: var(--krone);
  color: #fff;
  padding: .7rem 1rem;
  border-radius: var(--radius-s);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 3. LAYOUT & ABSCHNITTE ================================================== */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); }

/* Abschnitte wechseln automatisch Papier / Weiß */
main > .section:nth-of-type(odd)  { background: var(--paper); }
main > .section:nth-of-type(even) { background: var(--paper-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 1.75rem; height: 1px;
  background: currentColor;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.125rem; }

.lead { font-size: clamp(1.075rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--krone);
}
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* 4. KOPFZEILE ============================================================ */
/* Kein backdrop-filter / transform / filter auf .site-header – darin liegt das fixierte Menü. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  height: var(--header-h);
  color: #fff;
  transition: background-color .35s ease, box-shadow .35s ease, color .35s ease;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--paper-2);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.is-scrolled .site-header,
.nav-open .site-header {
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(6, 25, 82, .5);
  --lg-a: var(--logo-ink);
  --lg-b: var(--logo-blau);
}
.is-scrolled .site-header::before,
.nav-open .site-header::before { opacity: 1; }

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
.brand svg { height: auto; }
.brand .logo-full { width: clamp(200px, 21vw, 270px); }
.brand .logo-short { display: none; width: 92px; }
.lg-a { fill: var(--lg-a); transition: fill .35s ease; }
.lg-b { fill: var(--lg-b); transition: fill .35s ease; }

.nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: clamp(.9rem, 1.6vw, 1.6rem);
}
.nav ul a {
  position: relative;
  display: inline-block;
  padding: .35rem 0;
  font-size: .975rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav ul a:hover::after,
.nav ul a[aria-current="page"]::after { transform: scaleX(1); }

.header-tools {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: none;
}

.hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-width: 44px;
  height: 44px;
  padding: 0 .95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  color: inherit;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.hbtn:hover { background: rgba(255, 255, 255, .14); color: inherit; }
.is-scrolled .hbtn,
.nav-open .hbtn { border-color: var(--line); }
.is-scrolled .hbtn:hover,
.nav-open .hbtn:hover { background: var(--paper); }
.hbtn--icon { padding: 0; width: 44px; }
.hbtn .icon { width: 1.15rem; height: 1.15rem; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 44px;
  min-width: 44px;
  padding: 0 .7rem;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.lang:hover { background: rgba(255, 255, 255, .14); color: inherit; }
.is-scrolled .lang:hover, .nav-open .lang:hover { background: var(--paper); }
.lang svg { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), background-color .2s ease;
  position: relative;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span::after  { transform: translateY(-7px) rotate(-45deg); }

/* Telefonnummer ausgeschrieben nur auf breiten Bildschirmen */
@media (max-width: 1179px) {
  .hbtn .hbtn-label { display: none; }
  .hbtn--tel { padding: 0; width: 44px; }
}

/* 5. MOBILES MENÜ ======================================================== */
@media (max-width: 999px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper-2);
    color: var(--ink);
    padding: 1.25rem var(--gutter) 2.5rem;
    display: none;
    z-index: 1;
  }
  .nav-open .nav { display: block; animation: nav-in .28s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul li { border-bottom: 1px solid var(--line-2); }
  .nav ul a {
    display: flex;
    padding: 1rem 0;
    font-family: var(--serif);
    font-size: 1.5rem;
  }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--krone); }
  .nav-extra { display: grid; gap: .75rem; margin-top: 1.75rem; }
  .nav-extra .btn { width: 100%; }
  .nav-open .site-header { z-index: 400; }
  .nav-open .morph,
  .nav-open .scroll-top,
  .nav-open .notice { display: none !important; }
  html.nav-open { overflow: hidden; }
}
@media (min-width: 1000px) {
  .nav-extra { display: none; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Schmale Handys: Kurzlogo, damit Sprache, Telefon, E-Mail und Burger Platz haben */
@media (max-width: 439px) {
  .brand .logo-full { display: none; }
  .brand .logo-short { display: block; }
  .header-inner { gap: .35rem; }
  .header-tools { gap: .15rem; }
  .lang { padding: 0 .5rem; }
  .lang .lang-code { display: none; }
}
@media (min-width: 440px) and (max-width: 999px) {
  .brand .logo-full { width: 210px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease);
}
.btn--primary { background: var(--krone); color: #fff; box-shadow: 0 10px 24px -12px rgba(6, 25, 82, .7); }
.btn--primary:hover { background: var(--krone-btn); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--krone); color: var(--krone); }
.btn .icon { width: 1.15rem; height: 1.15rem; }

/* 6. TITELBEREICH (HERO) ================================================== */
.hero-wrap {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  background: var(--krone-tief);
}
.hero {
  position: relative;
  height: var(--hero-h);
  max-width: 1665px;            /* Fotobreite – nie hochskalieren */
  margin-inline: auto;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 874px;            /* natürliche Fotohöhe */
  object-fit: cover;
  object-position: 55% 38%;
  z-index: -2;
}
/* Der Verlauf der Altseite: Krone-Blau steigt über das Panorama */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(6, 25, 82, .62) 0%,
      rgba(10, 40, 129, .12) 20%,
      rgba(10, 40, 129, 0) 34%,
      rgba(10, 40, 129, .55) 58%,
      rgba(10, 40, 129, .9) 78%,
      #061952 100%);
}
/* Sehr breite Bildschirme: Foto läuft seitlich ins tiefe Blau aus */
@media (min-width: 1700px) {
  .hero-img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  }
}

.hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.hero-text { max-width: 40rem; }
.hero .eyebrow { color: var(--gold-hell); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 1.4rem + 3.6vw, 3.9rem);
  line-height: 1.04;
  margin-bottom: .45em;
}
.hero h1 em { font-style: italic; color: var(--gold-hell); }
.hero .hero-lead {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  color: rgba(255, 255, 255, .9);
  max-width: 34rem;
  margin: 0;
}
.hero-crumb {
  display: flex; flex-wrap: wrap; gap: .4rem;
  list-style: none; padding: 0;
  margin: 0 0 1rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .78);
}
.hero-crumb a { color: rgba(255, 255, 255, .9); }
.hero-crumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }

/* Startseite: Text links, Sprechzeiten rechts */
.hero--home .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 2rem;
}
@media (min-width: 900px) {
  .hero--home .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
}

/* 7. SPRECHZEITEN ======================================================== */
.hours { font-variant-numeric: tabular-nums; }
.hours-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 .5rem;
}
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  text-align: left;
  font-weight: 400;
  padding: .55rem .6rem;
  border-bottom: 1px solid var(--line);
}
.hours th {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-text);
  width: 3.5rem;
}
.hours tr.is-today th, .hours tr.is-today td { background: rgba(201, 162, 74, .14); }
.hours tr.is-today th::after {
  content: attr(data-today);
  display: block;
  font: 600 .6875rem/1 var(--sans);
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .25rem;
}
.hours .dash { opacity: .45; }

/* In der Hero-Fläche: hell auf Blau */
.hours--hero { color: #fff; }
.hours--hero th, .hours--hero td { border-color: rgba(255, 255, 255, .2); }
.hours--hero table { border-top: 1px solid rgba(255, 255, 255, .38); }
.hours--hero th { color: var(--gold-hell); }
.hours--hero tr.is-today th, .hours--hero tr.is-today td { background: rgba(255, 255, 255, .1); }

/* Mobil: Sprechzeiten unter dem Foto im tiefen Blau */
.hours-band { display: none; }
@media (max-width: 899px) {
  .hero--home .hours--hero { display: none; }
  .hours-band {
    display: block;
    background: linear-gradient(180deg, var(--krone-tief) 0%, var(--krone-btn) 100%);
    color: #fff;
    padding: .5rem 0 2.25rem;
  }
}

.hint {
  border-left: 3px solid var(--gold);
  border-radius: 0;
  background: var(--surface);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 0;
  font-size: 1rem;
  box-shadow: var(--shadow);
}
.hint p:last-child { margin: 0; }
.hint--dark { background: rgba(255, 255, 255, .08); box-shadow: none; color: #fff; }

/* 8. INHALTE & BAUSTEINE ================================================== */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.chips li {
  padding: .45rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .95rem;
}

.statement {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.35rem);
  line-height: 1.2;
  margin: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
}

/* Nummerierte Zeilen (Leistungs-Übersicht) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: .5rem 1rem;
  align-items: baseline;
  padding: 1.35rem .25rem;
  color: inherit;
  text-decoration: none;
  transition: background-color .3s ease, padding .3s var(--ease);
}
.rows a:hover { background: var(--surface); padding-inline: .9rem; }
.rows .num { font: 600 .875rem/1 var(--sans); color: var(--gold-text); letter-spacing: .06em; }
.rows .ttl { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.rows .sub { grid-column: 2 / 3; color: var(--muted); font-size: .975rem; }
.rows .icon { color: var(--krone); transition: transform .3s var(--ease); }
.rows a:hover .icon { transform: translateX(4px); }

/* Personen */
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.people li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .15rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.people li:first-child { border-top: 1px solid var(--line); }
.people .name { font-family: var(--serif); font-size: 1.35rem; }
.people .role { color: var(--muted); }
@media (min-width: 720px) {
  .people li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: baseline; gap: 1.5rem; }
}

/* 9. STARTSEITE =========================================================== */
.home-welcome .split { align-items: start; }

/* 10. LEISTUNGEN ========================================================== */
.anchor-nav { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  transition: border-color .3s ease, color .3s ease;
}
.anchor-nav a:hover { border-color: var(--krone); color: var(--krone); }

.service {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) { .service { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.service-head .num { font: 600 .875rem/1 var(--sans); letter-spacing: .1em; color: var(--gold-text); display: block; margin-bottom: .9rem; }
.service-head p { color: var(--muted); }

.list-grid {
  display: grid;
  gap: 1.25rem clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.list-group h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding: .55rem 0 .55rem 1.5rem;
  border-bottom: 1px solid var(--line-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.15rem;
  width: .55rem; height: .55rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}

/* 11. TEAM ================================================================ */
.team-group + .team-group { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* 12. AKTUELLES =========================================================== */
.posts { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.post {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .5rem 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) { .post { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.post h3 { margin: 0; }
.post .tag { display: block; font: 600 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .6rem; }
.post p:last-child { margin-bottom: 0; }

.teaser-list { list-style: none; margin: 0; padding: 0; }
.teaser-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.teaser-list li:first-child { border-top: 1px solid var(--line); }
.teaser-list h3 { font-size: 1.25rem; margin: 0 0 .3rem; }
.teaser-list p { margin: 0; color: var(--muted); }

/* 13. KONTAKT & KARTE ===================================================== */
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-2);
}
.contact-list .k { color: var(--muted); font-size: .95rem; }
.contact-list a { font-weight: 600; }

.map { margin: 0; }
.map-link {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.map-link img { width: 100%; max-width: 1080px; }
.map-chip {
  position: absolute;
  left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--krone);
  color: #fff;
  padding: .55rem .95rem;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  box-shadow: 0 8px 20px -10px rgba(6, 25, 82, .8);
  transition: background-color .3s ease;
}
.map-link:hover .map-chip { background: var(--krone-btn); }
.map figcaption { margin-top: .5rem; text-align: right; font-size: .8125rem; color: var(--muted); }

.emergency {
  display: grid;
  gap: .25rem;
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-s);
  background: #fbeeee;
  color: #6b1d1d;
  border: 1px solid #f0cdcd;
}
.emergency strong { color: #5a1414; }
.emergency a { color: #7a1c1c; font-weight: 700; }

/* 14. RECHTSTEXTE ========================================================= */
.legal { max-width: 48rem; }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: 2.5rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal .box {
  border: 1px solid var(--gold);
  background: var(--surface);
  border-radius: var(--radius-s);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}
.legal .note { color: var(--muted); font-size: .95rem; }
.legal .box h2 { margin-top: 0; }
.legal .box > :last-child { margin-bottom: 0; }

.mt-2 { margin-top: 2rem; }
.hint--flat { box-shadow: none; padding-inline: 1rem; background: transparent; }

/* 15. FUSSZEILE ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--krone-btn) 0%, var(--krone-tief) 100%);
  color: rgba(255, 255, 255, .86);
  padding: clamp(3rem, 6vw, 4.5rem) 0 calc(6.5rem + env(safe-area-inset-bottom));
  font-size: .975rem;
  --lg-a: #ffffff;
  --lg-b: var(--gold-hell);
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-hell); }
.footer-grid {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer-logo { width: 240px; margin-bottom: 1rem; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-hell);
  margin: 0 0 .9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer address { font-style: normal; }
.footer-hours { font-variant-numeric: tabular-nums; }
.footer-hours div { display: grid; grid-template-columns: 2.5rem 1fr; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  justify-content: space-between;
  font-size: .875rem;
  color: rgba(255, 255, 255, .7);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.mail-note { margin: 1.5rem 0 0; font-size: .875rem; color: rgba(255, 255, 255, .72); max-width: 44rem; }

/* 16. KONTAKT-PILLE, PFEIL NACH OBEN, HINWEISLEISTE ======================== */
/* Morphing-Pille (Variante C) – kein transform auf dem fixierten Container */
.morph {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 250;
  display: inline-flex;
  align-items: center;
  height: 56px;
  max-width: 320px;
  padding: 0 1.25rem 0 0;
  border-radius: 999px;
  background: var(--krone);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(6, 25, 82, .75), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  transition: max-width .45s var(--ease), padding .45s var(--ease), background-color .3s ease;
}
.morph:hover { background: var(--krone-btn); color: #fff; }
.morph .morph-icon {
  flex: none;
  width: 56px; height: 56px;
  display: grid; place-items: center;
}
.morph .morph-icon span {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold);
  color: var(--krone-tief);
}
.morph .morph-icon .icon { width: 18px; height: 18px; }
.morph .lbl { opacity: 1; transition: opacity .25s ease; }
.pill-mini .morph { max-width: 56px; padding-right: 0; }
.pill-mini .morph .lbl { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .pill-mini .morph:hover, .pill-mini .morph:focus-visible { max-width: 320px; padding-right: 1.25rem; }
  .pill-mini .morph:hover .lbl, .pill-mini .morph:focus-visible .lbl { opacity: 1; }
}

/* Pfeil nach oben: unten LINKS (Pille sitzt rechts) */
.scroll-top {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 240;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--krone);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, background-color .3s ease;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--surface); color: var(--krone-tief); }
.scroll-top .icon { width: 20px; height: 20px; }

/* Hinweisleiste (wegklickbar, mit Ablaufdatum) */
.notice {
  position: relative;
  z-index: 310;
  background: var(--gold-hell);
  color: #2b2208;
  font-size: .9375rem;
}
.notice[hidden] { display: none; }
.notice-inner { display: flex; align-items: center; gap: 1rem; min-height: 44px; padding-block: .4rem; }
.notice p { margin: 0; flex: 1; }
.notice a { color: #2b2208; font-weight: 600; }
.notice-close {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; background: transparent; color: inherit;
  border-radius: 50%;
  cursor: pointer;
}
.notice-close:hover { background: rgba(0, 0, 0, .08); }
.notice-close .icon { width: 18px; height: 18px; }

/* Einblenden beim Scrollen (dezent) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* 17. DUNKELMODUS, BEWEGUNG, DRUCK ========================================= */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1224;
    --paper-2: #111831;
    --surface: #161e3a;
    --ink: #e9e8e4;
    --ink-2: #d2d2d0;
    --muted: #a5a9b6;
    --line: #2a3354;
    --line-2: #222a47;
    --gold-text: #e6cf93;
    --krone: #8fa6ff;
    --logo-ink: #e9e8e4;
    --logo-blau: #b9c6ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  }
  a:hover { color: #c3d0ff; }
  .btn--primary, .morph, .map-chip { background: #0a2881; }
  .btn--primary:hover, .morph:hover { background: #12359f; }
  .scroll-top { color: #c3d0ff; }
  .emergency { background: #2a1416; color: #f3caca; border-color: #4a2427; }
  .emergency strong, .emergency a { color: #ffd9d9; }
  mark { background: #6b5a00; color: #fff6c2; }
  .rows { border-top-color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .morph, .scroll-top, .notice, .nav, .burger { display: none !important; }
  .hero-wrap { margin-top: 0; background: none; }
  .hero { height: auto; color: var(--ink); }
  .hero::before, .hero-img { display: none; }
  .hero h1, .hero .hero-lead { color: var(--ink); }
  .site-footer { background: none; color: var(--ink); }
}
