/* =====================================================================
   AURELIA — Boutique Hotel & Spa · Design System
   ---------------------------------------------------------------------
   1. Fonts            6. Header / Nav      11. Menü (Restaurant)
   2. Design Tokens    7. Hero              12. Galerie & Lightbox
   3. Reset & Base     8. Buchungsleiste    13. Slider / Akkordeon
   4. Typografie       9. Karten & Grids    14. Formulare
   5. Buttons         10. Split-Sektionen   15. Footer & Utilities
   ===================================================================== */

/* ------------------------------ 1. SCHRIFTEN ------------------------
   Lokal eingebunden — es geht keine Anfrage an Google-Server (DSGVO).
   Die Dateien liegen NICHT bei; laden Sie sie einmalig herunter:
   → Doppelklick auf  setup-lokal.ps1  (Windows)
   → oder manuell von  gwfh.mranftl.com  (Cormorant Garamond + Inter,
     Format woff2) nach  assets/fonts/  legen.
   Solange die Dateien fehlen, greifen die Systemschriften aus dem
   Fallback-Stack weiter unten — die Seite bleibt voll funktionsfähig.
   -------------------------------------------------------------------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300;
  font-display: swap; src: url('../fonts/cormorant-garamond-300.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('../fonts/cormorant-garamond-400.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500;
  font-display: swap; src: url('../fonts/cormorant-garamond-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300;
  font-display: swap; src: url('../fonts/cormorant-garamond-300italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300;
  font-display: swap; src: url('../fonts/inter-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500;
  font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600;
  font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }

/* ============================== 2. TOKENS ============================ */
:root {
  /* Farben — Hell (Warm Sand) */
  --bg:            #F7F3EB;
  --bg-2:          #EFE8DC;
  --bg-3:          #E6DCCB;
  --surface:       #FFFDF9;
  --ink:           #16120E;
  --ink-2:         #443C31;
  --muted:         #7C7062;
  --line:          rgba(22,18,14,.13);
  --line-strong:   rgba(22,18,14,.26);
  --gold:          #96742F;
  --gold-bright:   #C9A227;
  --gold-soft:     rgba(150,116,47,.14);
  --on-dark:       #F5EFE4;
  --shadow-sm:     0 1px 2px rgba(22,18,14,.05), 0 4px 14px rgba(22,18,14,.06);
  --shadow-md:     0 2px 6px rgba(22,18,14,.06), 0 18px 44px rgba(22,18,14,.10);
  --shadow-lg:     0 8px 20px rgba(22,18,14,.10), 0 40px 90px rgba(22,18,14,.16);

  /* Typografie */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Garamond, Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: .72rem;
  --fs-body:    1.0rem;
  --fs-lead:    clamp(1.06rem, .55vw + .92rem, 1.3rem);
  --fs-h4:      clamp(1.12rem, .5vw + 1rem, 1.35rem);
  --fs-h3:      clamp(1.5rem, 1.1vw + 1.2rem, 2.1rem);
  --fs-h2:      clamp(2.05rem, 2.4vw + 1.3rem, 3.4rem);
  --fs-h1:      clamp(2.7rem, 5.4vw + 1rem, 6.2rem);

  /* Raster & Rhythmus */
  --container: 1280px;
  --container-narrow: 880px;
  --gutter: clamp(1.15rem, 3.6vw, 3rem);
  --section-y: clamp(4.5rem, 8vw, 9rem);
  --radius: 2px;
  --radius-lg: 4px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: .5s;

  --header-h: 82px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg:            #0F0D0B;
  --bg-2:          #151210;
  --bg-3:          #1D1815;
  --surface:       #191512;
  --ink:           #F3ECE0;
  --ink-2:         #CFC3B1;
  --muted:         #9C9080;
  --line:          rgba(243,236,224,.13);
  --line-strong:   rgba(243,236,224,.28);
  --gold:          #D8B36B;
  --gold-bright:   #E4C486;
  --gold-soft:     rgba(216,179,107,.13);
  --on-dark:       #F5EFE4;
  --shadow-sm:     0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.3);
  --shadow-md:     0 2px 6px rgba(0,0,0,.4), 0 18px 44px rgba(0,0,0,.45);
  --shadow-lg:     0 8px 20px rgba(0,0,0,.45), 0 40px 90px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ============================ 3. RESET & BASE ======================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
body.no-scroll { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold); color: #fff; }

