/* ============================================================
   VideoWorkly Master CSS – v4 (fixes)
   ============================================================ */
:root {
  --brand-1: #EF4623;
  --brand-2: #FDC012;
  --grad-brand: linear-gradient(135deg, #EF4623 0%, #FDC012 100%);

  /* Dark (Default) */
  --bg: #0B0B0E;
  --bg-soft: #14141A;
  --bg-card: #181820;
  --bg-elev: #1F1F29;
  --text: #FAFAF7;
  --text-mute: #B5B5C2;
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.18);
  --shadow-1: 0 6px 24px rgba(0,0,0,.30);
  --shadow-2: 0 14px 40px rgba(0,0,0,.40);

  /* Pill auf Dark – als Box gestaltet, mit kräftigem Orange */
  --pill-bg: rgba(239, 70, 35, 0.18);
  --pill-text: #FDC012;
  --pill-border: rgba(253,192,18,.45);

  --link: #FDC012;
  --link-hover: #FFFFFF;

  --container: 1180px;
  --container-wide: 1320px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --fs-h1: clamp(1.85rem, 1.4rem + 2.2vw, 3.0rem);
  --fs-h2: clamp(1.45rem, 1.2rem + 1.2vw, 2.0rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --fs-lead: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);

  /* Kompakteres Spacing */
  --sec-pad-y: clamp(36px, 4.5vw, 60px);
  --sec-gap-sm: clamp(20px, 2.5vw, 32px);
  --sec-gap: clamp(28px, 3.5vw, 44px);
}

[data-theme="light"] {
  --bg: #FAFAF7;
  --bg-soft: #F2F1EC;
  --bg-card: #FFFFFF;
  --bg-elev: #FFFFFF;
  --text: #15151B;
  --text-mute: #545464;
  --border: rgba(20,20,28,0.10);
  --border-strong: rgba(20,20,28,0.18);
  --shadow-1: 0 4px 14px rgba(20,20,28,.06);
  --shadow-2: 0 14px 38px rgba(20,20,28,.10);

  /* Im Light-Mode: kräftige Orange-Box mit dunklerem Text */
  --pill-bg: rgba(239, 70, 35, 0.13);
  --pill-text: #A82B0E;
  --pill-border: rgba(239, 70, 35, 0.55);

  --link: #A82B0E;
  --link-hover: #EF4623;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  position: relative;
  min-height: 100%;
}
body {
  margin: 0;
  font-family: 'Sora', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.55;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ============================================================
   GLOW-LAYER – wandert MIT dem Scroll, ist auf JEDER Sektion sichtbar.
   Kein "abrupte schwarze Linie" mehr beim Übergang zwischen Sektionen.

   Aufbau: 4 Glow-Punkte (2 orange, 2 gelb) verteilt rechts/links
   in zwei Reihen, plus eine sanfte Pulse-Animation auf beiden Seiten.
   ============================================================ */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
/* Orange-Rot oben rechts */
.bg-glow .g1 {
  width: 600px; height: 600px;
  top: -180px; right: -200px;
  background: radial-gradient(circle, rgba(239,70,35,.40), transparent 65%);
  animation: glowFloat1 14s ease-in-out infinite;
}
/* Gelb unten links */
.bg-glow .g2 {
  width: 540px; height: 540px;
  bottom: -160px; left: -180px;
  background: radial-gradient(circle, rgba(253,192,18,.34), transparent 65%);
  animation: glowFloat2 16s ease-in-out infinite;
}
/* Zweites Orange in der Mitte links */
.bg-glow .g3 {
  width: 380px; height: 380px;
  top: 40vh; left: -120px;
  background: radial-gradient(circle, rgba(239,70,35,.22), transparent 65%);
  animation: glowFloat3 18s ease-in-out infinite;
}
/* Zweites Gelb in der Mitte rechts */
.bg-glow .g4 {
  width: 420px; height: 420px;
  top: 60vh; right: -140px;
  background: radial-gradient(circle, rgba(253,192,18,.20), transparent 65%);
  animation: glowFloat4 20s ease-in-out infinite;
}

@keyframes glowFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .9; }
  50%      { transform: translate(-30px, 40px) scale(1.12); opacity: 1; }
}
@keyframes glowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .85; }
  50%      { transform: translate(40px, -30px) scale(1.10); opacity: 1; }
}
@keyframes glowFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .7; }
  50%      { transform: translate(30px, -50px) scale(1.18); opacity: 1; }
}
@keyframes glowFloat4 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .75; }
  50%      { transform: translate(-30px, 40px) scale(1.12); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-glow span { animation: none !important; }
}

/* Light-Mode: deutlich dezenter */
[data-theme="light"] .bg-glow .g1 { background: radial-gradient(circle, rgba(239,70,35,.18), transparent 65%); }
[data-theme="light"] .bg-glow .g2 { background: radial-gradient(circle, rgba(253,192,18,.14), transparent 65%); }
[data-theme="light"] .bg-glow .g3 { background: radial-gradient(circle, rgba(239,70,35,.10), transparent 65%); }
[data-theme="light"] .bg-glow .g4 { background: radial-gradient(circle, rgba(253,192,18,.09), transparent 65%); }

/* Inhalt MUSS über den Glows liegen */
.site-header,
.mobile-menu,
main,
.site-footer,
.cookie-banner,
.promo-popup,
.to-top { position: relative; z-index: 1; }

/* Hero und alle Sektionen: KEIN eigener bg, transparent, damit Glows durchscheinen */
.hero, section, .workflow, .toolkit { background: transparent !important; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--link-hover); }

