@font-face { font-family: "Fraunces"; src: url(fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --ink: #1d1d1b;
  --ink-soft: #4a4a46;
  --bg: #fbfaf7;
  --mint: #c4e3e1;
  --mint-soft: #e6f3f2;
  --pink: #ecc9dc;
  --pink-soft: #f7e9f0;
  --sand: #ecdcb6;
  --sand-soft: #f6efdd;
  --sage: #cfe0c9;
  --teal: #2f6f6d;
  --accent: #c2387f;
  --line: #e6e2d9;
  --radius: 22px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 24ch; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 62ch; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: .8em; }
.body-lg { font-size: 1.15rem; }
.note { color: var(--ink-soft); font-size: .95rem; border-left: 3px solid var(--accent); padding-left: 14px; margin-top: 28px; max-width: 70ch; }
.small { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }

/* Fußnoten */
.fn { font-size: .68em; vertical-align: super; line-height: 0; text-decoration: none; color: var(--accent); font-weight: 600; margin-left: 2px; }
.fn::before { content: "["; } .fn::after { content: "]"; }
.stats .fn { color: var(--sand); }

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 14px 24px; border-radius: 999px; font-weight: 600; transition: transform .15s; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: rgba(255,255,255,.65); color: var(--ink); border: 1px solid rgba(0,0,0,.12); }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-dark { background: var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251,250,247,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav nav { display: flex; gap: 24px; align-items: center; }
.nav nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav nav a:not(.btn):hover { color: var(--teal); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }

/* Hero */
.hero { background: url(img/bg.jpg) center / cover no-repeat, linear-gradient(115deg, var(--mint), var(--pink), var(--sand)); padding: 72px 0 80px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.28); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: #1d1d1b; opacity: .75; }
.lead { font-size: 1.2rem; max-width: 52ch; color: #2c2c29; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-facts li { background: rgba(255,255,255,.7); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 500; }
.hero-phones { position: relative; height: 480px; }
.phone { position: absolute; width: 230px; border-radius: 30px; border: 6px solid #fff; box-shadow: 0 24px 60px rgba(40,30,50,.25); }
.phone-back { left: 10%; top: 0; transform: rotate(-5deg); }
.phone-front { left: 42%; top: 50px; transform: rotate(4deg); }

/* Stats */
.stats { background: var(--ink); color: #fff; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; margin-bottom: 6px; }
.stat span { color: #d8d6cf; font-size: .95rem; }

/* Sections */
.section { padding: 88px 0; }
.tint-mint { background: var(--mint-soft); }
.tint-sand { background: var(--sand-soft); }
.tint-pink { background: var(--pink-soft); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 24px; }

.chat { background: var(--mint); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.msg { margin: 0; max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: .95rem; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.msg.in { align-self: flex-start; background: #1f9d55; color: #fff; border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: #fff; border: 1.5px solid #1f9d55; border-bottom-right-radius: 4px; }

.journey { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.journey li { border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.journey li p { flex: 1; }
.j-mint { background: var(--sage); }
.j-sand { background: var(--sand); }
.j-pink { background: var(--pink); }
.j-phase { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.journey h3 { margin-top: 8px; }
.j-tag { align-self: flex-start; margin-top: auto; background: rgba(255,255,255,.7); border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 600; }

/* App */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 56px; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; }
.step-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 600; margin-bottom: 14px; }
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.screens figure { margin: 0; }
.screens img { border-radius: 22px; border: 5px solid #fff; box-shadow: 0 12px 30px rgba(30,60,60,.14); }
.screens figcaption { font-size: .92rem; margin-top: 12px; color: var(--ink-soft); }
.screens figcaption b { color: var(--ink); }

/* Cards */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.card { border-radius: var(--radius); padding: 32px; }
.card-sand { background: var(--sand); }
.card-pink { background: var(--pink); }
.card p:last-child { margin: 0; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.benefit { background: #fff; border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--teal); }
.benefit p { margin: 0; color: var(--ink-soft); }
.kassen-cta { margin: 36px 0 0; font-size: 1.1rem; max-width: 70ch; }

/* Table */
.table-scroll { overflow-x: auto; margin-top: 28px; }
.compare { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody th { text-align: left; font-weight: 500; }
.compare thead th { font-size: .9rem; font-weight: 600; background: #f4f2ec; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td { color: var(--ink-soft); }
.compare .hl { background: var(--mint-soft); color: var(--teal); font-weight: 700; }
.compare thead .hl { background: var(--teal); color: #fff; }

/* Founder */
.founder { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 30%; }
.founder-photo blockquote { margin: -44px 20px 0; position: relative; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; background: #fff; border-radius: 18px; padding: 20px 24px; box-shadow: 0 12px 30px rgba(30,30,30,.12); }

/* Kontakt */
.cta { background: url(img/bg.jpg) center / cover no-repeat, linear-gradient(115deg, var(--mint), var(--pink), var(--sand)); position: relative; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.35); }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta h2 { max-width: 20ch; }
.form { width: 100%; max-width: 640px; background: #fff; border-radius: var(--radius); padding: 32px; text-align: left; box-shadow: 0 16px 40px rgba(40,30,50,.12); margin-top: 16px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.form .opt { font-weight: 400; color: var(--ink-soft); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem; background: var(--bg); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { margin: 0 0 18px; }
.form-status { margin: 16px 0 0; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: var(--teal); }
.form-status.error { color: var(--accent); }

/* Sources */
.sources { padding: 48px 0; font-size: .85rem; color: var(--ink-soft); }
.h-small { font-size: 1.1rem; }
.sources ol { padding-left: 20px; margin: 0; }
.sources li { margin-bottom: 6px; scroll-margin-top: 90px; }
.sources li:target { background: var(--sand-soft); border-radius: 6px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--ink); }

/* Legal pages */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; max-width: none; }
.legal .adresse { max-width: 420px; margin: 8px 0 24px; }

/* Responsive */
@media (max-width: 900px) {
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-in, .two-col, .cards-2, .founder, .form-row { grid-template-columns: 1fr; }
  .hero-phones { height: 380px; max-width: 420px; }
  .phone { width: 180px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .journey, .steps, .benefits { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .founder { gap: 32px; }
  .founder-photo { max-width: 440px; }
  .form { padding: 24px 20px; }
}
@media (max-width: 420px) {
  .phone { width: 150px; }
  .hero-phones { height: 320px; }
  .stats-grid { gap: 20px 14px; }
}
