/* =====================================================================================================
   Apotheke „Zum goldenen Löwen“ St. Pölten – Design „Goldener Löwe“
   Heraldik der ältesten Apotheke St. Pöltens (seit 1545): Löwenrot aus dem Logo, Altgold, Nachtblau, Elfenbein.
   Schriften: Libre Caslon Text (Überschriften) + Albert Sans (Text) – lokal, SIL OFL 1.1.
   Effekte: Gold-Schimmer im Hero-Titel, rotierendes Siegel, Bogenrahmen (Fenster der Barockfassade), Wappenschild-Karten mit
   goldener Kontur, Chronik-Linie, die sich beim Scrollen füllt, Rautenmuster, Parallax-Abendband. prefers-reduced-motion: alles ruhig.
   ===================================================================================================== */

@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/libre-caslon-text-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/libre-caslon-text-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/libre-caslon-text-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/albert-sans-latin-wght-normal.woff2) format("woff2"); }

:root {
  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bg: #f7f2e8;
  --bg-alt: #efe7d7;
  --surface: #fffcf6;
  --ink: #161a2e;
  --muted: #555a6c;
  --line: rgba(22, 26, 46, .14);
  --line-strong: rgba(22, 26, 46, .28);
  --gold: #c39a3e;
  --gold-hi: #e2c27a;
  --on-red: #ffffff;
  --navy: #121733;
  --navy-2: #1a2046;
  --navy-line: rgba(216, 177, 90, .28);
  --on-navy: #f1ebdd;
  --on-navy-muted: #c4c0cf;
  --gold-on-navy: #d8b15a;
  --ok: #1f7a4a;
  --soon: #9a5b00;
  --closed: #b5002f;
  --shadow: 0 1px 2px rgba(22, 26, 46, .06), 0 12px 32px -14px rgba(22, 26, 46, .22);
  --shadow-lg: 0 30px 60px -28px rgba(22, 26, 46, .45);
  --header-h: 78px;
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 3px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  color-scheme: light;
}
[data-theme=dark] {
  --bg: #0c0f1f;
  --bg-alt: #10142a;
  --surface: #151a33;
  --ink: #ede7d9;
  --muted: #b6b3c3;
  --line: rgba(237, 231, 217, .14);
  --line-strong: rgba(237, 231, 217, .3);
  --gold: #d8b15a;
  --on-red: #1a0710;
  --navy: #0a0d1c;
  --navy-2: #141936;
  --ok: #5fd39a;
  --soon: #f0b25a;
  --closed: #ff8fa3;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.theme-anim, .theme-anim * { transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease) !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
.pic { display: block; }
.pic img { width: 100%; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:where([data-theme=dark]) a { color: var(--gold-ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, .h3, .h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 em, h2 em, h3 em, .section-title em { font-style: italic; color: var(--red); }
:where([data-theme=dark]) h1 em, :where([data-theme=dark]) h2 em, :where([data-theme=dark]) .section-title em { color: var(--gold); }
h3, .h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.h4 { font-size: 1.3rem; }
strong { font-weight: 650; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.break { overflow-wrap: anywhere; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--bg); padding: .75rem 1.1rem; border-radius: var(--radius); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.narrow-wide { max-width: calc(980px + 2 * var(--gutter)); }

/* ---------------------------------------------------------------- Heraldische Bausteine */
.lion { display: block; width: 100%; height: 100%; background: currentColor; -webkit-mask: url(../img/loewe.svg) center / contain no-repeat; mask: url(../img/loewe.svg) center / contain no-repeat; }
.kicker { display: inline-flex; align-items: center; gap: .85rem; margin: 0 0 1rem; font: 650 .78rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.kicker--light { color: var(--gold-on-navy); }
.kicker-mark { position: relative; width: 2.4rem; height: 1px; background: currentColor; flex: none; }
.kicker-mark::after { content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }
.ornament { display: flex; align-items: center; gap: .6rem; color: var(--gold); width: min(240px, 60%); }
.ornament i { flex: 1; height: 1px; background: currentColor; opacity: .7; }
.ornament b { width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid currentColor; position: relative; }
.ornament b::after { content: ""; position: absolute; inset: 2px; background: currentColor; }

/* Bogenrahmen: Rundbogen wie die Fenster und Tore der Barockfassade, goldene Doppellinie */
.arch { margin: 0; position: relative; }
.arch-frame { position: relative; overflow: hidden; border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius); box-shadow: var(--shadow-lg); }
.arch-frame .pic, .arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.arch::before { content: ""; position: absolute; inset: -12px; border: 1px solid var(--gold); border-radius: 50% 50% calc(var(--radius) + 6px) calc(var(--radius) + 6px) / 34% 34% 8px 8px; pointer-events: none; opacity: .75; }
.arch figcaption { margin-top: 1.4rem; font-size: .85rem; color: var(--muted); text-align: center; }
.arch--light figcaption { color: var(--on-navy-muted); }
.arch--light::before { border-color: var(--gold-on-navy); }
.corners { position: relative; margin: 0; }
.corners::before, .corners::after { content: ""; position: absolute; width: 56px; height: 56px; border: 0 solid var(--gold); pointer-events: none; z-index: 1; }
.corners::before { top: -10px; left: -10px; border-top-width: 2px; border-left-width: 2px; }
.corners::after { bottom: -10px; right: -10px; border-bottom-width: 2px; border-right-width: 2px; }
.corners .pic img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.herbs-media, .house-media, .range-media, .gallery-item { margin: 0; }
.herbs-media figcaption, .house-media figcaption, .range-media figcaption, .gallery-item figcaption { margin-top: 1.1rem; font-size: .85rem; color: var(--muted); }
.frame { margin: 0; display: inline-flex; flex-direction: column; align-items: center; gap: .7rem; }
.frame .native { padding: 7px; background: var(--surface); border: 1px solid var(--gold); box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line-strong), var(--shadow); }
.frame figcaption { font-size: .82rem; line-height: 1.4; color: var(--muted); text-align: center; max-width: 15rem; }
.native { max-width: none; width: auto; }

/* Krone/Wappenschild für Icons */
.crest { display: inline-grid; place-items: center; width: 52px; height: 60px; flex: none; color: var(--gold-on-navy); background: var(--navy); border-radius: 4px 4px 50% 50% / 4px 4px 42% 42%; box-shadow: inset 0 0 0 1px var(--navy-line), inset 0 0 0 4px var(--navy), inset 0 0 0 5px rgba(216, 177, 90, .45); }
.crest .icon { width: 24px; height: 24px; margin-top: -4px; }
.crest--sm { width: 44px; height: 50px; }
[data-theme=dark] .crest { background: var(--navy-2); }

/* ---------------------------------------------------------------- Buttons & Links */
.btn { --b: var(--red); display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; padding: .8rem 1.35rem; border: 1px solid var(--b); border-radius: var(--radius); background: var(--b); color: var(--on-red); font: 650 .95rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 1px; pointer-events: none; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--on-red); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--gold { --b: #d6ad55; background: linear-gradient(135deg, #e6c67f, #c9a04a 55%, #b88c35); color: #15182b; border-color: #c9a04a; }
.btn--gold::before { border-color: rgba(21, 24, 43, .28); }
.btn--gold:hover { background: linear-gradient(135deg, #f0d495, #d6ad55 55%, #c39a3e); color: #15182b; border-color: #d6ad55; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost::before { display: none; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--outline-light { background: transparent; color: var(--on-navy); border-color: rgba(241, 235, 221, .55); }
.btn--outline-light::before { display: none; }
.btn--outline-light:hover { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }
.btn--sm { min-height: 42px; padding: .6rem 1rem; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn-row:empty { display: none; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; color: var(--red); }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }
:where([data-theme=dark]) .link-arrow { color: var(--gold-ink); }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background-color .25s, border-color .25s; }
.icon-btn:hover { border-color: currentColor; }
.icon-btn .icon { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- Live-Status */
.status { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-size: .9rem; font-weight: 550; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; position: relative; }
.status[data-state=open] .status-dot { background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2.4s infinite; }
.status[data-state=soon] .status-dot { background: var(--soon); }
.status[data-state=closed] .status-dot { background: var(--closed); }
.status--light { color: var(--on-navy); }
.status--light[data-state=open] .status-dot { background: #6ee0a4; }
.status--light[data-state=soon] .status-dot { background: #f3c06e; }
.status--light[data-state=closed] .status-dot { background: #ff8fa3; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------------------------------------------------------------- Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--on-navy); transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .35s; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); color: var(--ink); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .5); }
.site-header.is-scrolled::after { opacity: .7; }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); max-width: calc(1440px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; min-width: 0; }
.brand-mark { width: 42px; height: 46px; flex: none; color: var(--gold-on-navy); transition: color .35s, transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.is-scrolled .brand-mark { color: var(--red); }
[data-theme=dark] .is-scrolled .brand-mark { color: var(--gold); }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.brand-1 { font: 400 1.32rem/1.05 var(--serif); letter-spacing: -.005em; white-space: nowrap; }
.brand-2 { font: 600 .64rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-top: .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-link { position: relative; display: block; padding: .6rem .8rem; color: inherit; text-decoration: none; font-weight: 550; font-size: .96rem; }
.nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current]::after { transform: scaleX(1); }
.nav-link[aria-current]::before { content: ""; position: absolute; left: 50%; bottom: calc(.3rem - 3px); width: 6px; height: 6px; margin-left: -3px; background: var(--gold); transform: rotate(45deg); }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.status--header { font-size: .82rem; margin-right: .3rem; }
.header-cta::before { display: none; }
.menu-toggle { display: none; }
.theme-toggle .i-sun, [data-theme=dark] .theme-toggle .i-moon { display: none; }
[data-theme=dark] .theme-toggle .i-sun { display: block; }
.menu-toggle .i-close, .is-open .menu-toggle .i-menu { display: none; }
.is-open .menu-toggle .i-close { display: block; }
.site-header.is-open { background: var(--navy); color: var(--on-navy); }
.site-header.is-open .brand-mark { color: var(--gold-on-navy); }
.mobile-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--navy); color: var(--on-navy); overflow-y: auto; padding: 1.5rem var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--navy-line); }
.mobile-nav-lion { position: absolute; right: -6%; bottom: 8%; width: 70%; max-width: 380px; aspect-ratio: 1104 / 1216; height: auto; color: var(--gold-on-navy); opacity: .06; pointer-events: none; }
.mobile-nav ol { list-style: none; margin: 0; padding: 0; position: relative; }
.mobile-nav li { border-bottom: 1px solid var(--navy-line); }
.mobile-nav ol a { display: flex; align-items: baseline; gap: 1rem; padding: .95rem 0; color: var(--on-navy); text-decoration: none; font: 400 clamp(1.6rem, 6.5vw, 2.2rem)/1.15 var(--serif); }
.mobile-nav ol a[aria-current] { color: var(--gold-on-navy); font-style: italic; }
.mn-n { width: 2.6rem; font: italic 400 .95rem/1 var(--serif); color: var(--gold-on-navy); flex: none; }
.mobile-nav-foot { position: relative; display: grid; gap: 1rem; }
.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- Hero (Startseite) */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); min-height: max(640px, min(100svh, 980px)); background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before, .story-band::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background:
    repeating-linear-gradient(45deg, transparent 0 37px, rgba(216, 177, 90, .07) 37px 38px),
    repeating-linear-gradient(-45deg, transparent 0 37px, rgba(216, 177, 90, .07) 37px 38px);
  -webkit-mask: linear-gradient(90deg, #000, rgba(0, 0, 0, .25)); mask: linear-gradient(90deg, #000, rgba(0, 0, 0, .25));
}
.hero-media { grid-column: 2; grid-row: 1; position: relative; z-index: -1; }
.hero-pic, .hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 46%; }
.hero-pic img { animation: heroZoom 1.8s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 23, 51, .82) 0, rgba(18, 23, 51, 0) 150px), linear-gradient(90deg, var(--navy) 0, rgba(18, 23, 51, .55) 14%, rgba(18, 23, 51, 0) 34%), linear-gradient(0deg, rgba(18, 23, 51, .45), transparent 26%); }
[data-theme=dark] .hero-media::after { background: linear-gradient(180deg, rgba(10, 13, 28, .85) 0, rgba(10, 13, 28, 0) 150px), linear-gradient(90deg, var(--navy) 0, rgba(10, 13, 28, .6) 14%, rgba(10, 13, 28, 0) 34%), linear-gradient(0deg, rgba(10, 13, 28, .55), transparent 26%); }
[data-theme=dark] .hero-pic img { filter: brightness(.86) saturate(.95); }
.hero-band { grid-column: 1; grid-row: 1; display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) clamp(1.5rem, 4vw, 3.5rem) 4.5rem max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.hero-copy { max-width: 36rem; }
.hero-title { margin: 0 0 1.4rem; font-size: clamp(2.7rem, 5.4vw, 5.1rem); line-height: 1.02; letter-spacing: -.02em; color: #fff; }
.ht { display: block; animation: rise .9s var(--ease) both; }
.ht-2 { animation-delay: .12s; }
.ht-2 em { color: var(--gold-on-navy); font-style: italic; background: linear-gradient(100deg, #d8b15a 0 42%, #fff4cf 50%, #d8b15a 58% 100%) 100% 0 / 260% 100% no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 2.6s var(--ease) .9s both; }
.hero .kicker { animation: rise .8s var(--ease) both; }
.ornament--hero { color: var(--gold-on-navy); margin-bottom: 1.5rem; animation: rise .8s var(--ease) .2s both; }
.hero-lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--on-navy); max-width: 33rem; animation: rise .8s var(--ease) .25s both; }
.hero-actions { animation: rise .8s var(--ease) .35s both; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--navy-line); animation: rise .8s var(--ease) .45s both; }
.hero-phone { display: inline-flex; align-items: center; gap: .5rem; color: var(--on-navy); text-decoration: none; font-weight: 600; }
.hero-phone:hover { color: var(--gold-on-navy); text-decoration: underline; }
.hero-phone .icon { color: var(--gold-on-navy); width: 1.1em; height: 1.1em; }
.hero--plain { grid-template-columns: 1fr; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes heroZoom { from { transform: scale(1.06); } }

/* Siegel */
.seal { position: absolute; width: 168px; height: 168px; border-radius: 50%; color: var(--gold-on-navy); background: radial-gradient(circle, var(--navy-2) 0 60%, var(--navy) 61%); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7), 0 0 0 1px var(--navy-line); }
.seal--hero { left: 46.5%; bottom: 5%; transform: translateX(-50%); animation: sealIn 1.1s var(--ease) .5s both; z-index: 2; }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 48s linear infinite; }
.seal-ring text { font: 600 13.2px var(--sans); letter-spacing: .5px; fill: currentColor; }
.seal-o, .seal-i { fill: none; stroke: currentColor; stroke-width: 1; opacity: .55; }
.seal-lion { position: absolute; inset: 30%; width: auto; height: auto; background: currentColor; -webkit-mask: url(../img/loewe.svg) center / contain no-repeat; mask: url(../img/loewe.svg) center / contain no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sealIn { from { opacity: 0; transform: translateX(-50%) scale(.6) rotate(-40deg); } }

/* Hochformat (Smartphone, Laptop hochkant): Foto oben (eigener Hochformat-Ausschnitt), Text darunter */
@media (max-aspect-ratio: 4/5), (max-width: 899px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; }
  .hero-media { grid-column: 1; grid-row: 1; height: min(62svh, 135vw); min-height: 340px; }
  .hero-pic img { object-position: 50% 42%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(18, 23, 51, .78) 0, rgba(18, 23, 51, 0) calc(var(--header-h) + 50px)), linear-gradient(0deg, var(--navy) 0, rgba(18, 23, 51, 0) 32%); }
  [data-theme=dark] .hero-media::after { background: linear-gradient(180deg, rgba(10, 13, 28, .8) 0, rgba(10, 13, 28, 0) calc(var(--header-h) + 50px)), linear-gradient(0deg, var(--navy) 0, rgba(10, 13, 28, 0) 32%); }
  .hero-band { grid-column: 1; grid-row: 2; padding: 2.75rem var(--gutter) 3.5rem; }
  .hero-copy { max-width: 40rem; }
  .seal--hero { left: auto; right: var(--gutter); bottom: auto; top: calc(min(62svh, 135vw) - 104px); width: 124px; height: 124px; transform: none; animation-name: sealInM; }
  .hero::before { -webkit-mask: none; mask: none; }
}
@media (max-aspect-ratio: 4/5) and (min-width: 700px) { .hero-media { height: 58svh; } .seal--hero { top: calc(58svh - 120px); width: 150px; height: 150px; } }
@keyframes sealInM { from { opacity: 0; transform: scale(.6) rotate(-40deg); } }
@media (min-width: 900px) and (max-width: 1199px) and (min-aspect-ratio: 4.01/5) { .seal--hero { left: auto; right: 2.5%; bottom: 4%; width: 136px; height: 136px; transform: none; animation-name: sealInM; } }

/* ---------------------------------------------------------------- Zahlen-Leiste */
.facts-band { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.facts-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold) 50%, var(--red)); }
.facts { list-style: none; margin: 0; padding: clamp(2rem, 4vw, 2.8rem) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; position: relative; }
.fact + .fact::before { content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border: 1px solid var(--gold); transform: rotate(45deg); }
.fact strong { font: 400 clamp(2.2rem, 3.6vw, 3.2rem)/1 var(--serif); color: var(--red); letter-spacing: -.02em; }
:where([data-theme=dark]) .fact strong { color: var(--gold); }
.fact strong small { font: italic 400 .45em/1 var(--serif); color: var(--gold-ink); letter-spacing: 0; vertical-align: .35em; }
.fact-label { margin-top: .55rem; font: 600 .74rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 15rem; }

