/* ═══════════════════════════════════════════════════
   Weingut Knapp · #REBENRETTER — Designentwurf acessio
   Editorial · warm · premium
   ═══════════════════════════════════════════════════ */

:root {
  --cream: #f6f1e7;
  --cream-deep: #efe7d6;
  --paper: #fbf8f1;
  --ink: #2b2320;
  --ink-soft: #5c5148;
  --wine: #6e1f2e;
  --wine-deep: #4d1520;
  --sage: #71805f;
  --sand: #b39b6e;
  --line: rgba(90, 74, 58, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --wide: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
}

h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: 0.01em; }
h3 { font-size: 1.55rem; }

strong { font-weight: 500; }
em { font-family: var(--serif); font-size: 1.06em; }

a { color: var(--wine); }

/* ── Reveal animations ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal[data-delay="5"] { transition-delay: 0.60s; }
.reveal[data-delay="6"] { transition-delay: 0.72s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Navigation ────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.nav.is-scrolled {
  background: rgba(246, 241, 231, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { text-decoration: none; line-height: 1.15; display: flex; flex-direction: column; gap: 3px; }
.nav__brand-name {
  font-family: var(--serif);
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #fbf6ec;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  transition: color 0.4s, text-shadow 0.4s;
}
.nav.is-scrolled .nav__brand-name { color: var(--wine); text-shadow: none; }
.nav__brand-sub {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.75);
  transition: color 0.4s;
}
.nav.is-scrolled .nav__brand-sub { color: var(--ink-soft); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); }
.nav__links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
}
.nav.is-scrolled .nav__links a { color: var(--ink-soft); }
.nav__links a:hover { color: var(--sand); }
.nav__links a.nav__cta {
  border: 1px solid currentColor;
  padding: 8px 18px;
  border-radius: 2px;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  width: 24px; height: 1.5px;
  background: #fff;
  transition: background 0.4s, transform 0.3s, opacity 0.3s;
}
.nav.is-scrolled .nav__burger span,
.nav.menu-open .nav__burger span { background: var(--ink); }
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: #3a2e24 url("img/hero.jpg") center / cover no-repeat;
  transform: scale(1.06);
  animation: heroDrift 18s ease-out forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__bg { animation: none; transform: none; } }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(30, 20, 16, 0.55) 0%,
    rgba(30, 20, 16, 0.25) 40%,
    rgba(30, 20, 16, 0.62) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 900px;
}
.hero__eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero__rule {
  width: 64px; height: 1px;
  background: var(--sand);
  margin: 30px auto;
}
.hero__claim {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  color: #f3e9d8;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto;
}
.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.hero__scroll-line {
  width: 1px; height: 52px;
  background: rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: #fff;
  animation: scrollCue 2.2s ease-in-out infinite;
}
@keyframes scrollCue { to { top: 110%; } }
.hero__scroll-text {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.75);
}

/* ── Sections common ───────────────────────────── */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--lagen { background: var(--cream); }
.section--story { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--team { background: var(--cream); }
.section--wines { background: var(--cream-deep); }
.section--philo { background: var(--paper); border-top: 1px solid var(--line); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(48px, 7vw, 80px);
}
.section-head--left { text-align: left; margin: 0 0 34px; }
.eyebrow {
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--wine);
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--sand); }
.lead {
  margin-top: 22px;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* ── Karte ─────────────────────────────────────── */
.map { margin: 0 auto clamp(40px, 6vw, 64px); max-width: 1000px; }
.map__svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 24px 60px -30px rgba(60, 40, 20, 0.45);
}
.map__caption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.map__label { font-family: var(--sans); fill: #6a5a44; }
.map__label--site {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  fill: var(--ink);
  letter-spacing: 0.03em;
}
.map__label--city { font-family: var(--serif); font-size: 26px; font-weight: 600; fill: var(--ink); }
.map__label--citysub { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.map__label--river { font-family: var(--serif); font-style: italic; font-size: 19px; fill: #7d9ea1; }
.map__label--area { font-family: var(--serif); font-style: italic; font-size: 22px; fill: #66755a; }
.map__label--compass { font-size: 13px; font-weight: 600; fill: #6a5a44; }
.map__marker-num { font-family: var(--sans); font-size: 15px; font-weight: 600; fill: #fff; }
.map__cartouche { font-family: var(--serif); font-size: 21px; font-weight: 600; fill: var(--ink); }
.map__cartouche-sub { font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; fill: #6a5a44; }

.lagen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 32px);
}
.lagen-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 30px 28px;
  position: relative;
}
.lagen-card__num {
  position: absolute;
  top: -18px; left: 28px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px -6px rgba(110, 31, 46, 0.6);
}
.lagen-card h3 { margin-bottom: 4px; }
.lagen-card__meta {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  margin-bottom: 14px;
}
.lagen-card p { font-size: 0.95rem; color: var(--ink-soft); }
.lagen-card__sorten {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem !important;
  color: var(--wine) !important;
}

/* ── Geschichte ────────────────────────────────── */
.story {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.story__portrait {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 70px -35px rgba(60, 40, 20, 0.55);
}
.story__portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.story__portrait--wide img { aspect-ratio: 16 / 10; }
.story__portrait figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  background: linear-gradient(0deg, rgba(20,12,10,0.65), transparent);
}
.story__quote {
  margin-top: 30px;
  padding-left: 22px;
  border-left: 2px solid var(--sand);
}
.story__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.story__text p { margin-bottom: 18px; max-width: 62ch; }

.timeline {
  list-style: none;
  margin-top: 46px;
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline__marker {
  position: absolute;
  left: -30px; top: 7px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--sage);
}
.timeline__marker--accent { border-color: var(--wine); background: var(--wine); }
.timeline h4 { font-size: 1.28rem; margin-bottom: 4px; }
.timeline p { font-size: 0.95rem; color: var(--ink-soft); margin: 0 !important; }

/* ── Team ──────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
}
.team-card { text-align: center; }
.team-card__photo {
  position: relative;
  aspect-ratio: 3 / 3.6;
  border-radius: 4px;
  margin-bottom: 18px;
  background:
    linear-gradient(160deg, rgba(110,31,46,0.06), rgba(113,128,95,0.10)),
    var(--cream-deep);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__photo span {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--sand);
  letter-spacing: 0.06em;
}
.team-card__photo em {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  opacity: 0.7;
}
.team-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.team-card p { font-size: 0.88rem; color: var(--ink-soft); padding: 0 6px; }
.team-photo {
  max-width: 860px;
  margin: clamp(48px, 7vw, 80px) auto 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 70px -35px rgba(60, 40, 20, 0.5);
  position: relative;
}
.team-photo img { width: 100%; }
.team-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px 14px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  background: linear-gradient(0deg, rgba(20,12,10,0.6), transparent);
}

/* ── Weine ─────────────────────────────────────── */
.wine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
}
.wine-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 30px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.wine-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -30px rgba(60, 40, 20, 0.4);
}
.wine-card__type {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.wine-card__type--white { color: var(--sage); border: 1px solid var(--sage); }
.wine-card__type--red { color: var(--wine); border: 1px solid var(--wine); }
.wine-card h3 { margin-bottom: 10px; }
.wine-card p { font-size: 0.93rem; color: var(--ink-soft); }

/* ── Philosophie ───────────────────────────────── */
.philo {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.philo__media {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 70px -35px rgba(60, 40, 20, 0.5);
}
.philo__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.philo__text p { max-width: 60ch; }
.philo__list { list-style: none; margin-top: 28px; }
.philo__list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.philo__list li strong {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--ink);
  margin-right: 6px;
}

/* ── CTA & Footer ──────────────────────────────── */
.cta {
  background: var(--wine-deep);
  background: linear-gradient(160deg, #571a26 0%, var(--wine-deep) 70%);
  color: #f3e9d8;
  padding: clamp(90px, 12vw, 150px) 0;
  text-align: center;
}
.cta h2 { color: #fbf5ea; }
.cta__inner { max-width: 780px; }
.cta__text {
  margin: 26px auto 40px;
  max-width: 560px;
  color: rgba(243, 233, 216, 0.85);
}
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn--light { background: #f3e9d8; color: var(--wine-deep); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.5); }
.btn--ghost { border: 1px solid rgba(243, 233, 216, 0.5); color: #f3e9d8; }
.btn--ghost:hover { background: rgba(243, 233, 216, 0.12); }

.footer {
  background: #3d1119;
  color: rgba(243, 233, 216, 0.7);
  padding: 44px 0;
  font-size: 0.85rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: #f3e9d8;
  line-height: 1.05;
}
.footer__brand-sub {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(243, 233, 216, 0.6);
  margin: 4px 0 12px;
}
.footer a { color: rgba(243, 233, 216, 0.85); }
.footer__legal { text-align: right; }
.footer__note { font-size: 0.72rem; opacity: 0.6; margin-top: 4px; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; }
  .story__media {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 28px;
    align-items: end;
    margin-bottom: 44px;
  }
  .story__quote { margin-top: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .wine-grid { grid-template-columns: repeat(2, 1fr); }
  .philo { grid-template-columns: 1fr; }
  .philo__media { max-width: 560px; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px 36px;
    box-shadow: -20px 0 60px rgba(40, 25, 15, 0.25);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav.menu-open .nav__links { transform: translateX(0); }
  .nav__links a { color: var(--ink) !important; font-size: 0.95rem; }
  .nav__burger { display: flex; position: relative; z-index: 110; }

  .lagen-cards { grid-template-columns: 1fr; gap: 34px; }
  .story__media { grid-template-columns: 1fr; }
  .story__portrait { max-width: 420px; }
  .story__quote { margin-top: 26px; }
  .footer__inner { flex-direction: column; gap: 18px; }
  .footer__legal { text-align: left; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav__logo { height: 36px; }
  .nav__brand-sub { font-size: 0.55rem; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-card__photo span { font-size: 2.2rem; }
  .team-card p { font-size: 0.8rem; padding: 0; }
  .wine-grid { grid-template-columns: 1fr; }
  .cta__actions .btn { width: 100%; text-align: center; }
  .hero__eyebrow { letter-spacing: 0.28em; }
}

/* ── Ergänzungen: echte Inhalte (Story, Karte, Erleben) ── */
.timeline__year {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--wine);
  margin-bottom: 3px;
}

.map__label--poi { font-size: 13px; letter-spacing: 0.04em; fill: #6a5a44; font-weight: 500; }
.map__label--poisub { font-size: 10.5px; letter-spacing: 0.06em; fill: #8a7a60; }

.wine-note {
  margin-top: 42px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.section--erleben { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.erleben {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.erleben__media {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 70px -35px rgba(60, 40, 20, 0.5);
  position: relative;
}
.erleben__media img { width: 100%; object-fit: cover; }
.erleben__media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.88);
  background: linear-gradient(0deg, rgba(20,12,10,0.65), transparent);
}
.erleben__block { margin-bottom: 30px; }
.erleben__block h3 { margin-bottom: 8px; }
.erleben__block p { max-width: 56ch; color: var(--ink-soft); font-size: 0.98rem; }
.erleben__meta {
  font-size: 0.74rem !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage) !important;
  margin-bottom: 10px;
}
.erleben__detail {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 55px -30px rgba(60, 40, 20, 0.45);
  max-width: 420px;
}
.erleben__detail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.footer__logo {
  height: 62px;
  width: auto;
  margin-bottom: 12px;
}

@media (max-width: 980px) {
  .erleben { grid-template-columns: 1fr; }
  .erleben__media { max-width: 620px; }
}
