/* ==========================================================================
   Atuman · Ihr KI-Team – Stylesheet
   Alle Farben/Abstände stehen in :root. Beschreibung: siehe DESIGN.md
   ========================================================================== */

/* TODO-ENTSCHEIDUNG #3: Inter selbst hosten. Sobald inter-var.woff2 in /assets/fonts/ liegt und die
   Seite neu gebaut wird (python3 quelle/bauen.py), bindet der Generator die Schrift automatisch ein.
   Bis dahin wird keine Schriftdatei angefragt (keine Fehlermeldung, keine Wartezeit). */

:root {
  /* TODO-ENTSCHEIDUNG #2: Markenviolett */
  --violet-700: #6D28D9;
  --violet-600: #7C3AED;
  --violet-500: #8B5CF6;
  --violet-400: #A78BFA;
  --violet-200: #DDD6FE;
  --violet-100: #EDE9FE;
  --violet-50:  #F5F3FF;

  --night-950: #0D0A1A;
  --night-900: #161127;
  --night-800: #221B3A;
  --night-700: #312852;

  --text: #1A1530;
  --text-muted: #5B5670;
  --text-on-dark: #F4F2FA;
  --text-on-dark-muted: #B9B3CC;
  --line: #E6E1F2;
  --bg: #FFFFFF;
  --bg-tint: #F8F7FC;
  --green: #15803D;
  --green-bg: #ECFDF3;
  --red: #B42318;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px;

  --r-sm: 8px; --r-md: 16px; --r-lg: 24px;
  --shadow: 0 1px 2px rgba(26,21,48,.06), 0 8px 24px rgba(26,21,48,.06);
  --glow: 0 0 0 1px rgba(167,139,250,.25), 0 10px 40px rgba(124,58,237,.25);

  --container: 1160px;
  --gutter: 20px;
  --section-y: clamp(64px, 9vw, 112px);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-700); text-underline-offset: 3px; }
a:hover { color: var(--violet-600); }
:focus-visible { outline: 3px solid var(--violet-500); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 var(--s4); letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(34px, 5.2vw, 56px); }
h2 { font-size: clamp(27px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s4); }
ul, ol { padding-left: 1.2em; margin: 0 0 var(--s4); }
small, .small { font-size: 14px; }
.muted { color: var(--text-muted); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text-muted); max-width: 62ch; }
:target, [id] { scroll-margin-top: 88px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Abschnitte ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark {
  background: radial-gradient(1000px 500px at 80% -10%, rgba(124,58,237,.35), transparent 60%),
              radial-gradient(800px 400px at -10% 110%, rgba(139,92,246,.18), transparent 60%),
              var(--night-950);
  color: var(--text-on-dark);
}
.section--dark .lead, .section--dark .muted { color: var(--text-on-dark-muted); }
.section--dark a:not(.btn) { color: var(--violet-400); }
.section-head { margin-bottom: var(--s7); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet-700); margin-bottom: var(--s3);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--violet-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 24px; border-radius: var(--r-sm);
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--violet-700); color: #fff; box-shadow: 0 6px 20px rgba(109,40,217,.35); }
.btn-primary:hover { background: var(--violet-600); color: #fff; }
.btn-secondary { background: transparent; color: var(--violet-700); border-color: var(--violet-200); }
.btn-secondary:hover { border-color: var(--violet-700); color: var(--violet-700); }
.section--dark .btn-secondary, .hero .btn-secondary, .cta-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,.35); }
.section--dark .btn-secondary:hover, .hero .btn-secondary:hover, .cta-band .btn-secondary:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.center .btn-row { justify-content: center; }
.btn-note { font-size: 14px; color: var(--text-muted); margin-top: var(--s3); }
.hero .btn-note, .section--dark .btn-note, .cta-band .btn-note { color: var(--text-on-dark-muted); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo:hover { color: var(--text); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo small { font-weight: 600; color: var(--text-muted); font-size: 14px; letter-spacing: 0; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }
.main-nav { display: none; }
.main-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: var(--s3) var(--gutter) var(--s5);
  max-height: calc(100vh - 68px); overflow-y: auto;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 12px 4px; text-decoration: none; color: var(--text); font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--violet-700); }
