/* ==========================================================================
   Alpha CTR GmbH – Alpha Consulting Treuhand & Revision
   Farben aus dem Original-Logo (#045EAA, #4A92D1, #68ADDF) und der
   früheren Website (Akzent #00AAE8).
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-2: #12325c;
  --blue: #045eaa;
  --blue-mid: #4a92d1;
  --blue-light: #68addf;
  --accent: #00aae8;
  --ink: #1b2430;
  --muted: #5b6675;
  --line: #dde5ee;
  --bg: #ffffff;
  --bg-soft: #f3f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #c9d6e6; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 24px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--blue-light); }

/* ---------- Header / Navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { width: 190px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.sub-toggle {
  display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .97rem; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav a:hover, .nav button.sub-toggle:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--bg-soft); }
.nav .has-sub { position: relative; }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 230px; display: none; flex-direction: column; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px;
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav .has-sub.open .sub { display: flex; }
.nav .sub a { font-weight: 500; }
.nav .cta a { background: var(--blue); color: #fff; margin-left: 8px; }
.nav .cta a:hover { background: var(--navy); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .nav .sub { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav .cta a { margin: 8px 0 0; text-align: center; }
  .brand img { width: 160px; }
}

/* ---------- Hero / Banner ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    var(--hero-img, none) center/cover no-repeat,
    radial-gradient(1200px 500px at 85% -10%, rgba(104,173,223,.35), transparent 60%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 45%, var(--blue) 100%);
}
.hero::after { /* Abdunkelung, falls ein Bannerfoto gesetzt wird */
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,69,.85), rgba(11,37,69,.35)); opacity: var(--hero-overlay, 0);
}
.hero .swoosh { position: absolute; right: -180px; top: 50%; transform: translateY(-50%); width: 900px; max-width: none; opacity: .9; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 120px; }
.hero h1 { color: #fff; max-width: 720px; }
.hero .lead { font-size: 1.2rem; color: #d8e5f3; max-width: 620px; margin-bottom: 2em; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.hero .eyebrow { color: var(--blue-light); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-dark { background: var(--blue); color: #fff; }
.btn-dark:hover { background: var(--navy); color: #fff; }

.page-hero { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; position: relative; overflow: hidden; }
.page-hero .wrap { padding-top: 70px; padding-bottom: 70px; position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #d8e5f3; font-size: 1.15rem; max-width: 680px; margin: 0; }
.page-hero .swoosh { position: absolute; right: -240px; top: 50%; transform: translateY(-50%); width: 760px; max-width: none; opacity: .55; }
.crumbs { font-size: .88rem; color: #b8cbe0; margin-bottom: 14px; }
.crumbs a { color: #fff; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } section { padding: 64px 0; } }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1060px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column; transition: .25s; text-decoration: none; color: var(--ink);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-light); color: var(--ink); }
.card .icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-light), var(--blue)); margin-bottom: 20px; }
.card .icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card .more { font-weight: 700; color: var(--blue); font-size: .95rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature h3 { display: flex; align-items: center; gap: 10px; }
.feature h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.feature p { color: var(--muted); }

.panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 36px; box-shadow: var(--shadow); }
.panel.dark { background: var(--navy); color: #d8e5f3; border: 0; }
.panel.dark h3 { color: #fff; }

/* Leistungslisten */
.service-block { display: grid; grid-template-columns: 300px 1fr; gap: 50px; padding: 50px 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .service-block { grid-template-columns: 1fr; gap: 20px; } }
.service-block h2 { font-size: 1.6rem; }
.service-block .intro { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
@media (max-width: 700px) { .checklist { grid-template-columns: 1fr; } }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23045EAA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid #cfe0f1;
}
.checklist li ul { list-style: disc; padding-left: 20px; margin: 6px 0 0; color: var(--muted); font-size: .95rem; }

.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li + li { border-top: 1px solid rgba(255,255,255,.12); }
.aside-links a { display: block; padding: 12px 0; color: #fff; text-decoration: none; font-weight: 600; }
.aside-links a:hover { color: var(--blue-light); }

/* CTA-Band */
.cta-band { background: linear-gradient(110deg, var(--blue), var(--accent)); color: #fff; padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { margin: 0; color: #e6f4fc; font-size: 1.1rem; }
.cta-band .btn { background: #fff; color: var(--navy); }
.cta-band .btn:hover { background: var(--navy); color: #fff; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; }
.contact-item svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-item strong { display: block; color: var(--navy); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
input, select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); margin-bottom: 16px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue-light); border-color: var(--blue-light); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
button.btn { cursor: pointer; font: inherit; font-weight: 700; }

/* Rechtstexte */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1.5em; }
.prose td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose td:first-child { font-weight: 600; color: var(--navy); width: 38%; }
.todo { background: #fff6d6; border: 1px dashed #d9b200; padding: 1px 6px; border-radius: 4px; font-size: .92em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b8cbe0; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer h4, .site-footer .footer-title { color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.2; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b8cbe0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo img { width: 160px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; grid-template-columns: none; flex-wrap: wrap; font-size: .85rem; }

/* Einblend-Animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 600px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100% !important; }
  .prose td:first-child { border-bottom: 0; padding-bottom: 0; }
  .prose td { overflow-wrap: anywhere; }
}

/* ---------- Erweiterung: Technologie-Schwerpunkt ---------- */
.cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1060px) { .cards.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards.three { grid-template-columns: 1fr; } }
.card.featured { background: linear-gradient(140deg, var(--navy), var(--blue)); border: 0; color: #d8e5f3; }
.card.featured h3 { color: #fff; }
.card.featured p { color: #d8e5f3; }
.card.featured .more { color: var(--blue-light); }
.card.featured .icon { background: rgba(255,255,255,.14); }
.card.featured:hover { color: #d8e5f3; }
.badge { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: rgba(0,170,232,.15); color: var(--accent); margin-bottom: 12px; }
.card.featured .badge { background: rgba(255,255,255,.16); color: #fff; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 2rem; font-weight: 800; color: var(--blue-light); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

.mini-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .mini-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mini-links { grid-template-columns: 1fr; } }
.mini-links a { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 700; background: #fff; }
.mini-links a:hover { border-color: var(--blue-light); color: var(--blue); }
.mini-links a span { font-weight: 400; color: var(--muted); font-size: .88rem; display: block; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr; } }
.stat { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.stat strong { display: block; color: var(--navy); font-size: 1.08rem; margin-bottom: 4px; }
.stat p { color: var(--muted); margin: 0; font-size: .96rem; }
.dark-section { background: var(--navy); color: #c9d6e6; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .section-head p { color: #b8cbe0; }
.dark-section .checklist li::before { background-color: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2368ADDF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.nav .sub-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 8px 14px 2px; font-weight: 700; }
.note { font-size: .92rem; color: var(--muted); background: var(--bg-soft); border-left: 3px solid var(--blue-light); padding: 14px 18px; border-radius: 0 10px 10px 0; }

/* ---------- Logo-Integration ---------- */
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: auto; height: 56px; }
.logo-white { display: none; }
.brand-tag { border-left: 1px solid var(--line); padding-left: 16px; font-size: .7rem; line-height: 1.45; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
@media (max-width: 1240px) { .brand-tag { display: none; } }
@media (max-width: 960px) { .brand img { height: 46px; width: auto; } }
.footer-logo { background: none; padding: 0; border-radius: 0; }
.footer-logo img { width: auto; height: 62px; }

/* ---------- Erfolgsgeschichten ---------- */
.stories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.stories.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1060px) { .stories.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .stories, .stories.three { grid-template-columns: 1fr; } }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; scroll-margin-top: 110px; }
.story .tag { font-size: .78rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.story h3 { font-size: 1.3rem; }
.story h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 0 6px; }
.story p { margin: 0; color: var(--ink); font-size: .98rem; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; padding-top: 22px; }
.metrics div { background: var(--bg-soft); border-radius: 10px; padding: 12px; }
.metrics strong { display: block; font-size: 1.35rem; color: var(--blue); line-height: 1.1; }
.metrics span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }
.story-teaser { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.story-teaser:hover { border-color: var(--blue-light); box-shadow: var(--shadow); color: var(--ink); }
.story-teaser .more { margin-top: 18px; font-weight: 700; color: var(--blue); }
.story-box { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--bg-soft); border-radius: var(--radius); padding: 30px 34px; border-left: 4px solid var(--accent); }
@media (max-width: 760px) { .story-box { grid-template-columns: 1fr; } }
.story-box h3 { margin-bottom: .3em; }
.story-box p { margin: 0; color: var(--muted); }

/* ---------- Über uns: Geschichte ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 34px 48px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline li:last-child { padding-bottom: 0; }
.timeline h3 { margin-bottom: .3em; }
.timeline p { color: var(--muted); margin: 0; }
.quote { font-size: 1.25rem; line-height: 1.55; color: var(--navy); border-left: 4px solid var(--accent); padding: 6px 0 6px 24px; margin: 0 0 18px; font-style: italic; }
.person { display: flex; gap: 18px; align-items: center; }
.person .avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; flex: none; }
.person strong { display: block; color: var(--navy); }
.person span { color: var(--muted); font-size: .95rem; }
.stories > * { min-width: 0; }
.metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics span { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 480px) { .story { padding: 24px 20px; } .metrics strong { font-size: 1.1rem; } }
.stories.three .metrics strong { font-size: 1.05rem; white-space: nowrap; }
.stories.three .metrics div { padding: 10px 8px; }
.stories.three .metrics span { font-size: .74rem; }

/* ---------- Ausgangslagen ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pains { grid-template-columns: 1fr; } }
.pain { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: .2s; }
.pain:hover { border-color: var(--blue-light); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--navy); }
.pain q { font-size: 1.15rem; font-weight: 700; line-height: 1.4; quotes: "«" "»"; }
.pain span { font-size: .9rem; font-weight: 700; color: var(--blue); }

/* ---------- Kontaktformular ---------- */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
label.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .93rem; color: var(--ink); margin: 4px 0 14px; cursor: pointer; }
label.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-size: .96rem; }
.form-status.info { background: var(--bg-soft); color: var(--ink); }
.form-status.success { background: #e7f6ec; color: #145c2c; border: 1px solid #b8e2c5; }
.form-status.error { background: #fdecec; color: #8a1c1c; border: 1px solid #f3c2c2; }
.next-steps { list-style: none; counter-reset: ns; padding: 0; margin: 0 0 34px; }
.next-steps li { counter-increment: ns; position: relative; padding: 0 0 18px 48px; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.next-steps strong { display: block; color: var(--navy); }
.next-steps span { color: var(--muted); font-size: .95rem; }
#anfrage { scroll-margin-top: 110px; }

/* ---------- Spracheingabe & Navigation-Gruppen ---------- */
.field-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.field-head label { margin: 0; }
.mic { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--blue); border-radius: 99px; padding: 7px 14px; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.mic:hover { border-color: var(--blue-light); }
.mic:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
.mic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.mic[hidden] { display: none; }
.mic[aria-pressed="true"] { background: #c62828; border-color: #c62828; color: #fff; }
.mic[aria-pressed="true"] svg { animation: micpulse 1.2s ease-in-out infinite; }
@keyframes micpulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .mic[aria-pressed="true"] svg { animation: none; } }
.mic-note { margin: -8px 0 14px; }
.nav .sub { min-width: 270px; }
.nav .sub-label { list-style: none; padding: 10px 14px 2px; }
.nav .sub-label:first-child { padding-top: 4px; }
.nav .sub { min-width: 340px; } .nav .sub a { white-space: nowrap; } @media (max-width: 960px) { .nav .sub { min-width: 0; } .nav .sub a { white-space: normal; } }

/* ---------- Mikrofon im Textfeld ---------- */
.textarea-wrap { position: relative; }
.textarea-wrap textarea { padding-right: 66px; }
.mic-in { position: absolute; right: 14px; bottom: 30px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(4,94,170,.3); transition: background .2s, transform .2s; }
.mic-in:hover { background: var(--navy); transform: scale(1.05); }
.mic-in:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.mic-in svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.mic-in[aria-pressed="true"] { background: #c62828; box-shadow: 0 0 0 0 rgba(198,40,40,.5); animation: micring 1.4s ease-out infinite; }
@keyframes micring { 0% { box-shadow: 0 0 0 0 rgba(198,40,40,.5); } 100% { box-shadow: 0 0 0 14px rgba(198,40,40,0); } }
@media (prefers-reduced-motion: reduce) { .mic-in[aria-pressed="true"] { animation: none; } }

/* ---------- Erfolgsgeschichten gruppiert ---------- */
.story-group { font-size: 1.35rem; margin: 56px 0 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.story-group:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.stories.three .story h3 { font-size: 1.15rem; }
.stories.three .story p { font-size: .94rem; }

/* Häufige Fragen */
.faq { max-width: 860px; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid rgba(4,94,170,.15); border-radius: 12px; padding: 0 20px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: #045EAA; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 18px; }
/* Cookie-Einwilligung (nur aktiv mit Google Ads/Analytics) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 720px; margin: 0 auto; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.25); padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.consent p { margin: 0; flex: 1 1 320px; font-size: .95rem; }
.consent-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn-ghost { background: transparent; color: #045EAA; border: 1px solid #045EAA; }
.consent[hidden] { display: none; }
/* KI-Kompetenz: vier Karten */
.features.ki6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .features.ki6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features.ki6 { grid-template-columns: 1fr; } }
/* First Principles: drei Schritte */
.steps.fp3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .steps.fp3 { grid-template-columns: 1fr; } }
