/* ==========================================================
   Web Solutions Niels Schneider – Stylesheet
   ========================================================== */

/* Schriften lokal eingebunden (keine Verbindung zu Google-Servern, DSGVO).
   Variable Fonts: eine Datei deckt alle Stärken ab. Lizenz: SIL OFL, siehe assets/fonts/. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #0b0d14;
  --bg-alt: #10131d;
  --surface: #161a27;
  --surface-2: #1d2233;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef0f6;
  --muted: #9aa1b5;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --gradient: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 0;
  background: var(--gradient);
  color: #fff;
  font: 600 0.98rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Lichtschein am Mauszeiger – liegt über dem Hintergrund, aber unter dem Text */
.btn::before,
.billing__opt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.btn--ghost::before,
.billing__opt:not(.is-active)::before {
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 92, 255, 0.35), transparent 60%);
}
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn--small { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 13, 20, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:not(.btn):hover { color: var(--text); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, top 0.3s;
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gradient);
  font: 700 1rem var(--font-head);
  color: #fff;
}
.logo__text {
  font: 700 1.05rem/1.1 var(--font-head);
  display: flex;
  flex-direction: column;
}
.logo__text small {
  font: 500 0.75rem var(--font-body);
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 100px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background:
    radial-gradient(40% 40% at 25% 30%, rgba(124, 92, 255, 0.35), transparent 70%),
    radial-gradient(35% 35% at 80% 20%, rgba(34, 211, 238, 0.25), transparent 70%),
    radial-gradient(30% 30% at 60% 70%, rgba(244, 114, 182, 0.15), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__lead { font-size: 1.15rem; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.5rem; }
.hero__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero__facts strong {
  display: block;
  font: 700 1.6rem var(--font-head);
  color: var(--text);
}

/* Browser-Mockup */
.hero__visual { position: relative; }
.browser {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.browser__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #3a3f52; }
.browser__bar > span:nth-child(1) { background: #ff5f57; }
.browser__bar > span:nth-child(2) { background: #febc2e; }
.browser__bar > span:nth-child(3) { background: #28c840; }
.browser__url {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-left: 12px;
  flex: 1;
  background: var(--bg);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser__url svg { color: #28c840; flex: none; }
.browser__shot { width: 100%; height: auto; aspect-ratio: 3 / 2; background: #faf7f2; }
.browser__label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(11, 13, 20, 0.7);
  color: #fff;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  background: rgba(22, 26, 39, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card--a { left: -28px; bottom: 40px; }
.float-card--b { right: -18px; top: -18px; animation-delay: -3s; }
.float-card--b svg { color: var(--accent-3); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--green { background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, 0.2); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--border);
  overflow: hidden;
  padding: 1.2rem 0;
  background: var(--bg-alt);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
  will-change: transform;
}
/* Abstand per padding statt gap, damit -50% exakt eine Hälfte ist (kein Ruckeln) */
.marquee__track span {
  font: 600 1.25rem var(--font-head);
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
}
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin-bottom: 3.5rem; }
.section__head p:last-child { font-size: 1.08rem; }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service {
  position: relative;
  padding: 2rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
  overflow: hidden;
}
/* Lichtschein, der dem Mauszeiger folgt (Position per JS in --mx / --my) */
.service::before,
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, 0.15), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.14);
  margin-bottom: 1.4rem;
}
.service__icon svg { width: 26px; height: 26px; fill: var(--accent-2); }
.service p { font-size: 0.95rem; }
.service ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.45rem; }
.service li { font-size: 0.9rem; padding-left: 1.5rem; position: relative; }
.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}
.feature h4 { margin-bottom: 0.35em; display: flex; align-items: center; gap: 0.5rem; }
.feature h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}
.feature p { font-size: 0.93rem; margin: 0; }

.stack { position: relative; height: 460px; }
.stack__card {
  position: absolute;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.4s;
}
.stack__card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stack__card--photo {
  width: 62%;
  height: 58%;
  top: 0;
  left: 0;
  transform: rotate(-4deg);
  background: #312e81;
  border: 6px solid #fff;
}
.stack__card--video {
  width: 58%;
  height: 50%;
  top: 12%;
  right: 0;
  transform: rotate(5deg);
  background: #0f172a;
  display: grid;
  place-items: center;
}
.stack__card--video::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 16px 22px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-3) 40%, rgba(255,255,255,0.25) 40%);
}
.play {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
}
.play svg { width: 28px; height: 28px; color: #fff; margin-left: 4px; }
.stack__card--code {
  width: 70%;
  bottom: 0;
  left: 12%;
  background: var(--surface);
  padding: 2.6rem 1.4rem 1.2rem;
  transform: rotate(-1deg);
}
.stack__card--code pre { margin: 0; font: 0.88rem/1.7 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--text); white-space: pre; overflow-x: auto; }
.c-k { color: #c084fc; }
.c-f { color: var(--accent-2); }
.c-s { color: #86efac; }
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), transparent);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.step__num {
  display: block;
  font: 700 2.8rem var(--font-head);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.step p { font-size: 0.95rem; margin: 0; }

/* ---------- Projects ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project {
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}
.project__img {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.project__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.project__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 13, 20, 0.55), transparent 45%);
  pointer-events: none;
}
.project__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(11, 13, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}
.project__info { padding: 1.3rem 1.4rem 1.5rem; }
.project__info h3 { margin-bottom: 0.35em; display: flex; justify-content: space-between; align-items: center; }
.project__info h3::after {
  content: "→";
  color: var(--accent-2);
  transition: transform 0.3s;
}
.project__info p { margin: 0; font-size: 0.9rem; }
.project__chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.project__chips li {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
}
.plan--featured {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient) border-box;
  border: 2px solid transparent;
  box-shadow: 0 20px 60px rgba(124, 92, 255, 0.25);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 1.6rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.plan h3 { margin-bottom: 0.4em; }
.plan__pricing {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
}
.plan__save { margin: 0.4rem 0 0; font-size: 0.82rem; }
.plan__save s { opacity: 0.7; }
.plan__save b {
  display: inline-block;
  margin-left: 0.2rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  font-size: 0.78rem;
}

/* Umschaltung monatlich / jährlich */
.plans[data-billing="monthly"] .price-y,
.plans[data-billing="yearly"] .price-m { display: none; }

.billing {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 2.5rem;
  padding: 0.3rem;
  gap: 0.3rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.billing__opt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 0.92rem var(--font-body);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.billing__opt:hover { color: var(--text); }
.billing__opt.is-active { background: var(--gradient); color: #fff; }
.billing__opt:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.billing__save {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  font-size: 0.75rem;
}
.billing__opt.is-active .billing__save { background: rgba(255, 255, 255, 0.2); color: #fff; }
.plan__price strong {
  font: 700 2.2rem var(--font-head);
  color: var(--text);
  letter-spacing: -0.02em;
}
.plan__price span { font-size: 0.9rem; }
.plan__prio {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.plan__bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.plan__bars i { width: 5px; border-radius: 2px; background: var(--surface-2); }
.plan__bars i:nth-child(1) { height: 25%; }
.plan__bars i:nth-child(2) { height: 50%; }
.plan__bars i:nth-child(3) { height: 75%; }
.plan__bars i:nth-child(4) { height: 100%; }
.plan__bars[data-level="1"] i:nth-child(-n+1),
.plan__bars[data-level="2"] i:nth-child(-n+2),
.plan__bars[data-level="3"] i:nth-child(-n+3),
.plan__bars[data-level="4"] i:nth-child(-n+4) { background: var(--accent-2); }
/* Custom: Priorität variabel je nach Vertrag */
.plan__bars[data-level="custom"] i {
  background: repeating-linear-gradient(0deg, var(--accent-2) 0 2px, transparent 2px 4px);
  opacity: 0.7;
}
.plan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  flex: 1;
}
.plan__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.93rem;
  color: var(--muted);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}
.plans__note { margin: 2rem 0 0; font-size: 0.9rem; text-align: center; }
.plans__note--left { text-align: left; max-width: 760px; }

/* Preisgruppen-Überschriften */
.price-group { margin-bottom: 1.8rem; }
.price-group--spaced { margin-top: 5rem; }
.price-group p { max-width: 680px; margin: 0.6rem 0 0; }
.price-group__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 1.5rem;
  margin: 0;
}
.price-group__title span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-size: 1rem;
}
.price-group__title small {
  font: 500 0.8rem var(--font-body);
  color: var(--muted);
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Website-Pakete */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.package {
  padding: 1.8rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
}
.package--accent { border-color: rgba(124, 92, 255, 0.45); }
.package h4 { font-size: 1.15rem; margin-bottom: 0.3em; }
.package__price {
  font: 700 1.9rem var(--font-head);
  color: var(--text);
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
}
.package__price small { font: 500 0.9rem var(--font-body); color: var(--muted); }
.package > p:not(.package__price) { font-size: 0.93rem; }
.package .plan__list { margin: 1.2rem 0 0; }

/* Vergleichstabelle */
.compare {
  margin-top: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 1.6rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-2);
  transition: transform 0.25s;
}
.compare[open] summary::after { transform: rotate(45deg); }
.compare__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border-top: 1px solid var(--border);
}
.compare__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare__table th,
.compare__table td {
  padding: 0.85rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare__table th[scope="row"] { text-align: left; font-weight: 500; color: var(--text); }
/* Erste Spalte bleibt beim seitlichen Wischen (Handy) stehen */
.compare__table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
  min-width: 170px;
}
.compare__table thead th:first-child { background: var(--surface-2); }
.compare__table thead th {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-2);
}
.compare__table thead th:first-child { text-align: left; color: var(--muted); font: 500 0.85rem var(--font-body); }
.compare__table td { color: var(--muted); }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table .is-featured { background: rgba(124, 92, 255, 0.08); color: var(--text); }
.compare__table thead .is-featured { background: rgba(124, 92, 255, 0.25); }
.compare__table em { font-style: normal; font-size: 0.75rem; color: #4ade80; margin-left: 0.2rem; }
.compare__table .yes { color: var(--accent-2); font-weight: 700; }
.compare__table .no { opacity: 0.5; }

/* Empfehlungsprogramm */
.referral {
  position: relative;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.8rem 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.12)),
    var(--surface);
  border: 1px solid rgba(124, 92, 255, 0.35);
  overflow: hidden;
}
.referral::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 70%);
  pointer-events: none;
}
.referral__icon {
  flex: none;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--gradient);
}
.referral__icon svg { width: 30px; height: 30px; fill: #fff; }
.referral__text { flex: 1; }
.referral__text .eyebrow { margin-bottom: 0.3rem; }
.referral__text h3 { margin-bottom: 0.3em; }
.referral__text p:last-child { margin: 0; }
.referral__text strong { color: var(--text); }
.referral .btn { flex: none; position: relative; z-index: 1; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about__portrait { position: relative; isolation: isolate; }
.about__portrait::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border-radius: var(--radius);
  background: var(--gradient);
  opacity: 0.55;
  z-index: -1;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.15) 0 22%, transparent 22.5%),
    radial-gradient(ellipse 45% 30% at 50% 88%, rgba(255,255,255,0.12) 0 99%, transparent 100%),
    linear-gradient(160deg, var(--accent), #1e1b4b 70%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 1;
}
.portrait__fallback {
  position: absolute;
  left: 1.5rem;
  top: 1.2rem;
  font: 700 1.2rem var(--font-head);
  color: rgba(255,255,255,0.7);
}
.portrait__badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  background: rgba(22, 26, 39, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.portrait__badge strong { font-family: var(--font-head); }
.portrait__badge span { font-size: 0.82rem; color: var(--muted); }
.about__facts {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.about__facts li {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 500;
}
.about__facts span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.2rem;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 1.4rem;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(124, 92, 255, 0.45); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-2);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; margin: 0; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -200px;
  top: -100px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.2), transparent 65%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact__list li { display: grid; gap: 0.1rem; }
