/* =====================================================================
   ALLIMMO · Design-System
   Eine Datei für alle Seiten. Vanilla CSS, keine Abhängigkeiten.
   Markenfarbe Teal (#0097B2) – modern, premium, interaktiv.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Marke */
  --brand:        #0097B2;
  --brand-2:      #00C2D4;
  --brand-3:      #2BE0C8;
  --brand-dark:   #00697E;
  --brand-deep:   #00303A;
  --brand-light:  #E6F5F8;

  /* Akzente */
  --violet:       #6C5CE7;
  --violet-2:     #8B7BFF;
  --amber:        #FFC94B;
  --green:        #16C172;
  --coral:        #FF7A66;

  /* Neutral */
  --ink:          #0B1F26;
  --ink-soft:     #2C4750;
  --slate:        #4D6670;
  --slate-lt:     #5E7780;
  --line:         #DCE8EB;
  --bg:           #F2F9FB;
  --bg-2:         #E8F3F5;
  --surface:      #FFFFFF;

  /* Dark Surfaces */
  --dark:         #051D24;
  --dark-2:       #0A2A33;
  --dark-3:       #103741;
  --on-dark:      #DDEBEE;
  --on-dark-soft: #8FB2BA;

  /* Verläufe */
  --grad-brand:   linear-gradient(135deg, var(--brand-2), var(--brand) 55%, var(--brand-dark));
  --grad-ai:      linear-gradient(135deg, var(--brand-2), var(--violet));
  --grad-mesh:    radial-gradient(60% 60% at 15% 10%, rgba(0,194,212,.20), transparent 60%),
                  radial-gradient(50% 50% at 85% 20%, rgba(108,92,231,.16), transparent 60%),
                  radial-gradient(60% 70% at 70% 90%, rgba(0,151,178,.18), transparent 60%);

  /* Schatten */
  --sh-sm: 0 4px 14px rgba(7,40,48,.07);
  --sh-md: 0 14px 34px rgba(7,40,48,.10);
  --sh-lg: 0 30px 60px rgba(7,40,48,.16);
  --sh-glow: 0 18px 50px rgba(0,151,178,.32);

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Typo */
  --f-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1200px;
  --nav-h: 74px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--f-display); margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(0,151,178,.22); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
@media (max-width: 760px) { .section { padding: 64px 0; } .section--tight { padding: 48px 0; } }

.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--soft { background: var(--surface); }
.section--mesh { background: var(--bg); position: relative; }
.section--mesh::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); pointer-events: none; z-index: 0; }
.section--mesh > .container { position: relative; z-index: 1; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Eyebrow / Badge ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(0,151,178,.10); color: var(--brand-dark);
  border: 1px solid rgba(0,151,178,.22);
  border-radius: var(--r-pill); padding: 7px 16px;
  font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.section--dark .eyebrow { background: rgba(255,255,255,.07); color: var(--brand-3); border-color: rgba(255,255,255,.16); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,193,114,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,193,114,.5); } 70% { box-shadow: 0 0 0 10px rgba(22,193,114,0); } 100% { box-shadow: 0 0 0 0 rgba(22,193,114,0); } }

/* ---------- Section Head ---------- */
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-top: 16px; }
.sec-head h2 .hl { background: var(--grad-ai); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec-head p { margin-top: 16px; color: var(--slate); font-size: 1.1rem; }
.section--dark .sec-head p { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 1rem; line-height: 1;
  transition: transform .18s ease, box-shadow .25s ease, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(0,151,178,.42); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #06303a; }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: var(--brand); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { transform: translateY(-2px); background: rgba(255,255,255,.9); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242,249,251,.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(7,40,48,.08); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--f-display); font-weight: 800; }
.brand-logo {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad-brand);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--sh-glow); flex-shrink: 0;
}
.brand-name { font-size: 1.32rem; letter-spacing: -.02em; color: var(--ink); }
.brand-name b { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--brand-dark); background: rgba(0,151,178,.08); }
.nav-links a.active { color: var(--brand-dark); background: rgba(0,151,178,.12); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 11px 20px; font-size: .94rem; }

/* Dropdown */
.has-drop { position: relative; }
.drop-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .2s ease .12s, transform .2s ease .12s, visibility 0s linear .35s; z-index: 120;
}
.has-drop:hover .drop-panel, .has-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition: opacity .2s ease, transform .2s ease, visibility 0s; }
/* Unsichtbare Brücke über die Lücke Trigger->Panel, damit das Menü beim langsamen Runterfahren offen bleibt */
.drop-panel::before { content: ""; position: absolute; top: -16px; left: -12px; right: -12px; height: 22px; }
.drop-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: var(--r-sm); transition: background .15s; }
.drop-item:hover { background: var(--bg); }
.drop-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.drop-item b { display: block; font-size: .94rem; color: var(--ink); }
.drop-item span { display: block; font-size: .8rem; color: var(--slate); line-height: 1.35; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg) translateY(-1.4px); }

