/* ==========================================================================
   KiezVet – Stylesheet
   1. Design tokens        6. Header & navigation    11. Forms & booking
   2. Base                 7. Hero                   12. Emergency page
   3. Layout utilities     8. Sections & cards       13. Footer & mobile bar
   4. Typography           9. Media frames           14. Utilities
   5. Buttons & chips     10. Hours & contact        15. Responsive
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Colour – derived from the logo (copper, sage, cream) */
  --copper-700: #ac5234;   /* buttons, links (AA on cream and with white text) */
  --copper-600: #bc5e40;   /* bright copper: large headings, wordmark, icons only (3:1) */
  --copper-800: #8f412b;   /* hover, text on light copper */
  --copper-500: #c27e5f;   /* logo copper: lines, numbers, frames only */
  --copper-300: #e3a587;   /* accent on dark moss */
  --copper-100: #f3e4d9;
  --sage-500: #9b9985;   /* logo green 155,153,133 */
  --sage-200: #d7d6ce;
  --sage-100: #e6e6e0;
  --sage-700: #5d5c50;     /* eyebrows, labels */
  --moss-700: #3e4a37;     /* utility bar, dark band */
  --moss-800: #2f382a;     /* footer */
  --cream: #f6f0e9;        /* page background */
  --linen: #fbf8f4;        /* cards, header */
  --line: #e6d9cc;
  --line-soft: #efe5da;
  --ink: #2e2a25;
  --ink-muted: #5e574f;
  --alert: #a3261c;        /* emergency only */
  --alert-100: #f7e1dc;
  --white: #ffffff;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.75rem, 1.6rem + 4.2vw, 4.5rem);
  --fs-h2: clamp(2.125rem, 1.6rem + 2vw, 3.25rem);
  --fs-h3: 1.75rem;
  --fs-lead: 1.1875rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;

  /* Spacing – 8pt scale */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 3.5rem; --s-9: 4.5rem; --s-10: 7.5rem;

  /* Shape */
  --radius-field: 12px;
  --radius-card: 20px;
  --radius-pill: 999px;
  --shadow-float: 0 18px 40px rgba(62, 74, 55, 0.14);

  --container: 1240px;
  --gutter: 2rem;
  --header-h: 88px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-700); text-underline-offset: 3px; }
a:hover { color: var(--copper-800); }
:focus-visible { outline: 2px solid var(--copper-700); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: var(--s-3) var(--s-4); border-radius: 8px;
}
.skip-link:focus { top: var(--s-4); color: var(--white); }

/* 3. Layout utilities ---------------------------------------------------- */
.container {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--s-10); }
.section--tight { padding-block: var(--s-9); }
.section--sage { background: var(--sage-100); }
.section--linen { background: var(--linen); border-block: 1px solid var(--line); }
.section--dark { background: var(--moss-700); color: #ede8df; }
.stack { display: flex; flex-direction: column; gap: var(--s-5); }
.stack-lg { display: flex; flex-direction: column; gap: var(--s-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-9); align-items: center; }
.split--top { align-items: start; }
.split--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); }
.section-head > div { max-width: 640px; }

