/* Liquid-Glass-Design: Farbnebel auf #f3f4f8, transluzente Karten (blur 18px),
   Glas-Navbar, Hero mit großem Namen, Chips für Aufzählungen.
   Typo: Inter, Fließtext 16/24, Titel 500, Hero 700 mit -0.03em. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f3f4f8;
  color: #62656e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 40% at 15% 8%, rgba(99, 132, 255, 0.18), transparent 70%),
    radial-gradient(40% 45% at 88% 18%, rgba(178, 140, 255, 0.14), transparent 70%),
    radial-gradient(50% 40% at 55% 100%, rgba(110, 200, 255, 0.12), transparent 70%);
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px 56px; }

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid #16181d; outline-offset: 2px; border-radius: 6px; }

/* ——— Glas-Grundrezept ——— */
.glass {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* ——— Navbar ——— */
header.bar {
  position: sticky;
  top: 12px;
  z-index: 10;
  max-width: 720px;
  margin: 12px auto 0;
  padding: 0 20px;
}

header.bar .glass {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 8px 0 18px;
  border-radius: 14px;
}

.brand { font-weight: 600; color: #1e2025; line-height: 1.15; }

.nowrap { white-space: nowrap; }

header.bar nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; color: #62656e; font-size: 14px; }
.lang a { color: #62656e; }
.lang a:hover { color: #1e2025; }
.lang .on { color: #1e2025; font-weight: 600; }

.cta {
  background: #16181d;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
}

.cta:hover { background: #000; }

/* ——— Hero ——— */
.hero { padding: 44px 0 8px; }

h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1e2025;
}

.intro { margin: 0; max-width: 34rem; }

/* ——— Sektionen: Kicker + Glaskarte ——— */
section { margin-top: 36px; }

h2 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7d86;
}

.card { padding: 6px; }

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 11px;
}

/* Ganze Zeile antippbar */
a.row {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

a.row:hover {
  background: rgba(20, 22, 28, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

a.row:active {
  background: rgba(20, 22, 28, 0.085);
  transform: scale(0.994);
}

a.row:focus-visible { outline: 2px solid #16181d; outline-offset: -2px; }

.arrow {
  flex: none;
  color: #a9acb5;
  font-size: 15px;
  transition: transform 160ms ease, color 160ms ease;
}

a.row:hover .arrow { color: #62656e; transform: translateX(2px); }

@media (prefers-reduced-motion: reduce) {
  a.row, .arrow { transition: none; }
  a.row:active { transform: none; }
}

.col { min-width: 0; }

.row + .row { border-top: 1px solid rgba(20, 22, 28, 0.06); border-top-left-radius: 0; border-top-right-radius: 0; }

.head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

.card form { flex: 1; }

.t { display: block; color: #1e2025; font-weight: 500; }

.y { color: #8a8d96; font-size: 13px; white-space: nowrap; }

.s { display: block; color: #62656e; font-size: 14px; line-height: 21px; margin-top: 2px; }

/* ——— Chips ——— */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(20, 22, 28, 0.07);
  color: #3d4048;
  font-size: 13px;
  line-height: 20px;
}

.row .label { display: block; color: #8a8d96; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ——— Formular ——— */
form.glass, .card form { padding: 20px; }

label { display: block; color: #1e2025; font-size: 14px; font-weight: 500; margin: 0 0 6px; }

input, textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(20, 22, 28, 0.10);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  font: inherit;
  color: #1e2025;
}

input:focus, textarea:focus { border-color: #8a8d96; outline: none; }

textarea { min-height: 130px; resize: vertical; }

button {
  background: #16181d;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

button:hover { background: #000; }

.hp { position: absolute; left: -9999px; }

/* ——— Fußzeile ——— */
footer { margin-top: 44px; color: #8a8d96; font-size: 13px; }

footer a { margin-right: 18px; color: #8a8d96; }
footer a:hover { color: #1e2025; }

/* ——— Sprachwahl-Popup ——— */
.overlay[hidden] { display: none; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 244, 248, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal { padding: 32px 36px; text-align: center; }

.modal p { margin: 0 0 16px; color: #1e2025; font-weight: 600; }

.modal button {
  background: rgba(255, 255, 255, 0.8);
  color: #1e2025;
  border: 1px solid rgba(20, 22, 28, 0.10);
  margin: 0 5px;
}

.modal button:hover { background: #fff; }

/* ——— Rechtstexte ——— */
.wrap.legal { margin-top: 28px; }

.legal .glass { padding: 24px 28px; }

.legal h1 { font-size: 18px; margin-bottom: 20px; }
.legal h2 { margin: 24px 0 6px; }
.legal p { margin: 0 0 12px; font-size: 15px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b8bac2; }
.legal footer a { text-decoration: none; }