/* Skip-Link (Barrierefreiheit) */
.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--ink); color: var(--bg);
  padding: .85rem 1.6rem; font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; transition: top .3s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 3px solid var(--bg-2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================ 4. TYPOGRAFIE ========================== */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.16; }
h4 { font-size: var(--fs-h4); line-height: 1.3; font-weight: 400; }

p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.35rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: currentColor; opacity: .65;
}
.eyebrow--center::after {
  content: ""; width: 34px; height: 1px; background: currentColor; opacity: .65;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.68;
  color: var(--ink-2);
  font-weight: 300;
}
.muted { color: var(--muted); }
.small { font-size: .86rem; line-height: 1.6; }
.tiny  { font-size: .77rem; letter-spacing: .04em; }

.script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
}

.gold { color: var(--gold); }
.center { text-align: center; }

.hr-gold {
  width: 56px; height: 1px; background: var(--gold);
  border: 0; margin: 1.8rem 0;
}
.center .hr-gold, .hr-gold.center { margin-left: auto; margin-right: auto; }

/* Ziffern-Ornament */
.ornament {
  display: block; width: 9px; height: 9px; transform: rotate(45deg);
  border: 1px solid var(--gold); margin: 0 auto 1.4rem;
}

/* ============================== LAYOUT =============================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: 1560px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 5.5rem); }
.section--alt { background: var(--bg-2); }
.section--ink { background: #0F0D0B; color: var(--on-dark); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-dark); }
.section--ink .lead { color: rgba(245,239,228,.74); }
.section--ink .eyebrow { color: var(--gold-bright); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.4rem; }
.section-head h1 { font-size: var(--fs-h2); }   /* Seiten ohne Hero */

