/* =========================================================
   Blümchen-Café Bad Frankenhausen
   Gestaltung 03.12.2026 (Skill Frontend-Design)
   Idee: Kalkweiße Gefache und taubenblaue Balken wie im Gastraum,
   Packpapier als Erkennungsfarbe, Rosenrot nur für Aktionen
   (gemeinsam mit „Von Herzen“). Schriften wie bei Von Herzen,
   Überschriften hier schmal und kräftig gesetzt.
   Schriften lokal (OFL), keine externen Server.
   ========================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 300 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display.woff") format("woff");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-italic.woff") format("woff");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --kalk: #F7F7F4;          /* Seitengrund: weiße Gefache */
  --packpapier: #D9C4A0;    /* Erkennungsfarbe Café (aus der Von-Herzen-Palette) */
  --packpapier-hell: #EDE3D1;
  --taube: #4F6676;         /* Fachwerk-Balken im Gastraum */
  --taube-hell: #E3E8EB;
  --espresso: #3B2019;      /* Schrift, aus dem Logo */
  --espresso-weich: #5E4A40;
  --rosenrot: #B3203E;      /* einzige Aktionsfarbe, wie bei Von Herzen */
  --rosenrot-dunkel: #8E1530;
  --salbei: #8DBF9B;        /* Logo-Grün, nur als Schmuck */
  --line: rgba(59, 32, 25, .16);

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --heading: "Playfair Display", Georgia, "Times New Roman", serif;   /* Überschriften wie in der Vorgängerseite */
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --container: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section: clamp(4.5rem, 11vw, 8rem);
  --balken: clamp(8px, 1vw, 12px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--kalk); color: var(--espresso);
  font-family: var(--text); font-size: 1.125rem; line-height: 1.7;
  font-optical-sizing: auto;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rosenrot); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--rosenrot-dunkel); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rosenrot); outline-offset: 3px; border-radius: 2px; }
.site-header:not(.is-solid) :focus-visible, .hero :focus-visible, .reviews-band :focus-visible, .quickbar :focus-visible { outline-color: #fff; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--heading); font-weight: 500;
  line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--espresso);
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.45rem; font-weight: 500; line-height: 1.2; margin-bottom: .35em; }
h1 em, h2 em { font-style: italic; font-weight: 400; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--espresso); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; color: #fff; }

.lead { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.55; }
.note { font-size: 1rem; color: var(--espresso-weich); }
.measure { max-width: 38rem; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.5rem; border: 2px solid var(--rosenrot); border-radius: 999px;
  background: var(--rosenrot); color: #fff; text-decoration: none; cursor: pointer;
  font: 650 1.02rem/1.2 var(--display); font-stretch: 90%;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { background: var(--rosenrot-dunkel); border-color: var(--rosenrot-dunkel); color: #fff; text-decoration: none; }
.btn-quiet { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-quiet:hover { background: var(--espresso); border-color: var(--espresso); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--espresso); }
.btn-small { min-height: 2.6rem; padding: .45rem 1.1rem; font-size: .95rem; }

/* ---------- Kopfzeile ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-solid { background: var(--kalk); color: var(--espresso); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-logo { width: 50px; height: 50px; border-radius: 50%; flex: none; box-shadow: 0 1px 4px rgba(30, 18, 13, .18); }
.brand-name { font: 600 1.5rem/1 var(--heading); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: inherit; text-decoration: none; font: 600 1rem var(--display); font-stretch: 90%; padding-block: .3rem; border-bottom: 2px solid transparent; }
.main-nav ul a:hover { border-bottom-color: currentColor; color: inherit; }
.site-header:not(.is-solid) .btn-small { background: transparent; border-color: rgba(255, 255, 255, .85); }
.site-header:not(.is-solid) .btn-small:hover { background: #fff; color: var(--espresso); }
.nav-toggle { display: none; }

/* ---------- Startbereich ---------- */
.hero { position: relative; min-height: min(77svh, 740px); display: flex; align-items: flex-end; color: #fff; background: var(--espresso); overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 22%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(30, 18, 13, .78) 0%, rgba(30, 18, 13, .35) 38%, rgba(30, 18, 13, 0) 62%),
    linear-gradient(to bottom, rgba(30, 18, 13, .45) 0%, rgba(30, 18, 13, 0) 18%);
}
.hero-content { position: relative; z-index: 2; padding-block: 9rem clamp(3rem, 7vw, 5.5rem); text-shadow: 0 1px 12px rgba(30, 18, 13, .45); }
.hero h1 { color: #fff; max-width: 11em; margin-bottom: .35em; }
.hero-lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); max-width: 34rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-status { display: inline-flex; align-items: center; gap: .6rem; font: 600 1rem var(--display); font-stretch: 90%; margin: 0; }
.status-dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--packpapier); flex: none; }
.status-dot.is-open { background: var(--salbei); box-shadow: 0 0 0 4px rgba(141, 191, 155, .3); }

