/* =====================================================================
   walluta.BUSINESS – Stylesheet (Basis: walluta.com, gleicher Style)
   Farbwelt: Walluta-Blau #283265, Helles Blau #D8E8E9, Cyan-Akzent aus dem Logo.
   Keine Farbverläufe. Alle Farben als Token. Die Seite läuft ausschließlich im Dunkel-Modus.
   ===================================================================== */

/* ---------- Schriften (lokal, Regel 3) ---------- */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto/Roboto-Light.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto/Roboto-Regular.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto/Roboto-Medium.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto/Roboto-Bold.ttf") format("truetype"); }

/* ---------- Farb-Token ---------- */
:root {
  --blue: #283265;          /* Walluta-Blau */
  --blue-deep: #1b2350;     /* Hero */
  --blue-ink: #10152f;      /* Text auf hell, tiefster Ton */
  --sky: #d8e8e9;           /* Helles Blau (CI) */
  --sky-soft: #edf4f5;      /* abgeschwächte Sektionen */
  --cyan: #2ec4d6;          /* Akzent aus dem Logo */
  --cyan-deep: #5fd6e4;     /* Akzent-Text auf hell (AA) */
  --green: #6fd39a;         /* Erfolg */
  --green-soft: #17372a;
  --orange: #ffb26b;        /* Fehler / Warnung (kein Rot-Rosa) */
  --orange-soft: #3d2410;

  --bg: #0f1428;
  --bg-alt: #151b36;
  --surface: #1a2142;
  --surface-2: #202a52;
  --text: #e6eaf7;
  --text-muted: #b3bcd9;
  --heading: #ffffff;
  --line: #34406b;
  --line-strong: #5563a0;
  --link: #8fd8e4;
  --focus: #e07a1f;

  --hero-bg: #0b0f22;
  --hero-text: #ffffff;
  --hero-muted: #c9d3ff;

  --btn-primary-bg: #3a4a99;
  --btn-primary-text: #ffffff;
  --btn-accent-bg: var(--cyan);
  --btn-accent-text: var(--blue-ink);
  --btn-secondary-text: #d6ddff;
  --btn-secondary-border: #8fa0ff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-hard: 6px 6px 0 var(--cyan);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
  --container: 1200px;
  --gutter: 16px;
  --header-h: 92px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.3em; }
.lead { font-size: 1.15rem; font-weight: 500; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--cyan-deep); margin-bottom: .75rem; }

.note { font-size: .9rem; color: var(--text-muted); border-left: 4px solid var(--line-strong); padding: .5rem .9rem; background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.note--info { border-color: var(--cyan); color: var(--text); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.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; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; background: var(--cyan); color: var(--blue-ink); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 700; z-index: 1000; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.2em; }
.icon--right { margin-left: .5em; }

.icon--lg { width: 2.4rem; height: 2.4rem; stroke-width: 1.6; }
.icon--xl { width: 2.8rem; height: 2.8rem; stroke-width: 1.5; }

/* ---------- Buttons (Regel 5: Funktion = Farbe) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .25rem;
  min-height: 46px; padding: .65rem 1.35rem; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); border-color: var(--btn-primary-bg); }
.btn--primary:hover { box-shadow: 0 6px 18px rgba(40, 50, 101, .35); }
.btn--accent { background: var(--btn-accent-bg); color: var(--btn-accent-text); border-color: var(--btn-accent-bg); }
.btn--accent:hover { box-shadow: 0 6px 18px rgba(46, 196, 214, .45); }
.btn--secondary { background: transparent; color: var(--btn-secondary-text); border-color: var(--btn-secondary-border); }
.btn--secondary:hover { background: var(--surface-2); color: var(--text); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--large { min-height: 54px; padding: .8rem 1.7rem; font-size: 1.05rem; }
.btn--small { min-height: 38px; padding: .4rem 1rem; font-size: .9rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand__img { height: 68px; width: auto; }
@media (max-width: 600px) { .brand__img { height: 56px; } }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.site-nav__link {
  display: inline-block; padding: .55rem .85rem; border-radius: 999px;
  color: var(--text); font-weight: 500; text-decoration: none; border: 2px solid transparent;
  white-space: nowrap;
}
.site-nav__link:hover { background: var(--surface-2); color: var(--text); }
.site-nav__link[aria-current="page"] { background: var(--blue); color: #fff; }
.site-nav__link--highlight { border-color: var(--cyan); color: var(--cyan-deep); font-weight: 700; }
.site-nav__link--highlight:hover { background: var(--cyan); color: var(--blue-ink); }
.site-nav__link--highlight[aria-current="page"] { background: var(--cyan); color: var(--blue-ink); }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: inline-flex; gap: .4rem; align-items: center; color: var(--text-muted); font-weight: 700; font-size: .9rem; }
.lang-switch__link { color: var(--text-muted); text-decoration: none; padding: .35rem .5rem; border-radius: 6px; }
.lang-switch__link:hover { background: var(--surface-2); color: var(--text); }
/* aktuelle Sprache klar anders als ein Hover (Regel 5) */
.lang-switch__link[aria-current="true"] { background: var(--cyan); color: var(--blue-ink); }
.nav-toggle { display: none; }

/* Umbruchpunkt so gewählt, dass Logo + 6 Menüpunkte + Sprachwahl (auch EN) nebeneinander passen */
@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; background: var(--surface-2); border: 1px solid var(--line);
    border-radius: 999px; padding: .45rem .9rem; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; min-height: 44px;
  }
  .nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; }
  .nav-toggle__bars span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft);
    flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: .35rem; }
  .site-nav__link { display: block; padding: .8rem 1rem; font-size: 1.05rem; }
  .lang-switch { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-text); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='1.5' cy='1.5' r='1.2' fill='%233b4a8f'/%3E%3C/svg%3E");
  opacity: .5;
}
.hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 7vw, 6rem); min-height: calc(100vh - var(--header-h)); max-height: 900px; }
.hero__body { background: rgba(16, 21, 47, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.hero__title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 14ch; }
.hero__lead { font-size: 1.2rem; color: #fff; max-width: 52ch; }
.hero__text { color: var(--hero-muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero .kicker { color: var(--cyan); }
.hero__figure { margin: 0; justify-self: center; }
.hero__img { max-height: 560px; width: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
/* Rechteckige Fotos (statt freigestellter PNGs) brauchen eigene Rundung und Kante */
.hero__img--photo { border-radius: var(--radius); border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow-hard); filter: none; }
.hero .breadcrumb a, .hero .breadcrumb span { color: var(--hero-muted); }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero__figure { order: -1; }
  .hero__img { max-height: 300px; }
  .hero__title { max-width: none; }
}

/* Trust-Leiste */
.trust { background: var(--blue); color: #fff; border-top: 1px solid rgba(255,255,255,.15); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 1.5rem; }
.trust__item { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; align-items: center; }
.trust__icon { grid-row: span 2; color: var(--cyan); }
.trust__title { margin: 0; font-weight: 700; }
.trust__text { margin: 0; font-size: .9rem; color: #d7ddf8; }
@media (max-width: 900px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust__grid { grid-template-columns: 1fr; } }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 780px; margin-bottom: 2.5rem; }

.section__intro { font-size: 1.1rem; color: var(--text-muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

.split__img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-hard); width: 100%; object-fit: cover; }

.split__media { position: relative; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }

  .split__media { order: -1; }
}

/* Karten */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards--3 { grid-template-columns: 1fr; } }

/* Angebotskarten (Programme 2 & 3), 2 Spalten */
.offers { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }
.offer { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }

.offer__title { margin: .25rem 0 0; font-size: 1.3rem; }
.offer__tagline { margin: 0; color: var(--text-muted); }
.offer__price { margin: .5rem 0 0; font-size: 1rem; color: var(--text-muted); }
.offer__price strong { font-size: 1.6rem; color: var(--text); margin-right: .25rem; }

.card {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover, a.card:focus-visible { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); border-color: var(--blue); }
.card__icon { color: var(--cyan-deep); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); margin-bottom: .25rem; }
.card__title { margin: 0; font-size: 1.15rem; font-weight: 700; }
.card__text { margin: 0; color: var(--text-muted); flex: 1; }
.card__more { font-weight: 700; color: var(--cyan-deep); margin-top: .25rem; display: inline-flex; align-items: center; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps__item { position: relative; padding: 1.5rem 1.5rem 1.5rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: .75rem; box-shadow: 3px 3px 0 var(--cyan); }
.steps__title { margin: 0 0 .3rem; font-size: 1.15rem; font-weight: 700; }
.steps__text { margin: 0; color: var(--text-muted); }

/* Checkliste */
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist__icon { color: var(--green); margin-top: .2em; width: 1.3em; height: 1.3em; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.faq__item[open] { border-color: var(--blue); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-weight: 700; color: var(--heading); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--surface-2); border-radius: var(--radius-sm); }
.faq__chevron { transition: transform .2s; color: var(--cyan-deep); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__a { padding: 0 1.25rem 1.25rem; color: var(--text); }
.faq__a p { margin: 0; }

/* CTA */
.section--cta { background: var(--blue); color: #fff; }
.cta { text-align: center; }
.cta__title { color: #fff; }
.cta__text { color: #dbe2ff; max-width: 60ch; margin-inline: auto; }
.cta .btn { margin-top: 1rem; }

/* Seitenkopf / Brotkrumen */
.page-head { background: var(--bg-alt); padding-block: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.page-head__title { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }

.page-head__intro { font-size: 1.1rem; color: var(--text-muted); max-width: 70ch; }

.breadcrumb { font-size: .875rem; margin-bottom: 1rem; }
.breadcrumb__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: var(--text-muted); margin-right: .3rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 500; }

/* Rechtstexte */
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.25rem; }
.legal__address { font-style: normal; line-height: 1.7; }

/* 404 */
.notfound { text-align: center; padding-block: 2rem; }
.offline-logo { margin: 0 auto 1.5rem; }
.notfound__code { font-size: clamp(5rem, 15vw, 9rem); font-weight: 700; color: var(--sky); line-height: 1; margin: 0; }
.offline-logo { margin: 0 auto 1.5rem; }
.notfound__code { color: var(--surface-2); }

/* ---------- Formular ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.contact-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.contact-aside h3 { margin-top: 0; }
.contact-aside dt { font-weight: 700; margin-top: 1rem; color: var(--heading); }
.contact-aside dd { margin: .2rem 0 0; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.form legend { font-weight: 700; color: var(--heading); margin-bottom: .6rem; padding: 0; }
.form__grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.form__grid .field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; }
.field__hint { font-size: .85rem; color: var(--text-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  font: inherit; padding: .7rem .9rem; border-radius: var(--radius-sm); border: 2px solid var(--line-strong);
  background: var(--bg); color: var(--text); min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid var(--sky); outline-offset: 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--orange); background: var(--orange-soft); }
.field__error { color: var(--orange); font-size: .9rem; font-weight: 500; display: flex; gap: .4rem; align-items: flex-start; }
.field__error:empty { display: none; }
.interests { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.check { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer; min-height: 44px; }
.check:hover { border-color: var(--cyan); }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--blue); flex: none; }
.check:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.check--highlight { border-color: var(--cyan); }
.consent { font-size: .9rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form__required { font-size: .85rem; color: var(--text-muted); }
.form-alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; border: 2px solid; }
.form-alert--error { border-color: var(--orange); background: var(--orange-soft); color: var(--text); }
.form-alert--error a { color: inherit; }
.form-alert ul { margin: .5rem 0 0; }
.form-success { text-align: center; padding: 3rem 1rem; background: var(--green-soft); border: 2px solid var(--green); border-radius: var(--radius); }
.form-success__icon { color: var(--green); width: 4rem; height: 4rem; margin: 0 auto 1rem; }
.honey { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ---------- Install-Banner ---------- */
.install-banner { position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 490; width: min(100% - 2 * var(--gutter), 520px); background: var(--surface); border: 2px solid var(--cyan); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 1rem 1.25rem; }
.install-banner[hidden] { display: none; }
.install-banner__inner { display: grid; grid-template-columns: auto 1fr; gap: .75rem 1rem; align-items: center; }
.install-banner__icon { border-radius: 10px; }
.install-banner__title { font-size: 1rem; margin: 0 0 .2rem; }
.install-banner__text { margin: 0; font-size: .9rem; color: var(--text-muted); }
.install-banner__actions { grid-column: 1 / -1; display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #dbe2ff; padding-top: 3rem; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); margin-top: 0; }
.site-footer a:not(.btn) { color: #fff; } /* Buttons behalten ihre eigene Schriftfarbe (dunkel auf Cyan) */
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.site-footer__brand img:first-child { margin-bottom: 1rem; }
.site-footer__heading { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); margin-bottom: .75rem; }
.site-footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer__nav a{ color: #fff; text-decoration: none; padding: .2rem 0; display: inline-block; min-height: 32px; }
.site-footer__nav a:hover{ color: var(--cyan); text-decoration: underline; }
.site-footer__bottom { padding-top: 1.25rem; font-size: .85rem; color: #b9c3f0; }
.site-footer__disclaimer { max-width: 90ch; }

/* Zahlarten-Leiste: feste weiße Kacheln, damit jedes Markenlogo in jedem Farbmodus gleich lesbar bleibt */
.pay-logos { padding-block: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.15); text-align: center; }
.pay-logos__label { margin: 0 0 .85rem; color: #dbe2ff; }
.pay-logos__list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 720px; }
.pay-logos__item { display: grid; place-items: center; width: 80px; height: 46px; padding: 6px 8px; background: #fff; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
/* feste Höhe = Kachel minus Innenabstand; %-Höhen greifen im Grid nicht (quadratisches Amex-Logo ragte heraus) */
.pay-logos__item img { max-width: 100%; max-height: 34px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 520px) {
  .pay-logos__list { gap: .45rem; }
  .pay-logos__item { width: 68px; height: 40px; padding: 5px 6px; }
  .pay-logos__item img { max-height: 30px; }
}
@media (max-width: 1100px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Tabellen mobil als Karten (Regel 8) ---------- */
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
@media (max-width: 700px) {
  .table-wrap thead { display: none; }
  .table-wrap tr { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .75rem; background: var(--surface); }
  .table-wrap td { display: grid; grid-template-columns: 40% 1fr; gap: .5rem; border: 0; }
  .table-wrap td::before { content: attr(data-label); font-weight: 700; color: var(--heading); }
}

/* ---------- Bewegung respektieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =====================================================================
   walluta.BUSINESS – Ergänzungen (gleiche Token und Formensprache wie oben)
   ===================================================================== */

/* Marke: Logo + „.BUSINESS“ */
.brand { gap: .35rem; text-decoration: none; }
.brand__suffix { color: var(--cyan); font-weight: 700; letter-spacing: .08em; font-size: .95rem; align-self: center; margin-top: .9rem; }
@media (max-width: 600px) { .brand__suffix { font-size: .8rem; margin-top: .7rem; } }

/* Hinweisleiste bei Einladungslink (?ref=) */
.ref-bar { margin: 0; background: var(--green-soft); border-bottom: 2px solid var(--green); color: var(--text); font-size: .95rem; padding-block: .6rem; }
.ref-bar .container { display: block; }

/* Abschnitts-Zwischenüberschrift */
.sub-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 1rem; }

/* Programm 1: Kopf mit Preis-Plakette */
.program-head { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.program-head .section__head { margin-bottom: 0; }
.price-tag { margin: 0; padding: 1rem 1.5rem; border-radius: var(--radius); background: var(--blue-deep); border: 2px solid var(--cyan); box-shadow: var(--shadow-hard); display: grid; }
.price-tag strong { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: #fff; }
.price-tag span { color: var(--hero-muted); font-weight: 500; }

/* Programm 1: sechs Bausteine */
.modules { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }
.module { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.module__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-bottom: 1px solid var(--line); }
.module__img--icon { display: grid; place-items: center; background: var(--surface-2); color: var(--cyan); }
.icon--xl { width: 4rem; height: 4rem; stroke-width: 1.4; }
.module__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.module__meta { display: flex; align-items: center; gap: .6rem; margin: 0 0 .25rem; min-height: 36px; }
.module__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; box-shadow: 3px 3px 0 var(--cyan); }
.module__title { margin: 0; font-size: 1.2rem; font-weight: 700; }
.module__sub { margin: 0; color: var(--cyan-deep); font-weight: 500; }
.module__text { margin: 0; color: var(--text-muted); }

/* Status-Plakette (Text + Icon, nicht nur Farbe) */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 700; border: 1px solid; }
.badge--dev { color: var(--orange); background: var(--orange-soft); border-color: var(--orange); }

/* Programme 2 & 3: Angebotskarten mit Foto */
.offer__top { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; align-items: center; }
.offer__top .kicker { margin-bottom: .25rem; }
.offer__img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
@media (max-width: 420px) { .offer__top { grid-template-columns: 88px 1fr; } .offer__img { width: 88px; height: 88px; } }
.offer__features { margin: .75rem 0 0; }
.section .pay-logos { border-bottom: 0; margin-top: 2.5rem; }
.section .pay-logos__label { color: var(--text-muted); font-weight: 500; }
.pay-logos__item--text { width: auto; gap: .35rem; grid-auto-flow: column; color: var(--blue-ink); font-size: .8rem; font-weight: 700; padding-inline: .7rem; }
.pay-logos__item--text .icon { color: var(--blue); }

/* Programm 4: Kennzahlen */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.5rem; }
.facts__item { display: flex; flex-direction: column-reverse; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.facts__value { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--heading); line-height: 1.1; }
.facts__label { color: var(--text-muted); font-size: .95rem; }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* Verdienst: Rechenbeispiel + Rechner */
.earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0 1.5rem; align-items: start; }
@media (max-width: 900px) { .earn-grid { grid-template-columns: 1fr; } }
.example, .calc { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.example__title, .calc__title { font-size: 1.25rem; font-weight: 700; }
.calc { border: 2px solid var(--cyan); display: grid; gap: 1rem; }
.calc__title, .calc__intro { margin: 0; }
.calc__intro { color: var(--text-muted); }
.field input[type="number"], .field select {
  font: inherit; padding: .7rem .9rem; border-radius: var(--radius-sm); border: 2px solid var(--line-strong);
  background: var(--bg); color: var(--text); min-height: 48px; width: 100%;
}
.field input[type="number"]:focus, .field select:focus { border-color: var(--cyan); outline: 3px solid var(--blue); outline-offset: 0; }
.field input[type="number"][aria-invalid="true"] { border-color: var(--orange); background: var(--orange-soft); }
.calc__result { display: grid; gap: .25rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--green-soft); border: 1px solid var(--green); }
.calc__result p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.calc__value { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; color: #fff; }
.calc__value--small { font-size: 1.25rem; }
.calc__result span { color: var(--text-muted); }

/* Karriereplan: Treppe (Höhe je Stufe = Provisionssatz) */
.stairs { list-style: none; margin: 0 0 2.5rem; padding: 1.5rem 1rem 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .6rem; align-items: end; min-height: 300px; border-bottom: 2px solid var(--line-strong); }
.stairs__step { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.stairs__rate { font-weight: 700; font-size: 1.1rem; color: var(--heading); }
.stairs__bar { width: 100%; border-radius: 8px 8px 0 0; background: var(--blue); border: 1px solid var(--line-strong); border-bottom: 0; }
.stairs__name { font-size: .8rem; color: var(--text-muted); min-height: 2.5em; line-height: 1.2; padding-bottom: .5rem; }
.stairs__step--1 .stairs__bar { height: 80px; }  .stairs__step--2 .stairs__bar { height: 96px; }
.stairs__step--3 .stairs__bar { height: 120px; } .stairs__step--4 .stairs__bar { height: 136px; }
.stairs__step--5 .stairs__bar { height: 144px; } .stairs__step--6 .stairs__bar { height: 152px; }
.stairs__step--7 .stairs__bar { height: 160px; } .stairs__step--8 .stairs__bar { height: 184px; }
.stairs__step--9 .stairs__bar { height: 200px; }
.stairs__step--leader .stairs__bar { background: var(--cyan); border-color: var(--cyan); }
.stairs__step--leader .stairs__rate { color: var(--cyan); }
/* Mobil reicht die Tabelle (als Karten) – neun Säulen wären zu schmal zum Lesen */
@media (max-width: 700px) { .stairs { display: none; } }

.levels { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.levels thead th { background: var(--surface-2); color: var(--heading); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.levels tbody th { font-weight: 700; color: var(--heading); }
.levels strong { color: var(--heading); font-size: 1.1rem; }
.levels__leader th, .levels__leader strong { color: var(--cyan); }
@media (max-width: 700px) {
  .levels { background: transparent; border: 0; }
  .table-wrap tbody th { display: grid; grid-template-columns: 40% 1fr; gap: .5rem; border: 0; padding: .6rem .75rem; }
  .table-wrap tbody th::before { content: attr(data-label); font-weight: 700; color: var(--heading); }
}

.diff { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; margin-top: 2rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--blue-deep); border: 2px solid var(--cyan); }
.diff__icon { color: var(--cyan); }
.diff__title { font-size: 1.25rem; font-weight: 700; }
.diff p { color: #dbe2ff; }
.diff__example { margin: 0; padding: .75rem 1rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); color: #fff; font-weight: 500; }
@media (max-width: 520px) { .diff { grid-template-columns: 1fr; } }

/* Karten mit Pfeil (Drei Fragen) */
.card__more { margin-top: auto; }

/* Formularseite */
.contact-aside__title { font-size: 1.15rem; margin: 0 0 .75rem; }
.contact-aside__external { padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.aside-steps { margin: 0 0 1.25rem; padding-left: 1.4em; display: grid; gap: .5rem; }
.aside-steps li::marker { color: var(--cyan); font-weight: 700; }
/* Rechen-Captcha unten im Formular – eigener Kasten, damit es nicht wie ein normales Datenfeld wirkt */
.form .math-captcha { padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--cyan); }
.math-captcha legend { float: left; width: 100%; margin-bottom: .5rem; } /* float: Legende innerhalb des Kastens statt auf der Rahmenlinie */
.math-captcha .field { clear: both; }
.math-captcha label { font-size: 1.1rem; font-weight: 700; color: var(--heading); }
.math-captcha input[type="text"] { max-width: 10rem; font-size: 1.2rem; font-weight: 700; }

/* Hero: höchstens 780px hoch (auf sehr hohen Bildschirmen sonst leere Fläche) */
.hero__inner { min-height: min(calc(100svh - var(--header-h)), 780px); }
@media (max-width: 900px) { .hero__inner { min-height: 0; } }

/* Kurze Seiten (404, Danke): Footer schließt unten ab, kein leerer Streifen darunter */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; } /* svh: sichtbare Höhe auf Smartphones (Adressleiste) */
.site-main { flex: 1 0 auto; }

/* ---------- Hero: dezentes Wachstums-Diagramm im Hintergrund (render_growth_chart) ----------
   Ablauf: Balken wachsen nacheinander (≈1,5 s), dann zeichnet sich die Linie nach rechts oben, am Ende
   pulsiert ein Punkt. Danach „atmen“ die Balken noch eine Weile und kommen dann zur Ruhe (keine Endlos-Bewegung). Reduzierte Bewegung: sofort fertig, still.
   Nur ab 1025 px Breite sichtbar (Desktop). */
.growth { position: absolute; inset: auto 0 0 0; height: 72%; z-index: -1; pointer-events: none; opacity: .4; }
.growth svg { display: block; width: 100%; height: 100%; }
.growth__bar {
  fill: var(--line-strong); opacity: .5; transform-box: fill-box; transform-origin: 50% 100%;
  animation: growth-rise .9s cubic-bezier(.2, .8, .2, 1) both, growth-breathe 7s ease-in-out 6 alternate; /* 6× = endet nach ≈45 s wieder in Ruhe (WCAG 2.2.2) */
}
.growth__bar:nth-child(1)  { animation-delay: .05s, 2.6s; } .growth__bar:nth-child(2)  { animation-delay: .15s, 3.4s; }
.growth__bar:nth-child(3)  { animation-delay: .25s, 2.9s; } .growth__bar:nth-child(4)  { animation-delay: .35s, 3.8s; }
.growth__bar:nth-child(5)  { animation-delay: .45s, 3.1s; } .growth__bar:nth-child(6)  { animation-delay: .55s, 4.0s; }
.growth__bar:nth-child(7)  { animation-delay: .65s, 3.3s; } .growth__bar:nth-child(8)  { animation-delay: .75s, 4.2s; }
.growth__bar:nth-child(9)  { animation-delay: .85s, 3.6s; } .growth__bar:nth-child(10) { animation-delay: .95s, 4.4s; }
.growth__bar:nth-child(11) { animation-delay: 1.05s, 3.9s; } .growth__bar:nth-child(12) { animation-delay: 1.15s, 4.6s; }
.growth__line { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: growth-draw 2.2s ease-in-out .6s forwards; }
.growth__area { fill: var(--cyan); opacity: 0; animation: growth-fade 1.2s ease 2.4s forwards; }
.growth__dot { fill: var(--cyan); opacity: 0; animation: growth-show .4s ease 2.7s forwards; }
.growth__pulse { fill: none; stroke: var(--cyan); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; animation: growth-pulse 2.4s ease-out 3s 4; } /* 4 Pulse, danach still */
@keyframes growth-rise    { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes growth-breathe { from { transform: scaleY(1); } to { transform: scaleY(.93); } }
@keyframes growth-draw    { to { stroke-dashoffset: 0; } }
@keyframes growth-fade    { to { opacity: .07; } }
@keyframes growth-show    { to { opacity: 1; } }
@keyframes growth-pulse   { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
/* Smartphone und Tablet (bis 1024 px): ohne Diagramm – dort steht der Text allein, ruhiger und schneller */
@media (max-width: 1024px) { .growth { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .growth__bar, .growth__line, .growth__area, .growth__dot, .growth__pulse { animation: none; }
  .growth__line { stroke-dashoffset: 0; }
  .growth__area { opacity: .07; }
  .growth__dot { opacity: 1; }
}
