/*
  site.css – Pass It
  Farben, Verläufe, Radien und Komponenten aus der App (PassIt/Theme/Theme.swift,
  GameMode.swift, CardStyle.swift, WelcomeView.swift). Werte bitte dort ändern und
  hier nachziehen, damit Website und App gleich aussehen.
  Keine externen Schriften: Systemschrift wie in der App (auf Apple-Geräten SF Pro).
*/

/* ------------------------------------------------------------------ Tokens */

:root {
  /* Hintergrund (Theme.backgroundTop / backgroundBottom) */
  --bg-top: #262283;
  --bg-bottom: #1e3fa8;

  /* Hauptfarben (Theme) */
  --orange: #ff8a3d;
  --tangerine: #ff6b2c;
  --sun: #ffc53d;
  --turquoise: #22d3ee;
  --teal: #2dd4bf;
  --lime: #a3e635;
  --green: #4ade80;
  --violet: #7c5cff;
  --grape: #7c3aed;
  --indigo: #4f46e5;
  --lavender: #a78bfa;
  --blue: #3b82f6;
  --royal: #2563eb;
  --coral: #ff5a5f;

  /* Schrift (Theme.ink, textPrimary, textSecondary) */
  --ink: #16123f;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.85);

  /* Verläufe */
  --title-gradient: linear-gradient(90deg, #a66bff, #6a93ff);
  --button-gradient: linear-gradient(90deg, var(--grape), var(--royal));
  --mode-partymix: linear-gradient(135deg, var(--tangerine), var(--sun));
  --mode-wop: linear-gradient(135deg, var(--grape), var(--indigo));
  --mode-ihnn: linear-gradient(135deg, var(--turquoise), var(--teal));
  --mode-wwe: linear-gradient(135deg, var(--lime), var(--green));
  --mode-wheel: linear-gradient(135deg, var(--royal), var(--grape));

  /* Glas und Form (Theme.glassFill, glassStroke, cornerRadius) */
  --glass: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --glass-stroke: rgba(255, 255, 255, 0.18);
  --radius: 24px;
  --radius-button: 28px;
  --radius-small: 16px;

  /* Willkommens-Screen (WelcomeView.Palette) */
  --night: #0b0c22;
  --night-card: #14163a;
  --night-border: #2a2d63;
  --night-body: #c9c7ee;
  --night-muted: #9d9bcb;

  /* Schrift: Systemschrift wie in der App, gerundet nur für Zahlen am Rad */
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Breiten (Theme.maxContentWidth = 700) */
  --content: 700px;
  --wide: 1080px;
  --gutter: 20px;

  color-scheme: dark;
}

/* ------------------------------------------------------------------ Grundlagen */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-top);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

p a, li a, dd a, td a, .text-link {
  color: var(--sun);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

p a:hover, li a:hover, dd a:hover, td a:hover, .text-link:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--content { max-width: calc(var(--content) + 2 * var(--gutter)); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* E-Mail-Adressen: Der Einschub steht nur im Quelltext (siehe site.js). */
.mail-trap { display: none; }

/* ------------------------------------------------------------------ Hintergrund
   PartyBackground: Verlauf mit drei weichen Leuchtflecken (Violett links,
   Türkis rechts, Orange unten links). Fest hinter dem Inhalt wie in der App. */

.party-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48vmax 44vmax at -12% 38%, rgba(124, 92, 255, 0.40), rgba(124, 92, 255, 0) 70%),
    radial-gradient(44vmax 40vmax at 104% 50%, rgba(34, 211, 238, 0.28), rgba(34, 211, 238, 0) 70%),
    radial-gradient(50vmax 44vmax at 0% 100%, rgba(255, 138, 61, 0.36), rgba(255, 138, 61, 0) 70%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

/* ------------------------------------------------------------------ Kopfleiste */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 0;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Wie StatusBarScrim: Inhalt läuft unter der Leiste weich aus. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(38, 34, 131, 0.96), rgba(38, 34, 131, 0.88));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-stroke);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 22.5%;
  box-shadow: 0 4px 12px rgba(22, 18, 63, 0.35);
}

