/* =========================================================================
   Ahnivo – "Bilderbuch"
   Weißer Grund, flache Farbflächen, runde Porträt-Kreise.
   Schriften: Gabarito (Überschriften), Atkinson Hyperlegible Next (Text),
   beide SIL OFL 1.1, selbst ausgeliefert (siehe fonts/OFL-*.txt).
   ========================================================================= */

@font-face {
  font-family: "Gabarito";
  src: url("/assets/fonts/gabarito.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-next.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-next-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;

  --ink: #1B1F3B;
  --ink-soft: #4A4F6E;
  --paper: #FFFFFF;
  --line: #E4E6F0;

  --sun: #FFC93C;
  --sun-soft: #FFF4D1;
  --coral: #FF6B5B;
  --coral-soft: #FFE9E4;
  --coral-ink: #C8372A;
  --sky: #2B59FF;
  --sky-deep: #2350E6;
  --sky-light: #7EB0FF;
  --sky-soft: #EAF0FF;
  --leaf: #2EC486;
  --leaf-soft: #E3F7EE;
  --leaf-ink: #0B7F55;

  --font-display: "Gabarito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow: 0 10px 30px -12px rgba(27, 31, 59, 0.22), 0 2px 6px rgba(27, 31, 59, 0.06);
  --shadow-lift: 0 18px 40px -14px rgba(27, 31, 59, 0.3), 0 3px 8px rgba(27, 31, 59, 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1rem, 4vw, 2rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--sky-light) var(--sky-soft); caret-color: var(--sky); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; }
img, svg { max-width: 100%; }

a { color: var(--sky-deep); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); text-decoration-color: var(--coral); }

code, .kbd {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
  background: var(--sky-soft);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 720px; }
