/* ============================================================
   Kündigen-Tool — Conversion-optimiertes Design-System
   Vertrauen (Navy) + klarer Geld-CTA (Grün)
   ============================================================ */

:root {
  --navy-900: #0b1f3a;
  --navy-800: #12294b;
  --navy-700: #1b3a63;
  --navy-600: #24487a;
  --blue-500: #2f6fed;
  --blue-50:  #eef4ff;

  --green-600: #10864f;
  --green-500: #16a35c;
  --green-400: #21c26f;
  --green-50:  #e9faf1;

  --amber-500: #f5a623;
  --amber-50:  #fff6e6;
  --red-500:   #e0523d;
  --red-50:    #fdecea;

  --ink:      #0f1b2d;
  --ink-soft: #40506a;
  --muted:    #6b7a94;
  --line:     #e4e9f2;
  --bg:       #f6f8fc;
  --bg-soft:  #fbfcfe;
  --white:    #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(11,31,58,.08), 0 1px 2px rgba(11,31,58,.04);
  --shadow-md: 0 8px 30px rgba(11,31,58,.10);
  --shadow-lg: 0 24px 60px rgba(11,31,58,.16);

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--navy-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 .5em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500); margin-bottom: .6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 20px rgba(47,111,237,.28); }
.btn-primary:hover { background: #245fd6; box-shadow: 0 12px 26px rgba(47,111,237,.36); }

/* Der Geld-Button — bewusst grün, maximaler Kontrast */
.btn-money {
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: #fff; font-size: 1.1rem; padding: 17px 34px;
  box-shadow: 0 10px 24px rgba(22,163,92,.34);
}
.btn-money:hover { box-shadow: 0 16px 34px rgba(22,163,92,.44); }
.btn-ghost { background: #fff; color: var(--navy-800); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-500); }
.btn-lg { font-size: 1.15rem; padding: 18px 38px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--navy-900); }
.logo:hover { text-decoration: none; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); color: #fff; font-size: 1.1rem;
}
.logo .mark svg { width: 20px; height: 20px; }
.header-cta { font-size: .95rem; }
.header-trust { display: flex; gap: 18px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.header-trust span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 720px){ .header-trust { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); }
.hero::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(60% 50% at 85% 0%, rgba(47,111,237,.10), transparent 70%);
}
.hero-inner { position: relative; padding: 64px 0 52px; text-align: center; }
.hero h1 span { color: var(--blue-500); }
.hero .lead { max-width: 620px; margin: 0 auto 1.6em; }
.hero-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Trust-Zeile unter dem Hero */
.trust-row { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.trust-row .item { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--navy-800); }
.trust-row .item svg { width: 20px; height: 20px; color: var(--green-500); flex: none; }

/* Social-Proof-Zähler */
.counter-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px 9px 12px; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .95rem; color: var(--navy-800);
}
.counter-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px var(--green-50); animation: pulse 2s infinite; }
.counter-pill b { color: var(--navy-900); font-variant-numeric: tabular-nums; }
.avatars { display: inline-flex; }
.avatars span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; background: var(--blue-50); display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: var(--navy-700); }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.4 } }

/* ---------- Sektionen ---------- */
section { padding: 60px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head .lead { margin-bottom: 0; }

/* ---------- Kategorie-Grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  color: var(--navy-900); position: relative;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-500); text-decoration: none; }
.cat-card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-500); font-size: 1.5rem;
}
.cat-card .ico svg { width: 26px; height: 26px; }
.cat-card h3 { margin: 4px 0 0; font-size: 1.12rem; }
.cat-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.cat-card .go { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--blue-500); display: inline-flex; align-items: center; gap: 6px; }
.cat-card.popular::before {
  content: "Beliebt"; position: absolute; top: 14px; right: 14px;
  background: var(--amber-50); color: #b5730a; font-size: .7rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; letter-spacing: .03em;
}

/* ---------- Steps / How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; }
.step .num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--navy-900); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
}
@media (max-width: 720px){ .steps { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Generator ---------- */
.gen-wrap { max-width: 940px; margin: 0 auto; }
.gen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px){ .gen-grid { grid-template-columns: 1fr; } }

