/* Kaplan Innovation – Stylesheet */
:root {
  --navy: #16243b;
  --navy-2: #1d3050;
  --navy-3: #0f1a2c;
  --blue: #3a7ca5;
  --blue-light: #7fb6d6;
  --blue-soft: #e8f1f7;
  --ink: #16243b;
  --text: #3d4a5e;
  --muted: #66748a;
  --line: #dde4ec;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --ok: #2f9e6e;
  --wa: #1fa855;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 36, 59, .06), 0 8px 28px rgba(22, 36, 59, .08);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 650; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2f6a8f; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #188f47; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); font-weight: 560; font-size: .96rem; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-links .btn { color: #fff; padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Hero */
.hero { background: radial-gradient(1100px 520px at 85% -10%, rgba(58, 124, 165, .38), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #d6e0ec; padding: 84px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero .eyebrow { color: var(--blue-light); }
.hero .lead { color: #c3d0df; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero-note { font-size: .9rem; color: #9fb0c5; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .12); }
.stat { padding: 26px 20px 30px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat b { display: block; color: #fff; font-size: 1.5rem; font-weight: 720; line-height: 1.2; }
.stat span { font-size: .9rem; color: #9fb0c5; }

/* Hero panel */
.panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); font-size: .93rem; }
.panel-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-family: var(--mono); font-size: .78rem; color: #9fb0c5; }
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.panel-bar span { margin-left: 8px; }
.panel-body { padding: 8px 20px 18px; }
.panel-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.panel-row:last-child { border-bottom: 0; }
.panel-row b { color: #fff; font-weight: 600; display: block; }
.panel-row small { color: #9fb0c5; font-size: .84rem; }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(47, 158, 110, .2); color: #5fd3a2; display: grid; place-items: center; font-size: .78rem; margin-top: 2px; }
.check.run { background: rgba(127, 182, 214, .2); color: var(--blue-light); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, border-color .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); border-color: #c5d6e4; transform: translateY(-2px); }
.card p { font-size: .97rem; margin-bottom: 14px; }
.icon { width: 46px; height: 46px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.ticks li { position: relative; padding-left: 24px; font-size: .94rem; margin-bottom: 6px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.ticks.minus li::before { width: 9px; height: 0; border-left: 0; border-bottom: 2px solid var(--muted); transform: none; top: .8em; }
.card-link { display: inline-block; margin-top: 14px; font-weight: 650; font-size: .95rem; }
.card.feature { background: var(--navy); border-color: var(--navy); color: #c3d0df; }
.card.feature h3 { color: #fff; }
.card.feature .icon { background: rgba(255, 255, 255, .1); color: var(--blue-light); }
.card.feature .ticks li::before { border-color: var(--blue-light); }
.card.feature .card-link { color: var(--blue-light); }
.price { font-size: 1.05rem; color: #fff; font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -2px; left: 0; height: 2px; width: 56px; background: var(--blue); font-size: 0; }
.step .num { font-family: var(--mono); font-size: .82rem; color: var(--blue); font-weight: 700; display: block; margin-bottom: 10px; }
.step p { font-size: .96rem; margin: 0; }

/* Cases */
.case { display: flex; flex-direction: column; }
.case .tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; }
.case .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }

/* Tech */
.tech-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
.tech-group h3 { font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font-size: .9rem; font-weight: 560; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 13px; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.timeline { border-left: 2px solid var(--line); padding-left: 24px; }
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline b { display: block; color: var(--ink); }
.timeline span { font-size: .93rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.fact { background: var(--bg-alt); border-radius: 12px; padding: 16px 18px; }
.fact b { display: block; color: var(--ink); font-size: .98rem; }
.fact span { font-size: .88rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 650; color: var(--ink); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 40px 20px 0; margin: 0; }

/* Contact */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #c3d0df; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--blue-light); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { margin: 28px 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(--blue-light); flex: none; margin-top: 3px; }
.contact-list a { color: #fff; font-weight: 600; }
.contact-list small { display: block; color: #9fb0c5; font-size: .86rem; }
.form { background: #fff; border-radius: 16px; padding: 32px; color: var(--text); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.form h3 { margin-bottom: 20px; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 620; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58, 124, 165, .18); }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; font-size: .88rem; align-items: flex-start; margin-bottom: 18px; }
.consent input { margin-top: 5px; width: 17px; height: 17px; flex: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form .btn { width: 100%; }
.form-status { margin-top: 14px; font-size: .95rem; padding: 12px 14px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: #e7f6ef; color: #1c6b49; }
.form-status.err { display: block; background: #fdecec; color: #9b2c2c; }

/* CTA band */
.band { background: var(--blue-soft); border-radius: 18px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { font-size: 1.5rem; margin: 0 0 6px; }
.band p { margin: 0; }

/* Pricing (webdesign) */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 860px; }
.pricing .amount { font-size: 2.3rem; font-weight: 750; color: var(--ink); line-height: 1.1; margin: 6px 0 4px; }
.pricing .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.pricing .feature .amount { color: #fff; }
.pricing .feature .amount small { color: #9fb0c5; }
.fine { font-size: .86rem; color: var(--muted); margin-top: 18px; }

/* Dropdown im Menü */
.nav-drop { position: relative; padding: 24px 0; }
.nav-drop > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-sub { display: none; position: absolute; top: 100%; left: -16px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { display: block; }
.nav-sub a { display: block; padding: 10px 12px; border-radius: 8px; }
.nav-sub a:hover { background: var(--bg-alt); }
.nav-sub small { display: block; font-size: .82rem; font-weight: 400; color: var(--muted); }

/* Angebots-Kacheln und Pakete */
a.card.offer { display: flex; flex-direction: column; color: var(--text); border-top: 4px solid var(--blue); }
a.card.offer:hover { text-decoration: none; }
a.card.offer h3 { font-size: 1.4rem; }
a.card.offer .tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.offer-price { font-weight: 680; color: var(--ink); margin-top: auto; }
a.card.offer .card-link { color: var(--blue); margin-top: 4px; }
.pricing.pricing-3 { grid-template-columns: repeat(3, 1fr); max-width: none; }
.pricing-3 .card { position: relative; }
.pricing-3 .amount small { display: block; margin-bottom: 2px; }
.pack-size { font-weight: 620; margin-bottom: 10px; }
.card.feature .pack-size { color: var(--blue-light); }
.badge-empf { position: absolute; top: -13px; left: 28px; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.garantie { display: flex; align-items: center; gap: 14px; max-width: 860px; margin-top: 22px; padding: 18px 22px; background: #e7f6ef; border-radius: 12px; color: #1c6b49; }
.garantie svg { width: 28px; height: 28px; flex: none; }
.garantie p { margin: 0; }
.section.alt .fact { background: #fff; }

/* Legal pages */
.page-head { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); padding: 64px 0; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0; }
.prose { max-width: 780px; padding: 56px 0 88px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }

/* Footer */
.site-footer { background: var(--navy-3); color: #9fb0c5; padding: 56px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 34px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c3d0df; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .about, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; border-bottom: 0; }
  .nav-drop { padding: 0; }
  .nav-drop > a { display: block; }
  .nav-drop > a::after { display: none; }
  .nav-sub { display: block; position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 0 16px; border-radius: 0; }
  .nav-sub a { padding: 11px 0; border-radius: 0; font-weight: 500; }
  .nav-sub small { display: none; }
  .pricing.pricing-3 { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .grid-3, .grid-2, .steps, .tech-groups, .pricing, .form-row, .facts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 12px 20px 0; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .form { padding: 22px; }
  .band { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand img { height: 32px; }
  .hero-cta .btn { width: 100%; }
}