.nav-sub { padding-left: var(--s4) !important; border-left: 2px solid var(--violet-100); margin: 0 0 var(--s2) 4px !important; }
.nav-sub a { font-weight: 500; padding: 8px 4px; font-size: 15px; }
.main-nav .btn { display: flex; margin-top: var(--s3); width: 100%; color: #fff; }
body.menu-open .quick-contact { display: none; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .main-nav, .main-nav.is-open { display: block; position: static; box-shadow: none; border: 0; padding: 0; background: none; max-height: none; overflow: visible; }
  .main-nav > ul { display: flex; align-items: center; gap: 4px; }
  .main-nav > ul > li > a { padding: 10px 12px; font-size: 15px; }
  .nav-group { position: relative; }
  .nav-group > a { display: flex; align-items: center; gap: 4px; }
  .nav-group > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 4px; }
  .nav-sub {
    display: none; position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: var(--shadow); padding: var(--s2) !important; margin: 0 !important;
  }
  .nav-sub a { padding: 10px 12px; border-radius: var(--r-sm); }
  .nav-sub a:hover { background: var(--violet-50); }
  .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: block; }
  .main-nav .btn { display: inline-flex; margin: 0 0 0 8px; width: auto; min-height: 44px; padding: 10px 18px; font-size: 15px; }
  body.menu-open .quick-contact { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--text-on-dark);
  background: radial-gradient(900px 480px at 85% -5%, rgba(124,58,237,.45), transparent 60%),
              radial-gradient(700px 420px at 0% 100%, rgba(139,92,246,.20), transparent 60%),
              var(--night-950);
  padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 104px);
}
.hero::after { /* feines Raster für den Tech-Look */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(167,139,250,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(167,139,250,.08) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 20ch; }
.hero .lead { color: var(--text-on-dark-muted); margin-bottom: var(--s6); }
.hero-answer { font-size: clamp(18px, 1.7vw, 22px); color: #fff; font-weight: 600; max-width: 56ch; margin-bottom: var(--s3); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); padding: 0; list-style: none; }
.hero-badges li { font-size: 14px; color: var(--text-on-dark-muted); border: 1px solid rgba(167,139,250,.3); border-radius: 999px; padding: 6px 14px; background: rgba(255,255,255,.03); }
.hero-badges li::before { content: "✓ "; color: var(--violet-400); font-weight: 700; }
@media (max-width: 559px) { .hero-badges { gap: 6px; margin-top: var(--s5); } .hero-badges li { font-size: 13px; padding: 4px 10px; } }
.breadcrumb { font-size: 14px; margin-bottom: var(--s5); color: var(--text-on-dark-muted); }
.breadcrumb a { color: var(--text-on-dark-muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }

/* ---------- Raster & Karten ---------- */
.grid { display: grid; gap: var(--s5); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s6); box-shadow: var(--shadow); }
.card h3 { margin-bottom: var(--s3); }
.card p:last-child { margin-bottom: 0; }
.section--dark .card { background: var(--night-900); border-color: var(--night-700); box-shadow: none; }
.card-num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--violet-50); color: var(--violet-700); font-weight: 800; margin-bottom: var(--s4);
}
.section--dark .card-num { background: rgba(124,58,237,.18); color: var(--violet-400); }
.benefit-figure { font-size: 15px; font-weight: 700; color: var(--green); margin-bottom: var(--s2); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: var(--s3); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--violet-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236D28D9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/16px no-repeat;
}

.mini-cards { gap: var(--s3); margin-top: var(--s5); }
.mini-card { display: flex; gap: 14px; align-items: flex-start; padding: var(--s4); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.mini-card:hover { border-color: var(--violet-500); box-shadow: var(--shadow); color: var(--text); }
.mini-card-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--violet-50); color: var(--violet-700); display: flex; align-items: center; justify-content: center; flex: none; }
.mini-card-icon svg { width: 20px; height: 20px; }
.mini-card strong { display: block; }
.mini-card small { display: block; color: var(--text-muted); font-size: 14px; line-height: 1.45; }

