/* ==========================================================================
   Helpfauer Hof – Stylesheet
   Farben, Schrift und Abstände stehen ganz oben als Variablen (:root).
   Wer eine Farbe ändern möchte, ändert sie nur dort.
   ========================================================================== */

/* ---------- Schrift (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-italic.woff2") format("woff2");
}

/* ---------- Variablen ---------- */
:root {
  --bg: #e5e1d8;          /* Grund: Bein-Weiß */
  --surface: #dad5ca;     /* eine Stufe dunkler */
  --ink: #2a1d17;         /* Schrift: Schokobraun */
  --muted: #5f5047;       /* Nebentext */
  --accent: #456f3a;      /* Wirtshausgrün: Knöpfe, eine Farbfläche */
  --accent-strong: #36592d;
  --accent-ink: #ffffff;
  --dark: #2a1d17;
  --dark-ink: #e5e1d8;
  --dark-muted: #b9ada0;

  --font: "EB Garamond", Garamond, "Times New Roman", serif;

  --step-small: clamp(0.875rem, 0.84rem + 0.12vw, 0.9375rem);   /* 14–15 px */
  --step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);     /* 18–21 px */
  --step-lead: clamp(1.25rem, 1rem + 0.9vw, 1.875rem);          /* 20–30 px */
  --step-title: clamp(1.75rem, 1.25rem + 1.45vw, 2.75rem);      /* 28–44 px */
  --step-head: clamp(2.25rem, 1.3rem + 3.1vw, 4.25rem);         /* 36–68 px */

  --margin: clamp(1.25rem, 5vw, 5.5rem);
  --gutter: clamp(0.75rem, 1.6vw, 1.5rem);
  --section: clamp(6rem, 12vw, 12rem);
  --top-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; hyphens: manual; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.85em; }
