/* ============================================================================
   Oktoberfest Oldenburg 2026 — stylesheet
   ----------------------------------------------------------------------------
   Ported from the Claude Design document "Oktoberfest Oldenburg v2".
   Values (colours, spacing, clamps, shadows) are carried over verbatim from the
   design's inline styles; what is added here and did not exist there:
     - real :hover / :focus-visible rules (the design used a style-hover attr)
     - media queries — the design had none and overflowed at phone widths
     - a burger nav below 900 px
     - gold-on-light text uses --gold-ink for WCAG AA contrast (see below)
   ========================================================================= */

:root {
  --navy: #141d3a;
  --navy-ink: #1c2749;
  --gold: #c9973a;
  --gold-hover: #dfae52;
  /* The design paints small gold labels in --gold on cream (~2.6:1, fails AA).
     --gold-ink is the design's own darker gold, already used for chips on light
     backgrounds. Gold on navy stays --gold, which passes. */
  --gold-ink: #8a6318;
  --cream: #faf7f0;
  --sand: #f1ece0;
  --blue: #2f55a8;
  --blue-light: #7c95d6;
  --ice: #f5f8ff;
  --ink: #454c5e;
  --ink-soft: #5a6172;
  --ink-faint: #8a8f9c;
  --ink-caption: #7a715d;
  --link: #33508f;
  --white: #fff;
  --line: rgba(28, 39, 73, 0.12);
  --line-soft: rgba(28, 39, 73, 0.1);
  --shadow-card: 0 10px 30px rgba(28, 39, 73, 0.07);
  --shadow-gold: 0 10px 30px rgba(201, 151, 58, 0.35);

  --on-dark: rgba(250, 247, 240, 0.75);
  --on-dark-strong: rgba(250, 247, 240, 0.9);
  --dark-fill: rgba(250, 247, 240, 0.1);
  --dark-fill-soft: rgba(250, 247, 240, 0.06);
  --dark-line: rgba(250, 247, 240, 0.3);

  --font-display: "Archivo", Helvetica, Arial, sans-serif;
  --font-body: Helvetica, Arial, sans-serif;

  --nav-h: 62px;
  --gutter: 32px;
  --section-y: 96px;
  --shell: 1080px;
}

/* Self-hosted (no Google Fonts CDN — visitor IPs stay on our server).
   Variable font, weights 500–900; see src/fonts/OFL.txt for the licence. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- base ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--navy-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  /* Belt and braces against a stray wide child forcing a sideways scroll. */
  overflow-x: hidden;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

a:hover {
  color: var(--gold-ink);
}

img,
svg {
  max-width: 100%;
}

input,
select,
textarea {
  font-family: var(--font-body);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
  color: var(--navy);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Bavarian lozenge band — the design's conic-gradient, as one class. */
.rauten {
  height: 16px;
  background: conic-gradient(
      from 45deg,
      var(--blue) 0 25%,
      var(--ice) 0 50%,
      var(--blue) 0 75%,
      var(--ice) 0
    )
    0 0 / 28px 28px;
}

.rauten--hero {
  position: relative;
  height: 18px;
  background-size: 30px 30px;
}

.rauten--card {
  height: 10px;
  background-size: 22px 22px;
}

/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  border-radius: 4px;
  font-family: var(--font-display);
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.04em;
  padding: 18px 40px;
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-hover);
  color: var(--navy);
}

.btn--navy {
  display: block;
  background: var(--navy);
  color: var(--cream);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 15px 20px;
}

.btn--navy:hover,
.btn--navy:focus-visible {
  background: var(--blue);
  color: var(--cream);
}

