/* =====================================================================
   stollenprobe.de — main.css
   Aufbau nach dem STOLLINO One-Pager: keine Sektions-Schablone, Bilder in
   verschiedenen Formaten, Text als Fließtext, Fakten als Listen.
   Farben aus dem Flyer: Weinrot, Gold, Krone.
   ===================================================================== */

:root {
  --text: #2B1A1C;
  --bg: #FFFFFF;
  --sand: #F5F0E6;
  --wine: #6A0212;
  --wine-2: #7B0219;
  --gold: #A8812F;
  --gold-l: #D7B46A;
  --black: #1E1213;
  --line: #E6DCC8;
  --muted: #6B5B5D;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, .8);
  --on-dark-line: rgba(255, 255, 255, .2);

  --font-caps: "Cinzel", Georgia, serif;
  --font-head: "Alegreya", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1300px;
  --gutter: 16px;
  --gap: 16px;
  --header-h: 64px;
  --section-py: clamp(3.5rem, 7vw, 7rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* -------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1rem; max-width: 38rem; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
figure { margin: 0; }
figcaption { font-size: .875rem; color: var(--muted); margin-top: .6rem; max-width: 38rem; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 1.1rem;
  color: var(--wine-2);
}
h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); max-width: 20ch; }
.h2--big { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.5rem; margin: 2rem 0 .6rem; }

.skip-link {
  position: absolute; left: var(--gutter); top: -3rem;
  background: var(--black); color: #fff; padding: .5rem .75rem; z-index: 100;
}
.skip-link:focus { top: var(--gutter); }
:focus-visible { outline: 2px solid var(--wine-2); outline-offset: 3px; }
.section--wine :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

/* -------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(44rem + 2 * var(--gutter)); }
.section { padding-block: var(--section-py); }
.section--sand { background: var(--sand); }
.section--wine { background: var(--wine); color: var(--on-dark); }
.section--wine h2, .section--wine h3 { color: #fff; }
.section--wine figcaption, .section--wine .contact { color: var(--on-dark-muted); }
#gruppen { background: var(--wine-2); }

/* Zweispaltig, bewusst ungleich (60/40 oder 40/60) */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) {
  .split--60 { grid-template-columns: 1.45fr 1fr; }
  .split--40 { grid-template-columns: 1fr 1.45fr; }
  .split__text { padding-top: clamp(0rem, 3vw, 2.5rem); }
}

/* -------------------------------------------------- Buttons und Links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.5rem;
  font: 500 1rem/1.2 var(--font-body);
  text-decoration: none;
  border: 1px solid var(--wine-2); border-radius: 2px;
  background: var(--wine-2); color: #fff;
  transition: background .2s var(--ease-out);
}
.btn:hover { background: var(--wine); }
.btn--light { background: #fff; color: var(--text); border-color: #fff; }
.btn--light:hover { background: var(--sand); }
.textlink {
  display: inline-block; min-height: 44px; padding-top: .35rem;
  font-weight: 500; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px;
}
.textlink:hover { text-decoration-thickness: 2px; }

/* -------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--gap); }
.brand {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-caps); font-weight: 700; font-size: 1.3rem; letter-spacing: .08em;
  color: var(--wine-2); text-decoration: none; text-transform: uppercase;
}
.brand img { width: 34px; height: auto; }
.nav { display: none; gap: 1.5rem; align-items: center; }
.nav a { text-decoration: none; font-size: .9375rem; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: .2em; }
.nav .btn, .header-shop { min-height: 40px; padding: .5rem 1rem; font-size: .9375rem; }
@media (min-width: 900px) { .nav { display: flex; } .header-shop { display: none; } }

/* -------------------------------------------------- Hero: Foto, Text darunter */
.hero { padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.hero__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 30%; }
.hero__content { display: grid; gap: 1.5rem clamp(2rem, 6vw, 6rem); padding-top: clamp(2rem, 4vw, 3.5rem); align-items: end; }
@media (min-width: 1600px) { #top .hero__content { grid-template-columns: 1fr 1.1fr; } }
.hero__title { display: flex; flex-direction: column; align-items: center; align-self: center; text-align: center; }
.hero__crown { width: 64px; height: auto; margin-bottom: .75rem; }
.hero h1 {
  font-family: var(--font-caps); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.8rem); letter-spacing: .04em; line-height: 1;
  margin-bottom: .6rem;
}
.hero__kicker { font: italic 400 clamp(1.3rem, 1rem + 1vw, 1.75rem)/1.2 var(--font-head); color: var(--gold); margin: 0; }
.hero__sub { font-size: 1.125rem; max-width: 34rem; margin-bottom: 1.5rem; }
.hero__ctas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.hero__ctas > a {
  display: flex; align-items: center; justify-content: center;
  min-height: 3.5rem; padding: .75rem .5rem;
  text-align: center; font-size: 1rem; line-height: 1.3;
}

