/* Webfonts */
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/lexend-latin.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: "Lexend";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/lexend-latin-ext.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;
}

@font-face {
  font-family: "BBH Bartle";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bbh-bartle-latin.woff2") format("woff2");
}

/* Theme-Variablen */
:root {
  color-scheme: dark;
  --font: "Lexend", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-signature: "BBH Bartle", "Lexend", sans-serif;

  --c-bg: #212121;
  --c-surface: #2a2a2a;
  --c-surface-2: #333333;
  --c-line: #3d3d3d;
  --c-text: #ffffff;
  --c-soft: #c7c7c7;
  --c-mute: #9e9e9e;
  --c-accent: #ff7302;
  --c-accent-hi: #ff8a2b;
  --c-accent-text: #ff7302;
  --c-on-accent: #000000;
  --c-focus: #ff7302;
  --c-header: rgb(33 33 33 / 0.94);
  --c-mark: #000000;
  --c-map-land: #2a2a2a;
  --c-map-stroke: #3d3d3d;
  --c-dot: #ffffff;
  --c-dot-ring: #212121;
  --c-overlay-a: rgb(33 33 33 / 0.92);
  --c-overlay-b: rgb(33 33 33 / 0.8);
  --c-overlay-c: rgb(33 33 33 / 0.58);
  --shadow-card: 0 18px 40px -16px rgb(255 115 2 / 0.38);
  --shadow-float: 0 18px 40px -12px rgb(0 0 0 / 0.55);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-pill: 25px;

  --icon: 1.25rem;
  --icon-box: 2.75rem;
  --header-h: 3.5rem;
  --container: 77.5rem;
  --gutter: 1rem;
  --section-pad: clamp(4rem, 2.75rem + 4.5vw, 7rem);
  --stack: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --c-bg: #ffffff;
  --c-surface: #f2f2f2;
  --c-surface-2: #e4e4e4;
  --c-line: #cccccc;
  --c-text: #141414;
  --c-soft: #3d3d3d;
  --c-mute: #5c5c5c;
  --c-accent-text: #b23c00;
  --c-focus: #b23c00;
  --c-header: rgb(255 255 255 / 0.95);
  --c-mark: rgb(0 0 0 / 0.16);
  --c-map-land: #ececec;
  --c-map-stroke: #c4c4c4;
  --c-dot: #ffffff;
  --c-dot-ring: #141414;
  --c-overlay-a: rgb(255 255 255 / 0.94);
  --c-overlay-b: rgb(255 255 255 / 0.86);
  --c-overlay-c: rgb(255 255 255 / 0.66);
  --shadow-card: 0 18px 40px -18px rgb(178 60 0 / 0.35);
  --shadow-float: 0 18px 40px -14px rgb(0 0 0 / 0.28);
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  background: var(--c-bg);
}

body {
  min-height: 100svh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

img,
video {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

:root [hidden] {
  display: none;
}

::selection {
  background: var(--c-accent);
  color: var(--c-on-accent);
}

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--c-text);
  color: var(--c-bg);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Allgemeine Bausteine */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--c-surface-2);
}

.section-head {
  max-width: 46rem;
  margin-bottom: var(--stack);
}

.section-head .t-h2 {
  margin-top: 0.75rem;
}

.section-head .lead {
  margin-top: 1.25rem;
}

.section-head-split,
.section-head-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  max-width: none;
}

.t-h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.t-h2 {
  font-size: clamp(1.875rem, 1.55rem + 1.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.t-h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
}

.t-h4 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.t-h5 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.t-label {
  font-size: 0.75rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent-text);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: currentColor;
}

