/* =========================================================================
   "Ember" — dunkles, futuristisches Domain-Portfolio.
   Tiefes Dunkel + Feuer-Akzent, feine Netzwerk-Linien im Hintergrund (ruhig),
   Mono-Domains, solide (nicht gläserne) Flächen, dezente Gamification:
   Scroll-Fortschritt oben + Back-to-Top-Ring unten mittig.
   ========================================================================= */

:root {
  color-scheme: light;

  --bg:            #FBFBFD;   /* ruhiges Off-White */
  --bg-2:          #F5F5F7;
  --surface:       #FFFFFF;
  --surface-alt:   #F3F3F5;
  --text:          #1D1D1F;   /* fast-schwarzes Graphit */
  --muted:         #6E6E73;
  --border:        #E7E7EB;
  --border-2:      #D6D6DB;

  --accent:        #B0542F;   /* ruhiges, warmes Terrakotta */
  --accent-2:      #8C6239;   /* gedämpftes Amber-Braun */
  --accent-3:      #C0492E;   /* Fehler-Rot, gedämpft */
  --accent-soft:   rgba(176, 84, 47, 0.10);
  --accent-contrast:#FFFFFF;
  --success:       #2FA25C;

  --fire: linear-gradient(135deg, #B0542F 0%, #C07A50 100%);

  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 10px;  --r-md: 12px;  --r-lg: 18px;  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(20, 20, 40, 0.05);
  --sh-md: 0 10px 30px -16px rgba(20, 20, 40, 0.16);
  --sh-lg: 0 24px 60px -30px rgba(20, 20, 40, 0.22);
  --glow:  0 10px 30px -14px rgba(30, 30, 45, 0.16);

  --wrap: 1080px;
  --ring: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

html[dir="rtl"] {
  --font-display: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --font-body:    "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.021em; }
p { margin: 0; }
img { max-width: 100%; }
::selection { background: var(--accent-soft); }

.dom { font-family: var(--font-mono); unicode-bidi: isolate; }
.tld { color: var(--accent); }

/* ---- Hintergrund: Netzwerk-Canvas + ruhiger Ember-Schimmer ------------ */
#net {
  position: fixed; inset: 0; inline-size: 100%; block-size: 100%;
  z-index: -2; pointer-events: none;
}
.ember {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 42vh at 50% -10%, rgba(176, 84, 47, 0.035), transparent 72%),
    radial-gradient(46vw 38vh at 88% 4%, rgba(140, 98, 57, 0.028), transparent 72%);
}

/* ---- Scroll-Fortschritt oben ------------------------------------------ */
#progress {
  position: fixed; inset-block-start: 0; inset-inline: 0; block-size: 3px;
  z-index: 100; background: rgba(20, 20, 35, 0.06);
}
#progress > i {
  display: block; block-size: 100%; inline-size: 0%;
  background: var(--fire); box-shadow: 0 0 8px rgba(176, 84, 47, 0.35);
  transition: width 80ms linear;
}

/* ---- Back-to-Top mit füllendem Ring (unten mittig) -------------------- */
#totop {
  position: fixed; inset-block-end: 24px; inset-inline-start: 50%;
  transform: translateX(-50%) translateY(16px);
  inline-size: 54px; block-size: 54px; z-index: 90;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--border-2); border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px);
  color: var(--text);
  opacity: 0; pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
#totop.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
#totop:hover { border-color: var(--accent); box-shadow: var(--glow); }
#totop svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
#totop .ring-track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 2.5; }
#totop .ring-prog {
  fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round;
  transform: rotate(-90deg); transform-origin: 50% 50%;
  filter: drop-shadow(0 1px 2px rgba(176, 84, 47, 0.35));
}
#totop .totop-arw { font-size: 1.2rem; line-height: 1; color: var(--accent); }

