/* ================================================================
   wowobot Vertrieb – Design System
   Exakt abgestimmt auf wowobot.de Tokens & Patterns
   ================================================================ */

/* ── 1. TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Brand — gleiche Palette wie wowobot.de */
  --brand:        #2596be;
  --brand-l:      #3ab0d8;
  --brand-dim:    rgba(37,150,190,0.15);
  --brand-glow:   rgba(37,150,190,0.35);
  --brand-line:   rgba(37,150,190,0.13);
  --brand-08:     rgba(37,150,190,0.08);

  /* Backgrounds — identisch wowobot.de */
  --bg:           #07080f;
  --surface:      #0c1018;
  --card:         #111827;

  /* Text — identisch wowobot.de */
  --text:         #e8ecf4;
  --muted:        #8897bb;
  --dim:          #4a5c7a;

  /* Geometry */
  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  999px;

  /* Transitions */
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --tr:           0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --nav-h:        76px;
  --max-w:        1180px;
}

/* ── 2. RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}
[id] { scroll-margin-top: var(--nav-h); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-l); text-decoration: none; transition: color .25s; }
a:hover { color: var(--brand); }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── 3. LAYOUT ──────────────────────────────────────────────────── */
.main { position: relative; z-index: 2; }

.container {
  width: min(var(--max-w), 92%);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

section {
  padding-block: clamp(32px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}

/* ── 4. LOADER ──────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  transition: opacity .7s ease, visibility .7s;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.loader-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  opacity: .9;
  animation: loaderPulse 1.8s ease-in-out infinite alternate;
}
.loader-brand-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1;
}
.loader-brand-sub {
  color: var(--brand);
  font-weight: 800;
}

/* ── CAPTCHA ──────────────────────────────────────────────────── */
.captcha-group { margin-top: .5rem; }
.captcha-label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.captcha-question { font-size: .9rem; color: var(--text); margin-bottom: .5rem; }
.captcha-question strong { color: var(--brand); }
.captcha-row { display: flex; gap: .65rem; align-items: center; }
.captcha-input { flex: 1; }
.captcha-refresh-btn {
  flex-shrink: 0;
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(37,150,190,.12);
  border: 1px solid rgba(37,150,190,.25);
  color: var(--brand-l);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.captcha-refresh-btn:hover { background: rgba(37,150,190,.22); border-color: rgba(37,150,190,.45); }
@keyframes loaderPulse {
  from { opacity: .75; filter: brightness(1); }
  to   { opacity: 1;   filter: brightness(1.2) drop-shadow(0 0 20px var(--brand-glow)); }
}

.loader-bar-track {
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-l));
  animation: loaderFill 2.2s cubic-bezier(.4,0,.2,1) forwards;
  width: 0;
}
@keyframes loaderFill { from { width: 0; } to { width: 100%; } }

.loader-text {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(37,150,190,.55);
  animation: loaderBlink 1.2s ease-in-out infinite;
}
@keyframes loaderBlink { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* ── 5. SCROLL PROGRESS ─────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-l));
  z-index: 9100;
  width: 0%;
  transition: width .08s linear;
  pointer-events: none;
}

/* ── 6. BACKGROUND LAYERS ───────────────────────────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37,150,190,.07) 0%, transparent 55%);
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── 7. HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 15, .85);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--brand-line);
  z-index: -1;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: .9rem;
  min-height: var(--nav-h);
}

.brand-zone { flex-shrink: 0; display: flex; align-items: center; gap: 0; }
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo {
  height: 56px;
  width: 56px;
  border-radius: 0;
  object-fit: contain;
  display: block;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 8px rgba(37,150,190,.35));
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #e8ecf0;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.header-claim {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1.1rem;
  padding-left: 1.1rem;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.header-claim-flag {
  width: 20px;
  height: 30px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}
.header-claim-text {
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(148,163,184,0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-align: left;
}
.header-claim-text span { display: block; }
@media (max-width: 480px) {
  .header-claim { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(232,236,244,.65);
  font-size: .82rem;
  font-weight: 500;
  padding: .45rem .55rem;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-ext { color: var(--brand) !important; font-weight: 600 !important; }
.nav-ext:hover { color: var(--brand-l) !important; }

/* CTA Button (primary – matches wowobot.de .cta-button) */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-l) 100%);
  color: var(--bg) !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
  box-shadow: 0 6px 24px var(--brand-glow);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.cta-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.16) 50%, transparent 100%);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform .6s var(--ease);
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 12px 40px var(--brand-glow); }
.cta-button:hover::after { transform: translateX(160%) skewX(-20deg); }
.cta-button:active { transform: translateY(-1px); }

.cta-sm { font-size: .82rem; padding: .5rem 1.1rem; margin-left: .4rem; white-space: nowrap; }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-line);
  transition: color .25s, border-color .25s, background .25s;
  white-space: nowrap;
}
.cta-ghost:hover {
  color: var(--text);
  border-color: rgba(37,150,190,.4);
  background: var(--brand-08);
}

/* Mobile menu button */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: 8px;
  margin-left: auto;
  transition: background .2s;
}
.mobile-menu:hover { background: var(--brand-08); }
.mobile-menu span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  display: block;
  transition: transform .3s var(--ease), opacity .3s;
  transform-origin: center;
}
.mobile-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: rgba(7, 8, 15, .97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  pointer-events: none;
}
.mobile-nav.open { transform: translateX(0); pointer-events: all; }
.mob-link {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color .2s, background .2s;
}
.mob-link:hover { color: var(--brand); background: var(--brand-08); }
.mob-ext { color: var(--brand) !important; }
.mob-cta { margin-top: 1.5rem; font-size: .95rem; }
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
}