:target { scroll-margin-top: 6rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* auf grünen und dunklen Flächen wäre ein grüner Rahmen unsichtbar */
.field :focus-visible, .mosaic__tile:focus-visible, .mosaic__tile :focus-visible, .foot :focus-visible, .menu :focus-visible, .embed :focus-visible { outline-color: currentColor; }
.field .button:focus-visible { outline-color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 0.6rem 1rem; }
.skip:focus { top: 10px; }

/* ---------- Schriftgrößen ---------- */
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
.lead { font-size: var(--step-lead); line-height: 1.38; max-width: 40ch; }
.title { font-size: var(--step-title); line-height: 1.1; letter-spacing: -0.01em; }
.head { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.015em; }
.it { font-style: italic; }
.nums { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Raster ---------- */
.wrap { padding-inline: var(--margin); }
.g {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-inline: var(--margin);
}
.section { padding-block: calc(var(--section) / 2); }
.p {
  grid-column: var(--c, 1 / -1);
  grid-row: var(--row, auto);
  margin-top: var(--mt, 0);
  align-self: var(--as, start);
}
.bleed-r { margin-right: calc(var(--margin) * -1); }
.bleed-l { margin-left: calc(var(--margin) * -1); }

/* ---------- Bilder ---------- */
.f { position: relative; }
.f img { width: 100%; aspect-ratio: var(--r, auto); object-fit: cover; object-position: var(--pos, 50% 50%); }
.f figcaption { font-size: var(--step-small); line-height: 1.4; color: var(--muted); margin-top: 0.65rem; max-width: 42ch; }
.shutter { overflow: hidden; }

/* ---------- Knöpfe und Links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3rem; padding: 0.55rem 1.35rem;
  background: var(--accent); color: var(--accent-ink);
  font-size: var(--step-body); line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--light { background: var(--bg); color: var(--ink); }
.link {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.arrow::after { content: " →"; display: inline-block; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .button--light:hover { background: #fff; }
  .link:hover { text-decoration-color: currentColor; }
  .arrow:hover::after { transform: translateX(4px); }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: var(--gutter);
  height: var(--top-h);
  padding-inline: var(--margin);
  background: var(--bg);
  transition: transform 350ms var(--ease-out);
}
.top.is-hidden { transform: translateY(-100%); }
.top__logo { flex: 0 0 auto; display: block; width: clamp(128px, 11vw, 168px); }
.top__logo img { width: 100%; background: none; }
.top__nav { flex: 1; display: flex; justify-content: center; gap: clamp(1.1rem, 2.3vw, 2.4rem); }
.top__nav a { text-decoration: none; padding-block: 0.4rem; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
.top__nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .top__nav a:hover { text-decoration: underline; text-decoration-color: currentColor; }
}
.top__cta { flex: 0 0 auto; }
.top__menu { display: none; min-height: 2.75rem; padding: 0.4rem 0.2rem 0.4rem 0.8rem; align-items: center; gap: 0.6rem; }
.top__menu i { display: grid; gap: 5px; width: 22px; }
.top__menu i::before, .top__menu i::after { content: ""; display: block; height: 2px; background: currentColor; }
@media (max-width: 1099px) {
  .top__nav { display: none; }
  .top__cta { margin-left: auto; }
  .top__menu { display: inline-flex; margin-left: 0.75rem; }
}
@media (max-width: 759px) {
  :root { --top-h: 64px; }
  .top__cta { display: none; }
  .top__menu { margin-left: auto; }
}

/* ---------- Menü (Handy und Tablet) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 0 var(--margin) 2.5rem;
  background: var(--dark); color: var(--dark-ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu__bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--top-h); }
.menu__bar img { width: clamp(128px, 11vw, 168px); background: none; }
.menu__close { min-height: 2.75rem; padding: 0.4rem 0 0.4rem 0.8rem; }
.menu__list { margin-top: 2rem; }
.menu__list a { display: block; padding: 0.28rem 0; font-size: var(--step-title); line-height: 1.15; text-decoration: none; }
.menu__list a[aria-current="page"] { text-decoration: underline; }
.menu__foot { margin-top: auto; padding-top: 2.5rem; color: var(--dark-muted); }
.menu__foot a { color: var(--dark-ink); }
@media (prefers-reduced-motion: no-preference) {
  .menu.is-open { animation: menu-in 320ms var(--ease-out); }
  .menu.is-open .menu__list li { opacity: 0; transform: translateY(14px); animation: rise 520ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
}
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Öffnungsstatus ---------- */
.status { display: flex; align-items: baseline; gap: 0.55em; font-size: var(--step-small); line-height: 1.4; color: var(--muted); }
.status::before { content: ""; flex: 0 0 auto; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--muted); transform: translateY(-0.05em); }
.status.is-open { color: var(--ink); }
.status.is-open::before { background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .status.is-open::before { animation: pulse 2.4s var(--ease-soft) infinite; }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ==========================================================================
   Startseite: drei Abzüge an einer Leiste
   ========================================================================== */
.hero3 { padding-top: clamp(2rem, calc(18vh - var(--top-h) + 1.5rem), 9rem); padding-bottom: calc(var(--section) / 2); }
.hero3 .g { align-items: start; grid-template-rows: auto 1fr; }
.hero3__small { grid-column: 1 / 3; grid-row: 1; }
.hero3__text { grid-column: 1 / 4; grid-row: 2; padding-top: 2rem; }
.hero3__tall { grid-column: 4 / 10; grid-row: 1 / span 2; }
.hero3__wide { grid-column: 10 / -1; grid-row: 1 / span 2; margin-right: calc(var(--margin) * -1); }
.hero3__wide figcaption, .hero3__info { padding-right: var(--margin); }
/* Hoftafel unter dem Hausfoto: live geöffnet?, Zeiten, Route */
.hero3__info { margin-top: 2.25rem; }
.hero3__info .status { font-size: var(--step-body); color: var(--ink); }
.hero3__hours { margin-top: 1rem; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.hero3__hours th, .hero3__hours td { padding: 0 0 0.35rem; text-align: left; font-weight: 400; vertical-align: baseline; }
.hero3__hours th { color: var(--muted); padding-right: 1.5rem; white-space: nowrap; }
.hero3__hours td { white-space: nowrap; }
.hero3__hours abbr { text-decoration: none; }
.hero3__info .link { display: inline-block; margin-top: 1.1rem; }
@media (min-width: 1100px) { .hero3__status { display: none; } }
/* schmale Laptops: Textspalte breiter, damit die Überschrift zweizeilig bleibt */
@media (min-width: 1100px) and (max-width: 1349px) {
  .hero3__text { grid-column: 1 / 5; }
  .hero3__tall { grid-column: 5 / 10; }
}
@media (max-width: 1099px) { .hero3__info .status { display: none; } }
.hero3__h { font-size: var(--step-title); line-height: 1.06; letter-spacing: -0.01em; }
.hero3__p { margin-top: 1.1rem; max-width: 30ch; }
.hero3__text .status { margin-top: 1.25rem; }
.hero3__text .actions { margin-top: 1.5rem; }
@media (max-width: 1099px) and (min-width: 760px) {
  .hero3 { padding-top: 2.5rem; }
  .hero3__small { grid-column: 1 / 4; }
  .hero3__text { grid-column: 1 / 6; }
  .hero3__h { font-size: clamp(2.25rem, 4.7vw, 3rem); }
  .hero3__tall { grid-column: 6 / -1; margin-right: calc(var(--margin) * -1); }
  .hero3__tall figcaption { padding-right: var(--margin); }
  .hero3 .g { grid-template-rows: auto 1fr auto; }
  .hero3__wide { grid-column: 3 / -1; grid-row: 3; margin-top: 3rem; display: grid; grid-template-columns: 3fr 2fr; gap: var(--gutter); align-items: end; }
  .hero3__info { margin-top: 0; }
}
@media (max-width: 759px) {
  .hero3 { padding-top: 1rem; }
  .hero3 .g { grid-template-rows: none; }
  .hero3__tall { grid-column: 1 / 11; grid-row: 1; }
  .hero3__text { grid-column: 1 / -1; grid-row: 2; padding-top: 1.25rem; }
  /* das Salatbild überlappt hier das Hausfoto, nicht die Überschrift */
  .hero3__small { grid-column: 7 / -1; grid-row: 3; margin-top: 3rem; z-index: 2; }
  .hero3__small img { outline: 6px solid var(--bg); }
  .hero3__wide { grid-column: 1 / -1; grid-row: 4; margin: -3.5rem calc(var(--margin) * -1) 0; }
  .hero3__wide figcaption, .hero3__info { padding-inline: var(--margin); }
  .hero3__info { margin-top: 1.5rem; }
}

/* ==========================================================================
   Unterseiten: Seitenkopf
   ========================================================================== */
.phero { padding-top: clamp(2rem, 7vh, 5rem); padding-bottom: calc(var(--section) / 2); }
.phero .g { align-items: start; }
.phero__text { grid-column: 1 / 6; grid-row: 1; padding-top: clamp(0rem, 4vh, 3rem); }
.phero__h { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.015em; }
.phero__lead { margin-top: 1.4rem; max-width: 36ch; font-size: var(--step-lead); line-height: 1.38; }
.phero__text .status { margin-top: 1.25rem; }
.phero__big { grid-column: 6 / -1; grid-row: 1 / span 2; margin-right: calc(var(--margin) * -1); }
.phero__big figcaption { padding-right: var(--margin); }
.phero__small { grid-column: 3 / 6; grid-row: 2; margin-top: 3rem; }
.phero__big img { aspect-ratio: 3 / 2; }
.phero__small img { aspect-ratio: 4 / 5; }
@media (max-width: 1099px) and (min-width: 760px) {
  .phero__text { grid-column: 1 / 7; }
  .phero__big { grid-column: 7 / -1; }
  .phero__small { grid-column: 2 / 6; }
}
@media (max-width: 759px) {
  .phero { padding-top: 1.5rem; }
  .phero__text { grid-column: 1 / -1; padding-top: 0; }
  .phero__big { grid-column: 1 / -1; grid-row: 2; margin: 2.5rem calc(var(--margin) * -1) 0; }
  .phero__big figcaption { padding-inline: var(--margin); }
  .phero__small { grid-column: 6 / -1; grid-row: 3; margin-top: 1.5rem; }
}

/* ==========================================================================
   Bausteine
   ========================================================================== */

/* --- Absatz in der rechten Hälfte, ein Foto links (Einleitung) --- */
.intro .g { align-items: start; }
.intro__text { grid-column: 7 / -1; grid-row: 1; padding-top: clamp(0rem, 6vh, 4rem); }
.intro__h { font-size: var(--step-title); line-height: 1.1; margin-bottom: 1.5rem; }
.intro__say { font-size: var(--step-lead); line-height: 1.3; text-indent: 3em; max-width: 44ch; }
.intro__more { margin-top: 1.5rem; max-width: 46ch; }
.intro__pic { grid-column: 1 / 6; grid-row: 1 / span 2; margin-top: clamp(4rem, 9vw, 9rem); }
.intro__pic img { aspect-ratio: 4 / 5; }
.intro__note { grid-column: 1 / 4; grid-row: 3; margin-top: 1.25rem; font-size: var(--step-small); color: var(--ink); max-width: 30ch; }
.intro__extra { grid-column: 7 / -1; grid-row: 2; margin-top: 3rem; }
.intro__extra2 { grid-column: 9 / -1; grid-row: 3; margin-top: -2rem; }
@media (max-width: 1099px) and (min-width: 760px) {
  .intro__text, .intro__extra, .intro__extra2 { grid-column: 6 / -1; }
  .intro__pic { grid-column: 1 / 5; }
  .intro__note { grid-column: 1 / 5; }
}
@media (max-width: 759px) {
  .intro__text, .intro__extra, .intro__extra2 { grid-column: 1 / -1; grid-row: auto; padding-top: 0; }
  .intro__say { text-indent: 0; }
  .intro__pic { grid-column: 6 / -1; grid-row: auto; margin-top: 2.5rem; }
  .intro__pic img { aspect-ratio: 4 / 5; }
  .intro__note { grid-column: 1 / 6; grid-row: auto; align-self: end; margin-top: 0; }
  .intro__extra { margin-top: 2rem; }
}

/* --- Band aus ungleichen Bildstreifen --- */
.band__h { grid-column: 3 / -1; font-size: var(--step-title); line-height: 1.1; margin-bottom: 3.5rem; }
.band__row { display: flex; height: clamp(26rem, 64svh, 46rem); }
.band__panel {
  position: relative; overflow: hidden; display: block; color: #fff; text-decoration: none;
  flex: var(--g, 1) 1 0; min-width: 0;
  transition: flex-grow 520ms var(--ease-in-out);
}
.band__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 900ms var(--ease-soft); }
.band__panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(20, 14, 10, 0.74), rgba(20, 14, 10, 0.3) 22%, rgba(20, 14, 10, 0) 46%); } /* taste-skill-ignore: neutraler Schleier unter Schrift auf Foto */
.band__panel:first-child::before { background: linear-gradient(160deg, rgba(20, 14, 10, 0.6), rgba(20, 14, 10, 0) 40%), linear-gradient(to top, rgba(20, 14, 10, 0.5), rgba(20, 14, 10, 0) 38%); } /* taste-skill-ignore: neutraler Schleier unter Schrift auf Foto */
.band__label { position: absolute; z-index: 2; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; font-size: var(--step-body); line-height: 1.25; }
.band__panel:first-child .band__label, .band__panel:first-child .band__title { left: var(--margin); }
.band__panel:last-child .band__label { right: var(--margin); }
.band__label small { display: block; font-size: var(--step-small); opacity: 0.92; }
.band__title { position: absolute; z-index: 2; left: 1.5rem; top: 1.5rem; font-size: var(--step-lead); line-height: 1.12; max-width: 15ch; }
.band__caption { grid-column: 1 / -1; margin-top: 1.1rem; font-size: var(--step-body); }
@media (hover: hover) and (pointer: fine) {
  .band__row:hover .band__panel:hover, .band__panel:focus-visible { flex-grow: 6; }
  .band__panel:hover img { transform: scale(1.04); }
}
@media (max-width: 759px) {
  .band__h { grid-column: 1 / -1; margin-bottom: 2rem; }
  .band__row { flex-wrap: wrap; height: auto; }
  .band__panel { flex: 0 0 auto; height: 42svh; min-height: 15rem; }
  .band__panel:nth-child(1), .band__panel:nth-child(4) { width: 64%; }
  .band__panel:nth-child(2), .band__panel:nth-child(3) { width: 36%; }
  .band__label { left: 1.25rem; right: 1rem; bottom: 1rem; }
  .band__panel:nth-child(2) .band__label { right: var(--margin); }
  .band__panel:nth-child(3) .band__label { left: var(--margin); }
}