.lead {
  max-width: 62ch;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.accent {
  color: var(--c-accent-text);
}

.muted {
  color: var(--c-soft);
}

.signature {
  font-family: var(--font-signature);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.link {
  font-weight: 700;
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

.link-quiet {
  color: var(--c-soft);
  text-decoration: underline;
  text-decoration-color: var(--c-line);
  text-underline-offset: 0.25em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

@media (hover: hover) {
  .link:hover {
    color: var(--c-accent-text);
  }

  .link-quiet:hover {
    color: var(--c-text);
    text-decoration-color: var(--c-accent);
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 1.5rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 2.5rem;
  }

  .section-head-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }
}

@media (min-width: 768px) {
  .section-head-action {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

/* Icons und Buttons */
.icon {
  width: var(--icon);
  height: var(--icon);
  flex: none;
  fill: currentColor;
}

.icon-box {
  display: grid;
  flex: none;
  place-items: center;
  width: var(--icon-box);
  height: var(--icon-box);
  border-radius: var(--radius-sm);
  background: var(--c-surface-2);
  color: var(--c-accent-text);
}

.icon-btn {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  color: var(--c-accent-text);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  user-select: none;
  touch-action: manipulation;
  transition: transform 0.25s var(--ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn > span {
  line-height: 1;
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn[aria-busy="true"] {
  opacity: 1;
  cursor: progress;
}

.btn[aria-busy="true"] .icon {
  animation: spin 0.9s linear infinite;
}

.btn-sm {
  width: auto;
  min-height: 2.5rem;
  padding: 0.375rem 0.875rem;
  gap: 0.375rem;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 3.5rem;
  padding: 0.5rem 1.5rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-on-accent);
}

.btn-outline {
  border-color: var(--c-text);
  color: var(--c-text);
}

.btn-quiet {
  border-color: var(--c-line);
  background: var(--c-surface);
  color: var(--c-text);
}

.btn-quiet .icon {
  color: var(--c-accent-text);
}

.btn-dark {
  background: #000000;
  color: #ffffff;
}

.btn-light {
  background: var(--c-text);
  color: var(--c-bg);
}

.btn.is-done {
  border-color: var(--c-line);
  background: var(--c-surface-2);
  color: var(--c-text);
}

@media (hover: hover) {
  .icon-btn:hover {
    border-color: var(--c-accent);
    background: var(--c-accent);
    color: var(--c-on-accent);
  }

  .btn-primary:hover:not(:disabled) {
    background: var(--c-accent-hi);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
  }

  .btn-outline:hover:not(:disabled) {
    background: var(--c-text);
    color: var(--c-bg);
  }

  .btn-quiet:hover:not(:disabled) {
    border-color: var(--c-accent);
  }

  .btn-dark:hover:not(:disabled) {
    background: #ffffff;
    color: #000000;
  }

  .btn-light:hover:not(:disabled) {
    opacity: 0.88;
  }
}

@media (min-width: 768px) {
  .btn {
    width: auto;
  }

  .btn-block {
    width: 100%;
  }
}

/* Karten, Fotos und Live-Anzeige */
.card {
  border-radius: var(--radius-md);
  background: var(--c-surface);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.photo {
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--c-surface);
  object-fit: cover;
}

.live-dot {
  position: relative;
  display: inline-block;
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 1px;
  background: var(--c-accent);
  vertical-align: middle;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: ping 2s var(--ease) infinite;
}

.live-dot.is-off {
  background: var(--c-mute);
}

.live-dot.is-off::after {
  animation: none;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
  }
}

/* Aufklappbare Texte */
.readmore-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  margin-top: 0.25rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--c-accent-text);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.readmore-toggle .icon {
  transition: transform 0.3s var(--ease);
}

.readmore-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

/* Akkordeon */
.accordion {
  border-top: 1px solid var(--c-line);
}

.acc-item {
  border-bottom: 1px solid var(--c-line);
}

.acc-heading {
  font-size: inherit;
  font-weight: inherit;
}

.acc-trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 3.75rem;
  padding: 1.125rem 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.acc-num {
  flex: none;
  width: 2rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--c-accent-text);
}

.acc-title {
  flex: 1;
  min-width: 0;
}

.acc-icon {
  color: var(--c-accent-text);
  transition: transform 0.3s var(--ease);
}

.acc-trigger[aria-expanded="true"] .acc-icon {
  transform: rotate(180deg);
}

.acc-panel {
  display: grid;
  grid-template-rows: 1fr;
}

.acc-inner {
  min-height: 0;
  overflow: hidden;
}

.acc-inner p {
  max-width: 65ch;
  padding-bottom: 1.5rem;
  padding-right: 2.25rem;
  color: var(--c-soft);
}

.acc-item:has(.acc-num) .acc-inner p {
  padding-left: 3rem;
}

.js .acc-panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s var(--ease), visibility 0s linear 0.35s;
}

.js .acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.35s var(--ease), visibility 0s linear 0s;
}

@media (hover: hover) {
  .acc-trigger:hover {
    color: var(--c-accent-text);
  }
}

@media (min-width: 768px) {
  .acc-trigger {
    font-size: 1.25rem;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--c-surface-2);
  background: var(--c-header);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-text);
  text-decoration: none;
}

.brand-logo {
  width: 1.75rem;
  height: auto;
}

.brand-text {
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-text strong {
  font-weight: 800;
}

@media (max-width: 359px) {
  .brand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

/* Hauptnavigation */
.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 2.5rem;
  padding: 0 0.625rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: var(--c-text);
  transition: color 0.2s ease;
}

.nav-item-sub {
  position: relative;
}

.nav-sub-toggle .icon-caret {
  color: var(--c-accent-text);
  transition: transform 0.25s var(--ease);
}

.nav-item-sub.is-open .icon-caret {
  transform: rotate(180deg);
}

.nav-sub {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 15rem;
  padding: 0.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--c-bg);
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.25rem);
  transition: opacity 0.2s ease, transform 0.2s var(--ease), visibility 0s linear 0.2s;
}