/* ── 8. HERO ────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(48px, 8vw, 112px);
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  max-width: min(1100px, 92%);
  position: relative;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-visual {
  position: absolute;
  right: -4vw;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

@keyframes scanLine {
  0%        { top: -20%; opacity: 0; }
  5%        { opacity: 1; }
  95%       { opacity: 1; }
  100%      { top: 120%; opacity: 0; }
}

@keyframes auraPulse {
  0%, 100% { transform: scale(0.85); opacity: .35; }
  50%      { transform: scale(1.25); opacity: .7; }
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.18) 0%, transparent 68%);
  animation: auraPulse 3.5s ease-in-out infinite;
  z-index: 0;
}

.hero-mascot-wrap {
  position: relative;
  display: inline-block;
  z-index: 1;
  animation: mascotFloat 3.8s ease-in-out infinite;
}

.hero-mascot-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 28%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(6,182,212,.55) 45%,
    rgba(120,230,255,.35) 50%,
    rgba(6,182,212,.55) 55%,
    transparent 100%
  );
  border-radius: 4px;
  animation: scanLine 3.8s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-mascot {
  width: clamp(140px, 16vw, 240px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 28px rgba(6,182,212,.5)) drop-shadow(0 0 60px rgba(6,182,212,.15));
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  align-self: center;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.75rem;
  padding: .55rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--brand-08);
  border: 1px solid rgba(37,150,190,.25);
  box-shadow: 0 0 24px rgba(37,150,190,.06);
}
.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse-glow 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

/* Hero title — Playfair italic main, Inter sub */
.hero-title {
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -.025em;
}
.main-title {
  display: block;
  font-family: Georgia, 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.03em;
  font-style: italic;
  color: var(--brand-l);
  text-shadow: 0 0 60px rgba(37,150,190,.18);
  margin-bottom: .6rem;
}
.sub-title {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
}

.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.08rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 38rem;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

/* Mascot card */
.hero-mascot-card {
  position: relative;
  width: clamp(220px, 36vw, 380px);
  margin-bottom: 2.5rem;
}
.mascot-img-wrap { position: relative; }
.mascot-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse at center, rgba(37,150,190,.22) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
.mascot-img {
  width: 100%;
  /* Transparentes PNG – kein Rahmen, kein Hintergrund */
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(37,150,190,.25))
          drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(13,16,24,.95);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-pill);
  padding: .45rem .9rem;
  backdrop-filter: blur(12px);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,.45);
}
.float-top    { top: 12px;    right: -12%; animation: float-a 3.5s ease-in-out infinite; }
.float-bottom { bottom: 16px; left: -8%;  animation: float-b 4s ease-in-out infinite; }
@keyframes float-a { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes float-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Benefit bar — identical pattern to wowobot.de hero-benefits */
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: .65rem;
  width: 100%;
  max-width: min(900px, 94vw);
  padding: 0;
}
.hero-benefit {
  flex: 1 1 0;
  min-width: min(100%, 145px);
  max-width: 100%;
  padding: .9rem .75rem;
  min-height: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-sm);
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.hero-benefit::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.hero-benefit:hover {
  border-color: rgba(37,150,190,.4);
  box-shadow: 0 8px 24px rgba(37,150,190,.1);
  transform: translateY(-3px);
}
.hero-benefit:hover::after { opacity: 1; }
.hero-benefit-title {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
}
.hero-benefit-focus {
  display: block;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .02em;
}

@media (min-width: 720px) {
  .hero-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Marquee */
.marquee-wrap {
  width: 100%;
  margin-top: 3rem;
  padding-block: .25rem;
  background: rgba(255,255,255,.015);
  border-top: 1px solid var(--brand-line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.mdot { color: var(--brand); font-size: .5rem; }

/* ── 9. SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.r1 { transition-delay: .1s; }
.r2 { transition-delay: .2s; }
.r3 { transition-delay: .3s; }

/* Hero staggered fade-in */
.hero-fade-item { opacity: 0; animation: heroFadeUp .75s cubic-bezier(.22,1,.36,1) both; }
.hero-fade-item:nth-child(1) { animation-delay: .08s; }
.hero-fade-item:nth-child(2) { animation-delay: .16s; }
.hero-fade-item:nth-child(3) { animation-delay: .24s; }
.hero-fade-item:nth-child(4) { animation-delay: .32s; }
.hero-fade-item:nth-child(5) { animation-delay: .42s; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-fade-item { animation: none; opacity: 1; }
}

/* ── 10. TYPOGRAPHY HELPERS ─────────────────────────────────────── */
.kicker {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .75rem;
}
.kicker::before, .kicker::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--brand);
}
.kicker-center { justify-content: center; }

.section-title {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 1rem;
}
.text-center { text-align: center; }
.left-title  { text-align: left; }

.title-italic { font-style: italic; color: var(--brand-l); }

.section-lead {
  font-size: clamp(.95rem, 1.8vw, 1.05rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.left-lead { margin-inline: 0; }

/* ── 11. CARDS ──────────────────────────────────────────────────── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
/* Top gradient line — signature wowobot.de pattern */
.card-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-l));
  opacity: 0;
  transition: opacity .4s;
  border-radius: var(--radius) var(--radius) 0 0;
}
/* Radial glow on hover */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(37,150,190,.09) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(37,150,190,.38);
  box-shadow: 0 20px 60px rgba(0,0,0,.42), 0 0 40px rgba(37,150,190,.08);
  transform: translateY(-5px);
}
.card:hover .card-top-line { opacity: 1; }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-08);
  border: 1px solid rgba(37,150,190,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 1.25rem;
  transition: background .3s, box-shadow .3s;
}
.card:hover .card-icon {
  background: rgba(37,150,190,.18);
  box-shadow: 0 0 20px rgba(37,150,190,.2);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .55rem;
  line-height: 1.3;
}
.card p {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.card p strong { color: var(--brand-l); }

/* Pain stat */
.card-stat {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(37,150,190,.07);
}
.card-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -.02em;
  font-family: Georgia, serif;
}
.card-stat span:last-child { font-size: .82rem; color: var(--dim); }

