/* BIGDEE für Veranstalter. Schwarzer Kopf mit den drei Balken (einmal, angeschnitten, 9 %),
   darunter ruhige Chalk-Flächen zum Holen. Signal einmal je Fläche. Feste Markenfarben, kein Dunkelmodus-Wechsel. */
@font-face { font-family: "Archivo"; src: url("/schrift/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/schrift/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/schrift/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --black: #111111; --smoke: #2A2A2A; --chalk: #F2F1EE; --white: #FFFFFF; --ash: #8A8A8A; --signal: #FF3C00;
  --linie: #D9D7D2;
  --kopf: "Archivo", "Arial Black", system-ui, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, monospace;
  --rand: max(20px, env(safe-area-inset-left, 0px));
  --rand-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--chalk); color: var(--black); font-family: var(--text); font-size: 17px; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.innen { max-width: 1160px; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand-r); }

/* ---- Kopf ---- */
.kopf { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding-block: max(32px, env(safe-area-inset-top, 0px)) 40px; }
.kopf .innen { position: relative; display: flex; flex-direction: column; gap: 20px; }
.balken { position: absolute; top: -6%; right: -9%; height: 118%; color: rgba(255, 255, 255, .09); pointer-events: none; }
.balken svg { height: 100%; width: auto; }
.marke { width: clamp(200px, 30vw, 320px); }
.kopf.klein .marke { width: 150px; }
.marke svg { width: 100%; height: auto; }
.kicker { margin: 28px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
h1 { margin: 0; font-family: var(--kopf); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(40px, 8.4vw, 104px); line-height: 1.04; letter-spacing: -.015em; max-width: 11ch; text-wrap: balance; }
h1::after { content: ""; display: inline-block; width: .18em; height: .18em; margin-left: .04em; background: var(--signal); }
.lead { margin: 0; max-width: 34ch; font-size: clamp(18px, 2vw, 22px); line-height: 1.4; color: #E6E5E1; }
.sprung { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sprung a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #3A3A3A; border-radius: 999px; font-family: var(--mono); font-size: 14px; text-decoration: none; color: var(--white); }
.sprung a:hover { border-color: var(--white); }

/* ---- Blöcke ---- */
.block { padding-block: 56px; border-bottom: 1px solid var(--linie); }
h2 { margin: 0 0 8px; font-family: var(--kopf); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(28px, 4vw, 44px); line-height: 1; letter-spacing: -.01em; }
h3 { margin: 0; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.hinweis { margin: 0 0 28px; max-width: 60ch; color: var(--smoke); }

/* ---- Text ---- */
.ankuendigung { background: var(--black); color: var(--white); padding: 24px; display: grid; gap: 20px; margin-bottom: 16px; }
.felder { display: flex; flex-wrap: wrap; gap: 12px; }
.felder label { display: grid; gap: 6px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.felder input { min-height: 48px; padding: 0 14px; font: 500 17px var(--mono); color: var(--white); background: var(--smoke); border: 1px solid #444; border-radius: 0; color-scheme: dark; }
.felder input:focus-visible { border-color: var(--white); outline: none; }
.ergebnis { margin: 0; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.35; font-weight: 500; max-width: 40ch; min-height: 2.7em; }
.kopieren { justify-self: start; min-height: 44px; padding: 0 20px; font: 500 14px var(--mono); color: var(--black); background: transparent; border: 1px solid var(--black); border-radius: 999px; cursor: pointer; }
.kopieren:hover { background: var(--black); color: var(--white); }
.kopieren.haupt { background: var(--signal); border-color: var(--signal); color: var(--black); }
.kopieren.haupt:hover { background: var(--white); border-color: var(--white); }
.textkarten { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 16px; }
.textkarte { background: var(--white); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.textkarte p { margin: 0; flex: 1; }

/* ---- Fotos ---- */
.fotos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 16px; }
.foto { margin: 0; grid-column: span 3; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foto.gross { grid-column: span 4; }
.foto.hoch { grid-column: span 2; }
.foto img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--linie); }
.foto.hoch img { aspect-ratio: 3 / 4; object-position: 50% 0; }
figcaption { font-family: var(--mono); font-size: 13px; color: var(--smoke); }

/* ---- Laden-Knöpfe ---- */
.dl-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.dl { display: inline-grid; grid-template-columns: auto auto; column-gap: 10px; align-items: baseline; min-height: 44px; padding: 10px 14px; background: var(--white); border: 1px solid var(--linie); text-decoration: none; color: var(--black); }
.dl b { font: 500 14px var(--mono); }
.dl span { font-size: 14px; color: var(--smoke); }
.dl i { grid-column: 1 / -1; font: 400 12px var(--mono); font-style: normal; color: #6B6B6B; }
.dl:hover { border-color: var(--black); }
.dl::before { content: "↓"; grid-row: 1 / span 2; font-family: var(--mono); margin-right: -2px; }
.dl { grid-template-columns: auto auto 1fr; }
.dl i { grid-column: 2 / -1; }

/* ---- Logo ---- */
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.logo-karte { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.logo-flaeche { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 12%; }
.logo-flaeche.auf-dunkel { background: var(--black); }
.logo-flaeche.auf-hell { background: var(--white); border: 1px solid var(--linie); }
.logo-svg { width: 100%; height: auto; }
.karte-text p { margin: 4px 0 0; font-size: 15px; color: var(--smoke); }
.logo-karte .dl-liste { flex-direction: column; }
.logo-karte .dl { display: grid; }

/* ---- Regeln ---- */
.zwei { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.regeln { margin: 8px 0 32px; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 58ch; }
.regeln li { padding-left: 22px; position: relative; }
.regeln li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 3px; background: var(--black); }
.alles { display: flex; flex-wrap: wrap; gap: 12px; }
.dl.gross { padding: 16px 18px; }
.infoblatt { margin: 0; }
.infoblatt img { width: 100%; height: auto; box-shadow: 0 1px 0 var(--linie), 0 12px 32px rgba(17, 17, 17, .12); }

/* ---- Fuß ---- */
.fuss { background: var(--black); color: var(--white); padding-block: 56px max(56px, calc(24px + env(safe-area-inset-bottom, 0px))); }
.fuss-titel { margin: 0 0 16px; font-family: var(--kopf); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 36px); line-height: 1; }
.kontakt { margin: 0; font-size: 18px; line-height: 1.8; }
.kontakt a { text-decoration: none; border-bottom: 1px solid #555; }
.kontakt a:hover { border-color: var(--white); }

/* ---- Meldung ---- */
.meldung { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); padding: 12px 20px; background: var(--black); color: var(--white); font: 500 14px var(--mono); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.meldung.an { opacity: 1; transform: translate(-50%, 0); }

/* ---- Handy ---- */
@media (max-width: 820px) {
  .textkarten, .logos, .zwei { grid-template-columns: minmax(0, 1fr); }
  .fotos { grid-template-columns: minmax(0, 1fr); }
  .foto, .foto.gross, .foto.hoch { grid-column: auto; }
  .foto.hoch img { aspect-ratio: 4 / 5; }
  .infoblatt { max-width: 360px; }
  .balken { right: -30%; height: 100%; top: 0; }
  .block { padding-block: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .meldung { transition: none; }
}

/* ---- Unterseiten: Impressum, Datenschutz, 404 ---- */
.kopf.klein { padding-block: max(24px, env(safe-area-inset-top, 0px)) 24px; }
.kopf.klein .innen { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.zurueck { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--mono); font-size: 14px; text-decoration: none; color: var(--white); }
.zurueck:hover { color: var(--signal); }
.schmal { max-width: calc(68ch + 40px); }
.recht-seite h2 { font-size: 15px; font-family: var(--mono); font-weight: 500; font-stretch: 100%; text-transform: uppercase; letter-spacing: .06em; margin: 32px 0 8px; }
.recht-seite p, .recht-seite li { color: var(--black); }
.recht-seite ul { padding-left: 20px; }
.recht-titel { font-size: clamp(28px, 7vw, 64px); margin-bottom: 24px; max-width: none; }
.offen { background: #FFE3D9; padding: 0 4px; }
.stand { margin-top: 32px; font-family: var(--mono); font-size: 13px; }
.kicker.dunkel { color: var(--smoke); margin: 0 0 12px; }
a.kopieren { display: inline-flex; align-items: center; text-decoration: none; }
.recht { margin: 32px 0 0; display: flex; gap: 24px; font-family: var(--mono); font-size: 14px; }
.recht a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ash); text-decoration: none; }
.recht a:hover { color: var(--white); }

/* ---- Ankündigung: Fassungen, Referenzen ---- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.kopieren.hell { color: var(--white); border-color: #555; }
.kopieren.hell:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.kopieren.hell span { font-family: var(--mono); color: var(--ash); margin-left: 6px; }
.kopieren.hell:hover span { color: var(--smoke); }
.textkarte.breit { grid-column: 1 / -1; }
.textkarte.breit p { max-width: 80ch; }