.nav-sub::before {
  content: "";
  position: absolute;
  inset: -0.75rem 0 auto;
  height: 0.75rem;
}

.nav-item-sub.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s var(--ease), visibility 0s linear 0s;
}

.nav-sub-link {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.nav-sub-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--c-soft);
}

@media (hover: hover) {
  .nav-link:hover {
    color: var(--c-accent-text);
  }

  .nav-sub-link:hover {
    background: var(--c-surface);
    color: var(--c-accent-text);
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
    margin-right: auto;
    margin-left: 1rem;
  }
}

/* Header-Aktionen */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions .social-nav {
  display: none;
}

.social-nav {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.header-live {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-soft);
}

.theme-toggle .icon-moon,
:root[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

.ticket-pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  height: 2.5rem;
  padding: 0 0.6875rem;
  border: 1px solid rgb(255 115 2 / 0.5);
  border-radius: var(--radius-pill);
  background: #000000;
  color: #ff7302;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ticket-pill-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-toggle .icon-close,
.site-header.is-open .menu-toggle .icon-open {
  display: none;
}

.site-header.is-open .menu-toggle .icon-close {
  display: block;
}

@media (hover: hover) {
  .ticket-pill:hover {
    background: #ff7302;
    color: #000000;
  }
}

@media (min-width: 480px) {
  .ticket-pill {
    padding: 0 0.875rem;
  }

  .ticket-pill-text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
}

@media (min-width: 1024px) {
  .header-actions .social-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (min-width: 1440px) {
  .header-live {
    display: inline-flex;
  }
}

/* Mobiles Menü */
.mobile-menu {
  display: none;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--c-surface-2);
  background: var(--c-bg);
  padding-bottom: 1.5rem;
}

.no-js .mobile-menu,
.site-header.is-open .mobile-menu {
  display: block;
}

.mobile-list {
  padding-top: 0.5rem;
}

.mobile-link {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--c-surface-2);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-sub {
  padding-left: 1rem;
  border-left: 2px solid var(--c-accent);
  margin-left: 0.25rem;
}

.mobile-link-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-soft);
}

.social-nav-mobile {
  margin-top: 1.25rem;
}

@media (hover: hover) {
  .mobile-link:hover {
    color: var(--c-accent-text);
  }
}

@media (min-width: 1024px) {
  .site-header .mobile-menu,
  .no-js .mobile-menu {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--c-bg);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--c-overlay-a) 0%, var(--c-overlay-b) 50%, var(--c-overlay-c) 100%),
    linear-gradient(0deg, var(--c-bg) 0%, transparent 35%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-block: clamp(2rem, 1.25rem + 2.5vw, 3.5rem) clamp(3rem, 2rem + 3vw, 4.5rem);
}