h1, h2, h3, h4 {
  font-family: inherit; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.18;
  margin: 0 0 .45rem; color: var(--text);
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 .85rem; color: var(--text); }
p.lead { font-size: var(--fs-lead); color: var(--text-mute); max-width: 60ch; margin: 0 0 1.15rem; }
ul, ol { color: var(--text); padding-left: 1.2rem; margin: 0 0 .85rem; }
li + li { margin-top: .3rem; }
small { color: var(--text-mute); }
::selection { background: var(--brand-1); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px); }
.container-wide { max-width: var(--container-wide); }
.text-center { text-align: center; }
.muted { color: var(--text-mute); }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--text); font-size: 1.05rem; }
.brand svg { width: 36px; height: 36px; }
.brand:hover { color: var(--text); }
.brand-name { white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; padding: 6px 0 12px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; padding: .35rem 0; position: relative; }
.nav-links a:hover { color: var(--brand-2); }
.nav-links a.active { color: var(--brand-2); font-weight: 700; }
/* NEU: Kreis-Indikator statt Strich (User-Wunsch) */
.nav-links a.active::after {
  content: ""; position: absolute;
  left: 50%; bottom: -10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-1);
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px rgba(239,70,35,.18);
}

.has-dropdown { position: relative; }
/* Hover-Brücke zum Mega-Menü, damit die Maus nicht abreißt */
.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 18px;
  background: transparent;
  pointer-events: auto;
}
.has-dropdown > a::after {
  content: ""; display: inline-block; width: 7px; height: 7px;
  margin-left: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.has-dropdown > a.active::after {
  /* Aktiver Leistungen-Link: Chevron weg, der Kreis-Indikator unten reicht */
  display: none;
}

/* ==== KLASSISCHES DROPDOWN (Fallback, nicht mehr benutzt aber Code bleibt) ==== */
.dropdown {
  position: absolute; top: 100%; left: 0;
  margin-top: 12px;
  background: var(--bg-elev); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-2); border-radius: var(--radius);
  padding: .5rem; min-width: 280px;
  display: none; flex-direction: column;
  z-index: 60;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: flex; }
.has-dropdown:hover > a::after { transform: rotate(-135deg) translateY(2px); }
.dropdown a { padding: .55rem .75rem; border-radius: 10px; font-size: .92rem; color: var(--text); font-weight: 500; }
.dropdown a:hover { background: var(--bg-soft); color: var(--brand-2); }
.dropdown a.active {
  background: rgba(239,70,35,.12);
  color: var(--brand-2);
  font-weight: 700;
  border-left: 3px solid var(--brand-1);
}
[data-theme="light"] .dropdown a.active { background: rgba(239,70,35,.10); color: #A82B0E; }

/* ==== MEGA-MENÜ (mynd-Style: 4 Spalten × 3 Reihen mit Tagline) ==== */
.has-megamenu { position: relative; }
/* Unsichtbare Hover-Brücke ÜBER und UNTER dem Trigger, damit der Maus-Weg
   zum Menü nie abreißt. ::before deckt die ganze Breite des Mega-Menüs ab. */
.has-megamenu::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 92vw);
  height: 30px;
  background: transparent;
  pointer-events: none;
}
.has-megamenu:hover::before,
.has-megamenu:focus-within::before { pointer-events: auto; }

.mega-menu {
  /* DEFAULT: vollständig versteckt – Safety-Net gegen CSS-Caching */
  display: none;
  position: fixed; /* fixed statt absolute: am Viewport ausgerichtet, kann nicht abgeschnitten werden */
  top: 70px; /* knapp unter Header-Höhe */
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: clamp(320px, 96vw, 1180px);
  max-width: 1180px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  border-radius: 20px;
  padding: 28px 28px 18px;
  z-index: 80;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}
.has-megamenu:hover .mega-menu,
.has-megamenu:focus-within .mega-menu,
.has-megamenu.is-open .mega-menu {
  display: block;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 18px;
}
.mega-cell {
  display: flex; flex-direction: column;
  padding: 14px 14px 14px 14px;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  border-left: 3px solid transparent;
  transition: background .18s, border-color .18s, transform .18s;
}
.mega-cell:hover {
  background: rgba(239,70,35,.08);
  border-left-color: var(--brand-1);
  transform: translateX(2px);
}
.mega-cell.is-active {
  background: rgba(239,70,35,.10);
  border-left-color: var(--brand-1);
}
.mega-cell-title {
  font-weight: 700; font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.25;
}
.mega-cell.is-active .mega-cell-title,
.mega-cell:hover .mega-cell-title { color: var(--brand-2); }
.mega-cell-tag {
  font-size: .82rem;
  color: var(--text-mute);
  line-height: 1.35;
}
.mega-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  text-align: right;
}
.mega-view-all {
  font-size: .92rem;
  font-weight: 600;
  color: var(--brand-2);
}
.mega-view-all:hover { color: var(--brand-1); }

[data-theme="light"] .mega-menu {
  background: #FFFFFF;
  border-color: rgba(20,20,28,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
[data-theme="light"] .mega-cell:hover { background: rgba(239,70,35,.06); }
[data-theme="light"] .mega-cell.is-active { background: rgba(239,70,35,.08); }
[data-theme="light"] .mega-cell.is-active .mega-cell-title,
[data-theme="light"] .mega-cell:hover .mega-cell-title { color: #A82B0E; }

@media (max-width: 1100px) {
  .mega-menu {
    width: clamp(320px, 94vw, 980px);
    padding: 22px 18px 14px;
  }
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  /* Mega-Menü ist nur Desktop – Mobile nutzt das ausklappbare Mobile-Menü */
  .mega-menu { display: none !important; }
}

.nav-actions { display: flex; align-items: center; gap: .55rem; }
.lang-switch {
  display: inline-flex; gap: 0; align-items: center;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px; font-size: .78rem;
}
.lang-switch a {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--text-mute);
  font-weight: 600;
  line-height: 1;
  transition: background .15s, color .15s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active { background: var(--grad-brand); color: #fff; }
@media (max-width: 1200px) {
  .lang-switch { font-size: .74rem; }
  .lang-switch a { padding: 4px 6px; }
}

/* ============================================================
   LANG-DROPDOWN (Welt-Icon mit ausklappbarer Liste – User-Wunsch)
   ============================================================ */
.lang-dropdown { position: relative; display: inline-block; }
.lang-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit; font-weight: 600; font-size: .82rem;
  cursor: pointer;
  line-height: 1;
  transition: border-color .15s, color .15s;
}
.lang-dropdown-toggle:hover { border-color: var(--brand-2); color: var(--brand-2); }
.lang-dropdown-toggle svg { flex-shrink: 0; }
.lang-dropdown-toggle .lang-current { font-weight: 700; }
.lang-dropdown-toggle .lang-chevron {
  font-size: .7rem;
  transition: transform .2s;
  opacity: .7;
}
.lang-dropdown.is-open .lang-dropdown-toggle .lang-chevron { transform: rotate(180deg); }

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 80;
}
.lang-dropdown.is-open .lang-dropdown-menu { display: flex; }
.lang-dropdown-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}
.lang-dropdown-menu a:hover {
  background: rgba(239,70,35,.10);
  color: var(--brand-2);
}
[data-theme="light"] .lang-dropdown-menu { background: #FFFFFF; border-color: rgba(20,20,28,.10); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.theme-toggle {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.theme-toggle:hover { border-color: var(--brand-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.theme-toggle .theme-label { display: none; }

/* Footer-Variante: schmaler, mit Label */
.theme-toggle-footer {
  width: auto; height: auto;
  padding: 6px 12px;
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-mute);
  font-family: inherit; font-size: .85rem;
}
.theme-toggle-footer .theme-label { display: inline; }
.theme-toggle-footer:hover { color: var(--brand-2); }

/* MENU-TOGGLE – größer, mit MENÜ-Label */
.menu-toggle {
  display: none;
  align-items: center; gap: .4rem;
  height: 44px; padding: 0 14px;
  background: var(--bg-soft); border: 1px solid var(--border-strong);
  border-radius: 12px; color: var(--text); cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: .85rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.menu-toggle:hover { border-color: var(--brand-2); color: var(--brand-2); }
.menu-toggle svg { width: 22px; height: 22px; }

.cta-nav {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: 9px 14px; border-radius: 999px;
  background: var(--grad-brand); color: #fff;
  font-weight: 600; font-size: .86rem;
  white-space: nowrap; line-height: 1.1;
  flex-shrink: 0;
}
.cta-nav svg { width: 14px; height: 14px; }
.cta-nav:hover { color: #fff; transform: translateY(-1px); }

/* Bei mittleren Bildschirmen: CTA-Text kürzen */
@media (max-width: 1100px) and (min-width: 861px) {
  .nav-actions .cta-nav { padding: 9px 12px; font-size: .82rem; }
}

/* MOBILE MENU – nutzt visibility/opacity statt display, damit Touch-Events
   nicht "verloren gehen" wenn das Menü gerade auf-/zuklappt */
/* Halbtransparenter Overlay HINTER dem Mobile-Menü-Drawer */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  /* Half-Screen-Drawer rechts (User-Wunsch wie auf der mynd-Style-Referenz) */
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw);
  height: 100vh; height: 100dvh;
  background: var(--bg-elev);
  border-left: 1px solid var(--border-strong);
  box-shadow: -20px 0 60px rgba(0,0,0,.45);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity .22s ease, transform .28s ease, visibility 0s linear .28s;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  transition: opacity .22s ease, transform .28s ease, visibility 0s linear 0s;
}
.mobile-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 4vw, 28px);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-close {
  width: 44px; height: 44px;
  background: var(--bg-soft); border: 1px solid var(--border-strong);
  border-radius: 12px; color: var(--text); cursor: pointer;
  display: grid; place-items: center;
}
.mobile-menu-close svg { width: 22px; height: 22px; }
.mobile-menu-list {
  list-style: none; padding: 8px clamp(16px, 4vw, 28px) 20px;
  margin: 0; display: flex; flex-direction: column; gap: 0;
  flex: 1;
}
.mobile-menu-list > li { border-bottom: 1px solid var(--border); margin: 0; }
.mobile-menu-list > li:last-child { border-bottom: 0; }
.mobile-menu-list a, .mobile-menu-list .mlink {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px; font-size: 1.22rem; font-weight: 600;
  color: var(--text); text-decoration: none;
  width: 100%; background: none; border: 0; cursor: pointer;
  font-family: inherit; text-align: left;
}
.mobile-menu-list a:hover { color: var(--brand-2); }

.mobile-sub-toggle { display: flex; align-items: center; justify-content: space-between; }
.mobile-sub-toggle .chev {
  width: 12px; height: 12px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg); transition: transform .25s;
  margin-right: 6px;
}
.mobile-sub.is-open .chev { transform: rotate(-135deg); }
.mobile-sub-list { list-style: none; margin: 0 0 12px; padding: 0 0 8px 0; display: none; }
.mobile-sub.is-open .mobile-sub-list { display: block; }
.mobile-sub-list li { border: 0; }
.mobile-sub-list a {
  padding: 13px 4px 13px 18px; font-size: 1.02rem; font-weight: 500;
  color: var(--text-mute); border-left: 2px solid var(--brand-1); margin-left: 4px;
}
.mobile-sub-list a::before { content: "›"; margin-right: 10px; color: var(--brand-2); }
.mobile-sub-list a.active { color: var(--brand-2); font-weight: 700; border-left-color: var(--brand-2); border-left-width: 4px; }
[data-theme="light"] .mobile-sub-list a.active { color: #A82B0E; }

.mobile-menu-footer {
  padding: 20px clamp(16px, 4vw, 28px) 28px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px; flex-shrink: 0;
}
.mobile-menu-footer .lang-switch { align-self: flex-start; }
.mobile-menu-footer .cta-nav { justify-content: center; padding: 14px 18px; font-size: 1rem; }

body.menu-locked { overflow: hidden; }

/* HERO */
.hero {
  padding: clamp(32px, 4vw, 56px) 0 clamp(36px, 4vw, 56px);
  position: relative;
}
/* Hero-Glows komplett entfernt – die globalen .bg-glow-Layer übernehmen das */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: center;
}
/* Wenn KEIN visual rechts: Hero-Grid hat nur 1 Spalte = volle Breite für Text */
.hero-grid.no-visual { grid-template-columns: 1fr; }
.hero h1 {
  margin-bottom: .5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero p.lead { margin-bottom: 1.1rem; max-width: 65ch; }
.hero-ctas { display: flex; gap: .65rem; flex-wrap: wrap; }

/* Animierte Hero-Visual */
.hero-visual {
  position: relative; aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 25%, rgba(253,192,18,.22), transparent 55%),
    linear-gradient(160deg, #2A1E1A 0%, #0F0F14 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-2);
  display: grid; place-items: center;
  overflow: hidden;
}
[data-theme="light"] .hero-visual {
  background:
    radial-gradient(circle at 30% 25%, rgba(239,70,35,.12), transparent 55%),
    linear-gradient(160deg, #FFF6EE 0%, #F5F1E8 100%);
}
.hero-visual .play-emblem {
  width: 100px; height: 100px;
  background: var(--grad-brand);
  border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 14px 40px rgba(239,70,35,.55);
  position: relative; z-index: 2;
  animation: pulse 2.6s ease-in-out infinite;
}
.hero-visual .play-emblem svg { width: 40px; height: 40px; color: #fff; margin-left: 4px; }
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 14px 40px rgba(239,70,35,.45); }
  50%      { transform: scale(1.06); box-shadow: 0 18px 50px rgba(239,70,35,.65); }
}
/* Konzentrische ringe */
.hero-visual::before, .hero-visual::after {
  content: ""; position: absolute;
  left: 50%; top: 50%;
  width: 140px; height: 140px;
  margin-left: -70px; margin-top: -70px;
  border: 2px solid rgba(253,192,18,.30);
  border-radius: 50%;
  animation: ring 3s ease-out infinite;
}
.hero-visual::after { animation-delay: 1.5s; }
@keyframes ring {
  0%   { transform: scale(.6); opacity: .8; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* EYEBROW – als Box, kontrastreich in Light + Dark */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: 6px 14px;
  background: var(--pill-bg);
  color: var(--pill-text);
  border: 1.5px solid var(--pill-border);
  border-radius: 999px;
  font-size: .78rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: .65rem;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-1); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  font-family: inherit; white-space: nowrap;
  width: auto !important; max-width: max-content;
  line-height: 1.1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 28px rgba(239,70,35,.30); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand-2); }
[data-theme="light"] .btn-ghost { border-color: rgba(20,20,28,.30); color: #15151B; }
.btn-block { width: 100% !important; max-width: none; justify-content: center; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }

/* SECTIONS */
section { padding: var(--sec-pad-y) 0; }
.section-head { text-align: center; margin-bottom: var(--sec-gap-sm); }
.section-head h2 { margin-bottom: .45rem; }
.section-head p.lead { margin: 0 auto; max-width: 920px; }

/* SERVICES GRID */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 20px 22px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); text-decoration: none; position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
  isolation: isolate;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(239,70,35,.06), rgba(253,192,18,.04));
  opacity: 0; transition: opacity .25s; z-index: -1;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--brand-2); box-shadow: var(--shadow-2); color: var(--text); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(239,70,35,.14);
  color: var(--brand-1); margin-bottom: .25rem;
}
[data-theme="light"] .service-icon { background: rgba(239,70,35,.13); color: #A82B0E; }
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.service-card p { margin: 0; color: var(--text-mute); font-size: .92rem; }
.service-card .arrow {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--link); font-weight: 700; font-size: .88rem;
  padding-top: .55rem;
  border-top: 1px dashed var(--border);
  margin-top: .65rem;
}
.service-card:hover .arrow { color: var(--link-hover); }
.service-card .arrow svg { width: 14px; height: 14px; transition: transform .2s; }
.service-card:hover .arrow svg { transform: translateX(3px); }

/* FEATURE LIST */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.feature-list li { position: relative; padding-left: 1.6rem; color: var(--text); font-size: .96rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 14px; height: 14px; background: var(--grad-brand); border-radius: 4px;
}
.feature-list li::after {
  content: ""; position: absolute; left: 3px; top: .65em;
  width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* WORKFLOW */
.workflow { background: transparent; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 16px; }
.step { text-align: left; padding: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.step-num {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-weight: 800;
  border-radius: 50%; margin-bottom: .75rem;
  box-shadow: 0 8px 24px rgba(239,70,35,.30);
}
.step h3 { font-size: 1rem; margin: 0 0 .3rem; }
.step p { font-size: .88rem; color: var(--text-mute); margin: 0; }

/* TESTIMONIALS – kompakter */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testimonial {
  padding: 18px 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: .7rem;
}
.testimonial .stars { color: var(--brand-2); letter-spacing: 1px; font-size: .9rem; }
.testimonial blockquote { margin: 0; font-size: .94rem; color: var(--text); line-height: 1.52; }
.testimonial cite {
  display: flex; align-items: center; gap: .65rem;
  font-style: normal; margin-top: auto;
  padding-top: .55rem; border-top: 1px solid var(--border);
}
.testimonial .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-brand); color: #fff;
  font-weight: 700; font-size: .82rem; flex-shrink: 0;
}
.testimonial .who-name { font-weight: 700; font-size: .88rem; }
.testimonial .who-role { font-size: .78rem; color: var(--text-mute); }

/* TRUST CARDS – kompakteres Layout, kleinere Icons */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-card {
  padding: 20px 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: .4rem;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.trust-card:hover { transform: translateY(-2px); border-color: var(--brand-1); box-shadow: 0 8px 24px rgba(239,70,35,.18); }
.trust-card .ic-wrap {
  width: 36px; height: 36px;
  border-radius: 10px; display: grid; place-items: center;
  background: rgba(239,70,35,.13); color: var(--brand-1);
}
[data-theme="light"] .trust-card .ic-wrap { background: rgba(239,70,35,.12); color: #A82B0E; }
.trust-card .ic-wrap svg { width: 18px; height: 18px; }
.trust-card .num {
  font-size: 1.35rem; font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.trust-card h3 { font-size: .98rem; margin: 0; }
.trust-card p { margin: 0; color: var(--text-mute); font-size: .85rem; line-height: 1.5; }

/* TOOLS PAGE – 4 Spalten breiter, Orange-Hover (nicht gelb) */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; background: var(--bg-card);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-1);
  box-shadow: 0 8px 24px rgba(239,70,35,.18);
}
.tool-card .tool-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: .9rem;
}
.tool-card h3 { font-size: .95rem; margin: 0 0 .15rem; }
.tool-card p { font-size: .82rem; color: var(--text-mute); margin: 0; line-height: 1.45; }

/* SERVICE-DETAIL: FEATURE-BOXES (orange Hover) */
.feat-boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feat-box {
  padding: 16px 18px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; gap: .85rem; align-items: flex-start;
  transition: border-color .25s, transform .25s;
}
.feat-box:hover { border-color: var(--brand-1); transform: translateY(-1px); }
.feat-box .check {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 8px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff;
}
.feat-box .check svg { width: 16px; height: 16px; }
.feat-box .txt { font-size: .94rem; line-height: 1.45; }

/* FAQ – breiter, mit linker orangener Markierung (bleibt beim Scrollen sichtbar) */
.faq-list { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-1);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-1); }
.faq-item[open] { border-left-color: var(--brand-2); box-shadow: var(--shadow-1); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 16px 22px; font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1;
  color: var(--brand-1); transition: transform .2s; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; color: var(--brand-2); }
[data-theme="light"] .faq-item[open] summary::after { color: #A82B0E; }
.faq-body { padding: 0 22px 18px; color: var(--text-mute); font-size: .95rem; }
.faq-body p { color: var(--text-mute); margin: 0 0 .5rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--text);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-3px); border-color: var(--brand-1); box-shadow: 0 8px 24px rgba(239,70,35,.18); color: var(--text); }
.blog-card .thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2A1E1A 0%, #181820 100%);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
[data-theme="light"] .blog-card .thumb { background: linear-gradient(135deg, #FFF6EE 0%, #F2EBE2 100%); }
.blog-card .thumb::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(239,70,35,.35), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(253,192,18,.20), transparent 45%);
}
.blog-card .thumb .thumb-ic {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--grad-brand); border-radius: 14px;
  position: relative; z-index: 2;
  color: #fff; box-shadow: 0 12px 30px rgba(239,70,35,.40);
}
.blog-card .thumb .thumb-ic svg { width: 26px; height: 26px; }
.blog-card .body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.blog-card .meta { font-size: .74rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.blog-card h3 { font-size: 1.02rem; margin: 0; line-height: 1.35; }
.blog-card p { font-size: .88rem; color: var(--text-mute); margin: .2rem 0 0; line-height: 1.5; }
.blog-card .arrow {
  margin-top: auto; padding-top: .8rem;
  font-weight: 700; color: var(--link); font-size: .85rem;
  display: inline-flex; align-items: center; gap: .3rem;
}
.blog-card .arrow svg { width: 14px; height: 14px; transition: transform .2s; }
.blog-card:hover .arrow svg { transform: translateX(3px); }

/* ARTICLE */
.article { max-width: 1080px; margin: 0; padding: 0; }
.article h2 { margin-top: 1.6rem; }
.article h3 { margin-top: 1.3rem; }
.article p, .article li { font-size: 1rem; line-height: 1.7; }
.article ul, .article ol { margin: .85rem 0 1.1rem; }
.article blockquote {
  margin: 1.1rem 0; padding: 1rem 1.25rem;
  background: var(--bg-soft); border-left: 4px solid var(--brand-1);
  border-radius: 8px; color: var(--text); font-style: italic;
}

/* REFS */
.refs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ref-tile {
  position: relative; aspect-ratio: 16/9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #181820, #2A1E1A);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  overflow: hidden; cursor: pointer;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
[data-theme="light"] .ref-tile { background: linear-gradient(135deg, #FFF6EE, #F5EFE3); }
.ref-tile:hover { transform: scale(1.02); border-color: var(--brand-2); box-shadow: 0 14px 40px rgba(239,70,35,.18); }
.ref-tile .play {
  width: 72px; height: 72px;
  background: var(--grad-brand); border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(239,70,35,.45);
  position: relative;
}
/* Animierter Puls-Ring um das Play-Symbol */
.ref-tile .play::before,
.ref-tile .play::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(239,70,35,.55);
  animation: refPulse 2.4s ease-out infinite;
}
.ref-tile .play::after { animation-delay: 1.2s; }
@keyframes refPulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ref-tile .play::before, .ref-tile .play::after { animation: none; }
}
.ref-tile .play svg { width: 28px; height: 28px; color: #fff; margin-left: 4px; }
.ref-tile .label {
  position: absolute; left: 12px; bottom: 12px;
  font-size: .82rem; color: var(--text); font-weight: 600;
  background: rgba(0,0,0,.62); padding: 5px 12px;
  border-radius: 999px; backdrop-filter: blur(6px);
}
[data-theme="light"] .ref-tile .label { background: rgba(255,255,255,.92); color: #15151B; }
/* Label "Beispielvideo" wird via HTML-data im .label-Element ausgegeben.
   Vorher hatten wir doppelt: ::before-Pseudo + HTML – jetzt nur noch HTML. */

@media (max-width: 780px) {
  .refs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ref-tile .play { width: 64px; height: 64px; }
  .ref-tile .play svg { width: 26px; height: 26px; }
}
@media (max-width: 480px) {
  .refs-grid { grid-template-columns: 1fr; }
  .ref-tile .play { width: 78px; height: 78px; }
  .ref-tile .play svg { width: 32px; height: 32px; }
}

/* SPLIT-BLOCK – Bild + Text wechselnd (mynd-Style) */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split-text h2 { margin-bottom: .85rem; line-height: 1.2; }
.split-text-body { color: var(--text-mute); font-size: 1.02rem; line-height: 1.65; }
.split-text-body p { margin: 0 0 .85rem; }
.split-text-body p:last-child { margin-bottom: 0; }
.split-text-body strong { color: var(--text); }
.split-list {
  list-style: none; padding: 0; margin: 0;
}
.split-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.split-list li:last-child { border-bottom: 0; }
.split-list li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad-brand);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"), var(--grad-brand);
  background-size: 12px 12px, cover;
  background-position: center;
  background-repeat: no-repeat;
}

.split-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(239,70,35,.10) 0%, rgba(253,192,18,.06) 100%);
  border: 1.5px solid rgba(239,70,35,.25);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .split-visual {
  background: linear-gradient(135deg, rgba(239,70,35,.08) 0%, rgba(253,192,18,.05) 100%);
  border-color: rgba(239,70,35,.20);
}
.split-visual-inner {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.split-visual-emblem {
  width: 90px; height: 90px;
  background: var(--grad-brand); border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 18px 50px rgba(239,70,35,.35);
  position: relative;
  animation: refPulse 2.4s ease-out infinite paused;
}
.split-visual-emblem::before,
.split-visual-emblem::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(239,70,35,.55);
  animation: refPulse 2.4s ease-out infinite;
}
.split-visual-emblem::after { animation-delay: 1.2s; }
.split-visual-emblem svg { width: 36px; height: 36px; color: #fff; margin-left: 4px; }
.split-visual-hint {
  font-size: .84rem; color: var(--text-mute); font-weight: 500;
  background: rgba(0,0,0,.45);
  padding: 5px 14px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
[data-theme="light"] .split-visual-hint { background: rgba(255,255,255,.85); color: #15151B; }

@media (max-width: 880px) {
  .split-block { grid-template-columns: 1fr; gap: 24px; }
  /* Auf Mobil immer: Bild ZUERST, dann Text – egal ob left/right gewählt war */
  .split-block .split-visual { order: -1; }
}

/* TOOLKIT */
.toolkit { background: transparent; }
.toolkit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tool {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 12px;
  text-align: center; font-weight: 600; font-size: .82rem;
  color: var(--text-mute); transition: border-color .2s, color .2s, transform .2s;
}
.tool:hover { border-color: var(--brand-2); color: var(--text); transform: translateY(-2px); }
.tool .icon {
  width: 36px; height: 36px; margin: 0 auto 6px;
  display: grid; place-items: center;
  background: var(--grad-brand); border-radius: 10px;
  color: #fff; font-weight: 800; font-size: .82rem;
}

/* CONTACT BOXES */
.contact-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 880px; margin: 0 auto; }
.contact-box {
  padding: 22px 24px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: .3rem;
  text-align: left; text-decoration: none; color: var(--text);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.contact-box:hover { border-color: var(--brand-2); transform: translateY(-2px); box-shadow: var(--shadow-2); color: var(--text); }
.contact-box .ic {
  width: 44px; height: 44px; background: rgba(239,70,35,.14);
  border-radius: 12px; display: grid; place-items: center;
  color: var(--brand-1); margin-bottom: .45rem;
}
[data-theme="light"] .contact-box .ic { background: rgba(239,70,35,.13); color: #A82B0E; }
.contact-box .ic svg { width: 22px; height: 22px; }
.contact-box .label { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); font-weight: 700; }
.contact-box .value { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.contact-box .hint { font-size: .82rem; color: var(--text-mute); margin-top: .1rem; }

/* FORM */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 780px; margin: 0 auto; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg-card); border: 1.5px solid var(--border-strong);
  border-radius: 10px; color: var(--text); font-family: inherit; font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); }
.field .err { color: #ff7a5e; font-size: .8rem; min-height: 1em; }
[data-theme="light"] .field .err { color: #B83312; }
.checkbox { display: flex; gap: .55rem; align-items: flex-start; font-size: .86rem; color: var(--text-mute); }
.checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.form-status { margin-top: 1rem; padding: 14px 16px; border-radius: 10px; font-size: .92rem; display: none; }
.form-status.is-ok { display: block; background: rgba(34,197,94,.10); color: #4ade80; border: 1px solid rgba(34,197,94,.30); }
[data-theme="light"] .form-status.is-ok { color: #16803c; }
.form-status.is-error { display: block; background: rgba(239,68,68,.10); color: #f87171; border: 1px solid rgba(239,68,68,.30); }
[data-theme="light"] .form-status.is-error { color: #b91c1c; }

/* CAPTCHA */
.captcha-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: var(--bg-soft);
  border: 1.5px solid var(--border-strong); border-radius: 12px;
  flex-wrap: wrap;
}
.captcha-row .q { font-weight: 700; font-size: 1.05rem; }
.captcha-row input { max-width: 110px; }

/* FOOTER */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 48px 0 20px; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); margin: 0 0 .8rem; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-col ul a { color: var(--text); font-size: .88rem; font-weight: 500; }
.footer-col ul a:hover { color: var(--brand-2); }
.footer-col ul button {
  background: none; border: 0; cursor: pointer; padding: 0; text-align: left;
  color: var(--text); font-size: .88rem; font-weight: 500; font-family: inherit;
}
.footer-col ul button:hover { color: var(--brand-2); }
.footer-brand-line { display: flex; align-items: center; gap: .55rem; margin-bottom: .6rem; font-weight: 700; color: var(--text); }
.footer-brand-line svg { width: 28px; height: 28px; }
.footer-col p { font-size: .88rem; color: var(--text-mute); margin: 0 0 .8rem; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .7rem;
  padding-top: 16px; border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--text-mute);
}
.footer-bottom a, .footer-bottom button {
  color: var(--text-mute); background: none; border: 0;
  cursor: pointer; padding: 0; font: inherit;
}
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--brand-2); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }

/* COOKIE-BANNER – moderat breit (etwa 640 px max) */
.cookie-banner {
  position: fixed; left: 50%; bottom: 16px;
  transform: translateX(-50%);
  z-index: 9000;
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 24px 26px;
  width: calc(100% - 32px); max-width: 640px;
  display: none;
}
.cookie-banner.is-visible { display: block; animation: cookieIn .35s ease-out; }
@keyframes cookieIn {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}
.cookie-banner h3 { margin: 0 0 .35rem; font-size: 1.08rem; display: flex; align-items: center; gap: .5rem; }
.cookie-banner h3::before { content: "🍪"; font-size: 1.25rem; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; color: var(--text-mute); }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 16px; font-size: .87rem; flex: 1; min-width: 120px; justify-content: center; }
.cookie-options { display: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.cookie-banner.is-options-open .cookie-options { display: block; }
.cookie-options .opt {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border); gap: 1rem;
}
.cookie-options .opt:last-child { border-bottom: 0; }
.cookie-options .opt strong { font-size: .9rem; }
.cookie-options .opt small { display: block; color: var(--text-mute); font-size: .78rem; }
.toggle {
  position: relative; width: 40px; height: 22px;
  background: var(--bg-elev); border: 1px solid var(--border-strong);
  border-radius: 999px; cursor: pointer; flex-shrink: 0;
}
.toggle::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text-mute);
  transition: left .2s, background .2s;
}
.toggle.is-on { background: var(--grad-brand); border-color: transparent; }
.toggle.is-on::after { left: 20px; background: #fff; }
.toggle[aria-disabled="true"] { opacity: .65; cursor: not-allowed; }

/* CTA-BANNER (Mid-page Conversion-Boost) */
.cta-banner-section { padding: clamp(28px, 4vw, 44px) 0; }
.cta-banner-card {
  background: linear-gradient(135deg, rgba(239,70,35,.10) 0%, rgba(253,192,18,.08) 100%);
  border: 1.5px solid rgba(239,70,35,.30);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
[data-theme="light"] .cta-banner-card {
  background: linear-gradient(135deg, rgba(239,70,35,.08) 0%, rgba(253,192,18,.06) 100%);
  border-color: rgba(239,70,35,.35);
}

/* NEWSLETTER PAGE – 2-column layout */
.newsletter-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: start;
}
.newsletter-form-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 28px 24px;
  box-shadow: var(--shadow-1); position: sticky; top: 90px;
}
@media (max-width: 900px) {
  .newsletter-2col { grid-template-columns: 1fr; }
  .newsletter-form-box { position: static; }
}

/* 10% PROMO POPUP */
.promo-popup {
  position: fixed; right: 18px; bottom: 80px;
  width: 320px; max-width: calc(100% - 36px);
  background: var(--bg-card);
  border: 1.5px solid var(--brand-1);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: 0 18px 50px rgba(239,70,35,.30);
  z-index: 8000;
  opacity: 0; transform: translateY(20px) scale(.96);
  pointer-events: none; visibility: hidden;
  transition: opacity .35s, transform .35s, visibility 0s linear .35s;
}
.promo-popup.is-visible {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto; visibility: visible;
  transition: opacity .35s, transform .35s, visibility 0s linear 0s;
}
.promo-popup .promo-badge {
  position: absolute; top: -14px; left: 22px;
  background: var(--grad-brand); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-weight: 800; font-size: .9rem;
  box-shadow: 0 6px 18px rgba(239,70,35,.40);
}
.promo-popup h3 { font-size: 1.05rem; margin: .35rem 0 .45rem; padding-right: 28px; }
.promo-popup p { font-size: .87rem; color: var(--text-mute); margin: 0 0 .85rem; line-height: 1.5; }
.promo-popup .btn { font-size: .9rem; padding: 10px 18px; }
.promo-close {
  position: absolute; top: 8px; right: 10px;
  width: 28px; height: 28px; border: 0; background: transparent;
  color: var(--text-mute); font-size: 1.5rem; line-height: 1; cursor: pointer;
  border-radius: 6px;
}
.promo-close:hover { color: var(--brand-1); background: var(--bg-soft); }

@media (max-width: 640px) {
  .newsletter { grid-template-columns: 1fr; }
  .promo-popup { right: 12px; left: 12px; bottom: 70px; width: auto; }
}

/* SCROLL-TO-TOP */
.to-top {
  position: fixed; right: 18px; bottom: 18px;
  width: 44px; height: 44px;
  background: var(--grad-brand); color: #fff;
  border: 0; border-radius: 50%;
  box-shadow: 0 12px 30px rgba(239,70,35,.40);
  cursor: pointer; display: grid; place-items: center;
  opacity: 0; transform: translateY(20px) scale(.85); pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 40;
}
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* REVEAL – Content ist immer sichtbar (opacity 1). Wenn IntersectionObserver
   feuert, wird is-shown gesetzt; das hat optisch fast keinen Effekt mehr,
   aber stellt sicher, dass NIEMALS Inhalt unsichtbar bleibt, wenn JS nicht lädt
   oder der Beobachter eine Sektion verfehlt. */
.reveal { opacity: 1; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.reveal.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-visual::before, .hero-visual::after, .hero-visual .play-emblem { animation: none; }
}

/* RESPONSIVE */
@media (min-width: 1600px) { :root { --container: 1320px; } }

@media (max-width: 1024px) {
  .services, .blog-grid, .testimonials-grid, .refs-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .toolkit-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .nav-links, .has-dropdown { display: none; }
  .menu-toggle { display: inline-flex; }
  .cta-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .services, .blog-grid, .testimonials-grid, .refs-grid, .trust-grid, .tools-grid, .feat-boxes, .feature-list,
  .workflow-grid, .contact-boxes { grid-template-columns: 1fr; }
  .toolkit-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-banner { padding: 20px 22px; }
  .cookie-actions .btn { flex: 1 1 100%; }
  section { padding: clamp(32px, 6vw, 48px) 0; }
}

@media (max-width: 380px) {
  .brand-name { display: none; }
  .lang-switch { font-size: .76rem; }
  .toolkit-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle span:not(:empty) { display: none; }
}

/* ============================================================
   RTL-LAYOUT (Arabisch) – komplette Spiegelung
   Wird angewendet wenn html[dir="rtl"] gesetzt ist (siehe page_template)
   ============================================================ */
html[dir="rtl"] {
  font-family: 'Cairo', 'Tajawal', 'Sora', system-ui, -apple-system, sans-serif;
}
html[dir="rtl"] body {
  font-family: 'Cairo', 'Tajawal', 'Sora', system-ui, -apple-system, sans-serif;
  text-align: right;
}

/* Pfeil-Icons in CTAs spiegeln */
html[dir="rtl"] .btn svg,
html[dir="rtl"] .cta-nav svg,
html[dir="rtl"] .arrow svg,
html[dir="rtl"] .mega-view-all,
html[dir="rtl"] .service-card .arrow {
  transform: scaleX(-1);
}
html[dir="rtl"] .mega-view-all { display: inline-block; }

/* Mobile-Menu öffnet jetzt von LINKS statt rechts */
html[dir="rtl"] .mobile-menu {
  right: auto;
  left: 0;
  border-left: 0;
  border-right: 1px solid var(--border-strong);
  box-shadow: 20px 0 60px rgba(0,0,0,.45);
  transform: translateX(-20px);
}
html[dir="rtl"] .mobile-menu.is-open { transform: translateX(0); }

/* Lang-Dropdown öffnet von links */
html[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

/* Mega-Menü: rechts-bündig */
html[dir="rtl"] .mega-grid {
  direction: rtl;
}
html[dir="rtl"] .mega-cell {
  text-align: right;
}

/* Footer-Spalten: bei RTL natürlich gespiegelt durch dir */
html[dir="rtl"] .footer-grid {
  direction: rtl;
}

/* Hero CTAs */
html[dir="rtl"] .hero-ctas {
  direction: rtl;
}

/* Reveal-Animations: Translate-X umkehren */
html[dir="rtl"] .reveal {
  /* Falls eine Animation auf X bewegt, in RTL umkehren */
}

/* Checkboxen und Form-Inputs: Padding spiegeln */
html[dir="rtl"] input[type="text"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  text-align: right;
}

/* Cookie-Banner-Aktionen RTL */
html[dir="rtl"] .cookie-actions {
  direction: rtl;
}

/* Eyebrow & Service-Card */
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .service-card,
html[dir="rtl"] .feat-box {
  text-align: right;
}
html[dir="rtl"] .eyebrow .dot {
  margin-right: 0;
  margin-left: 8px;
}

/* Promo Popup links statt rechts auf Desktop */
html[dir="rtl"] .promo-popup {
  right: auto;
  left: 20px;
}
@media (max-width: 860px) {
  html[dir="rtl"] .promo-popup {
    right: 12px; left: 12px;
  }
}

/* To-Top Button links */
html[dir="rtl"] .to-top {
  right: auto;
  left: 20px;
}