/* 4. Typography ---------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: var(--fs-display); letter-spacing: -0.01em; line-height: 1.02; }
h1 em { color: var(--copper-600); }
.h1-kicker {
  display: block; margin-bottom: var(--s-5); font-family: var(--font-body); font-size: var(--fs-eyebrow);
  font-style: normal; font-weight: 700; letter-spacing: 0.28em; line-height: 1.5; text-transform: uppercase; color: var(--sage-700);
}
picture { display: contents; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; }
p { margin: 0; }
.eyebrow { font-size: var(--fs-eyebrow); letter-spacing: 0.28em; font-weight: 700; text-transform: uppercase; color: var(--sage-700); }
.section--dark .eyebrow { color: #c9d3bc; }
.section--dark h2 { color: var(--linen); }
.lead { font-size: var(--fs-lead); color: var(--ink-muted); max-width: 34em; }
.section--dark .lead { color: #d8dccf; }
.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-small); }
.prose { max-width: 65ch; display: flex; flex-direction: column; gap: var(--s-4); }
.prose h2 { font-size: 2rem; margin-top: var(--s-5); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--s-2); }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* 5. Buttons & chips ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0.75rem 1.75rem; border-radius: var(--radius-pill);
  font-weight: 600; text-decoration: none; border: 1.5px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  max-width: 100%; text-align: center; text-wrap: balance;
}
.btn--primary { background: var(--copper-700); color: var(--white); }
.btn--primary:hover { background: var(--copper-800); color: var(--white); }
.btn--secondary { border-color: var(--copper-500); color: var(--copper-800); background: transparent; }
.btn--secondary:hover { background: var(--copper-100); color: var(--copper-800); }
.btn--alert { background: var(--alert); color: var(--white); }
.btn--alert:hover { background: #82170f; color: var(--white); }
.btn--light { background: var(--copper-300); color: var(--ink); font-weight: 700; }
.btn--light:hover { background: #ecbba3; color: var(--ink); }
.btn--ghost-light { border-color: #c9d3bc; color: var(--linen); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); color: var(--linen); }
.btn--block { width: 100%; }
.btn[disabled] { background: #c9b9ac; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 0.8125rem; font-weight: 600; padding: 0.375rem 0.75rem; border-radius: var(--radius-pill);
}
.chip--open { background: var(--sage-100); color: var(--moss-700); }
.chip--closed { background: var(--copper-100); color: var(--copper-800); }
.chip--alert { background: var(--alert-100); color: var(--alert); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* 6. Header & navigation ------------------------------------------------- */
.utility-bar { background: var(--moss-700); color: #ede8df; font-size: 0.8125rem; }
.utility-bar .container { display: flex; align-items: center; gap: var(--s-5); min-height: 40px; }
.utility-bar a { color: #ede8df; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.utility-bar a:hover { color: var(--white); text-decoration: underline; }
.utility-bar .status { display: inline-flex; align-items: center; gap: var(--s-2); margin-right: auto; min-width: 0; }
.utility-bar [data-open-status] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.utility-bar .status .dot { background: #a9c29a; }
.utility-bar .status.is-closed .dot { background: var(--copper-300); }
.utility-bar .emergency-link { color: #ffb4a8; font-weight: 700; }

.site-header { background: var(--linen); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; margin-right: auto; }
.brand img { width: auto; height: 62px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 2.375rem; letter-spacing: 0.01em; color: var(--copper-600); }
.brand-sub { font-size: 0.875rem; letter-spacing: 0.26em; color: var(--sage-700); margin-top: 6px; font-weight: 700; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding-block: var(--s-2); border-bottom: 1.5px solid transparent; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--copper-500); color: var(--ink); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: transparent; align-items: center; justify-content: center; color: var(--ink);
}

/* 7. Hero ---------------------------------------------------------------- */
.hero { padding-block: var(--s-9) var(--s-10); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-9); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: var(--s-5); }
.trust-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-muted); }
.trust-row strong { color: var(--ink); }
.hero-media { position: relative; }
.float-card {
  position: absolute; left: -28px; bottom: 48px; background: var(--linen); border: 1px solid var(--line);
  border-radius: 16px; padding: var(--s-4) var(--s-5); box-shadow: var(--shadow-float); display: flex; flex-direction: column; gap: 2px;
}
.float-card .big { font-family: var(--font-display); font-size: 1.625rem; font-weight: 600; }

.page-hero { padding-block: var(--s-9) var(--s-8); }
.page-hero .stack { max-width: 760px; }
.breadcrumb { font-size: var(--fs-small); color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-muted); }

/* 8. Sections & cards ---------------------------------------------------- */
.notice-band {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6);
  background: var(--linen); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s-5) var(--s-6);
}
.notice-band .icon-circle { background: var(--alert-100); color: var(--alert); }
.notice-band .body { flex: 1 1 360px; min-width: 0; }

