/*
Theme Name: Tierarztpraxis Bad Zwischenahn
Theme URI: https://www.tierarztpraxisbadzwischenahn.de
Author: Redesign
Author URI: https://www.tierarztpraxisbadzwischenahn.de
Description: Maßgeschneidertes klassisches Theme für die Tierarztpraxis Bad Zwischenahn — Kleintier- und Pferdemedizin. Rote Markenfarbe, mobil-optimiert, DSGVO-bewusst. Für WordPress 7.0 (klassisches PHP-Theme mit Block-Editor-Unterstützung auf Seiten).
Version: 1.1.2
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tbz
Tags: custom-menu, featured-images, translation-ready, threaded-comments, block-styles, wide-blocks
*/

/* =============================================================
   Tierarztpraxis Bad Zwischenahn — Redesign
   Colors matched 1:1 to the live site:
     accent  rgb(194,54,45) red · hover rgb(168,42,34)
     text    rgb(56,56,56) / rgb(102,102,102)
     surfaces #ffffff / rgb(244,244,244) / rgb(246,246,246)
   Cinematic-product motion & hierarchy in a light editorial palette.
   Vanilla CSS3, mobile-first, WordPress-theme friendly.
   ============================================================= */

:root {
  /* Brand — matched to the live site's red header (sampled #c2362d) */
  --accent:        rgb(194, 54, 45);     /* brick red — header, buttons, links */
  --accent-hover:  rgb(168, 42, 34);     /* darker red — hover */
  --accent-deep:   rgb(140, 34, 27);     /* deepest red for emphasis on light */
  --on-accent:     #ffffff;

  /* Neutrals */
  --bg:            #ffffff;
  --surface:       rgb(246, 246, 246);
  --surface-2:     rgb(244, 244, 244);
  --line:          rgb(224, 224, 224);
  --line-soft:     rgb(236, 236, 236);

  --ink:           rgb(51, 51, 51);       /* headings */
  --ink-body:      rgb(74, 74, 74);
  --ink-muted:     rgb(102, 102, 102);    /* body text on live site */
  --ink-faint:     rgb(140, 140, 140);

  /* Dark stage (used sparingly for hero overlay + footer) */
  --stage:         rgb(38, 34, 33);       /* warm neutral dark */
  --stage-2:       rgb(30, 27, 26);

  /* Semantic */
  --success:       #4f7a52;
  --warning:       #b9832b;
  --error:         #b34a3a;
  --focus:         var(--accent);

  /* Type */
  --font-display:  "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:     "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Structure */
  --wrap:          1180px;
  --wrap-narrow:   860px;
  --gutter:        clamp(1.25rem, 4vw, 3rem);
  --radius:        10px;
  --radius-sm:     6px;      /* live site uses 6px button radius */
  --radius-lg:     16px;

  --shadow-sm:     0 2px 10px -4px rgba(38,34,33,.16);
  --shadow:        0 18px 44px -24px rgba(38,34,33,.32), 0 3px 10px -5px rgba(38,34,33,.18);

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

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

.eyebrow {
  font-family: var(--font-body); font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
.display { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 400; line-height: 1.04; }
.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: var(--ink-muted); max-width: 62ch; }

/* Buttons — match live 6px radius + slate fill */
.btn {
  --_bg: var(--accent); --_fg: var(--on-accent);
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border: 0; border-radius: var(--radius-sm);
  background: var(--_bg); color: var(--_fg); font-weight: 600; font-size: .96rem;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; }
.btn--ghost { --_bg: transparent; --_fg: var(--accent); border: 1px solid var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--on-accent); }
.btn--light { --_bg: #fff; --_fg: var(--accent-deep); }
.btn--light:hover { background: rgba(255,255,255,.88); color: var(--accent-deep); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--accent);
  transition: gap .3s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.link-arrow:hover { gap: .65rem; }

/* =============================================================
   HEADER / NAV
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--accent);
  transition: box-shadow .3s var(--ease);
}
.site-header[data-scrolled="true"] { box-shadow: 0 4px 20px -8px rgba(0,0,0,.35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; line-height: 1.05; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 8px; background: rgba(255,255,255,.16);
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-mark svg { width: 26px; height: 26px; color: #fff; }
.brand-logo { width: auto; height: 46px; flex-shrink: 0; }
.brand-text strong { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: #fff; display: block; white-space: nowrap; }
.brand-text span { font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.72); white-space: nowrap; }

/* Desktop nav with dropdowns */
.nav-menu { display: none; list-style: none; padding: 0; align-items: center; gap: .05rem; }
.nav-menu > li { position: relative; }
.nav-menu > li > a, .nav-menu > li > .nav-top {
  display: inline-flex; align-items: center; gap: .28rem; padding: .5rem .62rem;
  font-size: .94rem; font-weight: 500; color: rgba(255,255,255,.92); border-radius: 6px; background: none; border: 0;
  white-space: nowrap; transition: color .2s, background .2s;
}
.nav-menu > li > a:hover, .nav-menu > li:hover > .nav-top, .nav-menu > li > a[aria-current="page"] {
  color: #fff; background: rgba(255,255,255,.15);
}
.nav-top svg { width: 13px; height: 13px; transition: transform .25s; }
.nav-menu > li:hover .nav-top svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .5rem; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-menu > li:hover .submenu, .nav-menu > li:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: .55rem .75rem; font-size: .88rem; color: var(--ink-body); border-radius: 6px; }
.submenu a:hover { background: var(--surface); color: var(--accent); }