/* ---- Layout ----------------------------------------------------------- */
section { padding-block: clamp(4rem, 10vw, 8rem); }
.narrow { max-width: 68ch; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--wrap); margin-inline: auto; min-height: 64px;
  padding-block: 10px; padding-inline: clamp(16px, 4vw, 32px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-weight: 600; font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text); max-width: 55vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.brand .brand-dot {
  inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--success); flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 16%, transparent);
}
.site-nav { display: flex; align-items: center; gap: clamp(0.75rem, 2.5vw, 1.6rem); }
.nav-link { position: relative; font-weight: 500; font-size: 15px; color: var(--muted); padding-block: 4px; transition: color 140ms ease; }
.nav-link::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; inline-size: 100%; block-size: 2px;
  background: var(--fire); transform: scaleX(0); transform-origin: inline-start; transition: transform 160ms ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }
@media (max-width: 720px) { .nav-link { display: none; } }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: var(--h); padding-inline: 1.4em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, filter 160ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 5px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-primary { background: var(--fire); color: var(--accent-contrast); box-shadow: 0 6px 18px -8px rgba(176, 84, 47, 0.40); }
.btn-primary:hover { filter: brightness(1.04); box-shadow: 0 10px 24px -8px rgba(176, 84, 47, 0.50); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: var(--glow); }
.btn-sm { --h: 40px; font-size: 0.88rem; padding-inline: 1.1em; }
.btn-lg { --h: 54px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.textlink {
  color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--accent) 50%, transparent);
}
.textlink:hover { text-decoration-color: var(--accent); }
.textlink .arw { transition: transform 160ms ease; }
.textlink:hover .arw { transform: translateX(3px); }
html[dir="rtl"] .textlink .arw { transform: scaleX(-1); }
html[dir="rtl"] .textlink:hover .arw { transform: scaleX(-1) translateX(3px); }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  max-width: 62rem; margin-inline: auto; text-align: center;
  padding-block: clamp(3.5rem, 9vw, 7rem); padding-inline: clamp(1rem, 4vw, 2rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border-2);
  font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted);
}
.livedot {
  inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 18%, transparent);
  animation: livepulse 2.6s ease-out infinite;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 42%, transparent); }
  70% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--success) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 0%, transparent); }
}

.hero-kicker {
  font-family: var(--font-body); font-weight: 500; font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--muted); letter-spacing: 0.01em;
}
.hero-kicker-lg { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.06; }

.hero-lot { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 0.7rem; max-width: 100%; padding-bottom: 1.5rem; }
.hero-lot::after { content: ""; position: absolute; inset-inline: 10%; inset-block-end: 0; block-size: 1px; background: linear-gradient(90deg, transparent, var(--border-2), transparent); }
.hero-ref { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted); }
.hero-domain {
  font-family: var(--font-mono); font-weight: 500; font-size: clamp(2.1rem, 7vw, 4.5rem);
  letter-spacing: -0.015em; line-height: 1.05; color: var(--text); overflow-wrap: anywhere;
}
.hero-domain .tld { color: var(--accent); }

.hero-price {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 0.4rem;
  padding: 0.42rem 0.95rem 0.42rem 0.8rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--sh-sm);
  font-weight: 600; font-size: 0.9rem;
}
.hero-price .tick { inline-size: 3px; block-size: 0.95rem; border-radius: 2px; background: var(--fire); }

.hero-slogan { font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--muted); max-width: 46rem; margin-top: 0.3rem; }
.hero-form { width: 100%; max-width: 560px; margin-top: 0.5rem; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4rem 1.1rem; color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust span::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-cta { margin-top: 0.2rem; }

/* ---- Angebotsformular (solides, leuchtend gerahmtes Panel) ------------ */
.offer-card {
  position: relative; isolation: isolate; max-width: 560px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 20px;
  box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: clamp(24px, 4vw, 40px); overflow: hidden; text-align: start;
}
.offer-card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 3px; background: var(--fire); }
.offer-intro { margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.offer-intro h2 { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; }
.offer-intro p { color: var(--muted); font-size: 0.82rem; margin-top: 0.25rem; }
.offer-cap { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; display: block; }

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 540px) { .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-weight: 600; font-size: 0.82rem; color: var(--text); }
.field-domain > label { font-size: 0.95rem; }

