/* Lumen Point – one stylesheet for the whole site.
   Mobile layout is the base (< 768px, from "Lumen Point Website iPhone 16"),
   the desktop/laptop layout (>= 768px, from "haupt website lumen") is in the
   @media (min-width: 768px) blocks. All values come from the design files. */

/* ---------- Fonts (self-hosted in fonts/, SIL Open Font License – no requests to Google) ---------- */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/nunito-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/nunito-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/nunito-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/nunito-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/nunito-sans-latin-700-normal.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --violet: #7C3AED;
  --ink: #1E1B4B;
  --text: #1B2333;
  --muted: #586274;
  --muted-2: #46505F;
  --lavender: #F0EBFF;
  --grey-bg: #F6F6FA;
  --yellow: #FACC15;
  --yellow-soft: #FEF6D2;
  --amber: #E0A800;
  --teal: #0E7490;
  --cyan: #0891B2;
  --white: #FFFFFF;
  --line: #E3E1EC;
  --line-footer: #E3E7EF;
  --line-feat: #EFEAFD;
  --line-sum: #E3DAFD;
  --no-mark: #A79FC4;
  --no-text: #6B6585;
  --graphic-bg: #F6F3FF;

  --font-head: 'Nunito', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--violet); }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
h1, h2 { margin: 0; font-family: var(--font-head); font-weight: 800; overflow-wrap: break-word; hyphens: auto; }
h3 { margin: 0; font: inherit; }
p { margin: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.only-desktop { display: none !important; }
@media (min-width: 768px) {
  .only-mobile { display: none !important; }
  .only-desktop { display: revert !important; }
}

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px 16px;
}
.stack { display: flex; flex-direction: column; gap: 24px; }

@media (min-width: 768px) {
  .page { padding: 0 24px 24px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  border: 2px solid var(--violet);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-primary, .btn-primary:hover { background: var(--violet); color: var(--white); }
.btn-yellow, .btn-yellow:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 18px; }
.btn-md { padding: 14px 24px; font-size: 16px; }

@media (min-width: 768px) and (hover: hover) {
  .btn-primary:hover { background: transparent; color: var(--violet); transform: translateY(-1px); }
  .btn-yellow:hover { background: transparent; color: var(--ink); transform: translateY(-1px); }
}
@media (min-width: 768px) {
  .btn-md { padding: 12px 24px; }
}

.text-link {
  display: inline-block;
  padding: 10px 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 768px) {
  .text-link { padding: 0; }
}

/* round arrow buttons (carousel + page stepper) */
.round-btn {
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--violet);
  background: var(--white);
  color: var(--violet);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  transition: transform .16s var(--ease-out), opacity .2s var(--ease-out);
}
.round-btn--fill { background: var(--violet); color: var(--white); }
.round-btn:active { transform: scale(.95); }
.round-btn[aria-disabled="true"] { opacity: .35; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0 -12px;
  padding: 0 16px;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 0 0 24px 24px;
  transition: box-shadow .3s var(--ease-out);
}
.site-header.is-scrolled, .site-header.is-open { box-shadow: 0 8px 24px rgba(30, 27, 75, .10); }

.hdr-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  column-gap: 8px;
}
.hdr-logo { grid-column: 1; grid-row: 1; display: block; padding: 14px 0; justify-self: start; transition: padding .3s var(--ease-out); }
.hdr-logo img { display: block; height: 46px; width: auto; transition: height .3s var(--ease-out); }

.hdr-cta { grid-column: 2; grid-row: 1; padding: 11px 16px; font-size: 15px; }

.menu-btn {
  grid-column: 3;
  grid-row: 1;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 0;
  background: var(--lavender);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: background .2s var(--ease-out), transform .16s var(--ease-out);
}
.menu-btn:active { transform: scale(.95); }
.menu-btn span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .2s var(--ease-out); }
.site-header.is-open .menu-btn { background: var(--violet); }
.site-header.is-open .menu-btn span { background: var(--white); }
.site-header.is-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hdr-menu {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-drawer);
}
.site-header.is-open .hdr-menu, .no-js .hdr-menu { grid-template-rows: 1fr; }
.no-js .menu-btn { display: none; }
.hdr-menu-inner { overflow: hidden; min-height: 0; }

.main-nav { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 12px; }
.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  transition: transform .16s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:active { transform: scale(.97); }
.nav-link[aria-current="page"] { background: var(--lavender); color: var(--violet); }
.nav-arrow { font-size: 18px; color: var(--violet); }

.lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 18px;
  border-top: 1px solid var(--line);
}
.lang-label { font-size: 15px; font-weight: 700; color: var(--muted); }
.lang-switch { display: flex; background: var(--lavender); border-radius: 999px; padding: 4px; gap: 2px; font-size: 15px; font-weight: 800; }
.lang-switch a {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--violet);
  text-decoration: none;
  line-height: 1.6;
  transition: transform .16s var(--ease-out);
}
.lang-switch a:active { transform: scale(.97); }
.lang-switch a[aria-current="true"] { background: var(--violet); color: var(--white); }

@media (min-width: 768px) {
  .site-header {
    position: static;
    margin: 0;
    padding: 20px 32px;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none !important;
  }
  .hdr-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .hdr-logo { order: 1; padding: 0 !important; }
  .hdr-logo img { height: 64px !important; }
  .hdr-menu { order: 2; display: block; }
  .hdr-menu-inner { overflow: visible; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .hdr-cta { order: 3; padding: 10px 22px; font-size: 16px; }
  .menu-btn { display: none; }

  .main-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 0; }
  .nav-link {
    display: block;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    transition: transform .16s var(--ease-out), box-shadow .2s var(--ease-out);
  }
  .nav-link:hover { transform: translateY(-2px); }
  .nav-arrow { display: none; }

  .lang-row { padding: 0; border: 0; }
  .lang-label { display: none; }
  .lang-switch { font-size: 14px; }
  .lang-switch a { padding: 5px 12px; transition: transform .16s var(--ease-out), box-shadow .2s var(--ease-out); }
  .lang-switch a:hover { transform: translateY(-2px); }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  padding: 24px 10px 8px;
  border-top: 1px solid var(--line-footer);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--muted);
}
.site-footer img { display: block; height: 44px; width: auto; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
@media (min-width: 768px) {
  .site-footer { margin-top: 72px; padding: 28px 32px 8px; font-size: 14px; }
}

/* ---------- Shared blocks ---------- */
.panel {
  background: var(--lavender);
  color: var(--ink);
  border-radius: 24px;
  padding: 32px 22px;
}
.panel-grey { background: var(--grey-bg); }
.card-lav {
  background: var(--lavender);
  color: var(--ink);
  border-radius: 28px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 768px) {
  .panel { border-radius: 32px; }
  .card-lav { padding: 40px; }
}

.h2-xl { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.015em; }
.h2-lg { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.12; }
.h2-md { font-size: 32px; }

.page-head { padding: 32px 10px 4px; display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.page-head h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.02em; }
.page-head p { font-size: 17px; color: var(--muted-2); text-wrap: pretty; }
@media (min-width: 768px) {
  .page-head { padding: 56px 32px 16px; }
  .page-head p { font-size: 20px; }
}

.badge-popular {
  align-self: flex-start;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 15px;
  font-weight: 800;
}
.spark-hint {
  align-self: flex-start;
  background: var(--yellow-soft);
  color: var(--ink);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.check-dot {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* ---------- Home: hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 40px 22px;
}
.pulse-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2.8s cubic-bezier(.45, 0, .55, 1) infinite;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.eyebrow {
  align-self: flex-start;
  border: 2px solid var(--teal);
  border-radius: 999px;
  padding: 10px 24px; /* more room between the text and the rounded border (wraps to 2-3 lines on phones) */
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
}
.hero h1 { font-size: 38px; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.hero h1 span { color: var(--violet); }
.hero-text { font-size: 18px; color: var(--muted); max-width: 540px; text-wrap: pretty; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-card { background: var(--white); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.hero-photo { aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--ink); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-quote { font-size: 18px; line-height: 1.5; font-weight: 600; }

@media (min-width: 768px) {
  .hero { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; padding: 96px 72px; }
  .pulse-dot { top: 36px; right: 44px; width: 22px; height: 22px; }
  .eyebrow { padding: 8px 22px; }
  .hero h1 { font-size: clamp(38px, 5.2vw, 64px); }
  .hero-text { font-size: 21px; }
}

/* ---------- Home: packages ---------- */
.packages { padding: 36px 22px; display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.section-head p { color: var(--muted-2); }
.pkg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pkg-card {
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-variant-numeric: lining-nums tabular-nums;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.pkg-card--popular { border-color: var(--violet); order: -1; }
.pkg-name { font-family: var(--font-head); font-weight: 800; font-size: 30px; }
.pkg-tag { font-size: 17px; font-weight: 600; color: var(--teal); }
.pkg-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.pkg-price { display: flex; flex-direction: column; }
.pkg-price b { font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1.1; white-space: nowrap; }
.pkg-price small, .price-sub { font-size: 15px; color: var(--muted); }

@media (min-width: 768px) {
  .packages { padding: 72px 56px; }
  .pkg-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .pkg-card { padding: 32px; }
  .pkg-card--popular { order: 0; }
  .pkg-price b { font-size: 44px; }
}
@media (min-width: 768px) and (hover: hover) {
  .pkg-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(30, 27, 75, .10); }
}

/* ---------- Home: "so einfach" flow ---------- */
.easy { display: flex; flex-direction: column; gap: 32px; align-items: center; text-align: center; }
.flow { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.flow li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flow-pill {
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 14px 26px;
  width: 10em; /* all four pills the same size (widest label "Änderung" needs ~9.3em) */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  transition: transform .3s var(--ease-out);
}
.flow-num { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--cyan); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.flow-arrow { font-size: 26px; font-weight: 800; line-height: 1; color: var(--amber); }

@media (min-width: 768px) {
  .easy { padding: 56px; }
  .flow { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .flow li { flex-direction: row; gap: 16px; }
  .flow-arrow { font-size: 30px; animation: nudge 2s cubic-bezier(.45, 0, .55, 1) infinite; }
}
@media (min-width: 768px) and (hover: hover) {
  .flow-pill:hover { transform: translateY(-2px); }
}

/* ---------- Prices: package comparison ---------- */
.compare { display: flex; flex-direction: column; gap: 32px; }
.all-in {
  align-self: flex-start;
  background: var(--white);
  border: 2px solid var(--yellow);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
}
.all-in .check-dot { width: 28px; height: 28px; background: var(--yellow); font-size: 15px; }

.carousel { display: flex; flex-direction: column; gap: 0; outline: none; }
.car-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.car-tabs { display: flex; background: var(--white); border-radius: 999px; padding: 4px; gap: 2px; }
.car-tab {
  cursor: pointer;
  font: inherit;
  border: 0;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--violet);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  transition: background .2s ease, color .2s ease;
}
.car-tab[aria-selected="true"] { background: var(--violet); color: var(--white); }

/* mobile: horizontal scroll-snap track */
.car-stage {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 18px -22px 0;
  padding: 26px 9% 8px;
  scroll-padding: 0 9%;
  overscroll-behavior-x: contain;
}
.car-stage::-webkit-scrollbar { display: none; }
.pcard {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  opacity: .5;
  transform: scale(.94);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.pcard.is-active { opacity: 1; transform: none; }
/* endless loop on mobile: the invisible jump from a copy to the real card must not animate */
.car-stage.is-jumping .pcard { transition: none !important; }
.pcard-box {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: 22px;
  padding: 28px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-variant-numeric: lining-nums tabular-nums;
}
.pcard--popular .pcard-box { border-color: var(--violet); }
.pcard .badge-popular { position: absolute; top: -18px; left: 18px; border: 3px solid var(--violet); }
.pcard-head { display: flex; flex-direction: column; gap: 2px; }
.pcard-name { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.2; }
.pcard-tag { font-size: 16px; font-weight: 600; color: var(--teal); }
.pcard-prices { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 20px; }
.pcard-prices > div { display: flex; flex-direction: column; }
.pcard-price { font-family: var(--font-head); font-weight: 800; font-size: 38px; line-height: 1.1; }
.pcard-month { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1.2; }

/* the desktop "more" wrappers dissolve on mobile so their children can be re-ordered */
.pcard-more, .pcard-more-inner, .pcard-foot { display: contents; }
.pcard-stepper { order: 1; display: flex; flex-direction: column; gap: 6px; }
.pcard-year { order: 2; display: flex; flex-direction: column; gap: 2px; }
.pcard-cta { order: 2; display: flex; padding: 15px 24px; font-size: 17px; text-align: center; white-space: normal; }
.pcard-det-btn { order: 3; }
.pcard-feats-wrap { order: 4; }

.stepper-label { font-size: 15px; font-weight: 700; color: var(--muted); }
.stepper-row { display: flex; align-items: center; gap: 10px; }
.stepper-n { min-width: 40px; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1; }
.stepper-extra { font-size: 15px; font-weight: 700; color: var(--muted); line-height: 1.4; }
.stepper-extra.is-extra { color: var(--violet); }

.year-label { font-weight: 700; font-size: 16px; }
.year-total { font-family: var(--font-head); font-weight: 800; font-size: 32px; line-height: 1.2; color: var(--violet); }
.year-calc { font-size: 15px; color: var(--muted); }

.pcard-det-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--lavender);
  color: var(--ink);
  font: inherit;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  text-align: left;
  transition: transform .16s var(--ease-out);
}
.pcard-det-btn:active { transform: scale(.98); }
.pcard-det-btn > span:first-child { display: flex; align-items: center; gap: 10px; }
.pcard-det-btn .check-dot { width: 26px; height: 26px; background: var(--cyan); color: var(--white); font-size: 14px; }
.chev {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 16px;
  transition: transform .4s var(--ease-drawer);
}
[aria-expanded="true"] > .chev { transform: rotate(180deg); }

.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-drawer); }
.collapse.is-open { grid-template-rows: 1fr; }
.collapse > * { overflow: hidden; min-height: 0; }
.no-js .collapse { grid-template-rows: 1fr; }
.pcard-feats-wrap { margin-top: -6px; }

.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.feats li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-feat);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}
.feats .mark { flex: none; width: 20px; font-weight: 800; color: var(--cyan); }
.feats li.is-no { color: var(--no-text); }
.feats li.is-no .mark { color: var(--no-mark); }
.feats .txt { min-width: 0; overflow-wrap: break-word; display: flex; flex-direction: column; gap: 4px; }
.feats .sub { font-size: 14px; line-height: 1.4; color: var(--muted); }

.pcard-hint { display: none; }

/* desktop: 3D stacked cards */
@media (min-width: 768px) {
  .compare { padding: 64px 56px; }
  .carousel { gap: 28px; align-items: center; }
  .car-controls { justify-content: center; gap: 16px; }
  .car-controls .round-btn { width: 52px; height: 52px; font-size: 28px; padding: 0 0 4px; }
  .car-prev:hover { transform: translateX(-2px); }
  .car-next:hover { transform: translateX(2px); }
  .car-tab { min-height: 44px; padding: 0 22px; font-size: 17px; }

  .car-stage {
    display: grid;
    overflow: clip;
    scroll-snap-type: none;
    width: calc(100% + 112px);
    margin: 0 -56px;
    padding: 22px 0 40px;
    perspective: 1600px;
    isolation: isolate;
    container-type: inline-size;
  }
  .pcard {
    grid-area: 1 / 1;
    justify-self: center;
    align-self: start;
    width: min(480px, 52cqi);
    cursor: pointer;
    opacity: 1;
    transform: none;
    transition: transform .6s var(--ease-drawer), opacity .6s var(--ease-drawer), filter .6s var(--ease-drawer);
  }
  .pcard.is-clone { display: none; } /* loop copies are only for the mobile swipe track */
  .pcard[data-rel="0"] { z-index: 3; }
  .pcard[data-rel="1"] { z-index: 2; opacity: .55; transform: translateX(30cqi) scale(.74) rotateY(-24deg); }
  .pcard[data-rel="2"] { z-index: 1; opacity: .55; transform: translateX(-30cqi) scale(.74) rotateY(24deg); }
  .pcard.is-open { cursor: auto; }
  .pcard-box { border-radius: 24px; padding: 32px 28px 26px; pointer-events: none; }
  .pcard.is-open .pcard-box { pointer-events: auto; }
  .pcard[data-rel="0"] .pcard-box { box-shadow: 0 24px 60px rgba(30, 27, 75, .14); }
  .pcard .badge-popular { top: -20px; left: 50%; translate: -50% 0; white-space: nowrap; padding: 6px 16px; }
  .pcard-name { font-size: 30px; }
  .pcard-prices { gap: 8px 24px; }
  .pcard-price { font-size: 44px; }
  .pcard-month { font-size: 24px; }

  .pcard-hint {
    cursor: pointer;
    font: inherit;
    border: 0;
    background: transparent;
    padding: 6px 10px;
    align-self: center;
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--violet);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 16px;
    min-height: 44px;
  }
  .pcard[data-rel="0"] .pcard-hint { display: flex; }
  .pcard-hint .hint-chev { font-size: 20px; line-height: 1; display: inline-block; transition: transform .4s var(--ease-drawer); }
  .pcard-hint[aria-expanded="true"] .hint-chev { transform: rotate(180deg); }

  .pcard-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-drawer); }
  .pcard.is-open .pcard-more { grid-template-rows: 1fr; }
  .no-js .pcard-more { grid-template-rows: 1fr; }
  .pcard-more-inner {
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 18px;
    opacity: 0;
    transition: opacity .35s var(--ease-out) 0s;
  }
  .pcard.is-open .pcard-more-inner, .no-js .pcard-more-inner { opacity: 1; transition-delay: .2s; }
  .pcard-stepper, .pcard-year, .pcard-cta, .pcard-feats-wrap { order: 0; }
  .pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .pcard-cta { padding: 14px 26px; white-space: nowrap; }
  .year-calc { font-size: 14px; }
  .pcard-det-btn { display: none; }
  .pcard-feats-wrap { margin-top: 0; grid-template-rows: 1fr; }
  .feats li { padding: 9px 0; }
}

