/* ═══════════════════════════════════════════════
   Qualeady – style.css
   Light, minimal B2B SaaS design (glu.io-inspired)
═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:       #2f92fb;
  --accent-dark:  #1e63d6;
  --accent-tint:  rgba(47,146,251,.08);
  --accent-tint-2:rgba(47,146,251,.16);

  --ink:      #0f172a;
  --ink-soft: #334155;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #eef3f8;
  --gray-50:  #f8fafc;
  --white:    #ffffff;

  --red: #dc2626;
  --green-bg: #eafaf0;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 20px 40px -24px rgba(15,23,42,.18);
  --shadow-lg: 0 30px 70px -40px rgba(15,23,42,.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hanken Grotesk', -apple-system, sans-serif;
  background: var(--white);
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Schibsted Grotesk', sans-serif; color: var(--ink); }

a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent) !important; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.mono-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .05s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .35s; }
.reveal.delay-4 { transition-delay: .5s; }
.reveal.delay-5 { transition-delay: .65s; }
@keyframes qRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ─── LIQUID ACCENT (Apple-inspired gradient border) ─── */
@keyframes liquidBorderShift {
  0% { background-position: 0 0, 0% 50%; }
  100% { background-position: 0 0, 300% 50%; }
}

/* ═══ NAV ═══ */
nav {
  position: sticky; top: 14px; z-index: 90;
  width: min(1120px, calc(100% - 32px));
  margin: 14px auto 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  transition: box-shadow .25s ease, border-color .25s ease;
}
nav.scrolled { box-shadow: 0 14px 34px -18px rgba(15,23,42,.28); border-color: var(--gray-200); }
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-link img { height: 46px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 30px; margin-right: auto; margin-left: 44px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--gray-500); text-decoration: none; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-link-ghost { font-size: 14.5px; font-weight: 500; color: var(--gray-500); text-decoration: none; transition: color .15s; white-space: nowrap; }
.nav-link-ghost:hover { color: var(--ink); }

.nav-book {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 19px; border-radius: 10px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 22px -10px rgba(47,146,251,.55);
  transition: transform .15s, box-shadow .15s;
}
.nav-book:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 14px 26px -10px rgba(47,146,251,.65); }

/* ─── NAV DROPDOWN ─── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; padding: 0;
  font-size: 14.5px; font-weight: 500; color: var(--gray-500); font-family: inherit; cursor: pointer;
  transition: color .15s;
}
.nav-dropdown-trigger:hover { color: var(--ink); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 18px); left: -16px;
  width: 300px; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: none;
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; transition: background .15s;
}
.nav-dropdown-menu a:hover { background: var(--gray-50); }
.nav-dd-ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-tint);
  display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--accent);
}
.nav-dd-text { display: flex; flex-direction: column; gap: 1px; }
.nav-dd-title { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.nav-dd-sub { font-size: 11.5px; color: var(--gray-400); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--ink); transition: all .25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  border-top: 1px solid var(--gray-100); background: #fff;
  border-radius: 0 0 19px 19px;
}
.nav-mobile-menu.open { max-height: 400px; }
.nav-mobile-menu a {
  padding: 14px 28px; font-size: 15px; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile-menu .mobile-cta { color: var(--accent); font-weight: 700; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 12px; text-decoration: none; border: none;
  box-shadow: 0 14px 28px -12px rgba(47,146,251,.5);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -12px rgba(47,146,251,.6); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 12px; border: 1.5px solid var(--gray-200); text-decoration: none;
  transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--gray-300); background: var(--gray-50); }

/* ═══ HERO ═══ */
.hero { background: #fff; position: relative; overflow: hidden; }

/* ─── Liquid glow (interactive) ─── */
.liquid-glow {
  position: absolute; inset: -10% -10% auto -10%; height: 130%;
  z-index: 0; pointer-events: none; overflow: hidden;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.liquid-glow .blob {
  position: absolute; border-radius: 50%; filter: blur(70px) saturate(1.4); opacity: .6;
  animation: liquidDrift 16s ease-in-out infinite;
}
.liquid-glow .b1 {
  width: 420px; height: 420px; top: -8%; right: 6%;
  background: radial-gradient(circle at 35% 35%, #7fb6ff, #2f92fb 55%, transparent 78%);
  animation-delay: 0s;
}
.liquid-glow .b2 {
  width: 320px; height: 320px; top: 30%; right: 26%;
  background: radial-gradient(circle at 40% 40%, #c084fc, #8b5cf6 55%, transparent 78%);
  animation-delay: -4s;
}
.liquid-glow .b3 {
  width: 300px; height: 300px; top: 4%; right: -6%;
  background: radial-gradient(circle at 45% 45%, #67e8f9, #22d3ee 55%, transparent 78%);
  animation-delay: -9s;
}
.liquid-glow .b4 {
  width: 260px; height: 260px; top: 44%; right: 4%;
  background: radial-gradient(circle at 40% 40%, #fdba74, #fb923c 55%, transparent 78%);
  animation-delay: -12s;
}
@keyframes liquidDrift {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); filter: blur(70px) saturate(1.4) hue-rotate(0deg); }
  25% { transform: translate(-16px, 14px) scale(1.06) rotate(8deg); filter: blur(64px) saturate(1.55) hue-rotate(18deg); }
  50% { transform: translate(10px, -18px) scale(0.96) rotate(-6deg); filter: blur(74px) saturate(1.3) hue-rotate(-12deg); }
  75% { transform: translate(-8px, -8px) scale(1.03) rotate(4deg); filter: blur(68px) saturate(1.5) hue-rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) {
  .liquid-glow .blob { animation: none; }
}
@media (max-width: 960px) {
  .liquid-glow .b1 { width: 260px; height: 260px; }
  .liquid-glow .b2 { width: 200px; height: 200px; }
  .liquid-glow .b3 { width: 190px; height: 190px; }
  .liquid-glow .b4 { width: 160px; height: 160px; }
  .liquid-glow .blob { filter: blur(46px) saturate(1.3); opacity: .5; }
}
@media (max-width: 560px) {
  .liquid-glow { inset: 0 -10% auto -10%; height: 70%; }
  .liquid-glow .b1 { width: 190px; height: 190px; top: -4%; right: 0; }
  .liquid-glow .b2 { width: 150px; height: 150px; top: 26%; right: 30%; }
  .liquid-glow .b3 { width: 140px; height: 140px; top: 2%; right: -8%; }
  .liquid-glow .b4 { width: 120px; height: 120px; top: 40%; right: 8%; }
  .liquid-glow .blob { filter: blur(34px) saturate(1.25); opacity: .45; }
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto; padding: 76px 28px 60px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.hero-content h1 {
  font-weight: 800; font-size: 52px; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 22px;
}
.hero-content h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--gray-500); margin-bottom: 34px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 36px; }
.hero-bullets { list-style: none; display: flex; flex-wrap: wrap; gap: 24px; }
.hero-bullets li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-soft); font-weight: 500; }
.check-icon { color: var(--accent); font-weight: 700; }

.hero-strap {
  position: relative; z-index: 1; background: #fff;
  max-width: 1180px; margin: 0 auto; padding: 0 28px 44px;
  display: flex; justify-content: center; text-align: center;
}
.hero-strap span {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gray-500); padding-bottom: 44px;
}

/* hero mockup card */
.hero-mockup { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; max-width: 100%; }
.hero-mockup-bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--gray-100); background: var(--gray-50); }
.hero-mockup-bar span.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-200); }
.hero-mockup-bar .url { margin-left: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--gray-400); }
.hero-mockup-body { padding: 32px; }
.hero-mockup-big { font-weight: 800; font-size: 64px; line-height: .9; letter-spacing: -.03em; color: var(--accent); font-family: 'Schibsted Grotesk', sans-serif; }
.hero-mockup-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.hero-mockup-list .row { display: flex; gap: 13px; align-items: center; }
.hero-mockup-list .ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 700; font-size: 13px; }
.hero-mockup-list .row span:last-child { font-size: 14.5px; color: var(--ink-soft); }
.hero-mockup-divider { height: 1px; background: var(--gray-100); margin: 22px 0; }

