/* Nordbeat für Veranstalter. Aufbau wie BIGDEE und Warki: Kopf in Tiefsee mit dem Segel als Wasserzeichen,
   darunter ruhige Papier-Flächen zum Holen. Montserrat Light für Überschriften wie auf nord-beat.de.
   Segelorange nur als Akzent, als Text auf Tiefsee #F7B65A (5,0 : 1). Feste Markenfarben, kein Dunkelmodus-Wechsel. */
@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-Light-latin.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-Regular-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-SemiBold-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --tiefsee: #005254; --tiefsee-2: #0B5F61; --nacht: #00393B; --petrol: #007878;
  --orange: #F09000;
  --orange-hell: #F7B65A;  /* Text auf Tiefsee 5,0 : 1 */
  --orange-text: #AE5900;  /* Text auf Papier 4,9 : 1 */
  --papier: #FAFAF8; --weiss: #FFFFFF;
  --nebel: #C6E2E0;        /* Text auf Tiefsee 6,6 : 1 */
  --grau: #565E5E;         /* Text auf Papier 6,4 : 1 */
  --linie: #DCE6E5;
  --schrift: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --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(--papier); color: var(--tiefsee); font-family: var(--schrift); font-size: 17px; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
.kopf :focus-visible, .fuss :focus-visible, .ankuendigung :focus-visible { outline-color: var(--orange); }
.innen { max-width: 1160px; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand-r); position: relative; }

/* ---- Kopf ---- */
.kopf { position: relative; background: var(--tiefsee); color: var(--weiss); padding-block: max(32px, env(safe-area-inset-top, 0px)) 56px; overflow: hidden; }
.kopf .wm { position: absolute; pointer-events: none; width: max(120%, 900px); aspect-ratio: 308.43 / 303.95; height: auto; max-width: none; top: -30%; right: -40%; transform: rotate(-14deg); fill: #fff; opacity: .055; }
.kopf .innen { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.kopf-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.marke { width: clamp(190px, 22vw, 260px); }
.marke-svg { width: 100%; height: auto; }
.kicker { margin: 24px 0 0; font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-hell); }
h1 { margin: 0; font-weight: 300; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.08; letter-spacing: -.015em; max-width: 13ch; text-wrap: balance; }
h1 .i-punkt { color: var(--orange); }
.lead { margin: 0; max-width: 36ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--nebel); }
.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 rgba(198, 226, 224, .35); border-radius: 999px; font-weight: 400; font-size: 15px; text-decoration: none; color: var(--weiss); }
.sprung a:hover { border-color: var(--orange); color: var(--orange-hell); }
.kreis { width: clamp(220px, 30vw, 380px); aspect-ratio: 1; border-radius: 50%; border: clamp(6px, .8vw, 10px) solid var(--orange); overflow: hidden; background: var(--nacht); }
.kreis img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Blöcke ---- */
.block { padding-block: 72px; border-bottom: 1px solid var(--linie); }
h2 { margin: 0 0 10px; font-weight: 300; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; letter-spacing: -.01em; color: var(--petrol); }
h3 { margin: 0; font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-text); }
h4 { margin: 0; font-weight: 600; font-size: 14px; color: var(--tiefsee); }
.hinweis { margin: 0 0 28px; max-width: 62ch; color: var(--grau); }
.hinweis b { color: var(--tiefsee); font-weight: 600; }

