/* Domainverkauf – neutral, eine Akzentfarbe, Systemschrift, Dunkelmodus */

:root {
  --bg: #fafaf9;
  --flaeche: #ffffff;
  --text: #16161a;
  --leise: #5f6068;
  --linie: #e4e4e7;
  --akzent: #1f5eff;
  --akzent-text: #ffffff;
  --akzent-zart: rgba(31, 94, 255, 0.08);
  --radius: 14px;
  --breite: 64rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1013;
    --flaeche: #17181d;
    --text: #f2f2f4;
    --leise: #a2a3ad;
    --linie: #2a2b33;
    --akzent: #6c95ff;
    --akzent-text: #0b0c10;
    --akzent-zart: rgba(108, 149, 255, 0.12);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

main, .fuss {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
}

a { color: var(--akzent); text-underline-offset: 0.2em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }

h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}
h3 { font-size: 1.1rem; line-height: 1.3; margin: 0 0 0.35rem; }

section { padding: clamp(2.5rem, 7vw, 4.5rem) 0; border-top: 1px solid var(--linie); }

/* Hero */
.hero {
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 10vw, 7rem) 0 clamp(2.5rem, 7vw, 4.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--akzent);
}

h1 { margin: 0; font-weight: 800; }

h1 .domain {
  display: block;
  /* Länge (--len) setzt app.js; lange Namen werden kleiner und dürfen umbrechen */
  font-size: clamp(1.75rem, calc(140vw / var(--len, 9)), 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: none;
}

h1 .tagline {
  display: block;
  margin-top: 0.6rem;
  font-size: clamp(1.25rem, 3.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--leise);
}

.lead {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  font-size: 1.15rem;
  color: var(--leise);
}

.tags {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tags li {
  font-size: 0.85rem;
  padding: 0.2rem 0.75rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  color: var(--leise);
}

.angebot {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.button {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: var(--akzent);
  color: var(--akzent-text);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--akzent-zart); }

/* Kacheln */
.kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}
.kachel {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.kachel p { margin: 0; color: var(--leise); }
.kachel .kachel-wert {
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--akzent);
  overflow-wrap: anywhere;
}

/* Schritte */
.schritte {
  list-style: none;
  counter-reset: schritt;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.5rem;
}
.schritte li { counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--akzent-zart);
  color: var(--akzent);
  font-weight: 700;
}
.schritte p { margin: 0; color: var(--leise); }

/* Kontakt */
.kontakt p { margin: 0 0 0.4rem; }
.kontakt a { font-weight: 600; overflow-wrap: anywhere; }

/* Weitere Domains */
.weitere {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: 0.75rem;
}
.weitere li {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
}
.weitere a { font-weight: 700; font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
.weitere a:hover { text-decoration: underline; }

/* Fußzeile */
.fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--linie);
  font-size: 0.9rem;
  color: var(--leise);
}
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 1.25rem; }
.fuss a { color: var(--leise); }
.fuss a:hover { color: var(--text); }

/* Unterseiten (Impressum, Datenschutz) */
.seite { padding: clamp(2.5rem, 8vw, 5rem) 0; max-width: 42rem; }
.seite h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.seite h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
.seite p, .seite li { color: var(--leise); }
.zurueck { display: inline-block; margin-bottom: 2rem; }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}
