/* =====================================================================
   DOMAIN SALE PAGE — styles.css  (Neuaufbau, conversion-optimiert)
   Palette: "Ink & Emerald" – heller Premium-Grund,
   EIN dominanter smaragdgrüner CTA (Farbe für sicher / los / Wert).

   Aufbau:
     1. DESIGN-TOKENS
     2. BASIS / RESET
     3. LAYOUT-HELFER
     4. HEADER
     5. HERO (Domain als Signature)
     6. BUTTONS  (kein Hover-Movement – nur Farbe)
     7. TRUST-ZEILE
     8. FOOTER
     9. OVERLAY
    10. RESPONSIVE
    11. BARRIEREFREIHEIT / MOTION
   ===================================================================== */


/* =====================================================================
   1. DESIGN-TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Flächen */
  --surface:       #F6F8FA;
  --surface-card:  #FFFFFF;
  --ink:           #0E1B2E;   /* dunkles Band + Display-Text */
  --ink-soft:      #15263C;

  /* Linien & Text */
  --line:          #E3E8EE;
  --text:          #1B2733;
  --muted:         #5C6776;
  --muted-2:       #8A93A0;
  --on-ink:        #EAF0F6;
  --on-ink-muted:  #9FB0C2;

  /* Akzent – AUSSCHLIESSLICH für Aktion & Schlüsselakzente */
  --accent:        #0F9D6B;
  --accent-deep:   #0B7D54;
  --accent-soft:   #E7F6EF;
  --accent-ring:   rgba(15, 157, 107, 0.20);

  /* Typografie */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font:         'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Maße */
  --container:    1080px;
  --pad-x:        clamp(20px, 5vw, 56px);
  --radius:       16px;
  --radius-sm:    11px;

  /* Schatten */
  --shadow-sm:  0 1px 2px rgba(14, 27, 46, 0.05), 0 2px 6px rgba(14, 27, 46, 0.05);
  --shadow-md:  0 14px 36px -16px rgba(14, 27, 46, 0.22);
  --shadow-cta: 0 14px 30px -10px rgba(15, 157, 107, 0.45);
}


/* =====================================================================
   2. BASIS / RESET
   --------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { font-family: var(--font-display); }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }


/* =====================================================================
   3. LAYOUT-HELFER
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Status-Punkt */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.dot--pulse { animation: dotPulse 2s ease-in-out infinite; }

/* Inline-SVG-Icons (einheitlich) */
.ico {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-block;
  vertical-align: -0.18em;
}


/* =====================================================================
   4. HEADER
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 250, 0.82);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 11px; }

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.brand__name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); }

.header-meta { display: flex; align-items: center; gap: 14px; }

.header-meta__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.info-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface-card);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.info-trigger:hover,
.info-trigger:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}


/* =====================================================================
   5. HERO + ASSET-PLAKETTE
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  flex: 1;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 9vw, 100px) 0;
  background:
    radial-gradient(120% 70% at 50% -10%, #ffffff 0%, var(--surface) 60%);
}

/* dezenter smaragdgrüner Schein hinter der Domain */
.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, 84vw);
  height: 340px;
  background: radial-gradient(circle, var(--accent-ring) 0%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.hero__inner { position: relative; z-index: 1; }

/* Signature: Domain frei stehend (ohne Box) */
.asset {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0 auto 32px;
}

.asset__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 30px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.asset__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 8.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  word-break: break-word;
}

.asset__tld { color: var(--accent); }

.hero__title {
  margin: 0 auto;
  max-width: 840px;
  font-size: clamp(27px, 4.4vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero__sub {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: clamp(15px, 2.1vw, 18px);
  color: var(--muted);
  text-wrap: pretty;
}


/* =====================================================================
   6. BUTTONS  (KEIN Hover-Movement – ausschließlich Farbe/Schatten)
   --------------------------------------------------------------------- */
.cta-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease,
              color 0.16s ease, box-shadow 0.16s ease;
}

.btn i { font-size: 0.92em; }

/* Primär – der eine dominante CTA */
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

/* Sekundär – ruhig, klar untergeordnet */
.btn--ghost {
  background: var(--surface-card);
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-soft);
}


/* =====================================================================
   7. TRUST-ZEILE  (Reibung senken, Sicherheit am CTA)
   --------------------------------------------------------------------- */
.trust-row {
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-size: 13.5px;
  color: var(--muted);
}

.trust-row li { display: inline-flex; align-items: center; gap: 8px; }

.trust-row i { color: var(--accent); font-size: 13px; }


/* =====================================================================
   8. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-card);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.site-footer__copy { font-size: 13px; color: var(--muted-2); }

.site-footer__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.site-footer__link:hover { color: var(--accent-deep); border-color: var(--accent); }


/* =====================================================================
   9. OVERLAY  (öffnet über das "i"-Icon)
   --------------------------------------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 5vw, 48px);
  background: rgba(14, 27, 46, 0.55);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

body.overlay-open .overlay { opacity: 1; visibility: visible; }

.overlay__panel {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface-card);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  padding: clamp(28px, 5vw, 46px);
  box-shadow: 0 40px 80px -28px rgba(14, 27, 46, 0.5);
  transform: translateY(10px);
  transition: transform 0.2s ease;
}

body.overlay-open .overlay__panel { transform: translateY(0); }

.overlay__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-card);
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.overlay__close:hover,
.overlay__close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.overlay__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.overlay__body h1 {
  margin: 0 0 10px;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.overlay__body h2 {
  margin: 26px 0 8px;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.overlay__body h3 {
  margin: 22px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.overlay__body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.overlay__body a {
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent-ring);
  transition: border-color 0.16s ease;
}

.overlay__body a:hover { border-color: var(--accent); }

.overlay__body ul { margin: 0 0 14px; }

.overlay__body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.overlay__body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}


/* =====================================================================
   10. RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 600px) {
  .header-meta__tag { display: none; }   /* spart Platz auf schmalen Screens */

  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; white-space: normal; }

  .trust-row { flex-direction: column; align-items: center; gap: 10px; }
}


/* =====================================================================
   11. BARRIEREFREIHEIT / MOTION
   --------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