.hero-mockup-video { line-height: 0; }
.hero-video { display: block; width: 100%; max-width: 100%; min-width: 0; height: auto; aspect-ratio: 16 / 9; background: #f5f6fa; object-fit: contain; }

/* ═══ SECTIONS ═══ */
section.block { border-bottom: none; }
.block-inner { max-width: 1180px; margin: 0 auto; padding: 84px 28px; }
.block-alt { background: #fff; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.wide { max-width: 720px; }
.section-head h2 { font-weight: 700; font-size: 38px; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.section-head p { font-size: 17px; line-height: 1.6; color: var(--gray-500); }

/* ═══ BRANCHEN – BILDKARTEN ═══ */
.industry-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.industry-card {
  position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  border: 2px solid transparent; padding: 0; background: var(--gray-100); cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry-card.active { border-color: var(--accent); box-shadow: 0 20px 40px -20px rgba(47,146,251,.55); }
.industry-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.industry-card:hover .industry-card-img { transform: scale(1.07); }
.industry-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.92) 0%, rgba(15,23,42,.5) 38%, rgba(15,23,42,0) 68%);
}
.industry-card-content {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 18px;
  display: flex; flex-direction: column; gap: 4px; text-align: left;
}
.industry-card-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: #9cc4ff;
}
.industry-card-title {
  font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 17px; color: #fff; line-height: 1.2;
}
.industry-card-arrow {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px;
  transition: background .25s, transform .25s;
}
.industry-card.active .industry-card-arrow, .industry-card:hover .industry-card-arrow {
  background: var(--accent); transform: scale(1.08);
}
@media (max-width: 900px) {
  .industry-cards { grid-template-columns: repeat(2, 1fr); }
}