/* Service tags */
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--brand);
  background: var(--brand-08);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

/* ── 12. STEPS GRID ─────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
  position: relative;
  overflow: hidden;
}
.step-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-l));
  opacity: 0;
  transition: opacity .4s;
}
.step-card:hover {
  border-color: rgba(37,150,190,.38);
  box-shadow: 0 16px 48px rgba(0,0,0,.38), 0 0 32px rgba(37,150,190,.08);
  transform: translateY(-4px);
}
.step-card:hover::after { opacity: 1; }

.step-num {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--brand);
  margin-bottom: 1rem;
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-08);
  border: 1px solid rgba(37,150,190,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}
.step-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.step-badge {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--brand);
  background: var(--brand-08);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  display: inline-block;
}

/* ── 13. TEAM ───────────────────────────────────────────────────── */
.team-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}
.team-img-col { position: relative; }

.team-img-wrap {
  position: relative;
  display: block;
}
.team-mascot-overlay {
  position: absolute;
  bottom: -22%;
  left: 50%;
  transform: translateX(-50%);
  height: 90%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.7));
  z-index: 2;
  pointer-events: none;
}
.team-img-glow {
  position: absolute;
  inset: -12%;
  background: radial-gradient(ellipse at center, rgba(37,150,190,.14) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
.team-img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--brand-line);
  box-shadow: 0 8px 48px rgba(0,0,0,.45);
  position: relative;
  z-index: 1;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.team-desc {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: .85rem;
}
.check-list {
  margin-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.check-list li {
  position: relative;
  padding: .5rem 0 .5rem 1.85rem;
  font-size: .93rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(37,150,190,.07);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: .5rem;
  color: var(--brand);
  font-weight: 700;
  font-size: .85rem;
}

/* ── 14. WOWOBOT.DE LINK SECTION ────────────────────────────────── */
#wowobot-link { padding-block: clamp(48px, 7vw, 80px); }

.wowo-card {
  background: linear-gradient(135deg, rgba(37,150,190,.12) 0%, rgba(37,150,190,.04) 50%, rgba(26,122,158,.07) 100%);
  border: 1px solid rgba(37,150,190,.32);
  border-radius: 22px;
  padding: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: visible; /* wichtig für transparentes PNG */
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  box-shadow: 0 0 80px rgba(37,150,190,.1), 0 20px 60px rgba(0,0,0,.35);
}
.wowo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.wowo-card-glow {
  position: absolute;
  top: -40%; left: -10%;
  width: 55%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(37,150,190,.18) 0%, transparent 65%);
  pointer-events: none;
  animation: wowo-glow 5s ease-in-out infinite;
}
@keyframes wowo-glow {
  0%, 100% { opacity: .65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.wowo-card-body { position: relative; z-index: 1; }

.wowo-brand-link {
  display: inline-flex;
  gap: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: inherit;
  letter-spacing: -.04em;
  color: var(--text) !important;
  transition: filter .25s;
}
.wowo-brand-link:hover { filter: brightness(1.2); }
.brand-bot { color: var(--brand); }

.wowo-mascot {
  width: clamp(180px, 26vw, 320px);
  position: relative;
  z-index: 1;
  margin-top: -3rem;
  filter: drop-shadow(0 6px 20px rgba(37,150,190,.3))
          drop-shadow(0 2px 6px rgba(0,0,0,.5));
}

/* ── 15. CONTACT ────────────────────────────────────────────────── */
#kontakt { background: var(--surface); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.detail-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-08);
  border: 1px solid var(--brand-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}
.detail-label {
  display: block;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 2px;
}
.detail-value {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
}
a.detail-value:hover { color: var(--brand); }

.contact-logo-badge {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1.1rem;
  background: var(--brand-08);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  max-width: 230px;
}
.contact-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
.badge-brand-name {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -.03em;
}
.badge-brand-sub {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
}

/* Form card */
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: 20px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 0 0 1px rgba(37,150,190,.06);
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}
.req { color: var(--brand); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(7,8,15,.6);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  color: var(--text);
  font-size: .9rem;
  transition: border-color .25s, box-shadow .25s;
  min-height: 44px;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238897bb' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group select option { background: var(--card); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,150,190,.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* Checkbox */
.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  user-select: none;
}
.checkbox-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--brand-line);
  background: rgba(7,8,15,.6);
  flex-shrink: 0;
  margin-top: 1px;
  transition: all .25s;
  position: relative;
}
.checkbox-wrap input:checked + .checkbox-box {
  background: var(--brand);
  border-color: var(--brand);
}
.checkbox-wrap input:checked + .checkbox-box::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 8px; height: 11px;
  border: 2px solid var(--bg);
  border-top: none; border-left: none;
  transform: rotate(40deg);
}
.checkbox-wrap input:focus-visible + .checkbox-box {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.checkbox-text {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
}
.checkbox-text a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color .25s;
}
.checkbox-text a:hover { text-decoration-color: var(--brand); }

