/* TG4Tools — helles Thema.
   Weiss mit blassblauen Verlaeufen, kraeftiges Blau als Akzent, grosse weiche
   Karten, viel Luft. Grosse Zahlen tragen die Seite. */

:root {
  --bg: #ffffff;
  --bg-weich: #f5f9ff;
  --bg-blau: #eaf2ff;
  --karte: #ffffff;
  --rand: #e4ecf7;
  --rand-stark: #cddcf0;

  --text: #0d1c38;
  --text-2: #475a7a;
  --muted: #74879f;
  --dim: #9aabc2;

  --blau: #2b6ef5;
  --blau-dunkel: #1b52c7;
  --blau-hell: #5a95ff;
  --blau-weich: #e9f1ff;
  --gruen: #10a860;
  --gruen-weich: #e6f7ef;
  --amber: #c97a09;
  --amber-weich: #fdf3e2;
  --rot: #d63a3a;
  --rot-weich: #fdeded;

  --r: 16px;
  --r-gross: 24px;
  --pill: 999px;
  --schatten: 0 2px 10px rgba(21, 52, 110, .05);
  --schatten-mittel: 0 6px 20px rgba(21, 52, 110, .08);
  --schatten-hoch: 0 16px 42px rgba(21, 52, 110, .13);
  --maxw: 1180px;
  --kurve: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: ""; position: fixed; inset: 0 0 auto 0; height: 820px; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(960px 460px at 12% -8%, #dce9ff 0%, transparent 60%),
    radial-gradient(820px 420px at 90% 0%, #e7eeff 0%, transparent 56%),
    linear-gradient(180deg, var(--bg-weich) 0%, #ffffff 100%);
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Abschnittsbaender zur Trennung, abwechselnd weiss und blassblau. */
.band { background: var(--bg-weich); border-block: 1px solid var(--rand); }
.band-blau { background: linear-gradient(180deg, #f2f7ff, #ffffff); }

/* --- Band ---------------------------------------------------------------- */
.simband {
  background: var(--amber-weich);
  border-bottom: 1px solid #f3e0bd;
  color: var(--amber);
  font-size: 12.5px; text-align: center; padding: 8px 16px;
  position: relative; z-index: 30;
}
.simband strong { font-weight: 650; }

/* --- Kopf ---------------------------------------------------------------- */
header.top { position: sticky; top: 0; z-index: 25; }
header.top .bar {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 20px; height: 70px; padding: 0 24px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
header.top.gescrollt .bar { border-bottom-color: var(--rand); box-shadow: var(--schatten); }

.brand { font-size: 18px; font-weight: 700; letter-spacing: -.3px; display: flex;
         align-items: center; gap: 10px; }
.brand .dot {
  width: 26px; height: 26px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blau-hell), var(--blau));
  box-shadow: 0 4px 12px rgba(43, 110, 245, .32);
  transition: transform .25s var(--kurve);
}
.brand:hover .dot { transform: rotate(-8deg) scale(1.06); }

nav.main { display: flex; gap: 4px; margin-left: auto; align-items: center; font-size: 14.5px; }
nav.main a { color: var(--text-2); padding: 8px 15px; border-radius: var(--pill);
             transition: .16s var(--kurve); font-weight: 500; }
nav.main a:hover { color: var(--blau); background: var(--blau-weich); }
nav.main a.aktiv { color: var(--blau); background: var(--blau-weich); }

.saldo-chip {
  background: var(--gruen-weich); border: 1px solid #c7ecd9; border-radius: var(--pill);
  padding: 7px 16px; font-size: 13.5px; font-variant-numeric: tabular-nums; color: #0b7c46;
}
.saldo-chip b { font-weight: 700; }

/* Menue fuer schmale Fenster */
.menu-knopf { display: none; margin-left: auto; width: 42px; height: 42px; flex: none;
              border: 1px solid var(--rand-stark); background: #fff; border-radius: 12px;
              cursor: pointer; padding: 0; position: relative; }
.menu-knopf span, .menu-knopf::before, .menu-knopf::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: var(--text); transition: .2s var(--kurve);
}
.menu-knopf::before { top: 14px; }
.menu-knopf span { top: 20px; }
.menu-knopf::after { top: 26px; }
.menu-knopf[aria-expanded="true"]::before { top: 20px; transform: rotate(45deg); }
.menu-knopf[aria-expanded="true"] span { opacity: 0; }
.menu-knopf[aria-expanded="true"]::after { top: 20px; transform: rotate(-45deg); }

/* --- Knoepfe ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  border: 1px solid var(--rand-stark); background: #fff;
  color: var(--text); border-radius: var(--pill); padding: 11px 24px;
  font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: transform .18s var(--kurve), box-shadow .18s, background .18s,
              border-color .18s, color .18s;
  position: relative; overflow: hidden;
}
.btn:hover { border-color: var(--blau); color: var(--blau); transform: translateY(-2px);
             box-shadow: var(--schatten-mittel); }
.btn:active { transform: translateY(0) scale(.985); box-shadow: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(43,110,245,.3); }

.btn.primary {
  background: linear-gradient(135deg, var(--blau-hell) 0%, var(--blau) 55%);
  border-color: transparent; color: #fff;
  box-shadow: 0 6px 18px rgba(43, 110, 245, .3);
}
.btn.primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(43, 110, 245, .4); }
.btn.weich { background: var(--blau-weich); border-color: transparent; color: var(--blau); }
.btn.weich:hover { background: #dbe8ff; color: var(--blau-dunkel); }
.btn.lg { padding: 15px 34px; font-size: 16.5px; }
.btn.sm { padding: 7px 16px; font-size: 13.5px; }
.btn.danger { color: var(--rot); border-color: #f3cdcd; }
.btn.danger:hover { background: var(--rot-weich); border-color: var(--rot); color: var(--rot); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* Pfeil, der beim Ueberfahren mitgeht */
.btn .pfeil { transition: transform .22s var(--kurve); }
.btn:hover .pfeil { transform: translateX(4px); }

/* Ladezustand beim Absenden: der Knopf sagt, dass etwas passiert. */
.btn.laedt { pointer-events: none; color: transparent !important; }
.btn.laedt::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 17px; height: 17px;
  border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
  color: #fff; animation: dreh .7s linear infinite;
}
.btn:not(.primary).laedt::after { color: var(--blau); }
@keyframes dreh { to { transform: rotate(360deg); } }

/* --- Flaechen ------------------------------------------------------------ */
.card {
  background: var(--karte); border: 1px solid var(--rand); border-radius: var(--r);
  padding: 26px; box-shadow: var(--schatten);
}
.card.hover { transition: box-shadow .25s var(--kurve), transform .25s var(--kurve),
                          border-color .25s; }
.card.hover:hover { box-shadow: var(--schatten-hoch); transform: translateY(-4px);
                    border-color: #d6e4f7; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.kpi {
  background: var(--karte); border: 1px solid var(--rand); border-radius: var(--r);
  padding: 22px 24px; box-shadow: var(--schatten);
  transition: box-shadow .25s var(--kurve), transform .25s var(--kurve);
}
.kpi:hover { box-shadow: var(--schatten-mittel); transform: translateY(-2px); }
.kpi .label { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.kpi .value { font-size: 34px; font-weight: 700; margin-top: 6px; letter-spacing: -1.2px;
              font-variant-numeric: tabular-nums; color: var(--blau); line-height: 1.15; }

/* --- Typografie ---------------------------------------------------------- */
h1 { font-size: 36px; font-weight: 700; margin: 0 0 14px; letter-spacing: -1.2px; line-height: 1.16; }
h2 { font-size: 22px; font-weight: 700; margin: 0 0 14px; letter-spacing: -.5px; }
h3 { font-size: 16.5px; font-weight: 650; margin: 0 0 9px; }
p.lead { color: var(--text-2); font-size: 17.5px; max-width: 620px; line-height: 1.72; }
.muted { color: var(--text-2); }
.dim { color: var(--muted); }
.small { font-size: 13.5px; }
.verlauf { background: linear-gradient(100deg, var(--blau) 10%, #7aa8ff 90%);
           -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Badge --------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--rand); border-radius: var(--pill);
  padding: 8px 18px; font-size: 13.5px; color: var(--text-2); margin-bottom: 28px;
  box-shadow: var(--schatten);
}
.puls { width: 7px; height: 7px; border-radius: 50%; background: var(--gruen);
        box-shadow: 0 0 0 0 rgba(16,168,96,.5); animation: p 2.4s infinite; }
@keyframes p { 70% { box-shadow: 0 0 0 7px rgba(16,168,96,0); } 100% { box-shadow: 0 0 0 0 rgba(16,168,96,0); } }

/* --- Einblenden beim Scrollen -------------------------------------------- */
/* Nur verstecken, wenn JavaScript laeuft. Ohne das `js` am <html> bleibt alles
   sichtbar — sonst waere die Seite leer, falls das Skript ausfaellt. */
.js .zeig { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--kurve),
                                                                transform .6s var(--kurve); }
.js .zeig.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .zeig { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Startseite ---------------------------------------------------------- */
.hero { padding: 86px 0 48px; text-align: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.08; max-width: 880px; margin: 0 auto 22px; }
.hero p.lead { margin: 0 auto 36px; font-size: 18.5px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .unter { margin-top: 20px; font-size: 13.5px; color: var(--muted); }

/* Produktbild unter dem Vorspann */
.schau { max-width: 940px; margin: 56px auto 0; perspective: 1400px; }
.schau-rahmen {
  background: #fff; border: 1px solid var(--rand); border-radius: var(--r-gross);
  box-shadow: 0 30px 70px rgba(21, 52, 110, .16); overflow: hidden;
  transform: rotateX(4deg); transform-origin: top center;
}
.schau-leiste { display: flex; align-items: center; gap: 7px; padding: 13px 18px;
                border-bottom: 1px solid var(--rand); background: var(--bg-weich); }
.schau-leiste i { width: 10px; height: 10px; border-radius: 50%; background: #d9e3f1; }
.schau-leiste .adr { margin-left: 12px; font-size: 12px; color: var(--dim);
                     background: #fff; border: 1px solid var(--rand); border-radius: var(--pill);
                     padding: 3px 14px; }
.schau-inhalt { padding: 22px; display: grid; gap: 14px; }
.schau-zeile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.schau-kachel { background: var(--bg-weich); border: 1px solid var(--rand); border-radius: 12px;
                padding: 14px 16px; text-align: left; }
.schau-kachel b { display: block; font-size: 21px; color: var(--blau); letter-spacing: -.6px; }
.schau-kachel span { font-size: 11px; color: var(--muted); }
.schau-balken { height: 9px; border-radius: 5px; background: var(--bg-blau); overflow: hidden; }
.schau-balken i { display: block; height: 100%; border-radius: 5px;
                  background: linear-gradient(90deg, var(--blau-hell), var(--blau));
                  animation: fuell 2.6s var(--kurve) forwards; }
@keyframes fuell { from { width: 0; } }

.logos { display: flex; flex-wrap: wrap; gap: 44px; justify-content: center; align-items: center;
         padding: 16px 0 6px; }
.logos span { font-size: 16px; font-weight: 700; letter-spacing: -.3px; color: #b6c5d9;
              transition: color .2s; }
.logos span:hover { color: var(--blau); }

.schritt { position: relative; }
.schritt .nr {
  width: 42px; height: 42px; border-radius: 13px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blau-weich), #dbe8ff);
  display: grid; place-items: center; color: var(--blau); font-weight: 700; font-size: 17px;
}

section { padding: 64px 0; }
.sec-kopf { text-align: center; margin-bottom: 42px; }
.sec-kopf h2 { font-size: 34px; letter-spacing: -1.2px; }
.sec-kopf p { color: var(--text-2); max-width: 560px; margin: 10px auto 0; font-size: 16.5px; }

.preiskarte { max-width: 470px; margin: 0 auto; border-radius: var(--r-gross);
              border: 2px solid var(--blau); box-shadow: var(--schatten-hoch);
              position: relative; overflow: hidden; }
.preiskarte::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 110px;
  background: linear-gradient(180deg, var(--blau-weich), transparent); pointer-events: none;
}
.preiskarte > * { position: relative; }
.preiskarte .zahl { font-size: 56px; font-weight: 700; letter-spacing: -2.4px; color: var(--blau);
                    line-height: 1.1; }
.liste { list-style: none; margin: 20px 0 0; padding: 0; }
.liste li { padding: 9px 0 9px 32px; position: relative; color: var(--text-2); font-size: 15px; }
.liste li::before {
  content: "✓"; position: absolute; left: 0; top: 10px; color: var(--gruen); font-weight: 700;
  width: 21px; height: 21px; border-radius: 50%; background: var(--gruen-weich);
  display: grid; place-items: center; font-size: 12px;
}

details.faq { border: 1px solid var(--rand); border-radius: var(--r); margin-bottom: 11px;
              background: #fff; box-shadow: var(--schatten); transition: box-shadow .2s, border-color .2s; }
details.faq:hover { border-color: var(--rand-stark); box-shadow: var(--schatten-mittel); }
details.faq[open] { border-color: var(--blau); }
details.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; margin-left: auto; color: var(--blau); font-size: 22px;
                             line-height: 1; transition: transform .2s var(--kurve); }
details.faq[open] summary::after { content: "−"; transform: rotate(180deg); }
details.faq p { margin: 0 22px 20px; color: var(--text-2); font-size: 15px; }

.cta-band {
  text-align: center; border-radius: var(--r-gross); padding: 68px 28px;
  background: linear-gradient(135deg, #2b6ef5 0%, #5a95ff 55%, #7aa8ff 100%);
  color: #fff; box-shadow: 0 24px 56px rgba(43, 110, 245, .3);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,.1); right: -130px; top: -170px;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: 34px; letter-spacing: -1.2px; color: #fff; }
.cta-band .muted { color: rgba(255,255,255,.9); }
.cta-band .btn.primary { background: #fff; color: var(--blau); border-color: #fff; box-shadow: none; }
.cta-band .btn.primary:hover { background: #eef4ff; color: var(--blau-dunkel);
                               box-shadow: 0 10px 26px rgba(0,0,0,.14); }

.stimme { font-size: 15px; color: var(--text-2); line-height: 1.72; }
.stimme .wer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.stimme .av { width: 38px; height: 38px; border-radius: 50%; flex: none;
              background: linear-gradient(135deg, var(--blau-hell), var(--blau));
              display: grid; place-items: center; font-size: 13.5px; font-weight: 700; color: #fff; }
.stimme .nm { color: var(--text); font-size: 14px; font-weight: 650; }

footer { border-top: 1px solid var(--rand); padding: 52px 0 32px; color: var(--muted);
         font-size: 13.5px; margin-top: 44px; background: var(--bg-weich); }
footer a { transition: color .15s; }
footer a:hover { color: var(--blau); }
.fuss-spalten { display: grid; grid-template-columns: 1.6fr repeat(2, 1fr); gap: 32px;
                margin-bottom: 34px; }
.fuss-spalten h4 { font-size: 13px; color: var(--text); margin: 0 0 12px; font-weight: 650; }
.fuss-spalten a { display: block; padding: 4px 0; }
.fuss-unten { border-top: 1px solid var(--rand); padding-top: 22px; display: flex;
              gap: 18px; flex-wrap: wrap; align-items: center; }

/* --- Formulare ----------------------------------------------------------- */
label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 7px; font-weight: 500; }
input[type=text], input[type=number], input[type=file], select, textarea {
  width: 100%; background: #fff; border: 1px solid var(--rand-stark);
  color: var(--text); border-radius: 11px; padding: 12px 15px;
  font-family: inherit; font-size: 15px; transition: .16s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(43,110,245,.13);
}
textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.feld { margin-bottom: 18px; }

/* Schrittanzeige im Assistenten */
.schritte-leiste { display: flex; align-items: center; gap: 10px; justify-content: center;
                   margin-bottom: 34px; flex-wrap: wrap; }
.schritte-leiste .s { display: flex; align-items: center; gap: 9px; font-size: 13.5px;
                      color: var(--muted); font-weight: 500; }
.schritte-leiste .s b { width: 26px; height: 26px; border-radius: 50%; background: #fff;
                        border: 1px solid var(--rand-stark); display: grid; place-items: center;
                        font-size: 12.5px; color: var(--muted); font-weight: 700; }
.schritte-leiste .s.aktiv { color: var(--blau); }
.schritte-leiste .s.aktiv b { background: var(--blau); border-color: var(--blau); color: #fff; }
.schritte-leiste .strich { width: 42px; height: 1px; background: var(--rand-stark); }

/* --- Tabellen ------------------------------------------------------------ */
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px;
     text-transform: uppercase; letter-spacing: .6px; padding: 12px 14px;
     border-bottom: 1px solid var(--rand); }
td { padding: 14px; border-bottom: 1px solid var(--rand); }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .14s; }
tbody tr:hover { background: var(--bg-weich); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td a { color: var(--blau); font-weight: 600; }

/* --- Zustaende ----------------------------------------------------------- */
.pill { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 5px 13px;
        border-radius: var(--pill); border: 1px solid var(--rand); color: var(--muted); }
.pill.running { color: #0b7c46; border-color: #c7ecd9; background: var(--gruen-weich); }
.pill.draft   { color: var(--muted); background: var(--bg-weich); }
.pill.paused  { color: var(--amber); border-color: #f3e0bd; background: var(--amber-weich); }
.pill.stopped { color: var(--rot); border-color: #f3cdcd; background: var(--rot-weich); }

/* --- Zielgruppen --------------------------------------------------------- */
.zielliste { max-height: 430px; overflow-y: auto; border: 1px solid var(--rand);
             border-radius: 13px; background: #fff; }
.zielzeile { display: flex; align-items: center; gap: 13px; padding: 12px 16px;
             border-bottom: 1px solid var(--rand); cursor: pointer; transition: background .13s; }
.zielzeile:last-child { border-bottom: 0; }
.zielzeile:hover { background: var(--bg-weich); }
.zielzeile input { width: auto; accent-color: var(--blau); }
.zielzeile .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
                 white-space: nowrap; font-weight: 500; }
.zielzeile .mt { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }

/* --- Meldungen ----------------------------------------------------------- */
.hinweis { background: var(--amber-weich); border: 1px solid #f3e0bd; color: #8a5508;
           border-radius: 13px; padding: 15px 18px; font-size: 14px; }
.fehler  { background: var(--rot-weich); border: 1px solid #f3cdcd; color: #a52727;
           border-radius: 13px; padding: 15px 18px; font-size: 14px; }
.erfolg  { background: var(--gruen-weich); border: 1px solid #c7ecd9; color: #0b7c46;
           border-radius: 13px; padding: 15px 18px; font-size: 14px; }

code { background: var(--bg-blau); border: 1px solid var(--rand); border-radius: 7px;
       padding: 2px 8px; font-size: 13.5px; color: var(--blau-dunkel); }
.adresse { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
           font-size: 13px; word-break: break-all; }
.eingefasst { background: var(--bg-weich); border: 1px solid var(--rand);
              border-radius: 12px; padding: 14px; }

@media (max-width: 860px) {
  .fuss-spalten { grid-template-columns: 1fr 1fr; }
  .schau-zeile { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .menu-knopf { display: block; }
  nav.main {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 6px; padding: 16px 20px 22px; background: #fff;
    border-bottom: 1px solid var(--rand); box-shadow: var(--schatten-mittel);
    display: none;
  }
  nav.main.offen { display: flex; }
  nav.main a { padding: 12px 14px; }
  nav.main .btn { margin-top: 6px; }
  .hero { padding: 54px 0 36px; }
  section { padding: 44px 0; }
  .sec-kopf h2 { font-size: 27px; }
  .card { padding: 20px; }
  .schau { margin-top: 38px; }
  .schau-rahmen { transform: none; }
}

/* ===========================================================================
   Bewegte Elemente der Startseite
   =========================================================================== */

/* --- Weltkugel im Hintergrund des Vorspanns -------------------------------
   Eigene Zeichnung auf Canvas statt einer 3D-Bibliothek: ein paar hundert
   Punkte auf einer Kugel, die sich dreht. Kostet keine Fremdabhaengigkeit und
   laeuft auch auf schwachen Geraeten fluessig. */
/* Kein negativer z-index: der Seitenhintergrund (body::before) liegt selbst auf
   -1 und wuerde die Kugel verdecken. Stattdessen Kugel auf 0, Inhalt auf 1. */
.kugel-feld { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.kugel-feld canvas { position: absolute; top: 50%; left: 50%;
                     transform: translate(-50%, -50%); opacity: .85; }
.hero { position: relative; }
.hero > .wrap { position: relative; z-index: 1; }

/* --- Laufband der Partnerlogos -------------------------------------------- */
.laufband { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent,
            #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.laufband .spur { display: flex; gap: 56px; width: max-content; animation: lauf 34s linear infinite; }
.laufband:hover .spur { animation-play-state: paused; }
.laufband span { font-size: 17px; font-weight: 700; letter-spacing: -.3px; color: #b6c5d9;
                 white-space: nowrap; transition: color .2s; }
.laufband span:hover { color: var(--blau); }
@keyframes lauf { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .laufband .spur { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* --- Zahlwege ------------------------------------------------------------- */
.weg-karte { display: flex; gap: 16px; align-items: flex-start; }
.weg-karte .zeichen { width: 46px; height: 46px; border-radius: 14px; flex: none;
                      display: grid; place-items: center; font-size: 21px;
                      background: linear-gradient(135deg, var(--blau-weich), #dbe8ff); }

/* --- Empfehlungsbereich --------------------------------------------------- */
.aff-band { border-radius: var(--r-gross); padding: 44px; background: #fff;
            border: 1px solid var(--rand); box-shadow: var(--schatten-mittel);
            display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.aff-zahl { font-size: 58px; font-weight: 700; letter-spacing: -2.4px; color: var(--blau);
            line-height: 1; }

/* --- Blog-Anreisser ------------------------------------------------------- */
.blog-kachel { display: flex; flex-direction: column; height: 100%; }

@media (max-width: 860px) {
  .aff-band { grid-template-columns: 1fr; padding: 30px; }
}
