/* autoankauf-online.com - Verkaufsseite */

:root {
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg: #fbf7f1;
  --surface: #ffffff;
  --surface-2: #f3eadf;
  --text: #1a130e;
  --muted: #5f4e42;
  --line: #e7dacb;
  --accent: #a64b0a;
  --accent-strong: #833a07;
  --on-accent: #ffffff;
  --ring: #a64b0a;

  --radius: 16px;
  --shadow-sm: 0 1px 2px rgb(26 19 14 / 0.06);
  --shadow-lg: 0 2px 4px rgb(26 19 14 / 0.05), 0 24px 48px -24px rgb(26 19 14 / 0.25);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14100c;
    --surface: #1e1812;
    --surface-2: #292118;
    --text: #f4ece3;
    --muted: #c3b0a0;
    --line: #3b2e23;
    --accent: #f0a35a;
    --accent-strong: #f7bc85;
    --on-accent: #1b120a;
    --ring: #f0a35a;
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.35), 0 24px 48px -24px rgb(0 0 0 / 0.65);

    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
dl,
dd,
ol {
  margin: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-strong);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.skip {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 100;
  padding: var(--s3) var(--s4);
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  top: var(--s4);
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 64px;
  flex-wrap: wrap;
  padding-block: var(--s2);
}

.brand {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.head-nav {
  display: flex;
  align-items: center;
  gap: var(--s5);
  flex-wrap: wrap;
}

.head-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.head-nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--s3) var(--s5);
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease-out;
}

.btn:hover {
  background: var(--accent-strong);
  color: var(--on-accent);
}

.btn-small {
  min-height: 44px;
  padding: var(--s2) var(--s4);
  font-size: 0.9375rem;
}

.hero {
  background: radial-gradient(56rem 28rem at 82% -20%, var(--surface-2), transparent 70%);
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero-grid {
  display: grid;
  gap: var(--s7);
  align-items: start;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-domain {
  margin-top: var(--s3);
  font-size: clamp(1.6rem, 6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 52ch;
  margin-top: var(--s4);
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.price-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-value {
  margin-top: var(--s2);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.price-note {
  margin-bottom: var(--s5);
  color: var(--muted);
  font-size: 0.9375rem;
}

.price-card .btn {
  width: 100%;
}

.hero-meta {
  margin-top: var(--s4);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--s6);
}

.fact-grid {
  display: grid;
  gap: var(--s5) var(--s6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.fact dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact dd {
  margin-top: var(--s1);
  font-size: 0.9375rem;
}

.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section-alt {
  background: var(--surface-2);
}

.section-title {
  margin-top: var(--s2);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 62ch;
  margin-top: var(--s3);
  margin-bottom: var(--s6);
  color: var(--muted);
}

.cards {
  display: grid;
  gap: var(--s4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
}

.card p {
  margin-top: var(--s2);
  color: var(--muted);
  font-size: 0.9375rem;
}

.steps {
  display: grid;
  gap: var(--s5);
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.step-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
}

.steps p {
  margin-top: var(--s1);
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 60ch;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--s4) var(--s5);
}

details + details {
  margin-top: var(--s3);
}

summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 24px;
}

details[open] summary {
  margin-bottom: var(--s2);
}

details p {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 70ch;
}

.contact-inner {
  display: grid;
  gap: var(--s6);
  align-items: center;
}

.contact .section-lead {
  margin-bottom: 0;
}

.contact-actions {
  display: grid;
  gap: var(--s3);
  justify-items: start;
}

.contact-mail {
  font-size: 0.9375rem;
}

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: var(--s6);
  color: var(--muted);
  font-size: 0.875rem;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  align-items: center;
  justify-content: space-between;
}

.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
}

.site-foot a {
  color: var(--muted);
}

.site-foot a:hover {
  color: var(--text);
}

.legal {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.legal h1 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.legal h2 {
  margin-top: var(--s6);
  font-size: 1.25rem;
  line-height: 1.3;
}

.legal p,
.legal ul,
.legal address {
  margin-top: var(--s2);
  max-width: 70ch;
  color: var(--muted);
}

.legal address {
  font-style: normal;
}

.legal .legal-date {
  margin-top: var(--s7);
  font-size: 0.875rem;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.8fr);
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 639px) {
  .head-nav a:not(.btn) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* CTA in der Navigation: eigene Textfarbe trotz Link-Regel */

.head-nav a.btn,
.head-nav a.btn:hover {
  color: var(--on-accent);
}
