/* =========================================================
   FRANK KI · Globale Styles · Baukasten v1.0
   Alle Styles für ALLE Seiten. Hier ändern = überall ändern.
   ========================================================= */

:root {
  /* === Frank KI · Farbsystem v1.0 === */
  --petrol: #1F2D3D;
  --ink: #16212E;
  --slate: #5B6878;
  --burgund: #7B2C3E;
  --gold: #E8C547;
  --emerald: #2F8F5C;
  --alarm: #C8392A;
  --stone: #D6D3CC;
  --sand: #D8D0C2;
  --papier: #F4EFE6;
  --leinen: #FAF7F2;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-w: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

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

html, body {
  background: var(--leinen);
  color: var(--petrol);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

::selection { background: var(--gold); color: var(--petrol); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--papier); }
::-webkit-scrollbar-thumb { background: var(--petrol); }

/* =========================================================
   TYPOGRAFIE
   ========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.italic, em.italic, span.em {
  font-style: italic;
  color: var(--burgund);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-family: var(--font-display);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--burgund);
  font-weight: 500;
}

/* =========================================================
   NAV
   ========================================================= */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
nav.site-nav.scrolled { border-bottom-color: rgba(31, 45, 61, 0.1); }
nav.site-nav.on-dark {
  background: rgba(22, 33, 46, 0.6);
  color: var(--leinen);
}
nav.site-nav.on-dark .nav-logo { color: var(--leinen); }
nav.site-nav.on-dark .nav-links a { color: var(--leinen); }
nav.site-nav.on-dark.scrolled { background: rgba(22, 33, 46, 0.88); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--petrol);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}

.nav-logo-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--petrol);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.nav-logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--gold) 0%, transparent 55%);
  opacity: 0.7;
}
.nav-logo-mark span {
  position: relative;
  z-index: 1;
  color: var(--leinen);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--petrol);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--burgund);
  transition: width 0.35s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--burgund); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
nav.on-dark .nav-links a:hover, nav.on-dark .nav-links a.active { color: var(--gold); }
nav.on-dark .nav-links a::after { background: var(--gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  background: var(--petrol);
  color: var(--leinen);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(.2,.7,.3,1);
  z-index: 0;
}
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta span { position: relative; z-index: 1; transition: color 0.35s; }
.nav-cta:hover span { color: var(--petrol); }
nav.on-dark .nav-cta { background: var(--gold); color: var(--petrol); }
nav.on-dark .nav-cta::before { background: var(--leinen); }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--petrol); margin: 5px 0; transition: 0.3s; }
nav.on-dark .burger span { background: var(--leinen); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--petrol);
  z-index: 99;
  padding: 100px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer a {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  color: var(--leinen);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.mobile-drawer a:hover { color: var(--gold); }

/* =========================================================
   PAGE BAND (Top der Sub-Pages)
   ========================================================= */
.page-band {
  padding: 140px var(--gutter) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  position: relative;
}
.page-band .eyebrow { padding-top: 18px; }
.page-band h1 {
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.page-band h1 .em { font-style: italic; color: var(--burgund); font-variation-settings: "SOFT" 100, "WONK" 1; }
.page-band p.lead {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.45;
  max-width: 60ch;
  color: var(--ink);
}

/* =========================================================
   HERO (nur Home)
   ========================================================= */
.hero {
  position: relative;
  /* Höhe folgt dem Bild-Seitenverhältnis (2528x1684 ≈ 1.5:1)
     → Bild füllt immer 100% Breite ohne Crop → Köpfe in gleicher Proportion */
  width: 100%;
  aspect-ratio: 1.5 / 1;
  min-height: 640px;
  padding: 130px var(--gutter) 50px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--petrol);
  color: var(--leinen);
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.62) contrast(1.05) saturate(0.95);
}
.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,33,46,0.30) 0%, rgba(22,33,46,0.10) 28%, rgba(22,33,46,0.55) 65%, rgba(22,33,46,0.95) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 0.98  0 0 0 0 0.94  0 0 0 0.13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.hero-left .eyebrow {
  display: block;
  margin-bottom: 32px;
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--leinen);
  font-weight: 400;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 144;
}
.hero h1 .word { display: inline-block; vertical-align: top; }
.hero h1 .word > span { display: inline-block; }
.hero h1 .em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.hero-right { padding-bottom: 4px; }
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--papier);
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--papier);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 50%, transparent 100%);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0.4); transform-origin: bottom; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1);
}
.btn-primary {
  background: var(--petrol);
  color: var(--leinen);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(.2,.7,.3,1);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary > span { position: relative; z-index: 1; transition: color 0.35s; }
.btn-primary:hover > span { color: var(--petrol); }

.btn-gold {
  background: var(--gold);
  color: var(--petrol);
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--petrol);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(.2,.7,.3,1);
}
.btn-gold:hover::before { transform: translateY(0); }
.btn-gold > span { position: relative; z-index: 1; transition: color 0.35s; }
.btn-gold:hover > span { color: var(--gold); }

