/* HappyPay Website — ein Stylesheet für alle Seiten.
   Farben: Weiß trägt, Schwarz für Text und Knöpfe, Amber nur als Akzent. */

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/web-assets/fonts/hanken-grotesk-latin.woff2) format('woff2');
}

:root {
  --bg: #ffffff;
  --flaeche: #ffffff;
  --flaeche-2: #f4f4f5;
  --tint: #ffffff;
  --tinte: #17140d;
  --tinte-2: #3f3f46;
  --leise: #6b6b73;
  --linie: #e7e7e9;
  --amber: #f5c842;        /* Gelb der Münze im Logo (#F5D368), etwas kräftiger */
  --amber-dunkel: var(--amber);
  --gelb-hell: #fff3c9;
  --dunkel: #17140d;
  --kopf-bg: transparent;
  --buehne-bg: transparent;
  --abschluss-bg: var(--flaeche-2);
  --abschluss-text: var(--tinte);
  --knopf: var(--tinte);
  --knopf-text: #fff;
  --akzent: var(--amber);
  --radius: 20px;
  --radius-klein: 12px;
  --schatten: 0 1px 2px rgba(23, 20, 13, .06), 0 8px 24px rgba(23, 20, 13, .06);
  --breite: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tinte);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.022em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.03em; line-height: 1.05; }