.nav-cta { display: none; background: #fff; color: var(--accent); white-space: nowrap; padding: .6rem 1.1rem; }
.nav-cta:hover { background: rgba(255,255,255,.88); color: var(--accent-deep); }
.nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

/* Slightly tighter menu spacing on mid-desktop to avoid crowding */
@media (min-width: 900px) and (max-width: 1300px) {
  .nav-menu > li > a, .nav-menu > li > .nav-top { padding: .5rem .5rem; font-size: .9rem; }
  .nav { gap: .7rem; }
  .brand-logo { height: 42px; }
}

/* Burger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28); border-radius: 8px;
}
.burger span { height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: #fff;
  padding: 88px var(--gutter) 2rem; overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
}
.mobile-nav[data-open="true"] { transform: translateX(0); visibility: visible; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line-soft); }
.mobile-nav > ul > li > a, .mobile-group-label {
  display: block; padding: .95rem .2rem; font-family: var(--font-display);
  font-size: 1.25rem; color: var(--ink); font-weight: 500;
}
.mobile-sub { padding: 0 0 .8rem .2rem !important; }
.mobile-sub li a { display: block; padding: .45rem 0; font-family: var(--font-body); font-size: .98rem; color: var(--ink-muted); }
.mobile-sub li a:hover { color: var(--accent); }
.mobile-nav .btn { margin-top: 1.6rem; width: 100%; justify-content: center; }

/* =============================================================
   HERO
   ============================================================= */
.hero { position: relative; min-height: 92vh; min-height: 92dvh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; transform: scale(1.06); animation: heroDrift 16s var(--ease) forwards; }
@keyframes heroDrift { to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(38,34,33,.86) 0%, rgba(38,34,33,.6) 42%, rgba(38,34,33,.28) 75%, rgba(38,34,33,.42) 100%);
}
.hero-inner { padding-top: 90px; padding-bottom: 2rem; max-width: 44rem; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: rgba(255,255,255,.7); }
.hero h1 { color: #fff; margin: 1.2rem 0 1.4rem; text-shadow: 0 2px 26px rgba(0,0,0,.28); }
.hero h1 em { font-style: italic; color: #fff; opacity: .96; }
.hero-sub { color: rgba(255,255,255,.94); font-size: clamp(1.05rem, 1.5vw, 1.24rem); max-width: 48ch; margin-bottom: 2rem; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-phone { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; padding: .85rem 0; }
.hero-phone svg { width: 18px; height: 18px; }

.reveal-up { opacity: 0; transform: translateY(24px); animation: revealUp .85s var(--ease) forwards; }
.reveal-up:nth-child(1) { animation-delay: .1s; }
.hero h1.reveal-up { animation-delay: .24s; }
.hero .hero-sub.reveal-up { animation-delay: .42s; }
.hero .hero-actions.reveal-up { animation-delay: .58s; }
@keyframes revealUp { to { opacity: 1; transform: none; } }

/* =============================================================
   Generic section rhythm
   ============================================================= */
.section { padding: clamp(3.5rem, 8vh, 7rem) 0; }
.section--surface { background: var(--surface); }
.section--surface2 { background: var(--surface-2); }

/* Page hero (subpages) */
.page-hero { padding: calc(72px + clamp(2.5rem,6vh,4.5rem)) 0 clamp(1.8rem,4vh,3rem); background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.page-hero .crumb { font-size: .82rem; color: var(--ink-faint); margin-bottom: .9rem; }
.page-hero .crumb a { color: var(--ink-muted); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero p { color: var(--ink-muted); max-width: 60ch; margin-top: 1rem; font-size: 1.08rem; }

/* Intro split (home) */
.intro-grid { display: grid; gap: clamp(2rem,5vw,3.5rem); align-items: center; }
.intro-copy h2 { font-size: clamp(1.8rem,4vw,2.8rem); margin: 1rem 0 1.2rem; max-width: 20ch; }
.intro-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.intro-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.intro-media figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(38,34,33,.82); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-size: .86rem; backdrop-filter: blur(6px);
}
.stat-rail { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 2.2rem; border-top: 1px solid var(--line); }
.stat-rail div { padding-top: 1.3rem; }
.stat-rail .num { font-family: var(--font-display); font-size: clamp(2.2rem,4.5vw,3rem); font-weight: 500; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat-rail .lbl { font-size: .8rem; color: var(--ink-muted); margin-top: .45rem; max-width: 16ch; }

/* Two worlds */
.split { display: grid; gap: 1.2rem; }
.world { position: relative; min-height: 400px; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.world::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(38,34,33,.05) 30%, rgba(38,34,33,.55) 65%, rgba(38,34,33,.9) 100%); }
.world:hover img { transform: scale(1.05); }
.world-body { padding: clamp(1.5rem,3vw,2.2rem); }
.world-body h3 { color: #fff; font-size: clamp(1.5rem,3vw,2rem); margin-bottom: .6rem; }
.world-body p { color: rgba(255,255,255,.9); max-width: 42ch; margin-bottom: 1.2rem; }
.world-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.3rem; }
.world-tags span { font-size: .76rem; padding: .3rem .65rem; border: 1px solid rgba(255,255,255,.35); border-radius: 100px; color: #fff; }
.world .link-arrow { color: #fff; }

/* Service list */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.4rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line); transition: padding-left .35s var(--ease); }
.svc-row:hover { padding-left: .5rem; }
.svc-row .svc-idx { font-family: var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.svc-row h3 { font-size: clamp(1.2rem,2.2vw,1.6rem); font-weight: 500; }
.svc-row p { grid-column: 2; color: var(--ink-muted); max-width: 64ch; margin-top: .4rem; }

/* Feature cards (used where enclosure earns it) */
.card-grid { display: grid; gap: 1.2rem; }
.card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.6rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.card .card-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; color: var(--accent); margin-bottom: 1rem; }
.card .card-ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--ink-muted); font-size: .95rem; }

/* Hours */
.hours-grid { display: grid; gap: 1.2rem; }
.hours-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(1.5rem,3vw,2.2rem); box-shadow: var(--shadow-sm); }
.hours-card h3 { font-size: 1.35rem; margin-bottom: .3rem; display: flex; align-items: center; gap: .55rem; }
.hours-card h3 svg { width: 20px; height: 20px; color: var(--accent); }
.hours-card .sub { color: var(--ink-faint); font-size: .88rem; margin-bottom: 1.2rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line-soft); font-size: .94rem; }
.hours-table th { font-weight: 600; color: var(--ink); width: 42%; }
.hours-table td { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .closed { color: var(--ink-faint); font-style: italic; }
.hours-note { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); font-size: .88rem; color: var(--ink-muted); }

