/* ============================================================
   DRESDEN 1900 — Base: Reset, Typo, Utilities, Buttons, Nav, Footer
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

img, svg, picture { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* --- Headings --- */
h1, h2, h3, h4 { color: var(--heading); line-height: var(--lh-head); }
/* grosse Überschriften: Serifen-Display, enger gekernt */
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-display); line-height: var(--lh-tight); font-weight: 600; }
h2 { font-size: var(--fs-h2); margin-bottom: var(--space-3); }
/* kleine Überschriften: ebenfalls Serifen-Display — einheitlicher Marken-Look */
h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
/* Alle Überschriften außer h1 etwas dünner */
h2, h3, h4 { font-weight: 600; }
/* h2/h3 im selben Braun wie die FAQ-/Brunch-Bänder (weiße Overrides auf dunklem Grund bleiben) */
h2, h3 { color: rgb(110 74 55); }
p  { max-width: var(--measure); }

/* --- Focus --- */
:focus-visible {
  outline: 3px solid var(--brick);
  outline-offset: 2px;
  border-radius: 3px;
}
.on-dark :focus-visible, .btn:focus-visible { outline-color: var(--gold-soft); }

/* --- Layout helpers --- */
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
/* Kopfleiste, Navigation und Footer so breit wie die Hero (1440px) */
.topbar .wrap, .site-header .wrap, .site-footer .wrap { width: min(100% - 2rem, 1440px); }
.wrap--narrow { width: min(100% - 2rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-py); }
.section > .wrap > * { min-width: 0; }
.container > * { min-width: 0; }

.section--cream { background: var(--bg); }
.section--ivory { background: linear-gradient(180deg, var(--cream-100), var(--cream-200)); }
.section--flat { background: var(--cream-100); }
.section--dark  { background: var(--brown-700); }
.section--dark::selection { background: var(--gold); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Section head --- */
.head { margin-bottom: var(--space-6); }
.head--center { text-align: center; margin-inline: auto; max-width: 62ch; }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: .6em;
}
.head .eyebrow { margin-bottom: var(--space-4); }
.head--left .eyebrow { color: rgb(110 74 55); }
.head--left .eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--brick); display: inline-block;
}
.on-dark .head--left .eyebrow::before { background: var(--gold); }
.head h2 + .lead { margin-top: var(--space-5); }
.lead { font-size: var(--fs-lead); color: var(--text); max-width: 58ch; }
.head--center .lead { margin-inline: auto; }

/* --- Ornament-Filigran (Signature) --- */
.flourish {
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  color: rgb(110 74 55); margin-bottom: var(--space-4);
}
.flourish::before, .flourish::after {
  content: ""; height: 1px; width: clamp(40px, 12vw, 120px);
  background: linear-gradient(90deg, transparent, currentColor);
}
.flourish::after { transform: scaleX(-1); }
.flourish svg { width: 30px; height: 30px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--fs-small); letter-spacing: .02em;
  padding: .72em 1.5em; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; transition: background var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: #960000; color: #fff; }