/* --- Namenspalten (Lieferanten, Ausflugsziele) --- */
.index { padding-block: calc(var(--section) * 0.75); }
.index__h { grid-column: 1 / -1; font-size: var(--step-title); line-height: 1.1; margin-bottom: 4rem; max-width: 22ch; }
.index__col { grid-row: 2; }
.index__col:nth-of-type(1) { grid-column: 1 / 4; }
.index__col:nth-of-type(2) { grid-column: 4 / 7; }
.index__col:nth-of-type(3) { grid-column: 7 / 10; }
.index__group { font-size: var(--step-body); margin-bottom: 1.4rem; }
.index__list li { line-height: 1.3; }
.index__item {
  display: inline; text-align: left; padding: 0.12rem 0;
  font-size: var(--step-body); color: var(--muted);
  transition: color var(--t-hover) ease;
}
.index__item:hover, .index__item:focus-visible, .index__item.is-on { color: var(--ink); text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.18em; }
.index__where { color: var(--muted); }
.index__sum { display: none; }
.index__detail { grid-column: 10 / -1; grid-row: 2; font-size: var(--step-body); line-height: 1.4; }
.index__detail strong { display: block; font-weight: 500; }
.index__foot { grid-column: 1 / 10; grid-row: 3; margin-top: 3.5rem; }
@media (min-width: 760px) {
  .index__where { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 1099px) and (min-width: 760px) {
  .index__col:nth-of-type(1) { grid-column: 1 / 5; }
  .index__col:nth-of-type(2) { grid-column: 5 / 9; }
  .index__col:nth-of-type(3) { grid-column: 9 / -1; }
  .index__detail { grid-column: 1 / -1; grid-row: 3; margin-top: 2.5rem; }
  .index__foot { grid-row: 4; }
}
@media (max-width: 759px) {
  .index__h { margin-bottom: 2.5rem; }
  .index__col, .index__col:nth-of-type(n) { grid-column: 1 / -1; grid-row: auto; margin-bottom: 2.5rem; }
  .index__item { line-height: 1.4; color: var(--ink); }
  .index__where { display: block; font-size: var(--step-small); margin-bottom: 0.35rem; }
  .index__detail { display: none; }
  .index__sum { display: block; margin-top: 1rem; color: var(--muted); }
  .index__foot { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
}

/* --- Überschrift groß, Tabelle rechts --- */
.tbl .g { align-items: start; }
.tbl__h { grid-column: 1 / -1; font-size: var(--step-head); line-height: 1; letter-spacing: -0.015em; max-width: 20ch; }
.tbl__h .indent { padding-left: 3vw; }
.tbl__word { grid-column: 7 / 8; grid-row: 2; margin-top: 6rem; font-size: var(--step-small); color: var(--muted); }
.tbl__body { grid-column: 8 / -1; grid-row: 2; margin-top: 6rem; }
.tbl__pic { grid-column: 1 / 5; grid-row: 2; align-self: end; }
.tbl__pic img { aspect-ratio: 4 / 5; }
.rows { width: 100%; border-collapse: collapse; font-size: var(--step-body); font-variant-numeric: lining-nums tabular-nums; }
.rows th, .rows td { padding: 0 0 1.4rem; text-align: left; vertical-align: baseline; font-weight: 400; }
.rows th { color: var(--muted); width: 34%; padding-right: 1rem; }
.rows td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; }
.rows tr.gap > * { padding-top: 1.6rem; }
.rows a { text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.rows tr.is-today > *, .rows tr.is-fit > * { color: var(--ink); }
.rows tr.is-today td:first-of-type::after { content: " · heute"; color: var(--accent); }
.rows tr.is-dim > * { color: var(--muted); }
.rows tr.is-fit td:nth-of-type(1) { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.tbl__after { margin-top: 1.25rem; }
@media (max-width: 1099px) and (min-width: 760px) {
  .tbl__word { display: none; }
  .tbl__body { grid-column: 6 / -1; }
  .tbl__pic { grid-column: 1 / 5; }
}
@media (max-width: 759px) {
  .tbl__h .indent { padding-left: 0; }
  .tbl__word { display: none; }
  .tbl__body { grid-column: 1 / -1; grid-row: auto; margin-top: 2.5rem; }
  .tbl__pic { grid-column: 6 / -1; grid-row: auto; margin-top: 2.5rem; }
  .rows, .rows tbody, .rows tr { display: block; }
  .rows tr { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; padding-bottom: 1.25rem; }
  .rows th, .rows td { padding: 0; width: auto; }
  .rows th { grid-column: 1; grid-row: 1; }
  .rows td:last-child { grid-column: 2; grid-row: 1; }
  .rows td:nth-of-type(1):not(:last-child) { grid-column: 1 / -1; grid-row: 2; }
  .rows tr.gap { padding-top: 1rem; }
  .rows tr.gap > * { padding-top: 0; }
}

/* --- Raumplaner / Aufenthaltsrechner --- */
.planer { margin-bottom: 2.5rem; }
.planer label { display: block; font-size: var(--step-body); margin-bottom: 0.6rem; }
.planer__row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.planer input[type="range"] { flex: 1 1 12rem; accent-color: var(--accent); min-height: 2.75rem; }
.planer input[type="number"], .planer select { width: 6.5rem; min-height: 3rem; padding: 0.5rem 0.75rem; background: var(--surface); border: 0; border-radius: 0; font-variant-numeric: lining-nums; }
.planer select { width: auto; }
.planer__out { margin-top: 1rem; font-size: var(--step-lead); line-height: 1.35; min-height: 2.8em; }
.no-js-hide { display: none; }
.js .no-js-hide { display: block; }

/* --- Drei Fotos steigen auf (Zimmer) --- */
.tri { position: relative; overflow: hidden; padding-block: calc(var(--section) / 2); }
.tri__text { text-align: center; padding-inline: var(--margin); }
.tri__h { font-size: var(--step-title); line-height: 1.1; max-width: 22ch; margin-inline: auto; }
.tri__text p { margin: 1rem auto 0; max-width: 46ch; }
.tri__text .link { display: inline-block; margin-top: 0.8rem; }
.tri__pics { display: flex; justify-content: center; align-items: flex-start; gap: 10px; margin-top: 3rem; }
.tri__mid { flex: 0 0 auto; width: min(760px, 54vw); }
.tri__mid img { aspect-ratio: 4 / 5; }
.tri__side { flex: 0 0 auto; width: min(360px, 26vw); margin-top: 55px; }
.tri__side img { aspect-ratio: 360 / 530; }
.tri--live .tri__pics > * { will-change: transform; }
@media (max-width: 759px) {
  .tri__mid { width: 72vw; }
  .tri__side { width: 34vw; }
}

/* --- Breites Foto, Farbkachel, Eckdaten --- */
.mosaic__h { grid-column: 1 / -1; font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.015em; }
.mosaic__lead { grid-column: 1 / 7; margin-top: 1.5rem; font-size: var(--step-lead); line-height: 1.38; max-width: 44ch; }
.mosaic__photo { grid-column: 1 / 9; grid-row: 3; margin-top: 4.5rem; position: relative; }
.mosaic__photo img { aspect-ratio: 16 / 10; }
.mosaic__paper { position: absolute; top: 0; right: 0; width: min(360px, 46%); padding: 1.25rem 1.3rem; margin: 0; background: var(--bg); color: var(--ink); font-size: var(--step-body); line-height: 1.45; }
.mosaic__side { grid-column: 9 / -1; grid-row: 3; margin-top: 4.5rem; }
.mosaic__tile { background: var(--accent); color: #fff; aspect-ratio: 450 / 345; }
.mosaic__tile svg { width: 100%; height: 100%; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem var(--gutter); margin-top: 1.5rem; font-size: var(--step-body); line-height: 1.3; }
.facts dt { color: var(--muted); font-size: var(--step-small); }
.facts dd { font-variant-numeric: lining-nums; }
@media (max-width: 1099px) and (min-width: 760px) {
  .mosaic__photo { grid-column: 1 / -1; }
  .mosaic__side { grid-column: 1 / -1; grid-row: 4; margin-top: var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
  .mosaic__side .facts { margin-top: 0; }
}
@media (max-width: 759px) {
  .mosaic__lead { grid-column: 1 / -1; }
  .mosaic__photo { grid-column: 1 / -1; margin: 2.5rem calc(var(--margin) * -1) 0; }
  .mosaic__photo img { aspect-ratio: 4 / 3; }
  .mosaic__paper { position: static; width: auto; padding: 1rem var(--margin) 0; background: none; }
  .mosaic__side { grid-column: 1 / -1; grid-row: auto; margin-top: 2rem; }
}

/* --- Text mit ungleich gesetzten Fotos (Unterseiten) --- */
.duo .g { align-items: start; }
.duo__text { grid-column: var(--c, 1 / 6); grid-row: 1 / span 3; }
.duo__h { font-size: var(--step-title); line-height: 1.1; margin-bottom: 1.4rem; max-width: 20ch; }
.duo__text h3 { font-size: var(--step-lead); line-height: 1.25; margin: 2rem 0 0.5rem; }
.duo__text .lead + p { margin-top: 1.2rem; }
.duo__text ul.ticks { margin-top: 1rem; padding-left: 1.1em; }
.duo__text ul.ticks li { padding-left: 0.2em; }
.duo__text ul.ticks li::marker { content: "– "; color: var(--muted); }
.duo .f { position: relative; }
@media (max-width: 759px) {
  .duo__text { grid-column: 1 / -1; grid-row: auto; }
  .p { grid-column: var(--cm, 1 / -1); grid-row: auto; margin-top: var(--mtm, 0); }
  .p.f { margin-top: var(--mtm, 2rem); }
}

/* --- Zimmer --- */
.room .g { align-items: start; }
.room__h { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.015em; }
.room__facts { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; margin-top: 1.1rem; color: var(--muted); font-variant-numeric: lining-nums; }
.room__price { margin-top: 1.6rem; font-size: var(--step-title); line-height: 1.1; font-variant-numeric: lining-nums; }
.room__price small { display: block; margin-top: 0.35rem; font-size: var(--step-small); color: var(--muted); }
.room__list { columns: 2; column-gap: var(--gutter); margin-top: 1.6rem; line-height: 1.55; }
@media (max-width: 759px) { .room__list { columns: 1; } }

/* --- Farbfläche (einmal pro Seite) --- */
.field { background: var(--accent); color: #fff; padding-block: calc(var(--section) * 0.55); }
.field a:not(.button) { color: #fff; }
.field .muted { color: rgba(255, 255, 255, 0.82); }
.field .button { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .field .button:hover { background: var(--bg); } }
.field .g { align-items: center; }
.field__h { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.015em; max-width: 16ch; }
.field__text { grid-column: var(--c, 1 / 7); }
.field__text p { margin-top: 1.3rem; }
@media (max-width: 759px) { .field__text { grid-column: 1 / -1; } .field__h { max-width: none; } }
.field + .section, .field + .cband { padding-top: var(--section); }

/* --- Zeitleiste (Fassl-Geschichte) --- */
.day { margin-top: 1.8rem; display: grid; grid-template-columns: max-content 1fr; gap: 0.9rem 1.4rem; font-variant-numeric: lining-nums; }
.day dt { color: var(--muted); }

/* --- Formular --- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem var(--gutter); }
.form .full { grid-column: 1 / -1; }
.form label, .form legend { display: block; margin-bottom: 0.4rem; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form input[type="number"], .form select, .form textarea {
  width: 100%; min-height: 3.1rem; padding: 0.65rem 0.85rem;
  background: var(--bg); border: 0; border-radius: 0;
  font-size: var(--step-body); font-variant-numeric: lining-nums;
  transition: background-color var(--t-hover) ease;
}
.form input:focus, .form select:focus, .form textarea:focus { background: #f1eee8; }
.form textarea { min-height: 9rem; resize: vertical; }
.form .check { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.45; }
.form .check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--accent); flex: 0 0 auto; }
.form .radios { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.form .radios label { display: flex; gap: 0.5rem; align-items: center; margin: 0; }
.form .radios input { accent-color: var(--accent); width: 1.15rem; height: 1.15rem; }
.form .hint { font-size: var(--step-small); color: var(--muted); margin-top: 0.35rem; }
.form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* taste-skill-ignore: unsichtbares Spam-Feld, keine Linie */
.form [data-only][hidden] { display: none; }
.notice { padding: 1rem 1.2rem; background: var(--surface); margin-bottom: 1.5rem; }
.notice--error { background: #e9d3c8; }
@media (max-width: 759px) { .form { grid-template-columns: 1fr; } }

/* --- Externe Inhalte erst nach Klick (Video, Rundgang) --- */
.embed { position: relative; aspect-ratio: 16 / 9; background: var(--dark); color: var(--dark-ink); overflow: hidden; }
.embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; background: none; }
.embed__box { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(1rem, 3vw, 2rem); display: grid; gap: 0.8rem; justify-items: start; }
.embed__box p { font-size: var(--step-small); max-width: 52ch; color: var(--dark-ink); }
.embed__box a { color: var(--dark-ink); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Rechtstexte --- */
.legal .g { align-items: start; }
.legal__body { grid-column: 4 / 11; }
.legal__body h2 { font-size: var(--step-title); line-height: 1.12; margin: 3rem 0 1rem; }
.legal__body h3 { font-size: var(--step-lead); line-height: 1.25; margin: 2rem 0 0.6rem; }
.legal__body ul { padding-left: 1.2em; }
.legal__body li + li { margin-top: 0.3rem; }
.legal__body dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.5rem; }
.legal__body dt { color: var(--muted); }
.legal__side { grid-column: 1 / 4; position: sticky; top: calc(var(--top-h) + 2rem); }
@media (max-width: 1099px) {
  .legal__body { grid-column: 1 / -1; }
  .legal__side { display: none; }
}
@media (max-width: 759px) { .legal__body dl { grid-template-columns: 1fr; gap: 0 0; } .legal__body dd { margin-bottom: 0.6rem; } }

/* ==========================================================================
   Kontaktzeile vor dem Fuß
   ========================================================================== */
.cband { padding-top: var(--section); padding-bottom: calc(var(--section) * 0.7); }
.cband .g { align-items: start; }
.cband__say { grid-column: 1 / 6; }
.cband__h { font-size: var(--step-title); line-height: 1.1; max-width: 18ch; }
.cband__say p { margin-top: 1.2rem; max-width: 36ch; }
.cband__pic { grid-column: 8 / 10; }
.cband__pic img { aspect-ratio: 1; max-width: 170px; }
.cband__links { grid-column: 10 / -1; }
.cband__q { font-weight: 500; }
.cband__links p + p { margin-top: 1rem; }
@media (max-width: 1099px) and (min-width: 760px) {
  .cband__say { grid-column: 1 / 7; }
  .cband__pic { grid-column: 7 / 9; }
  .cband__links { grid-column: 9 / -1; }
}
@media (max-width: 759px) {
  .cband__say { grid-column: 1 / -1; }
  .cband__pic { grid-column: 1 / 5; margin-top: 2rem; }
  .cband__pic img { max-width: 100%; }
  .cband__links { grid-column: 5 / -1; margin-top: 2rem; }
}

/* ==========================================================================
   Fuß: Foto links, Menü rechts
   ========================================================================== */
.foot { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--dark); color: var(--dark-ink); }
.foot__pic { position: relative; overflow: hidden; }
.foot__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); background: #3a2c24; }
.foot__body { display: flex; flex-direction: column; padding: clamp(2.5rem, 6vw, 5rem) var(--margin) 1.5rem clamp(2rem, 8.3vw, 8rem); }
.foot__logo { display: block; width: clamp(140px, 12vw, 180px); }
.foot__logo img { width: 100%; background: none; }
.foot__menu { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(0.35rem, 0.9vw, 0.8rem); margin-top: clamp(2.5rem, 6vh, 4.5rem); }
.foot__menu a { font-size: var(--step-title); line-height: 1.1; text-decoration: none; transition: transform 300ms var(--ease-out), color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .foot__menu:hover a { color: var(--dark-muted); }
  .foot__menu a:hover { color: var(--dark-ink); transform: translateX(12px); }
}
.foot__info { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem var(--gutter); margin-top: 4rem; font-size: var(--step-small); line-height: 1.5; }
.foot__info h2 { font-size: var(--step-small); color: var(--dark-muted); margin-bottom: 0.4rem; }
.foot__info p + p { margin-top: 0.7rem; }
.foot__legal { margin-top: auto; padding-top: 3rem; font-size: var(--step-small); color: var(--dark-muted); max-width: none; }
.foot__legal a { color: var(--dark-ink); }
@media (max-width: 899px) {
  .foot { grid-template-columns: 1fr; min-height: 0; }
  .foot__pic { height: 50svh; min-height: 18rem; }
  .foot__body { padding: 2.5rem var(--margin) 1.5rem; }
  .foot__info { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Bewegung (nur wenn erwünscht; Inhalte bleiben ohne Skript sichtbar)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1000ms var(--ease-expo); }
  .js .shutter[data-reveal] img { transform: scale(1.12); transition: transform 1400ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }
  .js .rows[data-reveal-rows] tr { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .js .rows[data-reveal-rows].is-in tr { opacity: 1; transform: none; }
  .foot__pic img { transform: scale(1.08); transition: transform 2400ms var(--ease-soft); }
  .foot__pic.is-in img { transform: none; }
  .drift { animation: drift 24s var(--ease-soft) infinite alternate; }
  @keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ---------- Druck ---------- */
@media print {
  .top, .menu, .foot__pic, .band, .tri, .embed { display: none !important; }
  body { background: #fff; }
}