.grid { display: grid; gap: clamp(1.4rem, 2.4vw, 2.4rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.stack > * + * { margin-top: 1.1rem; }
.mt-0{margin-top:0}.mt-1{margin-top:.6rem}.mt-2{margin-top:1.2rem}.mt-3{margin-top:2rem}.mt-4{margin-top:3rem}

/* ============================== 5. BUTTONS =========================== */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  --btn-bd: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.02rem 2.1rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), background-color .4s var(--ease);
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: #fff; border-color: var(--gold); }
.btn:active { transform: translateY(1px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--gold  { --btn-bg: var(--gold); --btn-fg: #fff; --btn-bd: var(--gold); }
.btn--gold::after { background: var(--ink); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--solid-light { --btn-bg: #fff; --btn-fg: #16120E; --btn-bd: #fff; }
.btn--sm { padding: .78rem 1.5rem; font-size: .71rem; }
.btn--lg { padding: 1.18rem 2.6rem; }
.btn--block { display: flex; width: 100%; }

/* Textlink mit Unterstrich-Animation */
.link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); padding-bottom: .35rem; position: relative;
}
.link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(1); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.link:hover { color: var(--gold); }
.link:hover::after { transform: scaleX(0); }
.link .arw { transition: transform .4s var(--ease); }
.link:hover .arw { transform: translateX(5px); }

/* ============================ 6. HEADER / NAV ======================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

/* Über Hero: transparent + helle Schrift */
.header--over { color: #fff; }
.header--over .brand__name, .header--over .nav__link, .header--over .icon-btn { color: #fff; }
.header--over .brand__sub { color: rgba(255,255,255,.6); }

.header.is-scrolled,
.header--solid {
  background: var(--bg);                                  /* Rückfallebene */
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.header.is-scrolled { height: 68px; }
.header.is-scrolled .brand__name, .header--solid .brand__name,
.header.is-scrolled .nav__link,   .header--solid .nav__link,
.header.is-scrolled .icon-btn,    .header--solid .icon-btn { color: var(--ink); }
.header.is-scrolled .brand__sub, .header--solid .brand__sub { color: var(--muted); }

.brand { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; }
.brand__mark {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid currentColor; opacity: .9;
  transform: rotate(45deg);
  transition: transform .6s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(135deg); }
.brand__mark span {
  width: 7px; height: 7px; background: var(--gold-bright); transform: rotate(-45deg);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-size: 1.42rem; font-weight: 400;
  letter-spacing: .34em; text-transform: uppercase; padding-left: .1em;
}
.brand__sub {
  font-size: .56rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted); margin-top: .42rem;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 2.1rem); }
.nav__link {
  position: relative; font-size: .77rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; padding: .5rem 0;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold-bright); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold-bright); }

.header__actions { display: flex; align-items: center; gap: .5rem; }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid transparent; border-radius: 50%;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s;
}
.icon-btn:hover { border-color: currentColor; }
.icon-btn svg { width: 17px; height: 17px; }
/* Theme-Icon: ohne JavaScript wird nur das passende Symbol gezeigt */
[data-theme="light"] .ico-sun { display: none; }
[data-theme="dark"]  .ico-moon { display: none; }

/* Nur für Screenreader sichtbar */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.lang {
  display: flex; align-items: center; font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; border: 1px solid currentColor; border-radius: 99px;
  padding: .3rem; opacity: .9;
}
.lang button {
  padding: .25rem .58rem; border-radius: 99px; color: inherit; line-height: 1;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.lang button.is-active { background: var(--gold); color: #fff; }

.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span {
  position: absolute; left: 11px; width: 20px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease-out), opacity .25s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* Mobile Drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  display: flex; flex-direction: column;
  transform: translateY(-101%);
  transition: transform .62s var(--ease-out);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.5rem); font-weight: 300;
  padding: .55rem 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; transform: translateY(14px);
}
.drawer.is-open .drawer__nav a { animation: drawerIn .6s var(--ease-out) forwards; }
.drawer__nav a i {
  font-style: normal; font-family: var(--font-body); font-size: .6rem;
  color: var(--gold); letter-spacing: .1em;
}
@keyframes drawerIn { to { opacity: 1; transform: none; } }
.drawer__foot { margin-top: auto; padding-top: 2.5rem; }
.drawer__foot .btn { width: 100%; }

/* ============================== 7. HERO ============================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero--sub { min-height: min(72svh, 640px); align-items: center; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.15) translate3d(-1.2%, -1.6%, 0); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,7,6,.90) 0%, rgba(8,7,6,.42) 42%, rgba(8,7,6,.30) 68%, rgba(8,7,6,.58) 100%),
    radial-gradient(120% 80% at 50% 110%, rgba(8,7,6,.6), transparent 60%);
}
.hero__inner { width: 100%; padding-block: clamp(5rem, 12vh, 9rem); position: relative; }
.hero--sub .hero__inner { padding-block: clamp(6rem, 14vh, 9rem); }
.hero h1 { color: #fff; margin-bottom: 1.6rem; }
.hero .eyebrow { color: var(--gold-bright); }
.hero__sub { max-width: 46ch; font-size: var(--fs-lead); color: rgba(255,255,255,.82); font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.6rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.1rem 2.4rem; margin-top: 3.2rem;
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.2);
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .6rem; }
.hero__meta b { color: var(--gold-bright); font-weight: 500; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: grid; place-items: center; gap: .7rem;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.62);
}
.scroll-cue i { display: block; width: 1px; height: 46px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-bright);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%);} 60%,100% { transform: translateY(100%);} }

/* Seiten-Hero (Unterseiten) */
.pagehero { text-align: center; }
.pagehero .breadcrumb {
  display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-top: 1.8rem;
}
.pagehero .breadcrumb a:hover { color: var(--gold-bright); }

/* =========================== 8. BUCHUNGSLEISTE ======================= */
.bookbar {
  position: relative; z-index: 5;
  margin-top: calc(var(--section-y) * -0.55);
  margin-bottom: var(--section-y);
}
.bookbar__card {
  background: var(--surface); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, minmax(0,1fr)) auto;
  align-items: end;
}
.bookbar--static { margin-top: 0; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field > label {
  font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: .6rem 0; font-size: .95rem; color: var(--ink);
  border-radius: 0; transition: border-color .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--gold);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 1.4rem; }
.field textarea { border: 1px solid var(--line-strong); padding: .8rem 1rem; min-height: 140px; resize: vertical; }
.field textarea:focus { border-color: var(--gold); }
.field .err { font-size: .72rem; color: #B3402E; min-height: 1rem; }
[data-theme="dark"] .field .err { color: #E8846F; }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: #B3402E; }

.bookbar__result {
  grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1rem;
  display: none; font-size: .88rem; color: var(--ink-2);
}
.bookbar__result.is-visible { display: block; animation: fadeUp .5s var(--ease-out); }
.bookbar__result b { color: var(--gold); font-weight: 600; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px);} to { opacity:1; transform:none; } }

/* ========================= 9. KARTEN, GRIDS, MEDIEN ================== */
.media {
  position: relative; overflow: hidden; background: var(--bg-3);
  border-radius: var(--radius);
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s var(--ease); }
.media--4x3 { aspect-ratio: 4/3; }
.media--3x2 { aspect-ratio: 3/2; }
.media--1x1 { aspect-ratio: 1/1; }
.media--3x4 { aspect-ratio: 3/4; }
.media--16x9 { aspect-ratio: 16/9; }

.card { display: flex; flex-direction: column; position: relative; }
.card .media { margin-bottom: 1.5rem; }
.card:hover .media img { transform: scale(1.06); }
.card__title { margin-bottom: .55rem; }
.card__title a { transition: color .3s var(--ease); }
.card:hover .card__title a { color: var(--gold); }
.card__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .72rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem;
}
.card__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.card__foot {
  margin-top: auto; padding-top: 1.3rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.price { font-family: var(--font-display); font-size: 1.35rem; }
.price small { font-family: var(--font-body); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-top: .15rem; }

.badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(15,13,11,.78); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: .42rem .85rem; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
}
.badge--gold { background: var(--gold); }