.btn-ghost {
  background: transparent;
  color: var(--leinen);
  border: 1px solid rgba(250, 247, 242, 0.3);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-ghost.dark {
  color: var(--petrol);
  border-color: rgba(31, 45, 61, 0.25);
}
.btn-ghost.dark:hover {
  background: var(--petrol);
  color: var(--leinen);
  border-color: var(--petrol);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1);
  position: relative;
  z-index: 1;
}
.btn:hover .arrow { transform: translateX(6px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--burgund);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1px solid currentColor;
  transition: gap 0.35s, color 0.3s;
}
.link-arrow:hover { gap: 16px; color: var(--petrol); }
.link-arrow.gold { color: var(--gold); }
.link-arrow.gold:hover { color: var(--papier); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--petrol);
  color: var(--leinen);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marqueeMove 35s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  font-variation-settings: "SOFT" 70, "WONK" 1;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee-track .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* =========================================================
   SECTION-HEAD
   ========================================================= */
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.section-head .eyebrow { padding-top: 18px; }
.section-head h2 {
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.02;
  max-width: 22ch;
  letter-spacing: -0.025em;
}
.section-head h2 .em { font-style: italic; color: var(--burgund); font-variation-settings: "SOFT" 100, "WONK" 1; }
.section-head p.lead {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.4vw, 22px);
  max-width: 65ch;
  color: var(--ink);
  line-height: 1.45;
}

.section-head.on-dark h2, .section-head.on-dark h2 .em { color: var(--leinen); }
.section-head.on-dark .eyebrow { color: var(--gold); }
.section-head.on-dark h2 .em { color: var(--gold); }
.section-head.on-dark p.lead { color: rgba(244, 239, 230, 0.85); }

/* =========================================================
   GENERIC SECTION
   ========================================================= */
section { padding: 120px var(--gutter); }
section.dark { background: var(--petrol); color: var(--leinen); position: relative; }
section.papier { background: var(--papier); }

.container { max-width: var(--max-w); margin: 0 auto; }

/* =========================================================
   HOME · SLOGAN-CARD (intro panel below hero)
   ========================================================= */
.intro-quote {
  padding: 140px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-quote h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.intro-quote h2 .em { font-style: italic; color: var(--burgund); font-variation-settings: "SOFT" 100, "WONK" 1; }
.intro-quote p {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 32px;
}

/* =========================================================
   BAUSTEINE / CARDS (Was wir bauen)
   ========================================================= */
.bausteine {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  perspective: 1500px;
}

.baustein {
  background: var(--papier);
  border: 1px solid rgba(31, 45, 61, 0.08);
  padding: 48px 44px 44px;
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: background 0.5s, border-color 0.5s;
  cursor: default;
  overflow: hidden;
}
.baustein:hover {
  background: var(--leinen);
  border-color: var(--burgund);
}

.baustein .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.15em;
  margin-bottom: 64px;
  display: flex;
  justify-content: space-between;
}

.baustein h3 {
  font-style: italic;
  color: var(--burgund);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 14ch;
}

.baustein p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
  max-width: 46ch;
}

.baustein .marker {
  position: absolute;
  bottom: 36px;
  right: 36px;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(31, 45, 61, 0.2);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--petrol);
  transition: all 0.4s cubic-bezier(.2,.7,.3,1);
  opacity: 0.4;
}
.baustein:hover .marker {
  opacity: 1;
  background: var(--burgund);
  border-color: var(--burgund);
  color: var(--leinen);
}

/* Inline-CTA-Block (z.B. "Das sind die häufigsten") */
.inline-cta {
  border-left: 3px solid var(--burgund);
  background: var(--papier);
  padding: 36px 40px;
  max-width: var(--max-w);
  margin: 80px auto 0;
}
.inline-cta h4 {
  font-style: italic;
  color: var(--burgund);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.inline-cta p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 70ch;
  margin-bottom: 24px;
}

/* =========================================================
   FÜR WEN · Branchen
   ========================================================= */
.branchen { max-width: var(--max-w); margin: 0 auto; }
.branche {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  padding: 56px 0;
  border-top: 1px solid rgba(31, 45, 61, 0.15);
  position: relative;
}
.branche:last-of-type { border-bottom: 1px solid rgba(31, 45, 61, 0.15); }