/* Submit */
.form-btn {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-size: .95rem;
}
.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(7,8,15,.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-btn.loading .btn-text,
.form-btn.loading .btn-icon { display: none; }
.form-btn.loading .btn-spinner { display: block; }
.form-btn.loading { opacity: .75; pointer-events: none; }

/* Error states */
.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
}
.field-error {
  font-size: .78rem;
  color: #ef4444;
  display: block;
  margin-top: 2px;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.form-shake { animation: shake .4s var(--ease); }

/* Success */
.form-success {
  display: none;
  align-items: flex-start;
  gap: .85rem;
  background: rgba(34,197,94,.07);
  border: 1px solid rgba(34,197,94,.22);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}
.form-success.visible { display: flex; }
.form-success strong { display: block; font-size: .95rem; color: #22c55e; margin-bottom: 3px; }
.form-success p { font-size: .82rem; color: var(--muted); }

/* ── 16. FOOTER ─────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--brand-line); }

.footer-top {
  padding-block: clamp(2rem, 4vw, 3.5rem);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-logo-img {
  height: 46px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
  margin-bottom: .75rem;
}
.footer-tagline {
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: .5rem;
}
.footer-copy {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.footer-social {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .85rem;
  color: var(--muted);
  transition: color .25s;
  text-decoration: none;
}
.social-link:hover { color: var(--brand-l); }
.social-link svg { flex-shrink: 0; }
.footer-links-col h4 {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}
.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-links-col a {
  font-size: .88rem;
  color: var(--muted);
  transition: color .25s;
}
.footer-links-col a:hover { color: var(--brand-l); }

.footer-bottom {
  background: rgba(0,0,0,.22);
  border-top: 1px solid var(--brand-line);
  padding-block: 1.1rem;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .65rem;
}
.footer-legal {
  font-size: .78rem;
  color: var(--dim);
}
.footer-legal a { color: var(--dim); transition: color .25s; }
.footer-legal a:hover { color: var(--muted); }
.powered-by {
  font-size: .78rem;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.powered-link {
  font-weight: 700;
  color: var(--brand) !important;
  transition: color .25s;
}
.powered-link:hover { color: var(--brand-l) !important; }

/* ── 16a. CLIENTS MARQUEE ───────────────────────────────────────── */
.clients-marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: 0.2rem 0 0.28rem;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,.07);
  border-bottom: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 -1px 0 rgba(255,255,255,.04);
}
.clients-viewport {
  overflow: hidden;
  background: #fff;
  isolation: isolate;
  transform: translateZ(0);
}
.clients-track {
  display: flex;
  width: max-content;
  animation: clientsMarquee 24s linear infinite;
  backface-visibility: hidden;
}
@keyframes clientsMarquee {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-33.3333%,0,0); }
}
@media (max-width: 768px) { .clients-track { animation-duration: 16s; } }
@media (max-width: 400px) { .clients-track { animation-duration: 12s; } }
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; justify-content: center; flex-wrap: wrap; row-gap: 1rem; width: 100%; max-width: 56rem; margin: 0 auto; }
  .clients-group[aria-hidden="true"] { display: none !important; }
  .clients-group { padding-right: 0 !important; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
}
.clients-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(2.75rem, 7vw, 5.5rem);
  padding-right: clamp(2.75rem, 7vw, 5.5rem);
}
.clients-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  line-height: 0;
}
.clients-item img {
  display: block;
  height: 124px;
  width: auto;
  max-width: min(600px, 82vw);
  object-fit: contain;
  transform: translateZ(0);
  backface-visibility: hidden;
}
@media (max-width: 540px) { .clients-item img { height: 92px; max-width: min(520px, 88vw); } }
@media (hover: hover) and (pointer: fine) { .clients-item img:hover { transform: translateZ(0) scale(1.04); } }

/* ── 16aa. REFERENZEN CARD ──────────────────────────────────────── */
#referenzen { padding-block: clamp(2rem, 4vw, 3.5rem); }