.field input, .field textarea, .field select, .cselect-btn {
  width: 100%; min-height: 52px; padding: 0.7rem 0.9rem;
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--r-md);
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
  transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:hover, .field textarea:hover, .cselect-btn:hover { border-color: var(--border-2); }
.field input:focus, .field textarea:focus { outline: none; background: color-mix(in srgb, var(--surface-alt) 60%, var(--bg)); border-color: var(--accent); box-shadow: var(--ring); }
#amount { font-family: var(--font-mono); }

.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; inline-size: 20px; block-size: 20px; margin-top: 2px; flex: none;
  border: 2px solid var(--border-2); border-radius: 6px; background: var(--surface-alt); cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.consent input[type="checkbox"]:checked {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border-color: var(--accent); box-shadow: var(--glow);
}
.consent input[type="checkbox"]:focus-visible { outline: none; box-shadow: var(--ring); }

.form-hint { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.1rem; }
.alert { padding: 0.85rem 1rem; border-radius: var(--r-md); font-size: 0.9rem; margin-bottom: 1rem; }
.alert-err { background: color-mix(in srgb, var(--accent-3) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent-3) 55%, var(--border)); color: #9A2A14; }
.hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }

/* ---- Custom-Select ---------------------------------------------------- */
.cselect { position: relative; }
.cselect-src.cselect-hidden { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
select.cselect-src { min-height: 52px; }
.cselect-btn { display: flex; align-items: center; gap: 0.7rem; min-height: 60px; text-align: start; cursor: pointer; }
.cselect-btn:focus-visible { outline: none; background: color-mix(in srgb, var(--surface-alt) 60%, var(--bg)); border-color: var(--accent); box-shadow: var(--ring); }
.cselect.open .cselect-btn { border-color: var(--accent); box-shadow: var(--ring); }
.cselect-label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cselect-label .opt-head { display: flex; align-items: baseline; min-width: 0; }
.cselect-label .opt-main { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cselect-label .opt-price { display: none; }   /* Preis nur in der aufgeklappten Liste, nicht im Trigger */
.cselect-label .opt-sub { font-size: 0.78rem; color: var(--muted); }
.cselect-chevron { inline-size: 1.1em; block-size: 1.1em; flex: none; color: var(--muted); transition: transform 160ms ease; }
.cselect.open .cselect-chevron { transform: rotate(180deg); }

.langswitch .cselect-btn { min-height: 40px; inline-size: auto; padding: 0.4rem 0.7rem; border-radius: var(--r-pill); gap: 0.45rem; font-weight: 600; font-size: 0.78rem; }
.langswitch .cselect-label { flex-direction: row; align-items: center; gap: 0.4rem; }
.lang-code { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.04em; }
.globe { font-size: 0.95rem; line-height: 1; }

.cselect-panel {
  position: absolute; z-index: 60; inset-block-start: calc(100% + 8px); inset-inline-start: 0;
  inline-size: 100%; min-inline-size: max-content; max-block-size: 320px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-md); box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms;
  scrollbar-width: thin; scrollbar-color: var(--accent) var(--surface-alt);
}
.cselect.open .cselect-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.langswitch .cselect-panel { inset-inline-start: auto; inset-inline-end: 0; inline-size: 248px; max-block-size: 264px; }
.cselect-head { font-size: 0.72rem; color: var(--muted); padding: 0.35rem 0.6rem 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 4px; position: sticky; inset-block-start: -6px; background: var(--surface); }
.cselect-opt { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.5rem 0.7rem; border-radius: var(--r-sm); cursor: pointer; color: var(--text); }
.cselect-opt.opt-rich { min-height: 56px; }
.cselect-opt:hover, .cselect-opt.active { background: var(--surface-alt); }
.cselect-opt .opt-head { display: flex; align-items: baseline; gap: 0.6rem; min-width: 0; }
.cselect-opt .opt-main { font-family: var(--font-mono); font-weight: 500; font-size: 1.02rem; overflow-wrap: anywhere; }
.cselect-opt .opt-price { margin-inline-start: auto; font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.cselect-opt .opt-sub { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.cselect-opt[aria-selected="true"] { background: var(--surface-alt); box-shadow: inset 3px 0 0 var(--accent); }
.cselect-opt[aria-selected="true"]::after { content: "✓"; margin-inline-start: auto; color: var(--accent); font-weight: 700; }
.cselect-opt.opt-rich[aria-selected="true"]::after { content: none; }
.langswitch .cselect-opt { font-size: 0.9rem; }
.dot { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--success); flex: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 16%, transparent); }
.cselect-panel::-webkit-scrollbar { inline-size: 10px; }
.cselect-panel::-webkit-scrollbar-track { background: var(--surface-alt); border-radius: var(--r-pill); margin: 6px; }
.cselect-panel::-webkit-scrollbar-thumb { background: var(--accent); border-radius: var(--r-pill); border: 3px solid var(--surface); background-clip: padding-box; }

/* ---- Portfolio -------------------------------------------------------- */
.domains { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section-head { text-align: center; margin-bottom: 2.6rem; margin-inline: auto; max-width: 40rem; }
.section-eyebrow { display: block; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.7rem; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-head p { color: var(--muted); margin-top: 0.4rem; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fill, minmax(clamp(260px, 30vw, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; gap: 0.7rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--sh-sm); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
@media (hover: hover) { .card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--sh-md), var(--glow); } }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.card-ref { font-family: var(--font-mono); font-weight: 500; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; }
.card-status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--muted); }
.card-status .dot { inline-size: 7px; block-size: 7px; }
.dname { font-family: var(--font-mono); font-weight: 500; font-size: 1.35rem; color: var(--text); overflow-wrap: anywhere; }
.dtag { font-size: 0.95rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font-size: 0.72rem; font-weight: 500; color: var(--muted); padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface-alt); border: 1px solid var(--border); }
.card-foot { margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; }
.price { font-family: var(--font-mono); font-weight: 600; font-size: 1rem; }