@media (max-width: 1000px) {
  /* backdrop-filter am Header würde sonst einen Containing Block für das
     position:fixed-Menü bilden und es auf Header-Höhe zusammendrücken. */
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(240,248,250,.97); }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(240,248,250,.99); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    padding: 22px 24px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; z-index: 90;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .drop-panel { position: static; opacity: 1; visibility: visible; transform: none; width: auto; box-shadow: none; border: 0; padding: 4px 0 4px 14px; }
  .has-drop > a::after { content: " ↓"; }
  .nav-desktop-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero--dark { background: var(--dark); color: var(--on-dark); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; animation: float 14s ease-in-out infinite; }
.hero-bg .orb-1 { width: 460px; height: 460px; top: -140px; right: -120px; background: radial-gradient(circle, rgba(0,194,212,.55), transparent 65%); }
.hero-bg .orb-2 { width: 380px; height: 380px; bottom: -120px; left: -100px; background: radial-gradient(circle, rgba(108,92,231,.40), transparent 65%); animation-delay: -4s; }
.hero-bg .orb-3 { width: 300px; height: 300px; top: 30%; left: 45%; background: radial-gradient(circle, rgba(43,224,200,.35), transparent 65%); animation-delay: -8s; }
.hero--dark .hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(circle at 60% 30%, #000, transparent 75%);
}
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-26px) translateX(14px); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-grid.single { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; text-align: center; }
.hero-grid.single .hero-cta, .hero-grid.single .hero-trust { justify-content: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; line-height: 1.04; margin: 20px 0; letter-spacing: -.03em; }
.hero h1 .grad { background: var(--grad-ai); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero--dark h1 { color: #fff; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--slate); max-width: 600px; }
.hero--dark .hero-sub { color: var(--on-dark-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .92rem; font-weight: 500; color: var(--slate); }
.hero--dark .hero-trust { color: var(--on-dark-soft); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust b { color: var(--brand); }
.hero--dark .hero-trust b { color: var(--brand-3); }

/* ---------- Stat / Counter ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
.stat .num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--brand); letter-spacing: -.02em; }
.section--dark .stat .num { color: var(--brand-3); }
.stat .lbl { color: var(--slate); font-size: .94rem; margin-top: 6px; line-height: 1.4; }
.section--dark .stat .lbl { color: var(--on-dark-soft); }

/* ---------- Card base ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(0,151,178,.3); }

/* ---------- Tool Cards (Hub) ---------- */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 820px) { .tools { grid-template-columns: 1fr; } }
.tool {
  position: relative; overflow: hidden; padding: 34px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s; display: flex; flex-direction: column;
}
.tool::after { content: ""; position: absolute; inset: 0; background: var(--accent, var(--grad-brand)); opacity: 0; transition: opacity .3s; mix-blend-mode: normal; pointer-events: none; }
.tool:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.tool-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tool-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--accent, var(--grad-brand)); box-shadow: var(--sh-sm); flex-shrink: 0; }
.tool-ico svg { width: 28px; height: 28px; }
.tool-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.tool h3 { font-size: 1.4rem; }
.tool p { color: var(--slate); margin: 10px 0 18px; font-size: 1rem; }
.tool-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.tool-list li { display: flex; gap: 10px; color: var(--ink-soft); font-size: .95rem; }
.tool-list li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230097B2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 12px no-repeat; margin-top: 2px; }
.tool-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-dark); transition: gap .2s; }
.tool:hover .tool-cta { gap: 13px; }
.tool .tag-ext { font-size: .72rem; font-weight: 700; color: var(--slate-lt); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px 10px; margin-left: auto; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 28px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.feature-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-light); color: var(--brand-dark); display: grid; place-items: center; margin-bottom: 16px; }
.feature-ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--slate); font-size: .96rem; }
.section--dark .feature { background: var(--dark-2); border-color: rgba(255,255,255,.08); }
.section--dark .feature p { color: var(--on-dark-soft); }
.section--dark .feature-ico { background: rgba(0,194,212,.14); color: var(--brand-3); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-sm); }
.step-num { position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 13px; background: var(--grad-brand); color: #fff; font-family: var(--f-display); font-weight: 800; display: grid; place-items: center; box-shadow: var(--sh-glow); }
.step h4 { font-size: 1.08rem; margin: 16px 0 8px; }
.step p { color: var(--slate); font-size: .94rem; }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-visual { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev .split-visual { order: 0; } }
.split h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.split p { color: var(--slate); margin-top: 16px; font-size: 1.06rem; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.check-list li svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }

/* ---------- Marquee (Presse) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--slate-lt); white-space: nowrap; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA Band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); background: var(--dark); color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); opacity: .9; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: #fff; }
.cta-band p { color: var(--on-dark-soft); max-width: 560px; margin: 16px auto 0; font-size: 1.1rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 2px 24px; box-shadow: var(--sh-sm); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--sh-md); border-color: rgba(0,151,178,.3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 20px; height: 20px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230097B2' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center / contain no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding: 0 0 20px; color: var(--slate); line-height: 1.65; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--sh-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: .98rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0,151,178,.14); }
.field .hint { font-size: .78rem; color: var(--slate-lt); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; } /* honeypot */
.form-note { margin-top: 14px; font-size: .8rem; color: var(--slate-lt); text-align: center; }
.form-msg { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--r-sm); font-size: .94rem; font-weight: 600; }
.form-msg.show { display: block; }
.form-msg.ok { background: #E7F8EF; color: #0E7A45; border: 1px solid #BCE9CF; }
.form-msg.err { background: #FDECEA; color: #B3261E; border: 1px solid #F5C6C2; }
.submit-state { display: inline-flex; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Success block (Warteliste) */
.success { display: none; text-align: center; padding: 14px; }
.success.show { display: block; animation: fade-up .4s ease both; }
.success-ico { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, var(--green), #0E9C5A); display: grid; place-items: center; margin: 0 auto 18px; color: #fff; box-shadow: 0 10px 30px rgba(22,193,114,.4); }
.success-ico svg { width: 40px; height: 40px; }
.success h3 { font-size: 1.5rem; margin-bottom: 8px; }
.success p { color: var(--slate); }

/* ---------- Pricing ---------- */
.pricing { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(34px, 5vw, 52px); background: linear-gradient(140deg, var(--brand-dark), var(--brand-deep)); color: #fff; box-shadow: var(--sh-lg); }
.pricing::before { content: ""; position: absolute; top: -120px; right: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); }
.pricing-grid { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-tag { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; }
.price-tag small { font-size: 1rem; font-weight: 600; opacity: .85; }
.price-setup { color: var(--amber); font-weight: 700; margin-top: 8px; }
.price-setup s { opacity: .6; font-weight: 500; }
.price-desc { margin-top: 14px; color: rgba(255,255,255,.94); }
.price-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 480px) { .price-features { grid-template-columns: 1fr; } }
.price-features li { display: flex; gap: 9px; font-size: .95rem; color: #fff; }
.price-features li::before { content: "✓"; color: var(--amber); font-weight: 800; }

/* ---------- App Badges ---------- */
.app-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 16px; border-radius: 14px;
  background: #0B1F26; color: #fff; border: 1px solid rgba(255,255,255,.16);
  transition: transform .18s var(--ease-out), box-shadow .2s, border-color .2s;
}
.app-badge:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: rgba(255,255,255,.4); }
.app-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.app-badge > span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.app-badge .ab-small { font-size: .64rem; font-weight: 600; letter-spacing: .05em; opacity: .8; text-transform: uppercase; }
.app-badge .ab-big { font-family: var(--f-display); font-size: 1.08rem; font-weight: 700; margin-top: 3px; }

/* Phone mockup */
.phone { width: 290px; max-width: 80%; margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 40px; background: var(--dark); padding: 14px; box-shadow: var(--sh-lg), 0 0 0 2px rgba(255,255,255,.06) inset; position: relative; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: var(--dark); border-radius: 0 0 14px 14px; z-index: 3; }
.phone-screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: var(--grad-mesh), var(--bg); display: flex; flex-direction: column; }

/* ---------- Alli Chat (interaktiv) ---------- */
.chat-tabs { display: flex; gap: 6px; margin: 0 auto 16px; max-width: 460px; background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px; }
.chat-tab { flex: 1; padding: 12px 6px; min-height: 40px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 700; color: var(--slate); transition: background .25s, color .25s; }
.chat-tab.active { background: var(--brand); color: #fff; }
.chat-tab:hover:not(.active) { background: rgba(0,151,178,.12); }
.chat-frame { perspective: 1300px; }
.chat-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); max-width: 470px; margin: 0 auto; overflow: hidden; transform: rotateY(-4deg) rotateX(2deg); transition: transform .5s; }
.chat-card:hover { transform: rotateY(0) rotateX(0); }
.chat-header { background: #075E54; color: #fff; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--brand); font-weight: 800; font-size: .9rem; }
.chat-h-name { font-weight: 700; font-size: .98rem; }
.chat-h-sub { font-size: .76rem; color: #BFE9DF; display: flex; align-items: center; gap: 6px; }
.chat-h-sub::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34E29B; }
.chat-h-right { margin-left: auto; font-size: .72rem; color: #BFE9DF; font-weight: 600; }
.chat-body { background: #E6DED4; min-height: 330px; max-height: 470px; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 3px; }
.msg { max-width: 80%; padding: 8px 11px 6px; border-radius: 12px; font-size: .88rem; line-height: 1.45; color: #1F2C33; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; opacity: 0; transform: translateY(10px); animation: msg-in .35s cubic-bezier(.2,.7,.3,1.2) forwards; }
@keyframes msg-in { to { opacity: 1; transform: translateY(0); } }
.msg-bot { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.msg-user { align-self: flex-end; background: #DCF8C6; border-top-right-radius: 4px; }
.msg .time { display: inline-flex; align-items: center; gap: 4px; float: right; font-size: .68rem; color: #8A949A; margin: 6px 0 -2px 8px; }
.msg-user .ticks { color: #4FC3F7; font-size: .9em; letter-spacing: -2px; }
.msg ol, .msg ul { padding-left: 1.2em; margin: 4px 0; list-style: revert; }
.msg li { margin: 3px 0; }
.msg b { font-weight: 700; }
.msg .warn { color: #c0392b; font-weight: 700; }
.msg .hr { display: block; height: 6px; }
.typing { align-self: flex-start; background: #fff; padding: 12px 14px; border-radius: 12px; border-top-left-radius: 4px; display: inline-flex; gap: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: msg-in .25s forwards; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #b3b8bb; animation: bounce 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-foot { background: #f6f6f6; text-align: center; padding: 8px; font-size: .68rem; color: #97a0a4; }

/* ---------- SearchPlace Demo ---------- */
.sp-demo { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden; }
.sp-bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.sp-bar svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
.sp-input { flex: 1; font-size: 1.05rem; color: var(--ink); min-height: 1.4em; }
.sp-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--brand); margin-left: 2px; vertical-align: middle; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sp-results { padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.sp-result { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); opacity: 0; transform: translateY(10px); }
.sp-result.in { animation: fade-up .4s ease forwards; }
.sp-thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.sp-thumb svg { width: 28px; height: 28px; }
.sp-result h4 { font-size: 1rem; }
.sp-result p { font-size: .86rem; color: var(--slate); margin-top: 3px; }
.sp-match { margin-left: auto; align-self: center; font-weight: 800; color: var(--green); font-family: var(--f-display); }

/* ---------- Logo strip / brand chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; box-shadow: var(--sh-sm); }
.chip .d { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- Testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm); }
.quote .stars { color: var(--amber); font-size: 1.05rem; letter-spacing: 2px; }
.quote p { font-size: 1.05rem; color: var(--ink-soft); margin: 14px 0 18px; line-height: 1.6; }
.quote .who { font-weight: 700; }
.quote .who span { display: block; font-weight: 500; color: var(--slate-lt); font-size: .88rem; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .86rem; color: var(--slate-lt); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand-dark); }
.crumbs .sep { opacity: .5; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-soft); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer .brand-name { color: #fff; }
.footer-about p { margin-top: 16px; max-width: 320px; font-size: .94rem; line-height: 1.6; }
.footer h5 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--f-body); font-weight: 700; }
.footer-col a, .footer-col p { display: block; padding: 5px 0; font-size: .94rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bar { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .85rem; }
.footer-bar a:hover { color: #fff; }

/* ---------- Article / Legal pages ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; line-height: 1.7; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.prose a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }

/* ---------- Page hero (compact, for subpages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.page-hero .hero-bg { z-index: 0; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin: 18px 0 16px; }
.page-hero p { color: var(--on-dark-soft); font-size: 1.12rem; max-width: 640px; }
.page-hero .crumbs { color: var(--on-dark-soft); margin-bottom: 8px; }
.page-hero .crumbs a:hover { color: #fff; }

/* ---------- "Auf einen Blick" (GEO answer box) ---------- */
.tldr { background: var(--brand-light); border: 1px solid rgba(0,151,178,.2); border-left: 5px solid var(--brand); border-radius: var(--r-md); padding: 22px 26px; }
.tldr h2, .tldr h3 { font-size: 1.05rem; color: var(--brand-dark); margin-bottom: 8px; }
.tldr p { color: var(--ink-soft); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Tilt ---------- */
.tilt { transform-style: preserve-3d; transition: transform .2s ease; }

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--slate); }
.nowrap { white-space: nowrap; }
.hide-mobile { } @media (max-width: 720px) { .hide-mobile { display: none !important; } }

/* =====================================================================
   FLAGSHIP MOTION LAYER · "Living Mesh"
   Additiv. Ausschließlich transform/opacity/filter-billige Effekte,
   GPU-freundlich, gegated über prefers-reduced-motion & pointer:coarse.
   ===================================================================== */
:root {
  --aurora-1: radial-gradient(50% 50% at 18% 22%, rgba(0,194,212,.20), transparent 60%);
  --aurora-2: radial-gradient(45% 45% at 82% 18%, rgba(108,92,231,.18), transparent 60%);
  --aurora-3: radial-gradient(55% 55% at 65% 88%, rgba(43,224,200,.14), transparent 60%);
  --glow-teal:   0 0 42px rgba(0,194,212,.38);
  --glow-violet: 0 0 42px rgba(108,92,231,.34);
  --glow-amber:  0 0 30px rgba(255,201,75,.50);
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  --glass-border: rgba(255,255,255,.14);
  --ease-out: cubic-bezier(.2,.7,.3,1);
  --dur-reveal: .66s;
}

/* ---- Mesh-Canvas (geteiltes Datennetz) ---- */
.hero-aurora { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
/* cta-band setzt > * auf z-index:1/position:relative – Canvas davon ausnehmen */
.cta-band > canvas.hero-aurora { position: absolute; z-index: 0; }

/* ---- Richtungs-Reveals (additiv zu .reveal, nur transform/opacity) ---- */
.reveal[data-reveal="left"]  { transform: translateX(-38px); }
.reveal[data-reveal="right"] { transform: translateX(38px); }
.reveal[data-reveal="scale"] { transform: scale(.93); }
.reveal[data-reveal="left"].in,
.reveal[data-reveal="right"].in,
.reveal[data-reveal="scale"].in { transform: none; }

/* ---- Cursor-Spotlight auf Karten ---- */
.tool, .card, .feature { position: relative; }
.tool::before, .card::before, .feature::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx,50%) var(--my,50%), rgba(0,194,212,.16), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.tool:hover::before, .card:hover::before, .feature:hover::before { opacity: 1; }
.tool > *, .card > *, .feature > * { position: relative; z-index: 1; }

/* ---- Magnetische, leuchtende Buttons ---- */
.btn-primary, .btn-light, .btn-lg { position: relative; isolation: isolate; }
.btn-primary::after, .btn-light::after, .btn-lg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(140px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.30), transparent 55%);
  opacity: 0; transition: opacity .3s ease;
}
.btn-primary:hover::after, .btn-light:hover::after, .btn-lg:hover::after { opacity: 1; }

/* ---- Animierter Glow-Border (conic via transform:rotate = compositor) ---- */
.glow-border {
  position: relative; border-radius: var(--r-lg); padding: 1.5px; overflow: hidden;
  isolation: isolate; background: rgba(255,255,255,.08);
}
.glow-border::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; z-index: -1;
  background: conic-gradient(from 0deg, var(--brand-2), var(--violet), var(--brand-3), var(--amber), var(--brand-2));
  transform: translate(-50%,-50%) rotate(0deg); animation: gb-spin 9s linear infinite;
}
@keyframes gb-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.glow-border-inner { position: relative; border-radius: calc(var(--r-lg) - 1.5px); background: var(--dark-2); height: 100%; }
.bento-promo { display: block; margin-bottom: 26px; }
.bento-promo .glow-border-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 30px 34px; }
.bento-promo .bento-cta { white-space: nowrap; }
@media (max-width: 720px) { .bento-promo .glow-border-inner { grid-template-columns: 1fr; } }

/* ---- Glas-Flächen ---- */
.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) { .glass { background: rgba(10,42,51,.92); } }

/* ---- Schwebendes Mockup ---- */
.float-mockup { animation: floaty 6.5s ease-in-out infinite; will-change: transform; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- Kinetik-Typografie (Wort-Reveal) ---- */
.kw {
  display: inline-block; opacity: 0; transform: translateY(.5em);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.kw--grad { display: inline; transform: none; }   /* Gradient-Phrase: normal umbrechen, nur faden (clip-safe) */
.kinetic-in .kw { opacity: 1; transform: none; }

/* ---- Kräftige Fokus-Sichtbarkeit (animationsunabhängig) ---- */
.hero--dark a:focus-visible, .section--dark a:focus-visible, .page-hero a:focus-visible,
.btn-primary:focus-visible, .btn-light:focus-visible, .btn-outline-light:focus-visible,
.tool:focus-visible, .tool a:focus-visible {
  outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(0,0,0,.55);
}

/* ---- Sicherheitsnetz ohne JavaScript: Inhalte sichtbar ---- */
@media (scripting: none) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .kw { opacity: 1 !important; transform: none !important; }
}

/* ---- prefers-reduced-motion: harte Stopps für alle Loops + Endzustand ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora { display: none; }
  .aurora-css, .glow-border::before, .float-mockup, .marquee-track, .eyebrow .dot { animation: none !important; }
  .kw { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---- Hero-Tiles (Tool-Vorschau auf der dunklen Bühne, lesbar) ---- */
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 420px) { .hero-tiles { grid-template-columns: 1fr; } }
.hero-tile {
  position: relative; display: block; padding: 22px; border-radius: var(--r-md);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.hero-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent, var(--grad-brand)); opacity: .12; transition: opacity .25s; }
.hero-tile:hover { transform: translateY(-5px); border-color: rgba(0,194,212,.5); box-shadow: 0 18px 40px rgba(0,0,0,.38); }
.hero-tile:hover::before { opacity: .20; }
.hero-tile-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--accent, var(--grad-brand)); box-shadow: var(--sh-sm); margin-bottom: 14px; }
.hero-tile-ico svg { width: 24px; height: 24px; }
.hero-tile h3 { font-size: 1.12rem; color: #fff; margin: 0; }
.hero-tile p { margin: 4px 0 0; color: var(--on-dark-soft); font-size: .88rem; }

/* ---- Presse: bewegtes Logo-Band + gegenläufige Zitat-Marquees ---- */
.logo-bar { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 20px 0; margin-bottom: 40px; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; align-items: center; gap: 64px; width: max-content; padding-left: 64px; animation: lm-scroll 60s linear infinite; }
.logo-bar:hover .logo-track { animation-play-state: paused; }
.logo-track a { display: inline-flex; align-items: center; }
.logo-track img { height: 30px; width: auto; max-width: 165px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; }
.logo-track a:hover img { filter: none; opacity: 1; }
@keyframes lm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.qm-rows { display: flex; flex-direction: column; gap: 16px; }
.qm-row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.qm-track { display: flex; gap: 16px; width: max-content; }
.qm-left  { animation: qm-l 120s linear infinite; }
.qm-right { animation: qm-r 120s linear infinite; }
.qm-row:hover .qm-track, .qm-row:focus-within .qm-track { animation-play-state: paused; }
@keyframes qm-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes qm-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.q-card { flex: 0 0 auto; width: 342px; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; gap: 10px; transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s; }
.q-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(0,151,178,.35); }
.q-mark { font-family: var(--f-display); font-size: 2.4rem; line-height: .1; height: .55em; color: var(--brand-2); }
.q-text { font-size: 1.04rem; line-height: 1.45; color: var(--ink); font-weight: 600; flex: 1; }
.q-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.q-src { font-family: var(--f-display); font-weight: 700; color: var(--brand-dark); font-size: .9rem; }
.q-go { font-size: .8rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
@media (max-width: 560px) { .q-card { width: 276px; } }

@media (prefers-reduced-motion: reduce) {
  .logo-track, .qm-track { animation: none !important; transform: none !important; flex-wrap: wrap; width: auto; justify-content: center; padding-left: 0; }
  .logo-bar, .qm-row { -webkit-mask: none; mask: none; }
  .qm-row { overflow: visible; }
}

/* ---- Mobile-Überlaufschutz (verhindert horizontales Scrollen/Abschneiden) ---- */
html { overflow-x: hidden; }
.section, .page-hero, .footer, .hero { overflow-x: clip; }
.hero-grid > *, .split > *, .footer-top > *, .tools > *, .features > *, .steps > *, .hero-tile, .tool, .feature { min-width: 0; }
.hero-tile h3, .hero-tile p { overflow-wrap: break-word; }

/* ---- Mobil: Marquees langsamer (schmaler Screen wirkt sonst zu schnell) + Buttons sauber ---- */
@media (max-width: 700px) {
  .logo-track { animation-duration: 85s; }
  .qm-left, .qm-right { animation-duration: 175s; }
  .bento-promo .bento-cta { justify-self: start; }
}
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta > .btn { width: 100%; }
}

/* ---- Statisches Logo-Raster „Bekannt aus" (Presse + Events) ---- */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-cell { display: flex; align-items: center; justify-content: center; min-height: 94px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-sm); transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s; }
a.logo-cell:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(0,151,178,.3); }
.logo-cell img { max-height: 38px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .66; transition: filter .25s, opacity .25s; }
a.logo-cell:hover img { filter: none; opacity: 1; }
.press-more { text-align: center; margin-top: 26px; color: var(--slate); font-size: .96rem; line-height: 1.9; }
.press-more a { color: var(--brand-dark); font-weight: 600; }
.press-more a:hover { text-decoration: underline; }

