/* =========================================================
   Domain-Verkaufsseite – neutrales, hochwertiges Design
   Keine externen Schriften (DSGVO), nur System-Fonts
   ========================================================= */
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #1c1c1c;
  --muted: #6b675f;
  --line: #e3dfd6;
  --accent: #9a8358;
  --accent-dark: #7c6844;
  --dark: #1f1f1f;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0 0 .5rem; }
h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.small { font-size: .88rem; color: var(--muted); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }

/* Barrierefreiheit */
.skip { position: absolute; left: -9999px; top: 0; background: var(--dark); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Header / Footer */
.site-header { border-bottom: 1px solid var(--line); background: rgba(246,244,239,.92); }
.site-header .wrap, .site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header .wrap { height: 72px; }
.brand { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; letter-spacing: .02em; }
nav a { text-decoration: none; margin-left: 1.6rem; font-size: .95rem; color: var(--muted); transition: color .2s; }
nav a:hover { color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); margin-top: 5rem; padding: 2rem 0; font-size: .9rem; color: var(--muted); }

/* Hero */
.hero { padding: 5.5rem 0 3.5rem; text-align: center; }
.hero .lead { max-width: 640px; margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; color: var(--accent); margin: 0 0 1rem; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.8rem; }

/* Kartenraster */
.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card {
  display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
  padding: 2rem 1.25rem 1.6rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-4px); border-color: var(--accent);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); }
.card-logo { width: 100%; height: 140px; overflow: hidden; display: grid; place-items: center; margin-bottom: 1.3rem; }
.card-logo img { width: 100%; height: 140px; max-height: 140px; object-fit: contain; }
.card-domain { font-family: var(--serif); font-size: 1.25rem; word-break: break-word; }
.card-tag { color: var(--muted); font-size: .9rem; margin: .35rem 0 1.2rem; }
.card-more { margin-top: auto; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }

/* Ablauf */
.process { margin-top: 5rem; }
.process h2 { text-align: center; }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; padding: 1.4rem; border-top: 2px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.steps li::before { content: "0" counter(s); font-family: var(--serif); color: var(--accent); font-size: 1.4rem; display: block; margin-bottom: .4rem; }
.steps strong { display: block; margin-bottom: .2rem; }
.steps span { color: var(--muted); font-size: .95rem; }

/* Button */
.btn {
  display: inline-block; padding: .95rem 1.8rem; border-radius: 999px;
  background: var(--dark); color: #fff; text-decoration: none; font-weight: 500; letter-spacing: .02em;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* Detailseite */
.detail { padding-top: 2rem; }
.back a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.back a:hover { color: var(--ink); }
.detail-head { display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: 3rem; align-items: center; margin: 2rem 0 3rem;
  padding: 2.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.detail-logo { width: 100%; max-height: 200px; object-fit: contain; }
.detail-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; }
.detail-body h2:first-child { margin-top: 0; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding: .45rem 0 .45rem 1.8rem; position: relative; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: .7rem; height: 1px; background: var(--accent); }
aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; align-self: start; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }
.cta { margin-top: 4rem; padding: 3.5rem 2rem; text-align: center; background: var(--dark); color: #f4f1ea; border-radius: var(--radius); }
.cta h2 { margin-top: 0; }
.cta p { color: #c9c3b6; max-width: 560px; margin: 0 auto 1.6rem; }
.cta .btn { background: var(--accent); }
.cta .btn:hover { background: #b39b6b; }
.cta .small { margin: 1.4rem auto 0; font-size: .82rem; }

/* Rechtstexte */
.legal { max-width: 780px; padding-top: 3.5rem; }
.legal h2 { font-size: 1.2rem; }
.legal a { color: var(--accent-dark); }

/* Responsive */
@media (max-width: 760px) {
  .detail-head { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; padding: 2rem 1.25rem; }
  .detail-logo { margin-inline: auto; max-width: 320px; max-height: 160px; }
  .detail-body { grid-template-columns: 1fr; }
  nav a { margin-left: 1rem; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
  .site-footer nav a { margin: 0 .6rem; }
  .hero { padding: 3.5rem 0 2.5rem; }
  .site-header .wrap { height: 60px; }
  .brand { font-size: 1.05rem; white-space: nowrap; }
  .site-header nav { white-space: nowrap; }
  .site-header nav a { margin-left: .9rem; font-size: .88rem; }
  .btn { padding: .85rem 1.4rem; }
}
@media (max-width: 340px) {
  .site-header nav a:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header nav, .btn, .skip { display: none; }
  body { background: #fff; }
}

/* Festes 2 x 3 Domain-Raster auf Desktop */
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; max-width: 900px; margin-inline: auto; }
.card { min-height: 330px; padding: 2rem 1.75rem 1.7rem; }
.card-logo, .placeholder-logo { height: 160px; }
.card-logo img { height: 160px; max-height: 160px; }
.placeholder-logo, .placeholder-detail { display:grid; place-items:center; border:1px dashed var(--accent); border-radius:10px; color:var(--accent-dark); background:#fff; font-family:var(--serif); font-size:2rem; margin-bottom:1.3rem; }
.placeholder-detail { min-height:180px; margin-bottom:0; font-size:3rem; }
@media (max-width: 700px) {
  .grid { grid-template-columns: 1fr; max-width: 520px; gap: 1rem; }
  .card { min-height: 0; padding: 1.4rem 1rem; }
  .card-logo, .card-logo img, .placeholder-logo { height: 120px; max-height:120px; }
  .detail-head { grid-template-columns:1fr; text-align:center; }
}
@media (max-width: 480px) {
  .wrap { width:min(100% - 1.5rem, var(--max)); }
  body { font-size:16px; }
  .site-header .wrap { height:auto; min-height:60px; padding:.7rem 0; flex-wrap:wrap; }
  .site-header nav { width:100%; display:flex; gap:1rem; }
  .site-header nav a { margin-left:0; }
  h1 { overflow-wrap:anywhere; }
  .btn { width:100%; text-align:center; }
}