.badge { position: absolute; inset-block-start: -1px; inset-inline-start: 1.2rem; transform: translateY(-50%); padding: 4px 10px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; background: var(--surface-alt); color: var(--muted); border: 1px solid var(--border-2); }
.badge-current { background: var(--fire); color: var(--accent-contrast); border-color: transparent; box-shadow: var(--glow); }
.card-current { border: 1.5px solid var(--accent); box-shadow: var(--sh-md), var(--glow); }
.card-featured { border-top: 2px solid var(--accent); }

/* ---- Ablauf ----------------------------------------------------------- */
.steps { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.step { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 1rem; border-top: 1px solid var(--border-2); }
.step .lot { font-family: var(--font-mono); font-weight: 600; font-size: 1.5rem; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-weight: 600; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 2rem; }
.foot-inner { max-width: var(--wrap); margin-inline: auto; padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem 2rem; align-items: start; }
@media (max-width: 640px) { .foot-inner { grid-template-columns: 1fr; } }
.foot-brand .dom { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; }
.foot-brand p { color: var(--muted); margin-top: 0.35rem; }
.foot-inner nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.foot-inner nav a { color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.foot-inner nav a:hover { color: var(--accent); }
.foot-copy { grid-column: 1 / -1; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; justify-content: space-between; color: var(--muted); font-size: 0.8rem; }

/* ---- Thanks / 404 / Legal --------------------------------------------- */
.hero.small { min-height: 62vh; justify-content: center; }
.check { inline-size: 68px; block-size: 68px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-contrast); background: var(--fire); font-size: 2rem; font-weight: 700; box-shadow: var(--glow); }
.hero.small h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 6vw, 3rem); }
.nf-code { font-family: var(--font-mono); font-weight: 600; font-size: clamp(3.5rem, 14vw, 7rem); letter-spacing: -0.03em; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 1rem; }
.legal h2 { font-size: 1.15rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.legal p { margin-top: 0.6rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.muted { color: var(--muted); font-size: 0.9rem; }

/* ---- Reveal / Motion -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 520ms cubic-bezier(0.22,0.61,0.36,1), transform 520ms cubic-bezier(0.22,0.61,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #progress > i { transition: none; }
}
