/* =====================================================================
   online-autoankauf.at – Stylesheet
   Stand 04.10.2026
   Aufbau: Grundwerte, Grundgeruest, Kopfzeile, Hero, Formular,
           Abschnitte, FAQ, Fusszeile, Handy-Anpassungen
   ===================================================================== */

/* ---------- Schrift ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Grundwerte ---------- */
:root {
  --bg: #0b0b0d;
  --bg-2: #101014;
  --text: #f1f1f2;
  --text-2: #a9a9b2;
  --text-3: #7c7c86;
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.16);
  --gold: #c9861b;
  --gold-hi: #e8a33c;
  --gold-tief: #8a5a0d;
  --gruen: #25b45a;
  --r: 16px;
  --pill: 999px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--text); }
h1, h2, h3, h4 { letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 16px; font-weight: 600; }
h1 { font-size: clamp(38px, 6vw, 62px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 86px 0; position: relative; }
.section-tight { padding: 60px 0; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 62ch; }
.mitte { text-align: center; margin-left: auto; margin-right: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #140d02; padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* Lichtschein im Hintergrund */
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0; }
.glow-a { width: 620px; height: 620px; background: rgba(201,134,27,.18); top: -220px; left: -160px; }
.glow-b { width: 520px; height: 520px; background: rgba(201,134,27,.10); top: 120px; right: -200px; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: var(--pill);
  font: inherit; font-size: 16px; font-weight: 500; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #180f01; box-shadow: 0 14px 34px -14px rgba(201,134,27,.9); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -14px rgba(201,134,27,1); }
.btn-glas { background: rgba(255,255,255,.06); border-color: var(--line-2); color: var(--text); }
.btn-glas:hover { background: rgba(255,255,255,.1); border-color: var(--line-2); }
.btn-gr { background: var(--gruen); color: #04220f; }
.btn-gr:hover { background: #2ac466; }
.btn-lg { min-height: 56px; font-size: 17px; padding: 0 30px; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(11,11,13,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.marke { font-weight: 700; font-size: 19px; letter-spacing: -0.04em; text-decoration: none; white-space: nowrap; }
.marke span { color: var(--gold); }
.kopf-nav { display: flex; gap: 26px; margin-left: auto; }
.kopf-nav a { color: var(--text-2); text-decoration: none; font-size: 15.5px; transition: color .2s; }
.kopf-nav a:hover, .kopf-nav a[aria-current="page"] { color: var(--text); }
.kopf-tat { display: flex; gap: 10px; margin-left: auto; }
.kopf-nav + .kopf-tat { margin-left: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-hi); }
.hero .lead { margin-bottom: 26px; }
.hero-punkte { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.hero-punkte li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.hero-punkte svg { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 3px; color: var(--gold-hi); }
.hero-tat { display: flex; flex-wrap: wrap; gap: 11px; }

/* ---------- Formular ---------- */
.formkarte {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  border: 1px solid var(--line-2); border-radius: 22px; padding: 26px;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,1);
}
.formkarte h2 { font-size: 24px; margin-bottom: 6px; }
.form-sub { color: var(--text-2); font-size: 15px; margin-bottom: 20px; }

.schrittleiste { display: flex; gap: 8px; margin-bottom: 22px; }
.schrittleiste span {
  flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12);
  transition: background-color .3s var(--ease);
}
.schrittleiste span.aktiv { background: var(--gold); }
.schritt-text { font-size: 13.5px; color: var(--text-3); margin: -14px 0 18px; letter-spacing: .01em; }

.schritt { display: none; }
.schritt.sichtbar { display: block; animation: rein .25s var(--ease); }
@keyframes rein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .schritt.sichtbar { animation: none; } }

.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feld { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.feld-voll { grid-column: 1 / -1; }
.feld label { font-size: 14.5px; color: var(--text-2); }
.feld label span { color: var(--text-3); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: rgba(0,0,0,.35); border: 1px solid var(--line-2); border-radius: 12px;
  color: var(--text); font: inherit; font-size: 16px;
  transition: border-color .2s, background-color .2s;
}
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(0,0,0,.5);
}
.feld select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9a9b2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 18px; padding-right: 40px; }
.feld-fehler { color: #ff8a8a; font-size: 13.5px; min-height: 0; margin: 0; }

.wahl { display: flex; flex-wrap: wrap; gap: 9px; }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl label {
  padding: 9px 16px; border-radius: var(--pill); border: 1px solid var(--line-2);
  background: rgba(255,255,255,.04); font-size: 15px; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.wahl input:checked + label { border-color: var(--gold); background: rgba(201,134,27,.16); color: var(--text); }
.wahl input:focus-visible + label { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

.fotofeld {
  border: 1px dashed var(--line-2); border-radius: 14px; padding: 20px; text-align: center;
  background: rgba(255,255,255,.02); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.fotofeld:hover { border-color: var(--gold); background: rgba(201,134,27,.06); }
.fotofeld svg { width: 26px; height: 26px; color: var(--gold-hi); margin-bottom: 6px; }
.fotofeld p { margin: 0; font-size: 15px; color: var(--text-2); }
.fotofeld small { color: var(--text-3); font-size: 13px; }
.fotoliste { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }

.zustimmung { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin: 4px 0 16px; }
.zustimmung input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: var(--gold); }
.zustimmung a { color: var(--gold-hi); }

.form-navi { display: flex; gap: 10px; }
.form-navi .btn { flex: 1; }
.honig { position: absolute; left: -9999px; }
.form-status { font-size: 15px; margin: 12px 0 0; }
.form-status.ok { color: #7ee2a8; }
.form-status.fehler { color: #ff8a8a; }

/* ---------- Vertrauensleiste ---------- */
.zahlen { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.zahlen .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.zahl b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: var(--gold-hi); }
.zahl span { font-size: 14.5px; color: var(--text-2); }

/* ---------- Karten ---------- */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.karte {
  padding: 26px; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  transition: border-color .25s, transform .25s var(--ease);
}
.karte:hover { border-color: rgba(201,134,27,.6); transform: translateY(-2px); }
.karte .nr { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(201,134,27,.18); color: var(--gold-hi); font-weight: 600; margin-bottom: 14px; }
.karte h3 { margin-bottom: 8px; }
.karte p { margin: 0; color: var(--text-2); font-size: 15.5px; }

.liste-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; list-style: none; padding: 0; }
.liste-zwei li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-2); }
.liste-zwei svg { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 4px; color: var(--gold-hi); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative;
  font-size: 17px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 13px; height: 13px;
  margin-top: -6px; transition: transform .25s var(--ease);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v14h-2z'/%3E%3Cpath d='M5 11h14v2H5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v14h-2z'/%3E%3Cpath d='M5 11h14v2H5z'/%3E%3C/svg%3E") center/contain no-repeat;
  color: var(--gold-hi);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .antwort { padding: 0 22px 20px; color: var(--text-2); }
.faq .antwort p:last-child { margin-bottom: 0; }

/* ---------- Hinweiskasten ---------- */
.hinweis {
  border-left: 3px solid var(--gold); border-radius: 12px;
  background: rgba(255,255,255,.035); padding: 18px 22px; color: var(--text-2); font-size: 15.5px;
}
.hinweis strong { color: var(--text); font-weight: 500; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.textseite { max-width: 820px; }
.textseite h2 { font-size: 22px; margin-top: 36px; }
.textseite h2:first-child { margin-top: 0; }
.textseite a { color: var(--gold-hi); }
.daten { display: grid; grid-template-columns: minmax(170px, 34%) 1fr; gap: 10px 22px; margin: 0; }
.daten dt { color: var(--text-3); font-size: 15px; }
.daten dd { margin: 0; }
.karte-text { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,.03); margin-bottom: 18px; }
.karte-text h2 { margin-top: 0; }

/* ---------- Fusszeile ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); font-size: 15px; color: var(--text-2); }
.fuss-gitter { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.site-footer h4 { color: var(--text); font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--text-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--text); }
.fuss-marke { font-weight: 700; font-size: 20px; letter-spacing: -0.04em; display: inline-block; margin-bottom: 12px; text-decoration: none; }
.fuss-marke span { color: var(--gold); }
.fuss-kontakt li { display: flex; gap: 10px; align-items: flex-start; }
.fuss-kontakt svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 4px; color: var(--gold-hi); }
.fuss-unten { border-top: 1px solid var(--line); }
.fuss-unten .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 16px; font-size: 14px; color: var(--text-3); }

/* ---------- Schwebende Knöpfe ---------- */
.wa-schwebend {
  position: fixed; z-index: 120;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 54px; padding: 0 20px; border-radius: var(--pill);
  background: var(--gruen); color: #04220f; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 38px -12px rgba(0,0,0,.95);
  font: inherit; font-size: 15.5px; font-weight: 500; text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s;
}
.wa-schwebend svg { width: 21px; height: 21px; flex: 0 0 21px; }
.wa-schwebend:hover { background: #2ac466; transform: translateY(-2px); }
.nach-oben {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(18,18,22,.8); border: 1px solid var(--line-2); color: var(--text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s, background-color .2s;
}
.nach-oben svg { width: 18px; height: 18px; }
.gescrollt .nach-oben { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s; }
.nach-oben:hover { background: var(--gold); border-color: var(--gold); color: #180f01; }

/* Ab dieser Breite steht der WhatsApp-Knopf in der Kopfzeile. */
.nur-breit { display: none; }
@media (min-width: 1100px) {
  .nur-breit { display: inline-flex; }
  .wa-schwebend { display: none; }
  .nach-oben { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Handy und Tablet ---------- */
@media (max-width: 1099.98px) {
  .kopf-nav { display: none; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .karten { grid-template-columns: 1fr; }
  .zahlen .wrap { grid-template-columns: 1fr 1fr; gap: 20px; }
  .fuss-gitter { grid-template-columns: 1fr 1fr; gap: 30px; }
  .fuss-gitter > div:first-child { grid-column: 1 / -1; }
  .liste-zwei { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px; }
  .section { padding: 58px 0; }
  .hero { padding: 44px 0 28px; }
  .formkarte { padding: 20px; border-radius: 18px; }
  .feldreihe { grid-template-columns: 1fr; }
  .daten { grid-template-columns: 1fr; gap: 2px 0; }
  .daten dd { margin-bottom: 12px; }
  .fuss-gitter { grid-template-columns: 1fr; }
  .fuss-gitter > div:first-child { grid-column: auto; }
  .hero-tat .btn { width: 100%; }
  .site-header .wrap { min-height: 64px; }
}
@media (max-width: 380px) {
  .wa-schwebend span { display: none; }
  .wa-schwebend { padding: 0; width: 54px; justify-content: center; }
}

/* ---------- Bundesland- und Themenseiten ---------- */
.kicker {
  display: inline-block; margin-bottom: 18px; padding: 7px 14px; border-radius: var(--pill);
  background: rgba(201,134,27,.16); border: 1px solid rgba(201,134,27,.4);
  color: var(--gold-hi); font-size: 13.5px; font-weight: 500; letter-spacing: .02em;
}
.fliess { max-width: 70ch; }
.fliess p { color: var(--text-2); }
.fliess p strong { color: var(--text); font-weight: 500; }

.chipwrap { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 8px 15px; border-radius: var(--pill); border: 1px solid var(--line-2);
  background: rgba(255,255,255,.04); font-size: 14.5px; color: var(--text-2);
}

/* Kachelgitter der Bundesländer auf der Startseite */
.karten-land { grid-template-columns: repeat(3, 1fr); }
.karte-land { display: block; text-decoration: none; color: inherit; }
.karte-land h3 { margin-bottom: 6px; }
.karte-land p { margin-bottom: 12px; font-size: 14.5px; }
.karte-land .pfeil { color: var(--gold-hi); font-size: 14.5px; font-weight: 500; }

.nachbarn { margin-top: 26px; font-size: 14.5px; color: var(--text-3); }
.nachbarn a { color: var(--text-2); }
.nachbarn a:hover { color: var(--gold-hi); }

@media (max-width: 900px) { .karten-land { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .karten-land { grid-template-columns: 1fr; } .chip { font-size: 14px; padding: 7px 13px; } }

/* Vertrauenszeile direkt unter der Formularüberschrift */
.form-trust {
  display: flex; flex-wrap: wrap; gap: 7px 10px; list-style: none; margin: 0 0 20px; padding: 0;
}
.form-trust li {
  padding: 5px 11px; border-radius: var(--pill); font-size: 13px; color: var(--gold-hi);
  background: rgba(201,134,27,.13); border: 1px solid rgba(201,134,27,.3);
}
/* Kontaktseite: Hero ohne zweispaltiges Raster */
.hero .wrap[style*="display:block"] { display: block; }
