/* ============================================================
   Öffentliche Webseite — seitenspezifische Styles
   ============================================================ */

/* ---------- iOS-26 Liquid-Glass Navigation ---------- */
.ios-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px clamp(16px, 4vw, 40px);
  transition: padding .4s var(--ease);
  pointer-events: none;
}
.ios-nav > * { pointer-events: auto; }
.ios-nav-inner {
  position: relative;
  display: flex; align-items: center; gap: 28px;
  max-width: var(--maxw); margin: 0 auto;
  height: 64px; padding: 0 14px 0 18px;
  border-radius: var(--r-pill);
  background: oklch(1 0 0 / 0.55);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid oklch(1 0 0 / 0.7);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.9) inset,
    0 0 0 0.5px oklch(0.5 0.02 264 / 0.06),
    0 12px 32px -10px oklch(0.4 0.03 264 / 0.18),
    0 4px 10px -4px oklch(0.4 0.03 264 / 0.10);
  transition: height .4s var(--ease), background .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
/* obere Lichtkante (Liquid-Glass-Highlight) */
.ios-nav-inner::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.55) 0%, oklch(1 0 0 / 0) 42%);
  opacity: 0.8;
}
.ios-nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
.ios-nav.scrolled .ios-nav-inner {
  height: 58px;
  background: oklch(1 0 0 / 0.7);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.9) inset,
    0 0 0 0.5px oklch(0.5 0.02 264 / 0.08),
    0 18px 44px -12px oklch(0.4 0.03 264 / 0.24);
}

.brand { display: flex; align-items: center; gap: 11px; position: relative; }
.brand-logo { height: 34px; width: auto; display: block; flex: none; }
.brand-mark {
  width: 40px; height: 40px; flex: none; border-radius: 13px;
  background: linear-gradient(155deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center; gap: 0.5px;
  line-height: 1;
  font-family: var(--font); font-weight: 700; font-size: 13px; letter-spacing: 0.01em; white-space: nowrap;
  box-shadow: 0 4px 12px -3px var(--accent-ring), 0 1px 0 oklch(1 0 0 / 0.18) inset;
}
.brand-mark .mk-i {
  font-style: normal;
  background: linear-gradient(180deg, var(--silver-1) 0%, var(--silver-2) 45%, var(--silver-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.brand-sub { font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }

.nav-links { display: flex; gap: 2px; margin: 0 auto; position: relative; }
.nav-links a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 9px 13px; border-radius: var(--r-pill);
  transition: color .25s var(--ease-soft), background .25s var(--ease-soft);
}
.nav-links a:hover { color: var(--ink); background: oklch(0.5 0.02 264 / 0.06); }
.nav-links a.active { color: var(--accent-deep); background: var(--accent-soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 9px 14px; border-radius: var(--r-pill); transition: background .25s, color .25s; }
.nav-login svg { width: 16px; height: 16px; color: var(--accent-deep); }
.nav-login:hover { background: oklch(0.5 0.02 264 / 0.06); color: var(--accent-deep); }

/* Hamburger */
.menu-toggle {
  display: none; position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: oklch(1 0 0 / 0.6); border: 1px solid var(--line);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 17px; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .25s; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.4px) rotate(-45deg); }

/* Mobile drawer (Glas) */
.mobile-menu {
  position: relative; display: none; flex-direction: column; gap: 18px;
  max-width: var(--maxw); margin: 12px auto 0; padding: 22px;
  border-radius: var(--r-2xl);
  background: oklch(1 0 0 / 0.72);
  -webkit-backdrop-filter: blur(28px) saturate(190%); backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid oklch(1 0 0 / 0.7);
  box-shadow: var(--shadow-lg);
  animation: drawer .4s var(--ease) both;
}
@keyframes drawer { from { opacity: 0; transform: translateY(-12px); } }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: 18px; font-weight: 500; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 10px; }
.mobile-menu nav a.active { color: var(--accent-deep); }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.mobile-menu-actions .btn svg { width: 17px; height: 17px; }

/* Body-Abstand für fixe Navleiste */
body[data-chrome] { padding-top: 100px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 104px) 0 clamp(72px, 10vw, 128px); overflow: hidden; }
.hero-glow {
  position: absolute; top: -22%; right: -12%; width: 720px; height: 720px; pointer-events: none;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 62%);
  opacity: 0.9; filter: blur(8px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; }
.hero-pill { margin-bottom: 26px; }
.hero-title { font-size: clamp(40px, 6.2vw, 76px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.hero-lede { font-size: clamp(17.5px, 1.6vw, 21px); color: var(--ink-2); margin-top: 24px; max-width: 30ch; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; align-items: center; gap: 22px; margin-top: 44px; }
.hero-meta > div:not(.hero-meta-sep) { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.hero-meta span { font-size: 13px; color: var(--ink-3); }
.hero-meta-sep { width: 1px; height: 34px; background: var(--line-strong); }

/* Hero-Video + überlagerte Glas-Karten */
.hero-visual { position: relative; min-height: 460px; }
.hero-video-frame { position: relative; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-float); aspect-ratio: 4/3; background: var(--bg-2); }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); }
.hero-video-grad { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.2 0.05 256 / 0.22) 0%, transparent 30%, transparent 62%, oklch(0.2 0.05 256 / 0.34) 100%); pointer-events: none; }
.hero-video-tag { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); }
.hero-video-tag svg { width: 15px; height: 15px; color: var(--accent-deep); }
/* Sheen-Sweep über das Video */
.hero-video-frame::after { content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(105deg, transparent, oklch(1 0 0 / 0.28), transparent); transform: skewX(-18deg); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .hero-video-frame::after { animation: sheen 6.5s ease-in-out infinite; } }
@keyframes sheen { 0%, 62% { left: -60%; } 86%, 100% { left: 130%; } }

