/* Deutsche Daten Allianz — dda.tasc.ch
   Eigenständiges Design (Technik-Muster analog humra/roboticforum/altair,
   Gestaltung eigenständig): Tiefes Nachtblau + Kupfer-Akzent, Daten-Mesh im Hero. */

:root {
  --ink: #0e1c30;
  --ink-2: #16283f;
  --ink-3: #1f3450;
  --paper: #f6f4ef;
  --card: #ffffff;
  --text: #26313e;
  --muted: #5c6a79;
  --accent: #c47a24;
  --accent-bright: #e69a3a;
  --accent-soft: #f3e3cb;
  --line: #dcd7cc;
  --ok: #2e7d4f;
  --err: #b23a3a;
  --radius: 10px;
  --maxw: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-bright); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 750; margin-bottom: 0.6em; }
h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.4em; }

/* ── Header ─────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 2px solid var(--accent);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand {
  display: flex; align-items: baseline; gap: 10px;
  text-decoration: none; white-space: nowrap;
}
.brand .mark {
  font-weight: 900; font-size: 1.45rem; letter-spacing: 0.04em;
  color: #fff;
}
.brand .mark em { font-style: normal; color: var(--accent-bright); }
.brand .sub {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #9db0c5; display: none;
}
@media (min-width: 700px) { .brand .sub { display: inline; } }

nav.menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.menu a {
  color: #d9e2ec; text-decoration: none; font-size: 0.95rem; font-weight: 550;
  padding: 8px 12px; border-radius: 6px;
}
nav.menu a:hover { color: #fff; background: var(--ink-3); }
nav.menu a.active { color: var(--accent-bright); }
nav.menu a.cta {
  background: var(--accent); color: #fff; font-weight: 700; margin-left: 6px;
}
nav.menu a.cta:hover { background: var(--accent-bright); }
.lang-switch {
  margin-left: 10px; font-size: 0.85rem; color: #9db0c5;
  border: 1px solid var(--ink-3); border-radius: 6px; padding: 4px 10px;
  text-decoration: none;
}
.lang-switch:hover { color: #fff; border-color: var(--accent); }

/* mobile nav */
#menu-toggle { display: none; }
label.burger {
  display: none; color: #fff; font-size: 1.6rem; cursor: pointer; padding: 6px 10px;
}
@media (max-width: 860px) {
  label.burger { display: block; }
  nav.menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 10px 18px 18px; border-bottom: 2px solid var(--accent);
  }
  #menu-toggle:checked ~ nav.menu { display: flex; }
  nav.menu a { padding: 12px; }
  .lang-switch { margin: 8px 0 0; text-align: center; }
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(ellipse 90% 70% at 75% 20%, rgba(196,122,36,0.18), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 70%, var(--ink-3) 100%);
  color: #e8edf4;
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* Daten-Mesh: Punkte + Linien */
  content: ""; position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg stroke='%233c557a' stroke-width='1' fill='none'%3E%3Cpath d='M60 80 L180 40 L300 110 L390 60'/%3E%3Cpath d='M40 240 L180 40'/%3E%3Cpath d='M180 40 L140 200 L300 110'/%3E%3Cpath d='M140 200 L40 240 L120 360 L300 300 L300 110'/%3E%3Cpath d='M300 300 L390 380'/%3E%3C/g%3E%3Cg fill='%23b0803f'%3E%3Ccircle cx='60' cy='80' r='4'/%3E%3Ccircle cx='180' cy='40' r='5'/%3E%3Ccircle cx='300' cy='110' r='4'/%3E%3Ccircle cx='140' cy='200' r='5'/%3E%3Ccircle cx='40' cy='240' r='4'/%3E%3Ccircle cx='120' cy='360' r='4'/%3E%3Ccircle cx='300' cy='300' r='5'/%3E%3Ccircle cx='390' cy='60' r='3'/%3E%3Ccircle cx='390' cy='380' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