/* Emergency callout */
.emergency { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.2rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: clamp(1.3rem,3vw,1.8rem); }
.emergency .pulse { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(194,54,45,.14); color: var(--accent); position: relative; flex-shrink: 0; }
.emergency .pulse svg { width: 21px; height: 21px; }
.emergency .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.emergency h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.emergency p { color: var(--ink-muted); font-size: .9rem; }

/* Notice banner (photography note etc.) */
.notice { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1rem 1.3rem; color: var(--ink-body); font-size: .94rem; display: flex; gap: .7rem; align-items: flex-start; }
.notice svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: .1rem; }

/* =============================================================
   Prose (content-heavy subpages)
   ============================================================= */
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.5rem,3vw,2.1rem); margin-top: 2.6rem; margin-bottom: .3rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8rem; }
.prose h2 + p, .prose h3 + p, .prose h2 + ul, .prose h3 + ul { margin-top: .6rem; }
.prose p, .prose li { color: var(--ink-body); font-size: 1.02rem; line-height: 1.75; }
.prose .lede { color: var(--ink-muted); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-top: .45rem; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--radius); margin: 1.6rem 0; box-shadow: var(--shadow-sm); }
.prose .figrow { display: grid; gap: 1rem; margin: 1.6rem 0; }
@media (min-width: 640px) { .prose .figrow { grid-template-columns: 1fr 1fr; } }
.prose .figrow img { margin: 0; }
.prose .callout { background: var(--surface); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.prose .callout p { margin: 0; }
.prose .btn { text-decoration: none; }
.prose .btn:hover { color: #fff; }

/* Link cards row (for resource links) */
.linkcards { display: grid; gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 640px) { .linkcards { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); } }
.linkcard { display: block; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.2rem 1.3rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.linkcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.linkcard h4 { font-size: 1.05rem; margin-bottom: .3rem; color: var(--ink); }
.linkcard p { color: var(--ink-muted); font-size: .9rem; margin-bottom: .7rem; }
.linkcard .go { color: var(--accent); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }

/* Team grid */
.team-section + .team-section { margin-top: 3rem; }
.team-grid { display: grid; gap: 1.6rem; margin-top: 1.6rem; }
.member { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.member figure { margin: 0; aspect-ratio: 1/1; overflow: hidden; background: var(--surface-2); }
.member figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member .member-body { padding: 1.2rem 1.3rem 1.4rem; }
.member h3 { font-size: 1.12rem; margin-bottom: .15rem; }
.member .role { color: var(--accent); font-size: .84rem; font-weight: 600; margin-bottom: .7rem; }
.member p { color: var(--ink-muted); font-size: .9rem; line-height: 1.6; }
.member details { margin-top: .5rem; }
.member details summary { color: var(--accent); font-size: .85rem; font-weight: 600; cursor: pointer; list-style: none; }
.member details summary::-webkit-details-marker { display: none; }
.member details[open] summary { margin-bottom: .5rem; }

/* Contact / form */
.contact-grid { display: grid; gap: clamp(2rem,5vw,3.5rem); }
.contact-details { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1rem; }
.contact-details li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-details svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: .1rem; }
.contact-details span.t { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

.form-shell { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(1.5rem,3.5vw,2.4rem); box-shadow: var(--shadow-sm); }
.form-shell h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.form-shell .form-sub { color: var(--ink-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--ink); font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194,54,45,.16); }
.field textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field .err { display: none; font-size: .78rem; color: var(--error); margin-top: .35rem; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--ink-muted); margin: 1.1rem 0 1.3rem; }
.consent input { margin-top: .18rem; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.form-status { display: none; padding: .85rem 1.05rem; border-radius: var(--radius-sm); font-size: .9rem; margin-top: 1rem; }
.form-status.ok { display: block; background: #eef4ee; border: 1px solid #cfe0cf; color: #3c6640; }
.form-status.bad { display: block; background: #f7ecea; border: 1px solid #e6cdc7; color: #9c4436; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn .spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* CTA band */
.cta-band { background: var(--stage); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem,5vw,3.5rem); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem,3.5vw,2.4rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 1.6rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--stage); color: rgba(255,255,255,.78); padding: clamp(3rem,7vh,5rem) 0 2rem; }
.footer-grid { display: grid; gap: 2.2rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand .brand-mark { background: rgba(255,255,255,.14); }
.footer-brand strong { font-family: var(--font-display); font-weight: 500; color: #fff; font-size: 1.05rem; }
.footer-col p { color: rgba(255,255,255,.7); font-size: .92rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: .9rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer-col ul a { color: rgba(255,255,255,.78); font-size: .92rem; }
.footer-col ul a:hover { color: #fff; }
.footer-contact { display: grid; gap: .55rem; font-size: .92rem; }
.footer-contact a { color: #fff; }
.footer-bottom { margin-top: 2.8rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }

/* Scroll reveal */
.js .io { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.io.in { opacity: 1; transform: none; }
.js .io[data-io="left"] { transform: translateX(-24px); }
.io[data-io="left"].in { transform: none; }

/* GDPR banner */
.cookie { position: fixed; z-index: 200; left: 50%; bottom: 1.2rem; transform: translateX(-50%) translateY(160%); width: min(680px, calc(100% - 2rem)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.4rem 1.5rem 1.3rem; transition: transform .5s var(--ease); }
.cookie[data-show="true"] { transform: translateX(-50%) translateY(0); }
.cookie h4 { font-size: 1.1rem; margin-bottom: .45rem; }
.cookie p { font-size: .88rem; color: var(--ink-muted); margin-bottom: 1rem; }
.cookie p a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { padding: .65rem 1.2rem; font-size: .88rem; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--accent); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0; font-weight: 600; }
.skip:focus { left: 0; }

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (min-width: 560px) {
  .split { grid-template-columns: 1fr 1fr; }
  .hours-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav-menu { display: flex; }
  .burger { display: none; }
  .intro-grid { grid-template-columns: 1.05fr .95fr; }
  .contact-grid { grid-template-columns: 1fr 1.05fr; align-items: start; }
  .team-grid { grid-template-columns: repeat(3,1fr); }
  .card-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}
@media (min-width: 1080px) { .nav-cta { display: inline-flex; } }

/* =============================================================
   WordPress-spezifische Ergänzungen
   ============================================================= */
/* Admin-Bar-Versatz */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
body.admin-bar .mobile-nav { padding-top: 120px; }

/* wp_nav_menu erzeugt eigene Klassen — auf unser Nav-Design abbilden */
.nav-menu .menu-item-has-children > a::after,
.nav-menu > li.menu-item-has-children > a { position: relative; }
.nav-menu .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-menu > li.menu-item-has-children:hover .sub-menu,
.nav-menu > li.menu-item-has-children:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { display: block; padding: .55rem .75rem; font-size: .88rem; color: var(--ink-body); border-radius: 6px; }
.nav-menu .sub-menu a:hover { background: var(--surface); color: var(--accent); }
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a { color: #fff; background: rgba(255,255,255,.15); }

/* Mobile: WP sub-menu */
.mobile-nav .sub-menu { list-style: none; padding: 0 0 .8rem .2rem; margin: 0; }
.mobile-nav .sub-menu a { display: block; padding: .45rem 0; font-family: var(--font-body); font-size: .98rem; color: var(--ink-muted); }
.mobile-nav .menu-item-has-children > a { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); font-weight: 500; }

/* Standard-Blog-Inhalte (falls „Aktuelles“ als Beitragsseite genutzt wird) */
.post-card { background:#fff; border:1px solid var(--line-soft); border-radius:var(--radius-lg); overflow:hidden; transition:transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.post-card .post-thumb { aspect-ratio:16/10; overflow:hidden; background:var(--surface-2); }
.post-card .post-thumb img { width:100%; height:100%; object-fit:cover; }
.post-card .post-body { padding:1.4rem 1.5rem 1.6rem; }
.post-card .post-meta { font-size:.8rem; color:var(--ink-faint); margin-bottom:.5rem; }
.post-card h3 { font-size:1.25rem; margin-bottom:.5rem; }
.post-card h3 a { color:var(--ink); }
.post-card h3 a:hover { color:var(--accent); }
.post-card p { color:var(--ink-muted); font-size:.95rem; }
.posts-grid { display:grid; gap:1.6rem; }
@media (min-width:640px){ .posts-grid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px){ .posts-grid { grid-template-columns:repeat(3,1fr); } }

/* WP-Ausrichtungsklassen */
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { max-width: 100%; }
.aligncenter { display:block; margin-inline:auto; }
.alignleft { float:left; margin:0 1.4rem 1rem 0; }
.alignright { float:right; margin:0 0 1rem 1.4rem; }
.wp-caption-text, .wp-element-caption { font-size:.85rem; color:var(--ink-faint); margin-top:.4rem; }

/* Kommentare / Standardfelder für Barrierefreiheit */
.screen-reader-text { position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); word-wrap:normal!important; }

/* Paginierung */
.pagination { display:flex; gap:.5rem; flex-wrap:wrap; justify-content:center; margin-top:2.5rem; }
.pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; padding:0 .8rem; border:1px solid var(--line); border-radius:var(--radius-sm); color:var(--ink-body); font-weight:600; }
.pagination .page-numbers.current { background:var(--accent); color:#fff; border-color:var(--accent); }
.pagination .page-numbers:hover:not(.current) { border-color:var(--accent); color:var(--accent); }

/* =============================================================
   Inhaltsseiten: Bilder, Galerien, Aktions-Buttons
   ============================================================= */
.content-figure { margin: 1.8rem 0; }
.content-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
.content-figure figcaption { font-size: .85rem; color: var(--ink-faint); margin-top: .5rem; text-align: center; }

.content-gallery {
  display: grid; gap: 1rem; margin: 1.8rem 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.content-gallery figure { margin: 0; }
.content-gallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); display: block; border: 1px solid var(--line-soft);
}

.content-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 .5rem; }

/* Prose: details/summary (FAQ + Bios) */
.prose details {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: .2rem 1.1rem; margin: .6rem 0; background: #fff;
}
.prose details summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 500;
  color: var(--ink); padding: .85rem 0; list-style: none; position: relative;
  padding-right: 2rem;
}
.prose details summary::-webkit-details-marker { display: none; }
.prose details summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--accent); line-height: 1;
}
.prose details[open] summary::after { content: "–"; }
.prose details[open] summary { border-bottom: 1px solid var(--line-soft); }
.prose details p { padding: .9rem 0; margin: 0; }

/* =============================================================
   Kleintierpraxis — Leistungsseite (visuelle Überarbeitung)
   ============================================================= */
.kt-lead { max-width: 64ch; margin-bottom: clamp(2rem,4vw,3rem); }
.kt-lead .section-title { margin: .8rem 0 1rem; }

/* Leistungs-Karten (Kurzreferenz) */
.kt-cardgrid { display: grid; gap: 1rem; grid-template-columns: repeat(2,1fr); }
.kt-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.4rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.kt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.kt-card .card-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; color: var(--accent); margin-bottom: .9rem; }
.kt-card .card-ico svg { width: 24px; height: 24px; }
.kt-card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.kt-card p { color: var(--ink-muted); font-size: .9rem; line-height: 1.55; }
@media (min-width: 720px) { .kt-cardgrid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1080px) { .kt-cardgrid { grid-template-columns: repeat(4,1fr); } }

/* Feature-Reihen */
.kt-feature { display: grid; gap: clamp(1.6rem,4vw,3.2rem); align-items: center; }
.kt-feature-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--surface-2); }
.kt-feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; aspect-ratio: 3/2; transition: transform 1s var(--ease); }
.kt-feature-media:hover img { transform: scale(1.04); }
.kt-num { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .8rem; }
.kt-num span { color: var(--accent); }
.kt-feature-body h2 { font-size: clamp(1.7rem,3.4vw,2.5rem); margin-bottom: 1rem; }
.kt-feature-body > p { color: var(--ink-body); margin-bottom: 1rem; }
.kt-intro { font-size: 1.08rem; color: var(--ink-muted) !important; }
@media (min-width: 900px) {
  .kt-feature { grid-template-columns: 1fr 1fr; }
  .kt-feature.is-flip .kt-feature-media { order: 2; }
}