.muted { color: var(--ink-soft); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 36em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1.1rem; border-radius: var(--radius-s);
  font-weight: 700; text-decoration: none; transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* Farbfüllungen (Illustration, Punkte, Avatare) */
.fill-coral { fill: var(--coral); background: var(--coral); }
.fill-sky { fill: var(--sky-light); background: var(--sky-light); }
.fill-sky-light { fill: var(--sky-light); background: var(--sky-light); }
.fill-sky-soft { fill: #BFD4FF; background: #BFD4FF; }
.fill-leaf { fill: var(--leaf); background: var(--leaf); }
.fill-leaf-soft { fill: #A6E6CB; background: #A6E6CB; }
.fill-sun { fill: var(--sun); background: var(--sun); }
.fill-ink { fill: var(--ink); background: var(--ink); }

/* --- Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--large { min-height: 58px; padding: 0.85rem 1.8rem; font-size: 1.15rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--sky); color: #fff; box-shadow: 0 8px 20px -8px rgba(43, 89, 255, 0.7); }
.btn--primary:hover { background: var(--sky-deep); color: #fff; box-shadow: 0 12px 26px -8px rgba(43, 89, 255, 0.75); }
.btn--secondary { background: var(--sky-soft); color: var(--sky-deep); }
.btn--secondary:hover { background: #DCE6FF; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -10px rgba(27, 31, 59, 0.7); }
.btn--dark:hover { background: #0F1230; color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* --- Kopf ----------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { width: 40px; height: 40px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.03em; }

.nav-toggle { position: relative; }
.nav-toggle__button {
  list-style: none; display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
  min-height: 44px; padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--sky-soft);
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
}
.nav-toggle__button::-webkit-details-marker { display: none; }
.nav-toggle__button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.site-nav {
  position: absolute; right: 0; top: calc(100% + 0.6rem);
  display: grid; gap: 0.25rem; min-width: 250px; padding: 0.75rem;
  background: var(--paper); border-radius: var(--radius-m); box-shadow: var(--shadow-lift);
}
.site-nav a { padding: 0.7rem 0.9rem; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-weight: 700; }
.site-nav a:not(.btn):hover { background: var(--sky-soft); }
.site-nav__cta { margin-top: 0.35rem; }

/* Desktop: site.js öffnet das Menü dauerhaft (ohne JS bleibt der Menü-Knopf nutzbar). */
@media (min-width: 900px) {
  .js .nav-toggle__button { display: none; }
  .js .site-nav {
    position: static; display: flex; align-items: center; gap: 0.25rem;
    min-width: 0; padding: 0; background: none; box-shadow: none;
  }
  .js .site-nav__cta { margin: 0 0 0 0.6rem; }
}

/* --- Hero -------------------------------------------------------------------------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__inner { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; } }
.hero__inner > * { min-width: 0; }
.hero h1 { max-width: 11em; margin-bottom: 0.4em; }
.hero__accent {
  display: inline-block;
  background: var(--sun);
  padding: 0 0.18em;
  border-radius: 0.2em;
  transform: rotate(-1.5deg);
  box-decoration-break: clone;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1.5rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; margin: 0; padding: 0; color: var(--ink-soft); font-size: 1rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__facts li::before {
  content: ""; width: 1.15rem; height: 1.15rem; flex: none; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3 7 10.8 11.5 5.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.hero__tree { position: relative; margin: 0; }
.tree { display: block; width: 100%; height: auto; overflow: visible; }
.tree__sun { fill: var(--sun-soft); }
.tree__line { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.tree__initials { font-family: var(--font-display); font-weight: 800; font-size: 26px; fill: var(--ink); text-anchor: middle; letter-spacing: -0.02em; }
.tree__initials--small { font-size: 21px; }
.tree__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; fill: var(--ink); text-anchor: middle; }
.tree__name[text-anchor="end"] { text-anchor: end; }
.tree__name[text-anchor="start"] { text-anchor: start; }
.tree__note { position: absolute; left: 0.5rem; bottom: -5%; margin: 0; font-size: 0.85rem; color: var(--ink-soft); }

.activity {
  position: absolute; display: flex; align-items: center; gap: 0.6rem; margin: 0;
  max-width: 17rem; padding: 0.65rem 0.95rem; border-radius: var(--radius-m);
  background: var(--paper); box-shadow: var(--shadow-lift); font-size: 0.95rem; line-height: 1.35;
}
.activity__dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; flex: none; }
.activity--one { right: -2%; bottom: -7%; }
.activity--two { left: -4%; top: -4%; }
@media (max-width: 560px) {
  .tree__name { font-size: 28px; }
  .tree__initials { font-size: 32px; }
  .tree__initials--small { font-size: 27px; }
  .activity { position: static; margin-top: 0.6rem; max-width: none; box-shadow: var(--shadow); }
  .tree__note { position: static; margin-top: 0.6rem; }
}

/* Aufbau Generation für Generation – nur mit erlaubter Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .tree__person { transform-box: fill-box; transform-origin: center; animation: pop 0.7s var(--ease-out) both; }
  .tree__person--g1 { animation-delay: 0.1s; }
  .tree__person--g2 { animation-delay: 0.75s; }
  .tree__person--g3 { animation-delay: 1.4s; }
  .tree__person--g1 + .tree__person--g1 { animation-delay: 0.22s; }
  .tree__line { stroke-dasharray: 600; animation: draw 0.7s var(--ease-out) both; }
  .tree__line--g1 { animation-delay: 0.45s; }
  .tree__line--g2 { animation-delay: 1.1s; }
  .activity { animation: rise 0.6s var(--ease-out) both; }
  .activity--two { animation-delay: 1.9s; }
  .activity--one { animation-delay: 2.2s; }
  .tree__sun { transform-box: fill-box; transform-origin: center; animation: grow 1.2s var(--ease-out) both; }
}
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes grow { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* --- So geht's (gelbes Band) ------------------------------------------------------ */
.steps-band { background: var(--sun); padding-block: clamp(3rem, 7vw, 5.5rem); }
.steps-band h2 { margin-bottom: 1.2em; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 820px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { position: relative; }
.how__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.4rem; height: 3.4rem; margin-bottom: 1rem; border-radius: 50%;
  background: var(--ink); color: var(--sun);
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
}
.how p { margin: 0; max-width: 24em; }

/* --- Funktionen ------------------------------------------------------------------------ */
.features { padding-block: clamp(4rem, 9vw, 7rem); }
.section-title { max-width: 18em; }
.section-lead { color: var(--ink-soft); font-size: 1.2rem; max-width: 34em; margin-bottom: 2rem; }
.features .section-title { margin-bottom: clamp(0.5rem, 2vw, 1.5rem); }

.feature { display: grid; gap: 1.75rem; align-items: center; padding-block: clamp(1.5rem, 4vw, 2.75rem); }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
  .feature--flip .feature__text { order: 2; }
}
.feature__text h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.feature__text p { color: var(--ink-soft); max-width: 32em; margin: 0; }
.feature__art {
  display: grid; place-items: center; min-height: 260px;
  padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-l);
}
.feature:nth-of-type(1) .feature__art { background: var(--sky-soft); }
.feature:nth-of-type(2) .feature__art { background: var(--coral-soft); }
.feature:nth-of-type(3) .feature__art { background: var(--leaf-soft); }

.fan { width: min(100%, 360px); height: auto; }
.fan path { stroke: var(--paper); stroke-width: 4; stroke-linejoin: round; }
.fan__me { fill: var(--paper); stroke: var(--ink); stroke-width: 4; }
.fan__label { font-family: var(--font-display); font-weight: 800; font-size: 19px; fill: var(--ink); text-anchor: middle; }
.fan__label--me { font-size: 19px; }
@media (max-width: 560px) { .fan__label { font-size: 22px; } .fan__label--me { font-size: 21px; } }

.roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; width: min(100%, 380px); }
.roles li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0.8rem; border-radius: var(--radius-m); background: var(--paper);
  box-shadow: var(--shadow); font-family: var(--font-display); font-weight: 700;
}
.roles__avatar {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%;
  color: var(--ink); font-size: 0.95rem; font-weight: 800;
}
.roles__tag {
  margin-left: auto; padding: 0.25rem 0.7rem; border-radius: 999px;
  background: var(--sky-soft); color: var(--sky-deep); font-size: 0.85rem;
}
.roles li:first-child .roles__tag { background: var(--ink); color: var(--paper); }

