/* ElTouro Warteliste – alles lokal, keine externen Ressourcen */

@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap;
  src: url("fonts/BarlowCondensed-ExtraBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/Barlow-Regular.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/Barlow-SemiBold.woff2") format("woff2"); }

:root {
  --nacht: #14263F;        /* Anzug-Blau des Touro */
  --jeans: #2F5E8C;
  --gold: #D7A845;         /* Helmstreifen */
  --gold-tief: #8A6412;    /* Gold für Text auf hellem Grund (Kontrast) */
  --kreide: #E8ECF1;
  --weiss: #FFFFFF;
  --text: #14263F;
  --text-leise: #46566C;
  --fehler: #A3261B;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", "Helvetica Neue", sans-serif;
  --breite: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.55; color: var(--text); background: var(--kreide); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jeans); text-underline-offset: 0.18em; }
a:hover { color: var(--nacht); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--nacht); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Kopf */
.kopf { background: var(--nacht); color: var(--weiss); display: flex; justify-content: space-between; align-items: center;
  padding: 1rem clamp(1.25rem, 4vw, 3rem); }
.marke { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.75rem; letter-spacing: .01em;
  color: var(--weiss); text-decoration: none; }
.marke:hover { color: var(--gold); }
.sprache { display: flex; gap: .25rem; }
.sprache a { color: var(--kreide); text-decoration: none; font-weight: 600; padding: .5rem .75rem; min-width: 44px; text-align: center; border-radius: 4px; }
.sprache a[aria-current="true"] { background: var(--gold); color: var(--nacht); }
.sprache a:hover { color: var(--weiss); }
.sprache a[aria-current="true"]:hover { color: var(--nacht); }

/* Held */
.held { background: var(--nacht); color: var(--weiss);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem); }
.held-text { max-width: 40rem; justify-self: end; }
.claim { font-family: var(--display); font-weight: 800; font-style: italic; margin: 0 0 1.5rem;
  font-size: clamp(2.75rem, 6.2vw, 5.6rem); line-height: .92; letter-spacing: -.01em; }
.claim span { display: block; }
.claim span + span { padding-left: .6em; }   /* zweite Zeile nach rechts versetzt: Tempo */
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); max-width: 34rem; margin: 0; color: #D6DEE8; }

.sticker { margin: 0; justify-self: start; width: min(100%, 26rem);
  background: var(--weiss); padding: .6rem; border-radius: 18px; transform: rotate(-3deg);
  box-shadow: 0 18px 40px rgba(4, 12, 24, .45); }
.sticker img { border-radius: 12px; }

/* Warteliste */
.warteliste { max-width: var(--breite); margin: -3rem auto 0; position: relative;
  background: var(--weiss); border-radius: 14px; padding: clamp(1.5rem, 4vw, 3rem);
  width: calc(100% - 2.5rem); }
.warteliste h2, .vorschau h2, .einfach h1 { font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; margin: 0 0 .75rem; }
.warteliste > p { max-width: 38rem; margin: 0 0 1.5rem; color: var(--text-leise); }

.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; max-width: 48rem; }
.feld { display: flex; flex-direction: column; gap: .35rem; }
.feld:first-of-type { grid-column: 1 / -1; }
.feld label { font-weight: 600; }
.optional { font-weight: 400; color: var(--text-leise); }
.hinweis { margin: 0; font-size: .95rem; color: var(--text-leise); }
input[type="email"], input[type="text"] { font: inherit; padding: .75rem .9rem; border: 2px solid #B9C3D0; border-radius: 8px;
  background: var(--weiss); color: var(--text); min-height: 48px; }
input[type="email"]:focus, input[type="text"]:focus { border-color: var(--jeans); outline: none; box-shadow: 0 0 0 3px rgba(215, 168, 69, .55); }

.einwilligung { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: .75rem; }
.einwilligung input { width: 1.4rem; height: 1.4rem; margin: .15rem 0 0; flex-shrink: 0; accent-color: var(--jeans); }
.einwilligung label { font-weight: 400; font-size: 1rem; }

button, .knopf { grid-column: 1 / -1; justify-self: start; font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: 1.5rem; line-height: 1; padding: .85rem 1.75rem; min-height: 52px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--gold); color: var(--nacht); text-decoration: none; display: inline-block; }
button:hover, .knopf:hover { background: #E4BA5E; color: var(--nacht); }

.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung { border-radius: 8px; padding: 1rem 1.25rem; font-weight: 600; max-width: 48rem; }
.meldung-ok { background: #E6F2E8; color: #1F5B2C; border: 2px solid #8BC49A; }
.meldung-fehler { background: #FBEAE8; color: var(--fehler); border: 2px solid #E3A49D; }

/* Vorschau */
.vorschau { max-width: var(--breite); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) 1.25rem; }
.punkte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; }
.punkt svg { width: 44px; height: 44px; fill: none; stroke: var(--jeans); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.punkt h3 { font-size: 1.25rem; margin: .75rem 0 .4rem; }
.punkt p { margin: 0; color: var(--text-leise); max-width: 26rem; }
.demnaechst { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 2px solid #C9D2DD; max-width: 44rem; }
.demnaechst h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.demnaechst p { margin: 0; color: var(--text-leise); }

/* Einfache Seiten (Bestätigung, Rechtstexte, Admin) */
.einfach { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 1.25rem; }
.einfach h2 { font-size: 1.35rem; margin: 2rem 0 .5rem; }
.einfach .knopf { margin-top: 1rem; }
.platzhalter { background: #FFF3CF; padding: 0 .25em; border-radius: 3px; }
table { border-collapse: collapse; width: 100%; margin-bottom: 1rem; background: var(--weiss); }
th, td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid #D5DCE5; }

/* Fuß */
.fuss { background: var(--nacht); color: #C7D1DD; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem); font-size: 1rem; }
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 1.5rem; }
.fuss a { color: var(--kreide); }
.fuss a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .held { grid-template-columns: 1fr; }
  .held-text { justify-self: start; }
  .sticker { justify-self: center; width: min(80%, 20rem); }
  .formular, .punkte { grid-template-columns: 1fr; }
}
