/* KeyDispo – Website keydispo.ch. Schriften selbst gehostet (IBM Plex, SIL OFL), keine externen Quellen. */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2")}

:root{
  --accent:#c8102e;--accent-hover:#a50d26;--accent-soft:#fbeaec;
  --ink:#1d2125;--muted:#5b636b;--faint:#8a929a;
  --line:#e2e5e8;--line-strong:#c9ced3;--canvas:#f5f6f7;--ok:#2f7d4f;--ok-soft:#e7f3ec;
  --dark-line:#3a4046;--dark-muted:#c9ced3;--dark-accent:#f4a6b3;
  --sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:var(--sans);color:var(--ink);background:#fff;line-height:1.5}
img,svg{display:block;max-width:100%}
a{color:var(--accent)}a:hover{color:var(--accent-hover)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
h1,h2,h3{margin:0}
p{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-9999px;top:8px;background:#fff;padding:8px 12px;z-index:10}
.skip:focus{left:8px}
.mono{font-family:var(--mono)}
.eyebrow{font-family:var(--mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:16px}
.h2{font-size:clamp(30px,4vw,44px);line-height:1.12;font-weight:600;letter-spacing:-.015em}
.lead{font-size:19px;line-height:1.6;color:var(--muted)}
.section{padding:96px 0}
.bg-canvas{background:var(--canvas)}
.split{display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.split>*{flex:1 1 420px;min-width:0}
.stack{display:flex;flex-direction:column;gap:20px}
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px}
.card h3{font-size:19px;font-weight:600;margin:14px 0 10px}
.card p{color:var(--muted);line-height:1.6}
.ico{width:40px;height:40px;border-radius:8px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:8px;font-weight:600;font-size:16px;text-decoration:none;border:1px solid transparent}
.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover);color:#fff}
.btn-ghost{border-color:var(--line-strong);color:var(--ink);background:#fff}.btn-ghost:hover{border-color:var(--ink);color:var(--ink)}
.btn-light{background:#fff;color:var(--accent)}.btn-light:hover{background:#fce4e8;color:var(--accent-hover)}
.btn-block{width:100%}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.check{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.check li{display:flex;gap:10px;align-items:flex-start}
.check svg{flex:none;margin-top:3px}

/* Kopf */
.site-header{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:5}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:700;font-size:20px;letter-spacing:-.01em}
.brand:hover{color:var(--ink)}
.nav{display:flex;gap:28px}
.nav a{color:var(--ink);text-decoration:none;font-size:15px}.nav a:hover{color:var(--accent)}
.header-actions{display:flex;gap:12px}
@media (max-width:960px){.nav{display:none}}
@media (max-width:520px){.header-actions .btn-ghost{display:none}.site-header .btn{min-height:44px;padding:0 16px;font-size:15px}}

/* Hero */
.hero{background:var(--canvas);border-bottom:1px solid var(--line)}
.hero .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:56px;padding-top:88px;padding-bottom:96px}
.hero-text{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:28px}
.hero h1{font-size:clamp(38px,5.4vw,62px);line-height:1.05;font-weight:700;letter-spacing:-.025em}
.hero .lead{max-width:560px}
.ticks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 24px;font-size:15px;color:var(--muted)}
.ticks li{display:flex;align-items:center;gap:8px}
.hero-visual{flex:1 1 420px;min-width:0;display:flex;justify-content:center}
.receipt-wrap{position:relative;width:100%;max-width:460px;margin-top:24px}
.receipt{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 24px 48px -24px rgba(29,33,37,.25);padding:28px;display:flex;flex-direction:column;gap:18px}
.receipt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.small{font-size:13px;color:var(--muted)}
.tiny{font-size:12px;color:var(--muted)}
.badge-ok{background:var(--ok-soft);color:var(--ok);font-size:13px;font-weight:600;padding:4px 10px;border-radius:999px;white-space:nowrap}
.receipt-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;font-size:14px}
.receipt-items{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;display:flex;flex-direction:column;gap:10px;font-size:14px}
.receipt-items div{display:flex;justify-content:space-between;gap:12px}
.receipt-items span:last-child{color:var(--muted)}
.hash{font-family:var(--mono);font-size:11px;color:var(--faint);word-break:break-all}
.scan-chip{position:absolute;left:-12px;top:-22px;background:var(--ink);color:#fff;border-radius:10px;padding:10px 14px;display:flex;align-items:center;gap:10px;font-size:14px;box-shadow:0 12px 24px -12px rgba(29,33,37,.5)}
@media (max-width:520px){.scan-chip{left:8px}}

/* Leiste */
.facts{border-bottom:1px solid var(--line)}
.facts .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;padding-top:32px;padding-bottom:32px}
.facts strong{display:block;font-weight:600}
.facts span{font-size:14px;color:var(--muted)}

.dash{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;font-size:17px;line-height:1.5}
.dash li{display:flex;gap:12px}
.dash li::before{content:"–";color:var(--accent);font-weight:700}

/* Ablauf */
.dark{background:var(--ink);color:#fff}
.dark .eyebrow{color:var(--dark-accent)}
.steps{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.steps li{border:1px solid var(--dark-line);border-radius:10px;padding:28px;display:flex;flex-direction:column;gap:12px}
.steps .num{font-family:var(--mono);color:var(--dark-accent);font-size:14px}
.steps h3{font-size:22px;font-weight:600}
.steps p{color:var(--dark-muted);line-height:1.6}
.head{max-width:760px;margin-bottom:48px}
.head .lead{margin-top:16px}

/* Sicherheit */
.facts-list{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:28px 32px}
.facts-list div{border-top:2px solid var(--ink);padding-top:16px}
.facts-list dt{font-weight:600;margin-bottom:6px}
.facts-list dd{margin:0;color:var(--muted);line-height:1.6}

.audience{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.audience .card{padding:22px}
.audience strong{display:block;font-weight:600}
.audience span{display:block;color:var(--muted);font-size:15px;margin-top:6px}

/* Preise */
.prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;align-items:stretch}
.plan{padding:36px;display:flex;flex-direction:column;gap:22px;position:relative}
.plan-featured{border:2px solid var(--accent)}
.plan-flag{position:absolute;top:-13px;left:36px;background:var(--accent);color:#fff;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px}
.plan-name{font-weight:600;font-size:20px}
.price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.price .cur{font-size:18px;font-weight:500}
.price .amt{font-size:52px;font-weight:700;letter-spacing:-.03em;line-height:1}
.price .amt-text{font-size:40px;font-weight:700;letter-spacing:-.02em;line-height:1.3}
.plan .check{font-size:15px;flex-grow:1}
.note{margin-top:24px;font-size:14px;color:var(--muted)}

/* FAQ */
.faq details{border-top:1px solid var(--line);padding:22px 0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;font-weight:600;font-size:18px;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--accent);font-weight:600}
.faq details[open] summary::after{content:"–"}
.faq p{margin-top:14px;color:var(--muted);line-height:1.6}

/* Kontakt */
.cta{background:var(--accent);color:#fff}
.cta .lead{color:#fce4e8}
.cta-box{background:#fff;color:var(--ink);border-radius:12px;padding:32px;display:flex;flex-direction:column;gap:16px}
.cta-mail{font-size:22px;font-weight:600}
.contact-form{gap:14px}
.field-row{display:flex;flex-wrap:wrap;gap:14px}
.field-row>.field{flex:1 1 200px;min-width:0}
.field{display:block;font-size:14px;font-weight:600;color:var(--ink)}
.field input,.field select,.field textarea{display:block;margin-top:6px;font:inherit;font-weight:400;font-size:16px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:8px;padding:11px 12px;min-height:46px;width:100%}
.field textarea{resize:vertical;min-height:96px}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--accent);outline-offset:0;border-color:var(--accent)}
.optional{font-weight:400;color:var(--faint)}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-note{font-size:13px;color:var(--muted)}
.contact-form button{cursor:pointer;font-family:inherit}

/* Fuss */
.site-footer{background:var(--ink);color:var(--dark-muted);padding:48px 0;font-size:14px}
.site-footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px}
.site-footer strong{color:#fff;display:block;margin-bottom:6px}
.site-footer nav{display:flex;gap:24px;flex-wrap:wrap}
.site-footer a{color:var(--dark-muted)}.site-footer a:hover{color:#fff}

/* Rechtstexte */
.legal{max-width:760px;margin:0 auto;padding:72px 24px 96px}
.legal h1{font-size:clamp(32px,4vw,44px);font-weight:600;letter-spacing:-.015em;margin-bottom:32px}
.legal h2{font-size:21px;font-weight:600;margin:36px 0 10px}
.legal p,.legal li{line-height:1.7;color:#30363c}
.legal p+p{margin-top:12px}
.legal address{font-style:normal;line-height:1.7}
.todo{background:#fbf1dc;color:#7a4f00;padding:2px 6px;border-radius:4px}

/* Hilfsklassen (keine Inline-Styles, wegen CSP) */
.split-center{align-items:center}
.border-top{border-top:1px solid var(--line)}
.on-dark{color:#fff}
.faq-head{flex:1 1 320px}
.faq{flex:2 1 560px}
.plan-terms{font-size:14px;color:var(--muted)}
.plan-sub{font-size:15px;color:var(--muted);margin-top:6px}
.cta-text{font-size:15px;color:var(--muted)}
.receipt-no{font-family:var(--mono);font-size:18px;font-weight:500;margin-top:4px}
.strong{font-weight:500}
.sig-label{margin-bottom:6px}
.eyebrow.flush{margin:0}
.no-top{padding-top:0}
figure.receipt-wrap{margin:24px 0 0}
section[id]{scroll-margin-top:80px}
