/* Cashfloh – Seite der MUMEDAJA Kft. (Vorlage: cashfloh.at)
   Statisch, nur eigene Dateien (siehe sicherheitsregeln-webseiten.md). Kein JavaScript, keine fremden Inhalte. */
:root {
  /* Schriftstufen – nur diese verwenden */
  --fs-klein: 13px;
  --fs-text-s: 15px;
  --fs-text: 17px;
  --fs-gross: 20px;
  --fs-h2: clamp(24px, 3vw, 28px);
  --fs-h1: clamp(30px, 4vw, 40px);
  --fs-preis: clamp(28px, 3vw, 36px);
  --fs-hero: clamp(36px, 5vw, 56px);
  --bg: #ffffff;
  --soft: #f4f6f9;
  --ink: #0f1a2b;
  --muted: #5a6577;
  --line: #e0e5ec;
  --band: #0f1a2b;
  --band-ink: #eef2f7;
  --band-muted: #9fb0c6;
  --accent: #1fb47a;
  --accent-ink: #04140d;
  --f: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: var(--fs-text)/1.6 var(--f); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Kopf */
.band { background: var(--band); color: var(--band-ink); }
.kopfleiste { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #22324a; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: .01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 18px; }
.brand-logo { height: 36px; width: auto; display: block; }
.brand small { display: block; font-weight: 500; font-size: var(--fs-klein); letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: var(--fs-text-s); align-items: center; }
.nav a { text-decoration: none; color: var(--band-muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--band-ink); }
.nav .nav-login { color: var(--accent-ink); background: var(--accent); padding: 6px 14px; border-radius: 6px; font-weight: 600; }

.hero { padding-block: 56px 72px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero > * { min-width: 0; }
.eyebrow { font-size: var(--fs-klein); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: var(--fs-hero); margin-top: 14px; }
.lede { margin-top: 18px; font-size: var(--fs-gross); color: var(--band-muted); max-width: 32em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: #33435a; color: var(--band-ink); }
section:not(.alt) .btn-ghost, .legal .btn-ghost { color: inherit; }
.contact .btn-ghost { color: var(--band-ink); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--bg); }
.receipt { background: #fff; color: var(--ink); border-radius: 14px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); font-variant-numeric: tabular-nums; }
.receipt-head { display: flex; justify-content: space-between; font-size: var(--fs-klein); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.receipt dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 16px 0 0; font-size: var(--fs-text-s); }
.receipt dd { margin: 0; text-align: right; font-weight: 500; }
.receipt .sum { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 10px; font-weight: 700; font-size: var(--fs-gross); display: flex; justify-content: space-between; }
.receipt .sig { margin-top: 12px; font-size: var(--fs-klein); color: var(--muted); }
.receipt .ok { color: #137a4f; font-weight: 600; }

/* Abschnitte */
section { padding-block: 72px; }
.alt { background: var(--soft); }
.h2 { font-size: var(--fs-h2); margin-top: 8px; }
h1.h2 { font-size: var(--fs-h1); }
section .h2 + .steps, section .steps + .intro { margin-top: 20px; }
.intro { margin-top: 14px; color: var(--muted); max-width: 42em; font-size: var(--fs-text); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; margin-bottom: 36px; }
.grid4 > div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 22px; min-width: 0; }
.grid4 h3 { font-size: var(--fs-gross); }
.grid4 p { color: var(--muted); font-size: var(--fs-text-s); margin-top: 8px; }
.grid4 a { color: var(--ink); font-weight: 600; }

/* Preise */
.price-card { margin-top: 32px; max-width: 760px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.price-head { background: var(--band); color: var(--band-ink); padding: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: end; }
.price-head h2 { font-size: var(--fs-h2); }
.price-head p { color: var(--band-muted); margin-top: 6px; }
.price { font-size: var(--fs-h1); font-weight: 800; font-variant-numeric: tabular-nums; }
.price small { display: block; text-align: right; font-size: var(--fs-text-s); font-weight: 500; color: var(--band-muted); }
.price-body { padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.price-body > * { min-width: 0; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; align-items: stretch; }
.price-grid .price-card { margin-top: 0; max-width: none; display: flex; flex-direction: column; }
.price-grid .price-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px; padding: 24px 26px; }
.price-grid .price-head h2 { font-size: 24px; line-height: 1.2; }
.price-grid .price-head p { font-size: var(--fs-text-s); }
.price-grid .price { font-size: var(--fs-preis); line-height: 1.1; text-align: right; white-space: nowrap; }
.price .aktion { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.price .statt { display: block; font-size: var(--fs-text-s); font-weight: 500; color: var(--band-muted); margin-bottom: 2px; }
.price-grid .price small { font-size: var(--fs-klein); margin-top: 4px; }
.price-grid .price-body { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; flex: 1; }
.price-body h3 { font-size: var(--fs-text); }
.btn-voll { justify-content: center; width: 100%; }
.enthalten { margin-top: 28px; border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; background: var(--soft); }
.enthalten .h3 { font-size: var(--fs-gross); }
.enthalten .checks { grid-template-columns: repeat(3, 1fr); gap: 12px 24px; margin-top: 16px; }
.checks { font-size: var(--fs-text-s); list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.checks li::before { content: ""; width: 12px; height: 12px; margin-top: 7px; border-radius: 3px; background: var(--accent); }
.fees { margin: 12px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: var(--fs-text-s); }
.fees dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.note { color: var(--muted); font-size: var(--fs-text-s); margin-top: 14px; max-width: 760px; }

/* FAQ ohne JavaScript */
.faq { margin-top: 28px; max-width: 820px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; background: var(--bg); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Kontakt */
.contact { margin-top: 28px; max-width: 640px; background: var(--band); color: var(--band-ink); border-radius: 14px; padding: 28px; }
.contact-mail { font-size: var(--fs-gross); font-weight: 700; color: var(--accent); user-select: all; overflow-wrap: anywhere; margin-top: 8px; }
.contact p { color: var(--band-muted); margin-top: 8px; }
.contact a { color: var(--band-ink); }
.mail-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.steps { margin-top: 28px; max-width: 820px; padding-left: 1.2em; display: grid; gap: 14px; }
.steps li::marker { font-weight: 700; color: var(--accent); }

/* Rechtliches */
.legal { padding-block: 48px 72px; }
.legal-text { max-width: 820px; display: grid; gap: 12px; margin-top: 20px; }
.legal-text h2 { font-size: var(--fs-gross); margin-top: 18px; }
.legal-text h3 { font-size: var(--fs-text); margin-top: 8px; }
.legal-list { display: grid; grid-template-columns: minmax(170px, 240px) 1fr; gap: 12px 24px; margin: 24px 0 0; max-width: 820px; }
.legal-list dt { color: var(--muted); font-size: var(--fs-text-s); }
.legal-list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.todo { border-left: 4px solid #d98a00; background: #fff7e6; padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: var(--fs-text-s); margin-top: 16px; max-width: 820px; color: var(--ink); }
.todo-band { background: #d98a00; color: #1a1200; font-size: var(--fs-klein); font-weight: 600; padding-block: 8px; }

footer { border-top: 1px solid var(--line); padding-block: 26px; font-size: var(--fs-text-s); color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-block: 32px 48px; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .price-body { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .enthalten .checks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid4 { grid-template-columns: 1fr; }
  section { padding-block: 52px; }
  .nav { gap: 12px; font-size: var(--fs-text-s); }
  .top { padding-block: 10px; gap: 8px; }
  .brand-logo { height: 28px; }
  .legal-list { grid-template-columns: 1fr; gap: 2px; }
  .price-grid .price-head { grid-template-columns: 1fr; }
  .enthalten .checks { grid-template-columns: 1fr; }
  .price-grid .price, .price-grid .price small { text-align: left; }
  .legal-list dd { margin-bottom: 10px; }
}