.branche .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 14px;
}
.branche h3 {
  font-style: italic;
  color: var(--burgund);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 24ch;
  transition: transform 0.5s cubic-bezier(.2,.7,.3,1);
}
.branche p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 78ch;
}
.branche::after {
  content: '↗';
  position: absolute;
  top: 56px;
  right: 0;
  font-size: 28px;
  color: var(--burgund);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s, transform 0.5s cubic-bezier(.2,.7,.3,1);
}
.branche:hover::after { opacity: 1; transform: translateX(0); }
.branche:hover h3 { transform: translateX(10px); }

/* =========================================================
   STEPS · So arbeiten wir
   ========================================================= */
.steps { max-width: var(--max-w); margin: 0 auto; }
.step {
  display: grid;
  grid-template-columns: 120px 200px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid rgba(31, 45, 61, 0.15);
  position: relative;
}
.step:last-child { border-bottom: 1px solid rgba(31, 45, 61, 0.15); }

.step .num-big {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(60px, 6vw, 96px);
  font-weight: 500;
  color: var(--burgund);
  line-height: 0.9;
  font-variation-settings: "SOFT" 80, "WONK" 1;
  letter-spacing: -0.03em;
}

.step .step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 14px;
}

.step h3 {
  font-style: italic;
  color: var(--burgund);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 28ch;
}

.step p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 78ch;
}

/* Tool-Stack */
.tools-band {
  margin-top: 100px;
  padding-top: 80px;
  border-top: 1px solid rgba(31, 45, 61, 0.15);
}
.tools-band h4 {
  font-style: italic;
  font-size: 28px;
  color: var(--petrol);
  margin-bottom: 16px;
  font-variation-settings: "SOFT" 80, "WONK" 1;
}
.tools-band p {
  font-size: 15px;
  color: var(--ink);
  max-width: 60ch;
  line-height: 1.6;
  margin-bottom: 40px;
}
.tools-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tools-stack span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--burgund);
  padding: 10px 18px;
  border: 1px solid rgba(123, 44, 62, 0.3);
  border-radius: 100px;
  transition: all 0.35s;
}
.tools-stack span:hover {
  background: var(--burgund);
  color: var(--papier);
  border-color: var(--burgund);
}

/* Tools-Marquee · läuft endlos, mit klickbaren Links */
.tools-marquee {
  background: var(--papier);
  border-top: 1px solid rgba(31, 45, 61, 0.1);
  border-bottom: 1px solid rgba(31, 45, 61, 0.1);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
}
.tools-marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marqueeMove 40s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  font-weight: 400;
  font-variation-settings: "SOFT" 80, "WONK" 1;
}
.tools-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.tools-marquee-track a {
  color: var(--petrol);
  text-decoration: none;
  transition: color 0.35s;
  position: relative;
}
.tools-marquee-track a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0.05em;
  height: 1.5px;
  background: var(--burgund);
  transition: right 0.4s cubic-bezier(.2,.7,.3,1);
}
.tools-marquee-track a:hover {
  color: var(--burgund);
}
.tools-marquee-track a:hover::after {
  right: 0;
}
.tools-marquee-track .dot {
  width: 7px; height: 7px;
  background: var(--burgund);
  border-radius: 50%;
  display: inline-block;
  opacity: 0.65;
}
.tools-marquee:hover .tools-marquee-track {
  animation-play-state: paused;
}

/* =========================================================
   ÜBER UNS · Founder
   ========================================================= */
.founders { max-width: var(--max-w); margin: 0 auto; }

.founder {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding: 100px 0;
  align-items: start;
  border-top: 1px solid rgba(31, 45, 61, 0.15);
}
.founder:last-child { border-bottom: 1px solid rgba(31, 45, 61, 0.15); }
.founder.flip { grid-template-columns: 1.2fr 1fr; }
.founder.flip .founder-img { order: 2; }

.founder-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--petrol);
  perspective: 1200px;
}
.founder-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Bild oben verankern, damit der ganze Kopf sichtbar bleibt */
  object-position: center top;
  transition: transform 1.2s cubic-bezier(.2,.7,.3,1);
}
.founder:hover .founder-img img { transform: scale(1.04); }

.founder-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(22,33,46,0.5) 100%);
  pointer-events: none;
}

.founder-info { padding-top: 12px; }
.founder-info .eyebrow { margin-bottom: 12px; }
.founder-info h3 {
  font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  color: var(--petrol);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  margin-bottom: 24px;
}
.founder-info .role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgund);
  margin-bottom: 32px;
}
.founder-info p {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 60ch;
}
.founder-info p + p { margin-top: 0; }

.founder-contact {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid rgba(31, 45, 61, 0.12);
}
.founder-contact li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(31, 45, 61, 0.08);
}
.founder-contact .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
}
.founder-contact a {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--petrol);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.3s;
}
.founder-contact a:hover { color: var(--burgund); }

/* =========================================================
   FAQ · Accordion
   ========================================================= */
.faq-list { max-width: 980px; margin: 0 auto; }

.faq-item {
  border-top: 1px solid rgba(31, 45, 61, 0.15);
}
.faq-item:last-child { border-bottom: 1px solid rgba(31, 45, 61, 0.15); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 36px 0;
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  gap: 24px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--petrol);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--burgund); }

.faq-q .faq-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--slate);
}
.faq-q .faq-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  color: var(--burgund);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.faq-q .faq-toggle {
  position: relative;
  width: 32px; height: 32px;
  justify-self: end;
}
.faq-q .faq-toggle::before,
.faq-q .faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--petrol);
  top: 50%; left: 50%;
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1);
}
.faq-q .faq-toggle::before {
  width: 18px; height: 1px;
  transform: translate(-50%, -50%);
}
.faq-q .faq-toggle::after {
  width: 1px; height: 18px;
  transform: translate(-50%, -50%);
}
.faq-item.open .faq-q .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(.2,.7,.3,1);
}
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  padding: 0 60px 36px 84px;
  max-width: 80ch;
}

/* =========================================================
   KONTAKT (CTA)
   ========================================================= */
.cta {
  background: var(--burgund);
  color: var(--papier);
  padding: 160px var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(220px, 38vw, 600px);
  font-weight: 400;
  color: var(--papier);
  opacity: 0.06;
  bottom: -8vw;
  left: -3vw;
  pointer-events: none;
  line-height: 0.8;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  user-select: none;
}
.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 100px;
  align-items: end;
}
.cta h2 {
  font-size: clamp(48px, 6.5vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--papier);
}
.cta h2 .em,
.cta h2 em,
.cta h2 .italic {
  font-style: italic;
  color: var(--papier);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.cta-right {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.55;
  color: var(--papier);
  padding-bottom: 12px;
}
.cta-right p { opacity: 0.9; margin-bottom: 32px; max-width: 50ch; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot-claim {
  background: var(--leinen);
  padding: 140px var(--gutter);
  text-align: center;
}
.foot-claim h2 {
  font-style: italic;
  font-size: clamp(40px, 6vw, 88px);
  color: var(--petrol);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  max-width: 18ch;
  margin: 0 auto;
  line-height: 1.05;
}
.foot-claim .eyebrow {
  display: block;
  margin-bottom: 40px;
  color: var(--slate);
}

footer.site-footer {
  background: var(--ink);
  color: var(--stone);
  padding: 80px var(--gutter) 40px;
}
.foot-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
}
.foot-brand h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  color: var(--leinen);
  margin-bottom: 16px;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.foot-brand h4 em,
.foot-brand h4 .italic {
  color: var(--leinen);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.foot-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 320px;
}
.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--slate);
  margin-bottom: 24px;
  font-weight: 500;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 12px; }
.foot-col a {
  color: var(--stone);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
  max-width: var(--max-w);
  margin: 60px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(214, 211, 204, 0.1);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate);
}
.foot-bottom a { color: var(--stone); text-decoration: none; transition: color 0.3s; }
.foot-bottom a:hover { color: var(--gold); }

.reveal { opacity: 0; transform: translateY(40px); }

/* =========================================================
   COOKIE-BANNER
   ========================================================= */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 99998;
  background: var(--petrol);
  color: var(--papier);
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 10px;
  padding: 22px 28px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(.2,.7,.3,1), opacity 0.4s;
}
#cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
#cookie-banner .ck-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
#cookie-banner .ck-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(244, 239, 230, 0.85);
  flex: 1;
}
#cookie-banner .ck-text strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--gold);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  margin-bottom: 6px;
}
#cookie-banner .ck-text em {
  font-style: italic;
  color: var(--gold);
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
#cookie-banner .ck-text a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.25s;
}
#cookie-banner .ck-text a:hover { color: var(--papier); }
#cookie-banner .ck-actions {
  flex-shrink: 0;
}
#cookie-banner .ck-btn {
  background: var(--gold);
  color: var(--petrol);
  border: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
#cookie-banner .ck-btn:hover {
  background: var(--papier);
  color: var(--petrol);
}
#cookie-banner .ck-btn:active {
  transform: scale(0.97);
}

@media (max-width: 720px) {
  #cookie-banner { padding: 18px 20px; bottom: 12px; left: 12px; right: 12px; }
  #cookie-banner .ck-inner { flex-direction: column; gap: 18px; align-items: stretch; }
  #cookie-banner .ck-btn { width: 100%; padding: 14px; }
}

/* =========================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ========================================================= */
.legal-page {
  padding: 40px var(--gutter) 120px;
}
.legal-content {
  max-width: 880px;
  margin: 0 auto;
}
.legal-block {
  padding: 36px 0;
  border-top: 1px solid rgba(31, 45, 61, 0.12);
}
.legal-block:last-of-type {
  border-bottom: 1px solid rgba(31, 45, 61, 0.12);
}
.legal-block h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgund);
  margin-bottom: 18px;
  font-weight: 500;
}
.legal-block p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 14px;
  max-width: 72ch;
}
.legal-block p strong {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--burgund);
  font-size: 22px;
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  display: block;
  margin-bottom: 8px;
}
.legal-block ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 14px;
}
.legal-block ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.legal-block ul li::before {
  content: '·';
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--burgund);
  font-weight: bold;
}
.legal-block a {
  color: var(--burgund);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.25s;
}
.legal-block a:hover { color: var(--petrol); }
.legal-data {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 6px 24px;
  margin: 16px 0;
  background: var(--papier);
  padding: 24px 28px;
  border-radius: 4px;
}
.legal-data dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 4px;
}
.legal-data dd {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.legal-stand {
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: center;
}

@media (max-width: 720px) {
  .legal-data { grid-template-columns: 1fr; padding: 16px 18px; }
  .legal-data dt { margin-top: 8px; }
}

/* =========================================================
   LIVE-EDITOR (aktiv mit ?edit=1)
   ========================================================= */
body.edit-mode .ed-target {
  outline: 1px dashed transparent;
  outline-offset: 4px;
  transition: outline-color 0.2s, background 0.2s;
  cursor: text;
}
body.edit-mode .ed-target:hover {
  outline-color: rgba(47, 143, 92, 0.55);
}
body.edit-mode .ed-target:focus {
  outline: 2px solid var(--emerald);
  background: rgba(47, 143, 92, 0.08);
  border-radius: 2px;
}
body.edit-mode .hero-img img:hover,
body.edit-mode .founder-img img:hover {
  filter: brightness(0.5) contrast(1.05);
}
body.edit-mode .hero-img,
body.edit-mode .founder-img {
  outline: 2px dashed rgba(47, 143, 92, 0);
  transition: outline-color 0.25s;
}
body.edit-mode .hero-img:hover,
body.edit-mode .founder-img:hover {
  outline-color: var(--emerald);
}

#editor-toolbar {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--petrol);
  color: var(--leinen);
  padding: 14px 16px 14px 28px;
  border-radius: 100px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  z-index: 99999;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(244, 239, 230, 0.12);
}
#editor-toolbar .ed-status {
  color: var(--gold);
  padding-right: 16px;
  border-right: 1px solid rgba(244,239,230,0.15);
  letter-spacing: 0.05em;
}
#editor-toolbar .ed-btn {
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid rgba(244,239,230,0.25);
  background: transparent;
  color: var(--leinen);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
}
#editor-toolbar .ed-btn:hover {
  background: var(--leinen);
  color: var(--petrol);
  border-color: var(--leinen);
}
#editor-toolbar .ed-primary {
  background: var(--gold);
  color: var(--petrol);
  border-color: var(--gold);
}
#editor-toolbar .ed-primary:hover {
  background: var(--leinen);
  border-color: var(--leinen);
}

/* Farb-Panel */
.ed-color-panel {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--petrol);
  border: 1px solid rgba(244, 239, 230, 0.15);
  border-radius: 16px;
  padding: 28px;
  width: 360px;
  display: none;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.3s, transform 0.4s cubic-bezier(.2,.7,.3,1);
}
.ed-color-panel.open {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ed-color-panel::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--petrol);
  border-right: 1px solid rgba(244,239,230,0.15);
  border-bottom: 1px solid rgba(244,239,230,0.15);
}
.ed-color-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(244,239,230,0.12);
  margin-bottom: 4px;
}
.ed-color-head strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ed-color-head small {
  color: rgba(244,239,230,0.7);
  font-size: 11px;
  line-height: 1.45;
  font-family: var(--font-body);
}
.ed-color-head code {
  background: rgba(244,239,230,0.08);
  padding: 1px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
}
.ed-color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.ed-color-row .ed-color-name {
  color: var(--leinen);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex: 1;
}
.ed-color-row .ed-color-name small {
  display: block;
  color: rgba(244,239,230,0.5);
  font-size: 10px;
  margin-top: 4px;
  letter-spacing: 0.03em;
  text-transform: none;
  font-family: var(--font-body);
}
.ed-color-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ed-color-row input[type=color] {
  width: 44px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(244,239,230,0.25);
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
}
.ed-color-row input[type=color]::-webkit-color-swatch-wrapper { padding: 2px; }
.ed-color-row input[type=color]::-webkit-color-swatch { border: none; border-radius: 2px; }
.ed-color-row input[type=color]::-moz-color-swatch { border: none; border-radius: 2px; }
.ed-color-row input[type=color]:hover { border-color: var(--gold); }

.ed-color-row input.ed-hex {
  width: 80px;
  height: 38px;
  padding: 0 10px;
  background: rgba(244,239,230,0.06);
  border: 1px solid rgba(244,239,230,0.18);
  border-radius: 4px;
  color: var(--leinen);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.ed-color-row input.ed-hex:focus {
  border-color: var(--gold);
  background: rgba(232, 197, 71, 0.08);
}
.ed-color-row input.ed-hex.invalid {
  border-color: var(--alarm);
  background: rgba(200, 57, 42, 0.12);
}
.ed-color-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(244,239,230,0.12);
}
.ed-color-actions .ed-btn { flex: 1; padding: 12px 14px; }

/* =========================================================
   BLÖCKE VERSCHIEBEN (↑ ↓ in Block-Ecke)
   ========================================================= */
body.edit-mode .mv-block {
  position: relative;
}
body.edit-mode .mv-block > .mv-ctrl {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  background: var(--petrol);
  border: 1px solid rgba(244, 239, 230, 0.18);
  border-radius: 100px;
  padding: 4px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 50;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
body.edit-mode .mv-block:hover > .mv-ctrl,
body.edit-mode .mv-block:focus-within > .mv-ctrl {
  opacity: 1;
  pointer-events: auto;
}
body.edit-mode .mv-block.mv-flash {
  animation: mvFlash 0.7s ease;
}
@keyframes mvFlash {
  0% { background-color: rgba(47, 143, 92, 0); }
  30% { background-color: rgba(47, 143, 92, 0.18); }
  100% { background-color: rgba(47, 143, 92, 0); }
}
.mv-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--leinen);
  cursor: pointer;
  font-size: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  padding: 0;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.mv-btn:hover {
  background: var(--gold);
  color: var(--petrol);
  transform: scale(1.1);
}
.mv-btn:active { transform: scale(0.95); }

/* Für Bausteine + Branchen + Steps: Pfeile in Petrol über dem Card-Hintergrund anpassen */
body.edit-mode .baustein > .mv-ctrl,
body.edit-mode .branche > .mv-ctrl,
body.edit-mode .step > .mv-ctrl,
body.edit-mode .founder > .mv-ctrl,
body.edit-mode .faq-item > .mv-ctrl {
  top: 8px;
  right: 8px;
}

.mv-sep {
  width: 1px;
  height: 18px;
  background: rgba(244,239,230,0.2);
  margin: 0 2px;
}

.mv-drag {
  cursor: grab !important;
  font-size: 14px !important;
  line-height: 1;
  font-weight: 600;
}
.mv-drag:active { cursor: grabbing !important; }
.mv-drag:hover {
  background: var(--emerald) !important;
  color: var(--leinen) !important;
}

/* Ghost-Tooltip beim Ziehen */
.mv-ghost {
  position: fixed;
  z-index: 100002;
  background: var(--petrol);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 16px 50px rgba(0,0,0,0.45);
  border: 1px solid rgba(232, 197, 71, 0.4);
  white-space: nowrap;
}

.mv-del:hover {
  background: var(--alarm) !important;
  color: var(--leinen) !important;
}

/* Drag-Indikatoren */
body.edit-mode .mv-dragging {
  opacity: 0.45;
  outline: 2px dashed var(--gold);
  outline-offset: 4px;
}
body.edit-mode .mv-drop-above {
  position: relative;
}
body.edit-mode .mv-drop-above::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0; right: 0;
  height: 3px;
  background: var(--emerald);
  border-radius: 2px;
  z-index: 99;
  box-shadow: 0 0 0 4px rgba(47, 143, 92, 0.25);
}
body.edit-mode .mv-drop-below {
  position: relative;
}
body.edit-mode .mv-drop-below::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0; right: 0;
  height: 3px;
  background: var(--emerald);
  border-radius: 2px;
  z-index: 99;
  box-shadow: 0 0 0 4px rgba(47, 143, 92, 0.25);
}