.hero .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 20ch; margin-bottom: 22px; }
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 60ch; color: #c3cfdd;
  margin-bottom: 34px;
}
.hero p.lead strong { color: #fff; }
.hero.small { padding: 60px 0 64px; }
.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: 16px;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 14px 28px; border-radius: 8px; border: none; cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-bright); color: #fff; }
.btn-ghost {
  display: inline-block; color: #e8edf4; text-decoration: none; font-weight: 600;
  padding: 13px 26px; border-radius: 8px; border: 1.5px solid #516b8a;
}
.btn-ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Sections ───────────────────────────────────────── */
section.block { padding: 72px 0; }
section.block.alt { background: #efece4; }
section.block.dark {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #dbe4ee;
}
section.block.dark h2 { color: #fff; }
.section-intro { max-width: 68ch; color: var(--muted); margin-bottom: 40px; font-size: 1.05rem; }
section.block.dark .section-intro { color: #aebccc; }

/* ── Cards ──────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--line); border-top: 3px solid var(--accent);
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text); font-size: 0.98rem; }
section.block.dark .card {
  background: var(--ink-3); border-color: #2c4260; border-top-color: var(--accent);
}
section.block.dark .card h3 { color: #fff; }
section.block.dark .card p { color: #c3cfdd; }

/* ── Timeline ───────────────────────────────────────── */
.timeline { position: relative; padding-left: 34px; max-width: 760px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -32px; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--accent);
}
.tl-year {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 4px;
}
.tl-item h3 { margin-bottom: 8px; }
.tl-item p { max-width: 66ch; }
.tl-item p + p { margin-top: 10px; }

/* ── Listen ─────────────────────────────────────────── */
.checklist { list-style: none; max-width: 68ch; }
.checklist li { padding: 8px 0 8px 34px; position: relative; }
.checklist li::before {
  content: "▸"; position: absolute; left: 8px; color: var(--accent); font-weight: 700;
}
ol.goals { max-width: 68ch; padding-left: 24px; }
ol.goals li { padding: 6px 0; }

/* ── CTA-Band ───────────────────────────────────────── */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 100%);
  border-top: 3px solid var(--accent);
  color: #dbe4ee; padding: 64px 0; text-align: center;
}
.cta-band h2 { color: #fff; max-width: 26ch; margin: 0 auto 14px; }
.cta-band p { max-width: 60ch; margin: 0 auto 30px; color: #aebccc; }

/* ── Formulare ──────────────────────────────────────── */
form.dda {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; max-width: 680px;
}
form.dda .field { margin-bottom: 20px; }
form.dda label { display: block; font-weight: 650; font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
form.dda label .req { color: var(--err); }
form.dda input[type=text], form.dda input[type=email],
form.dda select, form.dda textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 0.98rem;
  border: 1px solid var(--line); border-radius: 7px; background: #fdfcfa; color: var(--text);
}
form.dda input:focus, form.dda select:focus, form.dda textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent);
}
form.dda textarea { min-height: 130px; resize: vertical; }
form.dda .captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
form.dda .captcha-row input { max-width: 140px; }
form.dda [data-captcha-q] { font-weight: 700; color: var(--ink); }
form.dda [data-captcha-reload] {
  font-size: 0.85rem; color: var(--muted); text-decoration: underline; cursor: pointer;
  background: none; border: none; padding: 0; font-family: inherit;
}
form.dda .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
form.dda .consent input { margin-top: 5px; }
form.dda .consent label { font-weight: 500; margin: 0; color: var(--text); }
.form-msg { display: none; margin-top: 18px; padding: 13px 16px; border-radius: 7px; font-size: 0.95rem; }
.form-msg.ok { display: block; background: #e5f2ea; color: var(--ok); border: 1px solid #bcd9c7; }
.form-msg.err { display: block; background: #f9e8e8; color: var(--err); border: 1px solid #e4bcbc; }
.gotcha { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted); max-width: 680px; margin-top: 16px; }

/* ── Benefits (Mitmachen) ───────────────────────────── */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 36px 0 10px; }
.benefit {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 18px 20px; font-size: 0.95rem;
}
.benefit strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* ── Kontakt / Vita ─────────────────────────────────── */
.vita {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; max-width: 760px;
}
.vita h3 { font-size: 1.3rem; }
.vita .role { color: var(--accent); font-weight: 650; margin-bottom: 14px; }

/* ── Prose (Impressum/Datenschutz, Fließtext) ───────── */
.prose { max-width: 72ch; }
.prose p { margin-bottom: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul { padding-left: 22px; margin-bottom: 1em; }

/* ── Footer ─────────────────────────────────────────── */
footer.site {
  background: var(--ink); color: #8fa2b8; padding: 46px 0 38px;
  font-size: 0.9rem;
}
footer.site .claim { color: #d9e2ec; font-weight: 650; margin-bottom: 16px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 18px; }
footer.site nav a { color: #9db0c5; text-decoration: none; }
footer.site nav a:hover { color: #fff; }
footer.site .notice { font-size: 0.8rem; color: #6d8098; max-width: 72ch; }