/* Die eine Bewegung der Seite: Startbereich baut sich beim Laden auf */
@media (prefers-reduced-motion: no-preference) {
  .hero-image { animation: hero-img 1.6s var(--ease) both; }
  .hero-content > * { animation: hero-in .9s var(--ease) both; }
  .hero-content > :nth-child(2) { animation-delay: .12s; }
  .hero-content > :nth-child(3) { animation-delay: .24s; }
  .hero-content > :nth-child(4) { animation-delay: .36s; }
}
@keyframes hero-img { from { transform: scale(1.05); } to { transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head p { font-size: 1.15rem; }
.section-paper { background: #E3D4B8; }   /* Karte: eine Nuance heller als Packpapier */
.section-cream { background: #F1ECE3; }   /* Kuchen und Torten: dezent wärmer als Kalkweiß, leitet zur Packpapier-Karte über */
.section-blue { background: var(--taube-hell); }
/* Balken: kräftige Linie zwischen zwei Abschnitten, wie ein Fachwerk-Riegel */
.beam { border-top: var(--balken) solid var(--taube); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split-reverse .split-media { order: -1; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media.is-tall img { aspect-ratio: 4 / 5; }

.quote { margin: 2rem 0 0; padding: 0 0 0 1.4rem; border-left: 4px solid var(--salbei); }
.quote p { font-style: italic; font-size: 1.25rem; line-height: 1.55; margin-bottom: .6rem; }
.quote footer { font: 600 .98rem var(--display); font-stretch: 90%; color: var(--espresso-weich); }

/* Drei Bereiche (Café, Blumen, Deko) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); list-style: none; margin: clamp(3.5rem, 7vw, 5.5rem) 0 0; padding: 0; }
.trio li { border-top: 1px solid var(--line); padding-top: 1.75rem; }   /* je Block eine zarte Linie, wie in der Vorgängerseite */
.trio p { font-size: 1.05rem; margin-bottom: .5rem; }
.trio a { font: 650 1rem var(--display); font-stretch: 90%; }

/* ---------- Kuchen und Torten ---------- */
.feature { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.feature-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature .note { margin-block: 1.25rem 1.75rem; }

/* ---------- Karte: die Packpapier-Tafel ---------- */
.menu-board { margin-top: clamp(4.5rem, 9vw, 7rem); }
.menu-head { margin-bottom: clamp(1.75rem, 3vw, 2.25rem); }
.menu-head h2 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 500; line-height: 1.1; margin: 0 0 .5rem; }   /* einen Tick größer als die anderen Abschnittstitel */
.menu-head p { margin: 0; font-size: 1.1rem; }
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.menu-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1.25rem; }
.menu-col h3 { font-size: 1.7rem; font-weight: 500; padding-bottom: .4rem; border-bottom: 1px solid var(--espresso); margin-bottom: 0; }
.menu-list { margin: 0; }
.menu-list > div { padding: .8rem 0; border-bottom: 1px solid rgba(59, 32, 25, .28); }
.menu-list dt { font-weight: 600; }
.menu-list dt small { display: block; font-weight: 400; font-size: .95rem; color: var(--espresso-weich); }

/* ---------- Blumenladen ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); list-style: none; margin: clamp(3.5rem, 7vw, 5rem) 0 0; padding: 2rem 0 0; border-top: 1px solid var(--line); }
.offer-grid h3 { font-size: 1.3rem; }
.offer-grid p { font-size: 1rem; }

/* ---------- Deko ---------- */
.deko-list { margin: 1.75rem 0; }
.deko-list > div { padding: .9rem 0; border-top: 1px solid var(--line); }
.deko-list dt { font: 500 1.2rem var(--heading); }
.deko-list dd { margin: .15rem 0 0; font-size: 1.02rem; }
.gift { padding: 1.1rem 1.3rem; background: var(--taube); color: #fff; font-size: 1.02rem; }

/* ---------- Ambiente ---------- */
.ambiente { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.ambiente figure { margin: 0; }
/* beide Bilder gleich hoch */
.ambiente img { width: 100%; height: clamp(300px, 36vw, 520px); object-fit: cover; }
.ambiente figcaption { margin-top: .8rem; font-size: 1rem; color: var(--espresso-weich); }
.ambiente figcaption strong { display: block; color: var(--espresso); font: 500 1.25rem var(--heading); }

/* ---------- Gästestimmen ---------- */
.reviews-band { background: var(--taube); color: #fff; padding-block: clamp(4rem, 9vw, 6.5rem); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.reviews-title { color: #fff; margin: 0; }
.reviews-score { margin: 0; font: 600 1.05rem var(--display); font-stretch: 90%; }
.reviews-score .stars { color: #FFC41F; letter-spacing: .1em; font-size: 1.25em; }
.reviews-band a { color: #fff; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.review { margin: 0; padding-top: 1.25rem; border-top: 2px solid rgba(255, 255, 255, .5); }
.review blockquote { margin: 0 0 1rem; font-size: 1.15rem; line-height: 1.55; font-style: italic; }
.review figcaption { font: 600 .95rem var(--display); font-stretch: 90%; opacity: .85; }

/* ---------- Einblicke: die Fachwerk-Wand ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 270px);
  gap: var(--balken);
}
.gallery a { position: relative; display: block; overflow: hidden; background: var(--taube-hell); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- Besuch ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.visit h3 { font-size: 1.7rem; }
.visit-status { font: 650 1.05rem var(--display); font-stretch: 90%; color: var(--taube); margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .65rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-closed td { color: var(--espresso-weich); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: " (heute)"; font-weight: 400; color: var(--rosenrot); }
.visit address { font-style: normal; margin-bottom: 1rem; }
.visit-list { margin: 2rem 0 0; }
.visit-list > div { padding: .9rem 0; border-top: 1px solid var(--line); }
.visit-list dt { font: 500 1.15rem var(--heading); }
.visit-list dd { margin: .15rem 0 0; font-size: 1.02rem; }

/* ---------- Anfrage ---------- */
.request { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
#anfrage { padding-block: clamp(2.5rem, 5vw, 3.75rem); }   /* Anfrage: deutlich weniger Luft oben und unten */
.request-toggle { margin-top: 1.25rem; }
.request-toggle[aria-expanded="true"] { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.request-toggle[aria-expanded="true"]:hover { background: var(--espresso); color: #fff; }
/* Einklappen nur, wenn das Skript läuft (Klasse .js am <html>); ohne Skript bleibt das Formular offen */
.js .request.is-collapsed { grid-template-columns: 1fr; }
.js .request-fold { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease); }
.js .request.is-collapsed .request-fold { grid-template-rows: 0fr; }
.request-fold-inner { min-height: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .js .request-fold { transition: none; } }
.request-media { margin: 2rem 0 0; }
.request-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; background: var(--kalk); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font: 650 1rem var(--display); font-stretch: 90%; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.05rem; color: var(--espresso); background: #fff;
  border: 1px solid rgba(59, 32, 25, .45); border-radius: 10px; padding: .7rem .8rem; min-height: 3rem; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--taube); outline: 3px solid rgba(79, 102, 118, .35); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--rosenrot); }
.form-hint { font-size: .95rem; color: var(--espresso-weich); margin: 0; }
.form-error { color: var(--rosenrot); font-weight: 600; margin: 0; }
.form-done { margin: 0; padding: 1rem 1.2rem; background: var(--taube-hell); font-size: 1rem; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--packpapier); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .footer-brand { display: flex; align-items: center; gap: .8rem; font: 600 1.8rem/1 var(--heading); margin-bottom: 1rem; }
.footer-brand img { width: 68px; height: 68px; border-radius: 50%; }
.footer-title { font-size: 1.2rem; margin-bottom: .6rem; }
.site-footer p { font-size: 1rem; }
.site-footer a { color: var(--espresso); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(59, 32, 25, .3); font-size: .95rem; }
.footer-bottom p { margin: 0; }

/* ---------- Großansicht ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1400px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(30, 18, 13, .9); }
.lightbox img { max-width: 100%; max-height: 86vh; }
.lightbox-close { position: absolute; top: -2.75rem; right: 0; background: none; border: 0; color: #fff; font: 650 1rem var(--display); cursor: pointer; }

/* ---------- Schnellleiste (Handy) ---------- */
.quickbar { display: none; }

/* ---------- Geheimtipp ---------- */
.tip { position: fixed; right: 0; top: 50%; z-index: 40; display: flex; align-items: center; transform: translate(calc(100% - 3.4rem), -50%); transition: transform .45s var(--ease); }
.tip.is-open { transform: translate(0, -50%); }
/* Lasche: senkrecht, Schrift von unten nach oben (deshalb 180° gedreht).
   Durch die Drehung liegen die runden Ecken (oben/unten rechts im Quelltext) am Ende links, also weg vom Rand. */
.tip-handle {
  flex: none; width: 3.4rem; padding: 1.1rem 0 .9rem; border: 0; border-radius: 0 18px 18px 0; cursor: pointer;
  background: linear-gradient(to left, var(--rosenrot), #C8385A);
  color: #fff; writing-mode: vertical-rl; transform: rotate(180deg);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22), 4px 0 18px rgba(142, 21, 48, .28);
  font: italic 500 1.15rem/1 var(--heading); letter-spacing: .02em;
  display: flex; align-items: center; gap: .65rem;
}
.tip-handle:hover { background: var(--rosenrot-dunkel); }
.tip-icon { width: 2.1rem; height: auto; transform: rotate(180deg); flex: none; }
.tip-icon .flame { transform-origin: 20px 15px; }
@media (prefers-reduced-motion: no-preference) {
  .tip-icon .flame { animation: flackern 2.6s ease-in-out infinite; }
  /* einmaliges Anstupsen nach dem Laden, damit die Lasche auffällt */
  .tip:not(.is-open) .tip-handle { animation: anstupsen 1.1s var(--ease) 3.5s 2; }
}
@keyframes flackern {
  0%, 100% { transform: scale(1, 1); opacity: 1; }
  30% { transform: scale(.92, 1.08) rotate(-3deg); opacity: .92; }
  60% { transform: scale(1.05, .95) rotate(2deg); }
}
@keyframes anstupsen {
  0%, 100% { transform: rotate(180deg); }
  45% { transform: translateX(-10px) rotate(180deg); }
}
.tip-panel { width: min(22rem, 86vw); background: var(--kalk); max-height: 88vh; overflow: auto; }
.tip.is-open .tip-panel { box-shadow: -12px 16px 40px rgba(30, 18, 13, .25); }
.tip-close { position: absolute; top: .6rem; right: .6rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: rgba(30, 18, 13, .65); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.tip-close:hover { background: var(--espresso); }
.tip-media img { width: 100%; height: 190px; object-fit: cover; }
.tip-content { padding: 1.25rem 1.4rem 1.5rem; }
.tip-title { font-size: 1.8rem; margin-bottom: .5rem; }
.tip-content p { font-size: 1rem; line-height: 1.6; }
.tip-cta { width: 100%; margin-top: .5rem; }

/* ---------- Rechtliche Seiten ---------- */
.legal-page .site-header { position: sticky; }
.legal { padding-block: clamp(3rem, 7vw, 5rem) var(--section); max-width: 46rem; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2.5rem; }

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  .main-nav ul { gap: 1.1rem; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- Handy und kleines Tablet ---------- */
@media (max-width: 820px) {
  body { font-size: 1.07rem; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 3rem; height: 3rem; padding: 0 .65rem; border: 0; background: transparent; color: inherit; cursor: pointer;
  }
  .nav-toggle-bar { display: block; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 4.75rem 0 auto; flex-direction: column; align-items: flex-start; gap: 1.5rem;
    background: var(--kalk); color: var(--espresso); padding: 1.5rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line); display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: .9rem; }
  .main-nav ul a { font-size: 1.3rem; }
  .site-header:not(.is-solid) .main-nav .btn-small { background: var(--rosenrot); border-color: var(--rosenrot); }
  body.nav-open .site-header { background: var(--kalk); color: var(--espresso); }

  .hero { min-height: 70svh; }
  .hero-image { object-position: 62% 30%; }
  .hero::before { background: linear-gradient(to top, rgba(30, 18, 13, .85) 0%, rgba(30, 18, 13, .5) 42%, rgba(30, 18, 13, 0) 68%), linear-gradient(to bottom, rgba(30, 18, 13, .45), rgba(30, 18, 13, 0) 20%); }
  .hero-content { padding-top: 12rem; }

  .split, .feature, .visit, .request, .ambiente { grid-template-columns: 1fr; }
  .feature-media { max-width: 30rem; }   /* Hochformat-Torte nicht bildschirmhoch */
  .split-reverse .split-media { order: 0; }
  .trio, .menu, .reviews { grid-template-columns: 1fr; }
  .trio { gap: 1.75rem; }
  .menu-img { aspect-ratio: 16 / 9; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .g-wide { grid-column: span 2; }
  .request-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .quickbar {
    position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--espresso);
    transform: translateY(100%); transition: transform .3s var(--ease);
  }
  .quickbar.is-visible { transform: none; }
  .quickbar a, .quickbar button {
    display: flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: .4rem;
    color: #fff; text-decoration: none; background: none; border: 0; border-right: 1px solid rgba(255, 255, 255, .15);
    font: 650 .95rem var(--display); font-stretch: 88%; cursor: pointer;
  }
  .quickbar > :last-child { border-right: 0; }
  body { padding-bottom: 3.4rem; }

  /* Geheimtipp: keine Lasche am Rand, sondern Aufruf über die Schnellleiste, öffnet von unten */
  .tip { top: auto; bottom: 3.4rem; left: 0; right: 0; transform: translateY(calc(100% + 3.4rem)); justify-content: center; }
  .tip.is-open { transform: none; }
  .tip-handle { display: none; }
  .tip-panel { width: 100%; max-height: calc(100svh - 9rem); }
}

@media (prefers-reduced-motion: reduce) {
  .tip, .quickbar, .gallery img, .btn { transition: none; }
}