/* --- nav ----------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  background: var(--navy);
  color: var(--cream);
  border-bottom: 3px solid var(--gold);
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}

.nav__brand:hover {
  color: var(--cream);
}

.nav__brand span {
  color: var(--gold);
}

.nav__menu {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 8px;
  column-gap: clamp(14px, 2.2vw, 28px);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.nav__link {
  color: var(--cream);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="true"] {
  color: var(--gold);
}

.nav__cta {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  white-space: nowrap;
}

.nav__cta:hover,
.nav__cta:focus-visible {
  background: var(--gold-hover);
  color: var(--navy);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--dark-line);
  border-radius: 4px;
  color: var(--cream);
  cursor: pointer;
}

.nav__burger,
.nav__burger::before,
.nav__burger::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav__burger::before,
.nav__burger::after {
  content: "";
  position: relative;
}

.nav__burger::before {
  top: -6px;
}

.nav__burger::after {
  top: 4px;
}

.nav[data-open] .nav__burger {
  background: transparent;
}

.nav[data-open] .nav__burger::before {
  transform: translateY(6px) rotate(45deg);
}

.nav[data-open] .nav__burger::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  color: var(--cream);
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-zelt-900.webp");
  background-size: cover;
  background-position: center 30%;
  filter: blur(3px);
  transform: scale(1.05);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 22, 46, 0.92) 0%,
    rgba(15, 22, 46, 0.72) 45%,
    rgba(15, 22, 46, 0.94) 100%
  );
}

.hero__inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 88px var(--gutter) 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero__eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: rgba(250, 247, 240, 0.08);
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Wraps the wordmark so the event name can be the h1 without altering the layout:
   flex (not the default block) so the image contributes no inline baseline gap. */
.hero__h1 {
  margin: 0;
  display: flex;
}

.hero__logo {
  width: min(680px, 88vw);
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.55));
}

.hero__presented {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

.hero__rule-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(520px, 100%);
}

.hero__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 151, 58, 0.7));
}

.hero__rule:last-child {
  background: linear-gradient(90deg, rgba(201, 151, 58, 0.7), transparent);
}

.hero__rule-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.hero__presenter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2.2vw, 24px);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--cream);
}

.hero__partners {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__partners-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.5);
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  border: 1px solid var(--dark-line);
  background: var(--dark-fill-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(250, 247, 240, 0.85);
}

.hero__date {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 27px);
  letter-spacing: 0.06em;
  padding: 14px 52px;
  clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - 20px) 50%,
    100% 100%,
    0 100%,
    20px 50%
  );
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
}

.hero__lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  max-width: 620px;
  margin: 4px 0 0;
  color: var(--on-dark-strong);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.hero__features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}

.feature {
  background: var(--dark-fill);
  border: 1px solid rgba(250, 247, 240, 0.2);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
}

/* --- section scaffolding ------------------------------------------------- */

.section {
  padding: var(--section-y) var(--gutter);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.section--shell {
  max-width: var(--shell);
  margin: 0 auto;
}

.section--sand {
  background: var(--sand);
}

.section--navy {
  background: var(--navy);
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
}

.shell--wide {
  max-width: 1120px;
}

.section__head {
  text-align: center;
  margin-bottom: 52px;
}

.section__head--tight {
  margin-bottom: 20px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 12px;
}

.section--navy .eyebrow,
.hero .eyebrow {
  color: var(--gold);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 4.8vw, 54px);
  margin: 0;
  text-transform: uppercase;
  line-height: 1.05;
}

.section__title--sm {
  font-size: clamp(34px, 4vw, 46px);
  margin: 0 0 20px;
}

.section--navy .section__title {
  color: var(--cream);
}

.section__lead {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}

.section__lead--wide {
  max-width: 660px;
}

.section--navy .section__lead {
  color: var(--on-dark);
}

/* --- programm ------------------------------------------------------------ */

.programm__grid {
  display: grid;
  /* Fixed count, as in the design: auto-fit would open a third, empty track
     once the 1080 px shell is wide enough for one, shrinking both day cards. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.daycard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.daycard__head {
  background: var(--navy);
  color: var(--cream);
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.daycard__day {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 27px;
  text-transform: uppercase;
}

.daycard__time {
  color: var(--gold);
  font-weight: 800;
  font-size: 15px;
}

.daycard__body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.6;
}

.daycard__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
}

.daycard__body p {
  margin: 0;
  color: var(--ink);
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tag {
  background: rgba(201, 151, 58, 0.15);
  color: var(--gold-ink);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

/* --- tickets ------------------------------------------------------------- */

.tickets__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
  align-items: stretch;
}

.paket {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(28, 39, 73, 0.06);
}

.paket__badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.paket__audience {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  min-height: 32px;
  display: flex;
  align-items: flex-start;
}

.paket__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.15;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  min-height: 76px;
  display: flex;
  align-items: flex-start;
}

.paket__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 44px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}

.paket__amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  white-space: nowrap;
}

.paket__unit {
  font-size: 14px;
  color: var(--ink-soft);
}

.paket__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.paket__list li {
  display: flex;
  gap: 10px;
}

.paket__check {
  color: var(--gold);
  font-weight: 900;
}