/* ---------------------------------------------------------------- Abschnitte */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section-head .kicker { justify-content: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--left .kicker { justify-content: flex-start; }
.section-title { font-size: clamp(2.05rem, 3.7vw, 3.15rem); margin-bottom: .45em; }
.section-text { color: var(--muted); font-size: 1.08rem; }
.section-text p:last-child { margin-bottom: 0; }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-title em { color: var(--gold-on-navy); }
.section-head--light .section-text { color: var(--on-navy-muted); }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); }

/* Willkommen */
.welcome-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.welcome-media { max-width: 480px; justify-self: center; width: 100%; }
.welcome-copy .section-text { color: var(--ink); font-size: 1.1rem; }
.welcome-copy p { max-width: 38rem; }
.signature { display: flex; flex-direction: column; gap: .15rem; margin-top: 1.6rem; padding-left: 1.2rem; border-left: 2px solid var(--gold); }
.sig-name { font: italic 400 1.35rem/1.3 var(--serif); }
.sig-role { font-size: .9rem; color: var(--muted); }

/* Leistungen – Wappenschild-Karten */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.svc-link { position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem 1.8rem 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc-link::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--gold); clip-path: inset(0 100% 100% 0); transition: clip-path .9s var(--ease); pointer-events: none; }
.svc-link:hover, .svc-link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-link:hover::after, .svc-link:focus-visible::after { clip-path: inset(0); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.4rem; }
.svc-num { font: italic 400 1.15rem/1 var(--serif); color: var(--gold-ink); }
.svc-title { font: 400 1.45rem/1.2 var(--serif); margin-bottom: .6rem; }
.svc-text { color: var(--muted); font-size: .98rem; flex: 1; }
.svc-go { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.3rem; font-weight: 650; font-size: .9rem; color: var(--red); }
:where([data-theme=dark]) .svc-go { color: var(--gold-ink); }
.svc-go .icon { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.svc-link:hover .svc-go .icon { transform: translateX(4px); }
.services .btn-row { margin-top: 2.75rem; }

/* Leistungen – Detailseite */
.svc-details { display: grid; gap: 0; }
.svc-detail { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 2rem; padding: 2.4rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.svc-detail:last-child { border-bottom: 1px solid var(--line); }
.svc-badge { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.svc-badge .crest { width: 64px; height: 74px; }
.svc-badge .crest .icon { width: 28px; height: 28px; }
.svc-detail h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.svc-detail-body { max-width: 46rem; }
.svc-detail:target { background: linear-gradient(90deg, var(--gold-soft), transparent 70%); }
.checks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks .icon { color: var(--gold-ink); margin-top: .2em; width: 1.1em; height: 1.1em; }
.checks--lozenge .icon { width: .8em; height: .8em; margin-top: .45em; }
.checks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 2rem; }

/* Kräuter & Rezepturen */
.herbs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.herbs .checks { gap: 1rem; }
.herbs .checks li { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }

/* Chronik-Band */
.story-band { position: relative; isolation: isolate; background: var(--navy); color: var(--on-navy); padding-block: clamp(4.5rem, 9vw, 7.5rem); overflow: hidden; }
.story-band::before { -webkit-mask: linear-gradient(270deg, #000, rgba(0, 0, 0, .2)); mask: linear-gradient(270deg, #000, rgba(0, 0, 0, .2)); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.story-media { max-width: 360px; justify-self: center; width: 100%; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 2.4rem; display: grid; gap: 1.8rem; }
.tl-line { position: absolute; left: 7px; top: .4rem; bottom: .4rem; width: 1px; background: var(--line-strong); }
.tl-fill { position: absolute; inset: 0 0 auto; height: var(--tl, 100%); background: linear-gradient(var(--gold), var(--red)); }
.js .tl-fill { height: var(--tl, 0%); }
.ms { position: relative; }
.ms-dot { position: absolute; left: calc(-2.4rem + 2px); top: .5rem; width: 11px; height: 11px; transform: rotate(45deg); background: var(--bg); border: 1px solid var(--gold); transition: background-color .4s; }
.ms.is-visible .ms-dot { background: var(--gold); }
.ms-when { display: block; font: italic 400 1.5rem/1 var(--serif); color: var(--gold-ink); margin-bottom: .35rem; }
.ms-body h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.ms-body p { color: var(--muted); margin-bottom: .4rem; }
.ms-fig { margin: 1rem 0 .5rem; display: inline-flex; flex-direction: column; gap: .5rem; }
.ms-fig .native { padding: 5px; background: var(--surface); border: 1px solid var(--gold); box-shadow: var(--shadow); }
.ms-fig figcaption { font-size: .8rem; color: var(--muted); max-width: 16rem; }
.timeline--band .tl-line { background: rgba(241, 235, 221, .2); }
.timeline--band .ms-dot { background: var(--navy); border-color: var(--gold-on-navy); }
.timeline--band .ms.is-visible .ms-dot { background: var(--gold-on-navy); }
.timeline--band .ms-when { color: var(--gold-on-navy); }
.timeline--band h3 { color: #fff; }
.timeline--band .ms-body p { color: var(--on-navy-muted); }
.story-band .btn-row { margin-top: 2.4rem; }
.timeline--page { gap: 2.6rem; }
.timeline--page .ms-when { font-size: 1.9rem; }

/* Nachtdienst-Band */
.night { position: relative; isolation: isolate; color: var(--on-navy); background: var(--navy-2); padding-block: clamp(5rem, 11vw, 9rem); overflow: hidden; }
.night-bg { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.night-bg .pic, .night-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.night--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 15, 31, .94) 0, rgba(12, 15, 31, .8) 45%, rgba(12, 15, 31, .35) 100%); }
.night-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.night-copy { max-width: 36rem; }
.night h2 { color: #fff; font-size: clamp(2.05rem, 3.7vw, 3.15rem); }
.night h2 em { color: var(--gold-on-navy); }
.night p { color: var(--on-navy); }

/* Live-Turnus (optional) */
.duty-live { background: rgba(10, 13, 28, .72); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 1.5rem; color: var(--on-navy); max-width: 360px; }
.dl-label { font: 650 .72rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-on-navy); }
.dl-name { font: 400 1.6rem/1.2 var(--serif); margin: 0 0 .3rem; }
.dl-range, .dl-note { font-size: .88rem; color: var(--on-navy-muted); }
.dl-phone a { color: var(--on-navy); display: inline-flex; gap: .5rem; align-items: center; }
.dl-weeks { list-style: none; margin: 1rem 0; padding: 0; font-size: .88rem; }
.dw { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-top: 1px solid var(--navy-line); }
.dw--self .dw-name { color: var(--gold-on-navy); }
.duty-live--page { background: var(--navy); margin-bottom: 2rem; }

/* Aktuelles, Tipps */
.news { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.news-card, .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.card--flat { box-shadow: none; }
.news-meta { display: inline-flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--gold-ink); font-weight: 600; }
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.tip { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tip h3 { font-size: 1.3rem; }
.tip-link { color: var(--ink); text-decoration: none; }
.tip-link:hover { text-decoration: underline; }
.tabs { display: grid; gap: 1.5rem; }
.tab-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tab-list [role=tab] { display: inline-flex; gap: .5rem; align-items: center; padding: .7rem 1.1rem; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: var(--radius); font: 600 .95rem var(--sans); cursor: pointer; }
.tab-list [aria-selected=true] { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.tabs:not([data-ready]) .tab-list { display: none; }

/* Bewertungen */
.reviews-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.reviews-head .section-head { margin-bottom: 0; }
.rating-panel { display: flex; align-items: center; gap: 1.6rem; padding: 1.4rem 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.rating-panel::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--gold); opacity: .45; pointer-events: none; }
.rp-score { margin: 0; display: flex; align-items: baseline; gap: .3rem; font-family: var(--serif); }
.rp-num { font-size: 3.4rem; line-height: 1; color: var(--red); }
:where([data-theme=dark]) .rp-num { color: var(--gold); }
.rp-of { color: var(--muted); font-size: 1.2rem; }
.rp-side { display: grid; gap: .3rem; }
.rp-meta { display: inline-flex; gap: .45rem; align-items: center; margin: 0; font-size: .88rem; color: var(--muted); }
.rp-meta .icon { width: 1.05em; height: 1.05em; }
.rp-links { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0; font-size: .9rem; }
.stars { display: inline-flex; gap: 2px; color: #c9962f; }
[data-theme=dark] .stars { color: var(--gold); }
.stars .icon { width: 1.05rem; height: 1.05rem; }
.stars .off { color: var(--line-strong); }
.stars--lg .icon { width: 1.35rem; height: 1.35rem; }
.stars--sm .icon { width: .95rem; height: .95rem; }
.rv-grid { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 1.5rem; }
.review { break-inside: avoid; margin-bottom: 1.5rem; }
.review figure { margin: 0; padding: 1.6rem 1.6rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.review figure::after { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: -1px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; }
.review-q { width: 26px; height: 26px; color: var(--gold); opacity: .55; }
.review blockquote { margin: 0 0 1.2rem; font-size: 1.01rem; }
.review blockquote p:last-child { margin-bottom: 0; }
.review figcaption { display: flex; align-items: center; gap: .75rem; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold-on-navy); font: 400 1.1rem var(--serif); flex: none; }
.review-who { display: grid; line-height: 1.3; }
.review-who small { color: var(--muted); font-size: .82rem; }
.rv-more { display: none; }
.rv-more.is-open { display: block; }
.rv-actions { text-align: center; margin: 1rem 0 0; }
.rv-note { margin-top: 1.5rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-lion { width: 120px; height: 132px; color: var(--gold); opacity: .22; margin-top: 1rem; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.3rem 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; }
.faq-item summary:hover h3 { color: var(--red); }
:where([data-theme=dark]) .faq-item summary:hover h3 { color: var(--gold); }
.faq-icon { position: relative; width: 30px; height: 30px; flex: none; border: 1px solid var(--gold); transform: rotate(45deg); transition: transform .4s var(--ease), background-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transform: rotate(-45deg); transition: transform .4s var(--ease); }
.faq-icon::after { transform: rotate(45deg); }
.faq-item[open] .faq-icon { background: var(--gold); }
.faq-item[open] .faq-icon::after { transform: rotate(-45deg); }
.faq-a { padding: 0 3.5rem 1.4rem 0; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* Besuch */
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.card-title { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; margin-bottom: 1.1rem; }
.card-title .icon { color: var(--gold-ink); width: 1.15em; height: 1.15em; }
.hours { margin: 0 0 1.1rem; display: grid; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .2rem; border-bottom: 1px dashed var(--line-strong); }
.hours-row dt { font-weight: 650; }
.hours-row dd { margin: 0; display: grid; text-align: right; font-variant-numeric: tabular-nums; }
.hours-row abbr { text-decoration: none; }
.hours-row.is-today { background: linear-gradient(90deg, var(--gold-soft), transparent); box-shadow: inset 3px 0 0 var(--gold); padding-left: .7rem; }
.closed { color: var(--muted); }
.contact-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list .icon { color: var(--gold-ink); margin-top: .25rem; }
.contact-list small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.contact-list a { font-weight: 600; }
.visit-map .embed { height: 100%; min-height: 380px; }
.duty { display: flex; gap: 1rem; padding: 1.3rem; background: var(--navy); color: var(--on-navy); border-radius: var(--radius); border: 1px solid var(--navy-line); }
.duty-moon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--gold-on-navy); color: var(--gold-on-navy); }
.duty-title { font: 400 1.2rem/1.25 var(--serif); margin: .1rem 0 .4rem; color: #fff; }
.duty p { font-size: .94rem; }
.duty strong { color: var(--gold-on-navy); }
.duty-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .4rem 0 0; }
.duty .link-arrow, :where([data-theme=dark]) .duty .link-arrow { color: var(--gold-on-navy); }
.duty--compact { margin-top: .4rem; }

/* Karte (2-Klick) */
.embed { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: var(--on-navy); border: 1px solid var(--line); min-height: 360px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-consent { position: absolute; inset: 0; display: grid; place-items: center; padding: 1.5rem; text-align: center; isolation: isolate; }
.embed-consent::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7; background: repeating-linear-gradient(45deg, transparent 0 23px, rgba(216, 177, 90, .1) 23px 24px), repeating-linear-gradient(-45deg, transparent 0 23px, rgba(216, 177, 90, .1) 23px 24px); }
.embed-consent .inner { max-width: 26rem; display: grid; justify-items: center; gap: .3rem; }
.embed-pin { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold-on-navy); color: var(--gold-on-navy); margin-bottom: .5rem; }
.embed-title { font: 400 1.25rem/1.3 var(--serif); color: #fff; }
.embed-consent p { font-size: .88rem; color: var(--on-navy-muted); }
.embed-consent a { color: var(--gold-on-navy); }
.embed-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: .4rem 0 .8rem; }
.embed .btn--ghost { color: var(--on-navy); border-color: rgba(241, 235, 221, .5); }
.embed .btn--ghost:hover { background: var(--on-navy); color: var(--navy); }
.remember { display: inline-flex; gap: .5rem; align-items: center; font-size: .85rem; cursor: pointer; }
.remember input { width: 18px; height: 18px; accent-color: var(--gold); }
.map-wide .embed { min-height: 460px; }

/* Abschluss-Band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(120% 140% at 85% 0%, #a10a33 0, #7b0022 45%, #4d0016 100%); padding-block: clamp(4rem, 8vw, 6rem); }
.cta-band::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(226, 194, 122, .35); pointer-events: none; }
.cta-lion { position: absolute; right: 4%; top: 50%; width: min(34vw, 360px); aspect-ratio: 1104 / 1216; height: auto; transform: translateY(-50%); color: #e2c27a; opacity: .12; z-index: -1; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(2.05rem, 3.7vw, 3.1rem); }
.cta-band h2 em { color: #f0d495; }
.cta-band p { color: #f6e8ea; }
.cta-band .kicker { color: #f0d495; }
.cta-actions { display: grid; gap: .5rem; justify-items: start; }
.cta-band .btn-row { margin-top: .6rem; }
.cta-band .status--light[data-state=closed] .status-dot { background: #ffd2da; }

/* ---------------------------------------------------------------- Unterseiten: Seitenkopf */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--on-navy); padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem); }
.page-hero-lion { position: absolute; right: -4%; bottom: -18%; width: min(46vw, 520px); aspect-ratio: 1104 / 1216; height: auto; color: var(--gold-on-navy); opacity: .05; z-index: -1; }
.page-hero--img .page-hero-lion { display: none; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.page-hero--img .page-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1.04; margin-bottom: .35em; }
.page-hero h1 em { color: var(--gold-on-navy); }
.page-hero .lead { color: var(--on-navy); max-width: 42rem; }
.page-hero-media { max-width: 400px; width: 100%; justify-self: center; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0 0 1.4rem; padding: 0; font-size: .85rem; color: var(--on-navy-muted); }
.breadcrumb li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 .55rem .15em .25rem; background: var(--gold-on-navy); transform: rotate(45deg); }
.breadcrumb a { color: var(--on-navy); }
.page-hero--center { text-align: center; }
.page-hero--center .btn-row { justify-content: center; }
.hint-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--gold-on-navy); color: var(--gold-on-navy); margin-bottom: 1.5rem; }
.hint-icon .icon { width: 32px; height: 32px; }
.err-code { font: italic 400 clamp(3rem, 8vw, 5rem)/1 var(--serif); color: var(--gold-on-navy); margin-bottom: .5rem; letter-spacing: .05em; }