.icon-circle {
  width: 56px; height: 56px; border-radius: 50%; background: var(--sage-100); color: var(--copper-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card {
  display: flex; flex-direction: column; gap: var(--s-3); background: var(--linen); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: var(--s-6); color: var(--ink); text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
a.card:hover { border-color: var(--copper-500); transform: translateY(-2px); color: var(--ink); }
.card .more { margin-top: auto; color: var(--copper-700); font-weight: 600; font-size: var(--fs-small); }
.card--future { background: transparent; border: 1.5px dashed var(--copper-500); }
.badge { align-self: flex-start; font-size: var(--fs-eyebrow); letter-spacing: .2em; font-weight: 700; color: var(--copper-800); background: var(--copper-100); padding: 5px 12px; border-radius: var(--radius-pill); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-6); }
.checklist--single { grid-template-columns: minmax(0, 1fr); }
.checklist li { display: flex; gap: var(--s-3); align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; stroke: var(--copper-600); stroke-width: 2; margin-top: 2px; flex-shrink: 0; }

.steps { counter-reset: step; }
.step { display: flex; flex-direction: column; gap: var(--s-3); border-top: 1.5px solid var(--copper-500); padding-top: var(--s-5); }
.step-num { font-family: var(--font-display); font-size: 3.5rem; line-height: 1; color: var(--copper-500); }
.step h3 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 700; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-5); }
.grow-note { display: flex; flex-direction: column; gap: var(--s-1); margin-top: var(--s-3); padding: var(--s-4) var(--s-5); background: var(--copper-100); border-left: 3px solid var(--copper-500); border-radius: 12px; }
.grow-note strong { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; color: var(--copper-800); }
.grow-note .link-arrow { min-height: 32px; }
.fact-value { overflow-wrap: anywhere; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); font-weight: 600; color: var(--copper-600); line-height: 1.1; }