.pc-card {
  background: #0a0a0e;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 24px 48px rgba(0,0,0,.35), 0 0 42px rgba(6,182,212,.08);
  position: relative;
  overflow: hidden;
}
.pc-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.08fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.pc-kicker {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .6rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.pc-kicker::before { content: ''; width: 22px; height: 1px; background: var(--brand); display: block; flex-shrink: 0; }
.pc-title {
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.35rem;
}
.pc-title-l2 { display: block; margin-top: .1rem; font-style: italic; color: var(--brand-l); }
.pc-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}
.pc-list li {
  position: relative;
  padding: .6rem 0 .6rem 2rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  border-bottom: 1px solid rgba(37,150,190,.07);
}
.pc-list li:last-child { border-bottom: none; }
.pc-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .82rem;
  width: 14px; height: 14px;
  border-radius: 3px;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(37,150,190,.35);
}
.pc-list li::after {
  content: '';
  position: absolute;
  left: .27rem; top: 1.07rem;
  width: .35rem; height: .55rem;
  border: solid #07080f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pc-cta-wrap { margin-top: .5rem; text-align: center; }
.pc-cta-prominent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: auto;
  max-width: 16rem;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff !important;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(34,197,94,.32);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
}
.pc-cta-prominent:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  box-shadow: 0 8px 36px rgba(34,197,94,.48);
  transform: translateY(-3px);
}
.pc-note {
  margin: .75rem 0 0;
  color: var(--muted);
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .74rem;
  letter-spacing: .04em;
  text-align: center;
}
.ref-raster-h {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .9rem;
}
.ref-raster-accent { color: var(--brand); }
.ref-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ref-tile-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  background: #0e1420;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.ref-tile-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,.55), 0 0 0 1px rgba(37,150,190,.3);
}
.ref-tile-media {
  overflow: hidden;
  flex: 1;
}
.ref-tile-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .65s var(--ease), filter .4s;
  filter: brightness(.92) saturate(.9);
}
.ref-tile-link:hover .ref-tile-img { transform: scale(1.06); filter: brightness(1) saturate(1.08); }
.ref-tile-kenburns .ref-tile-img { animation: kenBurns 8s ease-in-out infinite alternate; }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.04); } }
.ref-tile-link:hover .ref-tile-kenburns .ref-tile-img { animation: none; transform: scale(1.06); }
.ref-tile-label {
  display: block;
  padding: .85rem 1rem .95rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  text-align: center;
  background: #0e1420;
  transition: color .25s;
  line-height: 1.3;
}
.ref-tile-link:hover .ref-tile-label { color: var(--brand-l); }

@media (max-width: 960px) {
  .pc-grid { grid-template-columns: 1fr; display: flex; flex-direction: column; gap: clamp(.85rem, 2.5vw, 1.15rem); }
  .pc-right { order: -1; width: 100%; }
  .pc-left { width: 100%; }
  .pc-title { margin-bottom: .75rem; font-size: clamp(1.1rem, 4vw, 1.45rem); }
  .pc-list { margin-bottom: .9rem; }
  .pc-list li { margin-bottom: .45rem; font-size: .88rem; }
  .pc-cta-prominent { max-width: 14.5rem; padding: .6rem 1rem; font-size: .8rem; }
  .ref-raster-h { margin-bottom: .65rem; font-size: .78rem; }
  .ref-tiles-grid { gap: .6rem; }
}
@media (max-width: 540px) {
  .ref-tiles-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 15b. TEAM REGION STATS ─────────────────────────────────────── */
.team-region-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.team-stat {
  flex: 1;
  text-align: center;
}
.team-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.team-stat-label {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  margin-top: .2rem;
  font-family: 'DM Mono', 'Courier New', monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.team-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--brand-line);
  flex-shrink: 0;
}

/* ── 15c. REGIONEN SECTION ──────────────────────────────────────── */
#regionen { padding-block: clamp(2rem, 4vw, 3.5rem); }

.region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.region-card {
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .25s, box-shadow .3s;
}
.region-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity .3s;
}
.region-card:hover { transform: translateY(-3px); }
.region-card:hover::before { opacity: 1; }

.region-active { border-color: rgba(34,197,94,.2); }
.region-active::before { background: linear-gradient(90deg, transparent, #22c55e, transparent); }
.region-active:hover { border-color: rgba(34,197,94,.45); box-shadow: 0 8px 24px rgba(34,197,94,.1); }

.region-wanted { border-color: rgba(37,150,190,.15); }
.region-wanted::before { background: linear-gradient(90deg, transparent, var(--brand), transparent); }
.region-wanted:hover { border-color: rgba(37,150,190,.4); box-shadow: 0 8px 24px rgba(37,150,190,.1); }

.region-cta {
  background: linear-gradient(135deg, rgba(37,150,190,.1), rgba(37,150,190,.04));
  border-color: rgba(37,150,190,.3);
}
.region-cta::before { background: linear-gradient(90deg, transparent, var(--brand), transparent); }
.region-cta:hover { border-color: rgba(37,150,190,.55); box-shadow: 0 8px 24px rgba(37,150,190,.15); }

.region-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: 'DM Mono', 'Courier New', monospace;
  margin-bottom: .3rem;
}
.region-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.region-status--active { color: #22c55e; }
.region-status--active .region-dot { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.7); animation: regionPulse 2s ease-in-out infinite; }
.region-status--wanted { color: var(--brand-l); }
.region-status--wanted .region-dot { background: var(--brand); }
.region-status--open { color: var(--muted); }
.region-status--open .region-dot { background: var(--muted); }

@keyframes regionPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(34,197,94,.6); }
  50%       { box-shadow: 0 0 10px rgba(34,197,94,.9); }
}

.region-icon { font-size: 1.5rem; line-height: 1; margin-bottom: .2rem; }
.region-card h3 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.region-card p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.4;
}
.region-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .75rem;
  padding: .5rem 1rem;
  background: var(--brand);
  color: var(--bg) !important;
  font-size: .8rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background .25s, transform .25s;
}
.region-apply-btn:hover { background: var(--brand-l); transform: translateY(-1px); }