.preview-card { border-radius: var(--r-xl); box-shadow: var(--shadow-float); padding: 22px; }
.float-a { position: absolute; z-index: 4; left: -32px; bottom: -30px; width: 300px; }
.float-c { position: absolute; z-index: 3; right: -22px; top: -26px; width: 190px; }
@media (max-width: 1080px) { .float-a { left: 0; } .float-c { right: 0; } }

.pc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.pc-title { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.pc-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.pc-progress-bar { flex: 1; height: 9px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.pc-progress-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; animation: grow 1.4s var(--ease) both; }
.pc-progress span { font-size: 14px; font-weight: 600; color: var(--ink); }
@keyframes grow { from { width: 0 !important; } }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pc-stat { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 14px 12px; text-align: center; }
.pc-stat-k { display: block; font-size: 24px; font-weight: 600; color: var(--ink); }
.pc-stat-l { font-size: 11.5px; color: var(--ink-3); }

.mini-list-title { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.mini-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-family: var(--mono); font-size: 10px; font-weight: 600; }
.mini-rows { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.mini-rows span { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-rows small { font-size: 11.5px; color: var(--ink-3); }
.mini-check { width: 22px; height: 22px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.mini-check svg { width: 12px; height: 12px; }

.mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 78px; }
.mini-chart .bar { flex: 1; height: var(--h); background: var(--line-strong); border-radius: 5px 5px 3px 3px; animation: rise 1.1s var(--ease) both; }
.mini-chart .bar-on { background: var(--accent); }
@keyframes rise { from { height: 4px; } }
.mini-chart-l { display: flex; justify-content: space-between; margin-top: 12px; font-size: 11.5px; color: var(--ink-3); }

/* floating motion */
@media (prefers-reduced-motion: no-preference) {
  .float-a { animation: floaty 7s ease-in-out infinite; }
  .float-c { animation: floaty 7s ease-in-out infinite 1.2s; }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
/* Bei feinem Zeiger übernimmt der Maus-Parallax (kein Konflikt mit floaty) */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .float-a, .float-c { animation: none; }
}

/* ---------- Trust ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 28px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.trust-ic { display: grid; place-items: center; color: var(--accent-deep); }
.trust-ic svg { width: 19px; height: 19px; }

/* ---------- Section heads ---------- */
.section-head { max-width: 660px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head-left { margin-left: 0; text-align: left; }
.section-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.03em; }
.section-lede { font-size: clamp(16.5px, 1.5vw, 18.5px); color: var(--ink-2); margin-top: 18px; line-height: 1.6; }
.section-tint { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Leistungen ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { padding: 30px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 14px; }
.svc-ic { width: 50px; height: 50px; border-radius: 15px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.svc-ic svg { width: 23px; height: 23px; }
.svc-card h3 { font-size: 18.5px; font-weight: 600; letter-spacing: -0.02em; }
.svc-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.svc-note { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-top: 32px; max-width: 620px; margin-inline: auto; }

/* ---------- Über ---------- */
.ueber-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.ueber-visual { position: relative; }
.ueber-portrait { aspect-ratio: 4/5; border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); }
img.ueber-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.ueber-badge { position: absolute; right: -16px; bottom: 28px; border-radius: var(--r-lg); padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.ueber-badge-k { font-size: 18px; font-weight: 600; color: var(--accent-deep); }
.ueber-badge-l { font-size: 12.5px; color: var(--ink-2); max-width: 16ch; }
.ueber-lede { font-size: 19px; color: var(--ink); margin-top: 22px; line-height: 1.55; font-weight: 450; }
.ueber-text { font-size: 16px; color: var(--ink-2); margin-top: 18px; line-height: 1.7; }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.quality { display: flex; gap: 14px; }
.quality-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--accent-deep); display: grid; place-items: center; box-shadow: var(--shadow-xs); }
.quality-ic svg { width: 20px; height: 20px; }
.quality strong { display: block; font-size: 15.5px; font-weight: 600; }
.quality span { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-num { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.step h3 { font-size: 17.5px; font-weight: 600; }
.step p { font-size: 14px; color: var(--ink-2); margin-top: 10px; line-height: 1.55; }
.step-line { display: none; }

/* ---------- Portal (dunkel) ---------- */
.section-dark { background: oklch(0.255 0.008 165); color: oklch(0.92 0.004 150); position: relative; overflow: hidden; }
.section-dark::before { content:''; position:absolute; top:-30%; left:-10%; width:600px; height:600px; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); opacity:0.16; pointer-events:none; }
.portal-grid { position: relative; display: grid; grid-template-columns: 1fr 0.82fr; gap: 64px; align-items: center; }
.eyebrow-light { color: oklch(0.78 0.05 158); }
.portal-title { color: #fff; }
.portal-lede { font-size: 18.5px; color: oklch(0.82 0.006 155); margin-top: 20px; line-height: 1.6; max-width: 44ch; }
.portal-feat { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.portal-feat li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: oklch(0.88 0.005 155); }
.portal-feat .pf-ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: oklch(1 0 0 / 0.08); color: oklch(0.82 0.06 158); display: grid; place-items: center; }
.portal-feat .pf-ic svg { width: 15px; height: 15px; }
.portal-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.portal-secure { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: oklch(0.7 0.006 155); }
.portal-secure svg { width: 15px; height: 15px; }

/* Phone mock */
.portal-visual { display: flex; justify-content: center; }
.phone { position: relative; width: 300px; background: #0d0f0e; border-radius: 46px; padding: 12px; box-shadow: 0 40px 90px -30px oklch(0 0 0 / 0.6), inset 0 0 0 1px oklch(1 0 0 / 0.08); }
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #0d0f0e; border-radius: 99px; z-index: 5; }
.phone-screen { background: var(--bg); border-radius: 36px; padding: 40px 18px 22px; min-height: 540px; display: flex; flex-direction: column; gap: 14px; }
.ph-top { display: flex; flex-direction: column; padding: 4px 6px; }
.ph-greet { font-size: 12.5px; color: var(--ink-3); }
.ph-name { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.ph-stand { padding: 16px; border-radius: var(--r-lg); }
.ph-stand-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.ph-stand-top span:first-child { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ph-ring-row { display: flex; align-items: center; gap: 16px; }
.ph-ring { flex: none; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--bg-2) 0); }
.ph-ring::before { content:''; position:absolute; width:58px; height:58px; border-radius:50%; background: var(--surface); }
.ph-ring span { position: relative; font-size: 15px; font-weight: 600; color: var(--ink); }
.ph-stand-list { display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--ink-2); }
.ph-stand-list div { display: flex; align-items: center; gap: 9px; }
.ph-stand-list i { width: 7px; height: 7px; border-radius: 50%; }
.d-warn { background: var(--warning); } .d-info { background: var(--info); } .d-ok { background: var(--success); }
.ph-upload { display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--accent); color: #fff; border: none; border-radius: var(--r-lg); padding: 15px; font-size: 15px; font-weight: 500; box-shadow: 0 8px 20px -8px var(--accent-ring); }
.ph-upload svg { width: 18px; height: 18px; }
.ph-tasks { display: flex; flex-direction: column; gap: 10px; }
.ph-task { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px; }
.ph-task-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.ph-task-ic svg { width: 18px; height: 18px; }
.ph-task strong { display: block; font-size: 13.5px; font-weight: 600; }
.ph-task small { font-size: 12px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: none; border: none; text-align: left; font-size: 16.5px; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
.faq-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink-2); transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; }
.faq-icon svg { width: 14px; height: 14px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a-inner { overflow: hidden; }
.faq-a p { padding: 0 24px 24px; font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Prozess-Detailliste (Zusammenarbeit) ---------- */
.proc-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.proc-item { display: grid; grid-template-columns: auto auto 1fr; gap: 22px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 30px; box-shadow: var(--shadow-xs); }
.proc-n { font-size: 14px; font-weight: 600; color: var(--accent-deep); padding-top: 12px; }
.proc-ic { width: 50px; height: 50px; border-radius: 15px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.proc-ic svg { width: 24px; height: 24px; }
.proc-body h3 { font-size: 18.5px; font-weight: 600; letter-spacing: -0.02em; }
.proc-body p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.6; }

/* ---------- Monatsfluss ---------- */
.flow-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow-step { position: relative; text-align: center; padding: 8px; }
.flow-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--accent-deep); display: grid; place-items: center; margin: 0 auto 16px; box-shadow: var(--shadow-xs); position: relative; z-index: 1; }
.flow-ic svg { width: 25px; height: 25px; }
.flow-line { position: absolute; top: 36px; left: 50%; width: 100%; height: 2px; background: var(--line-strong); z-index: 0; }
.flow-step:last-child .flow-line { display: none; }
.flow-step strong { font-size: 15.5px; font-weight: 600; display: block; }
.flow-step p { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.5; }

/* ---------- Check-Liste ---------- */
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; color: var(--ink); }
.check-list li svg { width: 22px; height: 22px; color: var(--accent-deep); flex: none; margin-top: 1px; }

/* ---------- Portrait-Bildunterschrift ---------- */
.portrait-cap { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 18px; text-align: center; }
.portrait-cap strong { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.portrait-cap span { font-size: 13px; color: var(--ink-3); }

/* ---------- Portal-Infoseite ---------- */
.psec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.psec-card { padding: 28px; border-radius: var(--r-xl); }
.psec-ic { width: 50px; height: 50px; border-radius: 15px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 18px; }
.psec-ic svg { width: 24px; height: 24px; }
.psec-card h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; }
.psec-card p { font-size: 14px; color: var(--ink-2); margin-top: 9px; line-height: 1.55; }

@media (max-width: 860px) {
  .proc-item { grid-template-columns: auto 1fr; gap: 16px; }
  .proc-n { grid-row: 1; grid-column: 1; padding-top: 14px; }
  .proc-ic { grid-row: 1; grid-column: 1; display: none; }
  .flow-track { grid-template-columns: 1fr 1fr; }
  .flow-line { display: none; }
  .psec-grid { grid-template-columns: 1fr; }
}

/* ---------- Kontakt ---------- */
.kontakt-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 52px; align-items: start; }
.kontakt-info { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; }
.ki-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.ki-row:last-child { border-bottom: none; }
.ki-row svg { width: 22px; height: 22px; color: var(--accent-deep); flex: none; }
.ki-row small { display: block; font-size: 12px; color: var(--ink-3); }
.ki-row span:not(small) { font-size: 15.5px; font-weight: 500; }
a.ki-row:hover span:not(small) { color: var(--accent-deep); }
.kontakt-trust { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: var(--r-lg); }
.kontakt-trust svg { width: 22px; height: 22px; color: var(--accent-deep); flex: none; }
.kontakt-trust p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.map-ph { aspect-ratio: 16/7; border-radius: var(--r-lg); margin-top: 28px; }
.map-embed { margin-top: 28px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; }
.map-embed iframe { width: 100%; height: 220px; display: block; }

/* Zwei-Klick-Einwilligung für die Karte (DSGVO) */
.map-consent {
  min-height: 240px; line-height: 1.55;
  display: grid; place-items: center; text-align: center; padding: 30px 22px;
  background:
    repeating-linear-gradient(0deg, transparent 0 25px, var(--line) 25px 26px),
    repeating-linear-gradient(90deg, transparent 0 25px, var(--line) 25px 26px),
    linear-gradient(135deg, var(--accent-tint), var(--surface));
}
.map-consent-inner { max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.map-consent-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--accent-deep); box-shadow: var(--shadow-sm); margin-bottom: 2px; }
.map-consent-ic svg { width: 23px; height: 23px; }
.map-consent h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.map-consent p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.map-consent .btn { margin-top: 6px; }
.map-consent .btn svg { margin-right: 2px; }
.map-consent-remember { font-size: 12.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.map-consent-remember input { accent-color: var(--accent); width: 15px; height: 15px; }
.map-consent-alt { font-size: 13px; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.map-consent-alt:hover { color: var(--accent-hover); }

/* Mini-Prozess (Zugang anfragen) */
.prozess-mini { display: flex; flex-direction: column; gap: 16px; margin: 26px 0; }
.pm-step { display: flex; gap: 14px; align-items: flex-start; }
.pm-n { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
.pm-step strong { display: block; font-size: 15px; font-weight: 600; }
.pm-step span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Kundenerfassung (Upload + Fieldsets) ---------- */
.erf-section { margin-top: 26px; }
.erf-section:first-child { margin-top: 0; }
.erf-legend { display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px; }
.erf-legend .erf-n { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; }
.up-zone { border: 2px dashed var(--line-strong); border-radius: var(--r-lg); padding: 30px; text-align: center; background: var(--surface-2); cursor: pointer; transition: all .25s; }
.up-zone:hover, .up-zone.over { border-color: var(--accent); background: var(--accent-tint); }
.up-zone .uz-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin: 0 auto 12px; }
.up-zone .uz-ic svg { width: 23px; height: 23px; }
.up-zone strong { font-size: 15px; font-weight: 600; }
.up-zone p { font-size: 13px; color: var(--ink-3); margin-top: 5px; }
.up-files { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.up-file { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.up-file .uf-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-family: var(--mono); font-size: 9px; font-weight: 600; flex: none; }
.up-file .uf-name { flex: 1; font-size: 13.5px; font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-file .uf-x { width: 26px; height: 26px; border-radius: 50%; border: none; background: var(--bg-2); color: var(--ink-3); cursor: pointer; display: grid; place-items: center; flex: none; }
.up-file .uf-x:hover { background: var(--danger-soft); color: var(--danger); }
.up-file .uf-x svg { width: 14px; height: 14px; }
/* Mehrfach-Auswahl-Chips (Leistungsumfang) */
.topic-chips.multi .topic-chip.active::before { content: '✓ '; }

.kontakt-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.select-wrap { position: relative; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-chev { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.form-actions { margin-top: 6px; }
.form-alt { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }
.ulink { color: var(--accent-deep); font-weight: 500; border-bottom: 1px solid var(--accent-ring); }
.ulink:hover { border-bottom-color: var(--accent); }
.field-error.show { animation: shake .4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }

/* Success state */
.form-success { text-align: center; padding: 30px 10px; }
.form-success .fs-ic { width: 66px; height: 66px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 22px; animation: pop .5s var(--ease) both; }
.form-success .fs-ic svg { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(0.5); opacity: 0; } }
.form-success h3 { font-size: 22px; }
.form-success p { color: var(--ink-2); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-note { font-size: 14px; color: var(--ink-2); max-width: 34ch; line-height: 1.6; }
.footer-bbh { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 13px; color: var(--accent-deep); font-weight: 500; }
.footer-bbh svg { width: 17px; height: 17px; flex: none; }
.footer-legal { display: flex; gap: 12px; align-items: flex-start; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-legal svg { width: 17px; height: 17px; color: var(--ink-4); flex: none; margin-top: 2px; }
.footer-legal p { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; max-width: 95ch; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: var(--ink-2); }
.footer-col a:hover { color: var(--accent-deep); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer-credit { flex-basis: 100%; text-align: center; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); color: var(--ink-4); font-size: 12.5px; }
.footer-credit a { color: var(--ink-2); font-weight: 500; transition: color .2s var(--ease-soft); }
.footer-credit a:hover { color: var(--accent-deep); }
@media (max-width: 720px) { .footer-credit { text-align: left; } }
.footer-secure { display: inline-flex; align-items: center; gap: 8px; }
.footer-secure svg { width: 15px; height: 15px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 120%);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 200;
  display: flex; align-items: center; gap: 10px; transition: transform .5s var(--ease), visibility .5s; max-width: 90vw;
  visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 18px; height: 18px; color: oklch(0.78 0.07 158); }

/* ---------- Subpage-Hero ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -40%; right: -8%; width: 620px; height: 620px; background: radial-gradient(circle, var(--accent-soft) 0%, transparent 62%); opacity: 0.85; pointer-events: none; }
.page-hero-inner { position: relative; max-width: 760px; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; margin-top: 22px; }
.page-hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); margin-top: 20px; line-height: 1.6; max-width: 56ch; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.crumb a:hover { color: var(--accent-deep); }
.crumb svg { width: 13px; height: 13px; }

/* ---------- Service-Card Zusatz ---------- */
.svc-cat { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.svc-card h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Gruppierte Leistungen ---------- */
.svc-grouped { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.svc-group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.svc-group-n { font-size: 14px; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.svc-group-head h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.03em; }
.svc-group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-group .svc-card { gap: 12px; }

/* ---------- Werdegang (CV) ---------- */
.cv-list { display: flex; flex-direction: column; }
.cv-item { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.cv-item:first-child { border-top: none; }
.cv-y { font-size: 14px; font-weight: 500; color: var(--accent-deep); padding-top: 2px; }
.cv-body h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.cv-body p { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.55; }

/* ---------- Software-Chips ---------- */
.sw-list { display: flex; flex-wrap: wrap; gap: 10px; }
.sw-chip { font-family: var(--mono); font-size: 13.5px; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 18px; box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.sw-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--accent-ring); }

/* ---------- Vertrauenskarten ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tv-card { padding: 28px; border-radius: var(--r-xl); }
.tv-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 18px; }
.tv-ic svg { width: 23px; height: 23px; }
.tv-card h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; }
.tv-card p { font-size: 13.5px; color: var(--ink-2); margin-top: 9px; line-height: 1.55; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; background: oklch(0.255 0.008 165); color: oklch(0.92 0.004 150); border-radius: var(--r-3xl); padding: clamp(44px, 6vw, 72px); text-align: center; }
.cta-band::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 700px; height: 500px; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); opacity: 0.2; }
.cta-band h2 { position: relative; color: #fff; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.03em; }
.cta-band p { position: relative; color: oklch(0.82 0.006 155); font-size: 17.5px; margin-top: 16px; max-width: 48ch; margin-inline: auto; line-height: 1.6; }
.cta-band .cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ============================================================
   Anruf-Widget (Floating) + Cookie-Banner
   ============================================================ */
.call-fab { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.call-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border: none; border-radius: var(--r-pill);
  background: var(--accent); color: #fff; font-family: inherit; font-size: 15.5px; font-weight: 600;
  box-shadow: 0 10px 26px -8px var(--accent-ring), 0 2px 6px oklch(0 0 0 / 0.12);
  cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, background .25s;
}
.call-btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 34px -10px var(--accent-ring); }
.call-btn svg { width: 21px; height: 21px; }
.call-fab.open .call-btn .call-label { display: none; }
.call-fab.open .call-btn { width: 56px; padding: 0; justify-content: center; }
@media (prefers-reduced-motion: no-preference) { .call-fab:not(.open) .call-btn svg { animation: callRing 2.6s ease-in-out infinite; transform-origin: 50% 60%; } }
@keyframes callRing { 0%,88%,100% { transform: rotate(0); } 90% { transform: rotate(-12deg); } 92% { transform: rotate(12deg); } 94% { transform: rotate(-9deg); } 96% { transform: rotate(9deg); } 98% { transform: rotate(0); } }

.call-panel { width: 320px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-xl); padding: 20px; transform-origin: bottom right; opacity: 0; transform: translateY(12px) scale(0.96); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.call-panel.show { opacity: 1; transform: none; }
.call-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.call-ava { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.call-ava svg { width: 21px; height: 21px; }
.call-panel-head strong { display: block; font-size: 14.5px; font-weight: 600; }
.call-panel-head span { font-size: 12px; color: var(--ink-3); }
.call-x { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--bg-2); color: var(--ink-3); display: grid; place-items: center; cursor: pointer; flex: none; transition: background .2s; }
.call-x:hover { background: var(--line); }
.call-x svg { width: 16px; height: 16px; transform: rotate(45deg); }
.call-lede { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-bottom: 14px; }
.call-panel .btn-accent { margin-bottom: 12px; }
.call-cb-row { display: flex; gap: 8px; border-radius: var(--r-md); }
.call-cb-row .input { padding: 11px 14px; }
.call-cb-row .btn { white-space: nowrap; padding: 11px 16px; }
.call-cb .field-error { margin-top: 6px; display: block; }
.call-secure { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink-3); margin-top: 12px; justify-content: center; }
.call-secure svg { width: 14px; height: 14px; color: var(--accent-deep); }
.call-ok { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--success); background: var(--success-soft); padding: 12px 14px; border-radius: var(--r-md); }
.call-ok svg { width: 18px; height: 18px; flex: none; }

.cookie-banner {
  position: fixed; left: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 160; width: 440px; max-width: calc(100vw - 32px);
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl); padding: 20px 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start;
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.cookie-banner.show { opacity: 1; transform: none; }
.cookie-ic { width: 64px; height: 64px; border-radius: 16px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.cookie-calc { width: 48px; height: 48px; }
@media (prefers-reduced-motion: no-preference) {
  .cookie-calc { animation: calcbob 4s ease-in-out infinite; transform-origin: 50% 70%; }
  .cookie-crumbs circle { animation: crumb 4s ease-in-out infinite; }
}
@keyframes calcbob { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-3px) rotate(3deg); } }
@keyframes crumb { 0%,100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.cookie-ic svg { width: 22px; height: 22px; }
.cookie-text strong { font-size: 15.5px; font-weight: 600; display: block; margin-bottom: 4px; letter-spacing: -0.01em; }
.cookie-text p { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.cookie-text a { color: var(--accent-deep); font-weight: 500; border-bottom: 1px solid var(--accent-ring); }
.cookie-toggles { display: flex; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.ck-tog { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); cursor: default; }
.ck-tog small { color: var(--ink-4); font-weight: 400; }
.ck-tog .ck-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.ck-tog .ck-dot.on { background: var(--success); }
.ck-switch { cursor: pointer; }
.ck-switch input { position: absolute; opacity: 0; }
.ck-track { width: 34px; height: 19px; border-radius: 99px; background: var(--line-strong); position: relative; transition: background .25s; flex: none; }
.ck-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: var(--shadow-xs); }
.ck-switch input:checked + .ck-track { background: var(--accent); }
.ck-switch input:checked + .ck-track::after { transform: translateX(15px); }
.ck-switch input:focus-visible + .ck-track { box-shadow: 0 0 0 4px var(--accent-ring); }
.cookie-actions { grid-column: 1 / -1; display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 480px) { .cookie-actions { flex-direction: column-reverse; } .cookie-actions .btn { width: 100%; } .call-btn .call-label { display: none; } .call-btn { width: 56px; padding: 0; justify-content: center; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { min-height: 380px; max-width: 460px; }
  .ueber-grid, .portal-grid, .faq-wrap, .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .ueber-visual { max-width: 420px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-group-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .portal-feat { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .nav-links, .nav-login { display: none; }
  .menu-toggle { display: inline-flex; }
  .ios-nav.menu-open .mobile-menu { display: flex; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-actions .btn-accent { display: none; }
  .hero-meta { flex-wrap: wrap; gap: 16px 20px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-group-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cv-item { grid-template-columns: 1fr; gap: 6px; }
  .quality-grid { grid-template-columns: 1fr; }
  .portal-feat { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .ueber-badge { right: 12px; }
  .section { padding: 64px 0; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

/* ============================================================
   WOW-Animationspaket
   ============================================================ */

/* Scroll-Fortschrittsbalken */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--accent), var(--accent-hover)); box-shadow: 0 0 10px var(--accent-ring); transition: width .1s linear; }

/* Aurora-Blobs im Hero */
.hero { isolation: isolate; }
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; mix-blend-mode: multiply; }
.aurora .a1 { width: 460px; height: 460px; top: -120px; right: 4%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); }
.aurora .a2 { width: 380px; height: 380px; bottom: -140px; left: -60px; background: radial-gradient(circle, oklch(0.9 0.05 210), transparent 70%); }
.aurora .a3 { width: 300px; height: 300px; top: 30%; left: 40%; background: radial-gradient(circle, oklch(0.92 0.04 280), transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  .aurora .a1 { animation: drift1 18s ease-in-out infinite; }
  .aurora .a2 { animation: drift2 22s ease-in-out infinite; }
  .aurora .a3 { animation: drift3 26s ease-in-out infinite; }
}
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,30px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,-26px) scale(1.1); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,-30px) scale(1.15); } }

/* Headline-Reveal (Masken-Aufzug, zeilenweise) */
.reveal-lines .rl { display: block; overflow: hidden; }
.reveal-lines .rl > span { display: block; transform: translateY(108%); transition: transform .9s var(--ease); }
.reveal-lines.in .rl > span { transform: none; }
.reveal-lines .rl:nth-child(2) > span { transition-delay: .08s; }
.reveal-lines .rl:nth-child(3) > span { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .reveal-lines .rl > span { transform: none; } }

/* Gradient-Text-Akzent */
.grad-text { background: linear-gradient(100deg, var(--accent) 0%, oklch(0.55 0.13 220) 55%, var(--accent-deep) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: no-preference) { .grad-text { animation: gradslide 6s ease-in-out infinite; } }
@keyframes gradslide { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }

/* 3D-Tilt */
[data-tilt] { transform-style: preserve-3d; transition: transform .3s var(--ease); will-change: transform; }
[data-tilt] .tilt-pop { transform: translateZ(40px); }

/* Magnetische Buttons */
[data-magnetic] { transition: transform .25s var(--ease); will-change: transform; }

/* Cursor-Spotlight auf dunklen Flächen */
.spotlight { position: relative; overflow: hidden; }
.spotlight::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, oklch(0.6 0.13 256 / 0.30), transparent 65%); left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 0; }
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* Zähl-Pop bei Count-Ups */
.count-pop { display: inline-block; animation: countpop .5s var(--ease); }
@keyframes countpop { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }

/* Trust-Marquee (sanft) */
.trust-row .trust-item { transition: transform .3s var(--ease), color .3s; }
.trust-row .trust-item:hover { transform: translateY(-3px); color: var(--accent-deep); }
.trust-row .trust-item:hover .trust-ic { transform: scale(1.15) rotate(-6deg); }
.trust-ic { transition: transform .3s var(--ease); }

/* Logo-Sheen beim Laden */
@media (prefers-reduced-motion: no-preference) {
  .brand-logo { -webkit-mask-image: linear-gradient(105deg, #000 40%, oklch(0 0 0 / 0.55) 50%, #000 60%); mask-image: linear-gradient(105deg, #000 40%, oklch(0 0 0 / 0.55) 50%, #000 60%); -webkit-mask-size: 250% 100%; mask-size: 250% 100%; animation: logosheen 1.2s var(--ease) .4s 1 both; }
}
@keyframes logosheen { from { -webkit-mask-position: 130% 0; mask-position: 130% 0; } to { -webkit-mask-position: -30% 0; mask-position: -30% 0; } }

/* ---------- Foto-Bänder ---------- */
.img-band { position: relative; min-height: 420px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.img-band-media { position: absolute; inset: 0; z-index: -2; }
.img-band-media img { width: 100%; height: 100%; object-fit: cover; }
.img-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, oklch(0.22 0.05 256 / 0.86) 0%, oklch(0.24 0.05 256 / 0.6) 55%, oklch(0.24 0.05 256 / 0.32) 100%); }
.img-band-inner { max-width: var(--maxw); width: 100%; padding: 0 28px; color: #fff; }
.img-band-inner .eyebrow { color: oklch(0.82 0.06 230); }
.img-band-inner h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; max-width: 20ch; margin-top: 14px; }
.img-band-inner p { color: oklch(0.9 0.01 240); font-size: 17px; margin-top: 16px; max-width: 48ch; line-height: 1.6; }
.img-band-stats { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.img-band-stats div { display: flex; flex-direction: column; }
.img-band-stats strong { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; }
.img-band-stats span { font-size: 13.5px; color: oklch(0.82 0.02 240); }

/* Foto-Karte (Subpages) */
.photo-card { border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16/11; }
.page-hero-photo { aspect-ratio: 21/9; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 36px; position: relative; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-photo.video-frame { position: relative; background: var(--bg-2); }
.page-hero-photo .phv-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-photo .phv-fallback { position: absolute; inset: 0; display: none; }
.page-hero-photo .phv-fallback img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo.video-failed .phv-video { display: none; }
.page-hero-photo.video-failed .phv-fallback { display: block; }

@media (max-width: 720px) { .img-band { min-height: 360px; } }

/* ---------- Themen-Buttons ---------- */
.topic-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chip { font-family: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 18px; cursor: pointer; transition: all .2s var(--ease-soft); }
.topic-chip:hover { border-color: var(--ink-4); color: var(--ink); transform: translateY(-1px); }
.topic-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px var(--accent-ring); }
.field.invalid .topic-chips { outline: 2px solid var(--danger-soft); outline-offset: 6px; border-radius: var(--r-md); }

/* ---------- Hero-Video-Fallback (Büro) ---------- */
.hero-video-fallback { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%); color: #fff; }
.hero-video-frame.video-failed .hero-video-fallback { display: flex; }
.hero-video-frame.video-failed .hero-video { display: none; }
.hvf-mark { font-size: 44px; font-weight: 700; letter-spacing: 0.02em; display: flex; gap: 1px; }
.hvf-mark i { font-style: normal; background: linear-gradient(180deg, var(--silver-1), var(--silver-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hvf-cap { font-size: 13.5px; color: oklch(0.9 0.02 256); letter-spacing: 0.02em; }

/* ============================================================
   Hero — Fullscreen-Video (Startseite)
   ============================================================ */
.hero-cinematic {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  isolation: isolate;
  /* Fallback-Hintergrund, falls das Video (noch) nicht lädt — kein Bild, Marken-Navy */
  background: linear-gradient(150deg, var(--accent-deep) 0%, oklch(0.17 0.045 256) 100%);
}
.hero-cinematic .aurora { display: none; }

.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(150deg, var(--accent-deep) 0%, oklch(0.16 0.045 256) 100%); }
.hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg.video-failed .hero-bg-video { display: none; }
.hero-bg-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, oklch(0.15 0.04 256 / 0.86) 0%, oklch(0.15 0.04 256 / 0.55) 44%, oklch(0.15 0.04 256 / 0.18) 100%),
    linear-gradient(0deg, oklch(0.13 0.04 256 / 0.62) 0%, transparent 44%);
}

.hero-inner { position: relative; z-index: 2; }
.hero-cinematic .hero-copy { max-width: 660px; }
.hero-cinematic .hero-pill {
  margin-bottom: 26px;
  background: oklch(1 0 0 / 0.14); color: #fff;
  border: 1px solid oklch(1 0 0 / 0.24);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-cinematic .hero-pill .dot { background: oklch(0.82 0.13 150); }
.hero-cinematic .hero-title { color: #fff; text-shadow: 0 2px 40px oklch(0.1 0.03 256 / 0.45); }
.hero-cinematic .grad-text {
  background: linear-gradient(100deg, #ffffff 0%, oklch(0.88 0.06 230) 52%, oklch(0.95 0.02 256) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cinematic .hero-lede { color: oklch(1 0 0 / 0.84); max-width: 48ch; }
.hero-cinematic .crumb { color: oklch(1 0 0 / 0.62); margin-bottom: 20px; }
.hero-cinematic .crumb a { color: oklch(1 0 0 / 0.88); }
.hero-cinematic .crumb a:hover { color: #fff; }
.hero-cinematic .crumb svg { color: oklch(1 0 0 / 0.5); }
.hero-cinematic .hero-meta strong { color: #fff; }
.hero-cinematic .hero-meta span { color: oklch(1 0 0 / 0.66); }
.hero-cinematic .hero-meta-sep { background: oklch(1 0 0 / 0.24); }

/* CTAs auf dunklem Video: heller Primär-Button, Glas-Sekundär */
.hero-cinematic .hero-cta .btn-accent { background: #fff; color: var(--accent-deep); box-shadow: 0 12px 34px -12px oklch(0.08 0.03 256 / 0.7); }
.hero-cinematic .hero-cta .btn-accent:hover { background: oklch(0.97 0.008 256); color: var(--accent-deep); }
.hero-cinematic .hero-cta .btn-ghost { color: #fff; border-color: oklch(1 0 0 / 0.5); background: oklch(1 0 0 / 0.08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-cinematic .hero-cta .btn-ghost:hover { background: oklch(1 0 0 / 0.18); border-color: #fff; }

/* Scroll-Indikator */
.hero-scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid oklch(1 0 0 / 0.5); border-radius: 14px; display: grid; justify-items: center; align-content: start; padding-top: 7px; }
.hero-scroll span { width: 4px; height: 8px; border-radius: 2px; background: oklch(1 0 0 / 0.85); }
@media (prefers-reduced-motion: no-preference) { .hero-scroll span { animation: scrolldot 1.8s ease-in-out infinite; } }
@keyframes scrolldot { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(11px); opacity: 0.25; } }

/* Mobile-Optimierung Hero */
@media (max-width: 820px) {
  .hero-cinematic { min-height: 90svh; padding: 104px 0 60px; }
  .hero-cinematic .hero-bg-overlay {
    background: linear-gradient(0deg, oklch(0.12 0.04 256 / 0.84) 0%, oklch(0.15 0.04 256 / 0.5) 52%, oklch(0.15 0.04 256 / 0.34) 100%);
  }
  .hero-cinematic .hero-lede { max-width: none; }
  .hero-scroll { display: none; }
}
@media (max-width: 420px) {
  .hero-cinematic { padding-top: 96px; }
  .hero-cinematic .hero-meta { gap: 14px 18px; }
}

/* ============================================================
   Mobile-Optimierung — Feinschliff & Overflow-Schutz
   ============================================================ */
html, body { overflow-x: clip; }   /* Sicherheitsnetz gegen horizontales Scrollen */

@media (max-width: 600px) {
  /* Lange Buttons dürfen umbrechen, statt den Viewport zu sprengen */
  .btn { white-space: normal; max-width: 100%; }
  .center .btn, .cta-actions .btn, .cta-band .btn { width: 100%; }
  /* Hero-CTAs sauber gestapelt + volle Trefferfläche */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  /* Glas-Navigation kompakter; Wortmarke darf schrumpfen */
  .ios-nav { padding: 14px 12px; }
  .ios-nav-inner { gap: 12px; padding: 0 10px 0 14px; min-width: 0; }
  .brand { min-width: 0; gap: 9px; }
  .brand-logo { height: 30px; }
  .brand-text { min-width: 0; }
  .brand-name { font-size: 14.5px; }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }   /* sehr schmale Geräte: Zusatz ausblenden */
}

/* ============================================================
   Terminbuchung (telefonisches Erstgespräch)
   ============================================================ */
.book-wrap { max-width: 920px; margin: 0 auto; }
.book-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.book-step { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.book-step .bs-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--ink-3); font-size: 13px; transition: all .3s var(--ease); }
.book-step.active .bs-n { background: var(--accent); border-color: var(--accent); color: #fff; }
.book-step.done .bs-n { background: var(--success); border-color: var(--success); color: #fff; }
.book-step.active { color: var(--ink); }
.book-sep { flex: 1; min-width: 18px; height: 1.5px; background: var(--line); }
.book-panel { display: none; }
.book-panel.active { display: block; animation: pIn .4s var(--ease) both; }
@keyframes pIn { from { opacity: 0; transform: translateY(8px); } }

.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.day-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg); padding: 16px; cursor: pointer; text-align: center; transition: all .2s var(--ease); }
.day-card:hover { border-color: var(--accent-ring); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.day-card.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-ring); }
.day-card .dc-dow { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.day-card .dc-day { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.day-card .dc-mon { font-size: 12.5px; color: var(--ink-3); }
.day-card.full { opacity: 0.45; pointer-events: none; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 13px; text-align: center; font-family: var(--mono); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all .2s var(--ease); }
.slot:hover { border-color: var(--accent-ring); transform: translateY(-2px); }
.slot.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.slot.taken { opacity: 0.4; pointer-events: none; text-decoration: line-through; }

.book-summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--accent-soft); border-radius: var(--r-lg); margin-bottom: 22px; }
.book-summary svg { width: 22px; height: 22px; color: var(--accent-deep); flex: none; }
.book-summary strong { font-size: 15px; font-weight: 600; color: var(--accent-deep); }
.book-summary span { font-size: 13px; color: var(--ink-2); display: block; }
.book-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

.book-success { text-align: center; padding: 40px 20px; }
.book-success .bs-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 22px; animation: pop .5s var(--ease) both; }
.book-success .bs-ic svg { width: 38px; height: 38px; }
.book-success h2 { font-size: 26px; letter-spacing: -0.02em; }
.book-success p { color: var(--ink-2); margin-top: 12px; max-width: 44ch; margin-inline: auto; }
.book-success .bs-card { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 18px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.book-success .bs-card svg { width: 24px; height: 24px; color: var(--accent-deep); }
.book-success .bs-card strong { font-size: 16px; display: block; }
.book-success .bs-card span { font-size: 13px; color: var(--ink-3); }