/* Die Apotheke */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.about-media { max-width: 440px; width: 100%; justify-self: center; }
.team { display: grid; gap: 1.5rem; }
.member { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.medallion { position: relative; width: 170px; height: 220px; display: grid; place-items: center; }
.medallion::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line-strong); }
.medallion img { width: 150px; height: 200px; max-width: none; object-fit: cover; border-radius: 50%; }
.member-initials { font: 400 2.4rem var(--serif); color: var(--gold-ink); }
.member-name { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .2rem; }
.member-role { font: 650 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1rem; }
.features-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.amenities li { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.amenities .icon { color: var(--gold-ink); margin-top: .15rem; }
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; }
.award { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.3rem; align-items: start; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.award-fig { margin: 0; }
.award-fig .native { padding: 4px; border: 1px solid var(--gold); background: var(--surface); width: 140px; height: auto; max-width: 140px; }
.award-year { display: inline-flex; gap: .45rem; align-items: center; font: italic 400 1.15rem var(--serif); color: var(--gold-ink); margin-bottom: .3rem; }
.award h3 { font-size: 1.2rem; line-height: 1.3; }
.award p { font-size: .94rem; color: var(--muted); margin-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.gallery-item { margin: 0; }

/* Geschichte */
.house-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2.5rem, 7vw, 5.5rem); align-items: center; }
.house-media { margin-top: 1rem; }
.house-media2 { max-width: 320px; width: 100%; justify-self: center; }
.herb-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.frame--lg .native { padding: 10px; }
.art-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 2.5rem 2rem; }
.art-wall li { display: flex; }
.art .btn-row { margin-top: 3rem; }