/* Ablauf (Fach-KI → Leiter-KI → Master-KI → Chef) */
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); counter-reset: flow; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow li {
  position: relative; border-radius: var(--r-md); padding: var(--s5); background: #fff; border: 1px solid var(--line);
}
.section--dark .flow li { background: var(--night-900); border-color: var(--night-700); }
.flow li strong { display: block; font-size: 18px; margin-bottom: 6px; }
.flow li span { font-size: 15px; color: var(--text-muted); }
.section--dark .flow li span { color: var(--text-on-dark-muted); }
@media (min-width: 900px) {
  .flow { gap: var(--s6); }
  .flow li:not(:last-child)::after {
    content: "→"; position: absolute; right: calc(var(--s6) * -1 + 4px); top: 50%; transform: translateY(-50%);
    width: 24px; text-align: center; color: var(--violet-500); font-weight: 700; font-size: 20px;
  }
}
.flow li::before { counter-increment: flow; content: counter(flow); display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--violet-700); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: var(--s3); }

/* Bericht-Vorschau */
.report {
  border-radius: var(--r-md); background: var(--night-900); color: var(--text-on-dark); padding: var(--s5) var(--s6);
  box-shadow: var(--glow); font-size: 16px;
}
.report-head { display: flex; justify-content: space-between; gap: var(--s3); font-size: 13px; color: var(--text-on-dark-muted); border-bottom: 1px solid var(--night-700); padding-bottom: var(--s3); margin-bottom: var(--s4); }
.report-head b { color: var(--violet-400); }
.report p { margin-bottom: var(--s2); }
.report .small { color: var(--text-on-dark-muted); margin: var(--s3) 0 0; }

