:root {
  --blue: #1d4ed8;
  --blue-mid: #2563eb;
  --blue-light: #60a5fa;
  --pink: #ec4899;
  --pink-deep: #db2777;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #f6f8fc;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 25px rgba(236, 72, 153, 0.28); }
  50% { box-shadow: 0 14px 34px rgba(236, 72, 153, 0.5); }
}
@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.anim { animation: fadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
  position: relative;
  z-index: 40;
}
.brand {
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f472b6, #ec4899);
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.45);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
}

.pill-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}
.pill-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.pill-nav a.is-active,
.pill-nav a:hover { background: rgba(255, 255, 255, 0.2); }

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-cta { padding: 9px 16px; font-size: 0.86rem; }

.lang-switcher { position: relative; }
.lang-btn,
.lang-switch {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.94);
  background: transparent;
  cursor: pointer;
}
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 132px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 50;
}
.lang-switcher.open .lang-menu { display: grid; }
.lang-menu a {
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}
.lang-menu a:hover,
.lang-menu a.is-active { background: #eff6ff; color: var(--blue-mid); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

.page .site-header { color: var(--ink); }
.page .brand { color: var(--ink); }
.page .pill-nav { background: #fff; border-color: var(--line); }
.page .pill-nav a { color: var(--ink); }
.page .pill-nav a.is-active,
.page .pill-nav a:hover { background: #eef2ff; color: var(--blue); }
.page .header-cta { color: var(--ink); border-color: var(--line); }
.page .lang-btn,
.page .lang-switch { border-color: var(--line); color: var(--ink); }
.page .nav-toggle { border-color: var(--line); background: #fff; }
.page .nav-toggle span { background: var(--ink); }

.hero-wrap {
  background:
    radial-gradient(900px 420px at 18% 8%, rgba(244, 114, 182, 0.28), transparent 55%),
    radial-gradient(1200px 500px at 50% -10%, #60a5fa 0%, transparent 55%),
    linear-gradient(180deg, #1d4ed8 0%, #2563eb 42%, #3b82f6 72%, #93c5fd 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  padding-bottom: 72px;
}
.dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.92;
  margin: 0 0 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.flow span:not(.arrow) {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
}
.flow .arrow { opacity: 0.55; }

h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  font-weight: 800;
}
html[lang="de"] h1 { font-size: clamp(2.15rem, 5.6vw, 4.2rem); }
.h-line { display: block; }
.lead {
  font-size: 1.12rem;
  max-width: 38rem;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.9);
}
.page .lead { color: var(--muted); }
.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn-pink {
  background: var(--pink);
  color: var(--white);
  animation: pulseGlow 3.4s ease-in-out infinite;
}
.btn-pink:hover { filter: brightness(1.08); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-outline-ink { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 16px 10px;
  backdrop-filter: blur(8px);
}
.hero-stat b { display: block; font-size: 1.35rem; }
.hero-stat span { font-size: 0.8rem; opacity: 0.85; }

section { max-width: 1040px; margin: 0 auto; padding: 88px 24px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  text-align: center;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 40px;
}

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-card {
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: transform 0.35s, box-shadow 0.35s;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bento-card h3 { font-size: 1.28rem; font-weight: 800; margin: 0 0 10px; line-height: 1.2; }
.bento-card p { font-size: 0.98rem; margin: 0; opacity: 0.9; }
.b-num { font-size: 2.6rem; font-weight: 800; opacity: 0.18; margin-top: 20px; }
.b-card-blue { grid-column: span 2; background: var(--blue-mid); color: #fff; }
.b-card-pink { background: #fdf2f8; color: var(--pink-deep); border: 1px solid #fbcfe8; }
.b-card-white { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.b-card-dark { background: var(--ink); color: #fff; grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; min-height: auto; gap: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.step .n {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-mid), #60a5fa);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.type {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  min-height: 128px;
  transition: transform 0.25s, border-color 0.25s;
}
.type:hover { transform: translateY(-3px); border-color: var(--blue-light); }
.type b { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.type span { color: var(--muted); font-size: 0.92rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.review-text { font-size: 0.98rem; font-weight: 500; margin: 0 0 20px; line-height: 1.65; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #fbcfe8);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--blue);
}
.review-name { font-weight: 800; font-size: 0.92rem; margin: 0; }
.review-role { font-size: 0.78rem; color: var(--muted); margin: 0; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover,
.faq-item[open] { border-color: #bfdbfe; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08); }
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding: 18px 52px 18px 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) content-box,
    var(--pink);
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 2px var(--pink);
}
.faq-item summary::before {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 22px;
  margin-top: -11px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--pink-deep);
  font-weight: 800;
  z-index: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary::before { content: "–"; }
.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.cta-band {
  max-width: 1040px;
  margin: 0 auto 80px;
  padding: 42px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #db2777);
  color: #fff;
  text-align: center;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0 0 22px; opacity: 0.9; }

.page { background: var(--paper); }
.page-main { max-width: 760px; margin: 0 auto; padding: 28px 24px 100px; min-height: 70vh; }
.kicker {
  color: var(--pink-deep);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.quiz-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}
.progress {
  height: 8px;
  background: #eef2ff;
  border-radius: 99px;
  overflow: hidden;
  margin: 12px 0 8px;
}
.progress > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--blue-mid));
  transition: width 0.35s ease;
  transform-origin: left;
}
.quiz-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 18px;
}
.q-card h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin: 0 0 10px; letter-spacing: -0.03em; }
.hint { color: var(--muted); margin: 0 0 22px; font-size: 0.98rem; }
.q-enter { animation: slideIn 0.38s cubic-bezier(0.16, 1, 0.3, 1); }
.options { display: grid; gap: 10px; }
.options.multi { grid-template-columns: 1fr; }
.opt {
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.opt:hover {
  border-color: var(--blue-light);
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}
.opt-letter {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.opt-text { flex: 1; }
.opt.selected {
  border-color: var(--blue-mid);
  background: #eff6ff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.opt.selected .opt-letter { background: var(--blue-mid); color: #fff; }
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  gap: 12px;
}

.form-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field input, .field textarea {
  font: inherit;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.field input:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.stepper { display: flex; gap: 8px; margin: 0 0 22px; }
.stepper span {
  height: 6px;
  flex: 1;
  border-radius: 99px;
  background: var(--line);
}
.stepper span.on { background: var(--pink); }

.result-hero {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.result-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px; color: var(--ink); }
.result-hero .lead { color: var(--ink); font-size: 1.15rem; font-weight: 800; margin: 0 0 14px; text-align: left; }
.result-hero p { color: var(--muted); font-size: 1.02rem; }
.warn { background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; border-radius: 14px; padding: 16px; margin: 24px 0; font-weight: 600; }
.price-box { background: #fff; border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); }
.price {
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin: 8px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 700; }
ul.plain { margin: 0; padding: 0; list-style: none; }
ul.plain li { padding: 10px 0 10px 28px; position: relative; }
ul.plain li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  position: absolute;
  left: 0;
  top: 18px;
}

.about-hero { max-width: 860px; margin: 0 auto; padding: 72px 24px 40px; text-align: center; }
.about-hero h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
.about-hero h1 span { color: var(--pink); }
.about-content { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }
.about-content h2 { font-size: 1.7rem; letter-spacing: -0.03em; margin: 48px 0 16px; }
.about-content p { font-size: 1.08rem; color: var(--muted); line-height: 1.7; }

.subpage-hero {
  padding: 28px 0 12px;
}
.subpage-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 12px; }

.site-footer {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.hero-wrap + .site-footer,
body:not(.page) .site-footer { display: none; }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: flex; }
  .pill-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    flex-direction: column;
    border-radius: 18px;
    padding: 10px;
    z-index: 30;
  }
  .nav-open .pill-nav { display: flex; }
  .hero-wrap .pill-nav { background: rgba(15, 23, 42, 0.92); }
  .page .pill-nav { background: #fff; box-shadow: var(--shadow); }
  .header-cta { display: none; }
}

@media (max-width: 860px) {
  .hero { padding-top: 28px; }
  .hero-stats, .bento-grid, .reviews-grid, .steps, .types { grid-template-columns: 1fr; }
  .b-card-blue, .b-card-dark { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .lead { font-size: 1.02rem; }
  section { padding: 64px 20px; }
  .quiz-shell, .form-card, .result-hero, .price-box { padding: 20px; }
  .cta-band { margin: 0 20px 56px; padding: 32px 20px; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  html[lang="de"] h1 { font-size: clamp(1.75rem, 9.5vw, 2.45rem); }
  .opt { font-size: 0.95rem; }
  .page-main { padding-left: 16px; padding-right: 16px; }
}