/* ---- Echtes Marken-Logo (Header hell, Footer dunkel) ---- */
.brand { gap: 0; }
.brand-logo-img { height: 52px; width: auto; display: block; transition: transform .2s var(--ease-out); }
.brand:hover .brand-logo-img { transform: scale(1.04); }
@media (max-width: 560px) { .brand-logo-img { height: 44px; } }
/* Footer ist dunkel -> Logo weiß invertieren */
.footer .brand-logo-img { height: 62px; filter: brightness(0) invert(1); opacity: .92; }

/* =====================================================================
   PROBLEME, DIE WIR LÖSEN  ·  Problem→Lösung-Karten (namespaced: .prob)
   Drop-in-Ersatz für das alte Stats-Band. Tokens-basiert, CSS-only,
   touch- & reduced-motion-sicher: der 3D-Flip ist reine Progressive
   Enhancement. Standard ist eine statische, voll lesbare Stapelung
   (Problem oben, Lösung darunter) – die Höhe ergibt sich aus dem Inhalt
   (CSS-Grid-Stacking), nie aus einer festen Pixelhöhe -> kein Clipping.
   overflow-x:clip kommt bereits von .section (siehe oben) – nicht doppeln.
   ===================================================================== */

/* Dezenter Mesh-/Aurora-Backdrop – nur Deko, motion-gegated */
.prob-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grad-mesh); opacity: .55; }
.prob > .container { position: relative; z-index: 1; }
.prob .sec-head p strong { color: var(--brand-dark); font-weight: 700; }