/* ---- Text ---- */
.ankuendigung { background: var(--tiefsee); color: var(--weiss); padding: 24px; border-radius: 16px; display: grid; gap: 20px; margin-bottom: 16px; }
.ankuendigung h3 { color: var(--orange-hell); }
.felder { display: flex; flex-wrap: wrap; gap: 12px; }
.felder label { display: grid; gap: 6px; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--nebel); }
.felder input { min-height: 48px; padding: 0 14px; font: 400 17px var(--schrift); color: var(--weiss); background: var(--tiefsee-2); border: 1px solid rgba(198, 226, 224, .35); border-radius: 10px; color-scheme: dark; }
.felder input:focus-visible { border-color: var(--orange); outline: none; }
.ergebnis { margin: 0; font-weight: 300; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.35; max-width: 36ch; min-height: 2.7em; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.kopieren { justify-self: start; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; font: 600 15px var(--schrift); color: var(--tiefsee); background: transparent; border: 1.5px solid var(--tiefsee); border-radius: 999px; cursor: pointer; text-decoration: none; }
.kopieren:hover { background: var(--tiefsee); color: var(--weiss); }
.kopieren.haupt { background: var(--orange); border-color: var(--orange); color: var(--nacht); }
.kopieren.haupt:hover { background: var(--weiss); border-color: var(--weiss); color: var(--tiefsee); }
.kopieren.hell { color: var(--weiss); border-color: rgba(198, 226, 224, .45); }
.kopieren.hell:hover { background: var(--weiss); color: var(--tiefsee); border-color: var(--weiss); }
.kopieren.hell span { color: var(--nebel); margin-left: 6px; font-variant-numeric: tabular-nums; }
.kopieren.hell:hover span { color: var(--grau); }
.textkarten { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 16px; }
.textkarte { background: var(--weiss); border: 1px solid var(--linie); padding: 20px; border-radius: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.textkarte p { margin: 0; flex: 1; overflow-wrap: anywhere; color: var(--tiefsee); }
.textkarte.breit { grid-column: 1 / -1; }
.textkarte.breit p { max-width: 80ch; }

/* ---- Fotos: je Reihe gleiche Höhe, Breite nach Seitenverhältnis ---- */
.fotos { display: grid; gap: 40px; }
.foto-reihe { display: flex; gap: 16px; align-items: flex-start; }
.foto { margin: 0; flex: var(--r) 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.foto img { width: 100%; height: auto; border-radius: 14px; background: var(--linie); }
figcaption { font-weight: 600; font-size: 15px; }
.foto.haupt { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 32px; align-items: end; }
.foto.haupt img { border-radius: 16px; max-height: 760px; width: auto; justify-self: start; }
.haupt-text { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.haupt-text figcaption { font-weight: 300; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; color: var(--petrol); }
.haupt-notiz { margin: 0 0 12px; color: var(--grau); }

/* ---- Laden-Knöpfe ---- */
.dl-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.dl { display: inline-grid; grid-template-columns: auto auto 1fr; column-gap: 10px; align-items: baseline; min-height: 44px; padding: 10px 14px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 10px; text-decoration: none; color: var(--tiefsee); }
.dl::before { content: "↓"; grid-row: 1 / span 2; font-weight: 600; color: var(--orange-text); }
.dl b { font-weight: 600; font-size: 15px; }
.dl span { font-size: 14px; color: var(--grau); }
.dl i { grid-column: 2 / -1; font-style: normal; font-size: 13px; color: var(--grau); font-variant-numeric: tabular-nums; }
.dl:hover { border-color: var(--petrol); }
.dl.gross { padding: 16px 18px; }

/* ---- 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-karte.haupt { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px 32px; align-items: end; }
.logo-karte.haupt .logo-flaeche { grid-row: 1 / span 2; aspect-ratio: 16 / 10; padding: 9% 18%; }
.logo-karte.haupt .karte-text h3 { font-weight: 300; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: 0; text-transform: none; color: var(--petrol); }
.logo-karte.haupt .karte-text p { font-size: 17px; color: var(--tiefsee); max-width: 32ch; }
.logo-zwischen { grid-column: 1 / -1; margin: 32px 0 0; font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--grau); }
.logo-flaeche { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 12% 22%; border-radius: 16px; position: relative; }
.logo-flaeche.auf-hell { background: var(--papier); border: 1px solid var(--linie); }
.logo-flaeche.auf-weiss { background: var(--weiss); border: 1px solid var(--linie); }
.logo-flaeche.auf-foto, .logo-flaeche.auf-foto-2 { background: url("../vorschau/foto2.jpg") center 55% / cover, var(--nacht); }
.logo-flaeche.auf-foto-2 { background-image: url("../vorschau/foto3.jpg"); background-position: center 40%; }
.logo-flaeche.auf-foto::before, .logo-flaeche.auf-foto-2::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(0, 0, 0, .35); }
.logo-svg { width: auto; height: 100%; max-width: 100%; position: relative; }
.karte-text p { margin: 4px 0 0; font-size: 15px; color: var(--grau); }
.karte-text h3 { color: var(--tiefsee); font-size: 15px; letter-spacing: .04em; text-transform: none; }
.karte-laden { display: grid; gap: 8px; }
.karte-laden h4 { margin-top: 4px; }
.logo-karte:not(.haupt) .dl span { display: none; }
.logo-karte:not(.haupt) .dl { padding: 8px 12px; }

/* ---- 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; color: var(--grau); }
.regeln li { padding-left: 24px; position: relative; }
.regeln li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.alles { display: flex; flex-wrap: wrap; gap: 12px; }
.infoblatt { margin: 0; }
.infoblatt img { width: 100%; height: auto; box-shadow: 0 1px 0 var(--linie), 0 12px 32px rgba(0, 57, 59, .14); }

/* ---- Fuß ---- */
.fuss { background: var(--tiefsee); color: var(--weiss); padding-block: 56px max(56px, calc(24px + env(safe-area-inset-bottom, 0px))); }
.fuss-titel { margin: 0 0 16px; font-weight: 300; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.05; }
.kontakt { margin: 0; font-size: 18px; line-height: 1.4; }
.kontakt a { display: inline-block; padding-block: 8.5px; line-height: 1.5; text-decoration-line: underline; text-decoration-color: rgba(198, 226, 224, .45); text-underline-offset: 5px; }
.kontakt a:hover { text-decoration-color: var(--orange); color: var(--orange-hell); }
.recht { margin: 32px 0 0; display: flex; gap: 24px; font-size: 15px; }
.recht a { display: inline-flex; align-items: center; min-height: 44px; color: var(--nebel); text-decoration: none; }
.recht a:hover { color: var(--weiss); }

/* ---- Studio Kante ---- */
.kante { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(198, 226, 224, .2); }
.kante-link { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 44px; color: var(--weiss); text-decoration: none; }
.kante-text { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--nebel); transition: color .2s ease; }
.kante-logo { height: clamp(32px, 4.6vw, 52px); width: auto; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.kante-link:hover .kante-text { color: var(--weiss); }
.kante-link:hover .kante-logo { transform: translateX(4px); }

/* ---- Meldung ---- */
.meldung { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); padding: 12px 20px; border-radius: 999px; background: var(--tiefsee); color: var(--weiss); font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.meldung.an { opacity: 1; transform: translate(-50%, 0); }

/* ---- Handy ---- */
@media (max-width: 900px) {
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .kopf .innen { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .kreis { position: absolute; top: 0; right: var(--rand-r); width: 112px; border-width: 5px; }
  .marke { width: min(190px, calc(100% - 132px)); }
  .kicker { margin-top: 28px; }
  .textkarten, .logos, .zwei, .logo-karte.haupt { grid-template-columns: minmax(0, 1fr); }
  .logo-karte.haupt .logo-flaeche { grid-row: auto; }
  .logo-zwischen { margin-top: 24px; }
  .foto-reihe { flex-direction: column; gap: 32px; }
  .foto { flex: none; width: 100%; }
  .foto.haupt { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .foto.haupt img { width: 100%; max-height: none; }
  .infoblatt { max-width: 360px; }
  .block { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .meldung, .kante-logo, .kante-text { transition: none; }
}