/* Feature-Kacheln */
.feature {
  padding: clamp(1.8rem, 2.6vw, 2.6rem);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1rem; height: 100%;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .5s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature__icon { width: 34px; height: 34px; color: var(--gold); }
.feature__icon svg { width: 100%; height: 100%; stroke-width: 1; }
.feature__num {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold); opacity: .35;
}
.section--ink .feature { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.11); }
.section--ink .feature:hover { border-color: var(--gold-bright); background: rgba(255,255,255,.06); }
.section--ink .feature p { color: rgba(245,239,228,.7); }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats > div { background: var(--bg); padding: clamp(1.6rem,2.6vw,2.4rem) 1.2rem; text-align: center; }
.section--ink .stats { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.section--ink .stats > div { background: #0F0D0B; }
.stats .n { font-family: var(--font-display); font-size: clamp(2.2rem,3.4vw,3.2rem); line-height: 1; color: var(--gold); }
.stats .l { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }
.section--ink .stats .l { color: rgba(245,239,228,.6); }

/* Logo-/Auszeichnungsleiste */
.awards { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.6rem,4vw,4rem); }
.awards div { text-align: center; opacity: .75; transition: opacity .4s; }
.awards div:hover { opacity: 1; }
.awards .t { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .12em; }
.awards .s { font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

/* ========================= 10. SPLIT-SEKTIONEN ======================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media .media { box-shadow: var(--shadow-md); }
.split__media .stamp {
  position: absolute; right: -20px; bottom: -20px;
  background: var(--gold); color: #fff; width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1.25;
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; box-shadow: var(--shadow-md);
}
.split__media .stamp b { display: block; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0; text-transform: none; }
.split__media .media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.split__media .media-pair .media:last-child { margin-top: 3rem; }

.checklist { list-style: none; padding: 0; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.checklist li::before {
  content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: .62rem;
  background: var(--gold); transform: rotate(45deg);
}
.section--ink .checklist li { color: rgba(245,239,228,.78); }

/* Quote */
.quote { max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.35; margin: 0;
}
.quote figcaption { margin-top: 2rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ========================== 11. MENÜ / KARTE ========================= */
.menu-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem;
  border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; margin-bottom: 3rem;
}
.menu-tabs button {
  padding: .7rem 1.35rem; font-size: .72rem; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; color: var(--muted);
  border: 1px solid transparent; border-radius: 99px;
  transition: color .3s, border-color .3s, background-color .3s;
}
.menu-tabs button:hover { color: var(--ink); }
.menu-tabs button.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }

.menu-panel { display: none; }
.menu-panel.is-active { display: block; animation: fadeUp .5s var(--ease-out); }

.menu-group + .menu-group { margin-top: 3.4rem; }
.menu-group__title {
  font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .4rem;
}
.menu-group__note { font-size: .8rem; color: var(--muted); margin-bottom: 1.8rem; }

.dish { display: grid; gap: .3rem; padding: 1.15rem 0; border-bottom: 1px dotted var(--line-strong); }
.dish__row { display: flex; align-items: baseline; gap: .8rem; }
.dish__name { font-family: var(--font-display); font-size: 1.24rem; font-weight: 400; flex: 0 1 auto; }
.dish__leader { flex: 1 1 auto; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); min-width: 18px; }
.dish__price { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold); white-space: nowrap; }
.dish__desc { font-size: .89rem; color: var(--muted); max-width: 62ch; }
.dish__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.tag {
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-strong); padding: .18rem .5rem; color: var(--muted);
}
.tag--v { border-color: #6F8A4F; color: #587040; }
.tag--gold { border-color: var(--gold); color: var(--gold); }
[data-theme="dark"] .tag--v { border-color: #8CA96B; color: #A6C182; }

.menu-cta {
  margin-top: 3.2rem; padding: clamp(1.6rem,3vw,2.4rem);
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem;
}

.allergens {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: .77rem; color: var(--muted); line-height: 1.9;
}

/* Menü-Preisliste (Degustation) */
.menu-card {
  border: 1px solid var(--line); background: var(--surface); padding: clamp(1.8rem,3vw,2.8rem);
  display: flex; flex-direction: column; height: 100%;
  transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s;
}
.menu-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.menu-card.is-featured { border-color: var(--gold); box-shadow: var(--shadow-md); }
.menu-card ol { margin: 1.6rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .92rem; display: grid; gap: .5rem; }
.menu-card ol::marker { color: var(--gold); }
.menu-card .price { font-size: 2.3rem; }

/* =========================== 12. GALERIE ============================= */
.gallery { columns: 3; column-gap: clamp(.8rem, 1.4vw, 1.4rem); }
.gallery figure {
  break-inside: avoid; margin: 0 0 clamp(.8rem,1.4vw,1.4rem); position: relative;
  overflow: hidden; cursor: zoom-in; background: var(--bg-3);
}
.gallery img { width: 100%; transition: transform 1s var(--ease-out), filter .5s; }
.gallery figure::after {
  content: ""; position: absolute; inset: 0; background: rgba(15,13,11,.34);
  opacity: 0; transition: opacity .45s var(--ease);
}
.gallery figcaption {
  position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 2; color: #fff;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: all .45s var(--ease-out);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:hover::after { opacity: 1; }
.gallery figure:hover figcaption { opacity: 1; transform: none; }

.gallery-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-bottom: 2.6rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,9,8,.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lightbox__cap {
  position: absolute; bottom: 4.5vh; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-align: center;
}
.lightbox__cap b { color: var(--gold-bright); font-weight: 500; }
.lightbox button {
  position: absolute; color: #fff; width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28); border-radius: 50%; transition: background-color .3s, border-color .3s;
}
.lightbox button:hover { background: var(--gold); border-color: var(--gold); }
.lightbox .lb-close { top: 3vh; right: 3vw; }
.lightbox .lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* ==================== 13. SLIDER / AKKORDEON / TABS ================== */
.slider { position: relative; overflow: hidden; }
.slider__track { display: flex; transition: transform .75s var(--ease-out); }
.slider__slide { flex: 0 0 100%; padding-inline: clamp(0rem, 3vw, 3rem); }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 2.8rem; }
.slider__dots { display: flex; gap: .55rem; }
.slider__dots button { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: all .35s var(--ease); }
.slider__dots button.is-active { background: var(--gold); width: 26px; border-radius: 99px; }
.slider__arrow {
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; transition: border-color .3s, background-color .3s, color .3s;
}
.slider__arrow:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.section--ink .slider__arrow { border-color: rgba(255,255,255,.3); }
.section--ink .slider__dots button { background: rgba(255,255,255,.3); }
.section--ink .slider__dots button.is-active { background: var(--gold-bright); }

.testimonial { text-align: center; max-width: 780px; margin-inline: auto; }
.testimonial .stars { color: var(--gold); letter-spacing: .3em; font-size: .9rem; margin-bottom: 1.6rem; }
.testimonial blockquote { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.25rem,2.1vw,1.85rem); line-height: 1.45; }
.testimonial .who { margin-top: 1.8rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.testimonial .who b { display: block; color: var(--ink); font-weight: 500; margin-bottom: .3rem; }
.section--ink .testimonial .who b { color: var(--on-dark); }

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left; font-family: var(--font-display); font-size: 1.2rem; font-weight: 400;
  transition: color .3s;
}
.acc__head:hover { color: var(--gold); }
.acc__ico { flex: 0 0 auto; width: 16px; height: 16px; position: relative; }
.acc__ico::before, .acc__ico::after {
  content: ""; position: absolute; background: currentColor; transition: transform .4s var(--ease-out), opacity .3s;
}
.acc__ico::before { left: 0; top: 7.5px; width: 16px; height: 1px; }
.acc__ico::after { left: 7.5px; top: 0; width: 1px; height: 16px; }
.acc__item.is-open .acc__ico::after { transform: rotate(90deg); opacity: 0; }
.acc__item.is-open .acc__head { color: var(--gold); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { padding-bottom: 1.6rem; color: var(--muted); max-width: 75ch; }

/* Zeitplan / Öffnungszeiten */
.hours { display: grid; gap: 0; }
.hours div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .78rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.hours dt, .hours .d { color: var(--muted); }
.hours .t { color: var(--ink); }
.section--ink .hours .t { color: var(--on-dark); }
.section--ink .hours div { border-color: rgba(255,255,255,.12); }

/* ============================ 14. FORMULARE ========================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.8rem; }
.form-grid .full { grid-column: 1 / -1; }
.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.consent input { margin-top: .35rem; accent-color: var(--gold); width: 16px; height: 16px; flex: 0 0 auto; }
.form-note { font-size: .78rem; color: var(--muted); }

.alert {
  padding: 1.1rem 1.3rem; border-left: 2px solid var(--gold); background: var(--gold-soft);
  font-size: .89rem; display: none;
}
.alert.is-visible { display: block; animation: fadeUp .45s var(--ease-out); }
.alert--error { border-left-color: #B3402E; background: rgba(179,64,46,.08); margin-top: 1rem; }
[data-theme="dark"] .alert--error { border-left-color: #E8846F; background: rgba(232,132,111,.10); }
[hidden] { display: none !important; }

/* Info-Box */
.infobox { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(1.5rem,2.6vw,2.2rem); }
.infobox h4 { margin-bottom: 1rem; }

/* Karte / Anfahrt */
.mapframe {
  position: relative; aspect-ratio: 16/10; background: var(--bg-3);
  border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; text-align: center; padding: 2rem;
}
.mapframe svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.mapframe .pin { position: relative; z-index: 2; max-width: 42ch; }
.mapframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapframe.is-loaded { padding: 0; }

/* Gutschein-Auswahl */
.choice { display: grid; gap: .8rem; }
.choice--row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice label {
  display: flex; flex-direction: column; gap: .3rem; cursor: pointer;
  border: 1px solid var(--line-strong); padding: 1rem 1.1rem; background: var(--surface);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.choice label:hover { border-color: var(--gold); transform: translateY(-2px); }
.choice input:checked + label { border-color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.choice input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice .t { font-family: var(--font-display); font-size: 1.15rem; }
.choice .d { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.choice .p { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold); }

/* Zusammenfassung / Warenkorb */
.summary { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); background: var(--surface); padding: clamp(1.4rem,2.4vw,2rem); }
.summary dl { display: grid; gap: .7rem; margin: 1.2rem 0 0; }
.summary dl > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; text-align: right; }
.summary .total { border: 0; padding-top: .4rem; font-family: var(--font-display); font-size: 1.6rem; }
.summary .total dt { align-self: center; font-family: var(--font-body); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
.summary .total dd { color: var(--gold); }

/* Zimmer-Detailseite */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.specs > div { background: var(--bg); padding: 1.3rem 1.1rem; }
.specs dt { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.specs dd { margin: 0; font-family: var(--font-display); font-size: 1.3rem; }
.floorplan { border: 1px solid var(--line); background: var(--bg-2); padding: 1.5rem; }
.floorplan svg { width: 100%; height: auto; color: var(--ink); }

.ratetable { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ratetable th, .ratetable td { text-align: left; padding: .9rem .6rem; border-bottom: 1px solid var(--line); }
.ratetable th { font-family: var(--font-body); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ratetable td:last-child, .ratetable th:last-child { text-align: right; font-family: var(--font-display); font-size: 1.1rem; }
.ratetable tr:hover td { background: var(--bg-2); }

/* Journal */
.post__meta { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; gap: .8rem; flex-wrap: wrap; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.3rem; }
.prose h2 { font-size: clamp(1.5rem,2.2vw,2.1rem); margin-top: 2.8rem; }
.prose h3 { font-size: clamp(1.2rem,1.6vw,1.5rem); margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .6rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  border-left: 2px solid var(--gold); padding-left: 1.6rem; font-family: var(--font-display);
  font-style: italic; font-size: 1.25rem; color: var(--ink-2);
}
.prose figure { margin: 2.4rem 0; }
.prose figcaption { font-size: .76rem; color: var(--muted); margin-top: .7rem; }

/* ============================== 15. FOOTER =========================== */
.footer { background: #0C0A09; color: rgba(245,239,228,.66); padding-top: clamp(4rem,7vw,7rem); }
.footer h4, .footer .brand__name { color: var(--on-dark); }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold-bright); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(2rem,4vw,3.5rem); padding-bottom: 3.5rem; }
.footer__col h4 { font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1.5rem; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: .7rem; font-size: .88rem; }
.footer__brand .brand__mark { border-color: rgba(245,239,228,.5); }
.footer__brand p { margin-top: 1.4rem; font-size: .88rem; max-width: 34ch; }
.newsletter { display: flex; gap: .6rem; margin-top: 1.2rem; }
.newsletter input {
  flex: 1; background: transparent; border: 0; border-bottom: 1px solid rgba(245,239,228,.28);
  padding: .65rem 0; color: var(--on-dark); font-size: .9rem;
}
.newsletter input::placeholder { color: rgba(245,239,228,.4); }
.newsletter input:focus { outline: none; border-bottom-color: var(--gold-bright); }
.newsletter button {
  color: var(--gold-bright); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}
.socials { display: flex; gap: .7rem; margin-top: 1.8rem; }
.socials a {
  width: 38px; height: 38px; border: 1px solid rgba(245,239,228,.22); border-radius: 50%;
  display: grid; place-items: center; transition: all .35s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.socials svg { width: 16px; height: 16px; }
.footer__bottom {
  border-top: 1px solid rgba(245,239,228,.12); padding-block: 1.8rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: .76rem;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* Zurück nach oben */
.totop {
  position: fixed; right: clamp(1rem,2.5vw,2rem); bottom: clamp(1rem,2.5vw,2rem); z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .45s var(--ease-out);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--gold); color: #fff; }

/* Cookie-Hinweis */
.cookiebar {
  position: fixed; left: clamp(1rem,2.5vw,2rem); bottom: clamp(1rem,2.5vw,2rem); z-index: 95;
  max-width: 420px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 1.4rem 1.5rem;
  transform: translateY(140%); transition: transform .6s var(--ease-out);
}
.cookiebar.is-visible { transform: none; }
.cookiebar p { font-size: .82rem; color: var(--muted); }
.cookiebar .row { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }

/* ========================= REVEAL-ANIMATIONEN ======================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal].is-visible { transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

/* Laufband */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.5rem; }
.marquee__inner { display: flex; gap: 4rem; width: max-content; animation: marquee 42s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-size: clamp(1.4rem,2.4vw,2.2rem); font-weight: 300;
  color: var(--muted); display: inline-flex; align-items: center; gap: 4rem; white-space: nowrap;
}
.marquee span::after { content: "◆"; font-size: .5em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__inner { animation-play-state: paused; }

/* ============================= RESPONSIVE ============================ */
@media (max-width: 1180px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .bookbar__card { grid-template-columns: repeat(2, 1fr); }
  .bookbar__card .btn { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--rev .split__media { order: 0; }
  .split__media .stamp { width: 108px; height: 108px; right: -8px; bottom: -14px; }
  .stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .bookbar__card { grid-template-columns: 1fr; }
  .bookbar { margin-top: -2.5rem; }
  .hero { min-height: 92svh; }
  .hero__meta { gap: .8rem 1.4rem; font-size: .68rem; }
  .brand__name { font-size: 1.2rem; letter-spacing: .28em; }
  .footer__top { grid-template-columns: 1fr; }
  .split__media .media-pair .media:last-child { margin-top: 1.5rem; }
  .menu-cta { flex-direction: column; align-items: flex-start; }
  .lightbox .lb-prev { left: 1rem; } .lightbox .lb-next { right: 1rem; }
  .lightbox button { width: 44px; height: 44px; }
  .cookiebar { left: 1rem; right: 1rem; max-width: none; }
}

/* =========================== BEDIENHILFEN ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media print {
  .header, .drawer, .footer, .totop, .cookiebar, .hero__media, .scroll-cue, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1rem; }
}