/* Check-Listen */
.kt-checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.kt-checklist li { position: relative; padding: .4rem 0 .4rem 1.9rem; color: var(--ink-body); font-size: .96rem; border-bottom: 1px solid var(--line-soft); }
.kt-checklist li:last-child { border-bottom: 0; }
.kt-checklist li::before {
  content: ""; position: absolute; left: 0; top: .62rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
}
.kt-checklist li::after {
  content: ""; position: absolute; left: 5px; top: .8rem; width: 8px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.kt-checklist--cols { columns: 2; column-gap: 2rem; }
.kt-checklist--cols li { break-inside: avoid; }
@media (max-width: 560px) { .kt-checklist--cols { columns: 1; } }

/* Sub-Raster (Weichteil / Knochenchirurgie) */
.kt-subgrid { display: grid; gap: 1.4rem 2rem; }
.kt-sub h3 { font-size: 1.15rem; margin-bottom: .6rem; padding-bottom: .5rem; border-bottom: 2px solid var(--accent); display: inline-block; }
@media (min-width: 560px) { .kt-subgrid { grid-template-columns: 1fr 1fr; } }

/* Info-Panel (Herzultraschall) */
.kt-panel { background: var(--surface); border: 1px solid var(--line-soft); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-top: 1.2rem; }
.kt-panel h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.kt-panel p { font-size: .94rem; color: var(--ink-body); margin-bottom: .6rem; }
.kt-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: .4rem; }
.kt-links .link-arrow { font-size: .9rem; }