.hero-date {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-content .t-h1 {
  margin-top: 1.5rem;
}

.hero-text {
  max-width: 36rem;
  margin-top: 1.25rem;
}

.invite {
  max-width: 36rem;
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--c-accent);
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-count {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-count-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-count-label {
  line-height: 1.3;
}

.hero-count-label .live-dot {
  margin-left: 0.375rem;
}

.hero-figure {
  max-width: 36rem;
}

.hero-figure .photo {
  aspect-ratio: 4 / 3;
  object-position: top;
}

@media (min-width: 768px) {
  .hero-date {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 3rem;
  }

  .hero-figure {
    margin-left: auto;
    margin-top: 0.5rem;
  }

  .hero-figure .photo {
    aspect-ratio: 4 / 5;
    max-height: 32rem;
  }
}

/* Termin */
.termin {
  padding-bottom: var(--section-pad);
}

.termin-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.termin-date {
  font-size: clamp(3.5rem, 3rem + 2vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
}

.termin-text {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.countdown .t-label {
  margin-bottom: 0.75rem;
}

.countdown-tiles {
  display: flex;
  gap: 0.5rem;
}

.countdown-tiles li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.countdown-tiles .t-label {
  margin: 0;
}

.count-tile {
  display: grid;
  place-items: center;
  min-width: 3.5rem;
  height: 3.75rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-accent-text);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .countdown-tiles {
    gap: 0.75rem;
  }

  .count-tile {
    min-width: 4.5rem;
    height: 4.75rem;
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .termin-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 2.5rem;
  }
}

/* Städte und Live-Abstimmung */
.total {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1.5rem;
}

.total-count {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.total-num {
  font-size: clamp(3.5rem, 3rem + 1.5vw, 4rem);
  font-weight: 900;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}

.total-label {
  line-height: 1.25;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  color: var(--c-soft);
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "map" "aside" "list";
  gap: 2.5rem;
}

.board-map {
  grid-area: map;
}

.map {
  width: 100%;
  max-width: 34rem;
  height: auto;
  margin-inline: auto;
  overflow: visible;
  touch-action: manipulation;
  user-select: none;
}

.map-land {
  fill: var(--c-map-land);
  stroke: var(--c-map-stroke);
  stroke-width: 2.5px;
  stroke-linejoin: round;
}

.map-city {
  cursor: pointer;
  outline: none;
}

.board[data-all="false"] .map-city:not(.is-lead) {
  display: none;
}

.map-dot {
  fill: var(--c-dot);
  stroke: var(--c-dot-ring);
  stroke-width: 3px;
}

.map-city.is-lead .map-dot {
  fill: var(--c-accent);
}

.map-ring {
  fill: none;
  stroke: var(--c-text);
  stroke-width: 3px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.map-city[aria-pressed="true"] .map-ring {
  opacity: 1;
}

.map-city:focus-visible .map-ring {
  opacity: 1;
  stroke: var(--c-focus);
  stroke-dasharray: 6 4;
}

.map-label {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 700;
  fill: var(--c-text);
  stroke: var(--c-map-land);
  stroke-width: 0.3em;
  stroke-linejoin: round;
  paint-order: stroke;
}

.map-city.is-lead .map-label {
  font-weight: 800;
  fill: var(--c-accent-text);
}

.board-aside {
  grid-area: aside;
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.legend {
  display: grid;
  gap: 0.875rem;
}

.legend li {
  display: flex;
  gap: 0.875rem;
}

.legend-dot {
  display: inline-block;
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.375rem;
  border-radius: 2px;
  background: var(--c-dot);
  box-shadow: 0 0 0 2px var(--c-dot-ring);
}

.legend-dot.is-lead {
  background: var(--c-accent);
}

.missing {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-surface-2);
}

.missing .icon {
  margin-top: 0.1875rem;
  color: var(--c-accent-text);
}

.city-card .muted {
  margin-top: 0.5rem;
}

.city-card-label {
  font-weight: 700;
  color: var(--c-soft);
}

.city-card-label.is-lead {
  color: var(--c-accent-text);
}

.city-card .t-h3 {
  margin-top: 0.5rem;
}

.city-facts {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.25rem;
}

.city-fact {
  display: flex;
  gap: 0.875rem;
}

.city-fact .icon {
  margin-top: 0.125rem;
  color: var(--c-accent-text);
}

.city-fact dt {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-soft);
}

.city-fact dd {
  font-weight: 700;
  line-height: 1.4;
}

.city-card .btn {
  margin-top: 1.5rem;
}

.city-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
}

.city-card-links .icon,
.city-more .icon {
  color: var(--c-accent-text);
}

.board-list {
  grid-area: list;
}

.search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  transition: border-color 0.2s ease;
}

.search .icon {
  color: var(--c-accent-text);
}

.search:focus-within {
  border-color: var(--c-text);
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
}

.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 1rem;
  outline: none;
}

.search input::placeholder {
  color: var(--c-mute);
  opacity: 1;
}

.city-group {
  margin-top: 2.5rem;
}

.city-group-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.city-group-title .legend-dot {
  margin-top: 0;
}

.city-group > .muted {
  margin-top: 0.75rem;
}

.city-list {
  margin-top: 0.5rem;
}

.js .board[data-all="false"]:not([data-searching]) .city-group-extra {
  display: none;
}

.city-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.25rem 0.875rem;
  margin-inline: -0.75rem;
  padding: 0.875rem 0.75rem;
  border-bottom: 1px solid var(--c-surface-2);
  border-radius: var(--radius-sm);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
  transition: background-color 0.2s ease;
}