.photos { position: relative; width: min(100%, 380px); height: 250px; }
.photo {
  position: absolute; width: 58%; aspect-ratio: 4 / 3; border-radius: var(--radius-m);
  border: 8px solid var(--paper); box-shadow: var(--shadow-lift);
  display: flex; align-items: flex-end; padding: 0.5rem;
}
.photo--a { left: 0; top: 10px; align-items: flex-start; transform: rotate(-5deg); background: linear-gradient(160deg, #FFD978 0 45%, #FFB84D 45% 100%); }
.photo--b { right: 0; top: 0; align-items: flex-start; justify-content: flex-end; transform: rotate(4deg); background: linear-gradient(180deg, #F4EFE6 0 100%); }
.photo--b::before { content: ""; position: absolute; inset: 18% 16% 42%; border-top: 3px solid #CBC3B4; border-bottom: 3px solid #CBC3B4; }
.photo--c { left: 21%; bottom: 0; transform: rotate(-1deg); background: linear-gradient(180deg, #9CC3FF 0 55%, #2EC486 55% 100%); }
.photo__tag {
  position: relative; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--paper);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--ink);
  box-shadow: 0 2px 6px rgba(27, 31, 59, 0.15);
}

.more-title { margin-top: clamp(2.5rem, 6vw, 4rem); }
.more { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem 2.5rem; }
@media (min-width: 760px) { .more { grid-template-columns: 1fr 1fr; } }
.more li { display: flex; gap: 0.9rem; align-items: baseline; color: var(--ink-soft); }
.more strong { color: var(--ink); }
.more__dot { width: 0.85rem; height: 0.85rem; border-radius: 50%; flex: none; transform: translateY(0.05em); }

/* --- Preise (hellblaue Fläche) -------------------------------------------------------- */
.pricing { background: var(--sky); color: #fff; padding-block: clamp(4rem, 9vw, 7rem); }
.pricing .section-title, .pricing .section-lead { margin-inline: auto; text-align: center; }
.pricing .section-lead { color: #fff; }
.billing { display: grid; gap: 2rem; justify-items: center; }
.billing-toggle {
  display: inline-flex; gap: 0.25rem; margin: 0; padding: 0.35rem;
  border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
}
.billing-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle label {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 1.2rem;
  border-radius: 999px; cursor: pointer; font-family: var(--font-display); font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}
.billing-toggle input:checked + label { background: var(--ink); color: var(--paper); }
.billing-toggle input:focus-visible + label { outline: 3px solid var(--sky); outline-offset: 2px; }
.billing-toggle__save { white-space: nowrap; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 0.8rem; }

.pricing-grid { display: grid; gap: 1.5rem; width: 100%; max-width: 920px; color: var(--ink); }
@media (min-width: 820px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .billing-toggle { width: 100%; }
  .billing-toggle label { flex: 1; justify-content: center; padding-inline: 0.6rem; }
}
.pricing-grid > * { min-width: 0; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.6rem, 4vw, 2.4rem); border-radius: var(--radius-l);
  background: var(--paper); box-shadow: var(--shadow);
}
.price-card--featured { box-shadow: 0 0 0 4px var(--sun), var(--shadow-lift); }
.price-card__badge {
  position: absolute; top: -0.95rem; left: clamp(1.6rem, 4vw, 2.4rem); margin: 0;
  padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--coral); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
}
.price-card h3 { font-size: 2rem; margin-bottom: 0.15em; }
.price-card__for { color: var(--ink-soft); margin-bottom: 1.2rem; }
.price { margin: 0 0 1.4rem; display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.price__amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.3rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price__per { color: var(--ink-soft); }
.checks { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: 0.6rem; flex: 1; }
.checks li { display: flex; gap: 0.7rem; }
.checks li::before {
  content: ""; width: 1.3rem; height: 1.3rem; flex: none; margin-top: 0.15rem; border-radius: 50%;
  background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3 7 10.8 11.5 5.8' fill='none' stroke='%230B7F55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.pricing__note { margin: 2rem auto 0; color: #fff; font-size: 0.98rem; max-width: 50em; text-align: center; }

/* Monat/Jahr: ohne JS und ohne :has() sind beide Preise sichtbar */
.price--jahr { display: none; }
.billing:has(#abr-jahr:checked) .price--monat { display: none; }
.billing:has(#abr-jahr:checked) .price--jahr { display: flex; }
.billing:has(#abr-jahr:checked) a.price--jahr { display: inline-flex; }
@supports not selector(:has(*)) {
  .price--jahr { display: flex; }
  a.price--jahr { display: inline-flex; margin-top: 0.5rem; }
}

/* --- Vertrauen ------------------------------------------------------------------------------ */
.trust { padding-block: clamp(4rem, 9vw, 7rem); }
.trust__list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2.2rem 3rem; }
@media (min-width: 760px) { .trust__list { grid-template-columns: 1fr 1fr; } }
.trust__list li { padding-left: 4.2rem; position: relative; }
.trust__list li::before {
  content: ""; position: absolute; left: 0; top: 0.1rem; width: 3rem; height: 3rem; border-radius: 50%;
}
.trust__list li:nth-child(1)::before { background: var(--sky-light); }
.trust__list li:nth-child(2)::before { background: var(--coral); }
.trust__list li:nth-child(3)::before { background: var(--sun); }
.trust__list li:nth-child(4)::before { background: var(--leaf); }
.trust__list li::after {
  content: ""; position: absolute; left: 0.75rem; top: 0.85rem; width: 1.5rem; height: 1.5rem;
  background: center / 100% no-repeat;
}
/* Serverstandort (Stecknadel), keine Werbung (durchgestrichen), Export (Pfeil aus Kasten), offene Software (Klammern) */
.trust__list li:nth-child(1)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-6-5.3-6-10.5A6 6 0 0 1 18 10.5C18 15.7 12 21 12 21z M12 12.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4z' fill='none' stroke='%231B1F3B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.trust__list li:nth-child(2)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18z M5.6 5.6l12.8 12.8' fill='none' stroke='%231B1F3B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.trust__list li:nth-child(3)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 14V3 M8 7l4-4 4 4 M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7' fill='none' stroke='%231B1F3B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.trust__list li:nth-child(4)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4C5.5 4 5 5.5 5 7.5v2C5 11 4 12 3 12c1 0 2 1 2 2.5v2C5 18.5 5.5 20 8 20 M16 4c2.5 0 3 1.5 3 3.5v2c0 1.5 1 2.5 2 2.5-1 0-2 1-2 2.5v2c0 2-.5 3.5-3 3.5' fill='none' stroke='%231B1F3B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.trust__list p { color: var(--ink-soft); margin: 0; }

/* --- FAQ ---------------------------------------------------------------------------------------- */
.faq { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 9vw, 7rem); }
.faq .section-title { margin-bottom: 1.5rem; }
.faq-item { border-bottom: 2px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 2rem; height: 2rem; flex: none; border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%232350E6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat;
  transition: transform 0.3s var(--ease-out), background-color 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--sun); }
.faq-item summary:hover::after { background-color: #DCE6FF; }
.faq-item p { margin: 0 0 1.4rem; color: var(--ink-soft); max-width: 40em; }

/* --- Abschluss (Korallenfläche) ------------------------------------------------------------------ */
.closing { background: var(--coral); padding-block: clamp(3.5rem, 8vw, 6rem); }
.closing__inner { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 860px) { .closing__inner { grid-template-columns: 1fr auto; } }
.closing h2 { max-width: 16em; }
.closing p { margin: 0; font-size: 1.2rem; }

/* --- Fuß ----------------------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #D9DBEA; padding-block: 3rem; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); }
.site-footer a:hover { color: var(--sun); text-decoration-color: var(--sun); }
.site-footer__inner { display: grid; gap: 1.4rem; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.site-footer__legal { margin: 0; color: #B9BCD3; font-size: 0.92rem; }

/* =========================================================================
   Unterseiten (Buchung, Einrichtung, Abo, Kündigung, Rechtstexte)
   ========================================================================= */
main.container.narrow { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
main.narrow h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); }

.notice {
  margin: 1.5rem 0; padding: 1rem 1.2rem; border-radius: var(--radius-m);
  background: var(--sky-soft); color: var(--ink);
}
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.notice a { color: var(--ink); }
.notice--error { background: var(--coral-soft); color: #7A1E14; }
.notice--error a { color: #7A1E14; }
.notice--success { background: var(--leaf-soft); color: #064D34; }
.notice--info { background: var(--sun-soft); color: #5A4200; }

.form { display: grid; gap: 1.6rem; margin-top: 1.5rem; }
.fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fieldset legend {
  padding: 0; margin-bottom: 0.9rem; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
}
.fieldset > .field + .field { margin-top: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="date"],
.field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.7rem 0.95rem;
  border: 2px solid var(--line); border-radius: var(--radius-s); background: var(--paper);
  color: var(--ink); font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9CDE0; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(43, 89, 255, 0.18);
}
.hint { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.error { margin: 0; color: var(--coral-ink); font-weight: 700; font-size: 0.98rem; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--coral-ink); }

/* Gutscheincode mit Prüfknopf; Code in Großbuchstaben, gut lesbar */
.coupon-row { display: flex; gap: 0.6rem; align-items: stretch; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.coupon-row .btn { flex: none; min-height: 52px; }
.hint.is-ok { color: var(--leaf-ink); font-weight: 700; }
.hint.is-error { color: var(--coral-ink); font-weight: 700; }
.order-coupon { color: var(--leaf-ink); }

.choice-group { display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .choice-group--row { grid-template-columns: 1fr 1fr; } }
.choice {
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; row-gap: 0.15rem; align-items: start;
  padding: 1rem 1.1rem; border: 2px solid var(--line); border-radius: var(--radius-m);
  background: var(--paper); cursor: pointer; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.choice:hover { border-color: #C9CDE0; }
.choice input[type="radio"], .choice input[type="checkbox"] {
  grid-row: 1 / span 3; width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; accent-color: var(--sky);
}
.choice__title { grid-column: 2; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.choice__meta { grid-column: 2; color: var(--ink-soft); font-size: 0.98rem; }
.choice:has(input:checked) { border-color: var(--sky); background: var(--sky-soft); box-shadow: 0 0 0 1px var(--sky); }
.choice:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }

.check { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; }
.check input { width: 1.6rem; height: 1.6rem; margin: 0.2rem 0 0; flex: none; accent-color: var(--sky); }

.card { padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: var(--radius-m); background: var(--paper); box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.order-summary { background: var(--sun-soft); box-shadow: none; }
.order-summary h2 { margin-top: 0; font-size: 1.35rem; }
.order-summary p:last-child { margin-bottom: 0; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.js [data-nur-rechnung][hidden] { display: none; }

/* Fortschritt auf Formularseiten */
.steps {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; counter-reset: step;
  font-size: 0.88rem; font-weight: 700; color: var(--ink-soft);
}
.steps > li { counter-increment: step; display: grid; justify-items: center; gap: 0.45rem; text-align: center; line-height: 1.25; position: relative; }
.steps > li::before {
  content: counter(step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--sky-soft); color: var(--sky-deep); font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  position: relative; z-index: 1;
}
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.1rem; left: calc(50% + 1.3rem); right: calc(-50% + 1.3rem); height: 3px;
  border-radius: 3px; background: var(--line);
}
.steps > li.is-current { color: var(--ink); }
.steps > li.is-current::before { background: var(--sky); color: #fff; }
.steps > li.is-done { color: var(--ink); }
.steps > li.is-done::before {
  content: ""; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3 6.8 11 12 5.5' fill='none' stroke='%231B1F3B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.steps > li.is-done::after { background: var(--leaf); }

/* Rechtstexte */
.prose { max-width: 70ch; }
.prose h1 { margin-bottom: 0.3em; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.35rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================================
   Ratgeber (Übersicht und Artikel)
   ========================================================================= */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; list-style: none; margin: 0 0 1.4rem; padding: 0; font-size: 0.95rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22em; }

.article__head { margin-bottom: 1.8rem; }
.article__head .lead { margin-bottom: 0.8rem; }
.article__meta { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

.summary { margin: 1.8rem 0; padding: 1.2rem 1.4rem; border-radius: var(--radius-m); background: var(--sun-soft); }
.prose .summary h2, .prose .toc h2 { font-size: 1.2rem; margin: 0 0 0.6rem; }
.summary ul { margin: 0; }
.toc { margin: 1.8rem 0 0; padding: 1.2rem 1.4rem; border-radius: var(--radius-m); border: 2px solid var(--line); }
.toc ol { margin: 0; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 5.5rem; }
.prose td, .prose th { vertical-align: top; }
.prose th { font-family: var(--font-display); }
.article-faq { margin-top: 2.5rem; }

.cta-box { margin: 2.5rem 0; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius-l); background: var(--sky-soft); }
.cta-box__title { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.2; margin-bottom: 0.5rem; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0 0; }

.related h2 { font-size: 1.35rem; }
.related ul { padding-left: 1.2rem; }
.related li + li { margin-top: 0.4rem; }

.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.guide-card { padding: 1.3rem 1.4rem; border: 2px solid var(--line); border-radius: var(--radius-m); transition: border-color 0.2s; }
.guide-card:hover { border-color: var(--sky-light); }
main.narrow .guide-card__title { font-size: 1.3rem; margin-bottom: 0.4rem; }
.guide-card__title a { color: var(--ink); text-decoration: none; }
.guide-card__title a:hover { color: var(--sky-deep); text-decoration: underline; }
.guide-card p { margin: 0 0 0.4rem; color: var(--ink-soft); }
.guide-card__meta { font-size: 0.92rem; }
/* Tabellen in Artikeln: auf schmalen Bildschirmen lange Wörter trennen statt die Seite zu verbreitern. */
.article td, .article th { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .article table { font-size: 0.95rem; }
  .article th, .article td { padding: 0.5rem 0.35rem; }
}