/* Tierarztpraxis Geldmacher · Konzept „Grundriss“ */
:root {
  --paper: #f6f4ec;
  --wall: #e6f0e8;
  --mint: #c5e3d1;
  --mint-2: #a9d5bb;
  --ink: #173a2e;
  --ink-2: #3c5a4f;
  --grid: rgba(23, 58, 46, .07);
  --pink: #b8285e;
  --pink-soft: #f6d9e3;
  --signal: #0b6b3e;
  --signal-ink: #ffffff;
  --radius: 4px;
  --f-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Newsreader", Georgia, serif;
  --f-stencil: "Saira Stencil One", "Archivo", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.6 var(--f-body);
  font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.02; margin: 0; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.nowrap { white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: .5em 1em; z-index: 100; }
.skip:focus { left: 8px; }

.kicker {
  font: 400 .8rem/1.3 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink); margin: 0 0 .9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px;
  padding: .7em 1.2em; font: 700 1rem/1.1 var(--f-head); font-stretch: 105%;
  text-decoration: none; border: 2px solid var(--ink); border-radius: var(--radius);
  transition: background .2s, color .2s, transform .2s;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 40px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem var(--gutter);
  background: rgba(246, 244, 236, .94); backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { font: 800 1.35rem/0.95 var(--f-head); font-stretch: 112%; letter-spacing: -.01em; }
.brand-text small { display: block; font: 400 .62rem/1.2 var(--f-stencil); letter-spacing: .18em; text-transform: uppercase; color: var(--pink); margin-bottom: 2px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.nav a { font: 600 .95rem/1 var(--f-head); text-decoration: none; padding: .5rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.head-call { display: inline-flex; align-items: center; gap: .5rem; font: 700 .95rem/1 var(--f-head); text-decoration: none; background: var(--ink); color: var(--paper); padding: .75rem 1rem; border-radius: var(--radius); white-space: nowrap; min-height: 44px; }
.head-call svg { width: 18px; height: 18px; }
.head-call:hover { background: var(--pink); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; margin-left: auto; min-height: 44px; align-items: center;
    font: 700 .95rem/1 var(--f-head); background: none; border: 2px solid var(--ink); border-radius: var(--radius);
    padding: 0 1rem; color: var(--ink); cursor: pointer;
  }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 2px solid var(--ink); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .nav a { display: block; padding: .9rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--grid); }
}

/* ---------- Sections ---------- */
.sec { padding: clamp(4rem, 9vw, 8rem) var(--gutter); max-width: var(--max); margin: 0 auto; position: relative; }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); position: relative; }
.sec-head h2 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-stretch: 88%; }
.sec-lead { font-size: 1.2rem; margin-top: 1.2rem; max-width: 38rem; }
.roomno {
  position: absolute; right: 100%; margin-right: 1.4rem; top: -.35rem;
  font: 400 clamp(1rem, 1.6vw, 1.25rem)/1 var(--f-stencil); color: var(--pink);
  border: 2px solid var(--pink); padding: .35em .45em .3em; border-radius: 2px; white-space: nowrap;
}
@media (max-width: 1400px) { .roomno { position: static; display: inline-block; margin: 0 0 1rem; } }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  max-width: 1440px; margin: 0 auto; align-items: start;
}
.hero h1 { font-size: clamp(3.2rem, 8.4vw, 7.4rem); font-stretch: 78%; line-height: .9; letter-spacing: -.025em; margin-bottom: 1.6rem; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 2.6rem; }