h3 { font-weight: 650; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--breite); margin-inline: auto; padding-inline: 20px; }
.schmal { max-width: 760px; }
.mitte { text-align: center; margin-inline: auto; }
.leise { color: var(--leise); }
/* Kleine Zeile über der Hauptüberschrift: sagt in drei Wörtern, worum es geht. */
.dachzeile { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .95rem; font-weight: 700; color: var(--tinte); }
.dachzeile::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.haken-liste a { color: inherit; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--tinte-2); max-width: 46rem; }
.mitte .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tinte); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-dunkel { background: var(--knopf); color: var(--knopf-text); }
.btn-dunkel:hover { background: #3a352a; }
.btn-rand { background: transparent; color: var(--tinte); border-color: var(--linie); }
.btn-rand:hover { border-color: var(--tinte); }
.btn-amber { background: var(--amber); color: var(--tinte); }
.btn-pfeil { padding-left: 6px; }
.btn-pfeil .kreis { width: 36px; height: 36px; border-radius: 50%; background: var(--akzent); color: var(--tinte); display: grid; place-content: center; margin-right: 4px; font-size: 1.1rem; }
.btn-amber:hover { background: #f7d264; }
.btn-rand-hell { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-rand-hell:hover { border-color: #fff; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.mitte .knoepfe { justify-content: center; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.kopf-innen { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { height: 28px; width: auto; }
.menue { display: flex; align-items: center; gap: 4px; flex: 1; }
.menue > a, .mm > summary { padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; list-style: none; }
.menue > a:hover, .mm > summary:hover { background: var(--flaeche-2); }
.menue > a[aria-current] { background: var(--flaeche-2); }
.mm { position: relative; }
.mm > summary::-webkit-details-marker { display: none; }
.mm > summary::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .15s; }
.mm[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.mm-panel { position: absolute; top: calc(100% + 10px); left: 0; width: 520px; padding: 10px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 16px; box-shadow: 0 20px 50px rgba(23, 20, 13, .12); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mm-panel.mm-schmal { width: 240px; grid-template-columns: 1fr; }
.mm-panel a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.mm-panel a:hover { background: var(--flaeche-2); }
.mm-panel strong { display: block; font-size: .98rem; }
.mm-panel span { display: block; font-size: .88rem; color: var(--leise); line-height: 1.4; margin-top: 2px; }
.kopf-rechts { display: flex; align-items: center; gap: 18px; }
.login { font-weight: 600; text-decoration: none; font-size: .98rem; }
.login:hover { text-decoration: underline; }
.kopf .btn { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.mobil { display: none; }

@media (max-width: 980px) {
  .kopf { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .menue, .kopf-rechts { display: none; }
  .kopf-innen { justify-content: space-between; height: 64px; }
  .mobil { display: block; }
  .mobil > summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; cursor: pointer; border-radius: 10px; }
  .mobil > summary::-webkit-details-marker { display: none; }
  .mobil > summary span { display: block; width: 22px; height: 2px; background: var(--tinte); border-radius: 2px; transition: transform .2s; }
  .mobil[open] > summary span:first-child { transform: translateY(4px) rotate(45deg); }
  .mobil[open] > summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobil-panel { position: fixed; inset: 64px 0 0 0; background: var(--bg); padding: 12px 20px 40px; overflow-y: auto; display: flex; flex-direction: column; }
  .mobil-panel a:not(.btn) { padding: 12px 0; font-size: 1.15rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--linie); }
  .mobil-titel { margin: 22px 0 4px; font-size: .8rem; font-weight: 700; color: var(--leise); text-transform: uppercase; letter-spacing: .06em; }
  .mobil-panel .btn { margin-top: 24px; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(64px, 9vw, 120px); }
.abschnitt-eng { padding-block: clamp(40px, 6vw, 72px); }
.abschnitt-kopf { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.abschnitt-kopf.mitte { text-align: center; }
.weiss { background: var(--tint); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }

/* Startbereich */
.held { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.held h1 { max-width: 15ch; }
.held.mitte h1 { margin-inline: auto; }
.held .lead { margin-bottom: 30px; }
.held-bild { position: relative; margin-top: clamp(40px, 6vw, 64px); }
.held-bild > .bild { border-radius: 28px; width: 100%; object-fit: cover; }
.held-bild .handy { position: absolute; right: clamp(16px, 7%, 96px); bottom: -40px; width: clamp(130px, 20%, 240px); }
.held + .vertrauen { padding-top: 64px; }
@media (max-width: 640px) { .held-bild > .bild { aspect-ratio: 4 / 3.4 !important; } .held-bild .handy { bottom: -28px; right: 16px; width: 32%; } }

.vertrauen { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding-block: 28px; color: var(--tinte-2); font-weight: 600; font-size: .95rem; }
.vertrauen span { display: inline-flex; align-items: center; gap: 10px; }
.vertrauen span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* Seitenkopf der Unterseiten */
.seitenkopf { padding-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(48px, 7vw, 88px); }
.seitenkopf h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 18ch; }
.seitenkopf .lead { margin-bottom: 28px; }
.krumen { font-size: .9rem; color: var(--leise); padding-top: 20px; }
.krumen a { text-decoration: none; }
.krumen a:hover { text-decoration: underline; }
.krumen span { margin-inline: 4px; }

/* zwei Spalten: Text + Bild */
.zweier { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.zweier.umgekehrt > :first-child { order: 2; }
.zweier h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.zweier .bildseite { display: flex; justify-content: center; gap: 20px; }
.zweier .bildseite .handy { width: min(260px, 46%); }
.zweier .bildseite .handy + .handy { margin-top: 48px; }
.liste-haken { list-style: none; padding: 0; margin: 0 0 1.4em; }
.liste-haken li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.liste-haken li::before { content: ''; position: absolute; left: 0; top: .28em; width: 19px; height: 19px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%2317140d' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 860px) {
  .zweier { grid-template-columns: 1fr; }
  .zweier.umgekehrt > :first-child { order: 0; }
}

/* Karten */
.raster { display: grid; gap: 20px; }
.raster-3 { grid-template-columns: repeat(3, 1fr); }
.raster-4 { grid-template-columns: repeat(4, 1fr); }
.raster-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .raster-4 { grid-template-columns: repeat(2, 1fr); } .raster-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .raster-4, .raster-2 { grid-template-columns: 1fr; } }

.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.karte h3 { margin-bottom: .4em; }
.karte p { color: var(--tinte-2); }
.karte .btn { margin-top: auto; align-self: flex-start; }
.karte-link { text-decoration: none; transition: border-color .15s, transform .15s; }
.karte-link:hover { border-color: var(--tinte); }
.karte-link .bild { border-radius: 12px; margin: -12px -12px 20px; width: calc(100% + 24px); object-fit: cover; }
.karte-link .weiter { margin-top: auto; font-weight: 700; }
.karte-link .weiter::after { content: ' →'; }

/* Produktkarten mit Preis */
.produkt { padding: 32px; }
.produkt .preis { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; line-height: 1; }
.produkt .preis small { font-size: 1rem; font-weight: 600; color: var(--leise); letter-spacing: 0; }
.produkt .preis-hinweis { font-size: .9rem; color: var(--leise); margin-bottom: 18px; }
.produkt .liste-haken { font-size: .98rem; }
.produkt.betont { border: 2px solid var(--tinte); }
.marke { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--amber); color: var(--tinte); margin-bottom: 14px; align-self: flex-start; }

/* Schritte */
.schritte { margin-bottom: 28px; }
.schritte-titel { font-size: 1rem; font-weight: 700; color: var(--leise); margin-bottom: 14px; letter-spacing: 0; }
.schritte ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.schritte li { border-radius: var(--radius); padding: 26px; min-height: 180px; }
.schritte-dunkel li { background: var(--dunkel); color: #fff; }
.schritte-dunkel li p { color: rgba(255, 255, 255, .72); }
.schritte-hell li { background: var(--flaeche); border: 1px solid var(--linie); }
.schritte-hell li p { color: var(--tinte-2); }
.schritte .nr { display: grid; place-content: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 800; margin-bottom: 18px; }
.schritte-dunkel .nr { background: rgba(255, 255, 255, .12); }
.schritte-hell .nr { background: var(--amber); color: var(--tinte); }
.schritte strong { display: block; font-size: 1.15rem; line-height: 1.3; margin-bottom: 6px; }
.schritte p { margin: 0; font-size: .97rem; }
@media (max-width: 860px) { .schritte ol { grid-template-columns: 1fr; } .schritte li { min-height: 0; } }

/* dunkler Block */
.dunkel { background: var(--dunkel); color: #fff; }
.dunkel .lead, .dunkel p { color: rgba(255, 255, 255, .75); }
.dunkel .grosse-zahl, .grosse-zahl { font-size: clamp(4.5rem, 12vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--amber); margin-bottom: 16px; }
.zahl-zeile { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 80px); align-items: end; }
@media (max-width: 760px) { .zahl-zeile { grid-template-columns: 1fr; } }

/* Handy-Rahmen (gerade Ansicht, wird durch Profi-Mockups ersetzt) */
.handy { aspect-ratio: 1206 / 2622; border-radius: 13% / 6%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(23, 20, 13, .08), 0 40px 70px -30px rgba(23, 20, 13, .35), 0 16px 30px -16px rgba(23, 20, 13, .2); }
.handy-screen { width: 100%; height: 100%; }
.handy-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Rechner-Rahmen fürs Dashboard */
.rechner { border-radius: 14px; overflow: hidden; background: var(--flaeche); border: 1px solid var(--linie); box-shadow: 0 30px 60px -24px rgba(23, 20, 13, .25); }
.rechner-leiste { height: 34px; display: flex; align-items: center; gap: 7px; padding-inline: 14px; background: var(--flaeche-2); border-bottom: 1px solid var(--linie); }
.rechner-leiste i { width: 11px; height: 11px; border-radius: 50%; background: #d8d3c7; }
.rechner img { width: 100%; }

/* Platzhalter für Fotos, die noch kommen */
.bild { width: 100%; border-radius: var(--radius); object-fit: cover; }
.platzhalter { background: repeating-linear-gradient(135deg, #ededef 0 12px, #f4f4f5 12px 24px); border: 1.5px dashed #c9c9cf; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #71717a; text-align: center; padding: 16px; }
.platzhalter.screen { height: 100%; border-radius: 0; border: 0; }
.ph-id { font-weight: 800; font-size: 1.1rem; }
.ph-text { font-size: .85rem; max-width: 22ch; }

/* Preise */
.umschalter { display: flex; justify-content: center; }
.preistabelle { width: 100%; border-collapse: collapse; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; font-size: 1rem; }
.preistabelle th, .preistabelle td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--linie); }
.preistabelle thead th { background: var(--flaeche-2); font-size: .9rem; }
.preistabelle td:not(:first-child), .preistabelle th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.preistabelle tr:last-child td, .preistabelle tr:last-child th { border-bottom: 0; }
.preistabelle tbody th { font-weight: inherit; }
.tabelle-scroll { overflow-x: auto; border-radius: var(--radius); }
.vergleich td:not(:first-child), .vergleich th:not(:first-child) { text-align: center; }
.ja { display: inline-grid; place-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: var(--tinte); font-weight: 800; font-size: .8rem; }
.nein { color: #b5ae9e; }
.kleingedruckt { font-size: .88rem; color: var(--leise); margin-top: 16px; }

/* FAQ */
.faq { border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 44px 22px 0; color: var(--tinte-2); }

/* Abschluss vor dem Fußbereich */
.abschluss { background: var(--dunkel); color: #fff; text-align: center; padding-block: clamp(72px, 10vw, 128px); }
.abschluss h2 { max-width: 18ch; margin-inline: auto; }
.abschluss p { color: rgba(255, 255, 255, .75); font-size: 1.15rem; margin-bottom: 30px; }
.abschluss .knoepfe { justify-content: center; }

/* Referenzen */
.referenz { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 28px; overflow: hidden; }
.referenz > .bild { border-radius: 0; height: 100%; }
.referenz-text { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.referenz-zahlen { display: flex; gap: 32px; margin: 8px 0 24px; flex-wrap: wrap; }
.referenz-zahlen b { display: block; font-size: 2.2rem; letter-spacing: -.03em; line-height: 1.1; }
.referenz-zahlen span { font-size: .9rem; color: var(--leise); }
.zitat-fehlt { border: 1.5px dashed #c9c9cf; border-radius: 12px; padding: 14px 16px; color: #7a7262; font-size: .92rem; margin-bottom: 20px; }
@media (max-width: 860px) { .referenz { grid-template-columns: 1fr; } .referenz > .bild { aspect-ratio: 3/2 !important; } }

/* Artikel (Ratgeber, Rechtliches) */
.artikel { padding-bottom: clamp(56px, 8vw, 96px); }
.artikel h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.artikel h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.artikel h3 { margin-top: 1.4em; }
.artikel p, .artikel li { color: var(--tinte-2); }
.artikel ul, .artikel ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.artikel li { margin-bottom: .4em; }
.artikel table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .97rem; background: var(--flaeche); }
.artikel th, .artikel td { border: 1px solid var(--linie); padding: 10px 14px; text-align: left; vertical-align: top; }
.artikel th { background: var(--flaeche-2); }
.artikel a { color: var(--tinte); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.kurz { background: var(--flaeche-2); border-radius: 16px; padding: 20px 24px; margin: 0 0 2em; }
.kurz p { color: var(--tinte); margin: 0; }
.kurz strong { display: block; margin-bottom: 4px; }
.meta { font-size: .92rem; color: var(--leise); margin-bottom: 28px; }

.artikel-liste { display: grid; gap: 0; border-top: 1px solid var(--linie); }
.artikel-liste a { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--linie); text-decoration: none; align-items: center; }
.artikel-liste a:hover h2 { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.artikel-liste h2 { font-size: 1.35rem; margin: 0 0 4px; }
.artikel-liste p { margin: 0; color: var(--leise); }
.artikel-liste .pfeil { font-size: 1.4rem; }

/* Formular */
.formular { display: grid; gap: 16px; }
.formular label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.formular input, .formular textarea, .formular select { font: inherit; padding: 13px 14px; border: 1.5px solid var(--linie); border-radius: 12px; background: var(--flaeche); color: var(--tinte); }
.formular input:focus, .formular textarea:focus, .formular select:focus { outline: none; border-color: var(--tinte); }
.formular textarea { min-height: 130px; resize: vertical; }
.formular .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .formular .zwei { grid-template-columns: 1fr; } }
.kontakt-box { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }

/* Fußbereich */
.fuss { background: var(--flaeche-2); padding-top: 64px; font-size: .95rem; }
.fuss-raster { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; }
.fuss-raster a { display: block; text-decoration: none; padding: 4px 0; color: var(--tinte-2); }
.fuss-raster a:hover { color: var(--tinte); text-decoration: underline; }
.fuss-titel { font-weight: 700; margin-bottom: 8px; }
.fuss-marke img { height: 25px; width: auto; margin-bottom: 16px; }
.fuss-marke p { color: var(--tinte-2); max-width: 30ch; }
.fuss-klein { font-size: .88rem; color: var(--leise) !important; }
.fuss-klein a { display: inline !important; }
.fuss-unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 22px; border-top: 1px solid var(--linie); color: var(--leise); font-size: .88rem; }
@media (max-width: 900px) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ======================= Startseite im Jobflow-Aufbau (21.10.2026) ======================= */

/* Kopf: Text links, Handys rechts auf hellgelber Fläche */
.start-kopf { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); max-width: none; padding-right: 0; margin-left: max(20px, calc((100vw - var(--breite)) / 2 + 20px)); margin-right: 0; padding-left: 0; }
.start-kopf h1 { max-width: 13ch; }
/* Slogan immer genau zwei Zeilen: jede Hälfte bricht nicht um, die Größe folgt der Breite. */
.start-kopf h1.zwei-zeilen { max-width: none; font-size: clamp(2rem, 4.6vw, 4rem); }
.start-kopf h1.zwei-zeilen span { display: block; white-space: nowrap; }
@media (max-width: 900px) { .start-kopf h1.zwei-zeilen { font-size: min(10.4vw, 3.4rem); } }
.haken-liste { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.haken-liste li { display: flex; gap: 12px; align-items: center; color: var(--tinte-2); font-size: 1.05rem; }
.haken-liste li::before { content: ''; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%2317140d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.kopf-flaeche { position: relative; background: var(--kopf-bg); border-radius: 40px 0 0 40px; min-height: 620px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kopf-flaeche .paar { position: relative; width: min(440px, 90%); height: 560px; }
.kopf-flaeche .paar .handy { position: absolute; width: 46%; }
.kopf-flaeche .paar .handy:first-child { left: 4%; top: 7%; transform: rotate(-7deg); }
.kopf-flaeche .paar .handy:last-child { right: 4%; top: 1%; transform: rotate(6deg); }
.kopf-flaeche .mockup { width: min(560px, 92%); border-radius: 0; }
@media (max-width: 900px) {
  .start-kopf { grid-template-columns: 1fr; margin-inline: 0; padding-inline: 20px; }
  .kopf-flaeche { border-radius: 28px; min-height: 0; padding: 40px 0; }
  .kopf-flaeche .paar { height: 440px; width: min(340px, 92%); }
}

/* Logo-Reihe */
.logos { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 72px); flex-wrap: wrap; padding-block: 28px 8px; color: var(--leise); font-size: .95rem; }
.logos img { height: 52px; width: auto; filter: grayscale(1); opacity: .6; border-radius: 12px; }
.logos .wortmarke { font-weight: 700; font-size: 1.2rem; color: var(--tinte-2); letter-spacing: -.01em; filter: none; }

/* Reiter mit Handy */
.reiter-leiste { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.reiter-leiste button { font: inherit; font-weight: 600; font-size: .95rem; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--tinte-2); cursor: pointer; }
.reiter-leiste button[aria-selected="true"] { background: var(--tinte); color: #fff; border-color: var(--tinte); }
.reiter-box { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; background: var(--tint); border: 1px solid var(--linie); border-radius: 32px; padding: clamp(28px, 5vw, 56px); }
.reiter-box .handy { width: min(230px, 62%); margin-inline: auto; }
.reiter-box [hidden] { display: none !important; }
.reiter-text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.reiter-text p { color: var(--tinte-2); font-size: 1.08rem; }
@media (max-width: 860px) { .reiter-box { grid-template-columns: 1fr; } }

/* Kartenraster mit echten Ausschnitten */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > * { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; overflow: hidden; }
.b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } .b-4 { grid-column: span 4; }
.bento h3 { margin: 18px 0 6px; font-size: 1.25rem; }
.bento p { color: var(--tinte-2); margin: 0; font-size: .98rem; }
.bento .ausschnitt { flex: 1; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .b-3, .b-2, .b-4 { grid-column: auto; } }

.ui-push { width: 100%; max-width: 360px; background: rgba(255,255,255,.95); border-radius: 18px; padding: 14px 16px; box-shadow: 0 12px 30px -10px rgba(23,20,13,.25), 0 0 0 1px rgba(23,20,13,.05); display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; }
.ui-push img { width: 38px; height: 38px; border-radius: 9px; }
.ui-push b { display: flex; justify-content: space-between; font-size: .88rem; }
.ui-push b span { font-weight: 400; color: #6b6b73; }
.ui-push p { font-size: .9rem !important; color: var(--tinte) !important; }
.ui-push + .ui-push { margin-top: -6px; transform: scale(.94); opacity: .6; }
.ui-stapel { display: flex; flex-direction: column; align-items: center; width: 100%; }

.ui-punkte { width: 100%; max-width: 300px; background: var(--flaeche); border-radius: 18px; padding: 18px; box-shadow: 0 12px 30px -12px rgba(23,20,13,.2), 0 0 0 1px rgba(23,20,13,.05); }
.ui-punkte .zahl { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.ui-punkte .zahl small { font-size: .95rem; font-weight: 500; color: var(--leise); letter-spacing: 0; }
.ui-balken { height: 10px; border-radius: 99px; background: #ececee; margin: 14px 0 8px; overflow: hidden; }
.ui-balken i { display: block; height: 100%; width: 100%; border-radius: 99px; background: linear-gradient(90deg, #f6c935, var(--amber)); }
.ui-punkte .hinweis { font-size: .85rem; color: var(--tinte); font-weight: 600; }

.ui-stufen { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ui-stufen span { padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; box-shadow: 0 0 0 1px rgba(23,20,13,.06); }
.ui-stufen .s { background: #f2f2f0; color: #55524a; }
.ui-stufen .g { background: var(--amber); color: var(--tinte); transform: scale(1.08); box-shadow: 0 10px 24px -10px rgba(245,200,66,.7); }
/* Platin: hellblau wie ein Diamant, mit hellem Glanzstreifen */
.ui-stufen .p { background: linear-gradient(135deg, #e4f6ff 0%, #b9e3fa 38%, #f4fcff 50%, #a6d9f5 64%, #d6f0fd 100%); color: #1d5675;
  box-shadow: 0 0 0 1px rgba(110, 185, 225, .45), 0 8px 20px -10px rgba(80, 170, 220, .6), inset 0 1px 0 rgba(255, 255, 255, .9); }
.ui-stufen .p::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 7px; background: #5fb4e3; transform: translateY(-1px) rotate(45deg); border-radius: 2px; box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .7); }

.ui-chart { width: 100%; max-width: 420px; background: var(--flaeche); border-radius: 18px; padding: 18px 18px 14px; box-shadow: 0 12px 30px -12px rgba(23,20,13,.2), 0 0 0 1px rgba(23,20,13,.05); }
.ui-chart .titel { font-size: .85rem; font-weight: 600; color: var(--leise); margin-bottom: 14px; }
.ui-chart .saeulen { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.ui-chart .saeulen i { flex: 1; border-radius: 6px 6px 3px 3px; background: #e4e4e7; }
.ui-chart .saeulen i:last-child { background: var(--amber); }

.ui-kasse { display: flex; align-items: center; gap: 14px; }
.ui-kasse .qr { width: 86px; height: 86px; border-radius: 14px; background: var(--flaeche); box-shadow: 0 0 0 1px rgba(23,20,13,.08), 0 10px 24px -12px rgba(23,20,13,.25); display: grid; place-content: center; }
.ui-kasse .pfeil { color: var(--tinte-2); font-size: 1.4rem; }
.ui-kasse .plus { padding: 10px 14px; border-radius: 12px; background: var(--amber); color: var(--tinte); font-weight: 700; }

.ui-wallet { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ui-wallet span { padding: 12px 16px; border-radius: 14px; background: var(--tinte); color: #fff; font-weight: 600; font-size: .9rem; }

/* Große Zahlen */
.zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.zahlen b { display: block; font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.zahlen strong { display: block; font-weight: 650; margin-bottom: 4px; }
.zahlen p { color: var(--leise); margin: 0 auto; max-width: 28ch; font-size: .97rem; }
@media (max-width: 760px) { .zahlen { grid-template-columns: 1fr; } }

/* So funktioniert's: Schritte zum Aufklappen + Foto */
.ablauf { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.ablauf details { border-radius: 20px; padding: 4px 24px; margin-bottom: 10px; border: 1px solid transparent; }
.ablauf details[open] { background: var(--tint); border-color: var(--linie); }
.ablauf summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 1.25rem; font-weight: 650; display: flex; gap: 16px; align-items: baseline; color: var(--leise); }
.ablauf details[open] summary { color: var(--tinte); }
.ablauf summary::-webkit-details-marker { display: none; }
.ablauf summary span { display: inline-grid; place-content: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--tinte); font-size: .85rem; font-variant-numeric: tabular-nums; }
.ablauf details p { padding: 0 0 18px 50px; margin: 0; color: var(--tinte-2); }
.ablauf .bild { border-radius: 32px; }
@media (max-width: 860px) { .ablauf { grid-template-columns: 1fr; } }

/* Stimmen */
.stimmen { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stimme { display: grid; grid-template-columns: 150px 1fr; gap: 24px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 28px; padding: 24px; align-items: center; }
.stimme .kopfzeile { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.stimme .kopfzeile img { width: 44px; height: 44px; border-radius: 10px; }
.stimme .kopfzeile b { display: block; }
.stimme .kopfzeile span { font-size: .85rem; color: var(--leise); }
.stimme .fakt { font-size: .95rem; color: var(--tinte-2); }
@media (max-width: 900px) { .stimmen { grid-template-columns: 1fr; } .stimme { grid-template-columns: 110px 1fr; } }

/* Abschluss als helle Karte statt schwarzer Fläche */
.abschluss { background: transparent; color: var(--tinte); padding-block: clamp(48px, 7vw, 96px); }
.abschluss .wrap { background: var(--abschluss-bg); color: var(--abschluss-text); border-radius: 40px; padding: clamp(40px, 6vw, 80px) 24px; }
.abschluss p { color: var(--tinte-2); }
.btn-rand-hell { color: var(--tinte); border-color: rgba(23,20,13,.18); }
.btn-rand-hell:hover { border-color: var(--tinte); }

/* Zwei Wege: Wallet-Karte und eigene App */
.wege { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.weg { border: 1px solid var(--linie); border-radius: 32px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; background: var(--flaeche); }
.weg-stark { background: var(--flaeche); border: 2px solid var(--tinte); }
.weg-art { font-weight: 700; color: var(--tinte-2); margin-bottom: 10px; }
.weg h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.weg > p { color: var(--tinte-2); }
.weg-preis { font-weight: 700; font-size: 1.1rem; margin-top: auto; color: var(--tinte) !important; }
.weg .btn { align-self: flex-start; }
@media (max-width: 860px) { .wege { grid-template-columns: 1fr; } }
.zahlen-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .zahlen-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .zahlen-4 { grid-template-columns: 1fr; } }

/* Wissensblock am Seitenende (SEO/GEO): viel Text, ruhig gesetzt */
.wissen { padding-block: 24px 64px; }
.wissen h2 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 24px; color: var(--tinte-2); }
.wissen-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; }
.wissen h3 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; letter-spacing: 0; color: var(--tinte-2); }
.wissen p { color: var(--leise); font-size: .85rem; line-height: 1.65; margin: 0; }
@media (max-width: 860px) { .wissen-raster { grid-template-columns: 1fr; } }

/* Kontaktformular: Spam-Falle unsichtbar, Rückmeldung unter dem Knopf */
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-meldung { margin: 0; font-weight: 600; min-height: 1.5em; }
.formular-meldung a { color: var(--tinte); }

/* Fallbeispiele: vier Zahlen je Betrieb */
.fall-zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-top: 12px; }
.fall-zahlen b { display: block; font-size: 2rem; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.fall-zahlen span { font-size: .9rem; color: var(--leise); }
/* Fallbeispiel: der Text bestimmt die Höhe, das Bild füllt nur aus */
@media (min-width: 861px) { .referenz > .bild { aspect-ratio: auto !important; height: 100%; min-height: 360px; } }

/* ======================= Wallet-Fächer: Punkte-, Stempel-, Stufenpass ======================= */
/* Nachbau einer Apple-Wallet-Karte im Maß der echten Bagelbar-Karte (844 × 1149 px), verkleinert per zoom */
.ap { width: 844px; height: 1149px; position: relative; border-radius: 32px; overflow: hidden; font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif; }
.ap .ap-logo { position: absolute; left: 30px; top: 18px; height: 100px; width: auto; }
.ap .ap-name { position: absolute; top: 44px; font-size: 38px; font-weight: 600; white-space: nowrap; }
.ap .ap-kopf { position: absolute; right: 34px; top: 26px; text-align: right; }
.ap .lab { font-size: 25px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ap .val { font-size: 36px; line-height: 1.15; margin-top: 4px; }
.ap .ap-strip { position: absolute; left: 0; right: 0; top: 140px; height: 325px; background-size: cover; background-position: center; }
.ap .ap-zeile { position: absolute; top: 494px; left: 33px; right: 33px; display: flex; gap: 44px; }
.ap .ap-zeile > div:first-child { flex: 1; }
.ap .ap-qr { position: absolute; left: 250px; top: 740px; width: 344px; height: 377px; }
.ap-mini { zoom: .3318; }

.faecher-buehne { display: flex; justify-content: center; align-items: center; perspective: 1600px; }
.faecher { position: relative; width: 760px; height: 480px; transform-style: preserve-3d; }
.faecher .fk { position: absolute; top: 40px; left: 240px; width: 280px; height: 381px; border-radius: 11px; overflow: hidden; backface-visibility: hidden;
  box-shadow: 0 40px 80px -30px rgba(23,20,13,.5), 0 12px 24px -12px rgba(23,20,13,.25); }
.faecher .fk::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 68%, rgba(255,255,255,.10) 100%); }
.faecher .fk > img { width: 100%; height: 100%; display: block; }
.faecher .fk-l { transform: translateX(-250px) translateZ(-80px) rotateZ(-6deg) rotateY(28deg); }
.faecher .fk-m { z-index: 2; }
.faecher .fk-r { transform: translateX(250px) translateZ(-80px) rotateZ(6deg) rotateY(-28deg); }
.wallet-buehne { background: var(--buehne-bg); border-radius: 40px; padding: 40px 0 20px; overflow: hidden; }
.faecher-klein { zoom: .62; }
@media (min-width: 861px) and (max-width: 1100px) { .faecher-klein { zoom: .5; } }
@media (max-width: 900px) { .faecher-buehne:not(.faecher-klein) { zoom: .7; } }
@media (max-width: 560px) { .faecher-buehne:not(.faecher-klein) { zoom: .46; } .faecher-klein { zoom: .44; } }

/* Knöpfe in Fließtext-Bereichen nicht wie Links einfärben */
.artikel a.btn { text-decoration: none; }
.artikel a.btn-dunkel, .formular-meldung a.btn-dunkel { color: var(--knopf-text); }
.artikel a.btn-rand { color: var(--tinte); }
.produkt .preis { color: var(--tinte) !important; }

/* ======================= „In drei Schritten“: Scroll-Abschnitt ======================= */
.schritte-scroll { padding-block: clamp(64px, 9vw, 120px); }
.schritte-buehne { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.schritte-links h2 { margin-bottom: 32px; }
.schritt-liste { list-style: none; padding: 0 0 0 0; margin: 0 0 32px; position: relative; display: grid; gap: 12px; }
.schritt { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; padding: 22px 24px; border-radius: 22px; border: 2px solid transparent; cursor: pointer;
  transition: border-color .35s ease, box-shadow .35s ease, background-color .35s ease, opacity .35s ease; }
.schritt h3 { margin: 6px 0 0; font-size: 1.25rem; transition: color .35s ease; }
.schritt p { margin: 0; max-height: 0; opacity: 0; overflow: hidden; color: var(--tinte-2); transition: max-height .45s ease, opacity .35s ease, margin .35s ease; }
.schritt-nr { width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; font-weight: 800; background: var(--flaeche-2); color: var(--leise); transition: background-color .35s ease, color .35s ease, transform .35s ease; }
/* aktiver Schritt: weiße Karte mit schwarzem Rahmen und Schatten */
.schritte-scroll[data-aktiv="0"] .schritt[data-n="0"],
.schritte-scroll[data-aktiv="1"] .schritt[data-n="1"],
.schritte-scroll[data-aktiv="2"] .schritt[data-n="2"],
.schritte-scroll[data-aktiv="alle"] .schritt { border-color: var(--tinte); background: var(--flaeche); box-shadow: 0 18px 40px -22px rgba(23,20,13,.35); }
.schritte-scroll[data-aktiv="0"] .schritt[data-n="0"] p,
.schritte-scroll[data-aktiv="1"] .schritt[data-n="1"] p,
.schritte-scroll[data-aktiv="2"] .schritt[data-n="2"] p,
.schritte-scroll[data-aktiv="alle"] .schritt p { max-height: 160px; opacity: 1; margin-top: 8px; }
.schritte-scroll[data-aktiv="0"] .schritt[data-n="0"] .schritt-nr,
.schritte-scroll[data-aktiv="1"] .schritt[data-n="1"] .schritt-nr,
.schritte-scroll[data-aktiv="2"] .schritt[data-n="2"] .schritt-nr,
.schritte-scroll[data-aktiv="alle"] .schritt .schritt-nr { background: var(--amber); color: var(--tinte); transform: scale(1.05); }
.schritte-scroll:not([data-aktiv="alle"]) .schritt h3 { color: var(--leise); }
.schritte-scroll[data-aktiv="0"] .schritt[data-n="0"] h3,
.schritte-scroll[data-aktiv="1"] .schritt[data-n="1"] h3,
.schritte-scroll[data-aktiv="2"] .schritt[data-n="2"] h3 { color: var(--tinte); }
/* rechts: Bild wechselt mit dem Schritt */
.schritte-bilder { position: relative; aspect-ratio: 4 / 5; }
.schritt-bild { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .5s ease, transform .5s ease; }
.schritt-bild > .bild { width: 100%; height: 100%; }
.schritte-scroll[data-aktiv="0"] .schritt-bild[data-n="0"],
.schritte-scroll[data-aktiv="1"] .schritt-bild[data-n="1"],
.schritte-scroll[data-aktiv="2"] .schritt-bild[data-n="2"],
.schritte-scroll[data-aktiv="alle"] .schritt-bild[data-n="0"] { opacity: 1; transform: none; }
.paar-klein { display: flex; gap: 18px; align-items: flex-start; }
.paar-klein .handy { width: 200px; }
.paar-klein .handy + .handy { margin-top: 48px; }
/* großer Bildschirm: Abschnitt bleibt stehen, solange die Schritte durchlaufen */
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .schritte-scroll { height: 240vh; padding-block: 0; }
  .schritte-buehne { position: sticky; top: 72px; min-height: calc(100vh - 72px); }
}
@media (max-width: 860px) {
  .schritte-buehne { grid-template-columns: 1fr; }
  .schritte-bilder { display: none; }
}

/* Teamfoto (Hochformat, ganz gezeigt): schmaler als die Textspalte, damit es nicht die halbe Seite füllt. */
.teamfoto { display: flex; justify-content: center; }
.teamfoto .bild { width: min(100%, 360px); }

/* ======================= Handy-Feinschliff (23.10.2026) ======================= */
/* Agentur-Vergleich: HappyPay-Spalte betont, auf dem Handy ohne seitliches Wischen sichtbar. */
.agentur-vergleich td:last-child, .agentur-vergleich th:last-child { font-weight: 700; color: var(--tinte); }
@media (max-width: 640px) {
  .agentur-vergleich { font-size: .9rem; table-layout: fixed; }
  .agentur-vergleich th, .agentur-vergleich td { padding: 12px 10px; text-align: left !important; vertical-align: top; }
  .agentur-vergleich th:first-child, .agentur-vergleich td:first-child { width: 32%; color: var(--leise); }
  .agentur-vergleich th:last-child, .agentur-vergleich td:last-child { background: var(--gelb-hell); }
  /* Leerraum unter den Handys im Kopf verkleinern. Der Schatten der Handys darf über den Rand
     auslaufen, sonst endet er unten und rechts mit einer harten grauen Kante. */
  .kopf-flaeche { padding: 16px 0 24px; overflow: visible; }
  .kopf-flaeche .paar { height: 380px; }
  /* Kennzahlen als 2 × 2 statt vier Zeilen untereinander */
  .zahlen-4 { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .zahlen-4 b { font-size: 2.6rem; margin-bottom: 8px; }
  /* Funktionskarten: keine feste Mindesthöhe, damit kein Leerraum entsteht */
  .bento { gap: 14px; }
  .bento > * { min-height: 0; padding: 24px; }
  .bento .ausschnitt { padding-block: 8px; }
}

/* „So erleben deine Gäste HappyPay“ auf dem Handy: Reiter und Bild bleiben stehen,
   beim Scrollen laufen die vier Reiter der Reihe nach durch (Skript in start.mjs). */
.reiter-bild:not([hidden]), .reiter-text:not([hidden]) { animation: reiter-ein .35s ease; }
@keyframes reiter-ein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  .reiter-teil .abschnitt-kopf { margin-bottom: 20px; }
  .reiter-lauf { height: 300svh; }
  .reiter-buehne { position: sticky; top: 72px; }
  .reiter-teil .reiter-leiste { gap: 6px; margin-bottom: 14px; }
  .reiter-teil .reiter-leiste button { padding: 8px 14px; font-size: .88rem; }
  /* feste Höhe: Bildschirm minus Kopfleiste und Reiter. So springt nichts und nichts ragt hinaus. */
  .reiter-teil .reiter-box { display: flex; flex-direction: column; height: calc(100svh - 186px); min-height: 400px; gap: 14px; padding: 18px 20px 20px; border-radius: 28px; }
  .reiter-teil .reiter-box > :first-child { flex: 1 1 0; min-height: 0; }
  .reiter-teil .reiter-bild { height: 100%; display: flex; align-items: center; justify-content: center; }
  .reiter-teil .reiter-box .handy { height: 100%; width: auto; max-width: 62%; }
  .reiter-teil .reiter-text h3 { font-size: 1.35rem; margin-bottom: .3em; }
  .reiter-teil .reiter-text p { font-size: 1rem; margin: 0; }
}
/* kleine Handys (z. B. iPhone SE): Text kleiner, damit das Bild Platz behält */
@media (max-width: 860px) and (max-height: 620px) and (prefers-reduced-motion: no-preference) {
  .reiter-teil .reiter-box { min-height: 340px; }
  .reiter-teil .reiter-text h3 { font-size: 1.1rem; }
  .reiter-teil .reiter-text p { font-size: .88rem; line-height: 1.45; }
}

/* Startbereich auf dem Handy: weniger Text, damit die App-Bilder schon im ersten Bildschirm anfangen.
   Die ersten zwei Haken sagen dasselbe wie der Satz darüber; der Celina's-Beleg bleibt. */
@media (max-width: 640px) {
  .start-kopf { padding-top: 20px; padding-bottom: 32px; }
  .start-kopf .dachzeile { margin-bottom: 10px; font-size: .88rem; }
  .start-kopf .lead { font-size: 1.05rem; line-height: 1.55; margin-bottom: 0; }
  .start-kopf .haken-liste { margin: 16px 0 22px; }
  .start-kopf .haken-liste li:not(:last-child) { display: none; }
  .start-kopf .knoepfe { gap: 10px; }
  .kopf-flaeche { margin-top: -8px; }
}

/* ======================= Marktanalyse: Kennzahlen, Fußnoten, Quellen ======================= */
.kennzahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 1.6em; }
.kennzahlen > div { background: var(--flaeche-2); border-radius: 16px; padding: 18px; }
.kennzahlen b { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 6px; color: var(--tinte); }
.kennzahlen span { display: block; font-size: .92rem; line-height: 1.4; color: var(--tinte-2); }
@media (max-width: 640px) { .kennzahlen { grid-template-columns: 1fr 1fr; } .kennzahlen b { font-size: 1.5rem; } }
.fn { font-size: .68em; line-height: 0; margin-left: 1px; white-space: nowrap; }
.artikel .fn a { text-decoration: none; color: var(--leise); font-weight: 600; }
.artikel .fn a:hover { color: var(--tinte); }
.quellen { font-size: .88rem; }
.quellen li { margin-bottom: .7em; scroll-margin-top: 88px; }
.quellen li:target { background: var(--gelb-hell); border-radius: 6px; }
.quellen a { word-break: break-word; }
.zitieren { margin-top: 2em; }
@media (max-width: 640px) { .artikel table { font-size: .86rem; } .artikel th, .artikel td { padding: 8px 9px; overflow-wrap: anywhere; hyphens: auto; } }
