/* empfehlung.leadanizer.de – Styles. Tokens aus ADR-002 des Leadanizer-Webseitenprojekts (260819). */
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/open-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #0B1527;
  --navy-800: #0F1D36;
  --navy-700: #192A49;
  --navy-600: #28416D;
  --deal-500: #006699;
  --deal-700: #00527A;
  --deal-900: #003D5C;
  --accent: #00C8FB;
  --success: #06AA30;
  --danger: #E40000;
  --text: #404040;
  --text-muted: #5F6B7A;
  --line: #D6DEE8;
  --field-bg: #F7F9FC;
  --white: #FFFFFF;
  --radius-card: 20px;
  --radius-field: 10px;
  --radius-btn: 30px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-card: 0 0 100px -20px rgba(0, 0, 0, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--white);
  background: radial-gradient(1200px 600px at 85% -10%, rgba(0, 200, 251, .16), transparent 60%), var(--navy-900);
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; border-radius: 8px; background: var(--white); color: var(--deal-900); }
.skip-link:focus { left: 8px; }

/* Kopf */
.site-header { padding: 20px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-block; }
.logo img { width: 180px; height: auto; }
.header-link { font-size: 15px; color: rgba(255, 255, 255, .75); text-decoration: none; }
.header-link:hover, .header-link:focus { color: var(--white); text-decoration: underline; }

/* Hero */
.hero { padding: 24px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 960px) {
  .hero { padding: 48px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 500px; gap: 56px; }
}
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0 0 16px; font-size: clamp(30px, 4.5vw, 44px); line-height: 1.15; font-weight: 700; }
.lead { margin: 0 0 32px; max-width: 52ch; font-size: 18px; color: rgba(255, 255, 255, .85); }
.lead-first { margin-bottom: 14px; }
.lead strong { color: var(--white); }

.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.step-no { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 200, 251, .15); color: var(--accent); font-weight: 700; }
.steps strong { display: block; font-size: 17px; }
.steps p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .75); }

/* Prämien-Hinweis (Glas-Karte, Markenmerkmal laut ADR-002) */
.bonus {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  margin: 0 0 28px; padding: 16px 20px;
  border: 1px solid rgba(0, 200, 251, .35); border-radius: var(--radius-card);
  background: linear-gradient(130deg, rgba(245, 245, 245, .06) 0%, rgba(255, 255, 255, .16) 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.bonus-amount { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.01em; color: var(--accent); white-space: nowrap; }
.bonus > div { flex: 1 1 240px; }
.bonus strong { display: block; font-size: 17px; }
.bonus p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .8); }

/* Formularkarte */
.card { padding: 24px; border-radius: var(--radius-card); background: var(--white); color: var(--text); box-shadow: var(--shadow-card); }
@media (min-width: 600px) { .card { padding: 32px; } }
.form-title { margin: 0 0 4px; font-size: 22px; color: var(--navy-900); }
.form-hint { margin: 0 0 20px; font-size: 14px; color: var(--text-muted); }

fieldset { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
legend { margin: 0 0 12px; padding: 0; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--deal-900); }

.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--navy-900); }
.field input::placeholder { color: #8A94A3; opacity: 1; }
.field input, .field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23404040' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--deal-500); box-shadow: 0 0 0 3px rgba(0, 200, 251, .35); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 6px 0 0; font-size: 14px; color: var(--danger); }
.field-note { margin: -6px 0 0; font-size: 14px; color: var(--text-muted); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }

.privacy { margin: 10px 0 0; text-align: center; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.privacy a { color: var(--deal-900); }

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; padding: 14px 24px;
  border: 0; border-radius: var(--radius-btn);
  background: var(--deal-500); color: var(--white);
  font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.btn:hover, .btn:focus-visible { background: var(--deal-700); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn:disabled { opacity: .7; cursor: progress; }
.btn-secondary { background: transparent; color: var(--deal-900); border: 2px solid var(--deal-500); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: rgba(0, 102, 153, .08); color: var(--deal-900); }
.reassure { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--text-muted); }

.alert { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #F5B5B5; border-radius: var(--radius-field); background: #FDECEC; color: #8A0000; font-size: 15px; }
.alert[hidden] { display: none; }

.success { padding: 8px 0; text-align: center; }
.success svg { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--success); }
.success h2 { margin: 0 0 8px; font-size: 24px; color: var(--navy-900); }
.success p { margin: 0 0 24px; color: var(--text); }

.noscript { margin: 0 0 20px; padding: 12px 14px; border-radius: var(--radius-field); background: #FFF6D6; color: #5C4300; font-size: 15px; }

/* Fuß */
.site-footer { padding: 32px 0 40px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: rgba(255, 255, 255, .85); }

/* 404 */
.notfound { padding: 96px 0; text-align: center; }
.notfound h1 { font-size: clamp(28px, 4vw, 40px); }
.notfound a { color: var(--accent); }

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