.progress { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; justify-content: center; }
.progress .pstep { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.progress .pdot { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-size: .85rem; }
.progress .pstep.active .pdot { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.progress .pstep.done .pdot { background: var(--green-500); border-color: var(--green-500); color: #fff; }
.progress .pstep.active, .progress .pstep.done { color: var(--navy-900); }
.progress .bar { width: 34px; height: 2px; background: var(--line); }
@media (max-width: 620px){ .progress .plabel { display:none; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-md);
}
.card h2 { font-size: 1.5rem; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft); transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px){ .field-row { grid-template-columns: 1fr; } }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-cards label {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px; cursor: pointer;
  font-weight: 600; font-size: .92rem; display: block; transition: all .15s; background: var(--bg-soft);
}
.radio-cards label small { display:block; font-weight: 500; color: var(--muted); margin-top: 4px; font-size: .8rem; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards input:checked + label,
.radio-cards label.sel { border-color: var(--blue-500); background: var(--blue-50); }

/* Live-Vorschau des Briefs */
.letter-preview {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 34px 32px; font-size: .82rem; line-height: 1.7; color: #1a2333; box-shadow: var(--shadow-sm);
  min-height: 420px; font-family: 'Inter', sans-serif;
}
.letter-preview .lp-sender { font-size: .78rem; color: #55617a; margin-bottom: 26px; }
.letter-preview .lp-recip { margin-bottom: 22px; }
.letter-preview .lp-date { text-align: right; margin-bottom: 22px; color:#55617a; }
.letter-preview .lp-subject { font-weight: 700; margin-bottom: 16px; }
.letter-preview .lp-body p { color: #1a2333; margin-bottom: 12px; }
.letter-preview .muted-ph { color: #b3bccb; }
.preview-sticky { position: sticky; top: 88px; }
.preview-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; display:flex; align-items:center; gap:8px; }

/* ---------- Ergebnis / Danke + Affiliate ---------- */
.result-hero { text-align: center; padding: 46px 30px 34px; }
.result-check {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--green-50); color: var(--green-500); display: grid; place-items: center;
}
.result-check svg { width: 40px; height: 40px; }

/* Das Affiliate-Angebot — die wichtigste Box der Seite */
.offer-card {
  margin-top: 30px; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--green-400); box-shadow: 0 16px 40px rgba(22,163,92,.18);
  background: #fff;
}
.offer-top { background: linear-gradient(135deg, var(--green-50), #fff); padding: 26px 30px; }
.offer-badge { display: inline-block; background: var(--green-500); color:#fff; font-size:.72rem; font-weight:700; letter-spacing:.06em; padding:4px 11px; border-radius:999px; text-transform:uppercase; margin-bottom:12px; }
.offer-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.offer-anchor { display:flex; align-items:baseline; gap:10px; margin: 6px 0 4px; flex-wrap:wrap; }
.offer-anchor .big { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--green-600); white-space:nowrap; }
.offer-anchor .small { color: var(--muted); }
.offer-bottom { padding: 22px 30px 28px; display:flex; flex-direction:column; gap:14px; }
.offer-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.offer-list li { display:flex; align-items:center; gap:9px; font-weight:600; font-size:.95rem; color:var(--navy-800); }
.offer-list li svg { width:18px; height:18px; color:var(--green-500); flex:none; }
.offer-fineprint { font-size:.75rem; color:var(--muted); margin: 4px 0 0; }

/* Dringlichkeits-Hinweis (echte Fakten) */
.urgency {
  display:flex; gap:12px; align-items:flex-start; background: var(--amber-50);
  border:1px solid #f6dfa8; border-radius: var(--radius-sm); padding:14px 16px; margin: 18px 0;
}
.urgency svg { width:22px; height:22px; color:#c8890c; flex:none; margin-top:1px; }
.urgency p { margin:0; font-size:.92rem; color:#6b4e12; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.08rem; color: var(--navy-900); list-style: none; display:flex; justify-content:space-between; gap:16px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; font-size:1.4rem; color: var(--blue-500); font-weight:400; }
.faq-item[open] summary::after { content:"–"; }
.faq-item p { padding: 0 0 20px; }

/* ---------- Trust-Streifen ---------- */
.trust-band { background: var(--navy-900); color: #cdd8ea; }
.trust-band .container { display:flex; justify-content:space-around; flex-wrap:wrap; gap:24px; text-align:center; }
.trust-band .tstat { }
.trust-band .tstat b { display:block; font-family: var(--font-head); font-size: 2rem; color:#fff; }
.trust-band .tstat span { font-size:.9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb0cc; padding: 50px 0 30px; }
.site-footer a { color: #cdd8ea; }
.footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width:720px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color:#fff; font-family: var(--font-body); font-size:.95rem; text-transform:uppercase; letter-spacing:.06em; margin:0 0 14px; }
.footer-grid ul { list-style:none; padding:0; margin:0; display:grid; gap:9px; font-size:.92rem; }
.footer-brand .logo { color:#fff; margin-bottom:12px; }
.footer-brand p { color:#8296b5; font-size:.9rem; max-width: 320px; }
.footer-bottom { border-top:1px solid #1e3357; padding-top:22px; font-size:.82rem; color:#7488a8; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-legal-note { max-width: 720px; font-size:.78rem; color:#67799a; margin-top:16px; line-height:1.6; }

/* ---------- Utilities ---------- */
.hidden { display: none !important; }
.text-center { text-align:center; }
.mt-0 { margin-top:0; } .mb-0 { margin-bottom:0; }
.badge-free { display:inline-block; background:var(--green-50); color:var(--green-600); font-weight:700; font-size:.8rem; padding:4px 12px; border-radius:999px; }

/* content pages */
.content-page { background:#fff; }
.content-page section { padding: 48px 0; }
.prose h2 { margin-top: 1.4em; }
.prose ul { color: var(--ink-soft); }
.breadcrumb { font-size:.85rem; color:var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }
