/* DJ Warki · djwarki.de
   ROHBAU: Farben und Display-Schrift sind Platzhalter bis zur Logo-Freigabe (marke/).
   Getauscht wird nur in :root (Farben) und @font-face (Schrift). */

@font-face {
  font-family: "Platzhalter Display";
  src: url("/schrift/big-shoulders.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --flaeche: #ffffff;
  --flaeche-2: #f2f2f5;
  --text: #111114;
  --leise: #575762;
  --linie: rgba(17, 17, 20, 0.14);
  --feier: #c2005d;      /* Platzhalter, aus dem Magenta der Fotos */
  --club: #2f3fe0;       /* Platzhalter, aus dem Blau der Fotos */
  --akzent: var(--feier);
  --auf-akzent: #ffffff;
  --display: "Platzhalter Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --text-schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --mix: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --flaeche: #0c0c10;
    --flaeche-2: #17171d;
    --text: #f1f1f4;
    --leise: #a7a7b2;
    --linie: rgba(241, 241, 244, 0.16);
    --feier: #ff5aa5;
    --club: #8a94ff;
    --auf-akzent: #0c0c10;
  }
}

body[data-buehne="club"] { --akzent: var(--club); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--flaeche);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--text-schrift);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.springen { position: absolute; left: var(--rand); top: -4rem; z-index: 20; background: var(--text); color: var(--flaeche); padding: .7rem 1rem; border-radius: 8px; text-decoration: none; }
.springen:focus { top: 1rem; }

/* Platzhalter sichtbar markieren (Rohbau) */
.offen { background: #ffe14d; color: #111; padding: .05em .35em; border-radius: 4px; font: 600 .85em/1.3 var(--text-schrift); }
.rohbau-hinweis { position: fixed; left: 12px; bottom: 12px; z-index: 30; background: #ffe14d; color: #111; font: 600 12px/1 var(--text-schrift); padding: 8px 10px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.2); pointer-events: none; }

/* ---------- Kopf ---------- */
.leiste {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(1rem, env(safe-area-inset-top)) var(--rand) 1rem;
  color: #fff;
}
.leiste--hell { position: static; color: var(--text); border-bottom: 1px solid var(--linie); }
.wortmarke {
  font: 800 1.6rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.25rem; border-radius: 999px; border: 0;
  background: var(--akzent); color: var(--auf-akzent);
  font: 600 1rem/1 var(--text-schrift); text-decoration: none; cursor: pointer;
  transition: background-color .3s ease, transform .15s ease;
}
.knopf:active { transform: scale(.98); }
.knopf--leise { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.leiste .knopf { min-height: 44px; background: #fff; color: #111; }

/* ---------- Bühne (Hero mit Crossfader) ---------- */
.kopfbild {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 56rem); display: flex; align-items: flex-end;
  color: #fff; background: #0c0c10;
}
.kopfbild .foto { position: absolute; inset: 0; z-index: -2; }
.kopfbild .foto img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.kopfbild .foto--club { opacity: var(--mix); }
.kopfbild::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,8,14,.72) 0%, rgba(8,8,14,.35) 45%, rgba(8,8,14,0) 70%),
    linear-gradient(0deg, rgba(8,8,14,.8) 0%, rgba(8,8,14,0) 55%);
}
.kopf-inhalt { padding-block: 7rem clamp(2rem, 6vw, 4rem); }
/* Handy: Foto oben quadratisch und ganz zu sehen, Text darunter */
@media (max-width: 700px) {
  .kopfbild { min-height: 0; display: block; }
  .kopfbild .foto { inset: 0 0 auto 0; height: 100vw; }
  .kopfbild .foto img { object-position: 50% 40%; }
  .kopfbild::after { background: linear-gradient(180deg, rgba(8,8,14,.45) 0, rgba(8,8,14,0) 5.5rem, rgba(8,8,14,0) calc(100vw - 9rem), #0c0c10 100vw); }
  .kopf-inhalt { padding-block: calc(100vw - 4.5rem) 2.25rem; }
}
.kicker { margin: 0 0 .75rem; font-weight: 600; font-size: .95rem; letter-spacing: .01em; opacity: .9; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 11vw, 8.5rem); text-transform: uppercase; max-width: 9ch; }

.fader { margin-top: clamp(1.75rem, 4vw, 2.75rem); display: flex; align-items: center; gap: .5rem; max-width: 30rem; }
.fader-seite {
  min-width: 64px; min-height: 44px; padding: 0 .5rem; border: 0; border-radius: 8px; background: none; color: #fff;
  font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; opacity: .55;
  transition: opacity .2s ease;
}
.fader-seite[aria-pressed="true"] { opacity: 1; }
.fader-schiene { position: relative; flex: 1; height: 44px; display: flex; align-items: center; }
.fader-schiene::before { /* Skala wie am Pult */
  content: ""; position: absolute; left: 14px; right: 14px; top: 8px; bottom: 8px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 10%);
  pointer-events: none;
}
.fader input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: grab; position: relative; }
.fader input[type="range"]:active { cursor: grabbing; }
.fader input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.35); }
.fader input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.35); }
.fader input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 44px; margin-top: -19px; border-radius: 6px;
  background: linear-gradient(90deg, #f4f4f6 0 45%, #111 45% 55%, #f4f4f6 55%); box-shadow: 0 2px 8px rgba(0,0,0,.45); border: 0;
}
.fader input[type="range"]::-moz-range-thumb {
  width: 28px; height: 44px; border-radius: 6px; border: 0;
  background: linear-gradient(90deg, #f4f4f6 0 45%, #111 45% 55%, #f4f4f6 55%); box-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.fader input[type="range"]:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.fader-hinweis { margin: .6rem 0 0; font-size: .9rem; opacity: .8; transition: opacity .4s ease; }
.fader-hinweis[hidden] { display: block; opacity: 0; }

/* ---------- Bühnen-Inhalt ---------- */
.abschnitt { padding-block: clamp(3.5rem, 9vw, 7rem); }
.buehne { display: grid; gap: 1.5rem 4rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .buehne { grid-template-columns: 5fr 6fr; align-items: start; } }
.buehne[hidden] { display: none; }
.buehne:not([hidden]) { animation: rein .45s ease both; }
@keyframes rein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
h2 { font-size: clamp(2.6rem, 7vw, 5rem); text-transform: uppercase; }
.unterzeile { margin: .9rem 0 0; color: var(--leise); font-size: 1.05rem; }
.buehne p.text { margin: 0 0 1.5rem; font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.45; max-width: 34ch; }
.marken { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.marken li { padding: .45rem .85rem; border-radius: 999px; background: var(--flaeche-2); font-weight: 600; font-size: .95rem; }
.belege { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid var(--linie); }
.belege li { padding: .8rem 0; border-bottom: 1px solid var(--linie); display: flex; justify-content: space-between; gap: 1rem; }
.belege li span:last-child { color: var(--leise); text-align: right; }

.hochzeit {
  margin-top: clamp(2.5rem, 6vw, 4rem); padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--flaeche-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
}
.hochzeit p { margin: 0; font-size: 1.05rem; }
.hochzeit a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Über Warki ---------- */
.ueber { border-top: 1px solid var(--linie); }
.ueber-raster { display: grid; gap: 2rem 4rem; }
@media (min-width: 860px) { .ueber-raster { grid-template-columns: 6fr 5fr; align-items: center; } }
.ueber img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ueber p { font-size: 1.15rem; max-width: 38ch; }
.jingle { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.jingle small { color: var(--leise); font-size: .95rem; }
.jingle .knopf { white-space: nowrap; flex: none; }
.jingle .knopf svg { width: 14px; height: 14px; }

/* ---------- Schluss ---------- */
.schluss { background: var(--akzent); color: var(--auf-akzent); transition: background-color .3s ease; }
.schluss .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.schluss .knopf { background: var(--auf-akzent); color: var(--akzent); }

/* ---------- Fuß ---------- */
.fuss { padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom)); color: var(--leise); font-size: .95rem; }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.fuss nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; }
.fuss a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.sk-credit{display:inline-flex;align-items:center;gap:.55em;font:inherit;font-size:12px;line-height:1;color:inherit;text-decoration:none}
.sk-credit>span{opacity:.72;transition:opacity .2s ease}
.sk-credit:hover>span,.sk-credit:focus-visible>span{opacity:1}
.sk-credit__logo{height:.92em;width:auto;display:block;flex:none}

/* ---------- Unterseiten ---------- */
.seite { padding-block: clamp(2.5rem, 7vw, 5rem); }
.seite h1 { font-size: clamp(3rem, 9vw, 6rem); max-width: none; margin-bottom: 1rem; }
.seite .lead { font-size: 1.25rem; max-width: 36ch; margin: 0 0 2.5rem; }
.recht { max-width: 44rem; }
.recht h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); }
.recht h2 { font-size: 1.6rem; text-transform: none; font-family: var(--text-schrift); font-weight: 700; line-height: 1.25; margin: 2.25rem 0 .5rem; }
.recht p, .recht li { max-width: 68ch; }

/* ---------- Formular ---------- */
.formular { display: grid; gap: 1.4rem; max-width: 40rem; }
.feld { display: grid; gap: .4rem; }
.feld > label, fieldset legend { font-weight: 600; }
.feld .hinweis { color: var(--leise); font-size: .92rem; margin: 0; }
.feld .optional { color: var(--leise); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 10px; border: 1.5px solid var(--linie);
  background: var(--flaeche); color: var(--text); font: 400 1.0625rem/1.4 var(--text-schrift); /* ≥16px: kein Zoom auf dem iPhone */
}
textarea { min-height: 8rem; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--akzent); outline-offset: 1px; border-color: transparent; }
[aria-invalid="true"] { border-color: #d70015; }
.fehler { color: #d70015; font-size: .92rem; margin: 0; }
@media (prefers-color-scheme: dark) { [aria-invalid="true"] { border-color: #ff6961; } .fehler { color: #ff6961; } }
fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--linie); font-weight: 600; cursor: pointer; }
.chips input:checked + span { background: var(--akzent); color: var(--auf-akzent); box-shadow: none; }
.chips input:focus-visible + span { outline: 3px solid var(--akzent); outline-offset: 2px; }
.notiz { padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--flaeche-2); margin: 0; }
.notiz a { font-weight: 600; }
.einverstanden { display: flex; gap: .75rem; align-items: flex-start; font-size: .98rem; }
.einverstanden input { width: 22px; height: 22px; margin: .15rem 0 0; flex: none; accent-color: var(--akzent); }
.alarm { padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(215, 0, 21, .1); margin: 0 0 1.5rem; }
.direkt { margin-top: 3rem; color: var(--leise); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
