/* =====================================================================
   walluta.PAY – Stylesheet
   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; }
.kicker--accent { color: var(--cyan-deep); }
.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--left { margin-right: .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(--sky); color: var(--blue); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.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; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; text-underline-offset: 3px; }
.link-button:hover { text-decoration-thickness: 2px; }

/* ---------- 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;
}
.site-nav__link:hover { background: var(--sky); color: var(--blue); }
.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(--sky); color: var(--blue); }
.lang-switch__link[aria-current="true"] { color: var(--blue); background: var(--sky); }
.lang-switch__link[aria-current="true"],
.lang-switch__link:hover,
.site-nav__link:hover,
.btn--secondary:hover { background: var(--surface-2); color: var(--text); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .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__canvas { position: absolute; inset: 0; z-index: -1; }
.hero__canvas canvas { display: block; width: 100%; height: 100%; }
.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__title--center { text-align: center; }
.section__title--xl { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section__intro { font-size: 1.1rem; color: var(--text-muted); }
.section--crypto { border-top: 4px solid var(--cyan); border-bottom: 4px solid var(--cyan); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__body { order: -1; }
.split__img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-hard); width: 100%; object-fit: cover; }
.split__img--wide { aspect-ratio: 3/1; }
.split__img--contain { object-fit: contain; border: 0; box-shadow: none; }
.split__media { position: relative; }

/* Lösungsseite im Spalten-Layout: ein hohes Bild links, alle Abschnitte rechts (solutions.<key>.aside) */
.page-head:not(.page-head--media) .split__body { max-width: 820px; }
.aside-layout { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.aside-layout__media { margin: 0; }
.aside-layout__img { width: 100%; max-height: 1000px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-hard); }
.aside-layout__body { display: grid; gap: 3rem; }
.aside-layout__sec > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .aside-layout { grid-template-columns: 1fr; }
  /* Mobil erst der Text, dann das Bild – sonst müsste man an einem sehr hohen Bild vorbeiscrollen */
  .aside-layout__media { order: 2; width: 100%; max-width: 400px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__body { order: 0; }
  .split__media { order: -1; }
}