@media (max-width: 1024px) { .region-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .region-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { .region-grid { grid-template-columns: 1fr; } }

/* ── 16b. BEWERBUNG SECTION ─────────────────────────────────────── */
#bewerbung {
  background: linear-gradient(180deg, transparent 0%, rgba(37,150,190,.03) 50%, transparent 100%);
}
.apply-header { margin-bottom: 3rem; }

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

/* left info column */
.apply-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-family: 'DM Mono', 'Courier New', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--brand);
}
.apply-checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}
.apply-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--brand-line);
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.5;
}
.apply-checklist li:first-child { border-top: 1px solid var(--brand-line); }
.apply-checklist li svg {
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 2px;
}
.apply-ig-hint { margin-top: .5rem; }

/* ── APPLY MASCOT ───────────────────────────────────────────── */
.apply-mascot-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.apply-mascot-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.apply-mascot-ring::before,
.apply-mascot-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.apply-mascot-ring::before {
  width: 120%;
  height: 120%;
  border: 1.5px solid rgba(6,182,212,.3);
  box-shadow: 0 0 14px rgba(6,182,212,.12);
  animation: orbitRing 9s linear infinite;
}
.apply-mascot-ring::after {
  width: 150%;
  height: 150%;
  border: 1px dashed rgba(6,182,212,.15);
  animation: orbitRing 14s linear infinite reverse;
}

@keyframes orbitRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.apply-mascot-img {
  width: clamp(120px, 15vw, 200px);
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  animation: mascotFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(6,182,212,.5));
}

/* right form card */
.apply-form-card {
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.apply-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.apply-form-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 999px;
  padding: .25rem .75rem;
  margin-bottom: 1rem;
}
.apply-form-badge svg { color: #22c55e; }
.apply-form-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.apply-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.75rem;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(34,197,94,.35);
  transition: transform .3s var(--ease), box-shadow .3s;
  margin-top: .5rem;
  letter-spacing: .01em;
}
.apply-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34,197,94,.5);
}
.apply-submit-btn.loading .btn-text { opacity: 0; }
.apply-submit-btn.loading .btn-spinner { opacity: 1; }
.apply-submit-btn.loading .btn-icon  { opacity: 0; }

@media (max-width: 900px) {
  .apply-grid { grid-template-columns: 1fr; gap: 2rem; }
  .apply-info  { order: 2; }
  .apply-form-wrap { order: 1; }
}

/* ── 16c. PARTNER VORTEILE ─────────────────────────────────────── */
#partner-vorteile { background: linear-gradient(180deg, transparent 0%, rgba(37,150,190,.04) 50%, transparent 100%); }

.partner-grid { margin-top: 3rem; }

.card.card-accent {
  background: linear-gradient(135deg, rgba(37,150,190,.12) 0%, rgba(37,150,190,.05) 100%);
  border-color: rgba(37,150,190,.3);
}

.tag-brand {
  background: rgba(37,150,190,.25) !important;
  color: var(--brand-l) !important;
  border-color: rgba(37,150,190,.4) !important;
}

.partner-cta-banner {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  padding: 2.5rem;
  background: rgba(37,150,190,.06);
  border: 1px solid rgba(37,150,190,.2);
  border-radius: var(--r-xl);
}
.partner-cta-banner p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

/* ── 16c. INSTAGRAM FOLLOW CARD ─────────────────────────────────── */
.ig-follow-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(37,150,190,.06);
  border: 1px solid rgba(37,150,190,.2);
  border-radius: var(--r-lg);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: background .25s, border-color .25s, transform .25s;
}
.ig-follow-card:hover {
  background: rgba(37,150,190,.12);
  border-color: rgba(37,150,190,.4);
  transform: translateY(-2px);
}
.ig-follow-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.ig-follow-text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
}
.ig-follow-handle {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
}
.ig-follow-sub {
  font-size: .78rem;
  color: var(--muted);
}
.ig-follow-arrow {
  color: var(--brand);
  flex-shrink: 0;
  transition: transform .25s;
}
.ig-follow-card:hover .ig-follow-arrow { transform: translateX(4px); }

/* ── 17. RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .cta-sm { display: none; }
  .mobile-menu { display: flex; }

  .hero-inner { text-align: center; }
  .hero-ctas { justify-content: center; }
  .float-top { right: -5%; }
  .float-bottom { left: -5%; }

  .cards-3 { grid-template-columns: 1fr; }

  .team-inner { grid-template-columns: 1fr; }
  .team-text-col .section-title { text-align: left; }

  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .wowo-card { grid-template-columns: 1fr; }
  .wowo-card-visual { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .footer-legal { text-align: center; width: 100%; }
  .powered-by { justify-content: center; }
}

@media (max-width: 540px) {
  .hero-benefits {
    gap: .5rem;
  }
  .hero-benefit {
    flex: 1 1 calc(50% - .25rem);
    min-width: calc(50% - .25rem);
    min-height: 4.25rem;
    padding: .75rem .55rem;
  }
  .hero-benefit:last-child:nth-child(odd) { flex: 1 1 100%; min-width: 100%; }
  .hero-benefit-title { font-size: .78rem; }
  .hero-benefit-focus { font-size: .68rem; }
}

@media (max-width: 480px) {
  :root { --nav-h: 64px; }
  .cta-button, .cta-ghost { font-size: .9rem; padding: .85rem 1.5rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .cta-button, .cta-ghost { width: 100%; justify-content: center; }
}

/* ── 18. MOBILE IMPROVEMENTS ─────────────────────────────────────── */