/* ---------- Vorher-Nachher ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 16px; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.compare th:first-child, .compare td:first-child { color: var(--text-muted); width: 50%; }
.compare thead th:last-child { background: var(--violet-700); color: #fff; }
.compare td:last-child { background: var(--green-bg); color: #0B4A24; font-weight: 600; }
.compare td:first-child::before { content: "✕ "; color: var(--red); font-weight: 700; }
.compare td:last-child::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 18px;
}
.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(--violet-50); color: var(--violet-700); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 0 20px; color: var(--text-muted); max-width: 70ch; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Verknappung, Garantie ---------- */
.scarcity {
  display: flex; gap: var(--s4); align-items: flex-start; border-radius: var(--r-md); padding: var(--s5) var(--s6);
  background: var(--violet-50); border: 1px solid var(--violet-200);
}
.scarcity-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--violet-700); color: #fff; display: flex; align-items: center; justify-content: center; }
.scarcity p { margin: 0; }
.guarantee {
  border-radius: var(--r-lg); padding: var(--s7) var(--s6); text-align: center;
  background: linear-gradient(135deg, var(--violet-50), #fff); border: 2px solid var(--violet-200);
}
.guarantee-seal { width: 72px; height: 72px; margin: 0 auto var(--s4); color: var(--violet-700); }

/* ---------- CTA-Band ---------- */
.cta-band {
  color: var(--text-on-dark); text-align: center; padding: var(--section-y) 0;
  background: radial-gradient(700px 360px at 50% 0%, rgba(124,58,237,.45), transparent 70%), var(--night-950);
}
.cta-band h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band .lead { color: var(--text-on-dark-muted); margin: 0 auto var(--s6); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Organigramm ---------- */
.org { display: grid; gap: 0; justify-items: center; }
.org-node {
  position: relative; text-align: center; border-radius: var(--r-md); padding: var(--s4) var(--s5);
  background: var(--night-900); border: 1px solid var(--night-700); min-width: min(100%, 320px);
}
.org-node small { display: block; color: var(--text-on-dark-muted); font-size: 13px; }
.org-node strong { font-size: 18px; }
.org-chef { background: #fff; color: var(--text); border-color: #fff; }
.org-chef small { color: var(--text-muted); }
.org-master { border-color: var(--violet-500); box-shadow: var(--glow); background: linear-gradient(180deg, rgba(124,58,237,.35), var(--night-900)); }
.org-line { width: 2px; height: 32px; background: linear-gradient(var(--violet-500), var(--violet-400)); }
.org-line--label { position: relative; }
.org-line--label span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 12px; color: var(--text-on-dark-muted); }
.org-depts { list-style: none; margin: 0; padding: var(--s5) 0 0; width: 100%; display: grid; gap: var(--s3); position: relative; }
@media (min-width: 640px) { .org-depts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .org-depts { grid-template-columns: repeat(4, 1fr); }
  .org-depts::before { content: ""; position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 2px; background: var(--violet-500); opacity: .6; }
}
.org-dept {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text-on-dark);
  border-radius: var(--r-md); padding: var(--s5); background: var(--night-900); border: 1px solid var(--night-700);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.section--dark a.org-dept { color: var(--text-on-dark); }
.org-dept:hover { border-color: var(--violet-500); transform: translateY(-2px); box-shadow: var(--glow); color: var(--text-on-dark); }
.org-dept-name { font-weight: 800; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.org-dept-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(124,58,237,.22); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--violet-400); }
.org-dept-icon svg { width: 18px; height: 18px; }
.org-dept-lead { font-size: 14px; color: var(--violet-400); font-weight: 600; margin: var(--s3) 0 var(--s2); }
.org-dept-team { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 var(--s4); list-style: none; }
.org-dept-team li { font-size: 12.5px; border: 1px solid var(--night-700); border-radius: 999px; padding: 3px 10px; color: var(--text-on-dark-muted); }
.org-dept-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--violet-400); }
.org-dept--you { border-style: dashed; justify-content: center; text-align: center; }
.org-dept-desc { font-size: 14px; color: var(--text-on-dark-muted); margin: 8px 0 12px; }
@media (max-width: 639px) {
  .org-depts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .org-dept { padding: 14px; }
  .org-dept-name { font-size: 15px; flex-direction: column; align-items: flex-start; gap: 8px; line-height: 1.2; }
  .org-dept-lead { font-size: 12.5px; margin: 6px 0 0; line-height: 1.3; }
  .org-dept-team, .org-dept-more, .org-dept-desc { display: none; }
  .org-dept--you { text-align: left; justify-content: flex-start; }
  .org-dept--you .org-dept-name { justify-content: flex-start !important; }
  .org-dept--you::after { content: "Prozessanalyse →"; font-size: 12.5px; color: var(--violet-400); font-weight: 600; margin-top: 6px; }
}