/* Inline-Bild (Röntgen-Schrägaufnahme) */
.kt-inline-img { margin-top: 1.2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.kt-inline-img img { width: 100%; display: block; }
.kt-inline-img figcaption { font-size: .82rem; color: var(--ink-faint); padding: .6rem .9rem; background: var(--surface); }

/* Accordion (Physio/Akupunktur/Chiropraktik) */
.kt-accordion { display: grid; gap: .6rem; }
.kt-accordion details { border: 1px solid var(--line-soft); border-radius: var(--radius); background: #fff; overflow: hidden; }
.kt-accordion summary { cursor: pointer; padding: .95rem 1.2rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.kt-accordion summary::-webkit-details-marker { display: none; }
.kt-accordion summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); line-height: 1; transition: transform .3s var(--ease); }
.kt-accordion details[open] summary::after { transform: rotate(45deg); }
.kt-accordion details p { padding: 0 1.2rem 1.1rem; color: var(--ink-body); font-size: .95rem; }

/* Abschluss-CTA */
.kt-cta { background: var(--stage); border-radius: var(--radius-lg); padding: clamp(1.8rem,4vw,2.8rem); display: grid; gap: 1.4rem; align-items: center; }
.kt-cta h2 { color: #fff; font-size: clamp(1.5rem,3vw,2rem); margin-bottom: .4rem; }
.kt-cta p { color: rgba(255,255,255,.82); }
.kt-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.kt-cta .btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.kt-cta .btn--ghost:hover { background: rgba(255,255,255,.12); }
@media (min-width: 820px) { .kt-cta { grid-template-columns: 1fr auto; } }
/* =============================================================
   Poliertes Inhalts-Layout (.tbz-content / .tbz-p-*)
   Editoriale Prosa: Weißraum statt Boxen. Karten nur für
   Bild-Text-Feature-Reihen.
   ============================================================= */
.tbz-content { padding-top: clamp(2.2rem,5vw,3.4rem); padding-bottom: clamp(2.6rem,6vw,4.5rem); }
.tbz-content-wrap { max-width: var(--wrap); margin-inline: auto; }

/* Abstand zwischen den Sinnabschnitten — Weißraum trägt die Struktur. */
.tbz-p-block + .tbz-p-block,
.tbz-p-block + .tbz-p-feature,
.tbz-p-feature + .tbz-p-block,
.tbz-p-feature + .tbz-p-feature { margin-top: clamp(2.4rem,5vw,3.6rem); }

/* Reine Textblöcke bekommen eine angenehme Lesebreite, Bilder/Listen die volle. */
.tbz-p-block { max-width: 68ch; }
.tbz-p-block .tbz-p-gallery,
.tbz-p-block .tbz-p-checklist--cols { max-width: none; }

/* Überschriften: ruhig, mit dezentem Akzent statt Rahmen. */
.tbz-p-block > h2,
.tbz-p-feature .tbz-p-body h2 {
  font-size: clamp(1.5rem,3vw,2.05rem); line-height: 1.15; margin-bottom: 1rem;
  position: relative; padding-top: 1.1rem;
}
.tbz-p-block > h2::before,
.tbz-p-feature .tbz-p-body h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 3px;
  background: var(--accent); border-radius: 2px;
}
/* Erste Überschrift ohne oberen Akzent-Strich, wenn sie ganz oben steht. */
.tbz-content-wrap > .tbz-p-block:first-child > h2:first-child { padding-top: 0; }
.tbz-content-wrap > .tbz-p-block:first-child > h2:first-child::before { display: none; }

/* Fließtext: angenehme Lesbarkeit. */
.tbz-p-block p, .tbz-p-feature .tbz-p-body p { color: var(--ink-body); line-height: 1.78; margin-bottom: 1.1rem; }
.tbz-p-block p:last-child, .tbz-p-feature .tbz-p-body p:last-child { margin-bottom: 0; }
.tbz-p-block > p:first-of-type { font-size: 1.1rem; color: var(--ink); }
.tbz-p-block a, .tbz-p-feature a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.tbz-p-block a:hover, .tbz-p-feature a:hover { color: var(--accent-deep); }

/* Unterüberschriften (h3). */
.tbz-p-block h3, .tbz-p-feature .tbz-p-body h3 { font-size: 1.2rem; margin: 1.8rem 0 .7rem; color: var(--ink); }
.tbz-p-block h3:first-child, .tbz-p-feature .tbz-p-body h3:first-child { margin-top: 0; }

/* Feature-Reihe (Bild + Text) — das eine strukturierte Element.
   Nutzt die volle Container-Breite. */
.tbz-p-feature {
  display: grid; gap: clamp(1.6rem,4vw,3rem); align-items: center;
  width: 100%; margin-inline: auto;
}
.tbz-p-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); }
.tbz-p-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; aspect-ratio: 3/2; transition: transform 1s var(--ease); }
.tbz-p-media:hover img { transform: scale(1.03); }
.tbz-p-media figcaption { font-size: .82rem; color: var(--ink-faint); padding: .6rem .2rem 0; }
@media (min-width: 820px) {
  .tbz-p-feature { grid-template-columns: 1fr 1fr; }
  .tbz-p-feature.is-flip .tbz-p-media { order: 2; }
}

/* Galerie (mehrere Bilder). */
.tbz-p-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); margin-top: 1.4rem; }
.tbz-p-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.tbz-p-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; display: block; }
.tbz-p-gallery figcaption { font-size: .8rem; color: var(--ink-faint); padding: .5rem .2rem 0; }

/* Listen: klare Häkchen-Liste, aber ohne Karten-Rahmen. */
.tbz-p-checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.tbz-p-checklist li { position: relative; padding: .4rem 0 .4rem 1.9rem; color: var(--ink-body); line-height: 1.6; }
.tbz-p-checklist li::before { content: ""; position: absolute; left: 2px; top: .72rem; width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.tbz-p-checklist--cols { columns: 2; column-gap: 2.4rem; }
.tbz-p-checklist--cols li { break-inside: avoid; }
@media (max-width: 600px) { .tbz-p-checklist--cols { columns: 1; } }

/* Nummerierte Schritt-Liste. */
.tbz-p-steplist { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.2rem; }
.tbz-p-steplist li { position: relative; counter-increment: step; padding: .5rem 0 .5rem 2.6rem; color: var(--ink-body); line-height: 1.6; }
.tbz-p-steplist li::before { content: counter(step); position: absolute; left: 0; top: .4rem; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .85rem; font-weight: 600; display: grid; place-items: center; }

/* Standard-Listen (unmarkiert) in Prosa ordentlich einrücken. */
.tbz-p-block ul:not(.tbz-p-checklist):not(.tbz-p-steplist) { padding-left: 1.2rem; margin-bottom: 1.1rem; }
.tbz-p-block ul:not(.tbz-p-checklist):not(.tbz-p-steplist) li { margin-bottom: .4rem; line-height: 1.6; }
