/* Mein Deutscher Pass — eigenständiges Design-System.
   Durchgehend helles Design ohne dunkle Flächen (weder Navy/Blau noch Braun):
   Creme-Weiß als Basis, Gold-Akzent aus dem Logo, dezentes Terracotta als Rarität. */

@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-600.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2"); }

:root {
  --ink: #2b2117;
  --ink-soft: #75695a;
  --paper: #fdfbf6;
  --paper-deep: #f4ecdb;
  --panel: #f6efdc;
  --gold: #c9a03f;
  --gold-deep: #a8802a;
  --gold-tint: #f8ecd0;
  --red: #b5623f;
  --red-tint: #faf0e6;
  --line: rgba(43, 33, 23, 0.09);
  --shadow: 0 22px 50px -26px rgba(60, 46, 32, 0.32);
  --radius-s: 12px;
  --radius-m: 22px;
  --radius-l: 32px;
  --max: 1180px;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, Segoe UI, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section--tight { padding: 56px 0; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); }
.h1 { font-size: 2.1rem; font-weight: 700; line-height: 1.12; }
@media (min-width: 768px) { .h1 { font-size: 3.4rem; } }
.h2 { font-size: 1.7rem; font-weight: 700; line-height: 1.18; }
@media (min-width: 768px) { .h2 { font-size: 2.5rem; } }
.h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.lede { font-size: 1.05rem; line-height: 1.65; color: var(--ink-soft); max-width: 58ch; }
.rule { display: block; height: 1px; width: 48px; background: var(--gold); margin: 18px 0; }
.rule--center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.btn--primary { background: var(--gold); color: var(--ink); box-shadow: 0 3px 0 0 var(--gold-deep); }
.btn--primary:hover { background: var(--gold-deep); color: #fff; }
.btn--primary:active { transform: translateY(3px); box-shadow: none; }
.btn--ink { border: 1px solid rgba(32,29,24,0.25); color: var(--ink); }
.btn--ink:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250,246,238,0.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.nav-desktop { display: none; align-items: center; gap: 30px; }
@media (min-width: 900px) { .nav-desktop { display: flex; } }
.nav-desktop a { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-soft); position: relative; padding-bottom: 4px; }
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a.is-cta { color: var(--gold-deep); font-weight: 600; }
.nav-mobile-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; }
@media (min-width: 900px) { .nav-mobile-toggle { display: none; } }
.nav-mobile-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-mobile { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.nav-mobile.is-open { display: block; }
.nav-mobile a { display: block; padding: 14px 20px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line); }
.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