/* Tablet – tighten heavy spacing */
@media (max-width: 768px) {
  /* section lead: 3.5rem is too much on mobile */
  .section-lead { margin-bottom: 1.75rem; }

  /* hero */
  .badge { letter-spacing: .08em; padding: .45rem 1rem; font-size: .67rem; max-width: 100%; white-space: normal; text-align: center; justify-content: center; }
  .hero-sub { max-width: 100%; font-size: .97rem; margin-bottom: 1.5rem; }
  .hero-title { margin-bottom: 1.25rem; }
  .hero-ctas { margin-bottom: 1.75rem; gap: .75rem; }

  /* section title slightly tighter */
  .section-title { font-size: clamp(1.4rem, 4.5vw, 1.9rem); }

  /* team */
  .team-inner { gap: 1.75rem; }
  .check-list { margin-block: 1rem; }
  .team-region-stats { padding: .85rem 1.1rem; margin-block: 1.25rem; }

  /* contact section */
  .contact-inner { gap: 2rem; }

  /* partner section */
  .partner-grid { margin-top: 1.75rem; }
  .partner-cta-banner { margin-top: 2rem; padding: 1.5rem 1.25rem; gap: 1.1rem; }
  .partner-cta-banner p { font-size: .95rem; }

  /* apply section */
  .apply-header { margin-bottom: 1.5rem; }
  .apply-grid { gap: 1.5rem; }

  /* wowo card */
  .wowo-card { padding: 1.75rem 1.5rem; gap: 1.5rem; }
}

/* Small phones – further compact */
@media (max-width: 540px) {
  /* tighter card & step gaps */
  .cards-3 { gap: .85rem; }
  .steps-grid { gap: .85rem; }

  /* ref tiles */
  .ref-tiles-grid { gap: .5rem; }
  .ref-tile-label { font-size: .82rem; padding: .6rem .75rem .7rem; }

  /* pc card */
  .pc-card { padding: 1.25rem 1rem; }
  .pc-list li { font-size: .87rem; }
  .pc-note { margin-top: .5rem; }

  /* form cards */
  .apply-form-card { padding: 1.25rem 1.1rem; }
  .apply-form-title { font-size: 1.05rem; margin-bottom: 1.1rem; }
  .contact-form-card { padding: 1.25rem 1.1rem; }

  /* ig card */
  .ig-follow-card { padding: .85rem 1rem; gap: .75rem; }
  .ig-follow-handle { font-size: .88rem; }
  .ig-follow-sub { font-size: .74rem; }

  /* team stats */
  .team-stat-num { font-size: 1.3rem; }
  .team-stat-label { font-size: .68rem; }
}

/* Phones – steps to 1 column */
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }

  /* wowo card tighter */
  .wowo-card { padding: 1.25rem 1.1rem; gap: 1.25rem; }
  .wowo-card .cta-button { width: 100%; justify-content: center; }

  /* contact badge */
  .contact-logo-badge { max-width: 100%; }
}