.post { display: flex; flex-direction: column; gap: var(--s-3); text-decoration: none; color: var(--ink); }
.post:hover { color: var(--ink); }
.post:hover .post-title { color: var(--copper-700); }
.post--text { padding: var(--s-6) var(--s-5); background: var(--linen); border: 1px solid var(--line); border-top: 3px solid var(--copper-500); border-radius: var(--radius-card); height: 100%; }
.post--text .small { margin-top: auto; }
.post-media { aspect-ratio: 16 / 10; border-radius: var(--radius-card); overflow: hidden; background: var(--sage-200); }
.post-media--b { background: #ead7c9; }
.post-media--c { background: var(--sage-100); }
.post-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.post-title { font-family: var(--font-display); font-size: 1.625rem; font-weight: 600; line-height: 1.15; transition: color .2s ease; }

/* 9. Media frames (arch from the logo's shield) -------------------------- */
.frame { position: relative; overflow: hidden; border: 1.5px solid var(--copper-500); background: var(--sage-500); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame--arch { aspect-ratio: 4 / 5; border-radius: 280px 280px 24px 24px; }
.frame--arch-down { aspect-ratio: 1 / 1; border-radius: 24px 24px 280px 280px; }
.frame--portrait { aspect-ratio: 4 / 5; max-width: 440px; width: 100%; justify-self: center; border-radius: 240px 240px 20px 20px; }
.frame--wide { aspect-ratio: 3 / 2; border-radius: var(--radius-card); }
@media (min-width: 1001px) {
  /* home: photos sized to the text beside them */
  .hero-media { width: 100%; max-width: 400px; justify-self: center; }
  .frame--portrait { max-width: 400px; }
  .frame--stress { width: 100%; max-width: 360px; justify-self: center; }
}
.frame--hero { border-radius: 24px; }
.frame--hero img { object-position: 50% 0%; }
.hero-media .float-card { bottom: -32px; }
.frame--stress { aspect-ratio: 2 / 3; }
.frame.frame--stress { max-width: 360px; margin-inline: auto; }
.frame--stress img { object-position: 50% 50%; }
.pos-hero { object-position: 45% 50%; }
.pos-portrait { object-position: 59% 40%; }
.pos-dog { object-position: 50% 40%; }

/* 10. Hours & contact ---------------------------------------------------- */
.hours { background: var(--linen); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s-2) var(--s-5); font-variant-numeric: tabular-nums; }
.hours-row { display: flex; justify-content: space-between; gap: var(--s-4); padding: 0.875rem 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: 0; }
.hours-row.is-today { color: var(--copper-700); font-weight: 700; }
.map-placeholder {
  min-height: 420px; border-radius: 24px; background: var(--sage-200); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-3); padding: var(--s-6); text-align: center;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.contact-list strong { display: block; }

/* 11. Forms & booking ---------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label, .legend { font-weight: 600; font-size: 0.9375rem; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--white); border: 1px solid #cdbfb1;
  border-radius: var(--radius-field); padding: 0.75rem 1rem; min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--copper-700); outline-offset: 1px; border-color: var(--copper-700); }
.field.has-error input, .field.has-error textarea { border: 1.5px solid var(--alert); }
.field-error { font-size: 0.8125rem; color: var(--alert); }
.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-small); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--copper-700); flex-shrink: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }

.booking { background: var(--linen); border: 1px solid var(--line); border-radius: 24px; padding: var(--s-6); max-width: 760px; margin-inline: auto; }
.booking--embed { max-width: 960px; }
.booking-embed { border-radius: var(--radius-field); overflow: hidden; background: var(--white); }
.booking-embed:empty { display: flex; align-items: center; justify-content: center; min-height: 160px; border: 1px dashed var(--line); background: transparent; }
.booking-embed:empty::before { content: "Kalender wird geladen …"; color: var(--ink-muted); font-size: var(--fs-small); }
.booking-embed iframe { display: block; width: 100%; border: 0; }
.progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: var(--s-2); }
.progress span { height: 4px; border-radius: 2px; background: var(--line); }
.progress span.is-done { background: var(--copper-700); }
.booking fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.booking legend { padding: 0; margin-bottom: var(--s-3); }
.options { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.options--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.options--days { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 0.5rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--white);
  font-weight: 600; font-size: 0.9375rem; font-variant-numeric: tabular-nums; transition: background-color .15s, border-color .15s;
}
.options:not(.options--grid):not(.options--days):not(.options--slots) .option span { border-radius: var(--radius-pill); }
.option input:hover + span { border-color: var(--copper-500); }
.option input:focus-visible + span { outline: 2px solid var(--copper-700); outline-offset: 2px; }
.option input:checked + span { border: 1.5px solid var(--copper-700); background: var(--copper-100); color: var(--copper-800); }
.options--slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
.options--slots .option.is-cat span { border: 1.5px solid var(--copper-500); }
.options--slots .option input:checked + span { background: var(--copper-700); color: var(--white); }
.option span small { font-size: 0.75rem; font-weight: 500; }
.booking-nav { display: flex; gap: var(--s-3); justify-content: space-between; margin-top: var(--s-6); flex-wrap: wrap; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: var(--s-5); display: grid; gap: var(--s-2); }
.summary .big { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.success-icon { width: 88px; height: 88px; border-radius: 50%; background: var(--sage-100); color: var(--sage-700); display: flex; align-items: center; justify-content: center; }
.success-icon .icon { width: 40px; height: 40px; stroke-width: 2; }
.alert-strip { display: flex; gap: var(--s-3); align-items: flex-start; background: var(--alert-100); border-radius: 12px; padding: var(--s-3) var(--s-4); font-size: var(--fs-small); color: #4a2a25; }
.alert-strip .icon { width: 18px; height: 18px; stroke: var(--alert); stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.form-success { background: var(--sage-100); border-radius: 16px; padding: var(--s-5); color: var(--moss-700); }

/* 12. Emergency page ----------------------------------------------------- */
.em-decision { display: grid; gap: var(--s-4); }
.em-box { border-radius: 24px; padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); align-items: flex-start; }
.em-box--primary { background: var(--alert); color: var(--white); }
.em-box--primary h2 { color: var(--white); font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem); }
.em-box--primary .phone { display: inline-flex; align-items: center; min-height: 48px; overflow-wrap: anywhere; font-family: var(--font-display); font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 600; color: var(--white); text-decoration: none; line-height: 1; }
.em-box--primary .btn { background: var(--white); color: var(--alert); }
.em-box--secondary { background: var(--linen); border: 1px solid var(--line); }
.symptoms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-5); }
.symptoms li { display: flex; gap: var(--s-2); align-items: baseline; }
.symptoms li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--alert); flex-shrink: 0; transform: translateY(-1px); }
.poster { margin: var(--s-6) 0 0; max-width: 419px; }
.poster img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.poster figcaption { margin-top: var(--s-2); }
details.faq { background: var(--linen); border: 1px solid var(--line); border-radius: 16px; padding: var(--s-4) var(--s-5); }
details.faq + details.faq { margin-top: var(--s-3); }
details.faq summary { font-weight: 700; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
details.faq[open] summary { margin-bottom: var(--s-3); }

/* 13. Footer & mobile bar ------------------------------------------------ */
.urbanvet-band .btn-row { margin-top: var(--s-2); }
.site-footer { background: var(--moss-800); color: #c9cdbf; padding-block: var(--s-9) var(--s-6); font-size: 0.9375rem; }
.site-footer a { color: #c9cdbf; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); gap: var(--s-7); }
.footer-col { display: flex; flex-direction: column; gap: var(--s-2); }
.footer-col .footer-title { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: .2em; font-weight: 700; color: var(--linen); margin-bottom: var(--s-2); text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer-col a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-brand { font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; letter-spacing: .01em; color: var(--copper-300); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); border-top: 1px solid #4a5643; margin-top: var(--s-8); padding-top: var(--s-5); font-size: 0.8125rem; }
.footer-bottom span:first-child { margin-right: auto; }

.mobile-bar { display: none; }

/* 14. Utilities ---------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-4 { margin-top: var(--s-4); }
.center { text-align: center; align-items: center; }

/* 15. Responsive ------------------------------------------------------- */
/* Tablet + small laptop: collapse navigation, two-column cards, capped media */
.site-header .btn { white-space: nowrap; }
@media (min-width: 1001px) and (max-width: 1180px) {
  .main-nav ul { gap: 1rem; }
  .brand img { height: 56px; }
  .brand-name { font-size: 2rem; }
  .brand-sub { font-size: 0.75rem; letter-spacing: 0.2em; }
}
@media (max-width: 1000px) {
  :root { --header-h: 76px; }
  .brand img { height: 56px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--linen);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-float); display: none;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: var(--s-2) var(--gutter) var(--s-4); max-width: var(--container); margin-inline: auto; }
  .main-nav a { display: flex; align-items: center; min-height: 56px; padding: 0; border-bottom: 1px solid var(--line-soft); font-size: 1.0625rem; }
  .main-nav a[aria-current="page"] { color: var(--copper-700); border-color: var(--line-soft); font-weight: 700; }
  .site-header .btn--primary { padding-inline: 1.25rem; }
  .utility-bar .hide-sm { display: none; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .hero { padding-block: var(--s-7) var(--s-9); }
  .hero-media, .frame--arch, .frame--arch-down, .frame--portrait { width: 100%; max-width: 520px; justify-self: center; margin-inline: auto; }
  .frame--wide { max-width: 640px; }
  .grid-cards, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float-card { left: 16px; bottom: 16px; }
  .section { padding-block: var(--s-9); }
}
/* Large phones / small tablets */
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
/* Phones */
@media (max-width: 700px) {
  :root { --gutter: 1.25rem; --header-h: 68px; }
  body { font-size: 1rem; }
  .section { padding-block: var(--s-8); }
  .section--tight { padding-block: var(--s-7); }
  .hero { padding-block: var(--s-6) var(--s-8); }
  .page-hero { padding-block: var(--s-6) var(--s-6) !important; }
  .stack-lg { gap: var(--s-6); }
  .grid-3, .grid-cards, .checklist, .symptoms, .form-row { grid-template-columns: minmax(0, 1fr); }
  .lead { font-size: 1.0625rem; }
  .card { padding: var(--s-5); }
  .notice-band { padding: var(--s-5); }
  .notice-band .btn { width: 100%; }
  .utility-bar { font-size: 0.75rem; }
  .utility-bar a[data-tel] { display: none; }        /* the bottom bar already offers "Anrufen" */
  .site-header .btn--primary { display: none; }      /* the bottom bar already offers "Termin" */
  .brand img { width: auto; height: 46px; }
  .brand-name { font-size: 1.875rem; }
  .options--slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .options--grid { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); }
  .booking { padding: var(--s-5) var(--s-4); border-radius: 20px; }
  .booking-nav .btn { flex: 1 1 auto; }
  .em-box { padding: var(--s-5); border-radius: 20px; gap: var(--s-3); }
  .em-box--primary h2 { font-size: 1.5rem; }
  .em-box--primary .phone { font-size: 2rem; }
  .page-hero .chip--alert { display: none; }            /* emergency page: number above the fold */
  .page-hero:has(.chip--alert) h1 { font-size: 2.25rem; }
  .eyebrow, .h1-kicker { letter-spacing: 0.2em; }
  .h1-kicker { margin-bottom: var(--s-4); }
  .float-card { padding: var(--s-3) var(--s-4); }
  .float-card .big { font-size: 1.25rem; line-height: 1.2; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .footer-bottom { margin-top: var(--s-6); }
  .map-placeholder { min-height: 240px; }
  .site-footer { padding-bottom: calc(var(--s-6) + 64px + env(safe-area-inset-bottom, 0px)); }
  .float-card { position: relative; left: auto; bottom: auto; margin: -40px 16px 0; }

  /* Sticky quick-action bar: call · book · emergency */
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--linen); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(46,42,37,.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px;
    font-size: 0.75rem; font-weight: 700; text-decoration: none; color: var(--ink);
  }
  .mobile-bar a .icon { width: 22px; height: 22px; stroke-width: 1.8; }
  .mobile-bar .is-primary { background: var(--copper-700); color: var(--white); }
  .mobile-bar .is-alert { color: var(--alert); }
  .mobile-bar a[aria-current="page"]:not(.is-primary) { background: var(--copper-100); }
}
/* Very small phones */
@media (max-width: 360px) {
  :root { --gutter: 1rem; }
  .brand-sub { font-size: 0.75rem; letter-spacing: 0.2em; }
  .options--slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Wide screens: a little more air, never wider text */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 16. Ratgeber articles ------------------------------------------------- */
.article-col { max-width: calc(760px + 2 * var(--gutter)); }
.article-header .stack { gap: var(--s-4); }
.article-header h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); }
.article-meta a { color: var(--ink-muted); }
.article-image { border-radius: var(--radius-card); margin-bottom: var(--s-7); }
.article-image--landscape { aspect-ratio: 3 / 2; }
.article-image--portrait { aspect-ratio: 4 / 3; }
.article-image--portrait img { object-position: 50% 35%; }
.article-body { max-width: none; gap: var(--s-4); font-size: 1.0625rem; line-height: 1.75; padding-bottom: var(--s-6); }
.article-body h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); margin-top: var(--s-6); scroll-margin-top: calc(var(--header-h) + 24px); }
.article-body h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; margin-top: var(--s-3); }
.article-body ol { margin: 0; padding-left: 1.4em; display: grid; gap: var(--s-3); }
.article-body ol li::marker { color: var(--copper-700); font-weight: 700; }
.article-body ul { gap: var(--s-3); }
.toc { background: var(--linen); border: 1px solid var(--line); border-radius: 16px; padding: var(--s-5); font-size: 1rem; }
.toc-title { font-size: var(--fs-eyebrow); letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--sage-700); margin-bottom: var(--s-2); }
.toc ol { gap: var(--s-1); }
.toc a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.callout { border-radius: 16px; padding: var(--s-5); background: var(--sage-100); display: flex; flex-direction: column; gap: var(--s-3); }
.callout--alert { background: var(--alert-100); color: #4a2a25; }
.callout ul { margin: 0; }
.article-body .callout-title { display: flex; gap: var(--s-2); align-items: center; font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; margin: 0; color: var(--alert); }
.callout-title .icon { width: 20px; height: 20px; stroke-width: 2; }
.cta-box { margin-top: var(--s-6); background: var(--moss-700); color: #ede8df; border-radius: var(--radius-card); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; }
.cta-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--linen); line-height: 1.15; }
.author-box { display: flex; gap: var(--s-4); align-items: center; border-top: 1px solid var(--line); padding-top: var(--s-5); margin-top: var(--s-4); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 59% 30%; flex-shrink: 0; }
.post-media picture img { width: 100%; height: 100%; object-fit: cover; }
