/* 25 Jahre Bierclub Rattelsdorf - static onepager */

:root {
  --ink: #14100c;
  --ink-soft: #221a13;
  --cream: #f8f3e8;
  --cream-dim: #e6dcc8;
  --amber: #e8a33d;
  --amber-deep: #c8801c;
  --green: #47814f;
  --line: rgba(20, 16, 12, .14);
  --line-dark: rgba(248, 243, 232, .16);
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--amber-deep); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--cream);
  padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 16, 12, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.nav__brand {
  font-size: 1.3rem; font-weight: 800; letter-spacing: .04em;
  color: var(--cream); text-decoration: none;
}
.nav__brand span { color: var(--amber); }
.nav__list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px;
  margin: 0; padding: 0;
}
.nav__list a {
  color: var(--cream-dim); text-decoration: none;
  font-size: .95rem; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav__list a:hover, .nav__list a:focus { color: var(--amber); border-bottom-color: var(--amber); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .62;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,12,.95) 0%, rgba(20,16,12,.45) 45%, rgba(20,16,12,.35) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap);
  margin: 0 auto; padding: 90px 24px 64px;
  color: var(--cream);
}
.hero__kicker {
  margin: 0 0 12px;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .8rem; font-weight: 600; color: var(--amber);
}
.hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  line-height: 1.05; font-weight: 800; letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.hero__num { color: var(--amber); }
.hero__meta {
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem); font-weight: 600;
  color: var(--cream);
}
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__countdown {
  margin: 22px 0 0;
  font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream-dim);
}

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

.btn {
  display: inline-block;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 650; font-size: .98rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .12s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: #f2b356; }
.btn--ghost { border-color: rgba(248,243,232,.5); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(248,243,232,.1); }
.btn-row { margin: 24px 0; }

/* ---------- Bands ---------- */

.band { padding: 84px 0; }
.band--dark { background: var(--ink-soft); color: var(--cream); }
.band--dark a { color: var(--amber); }
.band--facts { background: var(--amber); padding: 0; }

.h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15;
  font-weight: 800; letter-spacing: -.015em;
}
.lead { margin: 0 0 34px; font-size: 1.1rem; max-width: 56ch; opacity: .88; }
.small { font-size: .9rem; opacity: .75; }

/* ---------- Facts ---------- */

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; padding: 0 24px;
}
.fact {
  padding: 34px 0 32px;
  display: flex; flex-direction: column; gap: 6px;
  color: var(--ink);
}
.fact + .fact { border-left: 1px solid rgba(20,16,12,.18); padding-left: 28px; }
.fact__label {
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; font-weight: 700; opacity: .7;
}
.fact__value { font-size: 1.22rem; line-height: 1.35; font-weight: 750; }
.fact__note { font-size: .88rem; opacity: .72; }

/* ---------- Programm ---------- */

.days { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.day {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: 14px;
  padding: 30px 30px 34px;
  box-shadow: 0 2px 14px rgba(20,16,12,.05);
}
.day:nth-child(2) { border-top-color: var(--amber-deep); }
.day__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.day__dow {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .74rem; font-weight: 700;
  background: var(--ink); color: var(--cream);
  padding: 4px 10px; border-radius: 4px;
}
.day__date { font-size: .92rem; opacity: .7; }
.day__act { margin: 0; font-size: 1.6rem; line-height: 1.2; font-weight: 800; }
.day__sub { margin: 4px 0 14px; color: var(--green); font-weight: 600; }
.day__text { margin: 0; opacity: .85; }

/* ---------- Essen / Anfahrt ---------- */

.essen, .anfahrt {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: start;
}
.list { margin: 0 0 20px; padding-left: 1.15em; }
.list li { margin-bottom: 9px; }
.list--tight li { margin-bottom: 14px; }

figure { margin: 0; }
.essen__fig img, .anfahrt__fig img {
  border-radius: 14px; width: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,.22);
}
figcaption { margin-top: 10px; font-size: .84rem; opacity: .65; }

/* Self-made Reinheitsgebot card - no third-party image, no rights issues */
.gebot {
  background: linear-gradient(160deg, #f4e7cc 0%, #e8d5ad 100%);
  color: #3a2a14;
  border-radius: 14px;
  padding: 38px 32px 32px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.28), inset 0 0 0 1px rgba(58,42,20,.12);
}
.gebot__eyebrow {
  margin: 0;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; font-weight: 700; opacity: .72;
}
.gebot__year {
  margin: 2px 0 18px;
  font-size: 3.4rem; line-height: 1; font-weight: 800; letter-spacing: -.03em;
  color: var(--amber-deep);
}
.gebot__quote {
  margin: 0 0 22px;
  font-size: 1.02rem; line-height: 1.6; font-style: italic;
  border-top: 1px solid rgba(58,42,20,.22);
  border-bottom: 1px solid rgba(58,42,20,.22);
  padding: 18px 0;
}
.gebot__parts {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; gap: 10px 22px; flex-wrap: wrap;
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 700;
}
.gebot__parts li + li { position: relative; }
.gebot__parts li + li::before {
  content: "\2022"; position: absolute; left: -14px; opacity: .45;
}

.address { font-style: normal; font-size: 1.1rem; line-height: 1.7; font-weight: 600; }

/* ---------- Galerie ---------- */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 10px;
  transition: transform .2s ease;
}
.gallery img:hover { transform: scale(1.02); }

/* ---------- Kontakt ---------- */

.kontakt { text-align: center; }
.kontakt .lead { margin-left: auto; margin-right: auto; }
.kontakt__mail { font-size: clamp(1.2rem, 3.4vw, 1.9rem); font-weight: 750; margin: 0 0 10px; }
.kontakt__mail a { text-decoration: none; border-bottom: 3px solid var(--amber); }

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

.footer { background: var(--ink); color: var(--cream-dim); padding: 30px 0; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer__nav { display: flex; gap: 20px; }
.footer a { color: var(--cream-dim); }

/* ---------- Legal pages ---------- */

.legal { padding: 60px 0 80px; max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 8px; }
.legal h2 { font-size: 1.2rem; margin: 38px 0 8px; }
.legal .back { display: inline-block; margin-bottom: 30px; font-size: .92rem; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid rgba(20,16,12,.18); padding-left: 0; padding-top: 26px; }
  .days, .essen, .anfahrt { grid-template-columns: 1fr; gap: 26px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .band { padding: 60px 0; }
  .nav__inner { padding: 10px 20px; }
  .wrap { padding: 0 20px; }
  .hero__inner { padding: 70px 20px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .gallery img:hover { transform: none; }
}

@media print {
  .nav, .hero__bg, .hero__actions, .gallery { display: none; }
  body { background: #fff; color: #000; }
  .band--dark, .band--facts { background: #fff; color: #000; }
}