.btn--primary:hover { background: #7a0000; }
/* auf dunklem Grund klar als erhabener Button ablösen */
.on-dark .btn--primary { box-shadow: 0 4px 14px rgb(15 8 2 / .38); border-color: rgb(255 255 255 / .12); }
.on-dark .btn--primary:hover { box-shadow: 0 6px 18px rgb(15 8 2 / .45); }
.btn--outline { background: transparent; color: var(--brick); border-color: var(--brick); }
.btn--outline:hover { background: var(--brick); color: #fff; }
/* auf dunklem Grund: Gold-Fläche + dunkler Text (Marken-Akzent, Kontrast K2) */
.btn--gold { background: var(--gold); color: var(--brown-900); border-color: var(--gold); }
.btn--gold:hover { background: #b8842a; border-color: #b8842a; }
/* auf dunklem Grund: helle Fläche + dunkler Text */
.btn--light { background: var(--cream-100); color: var(--brown-800); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { background: transparent; color: var(--cream-100); border-color: rgb(255 255 255 / .5); }
.btn--ghost-light:hover { background: rgb(255 255 255 / .12); border-color: var(--cream-100); }
.btn--sm { padding: .5em 1.05em; font-size: var(--fs-micro); }
.btn--block { width: 100%; }

/* --- Placeholder-Bildflächen --- */
.ph {
  background:
    repeating-linear-gradient(135deg, rgb(255 255 255 / .05) 0 12px, transparent 12px 24px),
    var(--surface-media);
  color: var(--brown-700);
  display: flex; align-items: flex-end; gap: .4em;
  padding: var(--space-4); font-size: var(--fs-micro); font-family: var(--font-ui);
  border-radius: var(--radius-md); overflow: hidden; position: relative;
}
.ph--center { align-items: center; justify-content: center; text-align: center; }
.ph svg { width: 20px; height: 20px; flex: none; opacity: .8; }
.ph span { line-height: 1.4; }

/* --- Icons --- */
.i { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none;
  stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.i-star, .i-star-half { fill: currentColor; stroke: none; }
/* Detaillierte, mehrfarbige Marken-Illustrationen (eigene Fills im Symbol) */
.illu { width: 56px; height: 56px; display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.topbar {
  background: rgb(110 74 55); color: var(--cream-200);
  font-family: var(--font-ui); font-size: var(--fs-micro);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding-block: .5rem; flex-wrap: nowrap; }
.topbar a { color: var(--cream-200); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__meta { display: flex; align-items: center; gap: var(--space-5); flex-wrap: nowrap; }
.topbar__meta span, .topbar__meta a { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; }
@media (max-width: 720px) { .topbar__loc { display: none; } }
@media (max-width: 600px) { .topbar { display: none; } }
.topbar__lang { display: flex; gap: .5em; }
.topbar__lang a[aria-current="true"] { font-weight: 700; color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--cream-200);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo { height: 54px; width: auto; display: block; }
@media (max-width: 480px) { .brand__logo { height: 60px; } }

/* Emaille-Badge Logo (Signature-Nachbau) */
.badge-logo {
  --bh: 46px;
  display: inline-flex; flex-direction: column; align-items: center;
  text-decoration: none; line-height: 1;
}
.badge-logo__top {
  background: var(--red); color: #fff; font-family: var(--font-ui);
  font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 12px 2px; border-radius: 3px; border: 1.5px solid #fff;
  box-shadow: 0 0 0 1.5px var(--red-700);
  position: relative; z-index: 2;
}
.badge-logo__main {
  background: linear-gradient(180deg, #4a3524, #2f2013);
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 20px; letter-spacing: .04em; line-height: 1;
  padding: 6px 16px 7px; margin-top: -3px;
  border: 1.5px solid var(--gold-soft); border-radius: 4px;
}
.badge-logo__main b { color: var(--gold-soft); font-weight: 700; }
.badge-logo__sub {
  background: var(--red); color: #fff; font-family: var(--font-ui);
  font-size: 7.5px; font-weight: 700; letter-spacing: .1em;
  padding: 2px 10px; border-radius: 3px; margin-top: -3px; z-index: 2;
  border: 1px solid #fff;
}

.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav__list { list-style: none; display: flex; align-items: center; gap: var(--space-5); padding: 0; }
.nav__link {
  font-family: var(--font-body); text-transform: uppercase;
  letter-spacing: var(--ls-caps); font-size: .82rem; font-weight: 600;
  color: var(--brown-700); text-decoration: none; padding: .35em 0;
  border-bottom: 2px solid transparent; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--brick); }
.nav__link[aria-current="page"] { color: var(--brick); border-bottom-color: var(--brick); }
.nav__actions { display: flex; align-items: center; gap: var(--space-4); }
.nav__phone { font-family: var(--font-ui); font-size: 1.05rem; font-weight: 600; color: var(--brown-700);
  text-decoration: none; display: inline-flex; align-items: center; gap: .5em; white-space: nowrap; }
.nav__phone .i { width: 23px; height: 23px; }
.nav__phone:hover { color: var(--brick); }

.nav-toggle { display: none; background: transparent; border: 1.5px solid var(--border-strong);
  border-radius: var(--radius); padding: .5em; cursor: pointer; color: var(--brown-700); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-close { display: none; }
.nav__lang { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  /* Vollflächiges Menü-Panel — über der fixierten Mobile-Bar (z-index 45) */
  .nav {
    position: fixed; inset: 0; width: 100%; height: 100%;
    background: var(--cream-100); flex-direction: column; align-items: stretch;
    padding: clamp(4.5rem, 11vh, 6.5rem) clamp(1.5rem, 7vw, 3rem) clamp(1.75rem, 5vh, 2.5rem);
    transform: translateX(100%); transition: transform .28s var(--ease);
    gap: 0; overflow-y: auto; z-index: 60;
  }
  .nav[data-open="true"] { transform: translateX(0); }
  /* Schließen-Button oben rechts, große Touch-Fläche */
  .nav-close { display: inline-flex; position: absolute; top: 1rem; right: 1rem;
    width: 48px; height: 48px; align-items: center; justify-content: center;
    background: transparent; border: 1.5px solid var(--border-strong); border-radius: 50%;
    color: var(--brown-700); cursor: pointer; }
  .nav-close svg { width: 22px; height: 22px; }
  /* Große, gut tippbare Links */
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    font-family: var(--font-display); text-transform: none; letter-spacing: 0;
    font-size: 1.5rem; font-weight: 600; color: var(--heading);
    padding: .75em 0; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; min-height: 56px;
  }
  .nav__link[aria-current="page"] { color: var(--brick); border-bottom-color: var(--border); }
  /* Sprachumschalter DE/EN im Menü */
  .nav__lang { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-5); }
  .nav__lang a { font-family: var(--font-ui); font-weight: 600; font-size: 1.05rem; color: var(--brown-700);
    text-decoration: none; padding: .3em .9em; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); }
  .nav__lang a[aria-current="true"] { background: #960000; color: #fff; border-color: #960000; }
  /* Anrufen + Reservieren im Menü anzeigen (unten angedockt) */
  .nav__actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-4);
    margin-top: var(--space-5); }
  .nav__phone { justify-content: center; font-size: 1.2rem; }
  .nav__actions .btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: .95em 1.5em; }
}

/* Scrim für Mobile-Nav */
.nav-scrim { position: fixed; inset: 0; background: rgb(36 22 8 / .45); z-index: 39;
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease); }
.nav-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: rgb(54 38 29); color: #E7D8BE; }
.site-footer a { color: #E7D8BE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid {
  display: grid; grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: var(--space-6); padding-block: var(--space-8) var(--space-6);
}
.footer__col h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: var(--ls-caps);
  color: #E7D8BE; font-family: var(--font-body); margin-bottom: var(--space-4); }
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5em;
  font-size: var(--fs-small); }
.footer__addr { font-size: var(--fs-small); line-height: 1.8; color: #D6C4A5; }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer__social a { display: inline-flex; width: 38px; height: 38px; border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / .2); align-items: center; justify-content: center; }
.footer__social a:hover { background: rgb(255 255 255 / .1); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bar { border-top: 1px solid rgb(255 255 255 / .12); padding-block: var(--space-4);
  display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
  font-size: var(--fs-micro); color: #C4B295; font-family: var(--font-ui); }

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-5); }
  .footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); }
}

/* ============================================================
   Sticky Mobile-Bar
   ============================================================ */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; gap: var(--space-3); padding: .6rem .8rem;
  background: var(--cream-100); border-top: 1px solid var(--border-strong);
  box-shadow: 0 -4px 16px rgb(36 22 8 / .16);
  transform: translateY(110%); transition: transform var(--dur) var(--ease);
}
.mobilebar[data-show="true"] { transform: translateY(0); }
.mobilebar .btn { flex: 1; }
@media (max-width: 720px) {
  .mobilebar { display: flex; }
  body { padding-bottom: 68px; }
}

/* Back-to-top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brown-700); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease);
}
.to-top[data-show="true"] { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--brown-800); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .to-top { bottom: 80px; } }

/* Mobil: Fließtext etwas größer + etwas kompaktere Zeilen (Zielgruppe älter) */
@media (max-width: 600px) {
  :root {
    --fs-body: 1.15rem;
    --fs-small: 1.02rem;
    --fs-lead: 1.18rem;
    --fs-micro: 0.92rem;
    --lh-body: 1.45;
  }
  body { font-size: var(--fs-body); line-height: var(--lh-body); }
}