/* ---------- Prices: hosting, statistics, extra page ---------- */
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.info-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.info-head h2 { font-size: 32px; }
.info-price { font-family: var(--font-head); font-weight: 800; font-size: 32px; white-space: nowrap; }
.card-lav > p { color: var(--muted); text-wrap: pretty; }
.care { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.care li { display: flex; gap: 12px; align-items: baseline; }
.care li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex: none; transform: translateY(-2px); }

.stats-btn {
  cursor: pointer;
  font: inherit;
  align-self: flex-start;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--yellow);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 800;
  transition: background .2s var(--ease-out), transform .16s var(--ease-out);
}
.stats-btn:active { transform: scale(.97); }
.stats-btn[aria-pressed="true"] { background: var(--white); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--white); border: 2px solid var(--violet); color: var(--violet); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 800; }

@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .stats-btn { padding: 8px 18px; font-size: 15px; }
}
@media (min-width: 768px) and (hover: hover) {
  .stats-btn:hover { background: transparent; transform: translateY(-1px); }
}

/* ---------- Prices: process ---------- */
.process { padding: 28px 22px; display: flex; flex-direction: column; }
.proc-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  transition: transform .16s var(--ease-out);
}
.proc-toggle:active { transform: scale(.98); }
.proc-toggle .chev { width: 40px; height: 40px; font-size: 18px; }
.process h2 { color: var(--ink); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-n { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 24px; }
.step-title { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.step-time { font-size: 15px; font-weight: 700; color: var(--teal); }
.step-text { font-size: 16px; color: var(--muted-2); text-wrap: pretty; }

@media (min-width: 768px) {
  .process { padding: 72px 56px; gap: 36px; }
  .proc-toggle { cursor: default; }
  .proc-toggle:active { transform: none; }
  .proc-toggle .chev { display: none; }
  .process .collapse { grid-template-rows: 1fr; }
  .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-top: 0; }
}

/* ---------- About ---------- */
.about-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.about-graphic { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--graphic-bg); }
.about-graphic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.about-copy h2 { text-wrap: balance; }
.about-copy p { font-size: 17px; color: var(--muted); text-wrap: pretty; }
.about-copy p.about-goal { font-size: 20px; color: inherit; border-left: 4px solid var(--yellow); padding-left: 16px; font-weight: 700; }

