/* ==========================================================================
   Weinbau Ottmann – Stylesheet
   Farben & Schriften zentral hier oben anpassen.
   ========================================================================== */

:root {
  --cream: #f6f2ea;       /* Seitenhintergrund */
  --paper: #fffdf8;       /* Karten */
  --sand: #ede5d6;        /* abgesetzte Bereiche */
  --ink: #1f2b25;         /* Text */
  --ink-soft: #4d5c54;    /* Nebentext */
  --line: #ddd3c2;        /* Linien */
  --green: #2f5b44;       /* Hauptfarbe (Rebe) */
  --green-deep: #1c3529;  /* dunkle Bereiche */
  --vine: #9bb05a;
  --terra: #ab4f2b;       /* Akzent (Dachziegel) */
  --terra-dark: #8a3d1f;
  --gold: #d9a441;        /* Akzent (Marille) */

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(31, 43, 37, .06), 0 10px 30px rgba(31, 43, 37, .10);
  --header-h: 76px;
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra); }
a[href^="tel:"] { white-space: nowrap; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 1.45rem + 2.1vw, 3.1rem); letter-spacing: -.005em; }
h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.12rem, 1.04rem + .4vw, 1.32rem); line-height: 1.6; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }

.icon {
  width: 1.15em; height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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;
}

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* ---------- Layout ---------- */

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--green-deep); color: #e3ebe5; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .lead { color: rgba(227, 235, 229, .82); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 30px; height: 1px; background: currentColor; }

.split { display: grid; gap: clamp(36px, 5vw, 88px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.15fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 .98rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--terra); color: #fff; }
.btn--primary:hover { background: var(--terra-dark); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-deep); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--outline:hover { border-color: var(--green); color: var(--green); }

.text-link {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; text-decoration: none; color: var(--green);
}
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header & Navigation ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  background: rgba(246, 242, 234, .97);
  box-shadow: 0 1px 0 var(--line);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.site-header--overlay:not(.is-solid) {
  color: #fff;
  background: transparent;
  box-shadow: none;
}
.site-header > .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 30px; height: 36px; flex: none; }
.brand-mark .sun { fill: var(--gold); stroke: none; }
.brand-name { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1; letter-spacing: .01em; }
.brand-tag { display: block; margin-top: 5px; font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li a {
  position: relative; display: block;
  padding: 8px 14px;
  color: inherit; text-decoration: none;
  font-weight: 500; font-size: 1rem;
}
.nav li a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav li a:hover::after, .nav li a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: .7em 1.25em; font-size: .92rem; }
.nav-contact { display: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; margin-right: -10px;
  border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 50%;
  align-items: center; justify-content: center;
}
.burger, .burger::before, .burger::after {
  display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s, background-color .3s;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 28px;
    padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
    background: var(--cream); color: var(--ink);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .js .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .js .nav-open .site-header { color: var(--ink); background: var(--cream); box-shadow: 0 1px 0 var(--line); }
  .js .nav ul { flex-direction: column; gap: 0; width: 100%; }
  .js .nav li a { font-family: var(--serif); font-size: 2.1rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .js .nav li a::after { display: none; }
  .js .nav li a[aria-current="page"] { color: var(--terra); }
  .js .nav-contact { display: grid; gap: 10px; font-size: 1rem; }
  .nav-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
  .nav-contact small { display: block; color: var(--ink-soft); font-size: .82rem; }
  body.nav-open { overflow: hidden; }
}

/* Ohne JavaScript: einfache Kopfzeile mit umbrechenden Links */
html:not(.js) .site-header { position: relative; height: auto; padding-block: 12px; color: var(--ink); background: var(--cream); }
html:not(.js) .site-header > .container { flex-wrap: wrap; }
html:not(.js) .nav { flex-wrap: wrap; }

/* ---------- Hero (Startseite) ---------- */

.hero, .page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--green-deep);
}
.hero { min-height: max(600px, min(100svh, 980px)); }
.page-hero { min-height: clamp(420px, 66vh, 640px); }

.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-media img { object-fit: cover; }
.hero .hero-media img { animation: hero-zoom 2.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hero-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }

.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 22, 17, .55) 0%, rgba(12, 22, 17, 0) 26%),
    linear-gradient(0deg, rgba(12, 22, 17, .78) 0%, rgba(12, 22, 17, .35) 38%, rgba(12, 22, 17, 0) 62%);
}

