/* ==========================================================
   Design-Tokens
   ========================================================== */
:root {
  /* Farbpalette: Navy + Blautöne */
  --navy-900: #0b1530;
  --navy-800: #13214a;
  --navy-700: #1c2f66;
  --ink: #16203a;
  --muted: #5b6684;
  --line: #e4e8f1;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tint: #eef2fb;
  --accent: #38b6ff;
  --accent-dark: #1a9ef0;
  --brand: #1f6fd1;
  --brand-dark: #1857a8;
  --success: #1f9d6b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(19, 33, 74, .18);
  --shadow-lg: 0 30px 60px -20px rgba(19, 33, 74, .28);
  --container: 1180px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); }
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #cdd5ea; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .lead { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px;
  border-radius: 999px; font-weight: 600; font-size: 1rem; border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s; cursor: pointer;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(56,182,255,.6); }
.btn--primary:hover { background: var(--accent-dark); color: var(--navy-900); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--navy-900); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(19,33,74,.3); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy-900); font-size: 1.15rem; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--navy-700)); color: #fff;
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__img {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; flex: none;
  box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(19,33,74,.5);
}
.footer .logo__img { width: 64px; height: 64px; box-shadow: none; }
.logo small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav__drop > button {
  padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .96rem;
  background: none; border: 0; font-family: inherit; cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav__drop > button:hover, .nav a.is-active { background: var(--bg-tint); color: var(--brand); }
.nav__drop { position: relative; }
.nav__drop > button svg { width: 14px; height: 14px; transition: transform .2s; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 720px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 24px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px;
  opacity: 0; visibility: hidden; transition: all .2s;
}
.nav__drop:hover .mega, .nav__drop.is-open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__drop:hover > button svg { transform: rotate(180deg); }
.mega h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.mega a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; color: var(--ink); font-size: .93rem; }
.mega a:hover { background: var(--bg-tint); color: var(--brand); }
.mega a .ico { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--bg-tint); display: grid; place-items: center; color: var(--brand); }
.mega a .ico svg { width: 16px; height: 16px; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn { padding: 10px 20px; font-size: .94rem; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy-900); }
.burger svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #cdd5ea;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(31,111,209,.45), transparent 60%),
              radial-gradient(800px 500px at -10% 110%, rgba(56,182,255,.16), transparent 60%),
              var(--navy-900);
  padding: 110px 0 120px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { color: #b9c3dd; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: .92rem; }
.hero__trust span { display: flex; gap: 8px; align-items: center; }
.hero__trust svg { width: 18px; height: 18px; color: var(--accent); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: #e5eaf7; margin-bottom: 24px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61,220,151,.2); }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 24px;
  padding: 30px; backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; margin-bottom: 18px; }
.hero-card ol { list-style: none; padding: 0; margin: 0 0 22px; counter-reset: s; }
.hero-card li { counter-increment: s; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.hero-card li:last-child { border: 0; }
.hero-card li::before {
  content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--navy-900); font-weight: 700; font-size: .9rem;
}
.hero-card li strong { color: #fff; display: block; }
.hero-card li span { font-size: .9rem; }

/* Page hero (Unterseiten) */
.page-hero {
  background: radial-gradient(900px 400px at 90% 0%, rgba(31,111,209,.4), transparent 60%), var(--navy-900);
  color: #b9c3dd; padding: 70px 0 80px;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 820px; }
.page-hero .lead { color: #b9c3dd; }
.page-hero__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.page-hero__icon {
  width: 120px; height: 120px; border-radius: 30px; display: grid; place-items: center; color: var(--accent);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.page-hero__icon svg { width: 56px; height: 56px; }
.crumbs { font-size: .88rem; margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: #b9c3dd; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3daf0; }
.card p { color: var(--muted); font-size: .97rem; }
.card__ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--bg-tint); color: var(--brand);
}
.card__ico svg { width: 26px; height: 26px; }
.card__link { margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(4px); }
.card--feature { padding: 36px; }
.card--feature .tag {
  position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; background: #e6f4ff; color: #0f6cb8; padding: 5px 10px; border-radius: 999px;
}
.card--feature ul { margin: 0 0 24px; }
a.card { color: inherit; }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: #e3f5ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d6b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checks--sm li { font-size: .95rem; margin-bottom: 8px; color: var(--ink); }

/* Über uns */
.about { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; isolation: isolate; width: 100%; max-width: 360px; justify-self: center; }
.about__media > img:first-child {
  width: 100%; height: auto; border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%;
  box-shadow: var(--shadow-lg); background: #eef1f5;
}
.about__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px; z-index: -1;
  background: linear-gradient(135deg, var(--accent), var(--navy-700)); opacity: .18;
}
.about__stamp {
  position: absolute; right: -26px; bottom: -26px; width: 110px; height: 110px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-lg);
}
.about__years {
  position: absolute; left: -22px; bottom: 30px; background: var(--navy-700); color: #dfe6f5; border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); line-height: 1.2; font-size: .85rem;
}
.about__years strong { display: block; font-family: var(--font-serif); font-size: 2rem; color: #fff; }
.about__text { max-width: 620px; }
.about__text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.about__text .lead { color: var(--ink); font-size: 1.12rem; font-weight: 500; }
.about__text p { color: var(--muted); }
.about__quote {
  margin: 26px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent);
  font-family: var(--font-serif); font-size: 1.2rem; font-style: italic; color: var(--navy-700); line-height: 1.45;
}
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 30px; }
.about__facts > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: .88rem; line-height: 1.4; }
.about__facts svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 8px; }
.about__facts strong { display: block; color: var(--navy-900); font-size: .95rem; margin-bottom: 2px; }
.about__facts span { color: var(--muted); }
.hero-logo { width: 96px; height: 96px; border-radius: 50%; background: #fff; padding: 4px; margin: -70px auto 18px; box-shadow: var(--shadow-lg); }

/* Pain points */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain__item {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px 22px; font-weight: 500;
}
.pain__item svg { width: 22px; height: 22px; flex: none; color: #d9534f; margin-top: 2px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: st; position: relative; }
.step { counter-increment: st; position: relative; padding-top: 70px; }
.step::before {
  content: "0" counter(st); position: absolute; top: 0; left: 0; font-family: var(--font-serif);
  font-size: 2.6rem; font-weight: 600; color: var(--accent); line-height: 1;
}
.step::after { content: ""; position: absolute; top: 22px; left: 80px; right: -12px; height: 2px; background: rgba(255,255,255,.12); }
.step:last-child::after { display: none; }
.section:not(.section--dark) .step::after { background: var(--line); }
.step p { font-size: .96rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split--wide { grid-template-columns: 1.4fr 1fr; }
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.panel--sticky { position: sticky; top: 100px; }
.panel--dark { background: var(--navy-900); border: 0; color: #b9c3dd; }
.panel--dark h3 { color: #fff; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.values > div { background: var(--navy-800); padding: 32px 28px; }
.values svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.values p { font-size: .95rem; margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.07rem;
  position: relative; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--bg-tint); color: var(--brand);
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-right: 44px; }

/* CTA band */
.cta {
  background: linear-gradient(120deg, var(--brand), var(--navy-700)); border-radius: 28px; padding: 60px;
  color: #dfe6fb; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .97rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31,111,209,.12); }
.field textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 4px; }
.form__note { font-size: .88rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__error { display: none; background: #fdecec; color: #9b2c2c; padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 500; }
.form__error a { color: inherit; text-decoration: underline; }
.form { position: relative; }
.form__success { display: none; background: #e3f5ec; color: #146c4a; padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 500; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-list strong { color: #fff; display: block; }

/* Prose (rechtliche Seiten) */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.notice { background: #fff8ea; border: 1px solid #f3dcae; color: #7a5410; padding: 16px 20px; border-radius: var(--radius-sm); font-size: .95rem; margin-bottom: 30px; }

/* Related */
.related a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; background: #fff; transition: all .2s; }
.related a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.related .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.related .ico svg { width: 18px; height: 18px; }

/* Footer */
.partner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; padding: 26px 30px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.partner strong { display: block; color: #fff; font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 4px; }
.partner > div span { color: #93a0c2; }
.footer .partner .btn, .footer .partner .btn:hover { color: var(--navy-900); }
@media (max-width: 680px) { .partner { padding: 22px 20px; margin-bottom: 40px; } .partner .btn { width: 100%; justify-content: center; } }/* Kopfzeile: nichts umbrechen; bei mittlerer Breite WhatsApp-Button im Header ausblenden (bleibt als Float-Button) */
.header .btn, .logo span { white-space: nowrap; }
@media (max-width: 1420px) and (min-width: 1081px) { .header__cta .btn--outline { display: none; } }
@media (max-width: 1220px) and (min-width: 1081px) { .nav { gap: 0; } .nav > a, .nav__drop > button { padding-left: 10px; padding-right: 10px; } .header .btn--primary { padding: 12px 18px; } .logo small { display: none; } }

/* ---------- Ratgeber ---------- */
.article-card { display: flex; flex-direction: column; }
.article-card .tag { align-self: flex-start; margin-bottom: 12px; }
.article-card__meta { font-size: .85rem; color: var(--muted); margin-top: auto; padding-top: 6px; }
.article { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.article__toc > div { position: sticky; top: 110px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.article__toc strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.article__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.article__toc li { counter-increment: t; }
.article__toc a { display: flex; gap: 8px; padding: 7px 0; color: var(--ink); font-size: .92rem; line-height: 1.35; border-bottom: 1px dashed var(--line); }
.article__toc li:last-child a { border-bottom: 0; }
.article__toc a::before { content: counter(t) "."; color: var(--brand); font-weight: 600; }
.article__toc a:hover { color: var(--brand); }
.article__body { max-width: 760px; }
.article__body h2 { scroll-margin-top: 100px; }
.article__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-bottom: 28px; }
.article__meta svg { width: 16px; height: 16px; }
.article__body ul, .article__body ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.article__body li { margin: .4em 0; }
.article__body blockquote { margin: 1.4em 0; padding: 18px 22px; background: var(--bg-soft); border-left: 3px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .98rem; }
.article__body .note { background: var(--bg-tint); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .95rem; }
.article__body .formula { font-weight: 600; background: var(--bg-tint); color: var(--navy-800); border-radius: var(--radius-sm); padding: 14px 18px; }
.box { border-radius: var(--radius); padding: 24px 26px; margin-bottom: 34px; }
.box--key { background: var(--bg-tint); border: 1px solid #d5e3f7; }
.box--key > strong { display: block; font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 8px; color: var(--navy-900); }
.box--key ul { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--bg-soft); font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.table-wrap tr:last-child td { border-bottom: 0; }
.compare { display: grid; gap: 12px; margin-bottom: 1.4em; }
.compare__row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; font-size: .94rem; }
.compare__bad, .compare__good { padding: 14px 16px 14px 40px; position: relative; }
.compare__bad { background: #fdf3f2; color: #7d3b36; }
.compare__good { background: #eef7f2; color: #1d5a40; }
.compare__bad::before, .compare__good::before { position: absolute; left: 14px; top: 13px; font-weight: 700; }
.compare__bad::before { content: "✗"; }
.compare__good::before { content: "✓"; }
.compare__field { grid-column: 1 / -1; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 16px; background: #fff; border-top: 1px solid var(--line); }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 32px; }
.outline { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 1.4em; font-size: .95rem; }
.outline p { display: flex; margin: 0; padding: 5px 0; font-weight: 600; color: var(--navy-900); }
.outline p.l2 { padding-left: 28px; font-weight: 400; color: var(--ink); }
.outline b { flex: none; width: 36px; color: var(--brand); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border: 2px solid var(--brand); border-radius: 6px; }
.article-cta { display: flex; gap: 20px; margin-top: 44px; padding: 28px; border-radius: var(--radius); background: var(--navy-900); color: #b9c3dd; }
.article-cta .card__ico { flex: none; background: rgba(255,255,255,.08); color: var(--accent); }
.article-cta strong { display: block; color: #fff; font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 6px; }
.article-cta p { margin-bottom: 18px; }
.article-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.article-cta .btn--primary { background: var(--accent); color: var(--navy-900); }
.article-cta .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 1080px) {
  .article { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article__toc > div { position: static; }
}
@media (max-width: 680px) {
  .compare__row { grid-template-columns: 1fr; }
  .article-cta { flex-direction: column; padding: 22px 20px; }
  .article-cta .btn { width: 100%; justify-content: center; }
  .box { padding: 20px; }
  .table-wrap table { font-size: .84rem; hyphens: auto; -webkit-hyphens: auto; }
  .table-wrap th, .table-wrap td { padding: 9px 8px; white-space: normal; overflow-wrap: anywhere; }
  .table-wrap td:first-child, .table-wrap th:first-child { overflow-wrap: normal; hyphens: manual; }
}
.footer { background: var(--navy-900); color: #93a0c2; padding: 80px 0 30px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #93a0c2; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer .logo small { color: #93a0c2; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .86rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) {
  /* backdrop-filter würde das fixierte Menü im Header "einsperren" (Höhe 0) – daher hier deckend weiß */
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .mobile-bar, body.menu-open .wa-float { display: none; }
  .nav, .header__cta .btn--outline { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: #fff; padding: 20px 24px; overflow-y: auto; gap: 2px;
  }
  .nav.is-open .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 10px; grid-template-columns: 1fr; display: none; }
  .nav.is-open .nav__drop.is-open .mega { display: grid; }
  .mega__cols { grid-template-columns: 1fr; }
  .hero__grid, .split, .split--wide, .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 320px; }
  .about__text { max-width: none; }
  .about__stamp { right: -10px; width: 90px; height: 90px; }
  .about__years { left: -10px; }
  .grid--3, .grid--4, .pain, .values { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .panel--sticky { position: static; }
}
/* Mobile Aktionsleiste (nur auf kleinen Bildschirmen sichtbar) */
.mobile-bar { display: none; }

@media (max-width: 680px) {
  body { font-size: 16px; line-height: 1.6; padding-bottom: 76px; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.08rem; }
  .lead { font-size: 1.02rem; }
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .eyebrow { font-size: .72rem; margin-bottom: 10px; }
  .section-head { margin-bottom: 30px; }
  .section-head--center { text-align: left; }
  .btn { padding: 13px 22px; }

  /* Header */
  .header__inner { height: 64px; }
  .logo { gap: 10px; font-size: 1rem; }
  .logo__img { width: 42px; height: 42px; }
  .logo small { font-size: .66rem; }
  .header__cta .btn--primary { display: none; }
  .burger { padding: 10px; margin-right: -10px; }
  .nav.is-open { top: 64px; padding: 12px 16px 100px; }
  .nav.is-open > a, .nav.is-open .nav__drop > button { padding: 14px 12px; font-size: 1.05rem; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.is-open .mega a { padding: 11px 10px; }

  /* Hero */
  .hero { padding: 40px 0 48px; }
  .hero__grid { gap: 0; }
  .hero .card, .hero-card { display: none; }
  .badge { font-size: .78rem; margin-bottom: 18px; }
  .hero__actions { flex-direction: column; gap: 10px; margin: 24px 0 22px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: .84rem; }
  .hero__trust span:last-child { grid-column: 1 / -1; }

  /* Unterseiten-Kopf */
  .page-hero { padding: 28px 0 40px; }
  .page-hero h1 { font-size: 1.85rem; }
  .crumbs { font-size: .8rem; margin-bottom: 16px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__icon { display: none; }

  /* Raster */
  .grid--3, .grid--4, .grid--2, .pain, .values, .steps, .footer__grid, .form__row { grid-template-columns: 1fr; }
  .grid { gap: 14px; }

  /* Karten kompakt */
  .card, .card--feature, .panel { padding: 22px; border-radius: 16px; }
  .card:hover { transform: none; }
  .card__ico { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; }
  .card__ico svg { width: 22px; height: 22px; }
  .card p { font-size: .94rem; }
  .card--feature .tag { top: 18px; right: 18px; }
  .card--feature ul li:nth-child(n+4) { display: none; }
  .card--feature ul { margin-bottom: 16px; }
  .checks li { padding-left: 30px; margin-bottom: 10px; }
  /* Leistungs-Kacheln als kompakte Zeilen: Icon links, Text rechts */
  a.card:not(.card--feature):not(.tpl-card) {
    display: grid; grid-template-columns: 44px 1fr 18px; column-gap: 14px; align-items: start; padding: 16px 16px 16px 18px;
  }
  a.card:not(.card--feature):not(.tpl-card) .card__ico { grid-row: span 2; margin: 0; }
  a.card:not(.card--feature):not(.tpl-card) h3 { margin: 2px 0 4px; font-size: 1rem; grid-column: 2; }
  a.card:not(.card--feature):not(.tpl-card) p { margin: 0; font-size: .88rem; line-height: 1.45; grid-column: 2; }
  a.card:not(.card--feature):not(.tpl-card) .card__link { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 0; margin: 0; }
  a.card:not(.card--feature):not(.tpl-card) .card__link svg { width: 18px; height: 18px; color: var(--muted); }

  /* Problem-Liste kompakt */
  .pain { gap: 8px; }
  .pain__item { padding: 13px 15px; font-size: .94rem; gap: 12px; }
  .pain__item svg { width: 19px; height: 19px; }

  /* Schritte */
  .steps { row-gap: 26px; }
  .step { padding-top: 0; padding-left: 58px; }
  .step::before { font-size: 1.9rem; top: 2px; }
  .step h3 { margin-bottom: .3em; }

  /* Werte */
  .values > div { padding: 22px; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
  .values svg { margin: 2px 0 0; grid-row: span 2; }
  .values h3 { margin-bottom: .2em; }

  /* Über uns */
  .about { gap: 44px; }
  .about__media { max-width: 250px; margin: 0 auto; }
  .about__media::before { inset: 12px -12px -12px 12px; }
  .about__stamp { width: 78px; height: 78px; right: -16px; bottom: -16px; }
  .about__years { left: -14px; bottom: 18px; padding: 10px 14px; }
  .about__years strong { font-size: 1.6rem; }
  .about__quote { font-size: 1.05rem; margin: 20px 0; }
  .about__facts { grid-template-columns: 1fr; gap: 8px; margin-bottom: 24px; }
  .about__facts > div { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; padding: 12px 14px; }
  .about__facts svg { grid-row: span 2; margin: 2px 0 0; }
  .about__text .btn { width: 100%; justify-content: center; }

  /* Seitenpanel / Formular */
  .split, .split--wide { gap: 36px; }
  .panel .btn { width: 100%; justify-content: center; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 14px; }
  .form button[type=submit] { width: 100%; justify-content: center; }
  .contact-list li { padding: 12px 0; }

  /* FAQ */
  .faq summary { padding: 18px 44px 18px 0; font-size: 1rem; }
  .faq details p { padding-right: 0; font-size: .95rem; }

  /* Verwandte Leistungen */
  .related a { padding: 13px 14px; font-size: .95rem; }

  /* CTA */
  .cta { grid-template-columns: 1fr; padding: 30px 22px; border-radius: 20px; gap: 22px; }
  .cta__actions { flex-direction: column; }
  .cta__actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer { padding: 52px 0 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; font-size: .8rem; }

  /* Feste Aktionsleiste unten statt schwebendem WhatsApp-Button */
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(19,33,74,.35);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 12px;
    font-weight: 700; font-size: .95rem;
  }
  .mobile-bar svg { width: 20px; height: 20px; }
  .mobile-bar__wa { background: #25d366; color: #fff; }
  .mobile-bar__wa:hover { color: #fff; }
  .mobile-bar__cta { background: var(--accent); color: var(--navy-900); }
  .mobile-bar__cta:hover { color: var(--navy-900); }
}
@media (max-width: 360px) {
  h1 { font-size: 1.8rem; }
  .hero__trust { grid-template-columns: 1fr; }
  .logo small { display: none; }
}

/* Vorlagen (kostenlose Downloads) */
.tpl-card .tag, .tpl-box .tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: #e6f4ff; color: #0f6cb8; padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.tpl-card { padding: 0 0 26px; overflow: hidden; }
.tpl-card > :not(.tpl-card__img) { margin-left: 26px; margin-right: 26px; }
.tpl-card__img { aspect-ratio: 4 / 3; background: var(--bg-soft); border-bottom: 1px solid var(--line); overflow: hidden; margin-bottom: 22px; display: grid; place-items: start center; padding: 18px 18px 0; }
.tpl-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: 8px 8px 0 0; box-shadow: 0 8px 24px -12px rgba(19,33,74,.35); background: #fff; }
.tpl { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.tpl__preview { margin: 0; padding: 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.tpl__preview img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow); background: #fff; }
.tpl__info h2 { font-size: 1.5rem; margin: 0 0 18px; }
.tpl__btn { margin-top: 8px; }
.tpl__meta { margin-top: 16px; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.tpl__meta svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.tpl__text { margin-top: 24px; }
.tpl-note { margin-top: 32px; font-size: .92rem; color: var(--muted); max-width: 820px; }
.tpl-box { display: flex; gap: 22px; align-items: center; margin-top: 44px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.tpl-box img { width: 160px; height: 120px; object-fit: cover; object-position: top left; border-radius: 8px; border: 1px solid var(--line); background: #fff; flex: none; }
.tpl-box strong { display: block; font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }
.tpl-box p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.tpl-banner { display: flex; gap: 20px; align-items: center; margin-top: 40px; padding: 24px 28px; border-radius: var(--radius); background: var(--bg-tint); border: 1px solid #d3daf0; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.tpl-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.tpl-banner .card__ico { margin: 0; background: #fff; flex: none; }
.tpl-banner strong { display: block; font-size: 1.1rem; }
.tpl-banner > span:nth-child(2) { flex: 1; color: var(--muted); }
.tpl-banner .card__link { margin: 0; color: var(--brand); white-space: nowrap; }
@media (max-width: 1080px) { .tpl { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 680px) {
  .tpl__preview { padding: 12px; }
  .tpl__btn { width: 100%; justify-content: center; }
  .tpl-box { flex-direction: column; align-items: flex-start; }
  .tpl-box img { width: 100%; height: 160px; }
  .tpl-box .btn { width: 100%; justify-content: center; }
  .tpl-banner { flex-direction: column; align-items: flex-start; padding: 22px; }
}
.tpl__meta svg { display: inline-block; }
@media (max-width: 680px) {
  .tpl-card { padding: 0 0 20px; }
  .tpl-card > :not(.tpl-card__img) { margin-left: 20px; margin-right: 20px; }
  .tpl-card__img { aspect-ratio: 16 / 9; padding: 12px 12px 0; margin-bottom: 16px; }
  .tpl-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
}
.tpl__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tpl__btns .tpl__btn { margin-top: 0; }
.tpl__btn small { font-weight: 500; opacity: .7; font-size: .85em; }
@media (max-width: 680px) { .tpl__btns { flex-direction: column; } }

/* Social-Icons im Footer */
.footer .social { display: flex; gap: 10px; margin-top: 20px; }
.footer .social__btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: transform .2s, background .2s; }
.footer .social__btn svg { width: 22px; height: 22px; }
.footer .social__btn:hover { transform: translateY(-2px); color: #fff; }
.footer .social__btn--ig:hover { background: linear-gradient(45deg, #f9a825, #e1306c 50%, #833ab4); }
.footer .social__btn--wa:hover { background: #25d366; }
.footer .ico-link { display: inline-flex; align-items: center; gap: 8px; }
.footer .ico-link svg { width: 17px; height: 17px; flex: none; }
