/* Stauferfalknerei Kloster Lorch – Stylesheet
   Farben als Tokens; Dunkelmodus folgt dem System, Umschalter setzt data-theme. */


@font-face{font-family:'Marcellus';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/marcellus.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:300 800;font-display:swap;src:url(../fonts/source-sans-3.woff2) format('woff2')}

:root {
  --bg: #faf8f2;
  --bg-alt: #f3efe3;
  --surface: #ffffff;
  --surface-2: #fbfaf6;
  --text: #141414;
  --muted: #57524a;
  --line: #e3dccb;
  --accent: #7a5a00;
  --accent-strong: #5a4200;
  --accent-soft: #fff2bf;
  --on-accent: #000000;
  --brand: #ffcc00;
  --brand-strong: #f2be00;
  --forest: #141414;
  --forest-soft: #e4ecdf;
  --danger: #a3321f;
  --danger-soft: #f7e1db;
  --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 8px 24px rgba(20, 20, 20, .08);
  --shadow-lg: 0 2px 6px rgba(20, 20, 20, .08), 0 24px 48px rgba(20, 20, 20, .14);
  --header-bg: rgba(250, 248, 242, .9);

  --font-display: 'Marcellus', Optima, Candara, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0e0d;
    --bg-alt: #161614;
    --surface: #1c1c1a;
    --surface-2: #181816;
    --text: #f1efe8;
    --muted: #b4ae9f;
    --line: #34322c;
    --accent: #ffcc00;
    --accent-strong: #ffd940;
    --accent-soft: #352c05;
    --on-accent: #000000;
    --brand: #ffcc00;
    --brand-strong: #ffd940;
    --forest: #9fbfa6;
    --forest-soft: #1f2a22;
    --danger: #f08a73;
    --danger-soft: #3a1f19;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px rgba(0, 0, 0, .45);
    --header-bg: rgba(14, 14, 13, .9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0e0d;
  --bg-alt: #161614;
  --surface: #1c1c1a;
  --surface-2: #181816;
  --text: #f1efe8;
  --muted: #b4ae9f;
  --line: #34322c;
  --accent: #ffcc00;
  --accent-strong: #ffd940;
  --accent-soft: #352c05;
  --on-accent: #000000;
  --brand: #ffcc00;
  --brand-strong: #ffd940;
  --forest: #9fbfa6;
  --forest-soft: #1f2a22;
  --danger: #f08a73;
  --danger-soft: #3a1f19;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px rgba(0, 0, 0, .45);
  --header-bg: rgba(14, 14, 13, .9);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: 0; margin: 0 0 .5em; text-wrap: balance; hyphens: auto; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
svg { width: 1.1em; height: 1.1em; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #000; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--brand); transform: rotate(45deg); flex: none; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #000; }
.btn--primary:hover { background: var(--brand-strong); color: #000; }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: #1f1b16; }
.btn--light:hover { background: #f3e2c9; color: #1f1b16; }
.btn--outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hinweisbanner ---------- */
.notice { background: var(--danger-soft); color: var(--text); border-bottom: 1px solid var(--line); font-size: .98rem; }
.notice .container { display: flex; align-items: center; gap: .6em; padding-block: .7rem; }
.notice svg { color: var(--danger); flex: none; }
.notice .container { align-items: flex-start; }
.notice .container > svg { margin-top: .2em; }
.notice__body { min-width: 0; overflow-wrap: anywhere; }
.notice__body strong { display: block; }
.notice__body p { margin: .1em 0 0; }
.notice__body .notice__hint { color: var(--muted); font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; isolation: isolate;
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* Unschärfe auf eigener Ebene: backdrop-filter am Header selbst würde das
   position:fixed-Mobilmenü an die Header-Höhe binden */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.site-header .container { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; margin-right: auto; min-width: 0; }
.brand__mark { flex: none; }
.brand:hover { color: var(--text); }
.brand__mark .logo { width: 58px; height: 58px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__text strong, .brand__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand__text strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.brand__text small { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.logo { display: inline-block; background: url(../img/sfl-logo.svg) center / contain no-repeat; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; list-style: none; gap: 4px; }
.nav a:not(.btn) {
  display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none;
  font-weight: 600; font-size: .98rem; position: relative;
}
.nav a:not(.btn):hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; background: var(--brand); border-radius: 2px; }
.nav a { white-space: nowrap; }
.nav__cta { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.header-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.tool-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
  font: inherit; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-decoration: none;
}
.tool-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; color: var(--text); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, top .25s, opacity .2s; content: "";
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); background: var(--text); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); background: var(--text); }

@media (max-width: 1360px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 49; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 20px; padding: 24px var(--gutter) 40px;
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  html.nav-open { overflow: hidden; }
  .nav-open .site-header::before { background: var(--bg); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 1.7rem; padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav__cta { min-height: 52px; font-size: 1.05rem; }
}
@media (max-width: 480px) {
  :root { --header-h: 66px; }
  .brand__mark .logo { width: 46px; height: 46px; }
  .brand__text strong { font-size: 1.3rem; }
  .brand__text small { font-size: .64rem; letter-spacing: .18em; }
  .tool-btn { width: 38px; height: 38px; }
  .header-tools { gap: 4px; }
}

/* ---------- Hero (Startseite) ---------- */
/* Text oben verankert und Höhe fest genug für beide Sprachen: Bild und Überschrift stehen DE/EN an derselben Stelle (Kevin, 31.10.2026) */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-start; color: #fff; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 10, 7, .82) 0%, rgba(12, 10, 7, .55) 45%, rgba(12, 10, 7, .05) 75%),
    linear-gradient(0deg, rgba(12, 10, 7, .75) 0%, rgba(12, 10, 7, 0) 45%);
}
.hero .container { padding-block: clamp(150px, 20vh, 200px) clamp(40px, 7vh, 72px); }
.hero__content { max-width: 680px; }
.hero .eyebrow { color: #ffcc00; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: #ffcc00; }
.hero p.lead { color: rgba(255, 255, 255, .88); margin-bottom: 1.8rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .22); list-style: none; font-size: .98rem; color: rgba(255, 255, 255, .9); }
.hero__facts li { display: flex; align-items: center; gap: .5em; }
.hero__facts svg { color: #ffcc00; }
@media (max-width: 720px) {
  .hero { min-height: 680px; }   /* fest statt min(86vh,…): Höhe gleich in beiden Sprachen, gemessen 31.10.2026 */
  .hero .container { padding-top: 150px; }
  .hero .eyebrow { letter-spacing: .1em; }
  .hero__media img { object-position: 78% 30%; }
  .hero::before { background: linear-gradient(0deg, rgba(12, 10, 7, .92) 0%, rgba(12, 10, 7, .6) 55%, rgba(12, 10, 7, .2) 100%); }
}

@media (max-width: 480px) { .hero { min-height: 830px; } }
@media (max-width: 340px) { .hero { min-height: 870px; } }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 10, 7, .85) 0%, rgba(12, 10, 7, .5) 55%, rgba(12, 10, 7, .15) 100%); }
.page-hero .container { padding-block: clamp(80px, 12vw, 150px) clamp(48px, 7vw, 80px); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .eyebrow { color: #ffcc00; }
.page-hero .lead { color: rgba(255, 255, 255, .86); }
.page-head { padding-block: clamp(56px, 8vw, 96px) clamp(24px, 4vw, 40px); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 10px; height: 10px; background: var(--brand); transform: rotate(45deg); flex: none; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-head--row > div { max-width: 700px; }
.section-head p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split__media .stamp {
  position: absolute; left: -18px; bottom: -22px; background: var(--surface); color: var(--text); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.stamp strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.stamp span { font-size: .92rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 600px) { .split__media .stamp { left: 12px; bottom: -18px; } }

.checklist { list-style: none; display: grid; gap: 10px; margin: 1.4rem 0 1.8rem; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; }
.checklist svg { color: var(--accent); margin-top: .3em; }

/* ---------- Termine ---------- */
.events-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .events-wrap { grid-template-columns: 1fr; } }
.events { list-style: none; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.event__date { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1; color: var(--accent); }
.event__date small { display: block; font-family: var(--font-body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.event__name { font-weight: 600; }
.event__time { display: flex; align-items: center; gap: 10px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.event.is-booked .event__name, .event.is-cancelled .event__name { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
@media (max-width: 560px) {
  .event { grid-template-columns: 72px 1fr; row-gap: 2px; }
  .event__date { grid-row: span 2; font-size: 1.35rem; white-space: nowrap; }
  .event__time { font-size: .95rem; }
}
.events-empty { display: flex; gap: .8em; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.events-empty svg { color: var(--accent); margin-top: .25em; }
.events-empty[hidden] { display: none; }
.weather-note { display: flex; gap: .8em; align-items: flex-start; margin-top: 20px; font-size: .95rem; color: var(--muted); }
.weather-note svg { color: var(--accent); margin-top: .25em; }

.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.badge--accent { background: var(--accent-soft); color: var(--accent-strong); }
.badge--muted { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
:root[data-theme="dark"] .badge--accent { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge--accent { color: var(--accent); } }

/* ---------- Info-Karten / Öffnungszeiten ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.panel h3, .panel .panel__h { display: flex; align-items: center; gap: .45em; font-size: 1.55rem; }
.panel h3 svg, .panel .panel__h svg { color: var(--accent); width: .85em; height: .85em; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.panel--accent { background: #111; color: #f4f1e8; border-color: transparent; border-top: 4px solid #ffcc00; }
.panel--accent h3, .panel--accent .panel__h { color: #fff; }
.panel--accent h3 svg, .panel--accent .panel__h svg { color: #ffcc00; }
.panel--accent .muted { color: rgba(244, 239, 230, .78); }
:root[data-theme="dark"] .panel--accent { background: #1d1d1b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .panel--accent { background: #1d1d1b; } }

.def { list-style: none; display: grid; gap: 0; }
.def li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.def li:last-child { border-bottom: 0; }
.def li span:first-child { color: var(--muted); }
.def li strong { font-variant-numeric: tabular-nums; text-align: right; }
.panel--accent .def li { border-bottom-color: rgba(255, 255, 255, .2); }
.panel--accent .def li span:first-child { color: rgba(244, 239, 230, .78); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { display: flex; flex-direction: column; }
.price-card .amount { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--accent); margin: .2em 0 .1em; }
.price-card .amount small { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
.price-card ul { list-style: none; display: grid; gap: 8px; margin: 1rem 0 0; }
.price-card li { display: flex; gap: .6em; }
.price-card li svg { color: var(--accent); margin-top: .3em; }

.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .rules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rules { grid-template-columns: 1fr; } }
.rule { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rule svg { width: 28px; height: 28px; color: var(--accent); }
.rule strong { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.rule span { color: var(--muted); font-size: .96rem; }

/* ---------- Kurs-Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__top h3 { font-size: 1.6rem; margin: 0 0 .35em; }
.price { font-weight: 700; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card__body p { color: var(--muted); flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; margin-top: 4px; }
.card__link svg { transition: transform .2s; }
.card__link:hover svg { transform: translateX(3px); }

.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .teasers { grid-template-columns: 1fr; } }
.teaser { position: relative; display: flex; align-items: flex-end; min-height: 420px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 10, 7, .88) 0%, rgba(12, 10, 7, .35) 50%, rgba(12, 10, 7, 0) 75%); }
.teaser:hover img { transform: scale(1.05); }
.teaser__body { padding: 26px; }
.teaser h3 { color: #fff; font-size: 2rem; margin-bottom: .25em; }
.teaser p { color: rgba(255, 255, 255, .85); margin-bottom: .8em; }
.teaser span.more { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: #ffcc00; }
.teaser:hover { color: #fff; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.team figure { margin: 0; }
.team img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.team figcaption { margin-top: 12px; }
.team figcaption strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.team figcaption span { color: var(--muted); font-size: .95rem; }

/* ---------- Patenschaften ---------- */
.filter { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.filter button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: .95rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--brand); color: #000; }
.birds { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .birds { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .birds { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.bird { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.bird[hidden] { display: none; }
.bird__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-alt); }
.bird__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bird:hover .bird__media img { transform: scale(1.04); }
.bird__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.bird h3 { font-size: 1.5rem; margin: 0; }
.bird p { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.bird__meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.bird .badge { white-space: normal; }
@media (max-width: 480px) { .bird h3 { font-size: 1.3rem; } .bird__body { padding: 12px; } }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex: none; }
.benefit__icon svg { width: 22px; height: 22px; }
.benefit strong { display: block; font-size: 1.05rem; }
.benefit span { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__icon { width: 22px; height: 22px; color: var(--accent); transition: transform .25s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 4px 22px; color: var(--muted); max-width: 72ch; }
.faq__a p { margin: 0; }

/* ---------- Galerie ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery img { width: 100%; margin-bottom: 16px; border-radius: var(--radius-sm); break-inside: avoid; }

/* ---------- Notfall / CTA ---------- */
.emergency { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); background: var(--danger-soft); border: 1px solid var(--line); }
.emergency__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--danger); color: #fff; }
.emergency__icon svg { width: 28px; height: 28px; }
.emergency h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .2em; }
.emergency p { margin: 0; color: var(--muted); }
.emergency .btn { background: var(--danger); color: #fff; }
:root[data-theme="dark"] .emergency .btn { color: #1a0f0b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .emergency .btn { color: #1a0f0b; } }
@media (max-width: 760px) { .emergency { grid-template-columns: 1fr; } }

.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; border-radius: calc(var(--radius) + 4px); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 10, 7, .88), rgba(12, 10, 7, .35)); }
.cta-band__body { padding: clamp(36px, 6vw, 72px); max-width: 640px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .86); margin-bottom: 1.6rem; }

.support { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .support { grid-template-columns: 1fr; } }
.bank { font-variant-numeric: tabular-nums; }
.bank code { font-family: inherit; font-weight: 700; letter-spacing: .03em; }
.copy-btn { border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: inherit; border-radius: 999px; font: inherit; font-size: .82rem; font-weight: 600; padding: 3px 12px; cursor: pointer; margin-left: 8px; }
.copy-btn:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.contact-list a, .contact-list strong { font-weight: 600; font-size: 1.08rem; color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.form__consent input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--accent); }
.form__status { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--forest-soft); color: var(--text); }

.map-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 2rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .3em; }
.prose .placeholder { padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- Fest ---------- */
.fest-date { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6rem 0; }
.fest-date .panel { padding: 16px 20px; display: flex; gap: 14px; align-items: center; }
.fest-date svg { color: var(--accent); width: 26px; height: 26px; }
.fest-date strong { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; }
.fest-date span { color: var(--muted); font-size: .95rem; }
.program { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 640px) { .program { grid-template-columns: 1fr; } }
.program li { display: flex; gap: .7em; align-items: flex-start; }
.program svg { color: var(--accent); margin-top: .3em; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #cfcbc0; margin-top: 0; border-top: 6px solid #ffcc00; }
.site-footer a { color: #efe8dc; text-decoration: none; }
.site-footer a:hover { color: #ffcc00; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-block: 72px 48px; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.footer-logo { display: inline-block; color: #efe8dc; margin-bottom: 16px; }
.footer-logo .logo { width: 140px; height: 140px; }
.footer-brand p { max-width: 38ch; }
.footer-h { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #ffcc00; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { margin-top: .3em; color: #ffcc00; }
.footer-emergency { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); font-size: .95rem; }
.footer-emergency svg { color: #f08a73; margin-top: .3em; }
.footer-emergency a { font-weight: 700; }
.social { display: flex !important; gap: 10px !important; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.social a:hover { border-color: #ffcc00; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.credit a { display: inline-flex; align-items: center; gap: 6px; }
.credit img { width: 16px; height: auto; flex: none; }

/* ---------- Schutz gegen horizontales Scrollen ---------- */
.split > *, .events-wrap > *, .support > *, .contact-grid > *, .info-grid > *, .price-grid > *,
.cards > *, .teasers > *, .rules > *, .birds > *, .benefits > *, .team > *, .footer-main > *, .form > * { min-width: 0; }
.faq__item summary > :first-child, .faq__item summary { min-width: 0; }
.faq__icon { flex: none; }
.def li strong { min-width: 0; overflow-wrap: anywhere; }
.card__top { flex-wrap: wrap; }
@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand__mark .logo { width: 40px; height: 40px; }
  .brand__text strong { font-size: 1.15rem; }
  .brand__text small { font-size: .58rem; letter-spacing: .14em; }
  .tool-btn { width: 36px; height: 36px; }
  .nav-toggle { width: 40px; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { left: 9px; }
  .nav-toggle span::before, .nav-toggle span::after { left: 0; }
}
@media (max-width: 340px) {
  .site-header .container { gap: 8px; }
  .header-tools { gap: 2px; }
  .brand__text strong { font-size: 1rem; }
  .tool-btn { width: 34px; height: 34px; font-size: .75rem; }
}

/* ---------- Bildfokus: Köpfe der Vögel bleiben im Ausschnitt (Banner sind viel breiter als die Fotos) ---------- */
img[src*="img/steinadler.jpg"], img[src*="img/kurs-faszination-greifvogel.jpg"] { object-position: 58% 14%; }
img[src*="img/kurs-falknerei-erleben.jpg"] { object-position: 62% 18%; }
img[src*="img/kurs-stunde-der-eule.jpg"], img[src*="img/schleiereule.jpg"] { object-position: 45% 6%; }
img[src*="img/schneeeule.jpg"] { object-position: 50% 18%; }
img[src*="img/kurs-kinder.jpg"] { object-position: 42% 42%; }
img[src*="img/kurs-spaziergang.jpg"] { object-position: 62% 56%; }
img[src*="img/kurs-hautnah.jpg"] { object-position: 62% 30%; }

/* ---------- Bewegung ---------- */
/* Inhalte stehen sofort da, ohne Einblend-Effekt */
.js .reveal { opacity: 1; transform: none; }
/* Kopfzeile mit Warenkorb: Schriftzug am Handy etwas kleiner, damit er nicht abgeschnitten wird */
@media (max-width: 480px) { .brand__text strong { font-size: 1.16rem; } .brand__text small { font-size: .56rem; letter-spacing: .12em; } }
@media (max-width: 400px) { .brand__mark .logo { width: 40px; height: 40px; } .brand__text strong { font-size: 1.04rem; } .tool-btn { width: 35px; height: 35px; } .header-tools { gap: 3px; } }
@media (max-width: 370px) { .site-header .container { gap: 6px; } .brand { gap: 6px; } .brand__text strong { font-size: .95rem; } .brand__text small { font-size: .5rem; letter-spacing: .08em; } .tool-btn { width: 33px; height: 33px; } .nav-toggle { width: 36px; } }

/* ---------- Kurse, Akademie, Shop ---------- */
.note { padding: 10px 14px; background: var(--accent-soft); border-radius: var(--radius-sm); font-weight: 600; }
.card { position: relative; }
.card__stretch { color: inherit; text-decoration: none; }
.card__stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.page-hero--short .container { padding-block: clamp(64px, 9vw, 110px) clamp(36px, 5vw, 56px); }
.page-hero--short h1 { max-width: 22ch; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }
.split--top { align-items: start; }
.prose p { max-width: 68ch; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.15; margin: 1.2em 0 .5em; }
.h3:first-child { margin-top: 0; }
.small { font-size: .9rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; }
.steps { padding-left: 1.3em; display: grid; gap: .5em; }
.steps li::marker { color: var(--accent); font-weight: 700; }
.panel__h { font-size: 1.7rem; margin-bottom: .6em; }
.panel__foot { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.panel__foot span { color: var(--muted); }
.panel--gift { margin-top: 24px; background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.panel--gift h3 { display: flex; gap: .5em; align-items: center; font-size: 1.4rem; }
.panel--gift p { color: var(--text); }
.panel--inset { box-shadow: none; background: var(--bg-alt); margin: 1.4rem 0; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.person__foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-sm); margin-bottom: 16px; }
.person h3 { margin-bottom: .1em; }
.person__role { color: var(--accent); font-weight: 600; margin-bottom: .8em; }
.person__courses { font-size: .95rem; color: var(--muted); }
.section--first { padding-top: clamp(40px, 6vw, 72px); }
.page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.narrow { max-width: 760px; }

/* Termin wählen und buchen (Kursseite) */
.booking { display: grid; gap: 18px; margin-top: 1.2rem; }
.slots { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.slots legend, .label { font-weight: 700; margin-bottom: 8px; padding: 0; }
.slot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.slot input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.slot__when { flex: 1 1 200px; font-weight: 600; min-width: 0; }
.slot:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.slot.is-disabled { cursor: not-allowed; opacity: .7; }
.slot.is-disabled .slot__when { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--muted); }
.booking__qty { display: flex; flex-wrap: wrap; gap: 14px; }
.qty { display: grid; gap: 6px; flex: 1 1 200px; font-weight: 600; font-size: .95rem; }
.qty input, .voucher-form input, .voucher-form select, .cart__fields input {
  width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 12px; min-height: 46px;
}
.qty input:focus, .cart__fields input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.booking__hint { margin: -6px 0 0; color: var(--muted); font-size: .9rem; }
.booking__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.booking__sum { margin: 0; font-size: 1.15rem; }
.booking__msg { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--forest-soft); }
.booking__msg[hidden] { display: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; }
.btn--block { width: 100%; justify-content: center; }
.bird__btn { margin-top: 12px; width: 100%; justify-content: center; position: relative; z-index: 1; }

/* Gutscheine */
.choice { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; min-width: 0; }
.choice legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.choice__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); }
.choice__opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.choice__opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.choice__opt span { display: grid; gap: 2px; min-width: 0; }
.choice__opt small { color: var(--muted); font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips button { font: 600 1rem/1 var(--font-body); padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #000; }
.voucher-form [hidden] { display: none; }
.voucher-form .field { margin-bottom: 14px; }
.voucher-form__sum { font-size: 1.15rem; margin: 6px 0 16px; }
.voucher-form .booking__msg { margin-top: 14px; }
.voucher-card { position: relative; aspect-ratio: 1.6; max-width: 460px; border-radius: 18px; padding: 26px 28px; color: #f6efe2; overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(255, 204, 0, .28), transparent 45%), linear-gradient(135deg, #262626, #000); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; margin-bottom: 24px; }
.voucher-card__logo { position: absolute; right: 20px; top: 18px; width: 72px; height: 72px; }
.voucher-card__kicker { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: #ffcc00; margin: 0; }
.voucher-card__wert { font-family: var(--font-display); font-size: clamp(2.6rem, 8vw, 3.6rem); line-height: 1; margin: .25em 0 .15em; }
.voucher-card__text { margin: 0; opacity: .9; max-width: 80%; }
.voucher-card__code { margin: auto 0 0; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .2em; opacity: .7; }

/* Warenkorb und Kasse */
.cart-btn { position: relative; }
.cart-btn svg { width: 19px; height: 19px; }
.cart-btn__n { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #000; font: 700 .7rem/19px var(--font-body); text-align: center; }
.cart-btn__n[hidden] { display: none; }
.checkout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.checkout[hidden], .empty[hidden], #kasse-abbruch[hidden] { display: none; }
@media (max-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr); } }
.checkout__main { display: grid; gap: 24px; min-width: 0; }
.checkout__main fieldset { margin: 0; min-width: 0; }
.checkout__main legend { float: left; width: 100%; margin: 0 0 16px; }
.checkout__main legend + * { clear: both; }
.checkout__side { position: sticky; top: calc(var(--header-h) + 16px); min-width: 0; }
@media (max-width: 900px) { .checkout__side { position: static; } }
.cart { display: grid; gap: 12px; }
.cart__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.cart__head { display: flex; gap: 12px; align-items: baseline; }
.cart__head strong { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cart__price { font-weight: 700; white-space: nowrap; }
.cart__rm { border: 0; background: none; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.cart__rm:hover { color: var(--danger); }
.cart__meta { margin: 4px 0 0; color: var(--muted); }
.cart__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; margin-top: 12px; }
.cart__fields label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.cart__fields .full { grid-column: 1 / -1; }
.cart__fields small { font-weight: 400; }
.cart--plain { list-style: none; padding: 0; gap: 0; margin: 1rem 0; }
.cart--plain li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cart--plain li span { min-width: 0; overflow-wrap: anywhere; }
.cart--plain strong { white-space: nowrap; }
.cart__total { border-bottom: 0 !important; font-size: 1.15rem; }
.sum { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.sum dt { font-weight: 600; }
.sum dd { margin: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 600; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 12px 0; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hint { color: var(--muted); font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; background: var(--bg-alt); }
.status--bezahlt, .status--vor-ort { background: var(--forest-soft); }
.status--storniert, .status--abgebrochen { background: var(--danger-soft); color: var(--danger); }
.links { padding-left: 1.2em; display: grid; gap: 6px; }
.toast { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); z-index: 90; max-width: calc(100% - 32px);
  background: #000; color: #f6f3ea; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); transition: transform .3s; }
.toast a { color: #ffcc00; font-weight: 700; }
.toast.is-on { transform: translate(-50%, 0); }

/* Gutschein und Urkunde (Ansicht + Druck) */
.voucher-print, .certificate { position: relative; background: #fff; color: #141414; border: 2px solid #000; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 8px #ffcc00; border-radius: 18px; padding: clamp(24px, 5vw, 48px); overflow-wrap: anywhere; }
.voucher-print__kicker, .certificate__kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .85rem; color: #6b5000; margin: 0; }
.voucher-print__wert { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 5rem); line-height: 1; margin: .2em 0; }
.voucher-print__kurs { font-size: 1.2rem; font-weight: 600; }
.voucher-print__fuer, .voucher-print__von { font-size: 1.15rem; }
.voucher-print span, .voucher-print__foot span { color: #5e564b; }
.voucher-print__gruss { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin: .6em 0; }
.voucher-print__text { color: #5e564b; max-width: 52ch; }
.voucher-print__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; border-top: 1px dashed #ddd2bf; padding-top: 16px; margin-top: 16px; }
.voucher-print__foot p { margin: 0 0 4px; }
.voucher-print__qr { width: 110px; flex: none; }
.voucher-print__qr svg { width: 100%; height: auto; display: block; }
.voucher-print__adr, .certificate__sign small { font-size: .85rem; color: #5e564b; margin: 16px 0 0; }
.certificate { text-align: center; }
.certificate .voucher-card__logo { position: static; display: block; margin: 0 auto 12px; width: 120px; height: 120px; }
.certificate__pate { font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 3.4rem); margin: .3em 0 0; line-height: 1.1; }
.certificate__is { color: #5e564b; }
.certificate__bird { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; margin: 20px 0; text-align: left; }
.certificate__bird img { width: 160px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.certificate__name { font-family: var(--font-display); font-size: 2.2rem; margin: 0; }
.certificate__art { color: #5e564b; margin: 0; }
.certificate__sign { margin-top: 28px; display: inline-grid; padding-top: 8px; border-top: 1px solid #1f1b16; min-width: 220px; }
.certificate__sign span { font-family: var(--font-display); font-size: 1.4rem; }
@media print {
  .site-header, .site-footer, .notice, .no-print, .skip-link, .toast { display: none !important; }
  body { background: #fff; }
  .print-area { padding: 0; }
  .voucher-print, .certificate { border-width: 2px; break-inside: avoid; }
}

/* ---------- Pflegebereich (/pflege.html, nur intern) ---------- */
.pflege { padding: 32px 0 80px; }
.pflege [hidden] { display: none !important; }
.pflege__login { max-width: 480px; margin: 20px auto; padding: 28px; }
.pflege__h { font-size: 2rem; margin: 0 0 8px; }
.p-form { display: grid; gap: 16px; margin-top: 16px; }
.pflege__bar { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs [role="tab"] { border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 999px; font: 600 1rem/1.2 var(--font-body); cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #000; }
.p-panel[hidden] { display: none; }
.p-h { font-size: 1.6rem; margin: 32px 0 6px; }
.p-panel > .p-h:first-child { margin-top: 0; }
.p-help { color: var(--muted); font-size: 1rem; max-width: 80ch; margin: 0 0 14px; }
.p-msg { padding: 10px 14px; border-radius: var(--radius-sm); margin: 0 0 16px; font-weight: 600; }
.p-msg--ok { background: var(--forest-soft); color: var(--text); }
.p-msg--err { background: var(--danger-soft); color: var(--danger); }
.p-msg[hidden] { display: none; }
.p-stand { margin-top: 32px; }
.pflege .field { margin-bottom: 14px; }
.pflege .field textarea { min-height: 70px; }
.p-narrow { max-width: 260px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 8px 0 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); }
.p-list { display: grid; gap: 10px; margin-bottom: 10px; }
.p-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.p-row label { display: grid; gap: 4px; flex: 0 1 150px; min-width: 0; }
.p-row label[hidden] { display: none; }
.p-row label > span { font-weight: 700; font-size: .9rem; color: var(--muted); }
.p-row label.grow { flex: 1 1 200px; }
.p-row label.p-short { flex: 0 1 96px; }
.p-row input, .p-row select, .p-quick select {
  width: 100%; min-width: 0; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 12px; min-height: 46px;
}
.p-row input:focus, .p-row select:focus, .p-quick select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.p-row__tools { display: flex; gap: 4px; margin-left: auto; }
.icon-btn { width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 1px; }
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn small { font-weight: 700; font-size: .8rem; }
.p-add { display: inline-flex; align-items: center; gap: 6px; border: 1px dashed var(--line); background: transparent; color: var(--text); padding: 10px 16px; border-radius: var(--radius-sm); font: 600 1rem/1.2 var(--font-body); cursor: pointer; }
.p-add svg { width: 18px; height: 18px; }
.p-add:hover { border-color: var(--accent); color: var(--accent); }
.p-vogel { flex: 1 1 200px; display: grid; gap: 2px; align-self: center; min-width: 0; }
.p-vogel span { color: var(--muted); font-size: .95rem; }
.p-quick { display: grid; gap: 10px; margin-bottom: 8px; }
.p-quick__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.p-quick__item.is-cancelled { background: var(--danger-soft); }
.p-quick__when { display: grid; gap: 2px; min-width: 0; }
.p-quick__when strong { font-size: 1.1rem; }
.p-quick__when span { color: var(--muted); }
.p-quick__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.p-quick__tools select { width: auto; }
.p-btn-danger { background: var(--danger); color: #fff; }
.p-btn-danger:hover { filter: brightness(1.08); }
:root[data-theme="dark"] .p-btn-danger { color: #1a0f0b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .p-btn-danger { color: #1a0f0b; } }
.p-count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--danger); color: #fff; font-size: .8rem; line-height: 20px; }
.p-count[hidden] { display: none; }
.p-row [data-nur-kurs][hidden] { display: none; }
.p-gebucht { align-self: center; border: 1px solid var(--line); background: var(--forest-soft); color: var(--text); border-radius: 999px; padding: 8px 12px; font: 600 .9rem/1 var(--font-body); cursor: pointer; white-space: nowrap; }
.p-gebucht:disabled { background: transparent; color: var(--muted); cursor: default; }
.p-gebucht.is-voll { background: var(--danger-soft); color: var(--danger); }
.p-dialog { width: min(640px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 20px 24px; box-shadow: var(--shadow-lg); }
.p-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.p-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.p-dialog__head .p-h { margin: 0; font-size: 1.4rem; }
.p-tn { list-style: none; padding: 0; display: grid; gap: 10px; }
.p-tn li { padding: 10px 0; border-bottom: 1px dashed var(--line); overflow-wrap: anywhere; }
.p-tn__act { display: flex; flex-wrap: wrap; gap: 8px; }
.p-orders { display: grid; gap: 10px; }
.p-order { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.p-order summary { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; }
.p-order summary::-webkit-details-marker { display: none; }
.p-order__nr { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; color: var(--muted); }
.p-order__name { flex: 1 1 140px; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.p-order__sum { font-weight: 700; }
.p-order__st { padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); font-size: .85rem; font-weight: 600; }
.p-order--zahlung-offen .p-order__st { background: var(--accent-soft); }
.p-order--bezahlt .p-order__st, .p-order--vor-ort .p-order__st { background: var(--forest-soft); }
.p-order--storniert, .p-order--abgebrochen { opacity: .65; }
.p-order__body { padding: 0 16px 16px; overflow-wrap: anywhere; }
.p-order__pos { list-style: none; padding: 0; margin: 8px 0 12px; }
.p-order__pos li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.p-frist { margin: 0 0 12px; font-weight: 600; color: var(--muted); }
.p-frist.is-late { color: var(--danger); }
.p-order__notiz { display: grid; gap: 4px; margin: 12px 0; }
.p-order__notiz span { font-weight: 700; font-size: .9rem; color: var(--muted); }
.p-order__notiz textarea, .p-gut input, .p-gut select { width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; min-height: 46px; }
.p-order__act { display: flex; flex-wrap: wrap; gap: 8px; }
.p-erst { display: inline-flex; gap: 6px; align-items: center; }
.p-erst input { width: 90px; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; min-height: 46px; }
.p-gut { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 12px 0 20px; }
.p-gut label { display: grid; gap: 4px; flex: 0 1 220px; min-width: 0; }
.p-gut label.grow { flex: 1 1 220px; }
.p-gut label span { font-weight: 700; font-size: .9rem; color: var(--muted); }
#p-gut-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; font-size: 1.2rem; }
.p-gut .btn { flex: none; }
.p-gutneu { margin-top: 0; }
.p-grid .span3 { grid-column: span 3; }
@media (max-width: 800px) { .p-grid .span3 { grid-column: span 2; } }
@media (max-width: 520px) { .p-grid .span3 { grid-column: auto; } }
.p-gl { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.p-gl li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); overflow-wrap: anywhere; }
.p-gl li.is-off { opacity: .6; }
.p-gl__code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; font-weight: 700; background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.p-gl__wert { font-weight: 700; }
.p-gl__info { flex: 1 1 200px; min-width: 0; color: var(--muted); }
.p-gl__st { padding: 2px 10px; border-radius: 999px; background: var(--bg-alt); font-size: .85rem; font-weight: 600; }
.p-gl__st.is-ok { background: var(--forest-soft); }
.p-gl__st.is-blanko { background: var(--accent-soft); }
.p-voucher { border: 2px solid var(--accent); border-radius: 14px; padding: 16px 20px; background: var(--surface); }
.p-voucher.is-off { border-color: var(--danger); }
.p-halter { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); }
.p-halter p { margin: 0; }
.p-halter .btn { margin-top: 6px; }
.p-voucher__code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .15em; margin: 0; color: var(--muted); }
.p-voucher__rest { font-family: var(--font-display); font-size: 2.6rem; margin: 0; }
.p-voucher__rest small { font-family: var(--font-body); font-size: 1rem; color: var(--muted); }
.p-sub { font-size: 1.25rem; margin: 24px 0 10px; }
.p-kurse__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.p-kurskarte { display: flex; gap: 12px; align-items: center; text-align: left; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; font: inherit; min-width: 0; }
.p-kurskarte:hover { border-color: var(--accent); }
.p-kurskarte img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.p-kurskarte--person { padding: 8px 14px 8px 8px; }
.p-kurskarte--person img { width: 44px; height: 55px; }
.p-leitung__foto { width: 120px; height: 150px; object-fit: cover; border-radius: 10px; background: var(--bg-alt); }
.p-kurskarte span { display: grid; gap: 2px; min-width: 0; }
.p-kurskarte strong { overflow-wrap: anywhere; }
.p-kurskarte small { color: var(--muted); }
#p-kurs-neu { margin-top: 16px; }
.p-kurs { margin-top: 24px; padding: 20px; border: 2px solid var(--accent); border-radius: 16px; background: var(--surface); }
.p-kurs[hidden] { display: none; }
.p-kurs__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.p-kurs__head .p-h { margin: 0; }
.p-kurs__bild { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 14px 0; }
.p-kurs__bild img { width: 200px; height: 150px; object-fit: cover; border-radius: 10px; background: var(--bg-alt); }
.p-upload { cursor: pointer; }
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.p-grid label { display: grid; gap: 4px; min-width: 0; align-content: start; }
.p-grid label > span, .p-leitung legend { font-weight: 700; font-size: .9rem; color: var(--muted); }
.p-grid .span2 { grid-column: span 2; }
.p-grid .span4 { grid-column: 1 / -1; }
.p-grid input, .p-grid select, .p-grid textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; min-height: 46px; }
.p-grid textarea { resize: vertical; line-height: 1.45; }
.p-grid input:focus, .p-grid select:focus, .p-grid textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 800px) { .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .p-grid { grid-template-columns: minmax(0, 1fr); } .p-grid .span2 { grid-column: auto; } }
.p-grid input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; }
.p-leitung { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 14px 4px; margin: 0; display: grid; }
.p-leitung > div { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.p-kurs__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.p-danger { color: var(--danger); border-color: var(--danger); margin-left: auto; }
.p-list--voegel .p-row { align-items: center; }
.p-vogel__bild { display: grid; gap: 4px; justify-items: center; flex: none; }
.p-vogel__bild img { width: 72px; height: 96px; object-fit: cover; border-radius: 8px; background: var(--bg-alt); }
.p-upload-btn { font-size: .85rem; font-weight: 700; color: var(--accent); cursor: pointer; }
.p-stripe__status { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--bg-alt); font-weight: 700; }
.p-stripe__status.is-on { background: var(--forest-soft); }
.p-stripe__status.is-test { background: var(--accent-soft); }
.p-stripe code { overflow-wrap: anywhere; }
.p-mails { display: grid; gap: 8px; padding-left: 1.2em; max-width: 80ch; }
@media (max-width: 640px) {
  .pflege__bar { position: static; }
  .p-row label, .p-row label.p-short { flex: 1 1 calc(50% - 10px); }
  .p-row label.grow { flex-basis: 100%; }
  .p-quick__tools { width: 100%; }
  .p-quick__tools > * { flex: 1 1 auto; }
}

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

/* Gutschein/Urkunde: Rautenlogo braucht oben Platz neben dem Wert */
.voucher-print { padding-right: clamp(24px, 5vw, 48px); }
.voucher-print > .voucher-card__logo { width: 84px; height: 84px; right: 24px; top: 24px; }
.voucher-print__kicker, .voucher-print__wert { padding-right: 96px; }
@media print { .voucher-print, .certificate { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Schriftzug neben der Raute: in Versalien zu breit fürs Handy → dort normale Schreibung */
@media (max-width: 560px) {
  .brand__text strong { text-transform: none; letter-spacing: 0; font-size: 1.12rem; }
  .brand__text small { font-size: .56rem; letter-spacing: .12em; }
}
@media (max-width: 400px) { .brand__text strong { font-size: 1rem; } }
@media (max-width: 370px) { .brand__text strong { font-size: .92rem; } .brand__mark .logo { width: 36px; height: 36px; } }
#urkunde-ansicht > .no-print, #gutschein-ansicht > .no-print { margin-top: 20px; }
/* Kopfzeile */
:root { --header-h: 84px; }
.brand__mark .logo { width: 54px; height: 54px; }
@media (max-width: 480px) { :root { --header-h: 70px; } .brand__mark .logo { width: 44px; height: 44px; } }
@media (max-width: 400px) { .brand__mark .logo { width: 40px; height: 40px; } }
@media (max-width: 370px) { .brand__mark .logo { width: 36px; height: 36px; } }

/* Logo in Kopf und Fuß: Maske übernimmt die Textfarbe */
.brand__mark .logo, .footer-logo .logo {
  background: currentColor;
  -webkit-mask: url(../img/logo.svg) center / contain no-repeat; mask: url(../img/logo.svg) center / contain no-repeat;
}
:root { --header-h: 80px; }
.brand__mark .logo { width: 48px; height: 56px; }
.footer-logo .logo { width: 113px; height: 132px; }
@media (max-width: 480px) { :root { --header-h: 68px; } .brand__mark .logo { width: 40px; height: 46px; } }
@media (max-width: 400px) { .brand__mark .logo { width: 35px; height: 41px; } }
@media (max-width: 370px) { .brand__mark .logo { width: 33px; height: 38px; } }

/* Zwei-Faktor-Anmeldung */
.p-qr { width: 220px; max-width: 100%; padding: 12px; background: #fff; border-radius: 12px; border: 1px solid var(--line); margin: 8px 0 12px; }
.p-qr svg { width: 100%; height: auto; display: block; }
.p-qr[hidden], .p-ersatz[hidden] { display: none; }
.p-ersatz { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 12px 0; }
.p-ersatz li { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; padding: 8px 12px; border: 1px dashed var(--line); border-radius: 8px; background: var(--surface); }

/* Änderungen nach Nadines Liste (23.10.2026): Gutschein in der Kasse, Pate beim Vogel, Anfrage je Anliegen */
.cart__fields input[type="checkbox"] { width: auto; min-height: 0; }
.cart__fields-h { grid-column: 1 / -1; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: -6px; }
.cart__fields label.consent { display: flex; font-weight: 400; color: var(--text); margin: 4px 0 0; }
.voucher-redeem { margin-top: 16px; }
.voucher-redeem label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.voucher-redeem__row { display: flex; gap: 8px; }
.voucher-redeem__row input {
  flex: 1 1 auto; min-width: 0; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 12px; min-height: 46px; text-transform: uppercase; letter-spacing: .06em;
}
.voucher-redeem__row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.voucher-redeem .p-msg { margin-top: 8px; }
.linkish { background: none; border: 0; padding: 0; margin-top: 6px; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; }
.sum--voucher { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 4px; border-top: 0; padding-top: 0; }
.sum--voucher dd { font-size: 1.1rem; font-family: inherit; }
.sum--voucher dd strong { font-family: var(--font-display); font-size: 2rem; }
.bird__pate { font-size: .9rem; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.form [data-nur][hidden] { display: none; }