/* -------------------------------------------------- Bilder in verschiedenen Formaten */
.figure img { width: 100%; height: auto; }
.figure--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.figure--wide { margin-top: clamp(2.5rem, 5vw, 4rem); }
.figure--wide img { aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 50%; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--gap); }
.pair img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.split__media > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Fakten als Definitionsliste */
.note { font-weight: 600; color: var(--wine-2); }
.small { font-size: .9375rem; color: var(--muted); margin-top: 1rem; }
.facts { margin: 1.75rem 0 0; display: grid; gap: .4rem; max-width: 34rem; }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9375rem; }
.facts dd { margin: 0; }
.facts--tight { margin-top: .5rem; }

/* -------------------------------------------------- Stollen im Vergleich: Bilder blenden selbst über */
.fader { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #E9E7E2; cursor: pointer; }
.fader figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.fader figure.is-on { opacity: 1; }
.fader img { width: 100%; height: 100%; object-fit: cover; }
.fader figcaption {
  position: absolute; left: 0; bottom: 0; margin: 0; max-width: none;
  display: flex; flex-direction: column; padding: .6rem .9rem;
  background: #fff; color: var(--text); font-size: .9375rem;
}
.fader figcaption b { font: 500 1.0625rem/1.25 var(--font-head); color: var(--wine-2); }
.fader figcaption span { font-size: .8125rem; color: var(--muted); }
.fader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .35); }
.fader__bar i { display: block; height: 100%; background: var(--gold-l); transform-origin: left; transform: scaleX(0); }
.cmp-names { margin-top: 1.5rem; border-top: 1px solid var(--line); max-width: 30rem; }
.cmp-names button {
  display: flex; justify-content: space-between; align-items: baseline; gap: .75rem;
  width: 100%; text-align: left; padding: .55rem 0 .55rem .85rem;
  border-bottom: 1px solid var(--line); border-left: 2px solid transparent;
  color: var(--muted); transition: border-color .3s, color .3s;
}
.cmp-names b { font: 500 1.0625rem/1.3 var(--font-head); }
.cmp-names span { font-size: .8125rem; }
.cmp-names button[aria-current="true"] { border-left-color: var(--wine-2); color: var(--wine-2); }
.cmp-names button:hover { color: var(--text); }
@media (max-width: 899px) { .cmp-names { display: none; } }

/* -------------------------------------------------- Ablauf: das eine Grid der Seite */
.steps__head { display: grid; gap: .5rem 3rem; align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.steps__head p { color: var(--on-dark-muted); margin: 0; }
@media (min-width: 900px) { .steps__head { grid-template-columns: 1fr 1fr; } .steps__head h2 { margin: 0; } }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem) var(--gap); counter-reset: step; }
.steps li { display: grid; gap: .6rem; align-content: start; }
.steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps p { font-size: .9375rem; color: var(--on-dark-muted); margin: 0; }
.steps p::before {
  counter-increment: step; content: counter(step) ". ";
  font-family: var(--font-caps); font-weight: 700; color: var(--gold-l);
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.bleed { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.bleed img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 50%; }
.bleed figcaption { margin-top: .75rem; color: var(--on-dark-muted); }

/* -------------------------------------------------- Besuch / Gruppen */
.address { margin: 1.25rem 0; line-height: 1.6; }
.address a, .contact a, .qa dd a, .split__text p a:not(.btn) { text-decoration: underline; text-underline-offset: .2em; }
.hours { margin: 0 0 .5rem; display: grid; gap: .25rem; max-width: 30rem; }
.hours div { display: grid; grid-template-columns: 10rem 1fr; gap: .75rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.contact { margin-top: 1.25rem; }
#gruppen .btn { margin-top: .25rem; }

/* -------------------------------------------------- Fragen */
.qa { margin: 0; }
.qa dt { font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; color: var(--wine-2); padding-top: 1.1rem; border-top: 1px solid var(--line); }
.qa dd { margin: .4rem 0 1.1rem; color: var(--muted); max-width: 38rem; }
.qa dd a { color: var(--text); }

/* -------------------------------------------------- Footer */
.site-footer { background: var(--black); color: var(--on-dark); padding-block: 3rem 1.5rem; font-size: .9375rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer__grid { display: grid; gap: 2rem; }
.footer__brand { font-family: var(--font-caps); font-weight: 700; font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-l); margin-bottom: .5rem; }
.footer__logo { width: 120px; height: auto; margin-top: 1.25rem; filter: brightness(0) invert(1); }
.footer__links { display: grid; gap: .4rem; align-content: start; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--on-dark-line); font-size: .8125rem; color: var(--on-dark-muted); }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* -------------------------------------------------- Handy */
.header-shop { white-space: nowrap; }
@media (max-width: 600px) {
  .hero__ctas { grid-template-columns: 1fr; }
  .brand { font-size: 1.05rem; letter-spacing: .05em; gap: .4rem; }
  .brand img { width: 26px; }
  .header-shop { padding-inline: .8rem; font-size: .875rem; }
  .hero__img img { aspect-ratio: 4 / 3; }
  .facts div { grid-template-columns: 7rem 1fr; }
  .hours div { grid-template-columns: 8.5rem 1fr; }
  .bleed img { aspect-ratio: 3 / 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
