@font-face { font-family: "Pangea"; src: url("../fonts/Pangea-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Pangea Text"; src: url("../fonts/PangeaText-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --navy: #0b2545;
  --blue: #2b5fa1;
  --blue-light: #eff6ff;
  --ink: #101828;
  --slate: #475467;
  --line: #e4e7ec;
  --paper: #ffffff;
  --mist: #f4f6f9;
  --lime: #d8f26b;
  --display: "Pangea", "Pangea Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Pangea Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--text); }
img, svg { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); margin: 0 0 1.3rem; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin: 0 0 1.1rem; }
h3 { font-size: 1.2rem; margin: 0 0 .45rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--slate); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 22px; width: auto; display: block; }
.brand span { font: 700 .95rem/1 var(--display); padding-left: 12px; border-left: 1.5px solid var(--line); }
.site-header nav { display: flex; gap: 24px; align-items: center; }
.site-header nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-header nav a:hover { color: var(--blue); }
.site-header nav a.btn, .site-header nav a.btn:hover { color: #fff; }
@media (max-width: 860px) { .site-header nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; background: var(--blue); color: #fff; font: 700 1rem/1 var(--display); padding: 16px 22px; border-radius: 8px; }
.btn:hover { background: var(--navy); }
.btn.small { padding: 11px 16px; font-size: .92rem; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--lime); }
.btn.line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* Hero */
.hero { padding: 64px 0 80px; background: linear-gradient(180deg, var(--blue-light) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem; }
.lead { font-size: 1.18rem; color: var(--slate); max-width: 33em; }
.hero-points { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: 10px; }
.hero-points li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-cta small { color: var(--slate); font-size: .88rem; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } }

/* Demo console */
.demo { background: var(--navy); color: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 24px 60px rgba(11,37,69,.25); }
.demo h2 { color: #fff; font-size: 1.45rem; margin: 0 0 .4rem; }
.demo p { color: #c7d2e3; font-size: .95rem; margin-bottom: 1rem; }
.demo form { display: flex; gap: 8px; }
.demo input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 14px 14px; border-radius: 8px; border: 0; color: var(--ink); }
.demo input:focus { outline: 3px solid var(--lime); outline-offset: 1px; }
.demo .btn { background: var(--lime); color: var(--navy); white-space: nowrap; }
.demo .btn:hover { background: #fff; }
.demo .status { min-height: 1.4em; font-size: .9rem; color: #c7d2e3; margin: 12px 0 0; }
.demo .status.err { color: #ffb4a8; }
.demo-chat { height: 470px; margin-top: 16px; display: none; }
.demo-chat.on { display: block; }
.demo .after { display: none; margin-top: 14px; font-size: .92rem; color: #c7d2e3; }
.demo .after.on { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.demo .after a.btn { padding: 11px 15px; font-size: .9rem; }
.progress { display: none; margin-top: 14px; height: 4px; background: rgba(255,255,255,.15); border-radius: 4px; overflow: hidden; }
.progress.on { display: block; }
.progress i { display: block; height: 100%; width: 30%; background: var(--lime); animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) { .progress i { animation: none; width: 100%; opacity: .5; } }
@media (max-width: 520px) { .demo form { flex-direction: column; } .demo { padding: 20px; } }

/* Sections */
section.block { padding: 96px 0; }
section.block.mist { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--slate); font-size: 1.08rem; }
@media (max-width: 860px) { section.block { padding: 64px 0; } }

/* Branchen-Dialoge */
.dialogs { border-top: 2px solid var(--navy); }
.dialog { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.dialog .who h3 { font-size: 1.35rem; }
.dialog .who p { color: var(--slate); font-size: .95rem; margin: 0; }
.bubbles { display: grid; gap: 10px; max-width: 640px; }
.bubble { padding: 11px 15px; border-radius: 14px; font-size: .97rem; max-width: 88%; }
.bubble.q { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bubble.a { justify-self: start; background: var(--mist); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
section.block.mist .bubble.a { background: #fff; }
.bubble.note { justify-self: start; background: transparent; color: var(--slate); font-size: .85rem; padding: 0 4px; }
.bubble.note::before { content: "→ "; color: var(--blue); font-weight: 700; }
@media (max-width: 760px) { .dialog { grid-template-columns: 1fr; gap: 16px; } }

/* Ablauf als Zeitleiste */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.timeline li { counter-increment: s; position: relative; padding-right: 28px; }
.timeline li::before { content: counter(s); position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.2rem/1 var(--display); margin-bottom: 18px; box-shadow: 0 0 0 8px #fff; }
section.block.mist .timeline li::before { box-shadow: 0 0 0 8px var(--mist); }
.timeline .when { display: block; font: 700 .75rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.timeline p { color: var(--slate); font-size: .96rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 6px; }
  .timeline::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding: 0 0 22px 70px; }
  .timeline li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* Kann / kann nicht */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; border: 2px solid var(--navy); border-radius: 14px; overflow: hidden; }
.split > div { padding: 40px; }
.split > div + div { background: var(--navy); color: #dbe4f0; }
.split > div + div h3 { color: #fff; }
.split ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.split li { padding-left: 28px; position: relative; }
.split li strong { display: block; color: var(--navy); font-family: var(--display); }
.split > div + div li strong { color: #fff; }
.split li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--blue); }
.split > div + div li::before { content: "–"; color: var(--lime); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > div { padding: 28px 22px; } }

/* Datenschutz-Band */
.band { background: var(--navy); color: #dbe4f0; padding: 88px 0; }
.band h2 { color: #fff; }
.band .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); }
.facts div:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.facts dt { font: 700 .95rem/1.4 var(--display); color: var(--lime); }
.facts dd { margin: 0; }
@media (max-width: 900px) { .band .wrap { grid-template-columns: 1fr; gap: 28px; } .facts div { grid-template-columns: 1fr; gap: 4px; } .band { padding: 64px 0; } }

/* Preis */
.price { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; padding: 44px; border-radius: 16px; background: var(--blue-light); border: 1px solid #c9dcf3; }
.price .amount { font: 700 clamp(3.4rem, 7vw, 5rem)/1 var(--display); color: var(--navy); }
.price .amount small { display: block; font: 400 .95rem/1.4 var(--text); color: var(--slate); margin-top: 8px; }
.price ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.price li { break-inside: avoid; padding: 6px 0 6px 24px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.price .go { display: grid; gap: 10px; justify-items: center; text-align: center; }
.price .go small { color: var(--slate); font-size: .85rem; max-width: 16em; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--slate); max-width: 22em; text-align: left; }
.consent-row input { margin-top: 3px; }
@media (max-width: 1000px) { .price { grid-template-columns: 1fr; gap: 28px; padding: 30px 24px; } .price .go { justify-items: start; text-align: left; } }
@media (max-width: 560px) { .price ul { columns: 1; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 700 1.1rem/1.35 var(--display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--slate); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Abschluss */
.closing { background: var(--lime); padding: 72px 0; }
.closing .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.closing h2 { margin: 0; max-width: 18em; }

/* Footer */
.site-footer { padding: 40px 0; font-size: .9rem; color: var(--slate); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--slate); }

/* Textseiten */
.text-page { max-width: 780px; margin: 0 auto; padding: 56px 20px 90px; }
.text-page h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.text-page h2 { font-size: 1.45rem; margin-top: 2.4rem; }
.text-page h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.text-page pre { white-space: pre-wrap; background: var(--mist); border: 1px solid var(--line); padding: 16px; border-radius: 8px; font-size: .9rem; }
.text-page table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
.text-page td, .text-page th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }

/* Cookie-Banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483600; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 40px rgba(16,24,40,.18); padding: 18px 20px; font-size: .92rem; }
.cookie p { margin: 0 0 12px; color: var(--slate); }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { padding: 11px 16px; font-size: .9rem; }