.contact__list span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.contact__list a { text-decoration: none; font-weight: 500; }
.contact__list a:hover { color: var(--accent-2); }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: grid;
  gap: 1.1rem;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: 0.45rem; font-size: 0.88rem; font-weight: 500; }
.form input:not([type="checkbox"]):not([type="radio"]),
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form textarea { resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.25);
}
.form .is-invalid { border-color: #f87171 !important; }
.form__choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__choices legend { font-size: 0.88rem; font-weight: 500; margin-bottom: 0.6rem; padding: 0; }
.form__choices small { color: var(--muted); font-weight: 400; }
.form__choices.is-invalid .chip span { border-color: rgba(248, 113, 113, 0.6); }
.chips__title { font-size: 0.8rem; font-weight: 500; color: var(--text); margin: 1rem 0 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; display: inline-flex !important; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  user-select: none;
}
.chip:hover span { border-color: rgba(124, 92, 255, 0.5); color: var(--text); }
.chip input:checked + span {
  background: rgba(124, 92, 255, 0.18);
  border-color: var(--accent);
  color: var(--text);
}
.chip input:checked + span::before { content: "✓"; color: var(--accent-2); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.form__check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem !important;
  font-weight: 400 !important;
  color: var(--muted);
}
.form__check input { flex: none; width: 18px; height: 18px; margin: 0.2em 0 0; accent-color: var(--accent); }
.form__check input.is-invalid { outline: 2px solid #f87171; outline-offset: 2px; }
.form__check a { color: var(--accent-2); }
.form__status { margin: 0; font-size: 0.9rem; min-height: 1.4em; }
.form__status.is-error { color: #f87171; }
.form__status.is-success { color: #4ade80; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: var(--bg-alt);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer p { margin: 0; font-size: 0.88rem; }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer__links a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--nav-h) + 60px) 0 100px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; display: grid; gap: 0.3rem; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal .hint {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.06);
  color: #fde68a;
}

/* ---------- Custom-Plan-Rechner (Pop-up) ---------- */
/* Seite hinter dem Pop-up sperren; scrollbar-gutter verhindert, dass die Seite dabei seitlich springt */
html.calc-open { overflow: hidden; scrollbar-gutter: stable; }

.calc {
  width: min(1080px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.calc[open] {
  display: flex;
  flex-direction: column;
  animation: calc-pop 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.calc::backdrop {
  background: rgba(5, 6, 10, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: calc-fade 0.3s ease;
}
/* Fallback für Browser ohne <dialog>-Unterstützung: Vollbild */
.calc.calc--fallback {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100%;
  max-height: none;
  height: 100%;
  margin: 0;
  border-radius: 0;
}
@keyframes calc-pop { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@keyframes calc-sheet { from { transform: translateY(40px); opacity: 0; } }
@keyframes calc-fade { from { opacity: 0; } }

.calc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.calc__head .eyebrow { margin-bottom: 0.4rem; }
.calc__head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.calc__intro { margin: 0.5rem 0 0; font-size: 0.95rem; max-width: 620px; }
.calc__close {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.calc__close:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.calc__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 1.6rem 1.8rem;
}
.calc__inputs,
.calc__result { display: grid; gap: 1.6rem; align-content: start; min-width: 0; }
.calc__result { gap: 1rem; }
.calc__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__group--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.calc__label {
  display: block;
  padding: 0;
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.calc__label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.calc__label-row .calc__label { margin-bottom: 0.4rem; }
.calc__value { font: 700 1.05rem var(--font-head); color: var(--text); white-space: nowrap; }
.calc__hint { margin: 0.5rem 0 0; font-size: 0.8rem; }

/* Reaktionszeit-Optionen */
.calc__prio { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.6rem; }
.calc__opt { position: relative; display: block; cursor: pointer; }
.calc__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.calc__opt-box {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  height: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s;
}
.calc__opt-box strong { font-size: 0.92rem; }
.calc__opt-box small { font-size: 0.76rem; color: var(--muted); }
.calc__opt input:checked + .calc__opt-box {
  border-color: var(--accent);
  background: rgba(124, 92, 255, 0.14);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.calc__opt input:focus-visible + .calc__opt-box { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.calc__opt-tag {
  justify-self: start;
  margin-top: 0.15rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  color: var(--accent-2);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* 5-stufige Prioritätsanzeige */
.calc__bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.calc__bars i { width: 4px; border-radius: 1px; background: var(--surface-2); }
.calc__bars i:nth-child(1) { height: 20%; }
.calc__bars i:nth-child(2) { height: 40%; }
.calc__bars i:nth-child(3) { height: 60%; }
.calc__bars i:nth-child(4) { height: 80%; }
.calc__bars i:nth-child(5) { height: 100%; }
.calc__bars[data-level="1"] i:nth-child(-n+1),
.calc__bars[data-level="2"] i:nth-child(-n+2),
.calc__bars[data-level="3"] i:nth-child(-n+3),
.calc__bars[data-level="4"] i:nth-child(-n+4),
.calc__bars[data-level="5"] i:nth-child(-n+5) { background: var(--accent-2); }

/* Schieberegler */
.calc__range {
  --fill: 0%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 28px;
  margin: 0.2rem 0 0;
  background: transparent;
  cursor: pointer;
}
.calc__range:focus { outline: none; }
.calc__range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent) 0 var(--fill), var(--surface-2) var(--fill) 100%);
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.calc__range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--surface-2); }
.calc__range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
.calc__range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.calc__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.5); }
.calc__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.5); }
.calc__scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); }

/* Plus/Minus-Zähler */
.calc__stepper {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.calc__stepper button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.calc__stepper button[aria-disabled="true"] { opacity: 0.35; cursor: not-allowed; }
.calc__stepper button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.calc__stepper output {
  min-width: 3.2rem;
  text-align: center;
  font: 700 1.1rem var(--font-head);
  font-variant-numeric: tabular-nums;
}
.billing--calc { margin: 0; }

/* Ergebnis-Karten */
.calc__card {
  position: relative;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.calc__card-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
}
.calc__card-title small { font: 500 0.75rem var(--font-body); color: var(--muted); }
.calc__breakdown { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.88rem; }
.calc__breakdown li { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.calc__breakdown li > span:last-child { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__breakdown .is-sum { margin-top: 0.3rem; padding-top: 0.6rem; border-top: 1px solid var(--border); color: var(--text); font-weight: 600; }
.calc__breakdown .is-discount > span:last-child { color: #4ade80; }

/* Vergleichsdiagramm – Betonung: Ihr Custom-Plan farbig, feste Pläne grau.
   Farben auf --surface geprüft: Grau #646a82 = 3,24:1, Violett #9b84ff = 5,89:1 */
.cmp { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.cmp__row {
  display: grid;
  gap: 0.3rem;
  margin: 0 -0.6rem;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: background 0.2s;
}
.cmp__row:hover,
.cmp__row:focus-visible { background: rgba(255, 255, 255, 0.04); }
.cmp__row:focus-visible { box-shadow: inset 0 0 0 2px var(--accent-2); }
.cmp__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 0.6rem; }
.cmp__name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.cmp__badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.45rem;
  border: 1px solid rgba(74, 222, 128, 0.5);
  border-radius: 999px;
  color: #4ade80;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.cmp__badge[hidden] { display: none; }
.cmp__fit { font-size: 0.74rem; font-weight: 600; white-space: nowrap; }
.cmp__fit.is-yes { color: #4ade80; }
.cmp__fit.is-no { color: var(--muted); font-weight: 500; }
.cmp__spec { margin: 0; font-size: 0.75rem; color: var(--muted); }
.cmp__track { display: flex; align-items: center; gap: 0.5rem; min-height: 18px; border-left: 1px solid #2b3042; }
.cmp__bar {
  flex: none;
  width: calc((100% - 6.5rem) * var(--p, 0));
  min-width: 4px;
  height: 12px;
  border-radius: 0 4px 4px 0;
  background: #646a82;
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.2s;
}
.cmp__row.is-custom .cmp__bar { background: #9b84ff; }
.cmp__row.is-custom .cmp__name { color: #fff; }
.cmp__row:hover .cmp__bar,
.cmp__row:focus-visible .cmp__bar { filter: brightness(1.25); }
.cmp__value { font-size: 0.85rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp__tip {
  position: absolute;
  z-index: 3;
  width: max-content;
  max-width: 260px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0b0d14;
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  pointer-events: none;
}
.cmp__tip strong { display: block; font-size: 0.98rem; color: var(--text); }
.cmp__tip-key { display: inline-block; width: 12px; height: 2px; margin-right: 0.4rem; vertical-align: middle; border-radius: 1px; }

/* Empfehlung */
.calc__advice {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(124, 92, 255, 0.4);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(124, 92, 255, 0.14), rgba(34, 211, 238, 0.08));
  font-size: 0.9rem;
}
.calc__advice.is-tip { border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.07); }
.calc__advice > svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.calc__advice p { margin: 0; color: var(--text); }
.calc__advice p + p { margin-top: 0.35rem; color: var(--muted); font-size: 0.84rem; }
.calc__advice .btn { margin-top: 0.8rem; }

/* Fußzeile mit Gesamtpreis */
.calc__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.8rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.calc__total { display: grid; min-width: 0; }
.calc__total-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); }
.calc__total-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 0.4rem; margin: 0; color: var(--text); }
.calc__total-price strong { font: 700 1.9rem var(--font-head); letter-spacing: -0.02em; }
.calc__total-price span { font-size: 0.9rem; color: var(--muted); }
.calc__total-note { font-size: 0.78rem; color: var(--muted); }
.calc__foot .btn { flex: none; }
.calc__apply-short { display: none; }

/* Zusammenfassung im Kontaktformular */
.custom-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-top: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(124, 92, 255, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(124, 92, 255, 0.1);
  outline: none;
}
.custom-summary[hidden] { display: none; }
.custom-summary:focus-visible { box-shadow: 0 0 0 2px var(--accent-2); }
.custom-summary__text { flex: 1 1 200px; display: grid; font-size: 0.85rem; color: var(--muted); }
.custom-summary__text strong { font-size: 0.9rem; color: var(--text); }
.custom-summary__price { font: 700 1.05rem var(--font-head); color: var(--text); white-space: nowrap; }
.custom-summary__edit {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}
.custom-summary__edit:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

@media (max-width: 900px) {
  .calc__body { grid-template-columns: minmax(0, 1fr); }
}
/* Handy: Rechner als Vollbild-Ansicht, Preis & Button immer sichtbar */
@media (max-width: 600px) {
  .calc {
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .calc[open] { animation-name: calc-sheet; }
  .calc__head { padding: 1rem 16px 0.9rem; }
  .calc__intro { display: none; }
  .calc__body { padding: 1.2rem 16px 1.5rem; gap: 1.6rem; }
  .calc__foot { padding: 0.8rem 16px calc(0.8rem + env(safe-area-inset-bottom, 0px)); }
  .calc__total-price { flex-wrap: nowrap; }
  .calc__total-price strong { font-size: 1.45rem; }
  .calc__foot .btn { padding: 0.8rem 1.3rem; font-size: 0.9rem; }
  /* kurzer Button-Text, damit Preis und "/ Monat" in eine Zeile passen */
  .calc__apply-long { display: none; }
  .calc__apply-short { display: inline; }
  .calc__card { padding: 1rem; }
}
@media (max-width: 380px) {
  .calc__group--split { grid-template-columns: 1fr; }
  .calc__prio { grid-template-columns: 1fr 1fr; }
}

/* ---------- Hover-Effekte (nur Geräte mit Maus – verhindert "hängende" Effekte auf Touch) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124, 92, 255, 0.5); }
  .btn:hover::before,
  .billing__opt:hover::before { opacity: 1; }
  .step:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.45); }
  .step:hover::before { opacity: 1; }
  .btn--ghost:hover { background: rgba(255, 255, 255, 0.05); box-shadow: none; }
  .hero__visual:hover .browser { transform: perspective(1400px) rotateY(0) rotateX(0); }
  .service:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.45); }
  .service:hover::before { opacity: 1; }
  .stack__card:hover { transform: translateY(-8px) rotate(0deg); z-index: 5; }
  .project:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.4); }
  .project:hover .project__img img { transform: scale(1.06); }
  .project:hover .project__info h3::after { transform: translateX(4px); }
  .plan:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.45); }
  .plan--featured:hover { border-color: transparent; }
  .package:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.4); }
  .calc__close:hover { background: var(--surface-2); border-color: rgba(124, 92, 255, 0.5); }
  .calc__opt:hover .calc__opt-box { border-color: rgba(124, 92, 255, 0.5); }
  .calc__stepper button:hover:not([aria-disabled="true"]) { background: rgba(124, 92, 255, 0.35); }
  .custom-summary__edit:hover { border-color: rgba(124, 92, 255, 0.6); }
}
/* Touch: kurzes visuelles Feedback beim Antippen */
.btn:active { transform: scale(0.98); }

/* ---------- Reveal-Animation ---------- */
/* Als Animation (fill-mode: backwards) statt Transition: Nach dem Einblenden
   gelten wieder die normalen Styles – Hover-Effekte der Karten funktionieren. */
.js .reveal:not(.is-visible) { opacity: 0; }
.js .reveal.is-visible {
  animation: reveal-up 0.7s ease backwards;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal:not(.is-visible) { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services, .steps, .plans { grid-template-columns: repeat(2, 1fr); }
  .packages { grid-template-columns: 1fr; max-width: 560px; }
  .referral { flex-direction: column; align-items: flex-start; }
  .plans { row-gap: 2rem; }
  .hero__inner, .split, .about, .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .about__portrait { max-width: 360px; }
}

/* Menü wird bis 1024px zum Burger-Menü – darüber passen alle Links sicher in eine Zeile */
@media (max-width: 1024px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 16px 1.5rem;
    background: rgba(11, 13, 20, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.3s, visibility 0.3s;
  }
  .nav__links.is-open { transform: none; visibility: visible; }
  .nav__links a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav__links .btn { margin-top: 1rem; }
  .nav.menu-open { background: rgba(11, 13, 20, 0.97); border-color: var(--border); }
}

@media (max-width: 820px) {
  .projects { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 70px; }
  .services, .steps, .features, .form__row, .about__facts, .plans { grid-template-columns: 1fr; }
  .portrait__badge { right: 12px; }
  .about__portrait::before { inset: -10px 10px 10px -10px; }
  .float-card--a { left: 8px; bottom: -20px; }
  .float-card--b { right: 8px; top: -20px; }
  .browser { transform: none; }
  .stack { height: 380px; }
  .stack__card--code { width: 88%; left: 6%; }
  .form { padding: 1.5rem; }
  .hero__facts { gap: 1.5rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .plans { row-gap: 1.8rem; }
  .referral { padding: 1.5rem; }
  .referral .btn { width: 100%; }
  .price-group--spaced { margin-top: 4rem; }
  .billing__opt { padding: 0.6rem 0.9rem; }
}

/* Sehr kleine Geräte (z. B. iPhone SE, ältere Android-Handys) */
@media (max-width: 380px) {
  .logo__text { font-size: 0.95rem; }
  .logo__mark { width: 38px; height: 38px; }
  .float-card { font-size: 0.75rem; padding: 0.55rem 0.8rem; }
  .plan, .package, .service, .step { padding: 1.6rem 1.2rem; }
  .plan__price strong { font-size: 1.9rem; }
  .form { padding: 1.2rem; }
  .nav .btn--small { padding: 0.5rem 0.9rem; font-size: 0.82rem; }
}

/* Querformat auf Handys: Hero nicht unnötig hoch */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: calc(var(--nav-h) + 30px) 0 60px; }
}

/* Druckansicht */
@media print {
  .nav, .marquee, .hero__visual, .split__visual, .billing, .referral, .form, .hero__glow, .calc { display: none !important; }
  :root {
    --bg: #fff; --bg-alt: #fff; --surface: #fff; --surface-2: #f3f4f6;
    --text: #000; --muted: #333; --border: #ddd; --shadow: none;
  }
  .js .reveal:not(.is-visible) { opacity: 1; }
  .section, .section--alt { padding: 1.5rem 0; }
  .gradient-text, .step__num { color: #000; background: none; }
}

/* =====================================================================
   Fair & transparent (Versprechen unter den Website-Paketen)
   ===================================================================== */
.promise {
  margin-top: 2.5rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.promise__head h3 { margin: 0.2rem 0 0; font-size: 1.35rem; }
.promise__head .eyebrow { margin-bottom: 0.4rem; }
.promise__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.6rem;
}
.promise__list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.promise__list strong { display: block; color: var(--text); font-size: 0.98rem; margin-bottom: 0.15rem; }
.promise__txt { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.promise__icon {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(124, 92, 255, 0.14);
  color: var(--accent-2);
}
.promise__icon svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 900px) {
  .promise { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 600px) {
  .promise { padding: 1.4rem 1.2rem; }
  .promise__list { grid-template-columns: 1fr; }
}

/* =====================================================================
   Vorher / Nachher – Vergleichsregler
   ===================================================================== */
.ba-sec {
  background:
    radial-gradient(60% 50% at 50% 35%, rgba(124, 92, 255, 0.13), transparent 70%),
    var(--bg);
}
.ba-sec + .section { border-top: 1px solid var(--border); }

.ba__sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; margin: 0; padding: 0;
}

/* Werkzeugleiste */
.ba__bar {
  max-width: 1000px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ba__seg {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.ba__opt {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1rem;
  border: 0; border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.ba__opt svg { width: 17px; height: 17px; fill: currentColor; }
.ba__opt:hover { color: var(--text); }
.ba__opt.is-active { background: var(--gradient); color: #fff; box-shadow: 0 6px 18px rgba(124, 92, 255, 0.35); }
.ba__opt:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.ba__hint {
  margin: 0;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; color: var(--muted);
}
.ba__hint svg { width: 18px; height: 18px; fill: var(--accent-2); }

/* Bühne & Rahmen */
.ba__stage { display: flex; justify-content: center; }
.ba__frame {
  position: relative;
  width: 100%;
  max-width: 1000px;
  border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border);
  transition: max-width 0.45s ease, padding 0.45s ease, border-radius 0.45s ease, background 0.45s ease;
}
.ba__view {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: #d8d8d8;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  isolation: isolate;
}
.ba__layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.ba__layer--new { clip-path: inset(0 0 0 var(--pos)); z-index: 1; }

/* Browserleiste */
.ba__chrome {
  flex: none;
  height: 36px;
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
  font: 500 12px/1 var(--font-body);
}
.ba__chrome i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ba__url {
  flex: 1;
  margin-left: 10px;
  min-width: 0;
  height: 22px;
  display: flex; align-items: center; gap: 6px;
  padding: 0 10px;
  border-radius: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ba__layer--old .ba__chrome { background: #c9c9c9; border-bottom: 1px solid #a9a9a9; color: #333; }
.ba__layer--old .ba__chrome i { background: #9a9a9a; }
.ba__layer--old .ba__url { background: #fff; border: 1px solid #a9a9a9; border-radius: 2px; font-family: Tahoma, Verdana, sans-serif; }
.ba__warn { color: #c0392b; font-weight: 700; }
.ba__layer--new .ba__chrome { background: #efe9e1; border-bottom: 1px solid #e0d7cb; color: #4a4036; }
.ba__layer--new .ba__chrome i:nth-child(1) { background: #ff5f57; }
.ba__layer--new .ba__chrome i:nth-child(2) { background: #febc2e; }
.ba__layer--new .ba__chrome i:nth-child(3) { background: #28c840; }
.ba__layer--new .ba__url { background: #fff; overflow: visible; justify-content: center; }
.ba__lock { color: #1f8a4c; flex: none; }

/* Viewport + skalierte Leinwand (Breite/Höhe/Skalierung setzt main.js) */
.ba__vp { position: relative; flex: 1; overflow: hidden; }
.ba__canvas {
  position: absolute;
  top: 0; left: 0;
  width: 1000px;
  transform-origin: 0 0;
  overflow: hidden;
}

/* Trennlinie & Griff */
.ba__divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--gradient);
  box-shadow: 0 0 18px rgba(124, 92, 255, 0.7);
  z-index: 3;
  pointer-events: none;
}
.ba__handle {
  position: absolute;
  top: 50%; left: 50%;
  width: 52px; height: 52px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(124, 92, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ba__handle svg { width: 24px; height: 24px; fill: currentColor; }
.ba__handle:hover { transform: translate(-50%, -50%) scale(1.06); }
.ba__view.is-dragging .ba__handle { cursor: grabbing; transform: translate(-50%, -50%) scale(1.1); }
.ba__view.is-dragging { cursor: grabbing; }
.ba__handle:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--accent-2); }

/* Vorher/Nachher-Etiketten */
.ba__tag {
  position: absolute;
  bottom: 16px;
  z-index: 2;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font: 700 0.75rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.25s;
}
.ba__tag--old { left: 16px; background: rgba(20, 20, 20, 0.72); }
.ba__tag--new { right: 16px; background: rgba(124, 92, 255, 0.88); }
.ba__view[data-edge="old"] .ba__tag--old,
.ba__view[data-edge="new"] .ba__tag--new { opacity: 0; }

/* --- Smartphone-Ansicht --- */
.ba[data-device="mobile"] .ba__frame {
  max-width: 310px;
  padding: 10px;
  border-radius: 44px;
  background: #05060a;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 2px #2a2f40, inset 0 0 0 1px #1b1f2c;
}
.ba[data-device="mobile"] .ba__frame::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  width: 84px; height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #05060a;
  z-index: 5;
}
.ba[data-device="mobile"] .ba__view { aspect-ratio: 9 / 19; border-radius: 34px; }
.ba[data-device="mobile"] .ba__chrome { height: 64px; padding: 30px 12px 8px; }
.ba[data-device="mobile"] .ba__chrome i { display: none; }
.ba[data-device="mobile"] .ba__url { margin-left: 0; font-size: 11px; }
.ba[data-device="mobile"] .ba__tag { bottom: auto; top: 76px; font-size: 0.68rem; }
.ba[data-device="mobile"] .ba__tag--old { left: 10px; }
.ba[data-device="mobile"] .ba__tag--new { right: 10px; }
.ba[data-device="mobile"] .ba__handle { width: 44px; height: 44px; }

/* Markierungen (Pins) im Nachher-Entwurf */
.ba-pin {
  position: absolute;
  z-index: 4;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #7c5cff;
  color: #fff;
  font: 700 13px/1 "Inter", system-ui, sans-serif;
  font-style: normal;
  letter-spacing: 0;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(31, 26, 20, 0.35);
  transform: scale(calc(1 / var(--s, 1)));
  transition: background 0.2s;
}
.ba-pin::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid #7c5cff;
  animation: ba-ping 2.2s ease-out infinite;
}
.ba-pin.is-hot { background: #22d3ee; }
.ba-pin.is-hot::after { border-color: #22d3ee; }
.ba-pin--inline { position: relative; flex: none; width: 20px; height: 20px; font-size: 11px; transform: none; }
.ba-pin--corner { top: 14px; left: 14px; }
@keyframes ba-ping {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

/* Erklär-Punkte unter dem Regler */
.ba__points {
  list-style: none;
  max-width: 1000px;
  margin: 2.4rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ba__point {
  position: relative;
  padding: 1.3rem 1.2rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s, transform 0.25s;
}
.ba__point:hover, .ba__point.is-hot { border-color: rgba(34, 211, 238, 0.5); transform: translateY(-3px); }
.ba__point-num {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font: 700 0.85rem/1 var(--font-head);
}
.ba__point strong { display: block; color: var(--text); font-family: var(--font-head); margin-bottom: 0.6rem; }
.ba__point p { margin: 0 0 0.45rem; font-size: 0.86rem; line-height: 1.45; }
.ba__point p:last-child { margin: 0; color: var(--text); }
.ba__lbl {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  vertical-align: 1px;
}
.ba__lbl--old { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
.ba__lbl--new { background: rgba(34, 197, 94, 0.15); color: #4ade80; }

.ba__cta {
  max-width: 1000px;
  margin: 2rem auto 0;
  padding: 1.4rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(124, 92, 255, 0.35);
  background: linear-gradient(120deg, rgba(124, 92, 255, 0.14), rgba(34, 211, 238, 0.08));
}
.ba__cta p { margin: 0; color: var(--text); font-size: 1.02rem; }
.ba__cta .btn { flex: none; }

@media (max-width: 1024px) {
  .ba__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ba__bar { justify-content: center; }
  .ba__hint { display: none; }
  .ba__view { aspect-ratio: 4 / 3; }
  .ba__tag { bottom: 10px; font-size: 0.66rem; padding: 0.3rem 0.6rem; }
  .ba__tag--old { left: 10px; }
  .ba__tag--new { right: 10px; }
  .ba__cta { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 600px) {
  .ba__points { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ba-pin::after { display: none; }
}
@media print {
  .ba__bar, .ba__stage, .ba__cta { display: none !important; }
}

/* ---------- Mockup VORHER (absichtlich altmodisch) ---------- */
.om {
  background: #b9b9b9 radial-gradient(#a3a3a3 1px, transparent 1.2px) 0 0 / 6px 6px;
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  line-height: 1.35;
  color: #000;
}
.om p { margin: 0 0 9px; color: #000; font-size: 14px; }
.om__page {
  width: 800px;
  margin: 0 auto;
  min-height: 100%;
  background: #fff;
  border-left: 2px solid #7f7f7f;
  border-right: 2px solid #7f7f7f;
}
.om__head {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
  padding: 0 22px;
  background: linear-gradient(#3a6fd8, #0b2f8a);
  border-bottom: 3px ridge #c0c0c0;
}
.om__logo {
  font: 34px/1 Impact, "Arial Black", sans-serif;
  color: #ffef3a;
  text-shadow: 3px 3px 0 #c40000, 4px 4px 2px #000;
  letter-spacing: 1px;
}
.om__since {
  font: italic 13px/1.2 "Comic Sans MS", "Comic Sans", cursive;
  color: #fff;
  text-align: right;
}
.om__ticker {
  padding: 4px 8px;
  background: #000;
  color: #00ff2a;
  font: 12px/1.3 "Courier New", monospace;
  white-space: nowrap;
  overflow: hidden;
}
.om__nav {
  padding: 6px 10px;
  background: #e4e4e4;
  border-bottom: 1px solid #999;
  font: 13px/1.4 Arial, sans-serif;
}
.om__nav span { color: #0000ee; text-decoration: underline; }
.om__nav span + span::before { content: " | "; color: #666; display: inline-block; white-space: pre; }
.om__body { display: flex; }
.om__side {
  width: 170px;
  flex: none;
  padding: 12px 10px;
  background: #ffffcc;
  border-right: 1px dashed #999;
  font: 12px/1.45 Verdana, sans-serif;
  color: #333;
}
.om__side b { display: block; margin: 12px 0 3px; color: #800000; font-size: 12px; }
.om__side b:first-child { margin-top: 0; }
.om__counter {
  display: inline-block;
  padding: 2px 6px;
  background: #000;
  color: #39ff14;
  font: bold 16px/1 "Courier New", monospace;
  letter-spacing: 3px;
  border: 2px inset #777;
}
.om__main { flex: 1; padding: 14px 18px 18px; }
.om__title {
  margin-bottom: 10px;
  font: bold 26px/1.1 "Comic Sans MS", "Comic Sans", cursive;
  color: #e00000;
  text-decoration: underline wavy #f0a000;
}
.om__img {
  width: 200px; height: 120px;
  margin: 6px 0 12px;
  display: flex; align-items: flex-start; gap: 4px;
  padding: 4px;
  border: 1px solid #999;
  background: #f2f2f2;
  font: 11px/1.4 Arial, sans-serif;
  color: #666;
}
.om__link { color: #0000ee; text-decoration: underline; }
.om__build {
  margin-top: 12px;
  padding: 3px;
  background: repeating-linear-gradient(45deg, #ffd400 0 14px, #111 14px 28px);
}
.om__build span {
  display: block;
  padding: 6px;
  background: #ffd400;
  font: bold 13px/1.2 Arial, sans-serif;
  text-align: center;
}
.om__foot {
  padding: 8px 10px;
  border-top: 1px solid #999;
  background: #e4e4e4;
  font: 10px/1.3 Arial, sans-serif;
  color: #555;
  text-align: center;
}

/* ---------- Mockup NACHHER (moderner Auftritt) ---------- */
.nm {
  --nm-bg: #faf7f2;
  --nm-ink: #1f1a14;
  --nm-muted: #6b6157;
  --nm-accent: #b4532a;
  container-type: inline-size;
  background: var(--nm-bg);
  color: var(--nm-ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
.nm p { margin: 0; color: var(--nm-muted); }
.nm__nav {
  height: 68px;
  padding: 0 40px;
  display: flex; align-items: center; gap: 28px;
  border-bottom: 1px solid #ece4d8;
}
.nm__logo { display: flex; align-items: center; gap: 10px; font: 700 17px/1.05 "Space Grotesk", sans-serif; }
.nm__logo small { display: block; font: 500 11px/1.3 "Inter", sans-serif; color: var(--nm-muted); letter-spacing: 0.04em; }
.nm__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--nm-ink);
  color: #f5d7a8;
  font-size: 17px;
}
.nm__links { margin-left: auto; display: flex; gap: 26px; font-size: 14px; font-weight: 500; color: #3d342b; }
.nm__cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--nm-ink);
  color: #fff;
  font-size: 13.5px; font-weight: 600;
}
.nm__burger { display: none; margin-left: auto; width: 26px; flex-direction: column; gap: 6px; }
.nm__burger i { display: block; height: 2px; border-radius: 2px; background: var(--nm-ink); }

/* Desktop: Bild links, Botschaft rechts – so ist beim Start (Regler mittig) die Überschrift sichtbar */
.nm__hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  padding: 46px 40px 34px;
}
.nm__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f1e3d3;
  color: var(--nm-accent);
  font-size: 12px; font-weight: 600;
}
.nm__h1 {
  position: relative;
  margin-bottom: 16px;
  font: 700 46px/1.05 "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  color: var(--nm-ink);
}
.nm__h1 em { font-style: normal; color: var(--nm-accent); }
.nm__h1 .ba-pin { top: -14px; right: 0; }
.nm .nm__lead { font-size: 16.5px; line-height: 1.55; margin-bottom: 22px; max-width: 440px; }
.nm__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.nm__btn {
  position: relative;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--nm-accent);
  color: #fff;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 10px 24px -8px rgba(180, 83, 42, 0.6);
}
.nm__btn .ba-pin { top: -12px; right: -12px; }
.nm__btn--ghost { background: transparent; color: var(--nm-ink); border: 1.5px solid #d9cdbd; box-shadow: none; }
.nm__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: #3d342b; }
.nm__trust li::before { content: "✓"; margin-right: 6px; color: #1f8a4c; font-weight: 700; }

.nm__visual {
  order: -1;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(60, 40, 20, 0.45);
}
.nm__art { display: block; width: 100%; height: 100%; }
.nm__chip {
  position: absolute;
  left: 14px; bottom: 14px;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-size: 13px; font-weight: 600;
  color: var(--nm-ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.nm__chip small { display: block; font-size: 11px; font-weight: 500; color: var(--nm-muted); }

.nm__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 40px 40px;
}
.nm__card {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #efe6da;
}
.nm__card b { display: block; margin: 10px 0 4px; font: 700 16px/1.2 "Space Grotesk", sans-serif; }
.nm__card p { font-size: 13.5px; line-height: 1.45; }
.nm__ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #f1e3d3;
}
.nm__ico svg { width: 20px; height: 20px; fill: var(--nm-accent); }
.nm__sticky { display: none; }

/* Nachher-Entwurf auf Handy-Breite (Container-Query auf die 390-px-Leinwand) */
@container (max-width: 600px) {
  .nm__nav { height: 60px; padding: 0 18px; }
  .nm__links, .nm__cta { display: none; }
  .nm__burger { display: flex; }
  .nm__hero { grid-template-columns: 1fr; gap: 22px; padding: 24px 18px 20px; }
  .nm__visual { order: 0; }
  .nm__h1 { font-size: 35px; padding-right: 22px; }
  .nm .nm__lead { font-size: 15.5px; }
  .nm__actions { flex-direction: column; }
  .nm__btn { text-align: center; }
  .nm__btn .ba-pin { right: -6px; }
  .nm__cards { grid-template-columns: 1fr; padding: 0 18px 110px; gap: 12px; }
  .nm__sticky {
    position: absolute;
    left: 12px; right: 12px; bottom: 12px;
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(31, 26, 20, 0.25);
    z-index: 5;
  }
  .nm__call, .nm__ask {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 13px 10px;
    border-radius: 11px;
    font-size: 15px; font-weight: 600;
  }
  .nm__call { background: #1f8a4c; color: #fff; }
  .nm__ask { background: var(--nm-accent); color: #fff; }
}