/* ---------- Leitbild „KI-Büro“ mit nummerierten Erklär-Punkten ---------- */
.scene { margin: 0; }
.scene-img { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--night-900); box-shadow: 0 24px 60px rgba(13,10,26,.28); }
.scene-img img { width: 100%; height: auto; display: block; }
.scene-marker, .scene-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--violet-700); color: #fff; font-weight: 800; font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.scene-marker { position: absolute; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(0,0,0,.5); }
.scene-marker::after { /* sanftes Aufleuchten als Blickfang – der Punkt selbst bleibt scharf */
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #fff; opacity: 0; animation: scene-pulse 2.6s ease-out infinite;
}
@keyframes scene-pulse { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.scene-img > a:not(.scene-pin) { display: block; }   /* nur der Link „Bild groß ansehen“ */
.scene-marker { pointer-events: none; }
.scene figcaption { font-size: 14px; color: var(--text-muted); margin-top: var(--s3); text-align: center; }
.scene-zoom { display: none; }
@media (max-width: 719px) { .scene-zoom { display: inline; } }
/* Schilder auf dem Bild: Abteilungen (anklickbar), Master-KI, Unternehmer */
.scene-pin {
  position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px; border-radius: 999px; white-space: nowrap; text-decoration: none;
  background: rgba(13,10,26,.88); border: 1px solid rgba(167,139,250,.6); color: #fff;
  font-weight: 700; font-size: 14px; line-height: 1; box-shadow: 0 4px 14px rgba(0,0,0,.45);
  transition: background-color .15s, border-color .15s;
}
a.scene-pin:hover, a.scene-pin:focus-visible { background: var(--violet-700); border-color: #fff; color: #fff; }
.scene-pin-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--violet-700); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.scene-pin-icon svg { width: 15px; height: 15px; }
a.scene-pin:hover .scene-pin-icon { background: #fff; color: var(--violet-700); }
.scene-pin--master { padding: 9px 16px; background: var(--violet-700); border-color: #fff; font-size: 15px; }
.scene-pin--chef { padding: 9px 16px; background: #fff; border-color: #fff; color: var(--text); font-size: 15px; gap: .28em; }
.scene-chips { display: none; }
@media (max-width: 899px) {
  /* Handy/Tablet: nur runde Symbole auf dem Bild, Namen stehen darunter */
  .scene-pin--abt { padding: 0; border: 0; background: none; box-shadow: none; gap: 0; }
  .scene-pin--abt .scene-pin-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .scene-pin--abt .scene-pin-icon { width: 30px; height: 30px; box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(0,0,0,.5); }
  .scene-pin--master, .scene-pin--chef { padding: 5px 10px; font-size: 12px; }
  .scene-pin-lang { display: none; }
  .scene-chips { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .scene-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
}
.scene-legend { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s4) var(--s5); }
.scene-legend li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.scene-legend strong { display: block; font-size: 18px; }
.scene-mitte { margin: var(--s5) 0 0; padding: var(--s4) var(--s5); border-radius: var(--r-md); background: var(--violet-50); border: 1px solid var(--violet-200); font-size: 16px; }
@media (min-width: 640px) { .scene-legend { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .scene-legend { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 559px) {
  .scene-img { border-radius: var(--r-md); }
  .scene-marker { width: 26px; height: 26px; font-size: 13px; box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(0,0,0,.5); }
}

/* ---------- Platzhalter ---------- */
.ph {
  position: relative; border: 2px dashed var(--violet-400); border-radius: var(--r-md); padding: var(--s5);
  background: repeating-linear-gradient(-45deg, var(--violet-50), var(--violet-50) 12px, #fff 12px, #fff 24px);
  color: var(--text); font-size: 15px;
}
.section--dark .ph, .hero .ph { background: repeating-linear-gradient(-45deg, rgba(124,58,237,.10), rgba(124,58,237,.10) 12px, transparent 12px, transparent 24px); color: var(--text-on-dark); }
.ph-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--violet-700); color: #fff; padding: 3px 10px; border-radius: 6px; margin-bottom: var(--s3); }
.ph p { margin-bottom: var(--s2); }
.ph p:last-child { margin-bottom: 0; }
.ph--img { aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: center; }
.ph--portrait { aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: center; }

/* Video: Vorschaubild, lädt erst beim Klick */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--night-900); border: 1px solid var(--night-700); box-shadow: var(--glow); }
.video-btn {
  position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: var(--text-on-dark); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3); padding: var(--s5); text-align: center; font: inherit;
}
.video-play { width: 72px; height: 72px; border-radius: 50%; background: var(--violet-700); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(124,58,237,.25); }
.video-play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-desc { font-size: 14px; color: var(--text-on-dark-muted); max-width: 52ch; }
.video-title { font-weight: 700; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: 13px; color: var(--text-muted); margin-top: var(--s2); }
.section--dark .video-note, .hero .video-note { color: var(--text-on-dark-muted); }

/* ---------- Rechner ---------- */
.calc { display: grid; gap: var(--s5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: var(--s5); }
@media (min-width: 960px) { .calc { grid-template-columns: 1.1fr 1fr; padding: var(--s6); gap: var(--s6); } }
.calc fieldset { border: 0; padding: 0; margin: 0 0 var(--s5); }
.calc legend { font-weight: 800; font-size: 18px; margin-bottom: var(--s3); padding: 0; }
.field { display: grid; gap: 6px; margin-bottom: var(--s4); }
.field label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--text-muted); }
.field-row { display: grid; gap: var(--s4); align-items: end; }
.field-row--2 { grid-template-columns: 1fr 1fr; }
.field-row .field { margin-bottom: 0; }
.field-row { margin-bottom: var(--s4); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
input[type="number"], input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--text);
  border: 1px solid #CFC8E2; border-radius: var(--r-sm); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet-600); box-shadow: 0 0 0 3px var(--violet-100); }
.input-unit { position: relative; }
.input-unit input { padding-right: 52px; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 14px; pointer-events: none; }
.calc-result {
  border-radius: var(--r-md); padding: var(--s6) var(--s5); color: var(--text-on-dark);
  background: radial-gradient(500px 260px at 80% 0%, rgba(124,58,237,.45), transparent 70%), var(--night-950);
  align-self: start;
}
.calc-result-title { color: #fff; font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 var(--s4); }
.calc-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: var(--s4) 0 var(--s5); }
.kpi { background: rgba(255,255,255,.04); border: 1px solid var(--night-700); border-radius: var(--r-sm); padding: var(--s4); }
.kpi-value { display: block; white-space: nowrap; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.kpi-label { font-size: 13px; color: var(--text-on-dark-muted); }
.kpi--main { grid-column: 1 / -1; border-color: var(--violet-500); box-shadow: var(--glow); }
.kpi--main .kpi-value { font-size: clamp(32px, 4.5vw, 44px); color: #C4B5FD; }
.calc-breakdown { width: 100%; font-size: 14px; border-collapse: collapse; margin-bottom: var(--s4); color: var(--text-on-dark-muted); }
.calc-breakdown td { padding: 6px 0; border-bottom: 1px solid var(--night-700); }
.calc-breakdown td:last-child { text-align: right; color: var(--text-on-dark); font-variant-numeric: tabular-nums; }
.calc-assume { font-size: 13px; color: var(--text-on-dark-muted); }
.calc-assume a { color: var(--violet-400); }
/* PDF-Anforderung: heller Streifen über die ganze Breite des Rechners */
.calc-lead { grid-column: 1 / -1; background: var(--violet-50); border: 1px solid var(--violet-200); border-radius: var(--r-md); padding: var(--s5); }
.calc-lead-title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 4px; }
.calc-lead-fields { display: grid; gap: var(--s4); margin: var(--s4) 0; align-items: end; }
.calc-lead-fields .field { margin: 0; }
.calc-lead-fields .btn { width: 100%; min-height: 48px; }
/* Handy: Vorname, E-Mail, Einwilligung, Knopf untereinander · Computer: Felder + Knopf in einer Zeile, Einwilligung darunter */
@media (min-width: 800px) {
  .calc-lead-fields { grid-template-columns: 1fr 1.4fr auto; grid-template-areas: "name mail btn" "ok ok ok"; }
  .calc-lead-fields .field:nth-of-type(1) { grid-area: name; } .calc-lead-fields .field:nth-of-type(2) { grid-area: mail; }
  .calc-lead-fields .btn { grid-area: btn; width: auto; } .calc-lead-fields .consent { grid-area: ok; }
}
.calc-lead .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-muted); margin: 0; }
.calc-lead .consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--violet-700); }
.calc-msg { font-size: 14px; font-weight: 600; margin: var(--s3) 0 0; color: var(--violet-700); }
.share-btn { background: none; border: 0; color: var(--violet-700); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; padding: 8px 0 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 559px) {
  .calc { padding: var(--s4); }
  .calc-result { padding: var(--s5) var(--s4); }
  .kpi { padding: var(--s3); }
  .kpi-value { font-size: 22px; }
  .kpi--main .kpi-value { font-size: 34px; }
}