.city-row[data-selected] {
  background: var(--c-surface);
}

.city-row.is-mine {
  box-shadow: inset 3px 0 0 var(--c-accent);
}

.city-dot {
  align-self: start;
  width: 0.625rem;
  height: 0.625rem;
  margin-top: 0.6rem;
  border-radius: 2px;
  background: var(--c-dot);
  box-shadow: 0 0 0 2px var(--c-dot-ring);
}

.city-row.is-lead .city-dot {
  background: var(--c-accent);
}

.city-pick {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  text-align: left;
}

.city-name {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.city-place {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--c-soft);
}

.city-count {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  line-height: 1.2;
}

.city-count-num {
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.city-count .t-label {
  color: var(--c-soft);
}

.city-vote {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.city-more {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 1.25rem;
  padding-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--c-soft);
}

.city-empty {
  padding-block: 2.5rem;
  text-align: center;
}

.city-empty .muted {
  max-width: 22rem;
  margin: 0.5rem auto 0;
}

.toggle-all {
  margin-top: 1.25rem;
}

.toggle-all .icon {
  transition: transform 0.3s var(--ease);
}

.toggle-all[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

@media (hover: hover) {
  .map-city:hover .map-label {
    text-decoration: underline;
  }

  .city-pick:hover .city-name {
    text-decoration: underline;
    text-decoration-color: var(--c-accent);
    text-underline-offset: 0.2em;
  }

  .city-row:hover {
    background: var(--c-surface);
  }
}

@media (min-width: 480px) {
  .city-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 0.25rem 1rem;
  }

  .city-count {
    grid-column: 3;
    grid-row: 1;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }

  .city-count-num {
    font-size: 1.25rem;
  }

  .city-vote {
    grid-column: 4;
    grid-row: 1;
  }

  .city-name {
    font-size: 1.25rem;
  }
}

@media (min-width: 834px) {
  .board {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas: "map aside" "list list";
    column-gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .board {
    grid-template-areas: "map aside" "map list";
    grid-template-rows: auto 1fr;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 3.5rem;
  }

  .board-map {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    align-self: start;
  }

  .map {
    max-width: min(100%, calc(80svh - 6rem));
  }
}

/* Forderungen */
.topic-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.topic-list > li {
  display: flex;
}

.topic {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.topic-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-surface);
}

.topic-mark {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: 62%;
  height: auto;
  aspect-ratio: 1;
  fill: var(--c-mark);
}

.topic-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: #000000;
  color: #ffffff;
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.6);
  container-type: inline-size;
  transition: transform 0.4s var(--ease);
}

.topic-badge .accent {
  color: #ff7302;
}

.topic-badge-icon {
  width: 15cqw;
  height: 15cqw;
  margin-bottom: 4cqw;
  fill: #ff7302;
}

.topic-badge-text {
  font-weight: 900;
  line-height: 0.84;
  text-transform: uppercase;
}

.fit-xl {
  font-size: 12.86cqw;
}

.fit-l {
  font-size: 11.81cqw;
}

.fit-m {
  font-size: 10.3cqw;
}

.fit-s {
  font-size: 9.1cqw;
}

.fit-xs {
  font-size: 8.52cqw;
}

.topic-badge-sig {
  margin-top: 6cqw;
  font-size: 3.6cqw;
}

.topic-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.topic-body .t-h4 {
  margin-top: 0.5rem;
}

.topic-body > p:not(.t-label) {
  margin-top: 0.625rem;
  color: var(--c-soft);
}

.demand {
  margin-top: auto;
  padding-top: 1.25rem;
}

.demand .t-label {
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
  font-weight: 700;
}

.demand-text {
  margin-top: 0.375rem;
  font-weight: 700;
  line-height: 1.5;
}

.panel-orange {
  border-radius: var(--radius-md);
  background: var(--c-accent);
  color: #000000;
}

.panel-orange :focus-visible {
  outline-color: #000000;
}

.panel-orange ::selection {
  background: #000000;
  color: #ffffff;
}

.want {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-top: var(--stack);
  padding: clamp(1.75rem, 1.25rem + 2.5vw, 3.5rem);
}

.want-title {
  font-size: clamp(2.25rem, 1.75rem + 2.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
}

.want-text {
  max-width: 54ch;
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
}

.want-actions {
  display: flex;
  justify-content: flex-end;
}

@media (hover: hover) {
  .topic:hover .topic-badge {
    transform: rotate(-2deg) scale(1.03);
  }
}

@media (min-width: 768px) {
  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .want-text {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .topic-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .want {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 3rem;
  }
}

/* Haltung */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--stack);
}