/* Gradient-Unterstrich auf der Highlight-Phrase (CSS-billig, on-brand) */
.prob-hl { position: relative; background: var(--grad-ai);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap; }
.prob-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: 3px;
  border-radius: var(--r-pill); background: var(--grad-ai);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out) .25s; }
.reveal.in .prob-hl::after { transform: scaleX(1); }

.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
@media (max-width: 900px) { .prob-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.prob-grid > * { min-width: 0; }

/* Karte = Bühne; .prob-flip ist die drehbare Ebene (stretcht voll) */
.prob-card { position: relative; border-radius: var(--r-lg); list-style: none;
  transition: transform .25s var(--ease-out); }
.prob-flip { position: relative; border-radius: inherit; }

/* Karten-Flächen: Glas-/Surface-Optik, je Karte eigener --accent */
.prob-face { border-radius: inherit; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--sh-sm); padding: 30px;
  display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate; }
/* Akzent-Schimmer am oberen Rand jeder Fläche */
.prob-face::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; z-index: 0;
  background: var(--accent, var(--grad-brand)); opacity: .9; }
.prob-face > * { position: relative; z-index: 1; }

.prob-tag { align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-dark); background: rgba(0,151,178,.10); border: 1px solid rgba(0,151,178,.22);
  border-radius: var(--r-pill); padding: 5px 13px; margin-bottom: 18px; }
