/* Portal — übernimmt die Gestaltungsmerkmale der App (classical.css), damit
   Website und Anwendung zusammengehören. Farben, Schriften und Abstände sind
   bewusst dieselben; geändert wird das dort, nicht hier. */

/* Die Schriften liegen im Projekt und werden in den Seiten selbst eingebunden
   (schriften/schriften.css) — nicht mehr von fonts.googleapis.com. */

:root {
  --bg: #f3f2f2;
  --surface: #eae9e9;
  --text: #201f1d;
  --akzent: #b68235;
  --akzent-dunkel: #7d5411;
  --akzent-hell: #fff3e4;
  --linie: color-mix(in srgb, #201f1d 16%, transparent);
  --gedaempft: #605d5d;

  --font-titel: "Cormorant Garamond", Georgia, serif;
  --font-text: "Lora", Georgia, serif;

  --schatten: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --schatten-gross: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-titel);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }
a { color: var(--akzent-dunkel); }

.huelle {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ------------------------------------------------------------- Kopfzeile */

header.kopf {
  border-bottom: 1px solid var(--linie);
  background: color-mix(in srgb, var(--bg) 88%, white);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.kopf .huelle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.marke {
  font-family: var(--font-titel);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}
.marke span { color: var(--akzent); }

/* ---------------------------------------------------------------- Bühne */

.buehne {
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--linie);
}

.buehne h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 400;
  margin-bottom: 0.3em;
}

.buehne .unterzeile {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--gedaempft);
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.zierlinie {
  width: 4rem;
  height: 1px;
  background: var(--akzent);
  margin: 0 auto 2rem;
}

/* --------------------------------------------------------------- Knöpfe */

.knopf {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 1rem;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  border: 1px solid var(--akzent);
  background: var(--akzent);
  /* Dunkle Schrift, nicht weiße: Weiß auf diesem Messing ergibt nur 3,4 : 1
     und liegt damit unter der Lesbarkeitsgrenze von 4,5 : 1. Dunkel auf
     Messing sind es 5,2 : 1, und das Gold bleibt erhalten. */
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.knopf:hover { background: #e1ad66; border-color: #e1ad66; }
.knopf:active { transform: translateY(1px); }
.knopf[disabled] { opacity: 0.55; cursor: default; }

.knopf.still {
  background: transparent;
  color: var(--akzent-dunkel);
}
.knopf.still:hover { background: var(--akzent-hell); }

/* -------------------------------------------------------------- Abschnitte */

section { padding: 4rem 0; border-bottom: 1px solid var(--linie); }
section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 0.6em;
}
.einleitung {
  text-align: center;
  color: var(--gedaempft);
  max-width: 38rem;
  margin: 0 auto 3rem;
}

.raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.6rem;
}

.karte {
  background: var(--surface);
  border: 1px solid var(--linie);
  border-radius: 7px;
  padding: 1.6rem;
}
.karte h3 { font-size: 1.3rem; }
.karte p { margin: 0; color: var(--gedaempft); font-size: 0.95rem; }

/* ---------------------------------------------------------------- Ablauf */

.ablauf { counter-reset: schritt; max-width: 44rem; margin: 0 auto; }
.ablauf li {
  list-style: none;
  position: relative;
  padding-left: 3.6rem;
  margin-bottom: 2rem;
}
.ablauf li::before {
  counter-increment: schritt;
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--akzent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-titel);
  font-size: 1.2rem;
  color: var(--akzent-dunkel);
}
.ablauf h3 { font-size: 1.2rem; margin-bottom: 0.2em; }
.ablauf p { margin: 0; color: var(--gedaempft); }

/* ----------------------------------------------------------------- Preise */

.preise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.6rem;
  max-width: 46rem;
  margin: 0 auto;
}
.preis {
  background: var(--surface);
  border: 1px solid var(--linie);
  border-radius: 7px;
  padding: 2rem;
  text-align: center;
}
.preis.hervor {
  border-color: var(--akzent);
  box-shadow: var(--schatten);
  background: #fff;
}
.preis .zahl {
  font-family: var(--font-titel);
  font-size: 2.8rem;
  display: block;
  line-height: 1.1;
  margin: 0.3em 0 0.1em;
}
.preis .dazu { color: var(--gedaempft); font-size: 0.9rem; }
.preis ul { list-style: none; padding: 0; margin: 1.4rem 0 0; text-align: left; font-size: 0.95rem; }
.preis li { padding-left: 1.4rem; position: relative; margin-bottom: 0.5rem; }
.preis li::before { content: '·'; position: absolute; left: 0.4rem; color: var(--akzent); font-size: 1.3rem; line-height: 1; }
.preis li.aus { color: var(--gedaempft); }
.preis li.aus::before { content: '×'; font-size: 0.9rem; }

/* ---------------------------------------------------------------- Formular */

.anmeldung { max-width: 34rem; margin: 0 auto; }
.feld { margin-bottom: 1.2rem; }
.feld label { display: block; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--gedaempft); }
.feld input {
  width: 100%;
  font-family: var(--font-text);
  font-size: 16px; /* unter 16px zoomt iOS beim Antippen hinein */
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--linie);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
}
.feld input:focus { outline: 2px solid var(--akzent); outline-offset: 1px; border-color: transparent; }

.hinweis { font-size: 0.85rem; color: var(--gedaempft); }

.meldung {
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.meldung.fehler { background: #fbeceb; border: 1px solid #d99b95; }
.meldung.wartet { background: var(--akzent-hell); border: 1px solid var(--akzent); }

/* ------------------------------------------------------------- Ergebnis */

.ergebnis {
  background: #fff;
  border: 1px solid var(--akzent);
  border-radius: 7px;
  padding: 2rem;
  box-shadow: var(--schatten-gross);
}
.ergebnis h3 { font-size: 1.6rem; }
.zugangsdaten {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
  border-top: 1px solid var(--linie);
}
.zugangsdaten li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--linie);
}
.zugangsdaten .wert {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1rem;
  background: var(--akzent-hell);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  word-break: break-all;
}

/* --------------------------------------------------------------- Fußzeile */

footer {
  padding: 2.5rem 0 3.5rem;
  text-align: center;
  color: var(--gedaempft);
  font-size: 0.9rem;
}
footer a { color: var(--gedaempft); }

@media (max-width: 640px) {
  .buehne { padding: 3.2rem 0 2.6rem; }
  section { padding: 3rem 0; }
}