/* Leistungen-Seite */
.more-grid, .order-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.range-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 5.5rem); align-items: center; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .5rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .92rem; background: var(--surface); }
.chips a { text-decoration: none; }
.chips--center { justify-content: center; }
.chips--light li { background: transparent; border-color: var(--navy-line); }
.chips--light a { color: var(--on-navy); }

/* Nachtdienst-Seite */
.duty-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.duty-side { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.pharm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pharm { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.pharm h3 { font-size: 1.15rem; margin-bottom: .3rem; line-height: 1.3; }
.pharm p { margin: 0 0 .2rem; font-size: .93rem; color: var(--muted); }
.pharm-a { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 2px; background: var(--red); color: var(--on-red); font: 700 1.05rem/1 var(--serif); }
.pharm-lion { width: 34px; height: 38px; flex: none; color: var(--red); }
:where([data-theme=dark]) .pharm-lion { color: var(--gold); }
.pharm--self { grid-column: 1 / -1; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.pharm-tag { display: inline-block; margin-left: .3rem; padding: .1rem .55rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font: 650 .68rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }
.pharm-tel { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; }
.pharm-tel .icon { width: 1em; height: 1em; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-side { display: grid; gap: 1.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent); }
.field [aria-invalid=true] { border-color: var(--closed); }
.field-error { color: var(--closed); font-size: .88rem; font-weight: 600; }
.field--check { display: flex; gap: .7rem; align-items: flex-start; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: .2rem; flex: none; accent-color: var(--red); }
.field--check label { font-weight: 400; flex: 1 1 0; min-width: 0; }
.field--check .field-error { flex-basis: 100%; }
.field--check { flex-wrap: wrap; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.form-hint { font-size: .88rem; color: var(--muted); margin: 1.2rem 0; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--closed); }

/* Rechtstexte, Prosa */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--gold-ink); }
.legal { overflow-wrap: anywhere; }
.sitemap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.sitemap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }

/* ---------------------------------------------------------------- Footer */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--on-navy); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.site-footer::before { opacity: .35; -webkit-mask: none; mask: none; }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: var(--gold-on-navy); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.brand--footer .brand-mark { color: var(--gold-on-navy); width: 50px; height: 55px; }
.brand--footer .brand-1 { font-size: 1.55rem; }
.footer-claim { margin: 0; font: italic 400 1.2rem/1.4 var(--serif); color: var(--gold-on-navy); max-width: 30rem; }
.ornament--footer { width: auto; max-width: calc(var(--container)); margin: 2.4rem auto; padding-inline: var(--gutter); color: var(--gold-on-navy); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.footer-title { font: 650 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-on-navy); margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; font-size: .95rem; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact .icon { color: var(--gold-on-navy); margin-top: .2rem; width: 1.1em; height: 1.1em; }
.footer-text { font-size: .9rem; color: var(--on-navy-muted); margin-top: 1rem; }
.hours--footer .hours-row { border-color: var(--navy-line); font-size: .93rem; }
.hours--footer .closed { color: var(--on-navy-muted); }
.hours--footer .hours-row.is-today { background: rgba(216, 177, 90, .12); box-shadow: inset 3px 0 0 var(--gold-on-navy); }
.status--footer { color: var(--on-navy); font-size: .88rem; }
.social { list-style: none; display: flex; gap: .6rem; margin: 1.2rem 0 0; padding: 0; }
.social-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--navy-line); }
.social-link:hover { border-color: var(--gold-on-navy); }
.social--dark .social-link { border-color: var(--line-strong); color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--navy-line); font-size: .88rem; color: var(--on-navy-muted); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom .linklike { color: var(--on-navy); font-size: .88rem; }