.why { overflow: clip; display: flex; flex-direction: column; gap: 32px; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.why-card { background: var(--lavender); color: var(--ink); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; transition: transform .3s var(--ease-out); }
.why-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.why-card span { color: var(--muted); text-wrap: pretty; }

.meet { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.meet > div { display: flex; flex-direction: column; gap: 6px; }
.meet h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.meet span { color: var(--muted); }

@media (min-width: 768px) {
  .about-card { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; padding: 56px; }
  .about-copy p { font-size: 20px; }
  .why { padding: 64px 56px; }
  .why-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .meet { padding: 56px 64px; }
}
@media (min-width: 768px) and (hover: hover) {
  .why-card:hover { transform: translateY(-4px); }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: stretch; }
.contact-col { display: flex; flex-direction: column; gap: 20px; }
.contact-info { gap: 24px; }
.contact-info dl { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-info dl > div { display: flex; flex-direction: column; gap: 2px; }
.contact-info dt { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-info dd { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 22px; overflow-wrap: anywhere; }
.next-card { flex: 1; gap: 16px; }
.card-title { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.next-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.next-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.next-list li > span:last-child { padding-top: 4px; }
.num-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; font-family: var(--font-head); font-weight: 900; font-size: 15px; }
.personal { margin-top: auto; background: var(--white); border-radius: 20px; padding: 20px; display: flex; gap: 16px; align-items: center; }
.personal img { height: 56px; width: auto; flex: none; }
.personal span { font-size: 16px; font-weight: 600; line-height: 1.45; }

.form-card { align-self: start; display: block; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 17px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: var(--white);
  color: var(--text);
  outline: none;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); }
.field textarea { resize: vertical; }
.check-field { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; cursor: pointer; }
.check-field input { width: 22px; height: 22px; accent-color: var(--cyan); margin: 0; flex: none; }
.notice {
  background: var(--yellow-soft);
  border: 2px solid var(--yellow);
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  gap: 10px;
  align-items: center;
}
.notice .check-dot { width: 22px; height: 22px; background: var(--yellow); font-size: 13px; }
.summary { background: var(--white); border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-variant-numeric: lining-nums tabular-nums; }
.summary > div { display: flex; justify-content: space-between; gap: 16px; }
.summary span { color: var(--muted); }
.summary .sum-total { border-top: 1px solid var(--line-sum); padding-top: 8px; margin-top: 2px; }
.summary .sum-total span:first-child { color: inherit; font-weight: 700; }
.summary .sum-total span:last-child { color: var(--violet); font-family: var(--font-head); font-weight: 800; font-size: 24px; line-height: 1.2; }
.contact-form .btn { align-self: flex-start; }
.contact-form .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-error { display: block; overflow-wrap: anywhere; }
/* spam trap: invisible to people, bots fill it in */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; }
.thanks p { color: var(--muted); }
.thanks .text-link { align-self: flex-start; color: var(--violet); font: inherit; font-weight: 700; border: 0; background: transparent; cursor: pointer; }
[hidden] { display: none !important; }

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .contact-info dt { font-size: 14px; }
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal { display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-size: 22px; line-height: 1.3; }
.legal h2:not(:first-child) { margin-top: 20px; }
.legal p, .legal li { color: var(--text); overflow-wrap: anywhere; }
.legal h3 { margin-top: 8px; font-family: var(--font-head); font-weight: 800; font-size: 19px; line-height: 1.3; color: var(--ink); }
.legal h4 { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.legal ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 768px) {
  .legal { padding: 48px 56px; }
}

/* ---------- Placeholder pages (Impressum / Datenschutz) ---------- */
.placeholder-note {
  background: var(--yellow-soft);
  border: 2px dashed var(--amber);
  border-radius: 16px;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Intro: "light focused on one point" ----------
   html.intro is set by the inline script in <head> (first visit only, never with reduced
   motion). Until js/main.js takes over, the page is clipped to a circle of radius 0 on the dark
   ground; if the script never runs, the fallback animation un-clips it after 4s.
   Only transform, opacity and clip-path are animated. */
html.intro { background: #0F0F1A; }
html.intro body {
  min-height: 100vh;
  clip-path: circle(0 at 50% 50vh);
  animation: intro-fallback 1ms linear 4s forwards;
}
@keyframes intro-fallback { to { clip-path: inset(0); } }

.intro-layer { position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; cursor: default; }
.intro-beam {
  position: absolute;
  display: block;
  border-radius: 2px;
  transform-origin: 100% 50%;
  background: linear-gradient(90deg, transparent, var(--c) 70%, #FFFFFF);
  opacity: 0;
  will-change: transform, opacity;
}
.intro-flash {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0, #FACC15 14%, rgba(250, 204, 21, .38) 34%, rgba(250, 204, 21, 0) 64%);
  opacity: 0;
  will-change: transform, opacity;
}
.intro-mark { position: absolute; left: 0; top: 0; width: 330px; height: 140px; transform-origin: 0 0; will-change: transform; }
.im-part { position: absolute; left: 0; top: 0; width: 140px; height: 140px; }
.im-part svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.im-lp, .im-dot { transform-origin: 70px 70px; }
.im-word { position: absolute; left: 0; top: 0; width: 330px; height: 140px; overflow: visible; }
.im-ch { transform-box: fill-box; transform-origin: 50% 100%; }
.intro-skip {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font: 700 14px/1 var(--font-body);
  letter-spacing: .02em;
  cursor: pointer;
  opacity: 0;
  transition: color .18s ease, border-color .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .intro-skip:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, .5); }
}
/* hero headline, split into masked lines right after the intro (restored afterwards) */
.hl { display: block; overflow: clip; padding-bottom: .12em; margin-bottom: -.12em; }
.hl-in { display: block; }
/* ---------- Motion ---------- */
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(250, 204, 21, .6); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 12px rgba(250, 204, 21, 0); }
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .car-stage { scroll-behavior: auto; }
}