.prob-ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  color: #fff; background: var(--accent, var(--grad-brand)); box-shadow: var(--sh-sm); margin-bottom: 16px; }
.prob-ico svg { width: 26px; height: 26px; }
.prob-front h3 { font-size: 1.28rem; }
.prob-front p { color: var(--slate); font-size: .98rem; margin-top: 10px; }
.prob-hint { margin-top: auto; padding-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: .92rem; color: var(--brand-dark);
  transition: gap .2s ease; }
.prob-hint svg { width: 17px; height: 17px; }

/* Rückseite: dunkle Bühne mit Akzent-Wash – die LÖSUNG */
.prob-back { background: var(--dark-2); border-color: rgba(255,255,255,.10); justify-content: center; }
.prob-back::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--accent, var(--grad-brand)); opacity: .14; mix-blend-mode: screen; }
.prob-sol-kicker { font-family: var(--f-body); font-size: .72rem; font-weight: 700; line-height: 1.3;
  letter-spacing: .09em; text-transform: uppercase; color: var(--brand-3); margin: 0 0 12px; }
.prob-back p { color: var(--on-dark); font-size: 1.02rem; line-height: 1.55; }
.prob-back strong { color: #fff; }

/* Ehrliche Kennziffern (kein Counter, keine erfundene Metrik) */
.prob-figs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.prob-fig { display: flex; flex-direction: column; gap: 2px;
  padding: 9px 13px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.prob-fig b { font-family: var(--f-display); font-weight: 800; font-size: 1.18rem;
  color: #fff; letter-spacing: -.01em; line-height: 1; }
.prob-fig small { font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--on-dark-soft); }
.prob-fig--wide { flex: 1 1 100%; }

.prob-cta { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: .96rem; color: var(--brand-3);
  transition: gap .2s ease; }
.prob-cta svg { width: 18px; height: 18px; }
.prob-cta:hover { gap: 13px; }
.prob-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* Dezenter Lift – funktioniert auch ganz ohne Flip/Hover-Fähigkeit */
.prob-card:hover { transform: translateY(-4px); }

/* -------------------------------------------------------------------
   STATISCHER STANDARD: Vorderseite + Lösung untereinander, beide
   jederzeit lesbar. Kein Flip, keine 3D-Abhängigkeit, Höhe = Inhalt.
   ------------------------------------------------------------------- */
.prob-back { margin-top: 14px; border-radius: var(--r-lg); }
.prob-hint { display: none; } /* nur im Flip-Modus relevant */

/* -------------------------------------------------------------------
   PROGRESSIVE ENHANCEMENT: 3D-Flip nur bei echtem Hover + Zeiger.
   Beide Flächen teilen sich EINE Grid-Zelle -> die Karte ist so hoch
   wie die höhere Fläche, ohne feste Pixelhöhe (200%-Zoom-sicher).
   Lösung + CTA bleiben per Tastatur erreichbar (focus-within klappt um).
   ------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .prob-card { perspective: 1500px; }
  .prob-flip { display: grid; height: 100%; transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
  .prob-face { grid-area: 1 / 1; height: 100%; margin-top: 0;
    -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .prob-back { transform: rotateY(180deg); }
  .prob-hint { display: inline-flex; }

  /* Umklappen bei Hover ODER Tastatur-Fokus auf dem Lösungs-Link */
  .prob-card:hover .prob-flip,
  .prob-card:focus-within .prob-flip { transform: rotateY(180deg); box-shadow: var(--sh-lg); border-radius: var(--r-lg); }
  .prob-card:hover { transform: none; } /* Lift im Flip-Modus aus, sonst doppelte Bewegung */

  /* Akzent-getönter Rand beim Aktivieren (mit Fallback) */
  @supports (border-color: color-mix(in srgb, red, blue)) {
    .prob-card:hover .prob-front, .prob-card:focus-within .prob-front {
      border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
  }
}

/* -------------------------------------------------------------------
   REDUCED MOTION: garantiert statische, voll lesbare Stapelung.
   ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .prob-bg { display: none; }
  .prob-flip { display: block; transform: none !important; transition: none !important; }
  .prob-face { -webkit-backface-visibility: visible; backface-visibility: visible; }
  .prob-back { transform: none !important; margin-top: 14px; }
  .prob-hint { display: none; }
  .prob-hl::after { transform: scaleX(1); transition: none; }
  .prob-card:hover { transform: none; }
}

/* Sicherheitsnetz ohne JS: Reveal-Karten sichtbar + Unterstrich gesetzt
   (.reveal.in wird sonst nie vergeben, da das von JS kommt) */
@media (scripting: none) {
  .prob-card.reveal { opacity: 1 !important; transform: none !important; }
  .prob-hl::after { transform: scaleX(1); }
}

/* ===== Mobil-Fix: Inline grid-template-columns kollabieren (sonst kein Umbruch, da Inline-Style Media-Queries schlägt) ===== */
@media (max-width: 860px) {
  .grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .steps[style*="grid-template-columns"],
  .features[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* Skip-Link (A11y): nur bei Tastatur-Fokus sichtbar */
.skip-link { position: fixed; left: 14px; top: -56px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: var(--r-sm); font-family: var(--f-display); font-weight: 700; box-shadow: var(--sh-md); transition: top .2s var(--ease-out); }
.skip-link:focus { top: 14px; outline: 3px solid #fff; outline-offset: 2px; }

/* 4-spaltige Feature-Reihe (z. B. Kanäle auf der Alli-Seite) */
.features--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .features--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features--4 { grid-template-columns: 1fr; } }