/* Hero */
.hero { position: relative; background: var(--panel); color: var(--ink); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(201,160,63,0.28), transparent 60%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; padding: 72px 0 88px; align-items: center; } }
.hero__trust { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 20px 32px; }
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.hero__trust-item svg { width: 16px; height: 16px; color: var(--gold-deep); flex-shrink: 0; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.hero__phone svg { width: 16px; height: 16px; color: var(--gold-deep); }
.hero__art { position: relative; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* Trust bar */
.trustbar { background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.trustbar__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 28px 0; }
@media (min-width: 700px) { .trustbar__row { grid-template-columns: repeat(4, 1fr); } }
.trustbar__stat { text-align: center; }
.trustbar__num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--gold-deep); }
.trustbar__label { margin-top: 4px; font-size: 12px; color: var(--ink-soft); }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius-m); padding: 32px 28px; box-shadow: 0 1px 0 rgba(32,29,24,0.04);
  transition: box-shadow .3s ease, transform .3s ease;
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
.card:hover { box-shadow: 0 16px 32px -22px rgba(32,29,24,0.3); transform: translateY(-2px); }
.card__icon { width: 44px; height: 44px; color: var(--gold-deep); }
.card__title { margin-top: 18px; font-size: 1.15rem; font-weight: 600; }
.card__text { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* Problem / Solution */
.compare { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { padding: 28px; border-radius: var(--radius-m); }
.compare__col--problem { background: var(--red-tint); border: 1px solid rgba(181,98,63,0.22); }
.compare__col--solution { background: var(--gold-tint); border: 1px solid rgba(201,160,63,0.3); }
.compare__label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.compare__col--problem .compare__label { color: var(--red); }
.compare__col--solution .compare__label { color: var(--gold-deep); }
.compare__list { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.compare__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.55; }
.compare__list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.compare__col--problem svg { color: var(--red); }
.compare__col--solution svg { color: var(--gold-deep); }

/* Process / steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative; padding: 28px 26px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-m); box-shadow: 0 1px 0 rgba(43,33,23,0.03);
  transition: box-shadow .3s ease, transform .3s ease;
}
@media (prefers-reduced-motion: reduce) { .step { transition: none; } }
.step:hover { box-shadow: 0 18px 34px -24px rgba(43,33,23,0.28); transform: translateY(-2px); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 999px; background: var(--gold-tint); color: var(--gold-deep);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
}
.step__title { margin-top: 16px; font-size: 1.05rem; font-weight: 600; }
.step__text { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* Team */
.team { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 800px) { .team { grid-template-columns: 0.8fr 1.2fr; gap: 48px; } }
.team__portrait { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.team__portrait img { aspect-ratio: 4/5; object-fit: cover; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; transition: transform .25s ease; }
@media (prefers-reduced-motion: reduce) { .faq summary svg { transition: none; } }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { margin-top: 12px; max-width: 65ch; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* Standort-Karte */
.locationcard {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); background: #fff;
}
@media (min-width: 800px) { .locationcard { grid-template-columns: 1fr 1fr; } }
.locationcard__map { min-height: 280px; background: var(--paper-deep); }
.locationcard__map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }
.locationcard__info { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.locationcard__row { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.locationcard__row svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold-deep); margin-top: 1px; }

/* Kooperations-Karte */
.partnercard {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  padding: 28px 32px; border-radius: var(--radius-l); background: var(--gold-tint);
  border: 1px solid rgba(201,160,63,0.35);
}
.partnercard img { height: 46px; width: 46px; border-radius: 999px; background: #fff; padding: 6px; flex-shrink: 0; }
.partnercard__text { flex: 1; min-width: 220px; font-size: 14px; color: var(--ink-soft); }
.partnercard__text strong { color: var(--ink); }

/* Vertrauens-Badges (spezifisch statt generisch, direkt an Entscheidungspunkten) */
.trustbadges { display: flex; flex-wrap: wrap; gap: 10px; }
.trustbadges--center { justify-content: center; }
.trustbadge {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-soft); box-shadow: 0 1px 0 rgba(43,33,23,0.03);
}
.trustbadge svg { width: 16px; height: 16px; color: var(--gold-deep); flex-shrink: 0; }
.trustbadge strong { color: var(--ink); font-weight: 600; }

/* Wissenswertes */
.knowledge-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
@media (min-width: 700px) { .knowledge-grid { grid-template-columns: repeat(3, 1fr); } }
.knowledge-card { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); }
.knowledge-card__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.knowledge-card__title { margin-top: 10px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.knowledge-card__text { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }

/* Schwebender CTA-Button (Desktop), erscheint nach dem Hero */
.floating-cta {
  position: fixed; right: 28px; bottom: 28px; z-index: 35;
  opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.floating-cta.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
@media (max-width: 899px) { .floating-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .floating-cta { transition: none; } }

/* Scroll-Fortschrittsleiste */
.scroll-progress-track { position: fixed; inset-inline: 0; top: 0; z-index: 50; height: 3px; background: transparent; }
.scroll-progress-track div { height: 100%; width: 0%; background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .scroll-progress-track { display: none; } }

/* CTA band */
.ctaband { background: var(--panel); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ctaband__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 0; }
.ctaband__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; max-width: 34ch; }
@media (min-width: 768px) { .ctaband__title { font-size: 1.9rem; } }

/* Footer */
.site-footer { background: var(--panel); color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 64px 0 48px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.site-footer ul { display: flex; flex-direction: column; gap: 11px; }
.site-footer a:hover { color: var(--ink); }
.site-footer__partner { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.site-footer__partner a { color: var(--gold-deep); font-weight: 500; }
.site-footer__bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.site-footer__bottom a { margin-left: 18px; }

/* Sticky mobile action bar */
.mobile-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: flex; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -4px 16px rgba(43,33,23,0.06); }
@media (min-width: 900px) { .mobile-bar { display: none; } }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mobile-bar a:first-child { border-right: 1px solid var(--line); color: var(--ink); }
.mobile-bar a:last-child { background: var(--gold); color: var(--ink); }
.mobile-bar svg { width: 15px; height: 15px; }

/* Reveal-on-scroll */
[data-reveal] { transform: translateY(22px); opacity: 0.001; transition: transform .7s cubic-bezier(.22,1,.36,1), opacity .7s ease; }
[data-reveal].is-shown { transform: translateY(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { transform: none; opacity: 1; transition: none; } }

/* ===== Einbürgerungscheck: mehrstufiges Formular ===== */
.checkhero { background: var(--panel); color: var(--ink); padding: 56px 0 40px; }
.checkform-wrap { max-width: 640px; margin: -32px auto 0; padding: 0 20px 80px; position: relative; z-index: 2; }
.checkform { background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow); padding: 32px 24px 28px; }
@media (min-width: 640px) { .checkform { padding: 44px 48px 36px; } }
.checkform__progress { display: flex; align-items: center; gap: 6px; margin-bottom: 28px; }
.checkform__progress-seg { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.checkform__progress-fill { height: 100%; width: 0%; background: var(--gold); transition: width .4s ease; }
.checkform__step-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.checkform__step-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 22px; }
.checkform fieldset { border: 0; padding: 0; margin: 0; display: none; }
.checkform fieldset.is-active { display: block; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(32,29,24,0.18); border-radius: var(--radius-s);
  background: var(--paper); font-size: 14.5px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 480px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .choice-grid--2 { grid-template-columns: 1fr 1fr; } }
.choice {
  position: relative; display: block; padding: 14px 16px; border: 1px solid rgba(32,29,24,0.16);
  border-radius: var(--radius-s); font-size: 14px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.choice input { position: absolute; opacity: 0; }
.choice:has(input:checked), .choice.is-checked { border-color: var(--gold); background: var(--gold-tint); font-weight: 600; }
.checkform__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.checkform__back { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.checkform__back:hover { color: var(--ink); }
.checkform__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--ink-soft); margin: 18px 0 22px; }
.checkform__consent input { margin-top: 3px; accent-color: var(--gold-deep); }
.honeypot { position: absolute; left: -9999px; }
#check-success, #check-error { display: none; text-align: center; padding: 20px 0; }
#check-success.is-visible, #check-error.is-visible { display: block; }
#check-success svg { width: 48px; height: 48px; color: var(--gold-deep); margin: 0 auto 16px; }

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 64px 20px 96px; }
.legal h1 { font-size: 2rem; font-weight: 700; }
.legal h2 { font-size: 1.1rem; font-weight: 700; margin-top: 40px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal ul li { margin-top: 6px; }
