/* ==========================================================================
   JR42 – Stylesheet
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --ink: #0b1222;
  --text: #3b4458;
  --muted: #687089;
  --line: #e4e7ef;
  --line-strong: #d3d8e4;

  --brand: #5160f5;
  --brand-ink: #3a46d8;
  --brand-soft: #eef0ff;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --ok: #22c55e;
  --danger: #dc2626;

  --dark: #0a0f1e;
  --dark-2: #111830;
  --dark-text: #aab3cc;
  --dark-line: rgba(255, 255, 255, 0.09);

  --grad: linear-gradient(135deg, var(--blue) 0%, #6366f1 55%, var(--violet) 100%);

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-mono: "Cascadia Code", "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 34, 0.06), 0 1px 3px rgba(11, 18, 34, 0.04);
  --shadow: 0 12px 32px -12px rgba(11, 18, 34, 0.18), 0 2px 6px rgba(11, 18, 34, 0.05);
  --shadow-lg: 0 32px 64px -24px rgba(11, 18, 34, 0.35);

  --header-h: 72px;
  --gutter: 24px;
}

/* --- Basis --------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body.leaving { opacity: 0; transition: opacity 0.3s ease; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(81, 96, 245, 0.2); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.grad-text {
  background: linear-gradient(120deg, #7aa7ff 0%, #8f8cff 45%, #c4a5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(81, 96, 245, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(81, 96, 245, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); }

.btn-outline {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand-ink); }

.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.925rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.025rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  color: var(--brand-ink);
}
.text-link .icon { width: 1em; height: 1em; transition: transform 0.2s ease; }
.text-link:hover { text-decoration: none; }
.text-link:hover .icon { transform: translateX(3px); }

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 15, 30, 0.78);
  border-bottom: 1px solid var(--dark-line);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  -webkit-user-select: none;
  user-select: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.brand-sub {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--dark-text);
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #c9d0e3;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.main-nav ul a:hover,
.main-nav ul a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 96px) 0 152px;
  overflow: hidden;
  background: var(--dark);
  color: var(--dark-text);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(640px circle at 78% 28%, rgba(99, 102, 241, 0.32), transparent 62%),
    radial-gradient(520px circle at 8% 90%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(420px circle at 95% 95%, rgba(139, 92, 246, 0.14), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 64px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #c9d0e3;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
a.hero-kicker { padding: 5px 14px 5px 5px; }
a.hero-kicker:hover {
  border-color: rgba(159, 180, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-decoration: none;
}
.hero-kicker .icon { width: 1em; height: 1em; transition: transform 0.2s ease; }
.hero-kicker:hover .icon { transform: translateX(3px); }
.kicker-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.2vw, 4.3rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 40px;
  font-size: 1.175rem;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  color: #c9d0e3;
  font-size: 0.95rem;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 1.05em; height: 1.05em; color: var(--ok); stroke-width: 2.5; }

/* Hero-Visual */

.hero-visual {
  position: relative;
  padding: 40px 0 56px;
}

.term {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(23, 31, 56, 0.92), rgba(13, 19, 38, 0.95));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
}
.term::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(122, 167, 255, 0.5), transparent 40%, transparent 60%, rgba(196, 165, 255, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2c3553; }
.term-bar span:nth-child(1) { background: #ff5f57; }
.term-bar span:nth-child(2) { background: #febc2e; }
.term-bar span:nth-child(3) { background: #28c840; }
.term-bar p {
  flex: 1;
  margin: 0 0 0 10px;
  color: #6f7a99;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: center;
  padding-right: 52px;
}

.term-body {
  padding: 22px 22px 26px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 2;
  color: #d5dbee;
}
.t-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  white-space: nowrap;
}
.t-prompt { color: #7aa7ff; }
.t-ok { color: var(--ok); }
.t-arrow { color: #c4a5ff; }
.t-dim { margin-left: auto; padding-left: 16px; color: #6f7a99; }
.t-final { margin-top: 6px; color: #fff; font-weight: 600; }
.t-cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 2px;
  align-self: center;
  background: #c4a5ff;
  animation: blink 1.1s steps(1) infinite;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.float-card strong { display: block; color: var(--ink); font-size: 0.9rem; line-height: 1.3; }
.float-card small { display: block; color: var(--muted); font-size: 0.78rem; line-height: 1.3; }

.fc-status { top: 0; right: -12px; animation: float 6s ease-in-out infinite; }
.fc-mail { bottom: 0; left: -28px; animation: float 6s ease-in-out -3s infinite; }

.pulse {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s ease-out infinite;
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.fc-icon .icon { width: 18px; height: 18px; }
.fc-check {
  width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 4px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  stroke-width: 3;
}

/* Animationen der Terminal-Zeilen */
.term-body .t-line { opacity: 0; animation: line-in 0.5s ease forwards; }
.term-body .t-line:nth-child(1) { animation-delay: 0.3s; }
.term-body .t-line:nth-child(2) { animation-delay: 0.9s; }
.term-body .t-line:nth-child(3) { animation-delay: 1.4s; }
.term-body .t-line:nth-child(4) { animation-delay: 1.9s; }
.term-body .t-line:nth-child(5) { animation-delay: 2.4s; }
.term-body .t-line:nth-child(6) { animation-delay: 3.0s; }

@keyframes line-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(3); opacity: 0; }
}

/* --- Fakten -------------------------------------------------------------- */

.facts-wrap {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 24px;
}
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { display: block; color: var(--ink); font-size: 0.98rem; line-height: 1.35; }
.facts span:not(.facts-icon) { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.4; }

.facts-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

/* --- Sektionen ----------------------------------------------------------- */

.section { padding: 120px 0; }
.facts-wrap + .section { padding-top: 112px; }
.section-soft { background: var(--bg-soft); }

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--dark-text);
  isolation: isolate;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px circle at 0% 0%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(520px circle at 100% 100%, rgba(139, 92, 246, 0.16), transparent 60%);
}
.section-dark h2 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.eyebrow-light { color: #9fb4ff; }

.section h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); }

.section-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.125rem;
}
.section-dark .section-lead { color: var(--dark-text); }

/* Check-Liste */

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.975rem;
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235160f5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* --- Leistungen ---------------------------------------------------------- */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(81, 96, 245, 0.7);
}
.service-icon .icon { width: 24px; height: 24px; }

.service-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.service-card > p { color: var(--muted); margin-bottom: 24px; }
.service-card .check-list { margin-bottom: 28px; }
.service-card .text-link { margin-top: auto; }

/* --- Ablauf -------------------------------------------------------------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line-strong) 50%, transparent 50%) 0 0 / 10px 1px repeat-x;
}

.step { position: relative; }
.step-no {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.975rem; }

/* --- Pakete -------------------------------------------------------------- */

.tabs {
  display: flex;
  width: max-content;
  margin: -16px auto 48px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.tab .icon { width: 1.05em; height: 1.05em; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 24px;
}
.plans[hidden] { display: none; }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.plan h3 { font-size: 1.25rem; }
.plan-desc { margin: 8px 0 24px; color: var(--muted); font-size: 0.95rem; }

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.price-value {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-unit { color: var(--muted); font-size: 0.95rem; }

.plan .check-list { margin-bottom: 32px; }
.plan .btn { margin-top: auto; }

.plan-featured {
  border-color: transparent;
  background: var(--dark);
  color: var(--dark-text);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.plan-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at 100% 0%, rgba(99, 102, 241, 0.35), transparent 60%);
}
.plan-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.plan-featured h3,
.plan-featured .price-value { color: #fff; }
.plan-featured .plan-desc,
.plan-featured .price-unit { color: var(--dark-text); }
.plan-featured .price { border-color: var(--dark-line); }
.plan-featured .check-list li { color: #d5dbee; }
.plan-featured .check-list li::before { background-color: rgba(255, 255, 255, 0.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb4ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.plan-badge {
  position: absolute;
  top: 34px;
  right: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plans-note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* --- Netzwerkzeug -------------------------------------------------------- */

.product-intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 64px;
}
.product-intro > * { min-width: 0; }

.product-name {
  display: flex;
  align-items: center;
  gap: 18px;
}
.product-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(99, 102, 241, 0.8);
}
.product-logo .icon { width: 30px; height: 30px; }
.product h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.product-tagline {
  margin: 6px 0 0;
  color: #9fb4ff;
  font-weight: 600;
}
.product-copy .section-lead { margin-top: 28px; }

.product-points { margin: 28px 0 36px; }
.product-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  color: #d5dbee;
}
.product-points .icon {
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.25em;
  color: var(--ok);
  stroke-width: 2.6;
}

/* App-Ansicht (stilisiert, mit Beispieldaten) */

.app-mock { position: relative; padding: 0 0 36px; }

.am-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #f7f8fb;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #3b4458;
  font-size: 0.8rem;
  line-height: 1.4;
}

.am-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 0 0 14px;
  background: #fff;
  border-bottom: 1px solid #e6e8ef;
}
.am-appicon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--grad);
  color: #fff;
}
.am-appicon .icon { width: 11px; height: 11px; stroke-width: 2.4; }
.am-title { flex: 1; color: #3b4458; font-size: 0.78rem; }
.am-winbtns { display: flex; height: 100%; }
.am-winbtns i {
  position: relative;
  width: 44px;
  height: 100%;
}
.am-winbtns i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
}
.am-winbtns i:nth-child(1)::before { height: 1px; background: #3b4458; }
.am-winbtns i:nth-child(2)::before { border: 1px solid #3b4458; }
.am-winbtns i:nth-child(3)::before {
  background:
    linear-gradient(45deg, transparent 46%, #3b4458 46%, #3b4458 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #3b4458 46%, #3b4458 54%, transparent 54%);
}

.am-body { padding: 18px 18px 14px; }

.am-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.am-head strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.am-head small { color: #687089; font-size: 0.72rem; }
.am-btn {
  flex: none;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.am-config {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  background: #fff;
}
.am-config small { display: block; color: #8a91a6; font-size: 0.66rem; }
.am-config span {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.am-tabs {
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid #d9dde7;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.am-tabs span {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  color: #687089;
  font-size: 0.72rem;
}
.am-tabs .is-active {
  margin-bottom: -1px;
  border-color: #d9dde7;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}

.am-table {
  padding: 8px;
  border: 1px solid #d9dde7;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #fff;
}
.am-row {
  display: grid;
  grid-template-columns: 8px 1.05fr 1.3fr 0.9fr 0.5fr;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
}
.am-row + .am-row { margin-top: 4px; }
.am-row:nth-child(odd) { background: #f5f6fa; }
.am-row i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.am-row b { color: var(--ink); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; }
.am-row span,
.am-row em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.am-row em { color: #8a91a6; font-style: normal; font-size: 0.72rem; }
.am-ms { color: #687089; font-family: var(--font-mono); font-size: 0.7rem; text-align: right; }

.am-status {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eceef4;
  color: #4b5468;
  font-size: 0.72rem;
}

.am-float { right: -18px; bottom: 0; animation: float 6s ease-in-out infinite; }

/* Funktionen */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 96px;
}
.feature {
  padding: 28px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 180, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(159, 180, 255, 0.25);
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.16);
  color: #b4c3ff;
}
.feature-icon .icon { width: 21px; height: 21px; }
.feature h3 { margin-bottom: 8px; color: #fff; font-size: 1.1rem; }
.feature p { color: var(--dark-text); font-size: 0.95rem; }

/* Lizenz */

.license {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: center;
  gap: 32px 48px;
  margin-top: 24px;
  padding: 36px 40px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  isolation: isolate;
}
.license::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at 0% 0%, rgba(99, 102, 241, 0.3), transparent 60%);
}
.license::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.license h3 { margin-bottom: 8px; color: #fff; font-size: 1.4rem; }
.license-copy p { color: var(--dark-text); }
.license-list { margin: 0; }
.license-list li { color: #d5dbee; }
.license-list li:last-child { margin-bottom: 0; }
.license-list li::before {
  background-color: rgba(255, 255, 255, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb4ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.license-cta { text-align: center; }
.license-price {
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Technologien (in „Über mich“) */

.stack {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stack-title {
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 650;
}
.stack-list { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-list li {
  padding: 6px 13px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

/* --- Über mich ----------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 80px;
}

.about-visual { position: relative; }

.portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  background: var(--dark);
  isolation: isolate;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(360px circle at 20% 15%, rgba(59, 130, 246, 0.55), transparent 60%),
    radial-gradient(360px circle at 85% 90%, rgba(139, 92, 246, 0.5), transparent 60%);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.portrait-mono {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  opacity: 0.95;
}

.portrait-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}
.portrait-caption strong { display: block; color: var(--ink); font-size: 1.05rem; }
.portrait-caption span { color: var(--muted); font-size: 0.9rem; }

.about-copy h2 { margin-bottom: 28px; }
.about-copy > p { font-size: 1.075rem; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.values li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
}
.values .icon { width: 22px; height: 22px; margin-bottom: 12px; color: var(--brand); }
.values strong { display: block; color: var(--ink); }
.values span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* --- FAQ ----------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 80px;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-intro .btn { margin-top: 32px; }

.faq-list {
  border-top: 1px solid var(--line-strong);
}
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: transform 0.3s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.faq-item summary:hover .icon { border-color: var(--brand); color: var(--brand); }
.faq-item[open] summary .icon {
  transform: rotate(45deg);
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}
.faq-answer {
  padding: 0 56px 26px 0;
  color: var(--muted);
}

/* --- Kontakt ------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 80px;
}

.contact-list { margin-top: 44px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--dark-line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--dark-line); }
.contact-list small {
  display: block;
  color: #7d88a8;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-list a,
.contact-list span:not(.contact-icon) { color: #fff; font-weight: 500; }

.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #9fb4ff;
}

.contact-form-wrap {
  padding: 40px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  color: var(--text);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}
.req { color: var(--brand); }
.opt { color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  padding-right: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687089' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa2b8; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #b9c0d2; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(81, 96, 245, 0.14);
}
.field .is-invalid,
.field .is-invalid:hover { border-color: var(--danger); }
.field .is-invalid:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 26px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}
.consent.is-invalid span { color: var(--danger); }

.form-status {
  min-height: 1.5em;
  margin: 16px 0 0;
  font-size: 0.925rem;
  text-align: center;
}
.form-status.is-error { color: var(--danger); }

.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.form-success { padding: 40px 8px; text-align: center; }
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: var(--ok);
}
.success-icon .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  padding: 80px 0 0;
  background: #070b16;
  color: #8a94b0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand p { max-width: 320px; margin-top: 20px; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  color: #c9d0e3;
  font-size: 0.85rem;
}
.footer-badge .icon { width: 1em; height: 1em; color: #9fb4ff; }

.footer-col h2 {
  margin-bottom: 18px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: #8a94b0; transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--dark-line);
  font-size: 0.875rem;
}
.footer-bottom p { margin: 0; }

/* --- Domain-Suche (Startseite und Bestellseite) -------------------------- */

.domain-search {
  max-width: 860px;
  margin: -8px auto 56px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.ds-label,
.domain-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.ds-label .icon { color: var(--brand); }
.domain-label { margin-bottom: 10px; font-family: var(--font); font-size: 0.9rem; font-weight: 600; letter-spacing: 0; }

.domain-field {
  display: flex;
  align-items: center;
  padding: 5px 5px 5px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.domain-field:hover { border-color: #b9c0d2; }
.domain-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(81, 96, 245, 0.14); }
.domain-field:has(.is-invalid) { border-color: var(--danger); }
.domain-prefix { color: var(--muted); font-family: var(--font-mono); font-size: 0.95rem; }
.domain-field input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-family: var(--font-mono);
  font-size: 1.05rem;
}
.domain-field input:focus,
.domain-field input:focus-visible { outline: none; }
.domain-field input::placeholder { color: #9aa2b8; }
.domain-field .btn { flex: none; min-height: 46px; margin-left: 6px; }

.ds-hint { margin: 12px 0 0; color: var(--muted); font-size: 0.9rem; }
.ds-hint strong { color: var(--ink); font-weight: 600; }
.ds-error,
.domain-error { margin: 10px 0 0; color: var(--danger); font-size: 0.9rem; }
.ds-error:empty,
.domain-error:empty { display: none; }

.ds-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.ds-results[hidden] { display: none; }
.ds-results[aria-busy="true"],
.domain-results[aria-busy="true"] { opacity: 0.5; transition: opacity 0.2s ease; }

.ds-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.ds-result.is-frei { border-color: rgba(34, 197, 94, 0.35); background: #fff; }
.ds-result.is-wanted { box-shadow: 0 0 0 1px var(--brand); border-color: var(--brand); }
.ds-name,
.domain-option-name {
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.ds-name b,
.domain-option-name b { color: var(--brand-ink); }
.is-vergeben .ds-name,
.is-vergeben .domain-option-name { color: var(--muted); text-decoration: line-through; }
.is-vergeben .ds-name b,
.is-vergeben .domain-option-name b { color: inherit; }
.ds-price { grid-column: 1 / -1; color: var(--muted); font-size: 0.85rem; }
.ds-order { grid-column: 1 / -1; margin-top: 10px; }

.ds-status,
.domain-option-status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.is-frei > .ds-status,
.is-frei > .domain-option-status { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.is-vergeben > .ds-status,
.is-vergeben > .domain-option-status { background: rgba(220, 38, 38, 0.08); color: #b91c1c; }
.is-unbekannt > .ds-status,
.is-unbekannt > .domain-option-status { background: rgba(245, 158, 11, 0.14); color: #b45309; }

/* --- Bestellung ---------------------------------------------------------- */

.order-hero { padding-bottom: 56px; }
.order-hero p { max-width: 680px; }

.order-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 36px;
}
.order-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-text);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease;
}
.order-progress span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #9fb4ff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.order-progress .is-done { color: #fff; }
.order-progress .is-done span {
  border-color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat, var(--grad);
  color: transparent;
}

.order { padding: 64px 0 112px; background: var(--bg-soft); }
.order-noscript {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 32px;
}
.order-grid[hidden] { display: none; }

.order-step {
  min-width: 0;
  margin: 0 0 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.order-step:last-child { margin-bottom: 0; }
.order-step legend {
  float: left;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 22px;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.order-step legend + * { clear: both; }

.step-badge {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
}

.step-hint { margin: 16px 0 0; color: var(--muted); font-size: 0.9rem; }
.step-hint-top { margin: 0 0 20px; }

.choice-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.choices + .choice-group-title { margin-top: 26px; }

.choices { display: grid; gap: 12px; }
.choices-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.choice { position: relative; display: flex; cursor: pointer; }
.choice[hidden] { display: none; }
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.choice-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 52px 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.choice-body::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.choice:hover .choice-body { border-color: #b9c0d2; }
.choice input:checked + .choice-body {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 1px var(--brand);
}
.choice input:checked + .choice-body::after {
  border-color: var(--brand);
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.choice input:focus-visible + .choice-body { outline: 2px solid var(--brand); outline-offset: 3px; }

.choice-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.choice-title { color: var(--ink); font-size: 1.05rem; font-weight: 650; line-height: 1.3; }
.choice-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.choice-price {
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.choice-price small { color: var(--muted); font-family: var(--font); font-size: 0.85rem; font-weight: 400; letter-spacing: 0; }
.choice-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.choice-incl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #15803d;
  font-size: 0.85rem;
  font-weight: 600;
}
.choice-incl::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.choice-compact .choice-body { padding: 16px 48px 16px 18px; }
.choice-icon { width: 22px; height: 22px; margin-bottom: 6px; color: var(--brand); }

.domain-panel { margin-top: 24px; }
.domain-panel[hidden] { display: none; }
.domain-panel .field { margin-bottom: 14px; }

.domain-results { display: grid; gap: 8px; margin-top: 16px; }
.domain-results:empty { display: none; }
.domain-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto minmax(130px, auto);
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.domain-option:hover { border-color: #b9c0d2; }
.domain-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand); }
.domain-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.domain-option.is-vergeben { border-color: var(--line); background: var(--bg-soft); cursor: default; }
.domain-option.is-vergeben::before { content: ""; }
.domain-option-price { color: var(--muted); font-size: 0.9rem; text-align: right; white-space: nowrap; }
.domain-option-price.is-included { color: #15803d; font-weight: 600; }
.domain-results-note { margin: 4px 0 0; color: var(--muted); font-size: 0.85rem; }

.domain-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.95rem;
}
.domain-note .icon { margin-top: 2px; color: var(--brand); }
.domain-note strong { color: var(--ink); font-family: var(--font-mono); font-size: 0.92rem; }

.form-row-plz { grid-template-columns: 160px 1fr; }
.order-step .consent { margin: 8px 0 0; }

/* Zusammenfassung */

.order-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  border-radius: var(--radius);
  scrollbar-width: thin;
}

.summary-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--dark-text);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.summary-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at 100% 0%, rgba(99, 102, 241, 0.32), transparent 60%);
}
.summary-card h2 { margin-bottom: 14px; color: #fff; font-size: 1.15rem; }

.summary-lines { margin: 0; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--dark-line);
  font-size: 0.95rem;
}
.summary-row dt { min-width: 0; color: #d5dbee; overflow-wrap: anywhere; }
.summary-row dd { margin: 0; color: #fff; font-weight: 600; text-align: right; white-space: nowrap; }
.summary-row s { margin-right: 2px; color: #7d88a8; font-weight: 400; }
.summary-incl { color: #86efac; }

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: #fff;
  font-weight: 600;
}
.summary-total strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.summary-total small { color: var(--dark-text); font-size: 0.9rem; font-weight: 400; }
.summary-sub { margin: 2px 0 0; font-size: 0.85rem; text-align: right; }
.summary-save { color: #86efac; font-weight: 600; }

.summary-tip {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(159, 180, 255, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.14);
  color: #d5dbee;
  font-size: 0.875rem;
  line-height: 1.55;
}
.summary-tip strong { color: #fff; }
.summary-tip-btn {
  display: block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #9fb4ff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.summary-tip-btn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.summary-facts { display: grid; gap: 8px; margin: 22px 0 24px; }
.summary-facts li { position: relative; padding-left: 28px; color: #d5dbee; font-size: 0.9rem; }
.summary-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb4ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.summary-card .form-status { margin: 0 0 14px; color: #d5dbee; }
.summary-card .form-status:empty { display: none; }
.summary-card .form-status.is-error { color: #fca5a5; }
.summary-legal { margin-top: 16px; color: #7d88a8; font-size: 0.8rem; line-height: 1.5; }

.order-bar { display: none; }

/* Erfolg */

.order-success {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.order-success[hidden] { display: none; }
.order-success:focus { outline: none; }
.order-success h2 { margin-bottom: 12px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.order-success > p { color: var(--muted); }
.order-success > p strong { color: var(--ink); }
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0;
  text-align: left;
}
.next-steps li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.next-steps h3 { margin-bottom: 6px; font-size: 1.05rem; }
.next-steps p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

@media (max-width: 1080px) {
  .order-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
}

/* Niedrige Bildschirme: Übersicht kompakter, damit der Button sichtbar bleibt */
@media (max-height: 900px) and (min-width: 961px) {
  .summary-facts { margin: 0 0 22px; }
  .summary-facts li { display: none; }
}

@media (max-width: 960px) {
  .ds-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .order-bar:not([hidden]) {
    position: sticky;
    bottom: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 8px 8px 8px 22px;
    border-radius: 999px;
    background: var(--dark);
    color: #fff;
    box-shadow: var(--shadow-lg);
  }
  .order-bar-total { display: flex; flex-direction: column; line-height: 1.2; }
  .order-bar-total small { color: var(--dark-text); font-size: 0.75rem; }
  .order-bar-total strong { font-size: 1.05rem; }
}

@media (max-width: 680px) {
  .domain-search { margin-bottom: 40px; padding: 20px 16px; }
  .ds-label { font-size: 1.05rem; }
  .ds-results { grid-template-columns: 1fr; }
  .domain-prefix { display: none; }
  .domain-field { padding-left: 16px; }
  .domain-field .btn { padding: 0 16px; }

  .order { padding: 40px 0 72px; }
  .order-progress { gap: 8px 16px; margin-top: 28px; }
  .order-progress li { font-size: 0.85rem; }
  .order-step { padding: 24px 18px; border-radius: 16px; }
  .order-step legend { font-size: 1.15rem; }
  .choices-2,
  .choices-3 { grid-template-columns: 1fr; }
  .domain-option { grid-template-columns: 20px minmax(0, 1fr) auto; gap: 4px 12px; }
  .domain-option-price { grid-column: 2 / -1; text-align: left; }
  .summary-card { padding: 24px 20px; }
  .order-success { padding: 40px 20px; }
  .next-steps { grid-template-columns: 1fr; }
}

/* --- Rechtliche Unterseiten ---------------------------------------------- */

.page-hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 72px) 0 72px;
  overflow: hidden;
  background: var(--dark);
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(560px circle at 85% 0%, rgba(99, 102, 241, 0.3), transparent 60%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.page-hero p { margin-top: 12px; color: var(--dark-text); }

.legal { padding: 72px 0 112px; }
.legal .container { max-width: 820px; }
.legal h2 {
  margin: 48px 0 14px;
  font-size: 1.4rem;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 28px 0 10px; font-size: 1.1rem; }
.legal ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; }
.legal .note {
  padding: 16px 20px;
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.95rem;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 80px 0;
  text-align: center;
}
.error-code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-page h1 { margin: 16px 0 12px; font-size: 1.8rem; }
.error-page p { color: var(--muted); }
.error-page .btn { margin-top: 24px; }

/* --- Scroll-Reveal ------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .main-nav ul a { padding: 8px 9px; }
  .brand-sub { display: none; }
  .hero-grid { gap: 40px; }
  .fc-mail { left: -8px; }
  .fc-status { right: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px var(--gutter) 28px;
    border-bottom: 1px solid var(--dark-line);
    background: var(--dark);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav ul a { padding: 13px 12px; font-size: 1.05rem; }
  .nav-cta { min-height: 50px; }

  .hero { padding: calc(var(--header-h) + 64px) 0 128px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { max-width: 560px; }

  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .section { padding: 88px 0; }
  .facts-wrap + .section { padding-top: 88px; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .steps::before { display: none; }

  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

  .about,
  .faq-grid,
  .contact,
  .product-intro { grid-template-columns: 1fr; gap: 48px; }
  .app-mock { max-width: 620px; }
  .features { grid-template-columns: repeat(2, 1fr); margin-top: 72px; }
  .license { grid-template-columns: 1fr 1fr; }
  .license-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
  .license-price { margin: 0; }
  .about-visual { max-width: 420px; }
  .faq-intro { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; }

  body { font-size: 1rem; }

  .hero { padding-bottom: 112px; }
  .hero-lead { font-size: 1.075rem; margin: 22px 0 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-points { gap: 10px 20px; margin-top: 32px; }

  .hero-visual { padding: 36px 0 52px; }
  .term-body { padding: 18px 16px 52px; font-size: 0.74rem; }
  .term-bar p { padding-right: 0; }
  .t-dim { display: none; }
  .fc-status { right: 0; }
  .fc-mail { left: 0; }
  .float-card { padding: 10px 14px; }

  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 18px 20px; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }

  .section { padding: 72px 0; }
  .facts-wrap + .section { padding-top: 72px; }
  .section-head { margin-bottom: 40px; }

  .services { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 24px; }
  .service-card::after { left: 24px; right: 24px; }

  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step-no { grid-row: span 2; margin-bottom: 0; }
  .step h3 { align-self: end; }

  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 0 12px; }

  .plan { padding: 30px 24px 26px; }
  .plan-badge { top: 30px; right: 22px; }

  a.hero-kicker { font-size: 0.8rem; }
  .product-logo { width: 54px; height: 54px; border-radius: 15px; }
  .product-logo .icon { width: 26px; height: 26px; }
  .am-body { padding: 14px 12px 12px; }
  .am-head small,
  .am-btn { display: none; }
  .am-config { grid-template-columns: repeat(2, 1fr); }
  .am-row { grid-template-columns: 8px 1fr 1.1fr 0.5fr; gap: 8px; }
  .am-row em { display: none; }
  .am-float { right: 0; }
  .features { grid-template-columns: 1fr; gap: 14px; margin-top: 56px; }
  .feature { padding: 22px; }
  .license { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .license-cta { flex-direction: column; align-items: stretch; text-align: center; }

  .values { grid-template-columns: 1fr; }

  .faq-item summary { font-size: 1.025rem; padding: 20px 0; }
  .faq-answer { padding-right: 0; }

  .contact-form-wrap { padding: 26px 20px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .term-body .t-line { animation-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