/* Krypto-Münzen (dekorativ, ohne Verlauf) */
.coin-stage { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.coin { position: absolute; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; border: 3px solid var(--blue-ink); box-shadow: 4px 4px 0 var(--blue-ink); background: #fff; color: var(--blue-ink); animation: floaty 6s ease-in-out infinite; }
.coin .icon { width: 2rem; height: 2rem; }
.coin--btc { top: -20px; left: 6%; background: #f7931a; animation-delay: 0s; }
.coin--eth { top: 30%; right: -14px; background: #d7dcf5; animation-delay: -2s; }
.coin--usdt { bottom: 8%; left: -12px; background: #50af95; animation-delay: -4s; }
.coin--eur { bottom: -18px; right: 12%; background: var(--cyan); animation-delay: -1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.partner-logos { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 1.5rem; }
.partner-logos img { background: #fff; padding: .5rem .8rem; border-radius: var(--radius-sm); border: 1px solid var(--line); height: 64px; width: auto; }
.partner-logos__dark { background: var(--blue-deep) !important; }

/* Karten */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* war in Templates schon verwendet, aber nie definiert → fiel auf 4 Spalten zurück */
.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; } }

/* Geräte & Preise: Angebotskarten (nach dem Vorbild von Preiskarten), Buttons stehen unten bündig */
/* 2 Spalten, alle Kacheln gleich hoch (auch zeilenübergreifend: grid-auto-rows 1fr) */
.offers { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; max-width: 980px; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.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__icon { color: var(--cyan-deep); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); }
.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; }
.offer__fee { margin: 0; font-weight: 700; color: var(--text); }
.offer__features { margin: .75rem 0 1rem; }
.offer__actions { margin-top: auto; display: grid; gap: .6rem; justify-items: start; }
.offer__more { color: var(--link); font-weight: 500; min-height: 1.6em; display: inline-block; }
.offer__more--empty { visibility: hidden; } /* hält den Platz frei, damit alle Buttons auf einer Linie stehen */
.sales-address { margin: .9rem 0 0; font-size: .95rem; color: var(--text-muted); }
.sales-address a { color: var(--link); font-weight: 500; }
.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(--sky); 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; }
.card--highlight { background: var(--blue-deep); border-color: var(--cyan); color: #fff; }
.card--highlight .card__title { color: #fff; }
.card--highlight .card__text { color: #dbe2ff; }
.card--highlight .card__icon { background: var(--cyan); color: var(--blue-ink); }
.card--highlight .card__more { color: var(--cyan); }
a.card--highlight:hover { box-shadow: 6px 6px 0 var(--cyan); }
.card__icon { background: var(--surface-2); color: var(--cyan-deep); }

/* Zahlarten-Blöcke */
.methods { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.method { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.method__title { margin-bottom: .25rem; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; font-weight: 700; }
.method__text { color: var(--text-muted); font-size: .95rem; }
.method--highlight { border: 2px solid var(--cyan); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips__label { font-weight: 700; margin: 1.25rem 0 .5rem; color: var(--text-muted); font-size: .9rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem .35rem .45rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface-2); font-size: .85rem; font-weight: 500; color: var(--text);
}
.chip__icon { width: 1.35rem; height: 1.35rem; }
.chip--btc .chip__icon { color: #f7931a; }
.chip--eth .chip__icon { color: #627eea; }
.chip--usdt .chip__icon, .chip--usdc .chip__icon { color: var(--green); }

/* 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); }
/* Einspaltige, kompakte Variante neben einer Grafik (Nummer links, Text rechts) */
.steps--list { gap: .75rem; margin-top: 1.5rem; }
.steps--list .steps__item { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1rem 1.25rem; }
.steps--list .steps__num { grid-row: span 2; margin: 0; }

/* 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; }

/* Galerie */
.gallery { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1rem; }
.gallery__item { margin: 0; }
.gallery__img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Vergleich / Ablauf */
.compare { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 1rem; }
.compare__col { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.compare__col--fast { border: 2px solid var(--green); }
.compare__title { margin-bottom: 1rem; }
.flow { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; counter-reset: flow; }
.flow__node { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: .3rem .75rem; font-size: .85rem; font-weight: 500; position: relative; }
.flow__node + .flow__node::before { content: "→"; position: absolute; left: -.85rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.compare__col--fast .flow__node { border-color: var(--green); }
.compare__text { margin: 0; font-weight: 500; }

/* Medien-Duo (Portal) */
.media-duo { position: relative; padding-right: 20%; }
.media-duo__main { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-hard); }
.media-duo__small { position: absolute; right: 0; bottom: -10%; width: 32%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: var(--surface); }

/* 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__icon { color: var(--cyan-deep); }
.page-head__intro { font-size: 1.1rem; color: var(--text-muted); max-width: 70ch; }
.page-head--media .split__media { margin-top: 1rem; }
.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(--blue); }
.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; }

.captcha-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.captcha-block__title { font-size: 1.15rem; margin-bottom: .75rem; }

/* OctaPass-Captcha (farbbasiert; Farbnamen stehen immer als Text dabei) */
.octapass { border: 2px solid var(--line-strong); border-radius: var(--radius); padding: 1.25rem; background: var(--surface-2); max-width: 480px; }
.octapass.is-solved { border-color: var(--green); }
.octapass.is-busy { opacity: .7; }
.octapass__brand { font-size: .78rem; color: var(--text-muted); margin: 0 0 .4rem; }
.octapass__intro { font-weight: 500; margin-bottom: .75rem; }
.octapass__task { list-style: none; margin: 0 0 1rem; padding: .75rem 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; gap: .35rem; }
.octapass__row { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--heading); }
.octapass__row.is-done { color: var(--green); }
.octapass__row.is-done .octapass__name { text-decoration: line-through; text-decoration-thickness: 2px; }
.octapass__status { font-weight: 400; }
.octapass__swatch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.octapass__form { margin: 0; }
.octapass__buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 1rem; }
.octapass__btn {
  aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--line-strong); cursor: pointer; padding: 0;
  display: grid; place-items: end center; font: inherit; transition: transform .12s, box-shadow .12s; min-height: 60px;
}
.octapass__btn:hover { transform: scale(1.08); box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--blue); }
.octapass__btn:active { transform: scale(.95); }
.octapass__btn-label { font-size: .7rem; font-weight: 700; line-height: 1; padding: .2rem .4rem; margin-bottom: 6px; border-radius: 999px; background: rgba(255,255,255,.92); color: #111; }
.octapass__btn--rot, .octapass__swatch--rot { background: #e53935; }
.octapass__btn--blau, .octapass__swatch--blau { background: #1e40af; }
.octapass__btn--gruen, .octapass__swatch--gruen { background: #2e9e4f; }
.octapass__btn--orange, .octapass__swatch--orange { background: #f39c12; }
.octapass__btn--schwarz, .octapass__swatch--schwarz { background: #111111; }
.octapass__btn--weiss, .octapass__swatch--weiss { background: #ffffff; }
.octapass__btn--gelb, .octapass__swatch--gelb { background: #ffe600; }
.octapass__btn--tuerkis, .octapass__swatch--tuerkis { background: #2ec4d6; }
.octapass__progress { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: .75rem; }
.octapass__progress-inner { display: block; height: 100%; background: var(--green); border-radius: 999px; transition: width .3s ease; width: 0; }
.octapass__progress-inner--10 { width: 10%; } .octapass__progress-inner--20 { width: 20%; } .octapass__progress-inner--30 { width: 30%; }
.octapass__progress-inner--40 { width: 40%; } .octapass__progress-inner--50 { width: 50%; } .octapass__progress-inner--60 { width: 60%; }
.octapass__progress-inner--70 { width: 70%; } .octapass__progress-inner--80 { width: 80%; } .octapass__progress-inner--90 { width: 90%; }
.octapass__progress-inner--100 { width: 100%; }
.octapass__solved { color: var(--green); font-weight: 700; margin: .75rem 0 0; }
.octapass__error { color: var(--orange); font-weight: 700; margin: .75rem 0 0; }
.octapass__solved[hidden], .octapass__error[hidden] { display: none; }
.is-solved .octapass__buttons, .is-solved .octapass__progress, .is-solved .octapass__reset, .is-solved .octapass__intro { display: none; }
@media (max-width: 420px) { .octapass__buttons { grid-template-columns: repeat(4, 1fr); gap: .4rem; } .octapass__btn { min-height: 56px; } }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 500;
  width: min(100% - 2 * var(--gutter), 720px); background: var(--surface); color: var(--text);
  border: 2px solid var(--blue); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 1.25rem 1.5rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__title { font-size: 1.1rem; margin-bottom: .4rem; }
.cookie-banner__text { font-size: .92rem; margin-bottom: 1rem; }
.cookie-banner__form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.cookie-banner__form legend { font-weight: 700; margin-bottom: .5rem; }
.cookie-banner__cat { display: grid; grid-template-columns: auto 1fr; gap: .1rem .7rem; padding: .5rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.cookie-banner__cat input { width: 22px; height: 22px; grid-row: span 2; margin-top: .15rem; accent-color: var(--green); }
.cookie-banner__cat-name { font-weight: 700; }
.cookie-banner__cat-desc { font-size: .85rem; color: var(--text-muted); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-banner__actions .btn { flex: 1 1 auto; }

/* ---------- 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 { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 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__license { font-size: .9rem; }
.site-footer__ziib { display: inline-block; background: #fff; padding: .3rem .5rem; border-radius: 6px; margin-top: .5rem; }
.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, .site-footer__nav .link-button { color: #fff; text-decoration: none; padding: .2rem 0; display: inline-block; min-height: 32px; }
.site-footer__nav a:hover, .site-footer__nav .link-button: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; }
/* „Coming soon“-Sternchen an Krypto-Begriffen (include/crypto-notice.php) – erbt die Textfarbe, bleibt damit überall lesbar */
.cs-mark { font-size: .7em; font-weight: 700; margin-left: .05em; line-height: 0; }
/* In Flex-Buttons ist das Sternchen ein eigenes Flex-Element → den .btn-gap (.25rem) ausgleichen, sonst „Crypto *“ */
.btn > .cs-mark { margin-left: -.2rem; }
.site-footer__note { max-width: 90ch; color: #fff; font-weight: 500; }
/* 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: 900px) { .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: .6rem .75rem; 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; }
  .coin { animation: none; }
}