/* ---------- Schritte / Timeline ---------- */
.steps { list-style: none; padding: 0; margin: 0; position: relative; }
.steps li { position: relative; padding: 0 0 var(--s6) 64px; }
.steps li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--violet-200); }
.steps li:last-child::before { display: none; }
.steps-badge { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--violet-700); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.steps h3 { margin-bottom: 6px; padding-top: 8px; }
.steps p { color: var(--text-muted); margin: 0; }

/* Preise */
.price-card { border-radius: var(--r-lg); border: 2px solid var(--violet-200); padding: var(--s6); background: #fff; }
.price { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.price small { font-size: 16px; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }

/* Kennzahlen (Elmera) */
.stat { text-align: center; padding: var(--s5); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.stat-value { display: block; font-size: clamp(32px, 4vw, 44px); font-weight: 800; color: var(--violet-700); letter-spacing: -0.02em; }
.stat-label { font-size: 15px; color: var(--text-muted); }
.quote { border-left: 4px solid var(--violet-700); padding: var(--s2) 0 var(--s2) var(--s5); font-size: clamp(19px, 2vw, 23px); font-weight: 600; line-height: 1.45; margin: 0 0 var(--s4); }
.disclosure { font-size: 14px; color: var(--text-muted); background: var(--bg-tint); border-radius: var(--r-sm); padding: var(--s3) var(--s4); }

/* Rechtstexte */
.legal h2 { font-size: 24px; margin-top: var(--s7); }
.legal h3 { font-size: 19px; margin-top: var(--s5); }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--night-950); color: var(--text-on-dark-muted); padding: var(--s8) 0 var(--s7); font-size: 15px; border-top: 1px solid var(--night-800); }
.site-footer a { color: var(--text-on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: var(--s3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo { color: #fff; margin-bottom: var(--s3); }
.site-footer .logo small { color: var(--text-on-dark-muted); }
.footer-bottom { border-top: 1px solid var(--night-800); margin-top: var(--s7); padding-top: var(--s5); font-size: 13px; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; padding-right: 76px; }

/* ---------- Direkt-Kontakt: WhatsApp + Sofort anrufen (jede Seite) ---------- */
/* Zwei runde Symbol-Knöpfe ohne Text, unten rechts übereinander */
.quick-contact {
  position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 12px;
}
/* Scharf: gefüllte Vektor-Symbole in ganzen Pixeln, kein Zoom-/Filter-Effekt (der macht unscharf),
   weißer Ring für eine klare Kante auf hellem und dunklem Hintergrund. */
.qc {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  box-shadow: 0 0 0 2px #fff, 0 6px 16px rgba(13,10,26,.28);
  transition: background-color .15s, box-shadow .15s;
}
.qc:hover { color: #fff; box-shadow: 0 0 0 2px #fff, 0 8px 22px rgba(13,10,26,.38); }
.qc svg { width: 28px; height: 28px; display: block; }
.qc--wa { background: #1FAF54; }
.qc--wa:hover { background: #179446; }
.qc--tel { background: var(--violet-700); }
.qc--tel:hover { background: #5B21B6; }
.qc--tel svg { width: 26px; height: 26px; }
@media (max-width: 719px) {
  .quick-contact { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); gap: 12px; }
}
/* Runde Symbole (Kontaktseite) */
.fab-ico { width: 40px; height: 40px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.fab-ico svg { width: 20px; height: 20px; }
.fab-ico--wa { background: #1FAF54; } .fab-ico--tel { background: var(--violet-700); } .fab-ico--mail { background: var(--night-800); }

/* ---------- Hilfsklassen ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); } .mt-7 { margin-top: var(--s7); }
.mb-5 { margin-bottom: var(--s5); } .mb-6 { margin-bottom: var(--s6); } .mb-7 { margin-bottom: var(--s7); }
.stack > * + * { margin-top: var(--s5); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .quick-contact, .cta-band, .video { display: none !important; } }