/* Undo-Toast */
#ed-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--petrol);
  color: var(--leinen);
  padding: 14px 22px;
  border-radius: 100px;
  display: flex;
  gap: 16px;
  align-items: center;
  z-index: 100001;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s cubic-bezier(.2,.7,.3,1);
  box-shadow: 0 16px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(244,239,230,0.15);
}
#ed-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
#ed-toast .ed-toast-btn {
  background: var(--gold);
  color: var(--petrol);
  border: none;
  padding: 8px 16px;
  border-radius: 100px;
  font: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
#ed-toast .ed-toast-btn:hover {
  background: var(--leinen);
}

/* =========================================================
   TEXT-FARBE BEI MARKIERUNG (Floating Toolbar wie in Word)
   ========================================================= */
#sel-toolbar {
  position: fixed;
  z-index: 100000;
  background: var(--petrol);
  border: 1px solid rgba(244, 239, 230, 0.18);
  border-radius: 100px;
  padding: 8px 14px;
  display: none;
  gap: 8px;
  align-items: center;
  transform: translateX(-50%);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.18s, transform 0.25s cubic-bezier(.2,.7,.3,1);
  pointer-events: auto;
}
#sel-toolbar.show {
  display: flex;
  opacity: 1;
}
#sel-toolbar::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--petrol);
  border-right: 1px solid rgba(244,239,230,0.18);
  border-bottom: 1px solid rgba(244,239,230,0.18);
}
#sel-toolbar .sel-sw {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 239, 230, 0.18);
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: transform 0.2s, border-color 0.2s;
  outline: none;
  background-clip: padding-box;
}
#sel-toolbar .sel-text-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.18);
  background: transparent;
  color: var(--leinen);
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
  outline: none;
}
#sel-toolbar .sel-text-btn:hover {
  background: var(--gold);
  color: var(--petrol);
  border-color: var(--gold);
}
#sel-toolbar .sel-divider {
  width: 1px;
  height: 22px;
  background: rgba(244,239,230,0.2);
  margin: 0 4px;
}
#sel-toolbar .sel-sw:hover {
  transform: scale(1.18);
  border-color: var(--leinen);
}
#sel-toolbar .sel-reset {
  background: transparent !important;
  color: var(--leinen);
  font-size: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
}
#sel-toolbar .sel-custom-wrap {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px dashed rgba(244, 239, 230, 0.4);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--leinen);
  font-size: 16px;
  font-weight: 300;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
#sel-toolbar .sel-custom-wrap:hover { transform: scale(1.18); border-color: var(--gold); }
#sel-toolbar .sel-custom {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  padding: 0;
  border: none;
}

@media (max-width: 720px) {
  #editor-toolbar { flex-direction: column; bottom: 12px; padding: 12px 16px; border-radius: 12px; gap: 8px; }
  #editor-toolbar .ed-status { padding-right: 0; border-right: none; font-size: 10px; text-align: center; }
  .ed-color-panel { width: calc(100vw - 32px); left: 16px; transform: translateY(8px); }
  .ed-color-panel.open { transform: translateY(0); }
  .ed-color-panel::after { display: none; }
  #sel-toolbar { padding: 6px 10px; gap: 5px; }
  #sel-toolbar .sel-sw, #sel-toolbar .sel-custom-wrap { width: 22px; height: 22px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { padding-bottom: 0; }
  .page-band, .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 60px; }
  .intro-quote { grid-template-columns: 1fr; gap: 40px; padding: 80px var(--gutter); }
  .bausteine { grid-template-columns: 1fr; }
  .branche { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .step { grid-template-columns: 80px 1fr; gap: 24px; }
  .step .step-label { grid-column: 2; padding-top: 0; }
  .step .num-big { grid-row: span 3; font-size: 64px; }
  .founder, .founder.flip { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .founder.flip .founder-img { order: 0; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .faq-q { grid-template-columns: 40px 1fr 40px; gap: 16px; padding: 28px 0; }
  .faq-a p { padding-left: 56px; padding-right: 0; }
}

/* === Tablet & Smartphone Landscape (bis 720px) === */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
  .burger { display: block; }

  /* HERO — kompakt für Smartphone */
  .hero {
    aspect-ratio: auto;        /* Aspect-Ratio aufheben */
    height: auto;
    min-height: 560px;
    padding: 100px 20px 40px;
  }
  .hero-img img { object-position: center 12%; }
  .hero-img::after {
    /* Mehr Verdunkelung unten, damit Text auf jedem Foto lesbar bleibt */
    background: linear-gradient(180deg, rgba(22,33,46,0.30) 0%, rgba(22,33,46,0.20) 30%, rgba(22,33,46,0.85) 60%, rgba(22,33,46,0.97) 100%);
  }
  .hero h1 { font-size: clamp(34px, 9vw, 44px); line-height: 1; }
  .hero-subtitle { font-size: 15px; margin-bottom: 28px; }
  .hero-cta-row { gap: 10px; }
  .hero-cta-row .btn { padding: 14px 22px; font-size: 11px; }

  /* Sections */
  section { padding: 70px 20px; }
  .intro-quote { padding: 70px 20px; }
  .intro-quote h2 { font-size: clamp(28px, 7vw, 38px); }
  .intro-quote p { font-size: 16px; }

  .pairing-grid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 4px; }
  .foot-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 32px 4px 0; }
  .scroll-cue { display: none; }

  /* Bausteine + Karten */
  .baustein { padding: 32px 24px; min-height: auto; }
  .baustein .marker { bottom: 20px; right: 20px; width: 40px; height: 40px; }
  .baustein h3 { font-size: 24px; }

  /* Steps */
  .step { grid-template-columns: 60px 1fr; gap: 16px; padding: 32px 0; }
  .step .num-big { font-size: 48px; grid-row: span 2; }
  .step .step-label { grid-column: 2; padding-top: 0; margin-bottom: 6px; }
  .step h3 { font-size: 20px; }

  /* Branchen */
  .branche { padding: 32px 0; }
  .branche h3 { font-size: 22px; }
  .branche::after { display: none; }

  /* Founder */
  .founder, .founder.flip { padding: 50px 0; gap: 28px; }
  .founder-info h3 { font-size: 36px; }
  .founder-info p { font-size: 16px; }

  /* FAQ */
  .faq-q { padding: 22px 0; grid-template-columns: 32px 1fr 28px; gap: 12px; }
  .faq-q .faq-title { font-size: 17px; }
  .faq-a p { padding: 0 0 24px 44px; font-size: 14.5px; }
  .faq-q .faq-toggle { width: 24px; height: 24px; }

  /* CTA */
  .cta { padding: 80px 20px; }
  .cta h2 { font-size: clamp(36px, 9vw, 56px); }
  .cta-right p { font-size: 16px; }
  .cta-inner { gap: 32px; }

  /* Kontakt-Form */
  .kontakt-hero { padding: 100px 20px 50px; }
  .kontakt-hero h1 { font-size: clamp(38px, 10vw, 56px); }
  .kontakt-grid { padding: 0 20px 80px; }
  .kontakt-form { padding: 32px 24px; }
  .kontakt-form h3 { font-size: 28px; }

  /* Tools-Marquee */
  .tools-marquee-track { font-size: 22px; gap: 40px; animation-duration: 30s; }
  .tools-marquee-track span { gap: 40px; }
  .tools-marquee-track a { white-space: nowrap; }

  /* Footer-Claim */
  .foot-claim { padding: 70px 20px; }
  .foot-claim h2 { font-size: clamp(32px, 9vw, 44px); }

  /* Page-Band (Subpage Hero) */
  .page-band { padding: 110px 20px 40px; }
  .page-band h1 { font-size: clamp(36px, 9vw, 52px); }
  .page-band p.lead { font-size: 16px; margin-top: 20px; }

  /* Touch-Targets: alle Buttons mind. 44px hoch */
  .btn { min-height: 44px; }
  .nav-cta { min-height: 44px; padding: 12px 18px; }

  /* Editor-Toolbar kompakter auf Mobile */
  #editor-toolbar .ed-status { display: none; }

  /* Legal-Pages */
  .legal-page { padding: 20px 20px 80px; }
  .legal-block { padding: 28px 0; }
  .legal-block p { font-size: 15px; }
  .legal-block p strong { font-size: 18px; }
}

/* === Reine Smartphone-Größe (bis 480px) — Feinjustierung === */
@media (max-width: 480px) {
  .hero { min-height: 540px; padding-top: 90px; padding-bottom: 32px; }
  .hero h1 { font-size: 36px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { justify-content: center; width: 100%; }

  .nav-logo { font-size: 18px; }
  nav.site-nav { padding: 14px 20px; }
  .nav-cta { padding: 10px 16px; font-size: 11px; }
  .nav-cta span { font-size: 11px; }

  .foot-brand h4 { font-size: 26px; }
  .foot-claim h2 { font-size: 32px; }

  /* Cookie-Banner kompakter */
  #cookie-banner { padding: 16px 18px; bottom: 8px; left: 8px; right: 8px; border-radius: 8px; }
  #cookie-banner .ck-text { font-size: 13px; }
  #cookie-banner .ck-text strong { font-size: 17px; }
}
