/* Just Whisky Hamburg – Basis-Layout, Typografie, Grundkomponenten.
   Baut auf tokens.css auf. Detailkomponenten kommen mit den Seiten dazu. */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blau);
  font-weight: 600;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--rot-text);
}

/* Überschriften – Bitter 800; H2/H3 in Großbuchstaben (Markenregel) */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--blau);
}
h1 {
  font-size: clamp(44px, 5.4vw, 80px);
  line-height: 1.02;
}
h2 {
  font-size: clamp(36px, 4.2vw, 60px);
  text-transform: uppercase;
}
h3 {
  font-size: 26px;
  text-transform: uppercase;
}

p {
  margin: 0 0 1em;
  max-width: 68ch; /* ca. 75 Zeichen */
}
.lead {
  font-size: 20px;
}

/* Layout */
.inhalt {
  max-width: var(--inhalt-max);
  margin-inline: auto;
  padding-inline: var(--rand);
}
.sektion {
  padding-block: var(--sektion-y);
}
.sektion--papier {
  background-color: var(--papier);
  background-image: url("/static/jwh/img/papier.e34ea4140aea.jpg");
  background-size: cover;
  background-position: top center;
}
.sektion--weiss { background: var(--weiss); }
.sektion--blau {
  background: var(--blau);
  color: var(--text-auf-blau);
}
.sektion--blau h1,
.sektion--blau h2,
.sektion--blau h3 { color: var(--weiss); }

/* Kopf / Navigation */
.kopf {
  background: var(--weiss);
  border-bottom: 1px solid rgba(0, 64, 112, .12);
}
.kopf__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}
.kopf__logo img { height: 64px; width: auto; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
.nav a {
  color: var(--blau);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 2px;
}
.nav a:hover { color: var(--rot-text); }
.nav__ticket {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  background: var(--rot);
  color: var(--weiss) !important;
}
.nav__ticket:hover { background: #c01f27; color: var(--weiss) !important; }

/* Mobiles Menü */
.kopf__menue {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.kopf__menue span {
  display: block;
  height: 3px;
  background: var(--blau);
  border-radius: 2px;
}
@media (max-width: 760px) {
  .kopf__inner { flex-wrap: wrap; }
  .kopf__menue { display: flex; }
  .nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
  }
  .nav--offen { display: flex; }
  .nav a { padding: 14px 2px; border-top: 1px solid rgba(0, 64, 112, .12); }
  .nav__ticket { justify-content: center; margin-top: 10px; border-top: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn--primaer {
  background: var(--rot);
  color: var(--weiss);
  box-shadow: 0 6px 14px rgba(180, 30, 38, .28);
}
.btn--primaer:hover { color: var(--weiss); background: #c01f27; }
.btn--gross { min-height: 58px; font-size: 20px; }
.btn--sekundaer {
  background: var(--blau);
  color: var(--weiss);
}
.btn--sekundaer:hover { color: var(--weiss); background: #003257; }

/* Foto im weißen Rahmen („Polaroid") */
.foto {
  background: var(--weiss);
  padding: 10px 10px 12px;
  box-shadow: var(--schatten-foto);
  display: inline-block;
}
.foto img { width: 100%; }
.foto__unter {
  font-style: italic;
  font-size: 16px;
  color: var(--blau);
  margin: 8px 2px 0;
}
.sektion--blau .foto { box-shadow: var(--schatten-foto-blau); }

/* Fußbereich */
.fuss {
  background: var(--blau);
  color: var(--text-auf-blau);
  padding-block: 56px;
}
.fuss a { color: var(--weiss); }

/* Hilfen */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
:where(a, button):focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 2px;
}