.split-head .t-h2 {
  margin-top: 0.75rem;
}

.split-head .lead {
  margin-top: 1.25rem;
}

.card-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.info-card .t-h4 {
  margin-top: 1.25rem;
}

.info-card p {
  margin-top: 0.5rem;
  color: var(--c-soft);
}

@media (min-width: 768px) {
  .card-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 4rem;
  }

  .split-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
  }
}

/* Erklärung */
.erkl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.erkl-figure {
  max-width: 30rem;
}

.erkl-figure .photo {
  aspect-ratio: 4 / 5;
}

.rules {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: var(--stack);
}

.rule-list {
  margin-top: 0.75rem;
}

.rule-list li {
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--c-line);
  line-height: 1.5;
}

.rule-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.prep {
  margin-top: var(--section-pad);
}

.prep .lead {
  margin-top: 0.75rem;
}

.tips {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 2.5rem;
  margin-top: 1.5rem;
}

.tip {
  display: flex;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--c-line);
}

.tip p {
  margin-top: 0.25rem;
  color: var(--c-soft);
}

.statement {
  margin-top: var(--section-pad);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 900;
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .rules,
  .tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .erkl-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 4rem;
  }

  .erkl-figure {
    max-width: none;
  }

  .erkl-figure .photo {
    aspect-ratio: 4 / 3;
    object-position: center 35%;
  }

  .tips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--stack);
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.field {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s ease;
}

.field::placeholder {
  color: var(--c-mute);
  opacity: 1;
}

.field:focus-visible {
  border-color: var(--c-text);
}

.field[aria-invalid="true"] {
  border-color: var(--c-accent-text);
}

textarea.field {
  min-height: 9rem;
  resize: vertical;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  padding-right: 3rem;
  cursor: pointer;
}

.select-wrap .icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--c-accent-text);
  transform: translateY(-50%);
  pointer-events: none;
}

.field-error {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-accent-text);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  line-height: 1.6;
}

.check input {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.125rem;
  accent-color: var(--c-accent);
}

.form-status:empty {
  display: none;
}

.form-status .card p + p,
.form-status .card p + .btn {
  margin-top: 0.75rem;
}

.form-status .icon-box {
  margin-bottom: 1rem;
}

.call-card {
  margin-top: var(--stack);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.call-card .readmore {
  margin-top: 1rem;
}

.call-claim {
  margin-top: 0.75rem;
  font-weight: 700;
}

.contact-aside {
  display: grid;
  align-content: start;
  gap: 1.25rem;
}

.contact-aside .card > p {
  margin-top: 1rem;
  color: var(--c-soft);
}

.tg-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tg-link {
  justify-content: space-between;
  width: 100%;
  padding-inline: 1rem;
}

.doc-list {
  margin-top: 0.75rem;
}

.doc-list li + li {
  border-top: 1px solid var(--c-line);
}

.doc {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1rem;
  text-decoration: none;
}

.doc-text {
  display: grid;
  gap: 0.25rem;
}

.doc-title {
  font-weight: 700;
  line-height: 1.4;
}

.doc-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--c-soft);
}

.graphic {
  display: grid;
  place-items: center;
}

.graphic img {
  width: 100%;
  height: auto;
}

.graphic-contact {
  max-width: 22rem;
  margin: 1rem auto 0;
}

@media (hover: hover) {
  .doc:hover .doc-title {
    text-decoration: underline;
    text-decoration-color: var(--c-accent);
    text-underline-offset: 0.2em;
  }
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
  }

  .graphic-contact {
    max-width: none;
    margin-top: 0.5rem;
  }
}

/* FAQ */
.graphic-faq {
  display: none;
}

@media (min-width: 1024px) {
  .graphic-faq {
    display: grid;
    max-width: 22rem;
    margin-top: 2.5rem;
  }
}

/* Aufruf zum Mitmachen */
.final-inner {
  text-align: center;
}

.final-figure {
  margin-bottom: var(--stack);
}

.final-figure .photo {
  aspect-ratio: 16 / 9;
}

.final .eyebrow {
  justify-content: center;
}

.final .t-h1 {
  max-width: 16ch;
  margin: 1rem auto 0;
}

.final .lead {
  max-width: 34rem;
  margin: 1.25rem auto 0;
}

.final-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.final .signature {
  margin-top: 3rem;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
}