/* Schnellkontakt (mobil) */
.mobile-cta { display: none; }
.privacy-dialog { max-width: min(30rem, calc(100vw - 2rem)); border: 1px solid var(--gold); border-radius: var(--radius); background: var(--surface); color: var(--ink); padding: 1.8rem; box-shadow: var(--shadow-lg); }
.privacy-dialog::backdrop { background: rgba(10, 13, 28, .6); }

/* ---------------------------------------------------------------- Einblendungen */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.d-1 { transition-delay: .08s !important; }
.d-2 { transition-delay: .16s !important; }
.d-3 { transition-delay: .24s !important; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1279px) { .status--header { display: none; } }
@media (max-width: 1139px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-map { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .fact:nth-child(3)::before { display: none; }
  .welcome-grid, .herbs-grid, .story-grid, .about-grid, .features-grid, .house-grid, .herb-grid, .more-grid, .order-grid, .range-grid, .duty-grid, .contact-grid, .faq-grid, .reviews-head, .night-inner, .cta-inner, .page-hero--img .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .welcome-media { max-width: 400px; }
  .story-media { max-width: 300px; }
  .faq-side { position: static; }
  .faq-lion { display: none; }
  .duty-side { position: static; }
  .page-hero-media { max-width: 320px; justify-self: start; }
  .herbs-media { order: -1; }
  .night--img::before { background: linear-gradient(180deg, rgba(12, 15, 31, .9), rgba(12, 15, 31, .78)); }
  .rating-panel { justify-self: start; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 699px) {
  body { font-size: 1rem; }
  .svc-grid, .visit-grid, .footer-grid, .amenities, .pharm-list, .form-grid, .sitemap-grid, .checks--cols { grid-template-columns: minmax(0, 1fr); }
  .member { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .svc-detail { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .svc-badge { flex-direction: row; }
  .award { grid-template-columns: minmax(0, 1fr); }
  .rv-grid { columns: 1; }
  .rating-panel { flex-wrap: wrap; gap: 1rem; padding: 1.2rem; }
  .mobile-cta { position: fixed; z-index: 90; left: .75rem; right: .75rem; bottom: .75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .5rem; background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(140%); transition: transform .45s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { min-height: 46px; }
  .site-footer { padding-bottom: 6.5rem; }
  .brand-1 { font-size: 1.15rem; }
  .brand-2 { font-size: .58rem; letter-spacing: .14em; }
  .brand-mark { width: 36px; height: 40px; }
  .brand-3 { display: none; }
  .header-actions { gap: .4rem; }
  .cta-lion { opacity: .07; width: 60vw; }
  .facts .fact { padding: 0 .4rem; }
  .medallion { width: 160px; height: 210px; }
}
@media (max-width: 380px) {
  .brand-2 { display: none; }
  .seal--hero { width: 108px; height: 108px; top: calc(min(62svh, 135vw) - 92px); }
  .fact-label { letter-spacing: .08em; }
}

/* ---------------------------------------------------------------- Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .seal-ring { animation: none; }
}
@media print {
  .site-header, .mobile-cta, .night, .cta-band, .embed, .seal { display: none !important; }
  .hero, .page-hero { background: none; color: #000; padding-top: 1rem; }
  .hero-title, .page-hero h1 { color: #000; }
}