.gradient-text {
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #a66bff;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--text-2);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--text); background: var(--glass); }

@media (max-width: 720px) {
  .nav__links .nav__secondary { display: none; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:active { transform: scale(0.97); }

/* GradientButtonStyle: Hauptaktion eines Screens */
.btn--primary {
  min-height: 56px;
  padding: 14px 28px;
  border-radius: var(--radius-button);
  color: #fff;
  background: var(--button-gradient);
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.4);
}
.btn--primary:hover { opacity: 0.92; }

/* CapsuleButtonStyle .filled / .glass */
.btn--filled { color: var(--ink); background: #fff; }
.btn--glass { color: #fff; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-stroke); }
.btn--glass:hover { background: var(--glass-strong); }

.btn--small { min-height: 40px; padding: 8px 16px; font-size: 15px; }

.app-store-link {
  display: inline-block;
  border-radius: 10px;
  line-height: 0;
}
.app-store-link img { width: 180px; height: auto; }

/* ------------------------------------------------------------------ Glas-Karten */

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.chip svg { width: 16px; height: 16px; flex: none; }

.badge-18 {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-stroke);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

/* ------------------------------------------------------------------ Konfetti
   ConfettiLayer.headerGap: Streifen, Punkte, Ringe in festen Positionen. */

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  display: block;
  width: 5px;
  height: 14px;
  border-radius: 2px;
  background: var(--c);
  transform: rotate(var(--r, 0deg)) scale(var(--s, 1));
}

.confetti i.dot { width: 8px; height: 8px; border-radius: 50%; }
.confetti i.ring { width: 11px; height: 11px; border-radius: 50%; background: none; border: 2.5px solid var(--c); }

/* ------------------------------------------------------------------ Startseite: Hero */

.hero {
  position: relative;
  padding: 40px 0 56px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero__eyebrow { margin-bottom: 18px; }

.hero h1 {
  font-size: clamp(40px, 9vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 18px 0 0;
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--text-2);
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 28px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  font-size: 15px;
  font-weight: 600;
}

.hero__art {
  position: relative;
  aspect-ratio: 1 / 0.96;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

/* ------------------------------------------------------------------ Spielkarten
   CardStyle: volle Farbfläche, Titel mit Symbol oben, großer Text, Name fett. */

.play-card {
  position: absolute;
  width: 62%;
  aspect-ratio: 3 / 4;
  padding: 18px 18px 20px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--card, var(--orange));
  box-shadow: 0 18px 40px rgba(22, 18, 63, 0.35);
}

.play-card__kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  font-size: 14px;
  font-weight: 700;
}

.play-card__kind svg { width: 16px; height: 16px; }

.play-card__text {
  margin: auto 0;
  font-size: clamp(15px, 3.9vw, 19px);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.play-card__text b { font-weight: 800; }

.play-card__actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* CardActionButtonStyle (dezent): getönte Kapsel in der Schriftfarbe */
.play-card__actions span {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(22, 18, 63, 0.14);
  box-shadow: inset 0 0 0 1px rgba(22, 18, 63, 0.35);
}

.play-card--question { --card: var(--turquoise); left: 0; top: 34px; transform: rotate(-8deg); }
.play-card--duel { --card: var(--coral); right: 0; top: 34px; transform: rotate(8deg); }
.play-card--task { --card: var(--orange); left: 19%; top: 0; z-index: 2; }

.hero__wheel {
  position: absolute;
  z-index: 3;
  width: 30%;
  right: 0;
  bottom: -10%;
  filter: drop-shadow(0 12px 22px rgba(22, 18, 63, 0.45));
}

/* ------------------------------------------------------------------ Glücksrad */

.wheel__disc { transform-origin: 100px 100px; }

@media (prefers-reduced-motion: no-preference) {
  .wheel--spin .wheel__disc { animation: wheel-spin 1.8s cubic-bezier(0.15, 0.7, 0.2, 1) 0.2s both; }
}

@keyframes wheel-spin {
  from { transform: rotate(-405deg); }
  to { transform: rotate(0deg); }
}

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

.section { padding: 56px 0; }
.section--tight { padding-top: 24px; }

.section__head { max-width: 40em; margin-bottom: 28px; }

.section__kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sun);
}

.section h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; }

.section__head p { margin: 12px 0 0; color: var(--text-2); font-size: 18px; }

/* ------------------------------------------------------------------ Modus-Kacheln */

.modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mode {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 170px;
  padding: 16px;
  border-radius: var(--radius);
  color: var(--ink);
}

.mode h3 { font-size: 18px; font-weight: 700; }
.mode p { margin: 0; font-size: 15px; line-height: 1.4; }

.mode__art {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.mode__art svg { width: 26px; height: 26px; }

.mode--partymix {
  grid-column: 1 / -1;
  min-height: 190px;
  padding: 20px;
  background: var(--mode-partymix);
  box-shadow: 0 6px 16px rgba(255, 107, 44, 0.45);
}

.mode--partymix h3 { font-size: 28px; font-weight: 800; margin-right: 104px; }
.mode--partymix p { font-size: 16px; font-weight: 500; max-width: 22em; margin-right: 104px; }

.mode--partymix .mode__art {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 92px;
  height: 83px;
  border-radius: 0;
  background: none;
}

.mode--partymix .mode__art svg:not(.mode__blob) { width: 44px; height: 44px; position: relative; }
.mode--partymix .mode__blob { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(255, 255, 255, 0.35); }

.mode__play {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.mode__play svg { width: 12px; height: 12px; }

.mode--wop { background: var(--mode-wop); color: #fff; box-shadow: 0 6px 14px rgba(124, 58, 237, 0.4); }
.mode--wop .mode__art { background: rgba(255, 255, 255, 0.18); }
.mode--ihnn { background: var(--mode-ihnn); box-shadow: 0 6px 14px rgba(34, 211, 238, 0.4); }
.mode--wwe { background: var(--mode-wwe); box-shadow: 0 6px 14px rgba(163, 230, 53, 0.4); }
.mode--wheel { background: var(--glass); border: 1px solid var(--glass-stroke); color: #fff; }
.mode--wheel p { color: var(--text-2); }
.mode--wheel .mode__art { background: none; width: 62px; height: 62px; }
.mode--wheel .mode__art svg { width: 62px; height: 62px; }

@media (min-width: 900px) {
  .modes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mode--partymix { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ Strafmodi */

.penalties {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 760px) {
  .penalties { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.penalty { padding: 20px; }

.penalty__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
}

.penalty__title svg { width: 18px; height: 18px; }

.penalty--default .penalty__title { background: #fff; color: var(--ink); border-color: #fff; }

.penalty p { margin: 14px 0 0; color: var(--text-2); }
.penalty .note { display: block; margin-top: 8px; font-size: 14px; color: var(--sun); font-weight: 600; }

/* ------------------------------------------------------------------ Feature-Liste */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.split__art { max-width: 300px; width: 70%; margin: 0 auto; }

.checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 600;
}

.checklist svg { width: 22px; height: 22px; margin-top: 2px; color: var(--sun); }

.checklist span { font-weight: 400; color: var(--text-2); }

/* ------------------------------------------------------------------ Plus */

.plus-card {
  position: relative;
  padding: 28px 22px;
  overflow: hidden;
}

.plus-card__crown {
  display: grid;
  place-items: center;
  width: 64px;
  height: 58px;
  margin-bottom: 16px;
  position: relative;
}

.plus-card__crown .blob { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--glass); stroke: var(--glass-stroke); stroke-width: 1; }
.plus-card__crown svg.crown { position: relative; width: 30px; height: 30px; color: var(--sun); }

.plus-card h2 { font-size: clamp(26px, 4.6vw, 34px); font-weight: 800; }

.plus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 860px) {
  .plus-card { padding: 36px; }
  .plus-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.plus-card .small { font-size: 15px; color: var(--text-2); }

/* ------------------------------------------------------------------ Regeln (Willkommens-Screen) */

.rules {
  padding: 28px 22px;
  background: var(--night-card);
  border: 1px solid var(--night-border);
  border-radius: var(--radius);
}

.rules h2 { font-size: clamp(24px, 4.2vw, 30px); font-weight: 800; }

.rules ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.rules li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  color: var(--night-body);
}

.rules li svg { width: 22px; height: 22px; margin-top: 2px; }

.rules__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 24px;
}

.rules .badge-18 { color: var(--night-muted); border-color: var(--night-border); }

.rules__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--night-border);
  text-decoration: none;
  color: var(--night-body);
  font-size: 15px;
}

.rules__link strong { color: #fff; }

@media (min-width: 860px) {
  .rules { padding: 36px; }
}

/* ------------------------------------------------------------------ Unterseiten */

.page { padding: 28px 0 64px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-2);
  text-decoration: none;
}

.back-link:hover { color: var(--text); }
.back-link svg { width: 16px; height: 16px; }

.page h1 {
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

.page__lead { margin: 12px 0 0; font-size: 18px; color: var(--text-2); }
.page__updated { margin: 10px 0 0; font-size: 15px; color: var(--text-2); }

/* ------------------------------------------------------------------ Rechtstexte */

.legal {
  margin-top: 28px;
  padding: 8px 22px 28px;
}

@media (min-width: 760px) {
  .legal { padding: 12px 36px 36px; }
}

.legal h2 {
  margin: 36px 0 12px;
  font-size: 24px;
  font-weight: 800;
}

.legal h3 {
  margin: 26px 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.legal p, .legal ul, .legal ol, .legal dl, .legal .table-wrap { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal li::marker { color: var(--sun); }

.legal dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 20px;
  padding: 14px 18px;
  border-radius: var(--radius-small);
  background: rgba(22, 18, 63, 0.22);
}

.legal dt { font-size: 14px; font-weight: 700; color: var(--text-2); margin-top: 8px; }
.legal dt:first-child { margin-top: 0; }
.legal dd { margin: 0; }

@media (min-width: 640px) {
  .legal dl { grid-template-columns: minmax(150px, max-content) 1fr; }
  .legal dt { margin-top: 0; padding: 4px 0; }
  .legal dd { padding: 4px 0; }
}

.legal .summary {
  margin-top: 20px;
  padding: 18px 18px 6px 40px;
  border-radius: var(--radius-small);
  background: rgba(22, 18, 63, 0.22);
}

.legal .basis { font-size: 15px; color: var(--text-2); }

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-small);
  border: 1px solid var(--glass-stroke);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.legal th, .legal td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--glass-stroke);
}

.legal th { font-weight: 700; background: rgba(22, 18, 63, 0.3); }
.legal tr:last-child td { border-bottom: 0; }

/* Schmale Bildschirme: Tabellen als Karten, jede Zelle mit ihrer Spaltenüberschrift */
@media (max-width: 640px) {
  .table-wrap { border: 0; overflow: visible; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { display: none; }
  .legal tr {
    margin-bottom: 10px;
    padding: 6px 0;
    border-radius: var(--radius-small);
    background: rgba(22, 18, 63, 0.22);
    border: 1px solid var(--glass-stroke);
  }
  .legal td { border: 0; padding: 4px 14px; }
  .legal td::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-2);
  }
}

/* ------------------------------------------------------------------ FAQ */

.faq { display: grid; gap: 12px; margin-top: 24px; }

.faq details {
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
}

.faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2.5px solid var(--sun);
  border-bottom: 2.5px solid var(--sun);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }

.faq__answer { padding: 0 20px 18px; color: var(--text-2); }
.faq__answer p { margin: 0 0 10px; }
.faq__answer ol, .faq__answer ul { margin: 0 0 10px; padding-left: 22px; }
.faq__answer li { margin: 4px 0; }
.faq__answer strong { color: var(--text); }

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

.contact { margin-top: 48px; }

.contact h2 { font-size: clamp(26px, 4.6vw, 34px); font-weight: 800; }

.form {
  margin-top: 20px;
  padding: 22px;
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .form { padding: 28px; grid-template-columns: 1fr 1fr; }
  .form .field--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 6px; }

.field label { font-weight: 700; font-size: 15px; }

.field .opt { font-weight: 500; color: var(--text-2); }

.field .hint { font-size: 14px; color: var(--text-2); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-small);
  border: 1px solid var(--glass-stroke);
  background: rgba(22, 18, 63, 0.35);
  color: #fff;
  font: inherit;
  font-size: 17px; /* 17 px verhindert das Hereinzoomen in iOS-Safari */
}

.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--sun) 50%),
    linear-gradient(135deg, var(--sun) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field select option { color: var(--ink); background: #fff; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.55); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(255, 197, 61, 0.35);
}

.field--invalid input,
.field--invalid select,
.field--invalid textarea { border-color: var(--coral); }

.field__error { font-size: 14px; font-weight: 600; color: #ffd0d1; }

/* Honigtopf: für Menschen unsichtbar, auch für Screenreader. */
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__submit { display: grid; gap: 12px; justify-items: start; }

.form__note { margin: 0; font-size: 15px; color: var(--text-2); }

.alt-mail { margin-top: 18px; color: var(--text-2); }

/* Meldungen: Erfolg, Hinweis, Fehler */
.notice {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid var(--glass-stroke);
  background: var(--glass);
}

.notice h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.notice p { margin: 0 0 10px; }
.notice ul { margin: 0 0 10px; padding-left: 22px; }
.notice--success { border-color: rgba(163, 230, 53, 0.6); background: rgba(163, 230, 53, 0.14); }
.notice--error { border-color: rgba(255, 90, 95, 0.7); background: rgba(255, 90, 95, 0.16); }
.notice--info { border-color: rgba(255, 197, 61, 0.6); background: rgba(255, 197, 61, 0.12); }

.notice__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.notice__icon svg { width: 24px; height: 24px; }

.copy-box {
  width: 100%;
  min-height: 140px;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: var(--radius-small);
  border: 1px solid var(--glass-stroke);
  background: rgba(22, 18, 63, 0.35);
  color: #fff;
  font: inherit;
  font-size: 16px;
}

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

.footer {
  margin-top: 40px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--glass-stroke);
  background: rgba(22, 18, 63, 0.25);
  font-size: 15px;
  color: var(--text-2);
}

.footer__top {
  display: grid;
  gap: 20px;
}

@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1fr auto; align-items: start; }
}

.footer .brand { font-size: 20px; }
.footer__tagline { margin: 8px 0 0; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a { text-decoration: none; font-weight: 600; color: var(--text); }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer__bottom {
  margin-top: 24px;
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.footer__bottom p { margin: 0; }

/* ------------------------------------------------------------------ Bewegung */

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