/* Türschild */
.sign-wrap { padding-top: 26px; perspective: 600px; }
.sign {
  position: relative; display: inline-block; min-width: 15rem; max-width: 22rem;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 6px;
  padding: 1rem 1.3rem 1.1rem; box-shadow: 4px 4px 0 var(--ink);
  transform-origin: 50% -26px; animation: swing 2.8s ease-out 1;
}
.sign::before, .sign::after { content: ""; position: absolute; top: -27px; width: 2px; height: 34px; background: var(--ink); }
.sign::before { left: 50%; transform: translateX(-14px) rotate(-28deg); transform-origin: bottom; }
.sign::after { left: 50%; transform: translateX(12px) rotate(28deg); transform-origin: bottom; }
.sign-hook { position: absolute; top: -32px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); }
.sign-kicker { font: 400 .68rem/1.2 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 .35rem; }
.sign-title { font: 800 1.55rem/1 var(--f-head); font-stretch: 90%; margin: 0 0 .4rem; }
.sign-sub { margin: 0; font-size: 1rem; }
.sign[data-state="open"] { background: var(--mint); }
.sign[data-state="termin"] { background: var(--wall); }
.sign[data-state="closed"], .sign[data-state="break"], .sign[data-state="special"] { background: var(--pink-soft); }
@keyframes swing { 0% { transform: rotate(7deg); } 25% { transform: rotate(-5deg); } 50% { transform: rotate(3deg); } 75% { transform: rotate(-1.2deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .sign { animation: none; } }

/* Plan */
.plan-figure { margin: 0; }
.plan {
  position: relative; background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px; border: 2px solid var(--ink); padding: clamp(8px, 1.5vw, 18px);
}
.plan svg { width: 100%; height: auto; overflow: hidden; }
.plan-noscript { padding: 2rem; }
.p-room { cursor: pointer; }
.p-room .p-fill { fill: transparent; transition: fill .25s; }
.p-room:hover .p-fill, .p-room:focus-visible .p-fill, .p-room.is-active .p-fill { fill: var(--mint); }
.p-room:focus { outline: none; }
.p-room:focus-visible .p-fill { stroke: var(--pink); stroke-width: 5; }
.p-room:hover .p-name, .p-room:focus-visible .p-name { fill: var(--pink); }
.p-num { font: 400 11px var(--f-stencil); fill: var(--pink); letter-spacing: .08em; }
.p-name { font: 400 15px var(--f-stencil); fill: var(--ink); letter-spacing: .02em; transition: fill .2s; }
.p-furn { fill: var(--wall); stroke: var(--ink-2); stroke-width: 1.4; }
.p-furn-line { fill: none; stroke: var(--ink-2); stroke-width: 1.4; }
.p-furn-dash { fill: none; stroke: var(--ink-2); stroke-width: 1.2; stroke-dasharray: 3 3; }
.p-wall { fill: none; stroke: var(--ink); stroke-width: 3; }
.p-outer { fill: none; stroke: var(--ink); stroke-width: 7; }
.p-gap { fill: var(--paper); }
.p-door { fill: none; stroke: var(--pink); stroke-width: 1.6; }
.p-leaf { stroke: var(--pink); stroke-width: 2.6; }
.p-corr { font: 400 11px var(--f-stencil); fill: var(--ink-2); letter-spacing: .4em; }
.p-entry { font: 400 13px var(--f-stencil); fill: var(--pink); letter-spacing: .12em; }
.p-paw { fill: var(--pink); opacity: 0; }
.plan.is-walking .p-paw { animation: paw .35s ease-out forwards; }
.p-stop circle { fill: var(--ink); }
.p-stop text { font: 700 11px var(--f-head); fill: var(--paper); }
.p-stoplabel { font: 600 12px var(--f-head); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.p-stop { opacity: 0; transition: opacity .4s; }
.plan.is-walking .p-stop { opacity: 1; }
@keyframes paw { from { opacity: 0; } to { opacity: .82; } }
@media (prefers-reduced-motion: reduce) {
  .p-paw { opacity: .82; } .p-stop { opacity: 1; }
  .plan.is-walking .p-paw { animation: none; }
}

.titleblock { margin: 0; }
.titleblock dl, dl.titleblock { display: grid; grid-template-columns: repeat(4, auto); margin: 0; border: 2px solid var(--ink); border-top: 0; }
.titleblock div { padding: .5rem .75rem; border-right: 1px solid var(--ink); }
.titleblock div:last-child { border-right: 0; }
.titleblock dt { font: 400 .62rem/1.2 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.titleblock dd { margin: .15rem 0 0; font: 600 .85rem/1.3 var(--f-head); }

.roomlist { margin-top: 1.4rem; }
.roomlist-title { font: 400 .72rem/1 var(--f-stencil); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
.roomlist ol { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 1.5rem; }
.roomlist li { break-inside: avoid; }
.roomlist a { display: flex; gap: .6rem; padding: .45rem 0; text-decoration: none; font: 600 .95rem/1.2 var(--f-head); border-bottom: 1px dashed rgba(23, 58, 46, .25); }
.roomlist b { font: 400 .8rem/1.4 var(--f-stencil); color: var(--pink); min-width: 2.2em; }

/* ---------- Sprechstunde ---------- */
.hours { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); }
.hour-card { padding: clamp(1.4rem, 2.5vw, 2rem); border-right: 2px solid var(--ink); background: var(--paper); }
.hour-card:last-child { border-right: 0; }
.hour-card--open { background: var(--mint); }
.hour-label { font: 400 .78rem/1.2 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: .6rem; }
.hour-time { font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.05 var(--f-head); font-stretch: 85%; margin-bottom: 1rem; }
.hour-time strong { font-weight: 800; font-stretch: 75%; font-size: 1.5em; }
.hour-time a { text-decoration: none; }
.hour-card p:last-child { margin: 0; font-size: 1.02rem; }
.rules { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.rule h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.rule p { font-size: 1.02rem; }
.notice { border: 2px dashed var(--pink); padding: 1.2rem 1.3rem; background: #fff8fa; }
.notice-label { font: 400 .78rem/1 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: .6rem; }
.notice p:last-child { margin: 0; font-size: 1.02rem; }

/* ---------- Notfall ---------- */
.notfall { max-width: none; background: var(--signal); color: var(--signal-ink); }
.notfall a:hover { color: #fff; }
.nf-inner { max-width: var(--max); margin: 0 auto; }
.notfall .kicker { color: #fff; opacity: .85; }
.notfall .roomno { color: #fff; border-color: #fff; }
.notfall h2 { font-size: clamp(2.8rem, 8vw, 6.4rem); font-stretch: 75%; line-height: .9; }
.nf-lead { font-size: 1.2rem; margin-top: 1.4rem; max-width: 36rem; }
.nf-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid #fff; }
.nf-num { display: block; text-decoration: none; padding: clamp(1.2rem, 2.5vw, 2rem); transition: background .2s; }
.nf-num + .nf-num { border-left: 2px solid #fff; }
.nf-num:hover { background: rgba(255, 255, 255, .1); }
.nf-when { display: block; font: 400 .78rem/1.3 var(--f-stencil); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem; }
.nf-digits { display: block; font: 800 clamp(1.9rem, 4.4vw, 3.4rem)/1 var(--f-head); font-stretch: 80%; letter-spacing: -.01em; }
.nf-num.is-now { background: #fff; color: var(--signal); }
.nf-num.is-now .nf-when::after { content: " · jetzt"; color: var(--pink); }

.check { margin-top: clamp(3rem, 6vw, 4.5rem); }
.check h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-stretch: 85%; }
.check-intro { margin: .5rem 0 1.4rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.check-list button {
  width: 100%; height: 100%; text-align: left; display: flex; gap: .9rem; align-items: flex-start;
  padding: .95rem 1rem; background: transparent; color: #fff; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .55); border-radius: var(--radius);
  font: 600 1.05rem/1.3 var(--f-head);
}
.check-list button::before {
  content: ""; flex: none; width: 22px; height: 22px; border: 2px solid #fff; border-radius: 3px; margin-top: 1px;
}
.check-list button small { display: block; font: 400 .95rem/1.3 var(--f-body); font-style: italic; opacity: .85; margin-top: .2rem; }
.check-list button[aria-pressed="true"] { background: #fff; color: var(--signal); border-color: #fff; }
.check-list button[aria-pressed="true"]::before { background: var(--pink); border-color: var(--pink); box-shadow: inset 0 0 0 3px #fff; }
.check-list button:hover { border-color: #fff; }
.check-list button > span { display: block; }
.check-result { margin-top: 1.4rem; font: 700 1.2rem/1.35 var(--f-head); padding: 1rem 1.2rem; border-left: 4px solid #fff; }
.check-result.is-alarm { background: #fff; color: var(--pink); border-left-color: var(--pink); }
.check-result.is-alarm a { color: var(--signal); font-size: 1.3em; white-space: nowrap; }

.costs { margin-top: 2.5rem; border-top: 2px solid rgba(255, 255, 255, .5); padding-top: 1rem; }
.costs summary { cursor: pointer; font: 700 1.15rem/1.3 var(--f-head); padding: .5rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.costs summary::-webkit-details-marker { display: none; }
.costs summary::after { content: "+"; font: 400 1.4rem/1 var(--f-stencil); }
.costs[open] summary::after { content: "–"; }
.costs-body { max-width: 46rem; padding-top: .6rem; }
.costs-body ul { padding-left: 1.2rem; }
.costs-body li { margin-bottom: .4rem; }

/* ---------- Leistungen ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); }
.tour-map { position: relative; }
.miniplan { position: sticky; top: 110px; border: 2px solid var(--ink); background: var(--paper); padding: 10px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; }
.miniplan .p-room { cursor: default; }
.miniplan .p-room .p-fill { transition: fill .35s; }
.miniplan .p-room.is-active .p-fill { fill: var(--pink-soft); }
.miniplan .p-room.is-active .p-name { fill: var(--pink); }
.room { padding: 0 0 clamp(2.5rem, 5vw, 3.5rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 2px solid var(--ink); }
.room:last-child { border-bottom: 0; margin-bottom: 0; }
.room-no { font: 400 .9rem/1 var(--f-stencil); color: var(--pink); letter-spacing: .1em; margin-bottom: .6rem; }
.room h3 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-stretch: 85%; margin-bottom: .9rem; }
.room ul { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid rgba(23, 58, 46, .2); }
.room li { font: 600 1rem/1.3 var(--f-head); padding: .6rem 0 .6rem 1.6rem; border-bottom: 1px solid rgba(23, 58, 46, .2); position: relative; }
.room li::before { content: ""; position: absolute; left: 0; top: .95rem; width: .9rem; height: 2px; background: var(--pink); }

/* ---------- Team ---------- */
.team { max-width: none; background: var(--wall); padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.plates { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }
.plate {
  position: relative; display: flex; flex-direction: column; gap: .35rem; justify-content: center;
  min-height: 104px; padding: 1.1rem 1.4rem; background: var(--paper);
  border: 2px solid var(--ink); border-radius: 3px; box-shadow: 0 3px 0 var(--ink-2);
}
.plate::before, .plate::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: radial-gradient(circle, transparent 1.5px, transparent 2px), var(--wall); }
.plate::before { left: 7px; } .plate::after { right: 7px; }
.plate-name { font: 700 1.2rem/1.1 var(--f-head); font-stretch: 92%; }
.plate-role { font: 400 .75rem/1.2 var(--f-stencil); letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.plate--lead { background: var(--ink); color: var(--paper); }
.plate--lead .plate-role { color: var(--pink-soft); }
.plate--lead::before, .plate--lead::after { border-color: var(--paper); background: var(--ink); }
.team-note { margin-top: 2rem; max-width: 40rem; font-style: italic; }

/* ---------- Zuhause ---------- */
.boxes { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.boxcard { border: 2px solid var(--ink); padding: 1.5rem 1.5rem 1.4rem; background: var(--paper); position: relative;
  background-image: repeating-linear-gradient(90deg, transparent 0 22px, rgba(23, 58, 46, .06) 22px 24px); }
.boxcard h3 { font-size: 1.9rem; font-stretch: 88%; margin-bottom: 1rem; }
.box-tag { display: inline-block; font: 400 .8rem/1 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: .45em .7em; margin: 0 0 1rem; }
.box-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 1.2rem; border-top: 1px solid var(--ink); }
.box-facts div { padding: .5rem 0; border-bottom: 1px solid rgba(23, 58, 46, .25); }
.box-facts div:nth-child(odd) { padding-right: .7rem; }
.box-facts dt { font: 400 .68rem/1.2 var(--f-stencil); letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.box-facts dd { margin: .1rem 0 0; font: 600 .95rem/1.25 var(--f-head); }
.boxcard p { font-size: 1.02rem; }
.box-wish { font-style: italic; margin: 0; }
.boxcard--missing { background: var(--pink-soft); border-style: dashed; border-color: var(--pink); }
.boxcard--missing .box-tag { background: var(--pink); }

/* ---------- Aktuelles ---------- */
.aktuelles { padding-top: 0; }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.5rem); }
.note { padding: 1.6rem 1.6rem 1.2rem; background: #fffdf6; border: 1px solid rgba(23, 58, 46, .2); box-shadow: 3px 4px 0 rgba(23, 58, 46, .14); position: relative; }
.note::before { content: ""; position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--pink); box-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.note:nth-child(1) { transform: rotate(-.6deg); }
.note:nth-child(2) { transform: rotate(.5deg); }
.note--job { background: var(--wall); }
.note-date { font: 400 .75rem/1 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: .7rem; }
.note h3 { font-size: 1.5rem; font-stretch: 90%; margin-bottom: .8rem; }
.note p { font-size: 1.02rem; }

/* ---------- Anfahrt ---------- */
.arrive dl.titleblock { border-top: 2px solid var(--ink); grid-template-columns: repeat(4, 1fr); margin-bottom: 1.5rem; background: var(--paper); }
.titleblock--big div { padding: 1rem 1.2rem; }
.titleblock--big dd { font-size: 1.1rem; }
.titleblock--big dd a { text-decoration: none; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 3rem; }
.site-foot a:hover { color: var(--pink-soft); }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1.4fr 1.2fr .8fr; gap: 2rem; }
.foot-grid p { font-size: 1rem; }
.foot-brand { font: 400 1.05rem/1.2 var(--f-head); }
.foot-brand strong { font-size: 1.5rem; font-stretch: 90%; }
.foot-label { font: 400 .72rem/1 var(--f-stencil) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-soft); margin-bottom: .7rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { max-width: 40rem; }
  .hours { grid-template-columns: 1fr; }
  .hour-card { border-right: 0; border-bottom: 2px solid var(--ink); }
  .hour-card:last-child { border-bottom: 0; }
  .rules { grid-template-columns: 1fr 1fr; }
  .notice { grid-column: 1 / -1; }
  .tour { grid-template-columns: 1fr; }
  .tour-map { display: none; }
  .boxes { grid-template-columns: 1fr 1fr; }
  .boxcard--missing { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .arrive dl.titleblock { grid-template-columns: 1fr 1fr; }
  .arrive dl.titleblock div:nth-child(2) { border-right: 0; }
  .arrive dl.titleblock div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
}
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .titleblock dl { grid-template-columns: 1fr 1fr; }
  .titleblock dl div:nth-child(2) { border-right: 0; }
  .titleblock dl div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .roomlist ol { columns: 2; }
  .rules { grid-template-columns: 1fr; }
  .nf-numbers { grid-template-columns: 1fr; }
  .nf-num + .nf-num { border-left: 0; border-top: 2px solid #fff; }
  .check-list { grid-template-columns: 1fr; }
  .boxes, .board { grid-template-columns: 1fr; }
  .box-facts { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .arrive dl.titleblock { grid-template-columns: 1fr; }
  .arrive dl.titleblock div { border-right: 0; border-bottom: 1px solid var(--ink); }
  .arrive dl.titleblock div:last-child { border-bottom: 0; }
  .sign { max-width: 100%; }
  .brand-text { font-size: 1.15rem; }
  .site-head { gap: .6rem; }
  .brand-mark { width: 32px; height: 32px; }
  .head-call { padding: 0; width: 44px; justify-content: center; }
  .head-call .hc-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { padding: 0 .8rem; }
  .plates { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .plate { min-height: 82px; padding: .8rem .9rem .8rem 1.1rem; }
  .plate-name { font-size: 1rem; }
  .plate-role { font-size: .64rem; }
  .plate::after { display: none; }
  .plate::before { left: 5px; width: 5px; height: 5px; margin-top: -2.5px; }
}

/* ================= Unterseiten ================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.more { margin: 2rem 0 0; font: 700 1.05rem/1.3 var(--f-head); }
.more a { text-decoration: none; border-bottom: 2px solid var(--pink); padding-bottom: 2px; }
.more--light a { border-color: #fff; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--pink); }

.page-head {
  max-width: 1440px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end;
  border-bottom: 2px solid var(--ink);
}
.page-head h1 { font-size: clamp(2.8rem, 7.4vw, 6.2rem); font-stretch: 78%; line-height: .92; letter-spacing: -.02em; }
.page-lead { font-size: clamp(1.12rem, 1.5vw, 1.28rem); max-width: 42rem; margin: 1.5rem 0 0; }
.sheet { margin: 0; border: 2px solid var(--ink); min-width: 15rem; }
.sheet div { padding: .5rem .8rem; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 1.5rem; }
.sheet div:last-child { border-bottom: 0; }
.sheet dt { font: 400 .64rem/1.6 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.sheet dd { margin: 0; font: 600 .88rem/1.4 var(--f-head); text-align: right; }

/* Raumbuch */
.raumbuch .room h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-stretch: 85%; margin-bottom: 1rem; }
.roomcrop { display: inline-block; margin-bottom: 1.4rem; border: 2px solid var(--ink); background: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 14px 14px; }
.roomcrop svg { height: 150px; width: auto; max-width: 100%; }
.roomcrop .p-room.is-active .p-fill { fill: var(--mint); }
.room-tip { background: var(--wall); border-left: 4px solid var(--pink); padding: .8rem 1rem; font-size: 1.02rem; }
.cta-band { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; border-top: 2px solid var(--ink); padding-top: 3rem; padding-bottom: 4rem; }
.cta-text { font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--f-head); font-stretch: 88%; margin: 0; max-width: 36rem; }

/* Notfall-Seite */
.notfall--page { padding-top: clamp(3rem, 6vw, 5rem); }
.nf-numbers--three { grid-template-columns: repeat(3, 1fr); }
.nf-numbers--three .nf-digits { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
.check-h { font-size: clamp(1.6rem, 3vw, 2.3rem); font-stretch: 85%; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); }
.steps li { padding: clamp(1.4rem, 2.5vw, 2rem); border-right: 2px solid var(--ink); position: relative; }
.steps li:last-child { border-right: 0; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 1.6rem; width: 26px; height: 26px; background: var(--paper); color: var(--pink); font: 700 1.1rem/26px var(--f-head); text-align: center; z-index: 1; }
.step-no { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 1rem/1 var(--f-head); margin-bottom: 1rem; }
.steps h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.steps p { font-size: 1.02rem; margin: 0; }
.kosten { padding-top: 0; }
.ledger { margin: 0; border-top: 2px solid var(--ink); }
.ledger div { display: grid; grid-template-columns: 1fr auto; gap: .4rem 2rem; padding: 1.1rem 0; border-bottom: 1px dashed rgba(23, 58, 46, .35); align-items: baseline; }
.ledger dt { font: 600 1.1rem/1.3 var(--f-head); }
.ledger dd { margin: 0; text-align: right; font: 800 1.5rem/1.1 var(--f-head); font-stretch: 85%; }
.ledger dd small { display: block; font: 400 .9rem/1.3 var(--f-body); font-style: italic; color: var(--ink-2); margin-top: .2rem; }
.nd-times { margin-top: 2.5rem; }
.nd-times h3 { font-size: 1.3rem; margin-bottom: .6rem; }

/* Team-Seite */
.dept { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 5rem); padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 2px solid var(--ink); }
.dept:first-child { padding-top: 0; }
.dept:last-child { border-bottom: 0; }
.dept-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-stretch: 85%; margin-bottom: .7rem; }
.dept-head p:last-child { font-size: 1.02rem; }
.dept .plates { margin: 0; }
.plates--big .plate { min-height: 130px; }
.plates--big .plate-name { font-size: 1.5rem; }
.note-h { font-size: 1.5rem; font-stretch: 90%; margin-bottom: .8rem; }
.team-extra { padding-top: 0; }

/* Zuhause-Seite */
.boxes--two { grid-template-columns: 1fr 1fr; }
.boxcard--big { padding: clamp(1.5rem, 3vw, 2.4rem); }
.boxcard--big h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-stretch: 86%; margin-bottom: 1rem; }
.box-hello { font-size: 1.2rem; font-style: italic; }
.boxcard--wide { max-width: 52rem; }
.boxcard--wide h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-stretch: 86%; margin-bottom: 1rem; }
.vermisst { padding-top: 0; }
.vermisst-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0; }

/* Jobs */
.job-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.job-plate { position: sticky; top: 110px; }
.plate--empty { min-height: 150px; border-style: dashed; box-shadow: none; background: transparent; }
.plate--empty .plate-name { font-size: 1.8rem; color: var(--ink-2); }
.job-block { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 2px solid var(--ink); }
.job-block:last-child { border-bottom: 0; }
.job-block h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-stretch: 86%; margin-bottom: .8rem; }
.job-block ul { padding-left: 1.2rem; }
.job-block li { margin-bottom: .4rem; }
.job-address { font: 600 1.1rem/1.45 var(--f-head); }

/* Rechtliches */
.legal { max-width: 52rem; }
.legal h2 { font-size: 1.4rem; margin: 2rem 0 .6rem; }
.legal-flag { border: 2px dashed var(--pink); background: #fff8fa; padding: 1rem 1.2rem; }
.legal-todo { background: var(--pink-soft); padding: 0 .3em; }

@media (max-width: 1000px) {
  .page-head { grid-template-columns: 1fr; }
  .sheet { max-width: 22rem; }
  .nf-numbers--three { grid-template-columns: 1fr; }
  .nf-numbers--three .nf-num + .nf-num { border-left: 0; border-top: 2px solid #fff; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 2px solid var(--ink); }
  .steps li:last-child { border-bottom: 0; }
  .steps li:not(:last-child)::after { content: "↓"; right: auto; left: 1.6rem; top: auto; bottom: -14px; }
  .dept { grid-template-columns: 1fr; }
  .job-grid { grid-template-columns: 1fr; }
  .job-plate { position: static; max-width: 22rem; }
}
@media (max-width: 640px) {
  .boxes--two { grid-template-columns: 1fr; }
  .ledger div { grid-template-columns: 1fr; }
  .ledger dd { text-align: left; }
  .plates--big { grid-template-columns: 1fr; }
  .plates--big .plate { min-height: 96px; }
  .plates--big .plate-name { font-size: 1.15rem; }
}