.branch-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); overflow: hidden; }
.branch-left { padding: 40px; background: var(--gray-50); border-right: 1px solid var(--gray-100); }
.branch-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.branch-icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--accent); }
.branch-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.branch-name { font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.field-label { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 8px; display: block; }
.branch-audience { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.branch-right { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.branch-example { font-size: 16px; line-height: 1.55; color: var(--ink); font-style: italic; }
.branch-result {
  position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px;
  border-radius: 10px; border: 1.5px solid transparent;
  background: linear-gradient(#f6faff, #f6faff) padding-box, linear-gradient(90deg, #2f92fb, #8b5cf6, #22d3ee, #7fb6ff, #2f92fb) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: liquidBorderShift 8s linear infinite;
  box-shadow: 0 10px 20px -14px rgba(139,92,246,.3);
}
.branch-result .arrow { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.branch-result-label { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.branch-result-text { font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.4; }

/* ═══ PROBLEM ═══ */
.problem-section { position: relative; overflow: hidden; }
.problem-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(47,146,251,.22) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 90%);
}
.fig-tag {
  position: absolute; top: 28px; right: 28px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em;
  color: var(--gray-300); text-transform: uppercase;
}
.problem-grid { position: relative; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr; gap: 14px; align-items: stretch; }
.problem-card { background: #fff; border: 1px solid var(--gray-100); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 9px; transition: transform .25s, box-shadow .25s; }
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.problem-card .k { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .08em; color: var(--gray-400); }
.problem-card .t { font-weight: 700; font-size: 18px; }
.problem-card .d { font-size: 13.5px; line-height: 1.5; color: var(--gray-500); }
.problem-op { display: flex; align-items: center; font-family: 'Schibsted Grotesk', sans-serif; color: var(--gray-300); font-size: 26px; font-weight: 600; }
.problem-eq { display: flex; align-items: center; font-family: 'Schibsted Grotesk', sans-serif; color: var(--accent); font-size: 30px; font-weight: 700; }
.problem-result {
  position: relative; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 9px; justify-content: center;
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #2f92fb, #8b5cf6, #22d3ee, #7fb6ff, #2f92fb) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: liquidBorderShift 6s linear infinite;
  box-shadow: 0 20px 40px -22px rgba(139,92,246,.4);
}
.problem-result .t { font-weight: 700; font-size: 20px; margin-bottom: 5px; }
.problem-result .d { font-size: 13.5px; line-height: 1.5; color: var(--gray-500); }

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-op, .problem-eq { justify-content: center; padding: 4px 0; }
}

/* ═══ ABLAUF STEPS ═══ */
.step-rail { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin: 32px 0 26px; }
.step-card {
  text-align: left; border-radius: 16px; padding: 18px 16px; border: 1.5px solid var(--gray-100);
  background: #fff; transition: all .15s; display: flex; flex-direction: column; gap: 10px;
}
.step-card.active { border-color: var(--accent); background: var(--accent); }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 15px;
  background: var(--gray-50); color: var(--accent); border: 1.5px solid var(--accent);
}
.step-card.active .step-num { background: #fff; border-color: #fff; }
.step-title { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.2; }
.step-card.active .step-title { color: #fff; }

.step-detail { display: flex; align-items: center; gap: 22px; background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 30px 34px; transition: background .25s, border-color .25s, box-shadow .25s; }
.step-detail.highlight {
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, #f6faff, #fbfdff) padding-box, linear-gradient(90deg, #2f92fb, #8b5cf6, #22d3ee, #7fb6ff, #2f92fb) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: liquidBorderShift 10s linear infinite;
  box-shadow: 0 12px 24px -18px rgba(139,92,246,.25);
}
.step-detail.highlight .step-detail-icon { box-shadow: 0 8px 16px -8px rgba(47,146,251,.45); }
.step-detail-icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; }
.step-detail-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.step-detail-title { font-weight: 700; font-size: 23px; color: var(--ink); letter-spacing: -.01em; margin-bottom: 6px; }
.step-detail-desc { font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 760px; }

@media (max-width: 900px) {
  .step-rail { grid-template-columns: repeat(2,1fr); }
  .step-detail { flex-direction: column; align-items: flex-start; }
}

/* ═══ LIVE SCORING ═══ */
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,163,74,.08); color: #16a34a; border: 1px solid rgba(22,163,74,.25);
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em; padding: 7px 14px; border-radius: 100px;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex-shrink: 0; animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  60% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.score-card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.score-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.score-row { display: flex; align-items: center; gap: 14px; }
.score-avatar { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.score-info { width: 190px; flex-shrink: 0; overflow: hidden; }
.score-name { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-tag { font-size: 12px; color: var(--gray-400); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-bar-wrap { flex: 1; height: 7px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.score-bar { height: 100%; width: 0; border-radius: 4px; background: var(--c, var(--accent)); transition: width 1.1s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
.score-bar.liquid {
  background: linear-gradient(90deg, #2f92fb, #8b5cf6, #22d3ee, #7fb6ff, #2f92fb);
  background-size: 300% 100%;
  animation: liquidBarShift 5s linear infinite;
  box-shadow: 0 0 14px -2px rgba(139,92,246,.55);
}
@keyframes liquidBarShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .score-bar.liquid { animation: none; }
}
.score-num { font-weight: 800; font-size: 15px; min-width: 34px; text-align: right; }
.score-num.high { color: #16a34a; }
.score-num.mid { color: #d97706; }
.score-num.low { color: #dc2626; }
.score-num.liquid {
  background: linear-gradient(90deg, #2f92fb, #8b5cf6, #22d3ee);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.score-footer { display: flex; border-top: 1px solid var(--gray-100); }
.score-stat { flex: 1; text-align: center; padding: 16px; border-right: 1px solid var(--gray-100); }
.score-stat:last-child { border-right: none; }
.score-stat-num { display: block; font-weight: 800; font-size: 17px; color: var(--ink); }
.score-stat-lbl { display: block; font-size: 11.5px; color: var(--gray-400); margin-top: 2px; }

@media (max-width: 560px) {
  .score-row { flex-wrap: wrap; }
  .score-info { width: 100%; order: -1; }
}

/* ═══ LIQUID ZONE (Scoring → FAQ → Kontakt → Footer, EIN durchgehender Verlauf) ═══ */
/* Ein einziger Hintergrund über alle vier Sektionen hinweg – dadurch keine Nahtstellen an den Sektionsgrenzen. */
.liquid-zone { position: relative; background: #fff; overflow: hidden; }
.liquid-zone::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 12% at 15% 6%,   rgba(47,146,251,.10), transparent 70%),
    radial-gradient(ellipse 45% 12% at 85% 16%,  rgba(139,92,246,.11), transparent 70%),
    radial-gradient(ellipse 50% 14% at 20% 30%,  rgba(34,211,238,.13), transparent 70%),
    radial-gradient(ellipse 50% 14% at 80% 42%,  rgba(47,146,251,.16), transparent 70%),
    radial-gradient(ellipse 55% 16% at 15% 55%,  rgba(139,92,246,.19), transparent 70%),
    radial-gradient(ellipse 50% 16% at 85% 66%,  rgba(251,146,60,.18), transparent 70%),
    radial-gradient(ellipse 60% 18% at 25% 79%,  rgba(34,211,238,.26), transparent 70%),
    radial-gradient(ellipse 55% 18% at 75% 88%,  rgba(47,146,251,.28), transparent 72%),
    radial-gradient(ellipse 70% 20% at 50% 98%,  rgba(139,92,246,.32), transparent 72%),
    radial-gradient(ellipse 65% 16% at 50% 108%, rgba(251,146,60,.28), transparent 72%);
}
.liquid-zone > section, .liquid-zone > footer { position: relative; z-index: 1; background: transparent; }

/* ═══ FAQ ═══ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--gray-100); border-radius: 14px; overflow: hidden; background: #fff; transition: background .15s; }
.faq-item.open { background: var(--gray-50); }
.faq-question {
  width: 100%; text-align: left; background: transparent; border: none; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-question .q { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 17px; color: var(--ink); }
.faq-sign {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--gray-100); color: var(--gray-500);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600;
  transition: transform .2s, background .2s, color .2s;
}
.faq-item.open .faq-sign { background: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer-inner { padding: 0 22px 22px; font-size: 15.5px; line-height: 1.6; color: var(--gray-500); }

/* ═══ KONTAKT ═══ */
.kontakt-inner { max-width: 1180px; margin: 0 auto; padding: 84px 28px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 54px; align-items: center; }
.kontakt-copy h2 { font-weight: 700; font-size: 36px; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 18px; }
.kontakt-copy p { font-size: 17px; line-height: 1.6; color: var(--gray-500); margin-bottom: 30px; max-width: 440px; }
.kontakt-points { display: flex; flex-direction: column; gap: 16px; }
.kontakt-points .row { display: flex; align-items: center; gap: 13px; }
.kontakt-points .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 16px; }
.kontakt-points .row span:last-child { font-size: 15.5px; color: var(--ink-soft); }

.form-card {
  position: relative; border-radius: var(--radius-xl); padding: 38px; box-shadow: var(--shadow-md);
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #2f92fb, #8b5cf6, #22d3ee, #7fb6ff, #2f92fb) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: liquidBorderShift 8s linear infinite;
}
.form-card h3 { font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin-bottom: 6px; }
.form-card .lead { font-size: 14.5px; color: var(--gray-500); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--gray-200);
  background: var(--gray-50); font-size: 15px; color: var(--ink);
}
.form-group textarea { resize: vertical; line-height: 1.5; }
.form-error { font-size: 12.5px; color: var(--red); margin-top: 5px; }
.form-group input.err, .form-group select.err { border-color: var(--red); }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; cursor: pointer; }
.form-consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.form-consent span { font-size: 12.5px; line-height: 1.5; color: var(--gray-500); }
.form-submit {
  width: 100%; color: #fff; font-weight: 700; font-size: 16px;
  padding: 15px; border-radius: 12px; border: none; box-shadow: 0 16px 30px -14px rgba(139,92,246,.5);
  background: linear-gradient(90deg, #2f92fb, #8b5cf6, #22d3ee, #7fb6ff, #2f92fb);
  background-size: 300% 100%;
  animation: liquidBorderShift 6s linear infinite;
  transition: transform .15s, box-shadow .15s;
}
.form-submit:hover { transform: translateY(-1px) scale(1.01); box-shadow: 0 20px 36px -14px rgba(139,92,246,.6); }
.form-success { text-align: center; padding: 30px 10px; animation: qRise .4s ease both; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px; }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { font-size: 16px; line-height: 1.6; color: var(--gray-500); max-width: 340px; margin: 0 auto 24px; }
.form-success button { background: var(--gray-100); color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 11px 22px; border-radius: 10px; border: none; }

@media (max-width: 900px) {
  .kontakt-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══ FOOTER ═══ */
footer { background: transparent; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--gray-100); }
.footer-brand { max-width: 320px; }
.footer-brand img { height: 38px; width: auto; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--gray-500); }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col-title { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--gray-500); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom .copy { font-size: 12.5px; color: var(--gray-400); }
.footer-bottom .made { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; color: var(--gray-300); }

/* ═══ STICKY CTA ═══ */
.sticky-cta {
  position: fixed; bottom: 22px; right: 22px; z-index: 100;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 16px 34px -12px rgba(47,146,251,.55);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.sticky-cta.visible { opacity: 1; transform: none; pointer-events: auto; }

/* ═══ COOKIE BANNER ═══ */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 110;
  max-width: 620px; margin: 0 auto;
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: opacity .3s, transform .3s;
}
.cookie-banner.hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.cookie-banner p { font-size: 13.5px; line-height: 1.55; color: var(--gray-500); }
.cookie-banner p a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button { font-size: 13.5px; font-weight: 600; padding: 9px 18px; border-radius: 9px; border: 1.5px solid var(--gray-200); background: #fff; color: var(--ink); }
.cookie-actions button.accept { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ═══ LEGAL PAGES ═══ */
.legal-page { max-width: 760px; margin: 0 auto; padding: 64px 28px 100px; }
.back-link { display: inline-block; margin-bottom: 28px; font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 600; }
.legal-page h1 { font-weight: 800; font-size: 34px; letter-spacing: -.02em; margin-bottom: 8px; }
.legal-meta { font-size: 13.5px; color: var(--gray-400); margin-bottom: 36px; }
.legal-page h2 { font-size: 20px; font-weight: 700; margin: 30px 0 12px; }
.legal-page h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; color: var(--ink); }
.legal-page p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 12px; }
.legal-page ul { margin: 0 0 12px 20px; }
.legal-page li { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.legal-page a { color: var(--accent); }
.legal-divider { border: none; border-top: 1px solid var(--gray-100); margin: 26px 0; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-content h1 { font-size: 38px; }
  .branch-panel { grid-template-columns: 1fr; }
  .branch-left { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .footer-top { flex-direction: column; }
}
@media (max-width: 560px) {
  .hero-content h1 { font-size: 32px; }
  .section-head h2 { font-size: 28px; }
  .block-inner, .kontakt-inner { padding: 56px 20px; }
  .form-card { padding: 26px; }
}