@media (min-width: 1024px) {
  .final-figure .photo {
    aspect-ratio: 2 / 1;
  }
}

/* Rechtliche Seiten */
.container-narrow > * {
  max-width: 46rem;
}

.legal-page {
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) var(--section-pad);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--c-soft);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--c-mute);
}

.legal-title {
  margin-top: 1.5rem;
  hyphens: manual;
}

.legal {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.75;
  hyphens: auto;
  overflow-wrap: break-word;
}

.legal h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.legal p + p,
.legal ul + p,
.legal p + ul {
  margin-top: 1rem;
}

.legal ul {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.25rem;
  list-style: square;
}

.legal li::marker {
  color: var(--c-accent-text);
}

.legal a {
  font-weight: 700;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875em;
}

/* Fehlerseite */
.notfound {
  padding-block: var(--section-pad);
}

.notfound-inner {
  text-align: center;
}

.notfound-figure {
  width: 11rem;
  margin: 0 auto 2.5rem;
}

.notfound-figure .photo {
  aspect-ratio: 4 / 5;
}

.notfound .eyebrow {
  justify-content: center;
}

.notfound .t-h1 {
  margin-top: 1rem;
}

.notfound .lead {
  max-width: 32rem;
  margin: 1.25rem auto 0;
}

.notfound-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  padding-block: var(--section-pad) max(2.5rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--c-surface-2);
}

.footer-intro {
  max-width: 46rem;
}

.footer-lead {
  max-width: 60ch;
  margin-top: 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: var(--stack);
  padding-top: var(--stack);
  border-top: 1px solid var(--c-surface-2);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.footer-logo img {
  width: 2.5rem;
  height: auto;
}

.footer-logo strong {
  font-weight: 800;
}

.footer-brand p + p {
  margin-top: 0.75rem;
}

.footer-brand .footer-logo + p {
  margin-top: 1.25rem;
}

.footer-title {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.channel-list {
  display: grid;
  gap: 0.25rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-inline: -0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.channel .icon-box {
  width: 2.5rem;
  height: 2.5rem;
}

.channel-name {
  font-weight: 700;
}

.channel-go {
  margin-left: auto;
  color: var(--c-accent-text);
  transition: transform 0.25s var(--ease);
}

.footer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  font-weight: 700;
  transition: border-color 0.2s ease;
}

.footer-toggle .icon {
  color: var(--c-accent-text);
  transition: transform 0.3s var(--ease);
}

.footer-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.disclosure-panel {
  display: grid;
  grid-template-rows: 1fr;
}

.disclosure-inner {
  min-height: 0;
  overflow: hidden;
}

.js .disclosure-panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s var(--ease), visibility 0s linear 0.35s;
}

.js .disclosure-panel.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.35s var(--ease), visibility 0s linear 0s;
}

.footer-city-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
  padding-top: 0.75rem;
}

.footer-links {
  display: grid;
  gap: 0.25rem;
}

.footer-link {
  display: inline-block;
  padding-block: 0.375rem;
  color: var(--c-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link.is-lead {
  font-weight: 700;
  color: var(--c-accent-text);
}

.footer-address {
  margin-top: 0.75rem;
  font-style: normal;
  color: var(--c-soft);
}

.footer-bottom {
  margin-top: var(--stack);
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-surface-2);
  color: var(--c-soft);
}

@media (hover: hover) {
  .channel:hover {
    background: var(--c-surface);
  }

  .channel:hover .channel-go {
    transform: translate(2px, -2px);
  }

  .footer-toggle:hover {
    border-color: var(--c-accent);
  }

  .footer-link:hover {
    color: var(--c-text);
    text-decoration: underline;
    text-decoration-color: var(--c-accent);
    text-underline-offset: 0.2em;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
}

/* Nach oben */
.to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + var(--cookie-offset, 0px));
  z-index: 45;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(255 115 2 / 0.5);
  border-radius: var(--radius-sm);
  background: #000000;
  color: #ff7302;
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0s linear 0.3s, background-color 0.2s ease, color 0.2s ease, bottom 0.3s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0s linear 0s, background-color 0.2s ease, color 0.2s ease, bottom 0.3s var(--ease);
}

@media (hover: hover) {
  .to-top:hover {
    background: #ff7302;
    color: #000000;
  }
}

/* Cookie-Hinweis */
.cookie {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  padding-block: 1.25rem max(1.25rem, env(safe-area-inset-bottom));
  border-top: 3px solid var(--c-accent);
  background: var(--c-surface);
  box-shadow: 0 -18px 40px -18px rgb(0 0 0 / 0.5);
  animation: slide-up 0.45s var(--ease);
}