.paket__spacer {
  flex: 1;
}

.tickets__footer {
  margin-top: 40px;
  text-align: center;
}

.tickets__note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* --- split layouts (tischplan / anfahrt / veranstalter) ------------------ */

.split {
  display: grid;
  gap: 56px;
  align-items: center;
}

.split--tischplan {
  grid-template-columns: 0.9fr 1.4fr;
}

.split--anfahrt {
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}

.split--veranstalter {
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.prose {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
}

.prose--gap {
  margin-bottom: 24px;
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
}

.legend__swatch {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  flex-shrink: 0;
}

.legend__swatch--tisch {
  background: #e5b95c;
  border: 1.5px solid #b98a2e;
}

.legend__swatch--box {
  background: var(--blue-light);
  border: 1.5px solid var(--blue);
}

.legend__swatch--frei {
  background: #d4d0c6;
  border: 1.5px solid #a8a294;
}

.legend__swatch--buehne {
  background: var(--navy);
}

.legend__text {
  display: flex;
  flex-direction: column;
}

.legend__text strong {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
}

.legend__text span {
  font-size: 13px;
  color: var(--ink-faint);
}

.tischplan__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.tischplan__svg {
  width: 100%;
  height: auto;
  display: block;
}

/* --- impressionen -------------------------------------------------------- */

.plakate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.plakat {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  display: block;
}

.plakat--raised {
  transform: translateY(-12px) scale(1.03);
}

/* --- anfahrt ------------------------------------------------------------- */

.facts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.fact {
  display: flex;
  gap: 14px;
}

.fact dt,
.fact__label {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--navy);
  min-width: 92px;
  margin: 0;
}

.fact dd {
  margin: 0;
}

.figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(28, 39, 73, 0.15);
  display: block;
  box-shadow: 0 14px 36px rgba(28, 39, 73, 0.15);
}

.figure figcaption {
  font-size: 13.5px;
  color: var(--ink-caption);
  text-align: center;
}

/* --- veranstalter -------------------------------------------------------- */

.herz {
  display: flex;
  align-items: center;
  justify-content: center;
}

.herz img {
  width: min(380px, 100%);
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(28, 39, 73, 0.2));
}

.partners {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.partners img {
  width: auto;
}

.partner-logo--famila {
  height: 52px;
}

.partner-logo--otto {
  height: 48px;
}

.partner-logo--ols {
  height: 40px;
}

/* --- footer -------------------------------------------------------------- */

.footer {
  background: var(--navy);
  color: var(--on-dark);
  padding: 56px var(--gutter) 32px;
  border-top: 3px solid var(--gold);
}

.footer__grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
}

.footer__brand span {
  color: var(--gold);
}

.footer__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__logos img {
  width: auto;
}

.footer__logo--famila {
  height: 40px;
  border-radius: 4px;
}

.footer__logo--otto {
  height: 44px;
}

.footer__logo--ols {
  height: 36px;
  border-radius: 4px;
}

.footer__col {
  font-size: 14px;
  line-height: 2;
}

.footer__head {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer a {
  color: var(--on-dark);
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--gold);
}

.footer__bottom {
  max-width: var(--shell);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 247, 240, 0.15);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- legal / text pages -------------------------------------------------- */

.page {
  padding: clamp(48px, 7vw, 80px) var(--gutter);
  max-width: 760px;
  margin: 0 auto;
}

.page__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 46px);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 8px;
}

/* German compound nouns ("Verbraucherstreitbeilegung") are longer than a phone
   viewport at these sizes; html[lang=de] gives hyphens:auto correct break points. */
.page__title,
.page h2,
.page h3 {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.page__intro {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 36px;
}

.page h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 40px 0 12px;
}

.page h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  margin: 26px 0 8px;
}

.page p,
.page li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.page ul,
.page ol {
  padding-left: 22px;
}

.page li {
  margin-bottom: 8px;
}

.page address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
}