/* Very small phones – hero benefits to single column */
@media (max-width: 360px) {
  .hero-benefit { flex: 1 1 100% !important; min-width: 100% !important; }
  .hero-benefits { gap: .5rem; }

  .section-title { font-size: 1.35rem; letter-spacing: -.02em; }
  .apply-form-card,
  .contact-form-card { padding: 1rem; }
  .main-title { font-size: 2.2rem; }
  .mob-link { font-size: 1.4rem; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE COMPREHENSIVE FIXES
   ════════════════════════════════════════════════════════════════ */

html, body { overflow-x: hidden; }

/* ── Tablet & Mobile (≤768px) ─────────────────────────────────── */
@media (max-width: 768px) {
  section { padding-block: clamp(1.75rem, 5vw, 2.75rem); }

  /* Card text: clip to 4 lines max — avoids endless wall-of-text */
  .card p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .85rem;
    line-height: 1.55;
    margin-bottom: .85rem;
  }
  /* Card title smaller */
  .card h3 { font-size: .92rem; margin-bottom: .4rem; }
  /* Card icon smaller */
  .card-icon { width: 36px; height: 36px; border-radius: 9px; margin-bottom: .85rem; }
  .card-icon svg { width: 16px; height: 16px; }
  /* Card padding tighter */
  .card { padding: 1rem .95rem; }
  /* Card stat row compact */
  .card-stat { padding-top: .65rem; gap: .45rem; }
  .card-stat-num { font-size: 1.1rem; }
  /* Tags smaller */
  .tag { font-size: .68rem; padding: .28rem .6rem; }
  /* Section lead shorter */
  .pc-list li { font-size: .88rem; padding: .45rem 0 .45rem 1.75rem; }

  /* Hero: stack, center */
  .hero-visual { display: none; }
  .hero-mascot-card { width: clamp(140px, 45vw, 220px); margin-bottom: 1.5rem; order: -1; }
  .float-top, .float-bottom { display: none; }
  .hero-sub { text-align: center; max-width: 100%; }
  .main-title { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .sub-title  { font-size: clamp(.95rem, 3.5vw, 1.2rem); }
  /* Hero benefits: 2 columns */
  .hero-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .hero-benefit { flex: unset; min-width: unset; padding: .8rem .65rem; }
  .hero-benefit:last-child:nth-child(odd) { grid-column: span 2; }

  /* Long prose text: clip on mobile */
  .team-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .88rem;
    line-height: 1.6;
  }
  .section-lead { font-size: .9rem; line-height: 1.6; }

  /* Feature cards: 2 columns */
  .cards-3 { grid-template-columns: repeat(2, 1fr) !important; gap: .75rem; }

  /* Steps / Ablauf: 2 columns */
  .steps-grid { grid-template-columns: repeat(2, 1fr) !important; gap: .75rem; }
  .step-card { padding: 1rem .9rem; }
  .step-num { font-size: .75rem; margin-bottom: .5rem; }
  .step-card h3 { font-size: .88rem; margin-bottom: .35rem; }
  .step-card p {
    font-size: .8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .65rem;
  }
  .step-badge { font-size: .72rem; padding: .25rem .65rem; }

  /* Ref tiles: 2 columns */
  .ref-tiles-grid { grid-template-columns: repeat(2, 1fr) !important; gap: .65rem; }
  .pc-grid { grid-template-columns: 1fr; }
  .pc-right { order: -1; }

  /* Team: single column */
  .team-inner { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .team-img { aspect-ratio: 4/3; object-position: top; }
  .wowo-card { grid-template-columns: 1fr; }
  .wowo-card-visual { display: none; }
  .wowo-mascot { margin-top: 0; }

  /* Apply form */
  .apply-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr !important; }
  .captcha-row { flex-direction: column; align-items: stretch; }
  .captcha-refresh-btn { width: 100%; text-align: center; }

  /* Footer: 2 columns */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .footer-brand-col { grid-column: span 2; }
  .footer-bottom-inner { flex-direction: column; gap: .75rem; text-align: center; }
  .footer-legal { text-align: center; width: 100%; }
  .powered-by { justify-content: center; }
}

/* ── Small phones (≤480px) ────────────────────────────────────── */
@media (max-width: 480px) {
  /* Steps: KEEP 2 columns on small phones */
  .steps-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Ref tiles: still 2 cols */
  .ref-tile-label { font-size: .78rem; padding: .55rem .6rem .65rem; }

  /* pc-card CTA full width */
  .pc-cta-prominent { max-width: 100%; width: 100%; justify-content: center; }

  /* Apply form badge */
  .apply-form-badge { flex-direction: column; text-align: center; }

  /* Footer: brand full width, then 2-column link grid */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem 1.5rem;
  }
  .footer-brand-col {
    grid-column: span 2;
    margin-bottom: .5rem;
  }
  .footer-copy { font-size: .78rem; line-height: 1.55; margin-bottom: .75rem; }
  .footer-tagline { font-size: .82rem; }
  .footer-links-col h4 { font-size: .62rem; margin-bottom: .65rem; }
  .footer-links-col a { font-size: .82rem; }
  .footer-links-col ul { gap: .45rem; }

  /* Loader bar narrower */
  .loader-bar-track { width: 160px; }

  /* header brand name hidden to save space */
  .brand-name { display: none; }
}

/* ── Very small phones (≤360px) ───────────────────────────────── */
@media (max-width: 360px) {
  .hero-benefits { grid-template-columns: 1fr; }
  .hero-benefit:last-child:nth-child(odd) { grid-column: span 1; }
  .cards-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .steps-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .ref-tiles-grid { grid-template-columns: 1fr !important; }
  .main-title { font-size: 1.75rem; }
  .section-title { font-size: 1.25rem; }
  .step-card p { -webkit-line-clamp: 3; }
  .card p { -webkit-line-clamp: 3; }
}

/* ── 19. ROLLEN & PROZESS ────────────────────────────────────── */
.rollen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.rollen-card {
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.rollen-card:hover {
  border-color: rgba(37,150,190,.35);
  transform: translateY(-3px);
}

.rollen-mascot-img {
  width: 100%;
  height: 175px;
  background-image: url(assets/refs/image.png);
  background-size: 400% auto;
  background-repeat: no-repeat;
  background-position-y: 9%;
  flex-shrink: 0;
}
.rollen-col-0 { background-position-x: 0%; }
.rollen-col-1 { background-position-x: 33.33%; }
.rollen-col-2 { background-position-x: 66.66%; }
.rollen-col-3 { background-position-x: 100%; }

.rollen-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 16px 20px 3px;
}
.rollen-sub {
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 20px 12px;
  display: block;
}

.rollen-list {
  list-style: none;
  padding: 0 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rollen-list li {
  font-size: .85rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.rollen-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .7;
}

/* ── Prozess-Flow ───────────────────────────────────────────── */
.prozess-flow {
  margin-top: 48px;
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.prozess-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.prozess-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.prozess-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 80px;
}
.prozess-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-dim);
  border: 1px solid var(--brand-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.prozess-step span {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.3;
  max-width: 80px;
}
.prozess-arrow {
  color: var(--brand);
  font-size: 1.2rem;
  opacity: .6;
  flex-shrink: 0;
}

/* ── Vorteile-Bar ───────────────────────────────────────────── */
.vorteile-bar {
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(37,150,190,.12) 0%, rgba(37,150,190,.05) 100%);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.vorteile-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.vorteile-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.vorteile-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
}
.vorteile-item svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* ── Responsive Rollen ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .rollen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rollen-grid { grid-template-columns: 1fr; }
  .prozess-steps { gap: 8px; }
  .prozess-step { min-width: 60px; }
  .prozess-step span { font-size: .68rem; max-width: 64px; }
  .prozess-arrow { font-size: 1rem; }
  .vorteile-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
}