.hero-content { width: 100%; padding-block: calc(var(--header-h) + 48px) clamp(44px, 7vw, 88px); }
.hero-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1fr auto; } }

.hero h1, .page-hero h1 { color: #fff; text-shadow: 0 2px 28px rgba(0, 0, 0, .28); }
.hero h1 { max-width: 15ch; }
.hero .eyebrow, .page-hero .eyebrow { color: #fff; }
.hero .lead, .page-hero .lead { color: rgba(255, 255, 255, .92); max-width: 50ch; }
.page-hero .lead { margin-top: -.2em; }

/* „Ausg'steckt“-Statuskarte */
.status {
  display: none;
  align-items: center; gap: 16px;
  max-width: 420px;
  padding: 16px 20px 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .96);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.status.is-visible { display: flex; }
.status:hover { color: var(--ink); transform: translateY(-2px); }
.status-dot { position: relative; width: 12px; height: 12px; flex: none; border-radius: 50%; background: #3f9d5d; }
.status-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid #3f9d5d; opacity: 0; animation: ping 2s ease-out infinite;
}
.status--next .status-dot { background: var(--gold); }
.status--next .status-dot::after { display: none; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
.status strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.status span { display: block; color: var(--ink-soft); font-size: .92rem; line-height: 1.45; margin-top: 2px; }
.status .icon { margin-left: auto; color: var(--terra); }

/* Hinweis-Banner (aktuelles.txt) */
.notice { display: none; background: var(--gold); color: #2b2210; }
.notice.is-visible { display: block; }
.notice .container { display: flex; gap: 14px; align-items: flex-start; padding-block: 16px; }
.notice .icon { margin-top: .2em; }
.notice p { margin: 0; font-weight: 500; }
.notice p + p { margin-top: .3em; }

/* ---------- Startseite ---------- */

.img-stack { position: relative; padding-bottom: 16%; }
.img-stack img { border-radius: var(--radius-lg); object-fit: cover; }
.img-stack img:first-child { width: 86%; aspect-ratio: 4 / 3; }
.img-stack img:last-child {
  position: absolute; right: 0; bottom: 0;
  width: 54%; aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
}

.signature { margin-top: 1.6em; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--green); }

.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border-block: 1px solid var(--line);
}
@media (min-width: 800px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--cream); padding: clamp(24px, 3vw, 40px) 16px; text-align: center; }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.9rem); line-height: 1.1; color: var(--green); }
.fact span { display: block; margin-top: 6px; font-size: .92rem; color: var(--ink-soft); }