.page__box {
  background: var(--sand);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.page__box p:first-child {
  margin-top: 0;
}

.page__box p:last-child {
  margin-bottom: 0;
}

.page__back {
  display: inline-block;
  margin-top: 48px;
  font-weight: 700;
}

.page--center {
  text-align: center;
}

.page--center .page__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

/* ========================================================================
   Responsive. None of this existed in the design document, which overflowed
   to 511 px at a 375 px viewport.
   ===================================================================== */

/* Tablet: the three two-column splits stack. */
@media (max-width: 1024px) {
  :root {
    --section-y: clamp(56px, 8vw, 96px);
  }

  .split--tischplan,
  .split--anfahrt,
  .split--veranstalter {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  /* Reads as a mistake once the posters are no longer a neat row of three. */
  .plakat--raised {
    transform: none;
  }

  .herz img {
    width: min(320px, 100%);
  }
}

/* Burger nav. Above this the design's inline nav is intact. */
@media (max-width: 900px) {
  .nav {
    gap: 12px;
    justify-content: space-between;
  }

  /* The links become a drop-down panel; the gold CTA and the burger stay in the
     bar. `order` moves the panel below them without changing the DOM order that
     keyboard focus follows. */
  .nav__brand {
    order: 1;
  }

  .nav__cta {
    order: 2;
    margin-left: auto;
  }

  .nav__toggle {
    display: block;
    order: 3;
  }

  .nav__menu {
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--navy);
    border-bottom: 3px solid var(--gold);
    padding: 6px var(--gutter) 18px;
    row-gap: 0;
    font-size: 17px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  }

  .nav[data-open] .nav__menu {
    display: flex;
  }

  .nav__menu .nav__link {
    padding: 14px 2px;
    border-bottom: 1px solid rgba(250, 247, 240, 0.12);
  }

  .nav__menu .nav__link:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
  }

  .hero__inner {
    padding: 56px var(--gutter) 52px;
    gap: 18px;
  }

  .hero__presented {
    margin-top: 10px;
  }

  .hero__features {
    margin-top: 14px;
  }

  .feature,
  .chip {
    font-size: 13px;
  }

  .section__head {
    margin-bottom: 36px;
  }

  .daycard__head,
  .daycard__body {
    padding: 20px 22px;
  }

  .paket {
    padding: 30px 24px;
  }

  /* The min-heights only exist to align cards in a row — pointless once
     they are stacked, and they leave odd gaps. */
  .paket__audience,
  .paket__name,
  .paket__price {
    min-height: 0;
  }

  .programm__grid,
  .plakate {
    grid-template-columns: minmax(0, 1fr);
  }

  .tischplan__card {
    padding: 14px;
  }

  .footer__bottom {
    margin-top: 28px;
  }
}

/* Below the design's 1080 px shell the four ticket cards no longer fit in one
   row; auto-fit would leave a lone card on a second row (3+1), so pin them to a
   balanced 2x2 instead. */
@media (max-width: 1079px) and (min-width: 561px) {
  .tickets__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tickets__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Footer: the design's 1.4fr/1fr/1fr gets cramped before the burger appears.
   Brand block spans the full width, the two link columns share a row. */
@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }

  .footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Phones. The hero date banner and the nowrap chips were the two elements
   pushing the document past the viewport width. */
@media (max-width: 560px) {
  /* On a 320 px screen the brand, the CTA and the burger cannot all keep their
     desktop size. The brand wraps to two lines, the CTA drops to "Tickets" —
     the gold pill stays in the bar, which is the point of it. */
  .nav {
    gap: 10px;
    padding: 12px 16px;
  }

  .nav__brand {
    font-size: 15px;
    letter-spacing: 0.02em;
    line-height: 1.1;
    white-space: normal;
    max-width: 8ch;
  }

  .nav__cta {
    font-size: 12px;
    padding: 9px 14px;
  }

  .nav__cta-long {
    display: none;
  }

  .nav__toggle {
    width: 40px;
    height: 36px;
  }

  .hero__date {
    font-size: clamp(15px, 4.6vw, 19px);
    padding: 12px 34px;
    white-space: normal;
    text-wrap: balance;
    clip-path: polygon(
      0 0,
      100% 0,
      calc(100% - 12px) 50%,
      100% 100%,
      0 100%,
      12px 50%
    );
  }

  .hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.1em;
    padding: 8px 16px;
  }

  .hero__rule-label {
    letter-spacing: 0.18em;
    white-space: normal;
  }

  .chip {
    white-space: normal;
  }

  .btn--gold {
    font-size: 15px;
    padding: 16px 28px;
  }

  .daycard__day {
    font-size: 23px;
  }

  .fact {
    flex-direction: column;
    gap: 2px;
  }

  .partners {
    gap: 20px;
  }

  .page h2 {
    font-size: 19px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}