.cookie-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 1.25rem;
}

.cookie-figure {
  width: 3.75rem;
}

.cookie-figure img {
  width: 100%;
  height: auto;
}

.cookie-title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
}

.cookie-body p {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.cookie-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .cookie-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .cookie-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem 2rem;
  }

  .cookie-figure {
    width: 4.5rem;
  }

  .cookie-actions {
    grid-column: auto;
    display: flex;
    gap: 0.75rem;
  }
}

/* Benachrichtigungen */
.toasts {
  position: fixed;
  left: 50%;
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + var(--cookie-offset, 0px));
  z-index: 70;
  display: grid;
  gap: 0.5rem;
  width: min(26rem, calc(100% - 2rem));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  padding: 0.875rem 1rem;
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius-sm);
  background: #000000;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: var(--shadow-float);
  pointer-events: auto;
  animation: slide-up 0.35s var(--ease);
}

.toast.is-error {
  border-left-color: #ffffff;
}

/* Ticket */
.sheet {
  width: 100%;
  max-width: 32rem;
  max-height: 94svh;
  margin: auto auto 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--c-surface-2);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--c-bg);
  color: var(--c-text);
}

.sheet[open] {
  animation: slide-up 0.4s var(--ease);
}

.sheet::backdrop {
  background: rgb(0 0 0 / 0.72);
}

.sheet-scroll {
  max-height: 94svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.sheet-sub {
  max-width: 24rem;
  margin-top: 0.5rem;
  color: var(--c-soft);
}

.ticket {
  --stub: 5.75rem;
  --notch: 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub);
  margin-top: 1.5rem;
  color: #212121;
  -webkit-mask:
    radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
}

.ticket-main {
  min-width: 0;
  padding: 1.125rem 1.125rem 1rem;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background:
    linear-gradient(90deg, rgb(22 22 22 / 0.94) 0%, rgb(22 22 22 / 0.8) 45%, rgb(22 22 22 / 0.42) 100%),
    var(--photo, none) center / cover no-repeat,
    #161616;
  color: #ffffff;
  container-type: inline-size;
}

.ticket-main .t-label {
  color: rgb(255 255 255 / 0.85);
}

.ticket-strong {
  font-weight: 700;
}

.ticket-city {
  margin-top: 0.25rem;
  font-size: min(2.5rem, 100cqi / var(--em, 6));
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.4);
}

.ticket-city.is-long {
  font-size: min(1.75rem, 100cqi / var(--em, 6));
  line-height: 1.15;
}

.ticket-place,
.ticket-meta {
  margin-top: 0.875rem;
  padding-top: 0.75rem;
  border-top: 1.5px dashed rgb(255 255 255 / 0.35);
}

.ticket-place-name {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin-top: 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.ticket-place-name .icon {
  margin-top: 0.1875rem;
  color: #ff7302;
}

.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.ticket-meta span {
  display: block;
}

.ticket-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.375rem;
  border-left: 2px dashed rgb(33 33 33 / 0.45);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: #ff7302;
  color: #000000;
}

.ticket-nr {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ticket-nr.is-mid {
  font-size: 1.625rem;
}

.ticket-nr.is-long {
  font-size: 1.25rem;
}

.ticket-badge {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: #000000;
}

.ticket-badge img {
  width: 1.5rem;
}

.sheet-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.sheet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.sheet-grid .btn {
  width: 100%;
  padding-inline: 0.75rem;
}

@media (min-width: 360px) {
  .sheet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .sheet {
    margin: auto;
    border-bottom: 1px solid var(--c-surface-2);
    border-radius: var(--radius-lg);
  }

  .sheet-scroll {
    padding: 1.75rem 1.75rem 2rem;
  }
}

/* Animationen */
@keyframes ping {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(3);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .live-dot::after,
  .cookie,
  .toast,
  .sheet[open] {
    animation: none;
  }

  .card,
  .btn,
  .topic-badge,
  .acc-panel,
  .js .acc-panel,
  .js .acc-item.is-open .acc-panel,
  .js .disclosure-panel,
  .js .disclosure-panel.is-open,
  .nav-sub,
  .nav-item-sub.is-open .nav-sub,
  .to-top,
  .to-top.is-visible {
    transition: none;
  }

  .card:hover,
  .btn-primary:hover:not(:disabled),
  .topic:hover .topic-badge {
    transform: none;
  }
}