.pillars { display: grid; gap: 20px; }
@media (min-width: 780px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(380px, 46vw, 520px);
  padding: 28px;
  border-radius: var(--radius-lg);
  color: #fff; text-decoration: none;
}
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 22, 17, .82) 0%, rgba(12, 22, 17, .2) 55%, rgba(12, 22, 17, 0) 100%); }
.pillar:hover { color: #fff; }
.pillar:hover img { transform: scale(1.05); }
.pillar small { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pillar h3 { color: #fff; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); margin: .25em 0 .3em; }
.pillar p { color: rgba(255, 255, 255, .88); font-size: .98rem; margin-bottom: 1.1em; }
.pillar .text-link { color: #fff; }
.pillar:hover .text-link .icon { transform: translateX(4px); }

.band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  min-height: clamp(400px, 62vh, 600px);
  padding: 64px var(--gutter);
  color: #fff; text-align: center;
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 26, 20, .42); }
.band blockquote { margin: 0 auto; max-width: 24ch; font-family: var(--serif); font-size: clamp(1.65rem, 1.2rem + 2.1vw, 2.9rem); line-height: 1.25; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.band cite { display: block; margin-top: 22px; font: 600 .78rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .9; }

/* Kontakt-Karten */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
}
.contact-card > .icon { width: 28px; height: 28px; color: var(--gold); margin-bottom: 16px; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: .45em; }
.contact-card p { color: rgba(227, 235, 229, .78); font-size: .95rem; }
.contact-card a { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--gold); }
.contact-card .text-link { margin-top: 12px; color: var(--gold); font-size: .95rem; }

/* ---------- Heurigen: Termine ---------- */

.termine-layout { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 960px) {
  .termine-layout { grid-template-columns: 1fr 1.35fr; align-items: start; gap: 72px; }
  .termine-layout > .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
}
.split--top { align-items: start; }
.after-list { margin-top: 28px; }

.termine { display: grid; gap: 14px; }
.termin {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  padding: 18px 22px 18px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.termin-cal {
  width: 76px; padding: 10px 0 12px; text-align: center; line-height: 1;
  border-radius: 12px; background: var(--sand);
}
.termin-cal small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.termin-cal strong { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 2.1rem; }
.termin h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); margin: 0 0 6px; }
.termin-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--ink-soft); font-size: .95rem; }
.termin-meta span { display: inline-flex; align-items: center; gap: 7px; }
.termin--now { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #f1f6ef; }
.termin--now .termin-cal { background: var(--green); color: #fff; }
.termin--now .termin-cal small { color: #d6e6c4; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 8px; padding: 4px 11px;
  border-radius: 999px; background: var(--green); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9fe0a8; }
@media (max-width: 520px) {
  .termin { grid-template-columns: 1fr; gap: 12px; }
  .termin-cal { display: flex; align-items: baseline; gap: 8px; width: auto; padding: 8px 12px; justify-self: start; }
  .termin-cal strong { font-size: 1.4rem; margin: 0; order: -1; }
}

.data-notes { margin-top: 22px; color: var(--ink-soft); font-size: .95rem; }
.data-notes p { display: flex; gap: 10px; align-items: flex-start; }
.data-notes .icon { margin-top: .25em; color: var(--terra); }
.data-fallback { padding: 22px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); background: var(--paper); }

/* Info-Kacheln (Heurigen, Weinbau) */
.features { display: grid; gap: 18px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 30px 26px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.feature > .icon { width: 30px; height: 30px; color: var(--terra); margin-bottom: 18px; }
.feature h3 { font-size: 1.4rem; margin-bottom: .4em; }
.feature p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Listen: Wein, Speisen, Preise ---------- */

.menu { display: grid; gap: clamp(36px, 4vw, 52px); }
@media (min-width: 900px) { .menu--2col { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 88px); } }
.menu-group h3 { font-size: clamp(1.5rem, 1.3rem + .7vw, 1.9rem); margin-bottom: .1em; }
.menu-sub { margin: 0 0 12px; color: var(--terra); font-size: .92rem; font-weight: 500; }
.menu-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu-item { padding: 15px 0; border-bottom: 1px solid var(--line); }
.menu-row { display: flex; align-items: baseline; gap: 10px; }
.menu-name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.menu-year { flex: none; padding: 1px 8px; border-radius: 999px; background: var(--sand); font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.menu-dots { flex: 1; min-width: 16px; border-bottom: 1.5px dotted #bfb39d; transform: translateY(-5px); }
.menu-price { flex: none; font-weight: 700; color: var(--green); white-space: nowrap; }
.menu-text { margin: 4px 0 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }

/* ---------- Zimmer ---------- */

.amenities { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.amenities li {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  font-size: .98rem; line-height: 1.35;
}
.amenities .icon { width: 24px; height: 24px; color: var(--green); }

.room { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.room + .room { margin-top: clamp(56px, 7vw, 100px); }
@media (min-width: 900px) {
  .room { grid-template-columns: 1.2fr 1fr; }
  .room:nth-of-type(even) .room-media { order: 2; }
}
.room-media { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; aspect-ratio: 16 / 10; }
.room-media a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.room-media a:hover img { transform: scale(1.04); }
.room h3 { font-size: clamp(1.8rem, 1.5rem + 1.1vw, 2.4rem); }
.room-swatch { display: inline-block; width: 34px; height: 6px; border-radius: 3px; margin-bottom: 18px; background: var(--c, var(--green)); }

.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.checks .icon { margin-top: .12em; color: var(--green); }
@media (min-width: 560px) { .checks--2col { grid-template-columns: 1fr 1fr; column-gap: 24px; } }

.price-box { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }

/* Anfrage-Formular (öffnet das E-Mail-Programm) */
.form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field label .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfc4b1; border-radius: 10px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--ink-soft); }
.form-error { grid-column: 1 / -1; margin: 0; color: #a3261b; font-weight: 600; font-size: .92rem; }
.form-error:empty { display: none; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.tips li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 12px; background: rgba(255, 255, 255, .5); border: 1px solid var(--line); }
.tips .icon { width: 24px; height: 24px; color: var(--terra); margin-top: 2px; }
.tips strong { display: block; font-weight: 600; }
.tips span { display: block; color: var(--ink-soft); font-size: .92rem; }

@media (max-width: 599px) {
  .amenities, .tips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amenities li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; font-size: .92rem; }
  .tips li { flex-direction: column; gap: 10px; padding: 14px; }
  .tips strong { font-size: .95rem; line-height: 1.3; }
  .tips span { font-size: .86rem; line-height: 1.4; margin-top: 3px; }
}

/* ---------- Weinbau ---------- */

.cats { display: grid; gap: 18px; }
@media (min-width: 820px) { .cats { grid-template-columns: repeat(3, 1fr); } }
.cat {
  position: relative; overflow: hidden;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line);
}
.cat::after { content: ""; position: absolute; right: -44px; top: -44px; width: 140px; height: 140px; border-radius: 50%; background: var(--c); opacity: .22; }
.cat-vol { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--c); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.cat h3 { font-size: 1.9rem; margin-bottom: .35em; }
.cat p { color: var(--ink-soft); font-size: .98rem; }

.varieties { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 700px) { .varieties { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .varieties { grid-template-columns: repeat(3, 1fr); } }
.varieties li { padding: 24px 26px; background: var(--paper); }
.varieties strong { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.varieties strong::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--vine)); }
.varieties span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: .95rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; padding: 28px 26px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; right: 22px; top: 18px; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: rgba(255, 255, 255, .12); }
.steps .when { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.steps h3 { font-size: 1.4rem; margin: .35em 0 .35em; }
.steps p { color: rgba(227, 235, 229, .78); font-size: .96rem; }

.seal-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.seal { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: .9rem; font-weight: 500; }
.seal .icon { color: var(--green); }

/* ---------- Galerie & Lightbox ---------- */

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; } }
.gallery a { display: block; overflow: hidden; border-radius: 12px; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery a:hover img { transform: scale(1.05); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }

.rounded { border-radius: var(--radius-lg); }
.cover-img { width: 100%; height: 100%; object-fit: cover; }
.media-frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); }
.media-frame--tall { aspect-ratio: 4 / 5; }

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 16, 13, .96); color: #fff;
}
.lightbox::backdrop { background: rgba(10, 16, 13, .9); }
body:has(dialog.lightbox[open]) { overflow: hidden; }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 72px 40px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 6px; user-select: none; }
.lightbox figcaption { margin-top: 14px; text-align: center; font-size: .95rem; opacity: .88; }
.lb-btn {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 24px; font-size: .85rem; opacity: .7; }
@media (max-width: 640px) {
  .lightbox figure { padding: 64px 12px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* ---------- Rechtliche Seiten ---------- */

.legal { padding-block: calc(var(--header-h) + clamp(48px, 7vw, 96px)) clamp(64px, 8vw, 110px); }
.legal h1 { font-size: clamp(2.3rem, 1.8rem + 2vw, 3.4rem); }
.legal h2 { font-size: clamp(1.4rem, 1.25rem + .6vw, 1.75rem); margin-top: 2.2em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.6em; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .meta { color: var(--ink-soft); font-size: .92rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }

/* ---------- Footer ---------- */

.site-footer { background: #15271e; color: rgba(227, 235, 229, .75); font-size: .95rem; padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h4 { margin: 0 0 16px; font: 600 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .text-link { margin-top: 12px; color: var(--gold); }
.site-footer address { font-style: normal; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: .2em; color: var(--gold); }
.footer-contact small { display: block; color: rgba(227, 235, 229, .6); font-size: .8rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badges span { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: .78rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 52px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem; color: rgba(227, 235, 229, .6);
}
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Einblend-Animation ---------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .1s; }
.js .reveal-delay-2 { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Druck ---------- */

@media print {
  .site-header, .site-footer, .hero-media, .band, .nav-toggle, .lightbox { display: none !important; }
  .hero, .page-hero { min-height: 0; color: var(--ink); background: none; }
  .hero::before, .page-hero::before { display: none; }
  .hero h1, .page-hero h1, .hero .lead, .page-hero .lead, .page-hero .eyebrow { color: var(--ink); text-shadow: none; }
  .js .reveal { opacity: 1; transform: none; }
}
