/* ============================================
   Droulers Clarendon (Bureau Brut) — Vollversion,
   lizenziert (Order 2026-00078). Webfonts woff2.
   ============================================ */

@font-face {
  font-family: 'Droulers Clarendon';
  src: url('../fonts/droulersclarendonweb-book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Droulers Clarendon';
  src: url('../fonts/droulersclarendonweb-bookitalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Droulers Clarendon';
  src: url('../fonts/droulersclarendonweb-medium.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Droulers Clarendon';
  src: url('../fonts/droulersclarendonweb-mediumitalic.woff2') format('woff2');
  font-weight: 500 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Droulers Clarendon';
  src: url('../fonts/droulersclarendonweb-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Droulers Clarendon';
  src: url('../fonts/droulersclarendonweb-extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   STUDIO SARA — Design System v2
   Bold Blue #0000FF · Edel · Editorial
   ============================================ */

:root {
  --blue: #0000ff;
  --paper: #fdfdfa;
  --ink: #0a0a14;
  --grey: #62626e;
  --line: #e6e6e0;
  --serif: "Droulers Clarendon", "Besley", Georgia, serif; /* Vollversion (lizenziert) */
  /* Wenn du Droulers Clarendon lizenziert hast: .woff2-Dateien in einen
     Ordner "fonts" legen und hier per @font-face einbinden — sag mir Bescheid. */
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --max: 1320px;
  --pad: clamp(20px, 4vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Custom Cursor ---------- */

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, opacity 0.25s, background 0.25s;
  mix-blend-mode: difference;
  opacity: 0;
}

.cursor.on { opacity: 1; }
.cursor.grow { width: 56px; height: 56px; opacity: 0.9; }

@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Typografie ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.015em; }

.display { font-size: clamp(3rem, 9.5vw, 8.2rem); }
.display em, h2 em, h3 em { font-style: italic; color: var(--blue); }

h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }

.label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--blue);
}

.lead { font-size: clamp(1.15rem, 2.1vw, 1.5rem); line-height: 1.45; max-width: 32em; }

p { max-width: 40em; color: var(--grey); }
p + p { margin-top: 1em; }
p strong { color: var(--ink); font-weight: 500; }

/* Wort-für-Wort Hero-Animation */
.split .w {
  /* Unterlängen (g, y, p) und Kursiv-Überhänge (?, f) nicht abschneiden */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  padding-right: 0.1em;
  margin-right: -0.1em;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split .w > span {
  display: inline-block;
  transform: translateY(110%);
  animation: riseUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 0.07s);
}
@keyframes riseUp { to { transform: translateY(0); } }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--blue);
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo .up { font-style: normal; font-family: var(--sans); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.34em; display: block; color: var(--ink); text-transform: uppercase; }
.logo img { height: 40px; width: auto; display: block; }
.logo .logo-white { display: none; }
body.home .site-header:not(.scrolled) .logo-blue { display: none; }
body.home .site-header:not(.scrolled) .logo-white { display: block; }

.nav { display: flex; gap: 2.4em; align-items: center; }

.nav a {
  font-size: 0.92rem;
  position: relative;
  color: var(--ink);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  height: 2px; width: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav .nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 10px 24px;
  border-radius: 100px;
  transition: transform 0.25s, background 0.25s;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { transform: scale(1.05); }

.nav-toggle { display: none; background: none; border: none; font: inherit; font-size: 0.92rem; cursor: pointer; color: var(--ink); }

/* ---------- Sektionen ---------- */

main { padding-top: 76px; }
section { padding: clamp(72px, 11vw, 150px) 0; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head .label { flex-shrink: 0; }

/* ---------- Mega Hero (Startseite) — High End ---------- */

body.home main { padding-top: 0; }

.hero-mega {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(110% 85% at 88% 8%, #2424ff 0%, transparent 52%),
    radial-gradient(95% 80% at 8% 96%, #0000a6 0%, transparent 58%),
    var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Korn/Grain */
.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Foto: volle Höhe, rechte Kante, weicher Übergang ins Blau */
.hero-side {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(40vw, 580px);
  z-index: 1;
}
.hero-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 2.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue) 0%, rgba(0, 0, 255, 0.25) 30%, transparent 60%);
}
@keyframes heroZoom { from { transform: scale(1.12); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.hero-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding-top: 100px;
  width: 100%;
}

.hero-mega .label {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 2.4em;
  animation: fadeIn 1s 0.9s both;
}

.hero-mega .display {
  color: #fff;
  font-weight: 500;
  font-size: clamp(2.9rem, 9vw, 8.4rem);
  line-height: 0.98;
}

.hero-mega .display em {
  font-style: italic;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}

/* Zeilen-Reveal: ruhig und präzise */
.hero-mega .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-mega .line > span {
  display: block;
  transform: translateY(108%);
  animation: lineUp 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--l) * 0.13s + 0.1s);
}
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-mega .lead {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 2.4em;
  max-width: 26em;
  animation: fadeIn 1s 1.1s both;
}

/* Meta-Zeile unten: Manufakturdetail */
.hero-meta {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeIn 1.2s 1.3s both;
}
.hero-meta .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5em;
  padding-top: 20px;
  padding-bottom: 26px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.75);
}
.hero-meta .cue { animation: cueBob 2.4s ease-in-out infinite; }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Typo-Hero (Variante ohne Bild) ---------- */

.hero-typo .display {
  font-size: clamp(2.7rem, 8.8vw, 8.6rem);
  max-width: none;
  line-height: 1.2;
  perspective: 900px;
}

.hero-typo .lead { margin-top: 2.8em; }
.hero-typo .lead .hint { opacity: 0.55; font-size: 0.85em; }

/* Kursive Wörter im Typo-Hero: voll gefüllt und immer lesbar (kein Outline) */
.hero-typo .display em {
  color: #fff;
  -webkit-text-stroke: 0px transparent;
}

/* Nebelschwaden: ziehen beim Laden über die Fläche und lösen sich auf */
.fog {
  position: absolute;
  inset: -15%;
  z-index: 2;
  pointer-events: none;
  filter: blur(50px);
}
.fog-1 {
  background:
    radial-gradient(42% 30% at 28% 42%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(30% 24% at 62% 30%, rgba(255, 255, 255, 0.35), transparent 70%);
  animation: fogDrift1 3.6s ease-out forwards;
}
.fog-2 {
  background:
    radial-gradient(36% 26% at 72% 62%, rgba(255, 255, 255, 0.45), transparent 70%),
    radial-gradient(26% 22% at 42% 72%, rgba(255, 255, 255, 0.3), transparent 70%);
  animation: fogDrift2 4.2s ease-out forwards;
}
@keyframes fogDrift1 {
  0% { opacity: 1; transform: translateX(-4%); }
  100% { opacity: 0; transform: translateX(7%) scale(1.12); }
}
@keyframes fogDrift2 {
  0% { opacity: 1; transform: translateX(4%); }
  100% { opacity: 0; transform: translateX(-6%) scale(1.15); }
}

/* Nebel-Einflug: Buchstaben tauchen weich aus dem Nebel auf und werden scharf */
.hero-typo .lt-w { display: inline-block; }
.hero-typo .lt {
  display: inline-block;
  opacity: 0;
  filter: blur(18px);
  transform: scale(1.1);
  transform-origin: 50% 50%;
  animation: ltFog 1.7s ease-out forwards;
  animation-delay: calc(var(--i) * 0.022s + 0.25s);
  transition: transform 0.65s cubic-bezier(0.3, 1.1, 0.5, 1);
  cursor: default;
}
@keyframes ltFog {
  0% { opacity: 0; filter: blur(18px); transform: scale(1.1); }
  55% { opacity: 0.9; }
  100% { opacity: 1; filter: blur(0px); transform: scale(1) rotateY(0deg); }
}

/* Endzustand nach dem Auftauchen: scharf, voll sichtbar, lesbar */
.hero-typo .lt.done { animation: none; opacity: 1; filter: none; transform: none; }

/* Karussell beim Drüberfahren: Buchstabe dreht sich einmal um die eigene Achse —
   Farbe und Füllung bleiben unangetastet, der Text bleibt lesbar */
.hero-typo .lt.done:hover {
  transform: rotateY(360deg);
}

/* Header auf blauem Hero */
body.home .site-header:not(.scrolled) .logo,
body.home .site-header:not(.scrolled) .logo .up,
body.home .site-header:not(.scrolled) .nav a,
body.home .site-header:not(.scrolled) .nav-toggle { color: #fff; }
body.home .site-header:not(.scrolled) .nav a::after { background: #fff; }
body.home .site-header:not(.scrolled) .nav .nav-cta { background: #fff; color: var(--blue); }

/* ---------- Hero (Unterseiten) ---------- */

.hero { padding: clamp(56px, 9vw, 130px) 0 clamp(56px, 8vw, 110px); position: relative; }

.hero .label { display: block; margin-bottom: 2em; }

.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }

.hero-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
}
.hero-img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }

.hero .lead { margin-top: 2.2em; color: var(--grey); }

/* ---------- Marquee ---------- */

.strip {
  background: var(--blue);
  color: #fff;
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  transform: rotate(-1.2deg) scale(1.02);
}

.strip-inner {
  display: inline-block;
  animation: marquee 26s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Bild-Reveal ---------- */

.img-reveal { overflow: hidden; border-radius: 4px; }
.img-reveal img {
  transform: scale(1.15);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-reveal.visible img { transform: scale(1); }

figure.framed { position: relative; }
figure.framed::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--blue);
  border-radius: 4px;
  transform: translate(14px, 14px);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Pakete: Sticky Stacking ---------- */

.stack { display: grid; gap: clamp(20px, 3vw, 36px); }

.pkg {
  position: sticky;
  top: 100px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  box-shadow: 0 -20px 40px rgba(10, 10, 20, 0.04);
}

.pkg:nth-child(2) { top: 130px; }
.pkg:nth-child(3) { top: 160px; }

.pkg.blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.pkg.blue p, .pkg.blue .grey { color: rgba(255, 255, 255, 0.75); }
.pkg.blue .label { color: #fff; }
.pkg.blue h3 em { color: #fff; }

.pkg-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--blue);
}
.pkg.blue .pkg-num { color: #fff; }

.pkg-body h3 { margin-bottom: 0.5em; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }

.pkg-body ul { list-style: none; margin-top: 1.4em; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 2em; }
.pkg-body li { font-size: 0.95rem; color: var(--grey); padding-left: 1.2em; position: relative; }
.pkg-body li::before { content: "→"; position: absolute; left: 0; color: var(--blue); }
.pkg.blue .pkg-body li { color: rgba(255, 255, 255, 0.85); }
.pkg.blue .pkg-body li::before { color: #fff; }

.pkg-meta { text-align: right; min-width: 150px; }
.pkg-price { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.2rem); white-space: nowrap; }
.pkg-meta .grey { font-size: 0.82rem; color: var(--grey); display: block; margin-top: 0.5em; }

/* ---------- Add-ons ---------- */

.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.addon {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.addon:hover { border-color: var(--blue); transform: translateY(-4px); }
.addon h3 { font-size: 1.15rem; margin: 0.8em 0 0.4em; }
.addon p { font-size: 0.9rem; }
.addon .label { font-size: 0.65rem; }

/* ---------- Werte / Arbeitsweise ---------- */

.value-list { list-style: none; counter-reset: v; }

.value-list li {
  counter-increment: v;
  display: grid;
  grid-template-columns: 4em 1fr 1.6fr;
  gap: 1.6em;
  align-items: baseline;
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.3s;
}
.value-list li:hover { padding-left: 12px; }
.value-list li:last-child { border-bottom: 1px solid var(--line); }
.value-list li::before {
  content: "0" counter(v);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--blue);
}

/* ---------- Blaue Sektion ---------- */

.blue-section { background: var(--blue); color: #fff; }
.blue-section .label { color: #fff; }
.blue-section p { color: rgba(255, 255, 255, 0.78); }
.blue-section h2 em { color: #fff; }
.blue-section .value-list li { border-color: rgba(255, 255, 255, 0.25); }
.blue-section .value-list li::before { color: #fff; }

/* ---------- Zwei Spalten ---------- */

.two-col { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 100px); align-items: start; }

.parallax-img { overflow: hidden; border-radius: 4px; }
.parallax-img img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }

/* ---------- Fun Facts ---------- */

.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 16px; }

.fact {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.fact:not(.flip):hover { transform: rotate(-1deg) scale(1.02); }
.fact.blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.fact.blue p { color: rgba(255, 255, 255, 0.8); }

.fact-big {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  display: block;
  margin-bottom: 0.4em;
  color: var(--blue);
}
.fact.blue .fact-big { color: #fff; }
.fact p { font-size: 0.92rem; }
.fact .label { display: block; margin-bottom: 1.2em; }

/* ---------- Bildband ---------- */

.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.photo-band .img-reveal:nth-child(2) { margin-top: 48px; }
.photo-band .img-reveal:nth-child(3) { margin-top: 96px; }
.photo-band img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }

/* ---------- Projekte ---------- */

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.project { display: block; }
.project:nth-child(4n+2), .project:nth-child(4n+3) { transform: translateY(clamp(0px, 4vw, 56px)); }

.project-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ph, #e8e8ff);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-media span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: rgba(0, 0, 255, 0.3);
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.project:hover .project-media img { transform: scale(1.05); }

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.project-info h3 { font-size: 1.2rem; }
.project-info .label { font-size: 0.65rem; color: var(--grey); }

/* ---------- Projekt-Detailseite (Case Study) ---------- */

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.case-meta dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 0.5em;
  font-weight: 500;
}
.case-meta dd { font-size: 0.98rem; color: var(--ink); }

.case-img {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ph, #e6e6ff);
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-img span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.4rem); color: rgba(0, 0, 255, 0.35); }
.case-img img, .case-img video { width: 100%; height: 100%; object-fit: cover; display: block; }

.case-img-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-img-duo .case-img { aspect-ratio: 4 / 5; }

.wrapup {
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  padding: clamp(28px, 4vw, 56px);
}
.wrapup .label { color: #fff; }
.wrapup h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0.5em 0 1em; }
.wrapup ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em 2em; }
.wrapup li { padding-left: 1.3em; position: relative; color: rgba(255, 255, 255, 0.9); }
.wrapup li::before { content: "✓"; position: absolute; left: 0; }

.next-project {
  display: block;
  text-align: center;
  border-top: 1px solid var(--line);
  padding: clamp(48px, 8vw, 100px) 0;
}
.next-project .label { display: block; margin-bottom: 0.8em; }
.next-project h2 { transition: color 0.25s; }
.next-project:hover h2 { color: var(--blue); }

@media (max-width: 760px) {
  .case-meta { grid-template-columns: 1fr 1fr; }
  .case-img-duo { grid-template-columns: 1fr; }
  .wrapup ul { grid-template-columns: 1fr; }
}

/* ---------- Kundenlogo-Leiste ---------- */

.clients {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  overflow: hidden;
  white-space: nowrap;
}
.clients-inner {
  display: inline-block;
  animation: marquee 34s linear infinite;
}
.clients-inner span {
  display: inline-block;
  margin: 0 clamp(24px, 4vw, 56px);
  color: var(--grey);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  letter-spacing: 0.04em;
  opacity: 0.85;
  transition: color 0.25s, opacity 0.25s;
}
.clients-inner span:hover { color: var(--blue); opacity: 1; }
.clients-inner .c-serif { font-family: var(--serif); }
.clients-inner .c-italic { font-family: var(--serif); font-style: italic; }
.clients-inner .c-caps { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.85em; }
.clients-inner img { display: inline-block; height: 34px; width: auto; vertical-align: middle; filter: grayscale(1); opacity: 0.7; }

/* ---------- Buchungs-Widget ---------- */

.booking {
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 56px);
  max-width: 820px;
}

.booking h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 1.2em; }

.bk-days, .bk-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-bottom: 1.8em;
}

.bk-day, .bk-slot {
  font: inherit;
  font-size: 0.88rem;
  text-align: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 8px;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.bk-day small { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey); margin-bottom: 3px; }
.bk-day:hover, .bk-slot:hover { border-color: var(--blue); }
.bk-day.sel, .bk-slot.sel { background: var(--blue); color: #fff; border-color: var(--blue); }
.bk-day.sel small { color: rgba(255, 255, 255, 0.75); }

.bk-summary {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 1.4em;
}

.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.bk-fields .field:last-child { grid-column: 1 / -1; }

.bk-note { font-size: 0.82rem; color: var(--grey); margin-top: 1.2em; }

@media (max-width: 640px) {
  .bk-fields { grid-template-columns: 1fr; }
}

/* ---------- Quiz ---------- */

.quiz {
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 56px);
  max-width: 760px;
}

.quiz-progress { height: 4px; background: var(--line); border-radius: 2px; margin-bottom: 2.5em; overflow: hidden; }
.quiz-bar { height: 100%; width: 0%; background: var(--blue); border-radius: 2px; transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1); }

.quiz-q { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.15; margin-bottom: 1.2em; }

.quiz-opts { display: grid; gap: 10px; }

.quiz-opt {
  text-align: left;
  font: inherit;
  font-size: 1rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.quiz-opt:hover { border-color: var(--blue); background: rgba(0, 0, 255, 0.04); transform: translateX(4px); }

.quiz-result .label { display: block; margin-bottom: 1em; }
.quiz-result h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.5em; }
.quiz-result h3 em { color: var(--blue); font-style: italic; }
.quiz-result p { margin-bottom: 1.8em; }
.quiz-restart { background: none; border: none; font: inherit; font-size: 0.88rem; color: var(--grey); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; margin-left: 1.5em; }
.quiz-restart:hover { color: var(--blue); }

.quiz-step { animation: quizIn 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes quizIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Kontakt ---------- */

.contact-mail {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 5.5vw, 4.4rem);
  letter-spacing: -0.02em;
  display: inline-block;
  margin-top: 0.5em;
  color: var(--blue);
  position: relative;
}
.contact-mail::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.contact-mail:hover::after { transform: scaleX(1); transform-origin: left; }

.contact-form { margin-top: 3em; max-width: 600px; }

.field { margin-bottom: 1.8em; }
.field label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--blue); margin-bottom: 0.7em; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); }

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  font: inherit;
  font-size: 0.98rem;
  padding: 16px 40px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn:hover { background: transparent; color: var(--blue); transform: scale(1.04); }

.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }

.blue-section .btn { background: #fff; color: var(--blue); border-color: #fff; }
.blue-section .btn:hover { background: transparent; color: #fff; }

/* ---------- CTA ---------- */

.cta { text-align: center; }
.cta h2 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.cta .btn { margin-top: 2.8em; }
.cta .label { display: block; margin-bottom: 1.5em; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 44px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1em; flex-wrap: wrap; font-size: 0.85rem; color: var(--grey); }
.site-footer a { position: relative; }
.site-footer a:hover { color: var(--blue); }
.footer-links { display: flex; gap: 2em; }

/* ---------- Scroll Reveal ---------- */

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .img-reveal img { opacity: 1; transform: none; transition: none; }
  .strip-inner, .mega-marquee .inner, .blob, .hero-photo .inner, .scroll-cue { animation: none; }
  .split .w > span { animation: none; transform: none; }
  .hero-mega .lt { animation: none; transform: none; opacity: 1; filter: none; }
  .fog { display: none; }
  .hero-mega .line > span { animation: none; transform: none; }
  .hero-mega .label, .hero-mega .lead, .hero-meta { animation: none; opacity: 1; }
  .cursor { display: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-side {
    position: relative;
    width: 100%;
    height: 46svh;
    order: 2;
  }
  .hero-side::after { background: linear-gradient(180deg, var(--blue) 0%, rgba(0, 0, 255, 0.2) 30%, transparent 60%); }
  .hero-frame { padding-top: 110px; padding-bottom: 40px; flex: none; }
  .hero-meta .wrap span:nth-child(3) { display: none; } /* "20+ Jahre" auf Mobil ausblenden */
  .hero-grid { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .project:nth-child(n) { transform: none; }
  .hero-img { max-width: 420px; }
  .pkg { grid-template-columns: 1fr; gap: 1.2em; position: static; }
  .pkg-meta { text-align: left; }
  .pkg-body ul { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .value-list li { grid-template-columns: 3em 1fr; }
  .value-list li p { grid-column: 2; }
  .photo-band { grid-template-columns: 1fr 1fr; }
  .photo-band .img-reveal:nth-child(3) { display: none; }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px var(--pad) 24px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.1rem; }
  .nav .nav-cta { margin-top: 12px; }
  .nav-toggle { display: block; }
  .addons { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
}

/* ============================================
   Fluent Forms im Studio-Sara-Look
   ============================================ */

.ff-embed .fluentform { font-family: var(--sans); }
.ff-embed form { margin: 0; }
.ff-embed .ff-el-group { margin-bottom: 1.8em; }

/* Labels wie die Design-Labels */
.ff-embed .ff-el-input--label label {
  font-size: 0.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue) !important;
  font-weight: 500 !important;
  margin-bottom: 0.7em;
  display: block;
}
.ff-embed .ff-el-is-required.asterisk-right label:after,
.ff-embed .ff-el-is-required.asterisk-left label:before { color: var(--blue); }

/* Eingabefelder: nur Unterstrich, wie im Original */
.ff-embed .ff-el-form-control {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 12px 0 !important;
  font: inherit !important;
  font-size: 1rem !important;
  color: var(--ink) !important;
  outline: none;
  box-shadow: none !important;
  transition: border-color 0.25s;
}
.ff-embed .ff-el-form-control:focus {
  border-bottom-color: var(--blue) !important;
  box-shadow: none !important;
}
.ff-embed textarea.ff-el-form-control { min-height: 130px; resize: vertical; }
.ff-embed .ff-el-form-control::placeholder { color: var(--grey); opacity: 0.6; }
.ff-embed .ff-el-form-control[readonly] { color: var(--blue); font-weight: 500; }

/* Senden-Button: blaue Pille mit Hover */
.ff-embed .ff-btn-submit {
  background: var(--blue) !important;
  color: #fff !important;
  border: 2px solid var(--blue) !important;
  font: inherit !important;
  font-size: 0.98rem !important;
  padding: 14px 38px !important;
  border-radius: 100px !important;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.ff-embed .ff-btn-submit:hover {
  background: transparent !important;
  color: var(--blue) !important;
  transform: scale(1.04);
}

/* Erfolgs- und Fehlermeldungen */
.ff-embed .ff-message-success {
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 18px 22px;
  background: rgba(0, 0, 255, 0.04);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
}
.ff-embed .error, .ff-embed .ff-el-is-error .error.text-danger {
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 0.4em;
}
.ff-embed .ff-el-is-error .ff-el-form-control { border-bottom-color: #c0392b !important; }

/* ============================================
   Blog — Übersicht & Magazin-Beiträge
   ============================================ */

/* Kategorie-Pills */
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); }
.cat-pills a {
  font-size: 0.88rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 22px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.cat-pills a:hover { border-color: var(--blue); color: var(--blue); }
.cat-pills a.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Beitragskarten */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.post-card a { display: block; }
.post-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-ph { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 6vw, 5rem); color: rgba(255,255,255,0.85); }
.post-body { padding: 18px 4px 0; }
.post-body .label { font-size: 0.65rem; }
.post-body h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0.5em 0 0.5em; line-height: 1.15; transition: color 0.2s; }
.post-card:hover .post-body h3 { color: var(--blue); }
.post-body p { font-size: 0.95rem; color: var(--grey); }
.post-date { display: block; margin-top: 0.9em; font-size: 0.78rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.12em; }

/* Pagination */
.blog-pagination { margin-top: clamp(36px, 5vw, 64px); }
.blog-pagination .nav-links { display: flex; gap: 12px; align-items: center; }
.blog-pagination a, .blog-pagination .current {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.9rem;
}
.blog-pagination a:hover { border-color: var(--blue); color: var(--blue); }
.blog-pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Beitrags-Hero + Titelbild */
.post-hero h1 { font-size: clamp(2.4rem, 6.5vw, 5.2rem); max-width: 14em; margin-top: 0.4em; }
.post-featured { border-radius: 8px; overflow: hidden; }
.post-featured img { width: 100%; max-height: 70vh; object-fit: cover; display: block; }

/* ---------- Magazin-Typografie im Beitrag ---------- */

.post-content { max-width: 44em; margin: 0 auto; font-size: 1.06rem; }

.post-content > p { color: #3a3a44; line-height: 1.8; margin: 0 0 1.4em; }

/* Initial: erster Buchstabe des ersten Absatzes groß und blau */
.post-content > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.4em;
  line-height: 0.8;
  color: var(--blue);
  float: left;
  padding: 0.08em 0.12em 0 0;
}

/* Zwischenüberschriften */
.post-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 1.8em 0 0.6em;
  line-height: 1.1;
}
.post-content h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin: 1.6em 0 0.5em;
}
.post-content h2 em, .post-content h3 em { color: var(--blue); font-style: italic; }

/* Listen mit blauen Pfeilen */
.post-content ul, .post-content ol { margin: 0 0 1.4em; padding-left: 0.2em; }
.post-content ul { list-style: none; }
.post-content ul > li { position: relative; padding-left: 1.5em; margin-bottom: 0.6em; color: #3a3a44; line-height: 1.7; }
.post-content ul > li::before { content: "→"; position: absolute; left: 0; color: var(--blue); }
.post-content ol { list-style: none; counter-reset: pc; }
.post-content ol > li { counter-increment: pc; position: relative; padding-left: 2.2em; margin-bottom: 0.6em; color: #3a3a44; line-height: 1.7; }
.post-content ol > li::before {
  content: "0" counter(pc);
  position: absolute; left: 0;
  font-family: var(--serif); font-style: italic; color: var(--blue);
}

/* Zitate: groß, kursiv, blaue Linie */
.post-content blockquote {
  border: none;
  border-left: 3px solid var(--blue);
  margin: 2em 0;
  padding: 0.2em 0 0.2em 1.2em;
}
.post-content blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.post-content blockquote cite { display: block; margin-top: 0.8em; font-size: 0.8rem; font-style: normal; text-transform: uppercase; letter-spacing: 0.18em; color: var(--blue); }

/* Pull-Quote-Variante (Gutenberg "Pullquote") */
.post-content .wp-block-pullquote { border: none; padding: 0; margin: 2.4em 0; }
.post-content .wp-block-pullquote blockquote { border: none; padding: 0; text-align: center; }
.post-content .wp-block-pullquote p { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--blue); }

/* Bilder & Galerien */
.post-content img { border-radius: 6px; height: auto; }
.post-content figure { margin: 2em 0; }
.post-content figcaption { font-size: 0.82rem; color: var(--grey); margin-top: 0.7em; text-align: center; }
.post-content .alignwide { margin-left: calc(50% - min(50vw, 660px) + 24px); margin-right: calc(50% - min(50vw, 660px) + 24px); }
.post-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.post-content .alignfull img { border-radius: 0; width: 100%; }

/* Tabellen (z. B. für Vergleiche/Diagrammdaten) */
.post-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 0.95rem; }
.post-content th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--blue); padding: 10px 14px; border-bottom: 2px solid var(--blue); }
.post-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: #3a3a44; }

/* Trenner & Info-Boxen */
.post-content hr { border: none; border-top: 1px solid var(--line); margin: 2.5em 0; }
.post-content .wp-block-group, .post-content .info-box {
  background: rgba(0, 0, 255, 0.04);
  border: 1px solid rgba(0, 0, 255, 0.15);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 2em 0;
}
.post-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.post-content strong { color: var(--ink); }

/* Autorin & Abschluss */
.post-end {
  max-width: 44em;
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2em;
  flex-wrap: wrap;
}
.post-author { display: flex; gap: 20px; align-items: center; }
.post-author img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: top; }
.post-author h3 { font-size: 1.2rem; margin: 0.2em 0; }
.post-author p { font-size: 0.88rem; color: var(--grey); max-width: 26em; }

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-end { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   AGD-Mitgliedschaft (Trust-Badges)
   ============================================ */

/* Footer: Logo + Mitgliedszeile über der Copyright-Zeile */
.footer-trust {
  width: 100%;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.footer-trust a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.footer-trust img { height: 42px; width: auto; }
.footer-trust span { font-size: 0.85rem; color: var(--grey); transition: color 0.2s; }
.footer-trust a:hover span { color: var(--blue); }

/* Start-Hero: weißes AGD-Badge in der Meta-Zeile */
.hero-meta .agd-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.hero-meta .agd-badge img {
  height: 38px;
  width: auto;
  opacity: 0.95;
}
.hero-meta .agd-badge:hover { color: #fff; }

@media (max-width: 860px) {
  /* Auf Mobil: Badge bleibt sichtbar, "20+ Jahre" ist bereits ausgeblendet */
  .hero-meta .agd-badge span { font-size: 0.62rem; }
}

/* ============================================
   Knockout-Statement + Hintergrund-Farbwechsel
   ============================================ */

/* Die ganze Seite blendet weich ins Blau, wenn das Statement im Blick ist */
body { transition: background-color 0.9s ease; }
body.ss-bg-blue { background-color: var(--blue); }

.knockout {
  /* großzügiger Abstand nach unten, damit die Folge-Sektion
     erst nach dem Farbwechsel ins Bild kommt */
  padding: clamp(100px, 16vw, 220px) 0 clamp(160px, 24vw, 340px);
  text-align: left;
  position: relative;
  overflow: hidden;
}
/* Nebel-Schwaden wie im Hero — starten erst, wenn die Sektion im Blick ist */
.knockout .fog { opacity: 0; animation-play-state: paused; }
.knockout.ko-go .fog { animation-play-state: running; }

/* Das Bild scheint nur durch die Buchstaben */
.knockout-text {
  font-family: var(--serif);
  font-weight: 600;
  /* Fallback-Größe — die exakte Maximalgröße ohne Anschnitt
     berechnet das Skript (ss-fit) und überschreibt sie */
  font-size: clamp(2.6rem, 9.5vw, 8.8rem);
  width: fit-content;
  max-width: 100%;
  letter-spacing: -0.02em;
  /* g-Unterlänge nicht abschneiden: bg-clip:text malt nur in der Box */
  line-height: 1.05;
  padding-bottom: 0.16em;
  margin: 0;
  background-size: cover;
  background-position: center var(--ko-y, 45%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.knockout-text em { font-style: italic; color: transparent; }

.knockout-sub {
  margin-top: 1.8em;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--grey);
  transition: color 0.9s ease;
}
body.ss-bg-blue .knockout-sub { color: rgba(255, 255, 255, 0.85); }

/* Footer-Trust: zwei Badges nebeneinander */
.footer-trust { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; }
@media (min-width: 960px) {
  /* AGD, Charta und ProvenExpert in EINER Reihe — verteilt über die
     volle Breite der Trennlinie, jede Position exakt 2 Zeilen */
  .footer-trust { flex-wrap: nowrap; justify-content: space-between; gap: 32px; }
  .footer-trust a { flex: 0 1 auto; }
  .footer-trust a > span:last-child { white-space: nowrap; line-height: 1.45; }
}

@media (max-width: 640px) {
  .footer-trust { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  body, .knockout-sub { transition: none; }
}


/* Während die Seite blau ist: dunkle Texte weich auf Weiß umschalten,
   damit beim Scrollen nichts unlesbar wird */
h1, h2, h3, .label, .lead, .section-head a {
  transition: color 0.7s ease;
}
body.ss-bg-blue main h2,
body.ss-bg-blue main h3,
body.ss-bg-blue main .lead,
body.ss-bg-blue main p {
  color: #fff;
}
body.ss-bg-blue main h2 em { color: #fff; }
/* WICHTIG: Die Knockout-Headline bleibt IMMER transparent —
   sonst überdeckt Weiß die Bild-Stanzung */
body.ss-bg-blue main .knockout-text,
body.ss-bg-blue main .knockout-text em {
  color: transparent;
}
body.ss-bg-blue main .label,
body.ss-bg-blue main .section-head a { color: rgba(255, 255, 255, 0.85); }
/* Karten & weiße Boxen behalten ihre eigenen Farben */
body.ss-bg-blue .pkg:not(.blue) h3,
body.ss-bg-blue .pkg:not(.blue) p,
body.ss-bg-blue .pkg:not(.blue) li { color: revert-layer; }
body.ss-bg-blue .pkg:not(.blue) h3 { color: var(--ink); }
body.ss-bg-blue .pkg:not(.blue) p { color: var(--grey); }


/* Atmen des Knockout-Statements: kaum merklich, aber lebendig */




/* Hero: "den Unterschied." bleibt immer zusammen in einer Zeile */
.hero-typo .display .nb { white-space: nowrap; }


/* ============================================
   Knockout: Kinetic Typography — ruhig & präzise
   ============================================ */

/* Zeilen driften beim Scrollen minimal gegenläufig (--kd kommt aus dem Skript) */


/* Entrance: Zeilen schieben sich nacheinander ruhig nach oben ins Bild —
   bewusst ohne Maske, damit keine Unterlängen abgeschnitten werden */





/* Kinetic Typography v2 — bg-clip-sicher:
   Drift auf dem WRAPPER (Vorfahre), Entrance auf der Headline SELBST.
   Kind-Elemente werden nie transformiert, sonst bricht die Bild-Stanzung. */



/* ============================================
   Trust / Kundenstimmen (ProvenExpert, Eigenbau)
   ============================================ */

.trust {
  border-top: 1px solid var(--line);
  text-align: center;
}
.trust-inner { max-width: 620px; margin: 0 auto; }
.trust-stars {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.35em;
  color: var(--blue);
  margin: 1.2em 0 0.4em;
  /* optisch zentrieren (letzter Buchstabenabstand) */
  padding-left: 0.35em;
}
.trust-line { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 0.4em; }
.trust-sub { margin: 0 auto 1.8em; }
.trust-link {
  font-size: 0.92rem;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.trust-link:hover { opacity: 0.7; }

/* Footer: ProvenExpert-Zeile im Trust-Bereich */
.footer-pe { display: inline-flex; align-items: center; gap: 12px; }
.footer-pe .pe-stars {
  color: var(--blue);
  letter-spacing: 0.18em;
  font-size: 1rem;
  line-height: 1;
}
.footer-pe span:last-child { font-size: 0.85rem; color: var(--grey); transition: color 0.2s; }
.footer-pe:hover span:last-child { color: var(--blue); }


/* Fakten-Karten: Nummern-Label auch auf blauen Karten sichtbar */
.fact.blue .label { color: rgba(255, 255, 255, 0.85); }


/* ============================================
   Knockout: Nebel + Karussell wie im Hero —
   jeder Buchstabe trägt seine eigene Bild-Stanzung
   mit viewport-fixiertem Hintergrund (nahtlos + Parallax)
   ============================================ */

@media (hover: hover) and (pointer: fine) {
  .knockout-text .lt-w { display: inline-block; }
  .knockout-text .lt {
    display: inline-block;
    /* das Bild bekommt jeder Buchstabe einzeln (setzt das Skript) —
       viewportfest, damit die Stanzung über alle Buchstaben nahtlos bleibt */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform-origin: 50% 50%;
    cursor: default;
    transition: transform 0.65s cubic-bezier(0.3, 1.1, 0.5, 1);
  }
  /* Nebel-Einflug wie im Hero — läuft erst an, wenn die Sektion im Blick ist (.ko-in).
     Fail-safe: Der versteckte Start gilt nur mit .ko-fx (setzt das Skript). */
  .knockout-text.ko-fx .lt {
    opacity: 0;
    filter: blur(18px);
    transform: scale(1.1);
    animation: ltFog 1.7s ease-out forwards;
    animation-delay: calc(var(--i) * 0.022s + 0.25s);
    animation-play-state: paused;
  }
  .knockout-text.ko-fx.ko-in .lt { animation-play-state: running; }
  .knockout-text .lt.done { animation: none; opacity: 1; filter: none; transform: none; }
  .knockout-text .lt.done:hover { transform: rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .knockout-text .lt { animation: none !important; opacity: 1 !important; filter: none !important; transform: none !important; }
}


/* ============================================
   Case-Study-Slider: mehrere Bilder pro Slot,
   Optik bleibt schlank — Pfeile nur bei Hover
   ============================================ */

.case-img.ss-slider { position: relative; }
.ss-slides {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-img .ss-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }

.ss-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-size: 19px; line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  z-index: 2;
}
.ss-slider:hover .ss-slider-btn, .ss-slider-btn:focus-visible { opacity: 1; }
.ss-slider-btn:hover { background: #fff; }
.ss-slider-btn.prev { left: 14px; }
.ss-slider-btn.next { right: 14px; }

.ss-slider-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 2;
}
.ss-slider-dots button {
  width: 8px; height: 8px;
  padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ss-slider-dots button.on { background: #fff; transform: scale(1.25); }

/* Touch: keine Hover-Pfeile — gewischt wird direkt */
@media (hover: none) {
  .ss-slider-btn { display: none; }
}


/* ============================================
   Hover-Reveal: zweites Bild wischt beim
   Drüberfahren von rechts ins Bild
   ============================================ */

.ss-hover-reveal { position: relative; }
.ss-hover-reveal .ss-reveal-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.ss-hover-reveal:hover .ss-reveal-img,
.ss-hover-reveal.show .ss-reveal-img { clip-path: inset(0 0 0 0); }


/* ============================================
   Fakten als Flip-Cards: vorn Nummer + Headline,
   hinten der Text — Optik der Karten unverändert
   ============================================ */

.fact.flip {
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
  perspective: 1200px;
}
.fact.flip .flip-inner {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fact.flip:hover .flip-inner,
.fact.flip.flipped .flip-inner { transform: rotateY(180deg); }

.flip-front, .flip-back {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  background: var(--paper);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* Die Rueckseite bestimmt die Hoehe (kein Text wird abgeschnitten),
   die Vorderseite legt sich exakt darueber */
.flip-back { position: relative; transform: rotateY(180deg); min-height: 100%; }
.flip-front {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5em;
}
.flip-front .label { margin-bottom: 0; }
.flip-front .fact-big { margin-bottom: 0; }

/* Farbgestaltung je Karte beibehalten */
.fact.blue.flip { background: none; }
.fact.blue.flip .flip-front,
.fact.blue.flip .flip-back { background: var(--blue); border-color: var(--blue); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .fact.flip .flip-inner { transition: none; }
}

/* Intro-Bild: Hover-Reveal nur auf Desktop — mobil bleibt das erste Bild */
@media (hover: none) {
  .ss-desktop-reveal .ss-reveal-img { display: none; }
}


/* Add-on-CTA */
.addon-link {
  display: inline-block;
  margin-top: 1.1em;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.addon-link:hover { opacity: 0.7; }

/* Marken-Check (Einstiegs-Offer) */
.check-card {
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 4vw, 64px);
}
.check-card ul { list-style: none; margin: 1.4em 0 0; padding: 0; }
.check-card li { padding: 0.45em 0 0.45em 1.6em; position: relative; color: var(--grey); }
.check-card li::before { content: "\2192"; position: absolute; left: 0; color: var(--blue); }
@media (max-width: 860px) { .check-card { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 1.3em 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue); font-size: 1.4em; line-height: 1; flex: none; transition: transform 0.3s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 1.6em; max-width: 46em; }


/* Coming-soon-Teaser in den Projekt-Platzhaltern */
.project-media .coming-soon {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.35;
  text-align: center;
  color: rgba(0, 0, 255, 0.55);
  padding: 0 1em;
}
.project:not([href]) { cursor: default; }

/* NUR MOBIL: blauer Hero unten kürzen — weniger leere Fläche */
@media (max-width: 640px) {
  .hero-mega { min-height: 78svh; }
}

/* Blau-Phase: Fließtext, Hervorhebungen und Ghost-Button lesbar halten */
body.ss-bg-blue main .lead { color: rgba(255, 255, 255, 0.92) !important; }
body.ss-bg-blue main p strong { color: #fff; font-weight: 600; }
body.ss-bg-blue main .btn.ghost { color: #fff; border-color: #fff; background: transparent; }
body.ss-bg-blue main .btn.ghost:hover { background: #fff; color: var(--blue); }
/* Ausnahme: weiße Paket-Karten behalten ihre Farben */
body.ss-bg-blue .pkg:not(.blue) .lead { color: var(--grey) !important; }
body.ss-bg-blue .pkg:not(.blue) p strong { color: var(--ink); }


/* ============================================
   Über mich: Portrait läuft weich in die
   Fakten-Sektion aus — eine ruhige Einheit
   ============================================ */

.facts-intro { position: relative; }
.facts-intro-img { margin: 0; }
.facts-intro-img img {
  display: block;
  width: 100%;
  /* Container ist flacher als das Bild (natürlich 60vw hoch): der Beschnitt
     passiert oben, unten bleibt alles sichtbar — Kopf rückt hoch, kleine Luft bleibt */
  height: clamp(280px, 48vw, 92vh);
  object-fit: cover;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, #000 48%, rgba(0,0,0,0.7) 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 48%, rgba(0,0,0,0.7) 72%, transparent 100%);
}
@media (max-width: 640px) {
  /* mobil: natürliches Seitenverhältnis, kein Beschnitt */
  .facts-intro-img img { height: 60vw; }
}
/* Headline im Satzspiegel — bündig mit den übrigen Inhalten */
.facts-intro-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.facts-intro-overlay h2 { color: var(--ink); margin: 0 0 0.6em; }
.facts-intro-overlay h2 em { color: var(--blue); }
.facts-intro-overlay .label { color: var(--blue); }

/* Die Karten rücken in den Bild-Fade hinein — verbunden, aber voll lesbar */
.facts-section .wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(-240px, -14vw, -64px); /* Fade reicht weiter hinter die Karten */
}
@media (max-width: 640px) {
  .facts-section .wrap { margin-top: -40px; }
}

/* Kundenstimmen */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  border: 0;
  padding: clamp(2.5em, 5vw, 4em) clamp(1.5em, 8vw, 6em);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6em;
  margin: 0;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.45;
  max-width: 34em;
  color: var(--ink);
}
.quote .quote-who { margin-top: auto; }
.quote-single { max-width: 44em; margin: 0 auto; text-align: center; }
.quote-single blockquote {
  margin: 0 0 1.2em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  color: var(--ink);
}
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }


/* Kundenstimmen-Slider — gleiche Mechanik wie bei den Case Studies */
.quote-slider { position: relative; overflow: hidden; border-radius: 8px; }
.quote-slider .ss-slides > figure { flex: 0 0 100%; }
.quote-slider .ss-slider-btn { background: var(--blue); color: #fff; }
.quote-slider .ss-slider-btn:hover { background: #0000d4; }
.quote-slider .ss-slider-dots button { background: rgba(0, 0, 255, 0.22); box-shadow: none; }
.quote-slider .ss-slider-dots button.on { background: var(--blue); }
.quote .quote-who { margin-top: 0; }

/* Pakete: Preis oben, Info darunter, CTA rechts unten als letzter Punkt */
.pkg-meta { display: flex; flex-direction: column; align-items: flex-end; }
.pkg-meta .btn { margin-top: auto; padding-top: 0.9em; padding-bottom: 0.9em; }
.pkg-meta .grey { margin-bottom: 1.6em; }
.pkg.blue .btn { background: #fff; color: var(--blue); border-color: #fff; }
.pkg.blue .btn:hover { background: transparent; color: #fff; }
@media (max-width: 860px) { .pkg-meta { align-items: flex-start; } }

/* Saralignment-Copyright hochgestellt */
.pkg h3 sup, h2 sup, h3 sup, .btn sup { font-size: 0.5em; vertical-align: super; letter-spacing: 0; }

/* Kundenlogos im Laufband */
.clients-inner span img {
  height: 30px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.85;
}

/* ============================================
   Quiz-Upgrade: Flip beim Auswählen, Konfetti,
   Ergebnis-Karte im Paket-Look
   ============================================ */

.quiz-opt { transform-style: preserve-3d; }
.quiz-opt.picked { animation: quizPick 0.45s ease; background: #fff; color: var(--blue); }
@keyframes quizPick {
  0% { transform: rotateX(0); }
  50% { transform: rotateX(90deg); }
  100% { transform: rotateX(0); }
}
.quiz-progress-hint { color: rgba(255, 255, 255, 0.8); }

.quiz-result-card {
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: clamp(24px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(20px, 3vw, 40px);
  text-align: left;
  align-items: center;
}
.quiz-result-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px 40px 8px 40px;
}
.quiz-result-card h3 { color: var(--ink); margin: 0.3em 0 0.5em; }
.quiz-result-card .label { color: var(--blue); }
.quiz-result-card p { color: var(--grey); }
.quiz-personal {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink) !important;
  margin-bottom: 0.8em;
}
.quiz-result-card .btn { margin-top: 1.4em; }
@media (max-width: 640px) { .quiz-result-card { grid-template-columns: 1fr; } .quiz-result-card img { max-width: 220px; } }

.ss-confetti {
  position: absolute;
  top: -12px;
  width: 10px;
  height: 10px;
  pointer-events: none;
  animation: confettiFall linear forwards;
  z-index: 5;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(75vh) rotate(720deg); opacity: 0; }
}

/* ============================================
   Austauschbar-O-Meter
   ============================================ */

.ometer-score {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: 1;
  color: #fff;
}
.ometer-bar {
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  overflow: hidden;
  margin: 1.6em 0;
}
.ometer-bar-fill {
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 7px;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.ometer-tier { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; }


/* O-Meter: Ergebnis-Karte + Lead-Formular */
.ometer-result-card {
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: clamp(24px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 3vw, 40px);
  text-align: left;
  align-items: center;
  margin-top: 2em;
}
.ometer-result-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px 40px 8px 40px;
}
.ometer-result-card p { color: var(--grey); }
.ometer-result-card .quiz-personal { color: var(--ink) !important; }
@media (max-width: 640px) { .ometer-result-card { grid-template-columns: 1fr; } .ometer-result-card img { max-width: 220px; } }

#ometerLead { display: none; }
#ometerLead.show { display: block; }
#ometerLead .check-card { background: var(--paper); }


/* ============================================
   O-Meter: kompaktes Ergebnis + Lead-Funnel
   in einer blauen Sektion
   ============================================ */

/* Ergebnis kompakt: kein Riesen-Weissraum, Karte schlank */
#ometerStep .quiz-result { padding: 0; }
#ometerStep .quiz-result .quiz-progress-hint { margin-bottom: 0.6em; }
#ometerStep .ometer-score { font-size: clamp(2.8rem, 6vw, 4.5rem); margin: 0; }
#ometerStep .ometer-bar { margin: 1em auto; max-width: 420px; }
#ometerStep .ometer-tier { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 0; }
#ometerStep .ometer-result-card {
  grid-template-columns: 132px 1fr;
  gap: clamp(16px, 2.5vw, 28px);
  padding: clamp(18px, 2.5vw, 28px);
  margin-top: 1.4em;
  border: 1px solid var(--line);
}
#ometerStep .ometer-result-card p { margin-bottom: 0.6em; font-size: 0.95rem; }
#ometerStep .ometer-result-card .quiz-personal { font-size: 1.05rem; margin-bottom: 0.5em; }

/* Verbindung Ergebnis -> Formular */
.ometer-connector {
  display: none;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: #fff;
  margin: 2em auto 1.2em;
  max-width: 30em;
}
#ometerLead { display: none; }
#ometerLead.show { display: block; }
#ometerLead.show .ometer-connector { display: block; }

.ometer-lead-card {
  background: #fff;
  border-radius: 8px;
  padding: clamp(24px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.ometer-lead-card h2 { color: var(--ink); }
.ometer-lead-card h2 em { color: var(--blue); }
.ometer-lead-card p { color: var(--grey); }
.ometer-lead-card .label { color: var(--blue); }
.ometer-doi-hint { font-size: 0.82rem !important; margin-top: 1.2em !important; }
@media (max-width: 860px) { .ometer-lead-card { grid-template-columns: 1fr; } }


/* Navigation: 7 Punkte brauchen Luft — enger ab 1120px, Burger schon ab 860px */
@media (max-width: 1120px) and (min-width: 861px) {
  .nav { gap: 1.2em; }
  .nav a { font-size: 0.84rem; }
}
@media (max-width: 860px) and (min-width: 641px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px var(--pad) 24px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.1rem; }
  .nav .nav-cta { margin-top: 12px; }
  .nav-toggle { display: block; }
}

/* O-Meter: Blau läuft hinter der Maßnahmenplan-Box weich ins Weiß aus
   (Klasse setzt das Skript, sobald das Ergebnis steht) */
.blue-section.ometer-done {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue) 52%, #f2f2ff 82%, #ffffff 100%);
}

/* Maßnahmenplan-Box: großzügiger, geordnet, rechte Spalte unten bündig */
.ometer-lead-card {
  padding: clamp(32px, 5vw, 64px);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 40, 0.08);
}
.ometer-lead-card .ff-embed {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* Formulartexte auf der weißen Karte lesbar halten (Checkbox/Einwilligung!) */
.ometer-lead-card .ff-embed,
.ometer-lead-card .ff-embed p,
.ometer-lead-card .ff-embed label,
.ometer-lead-card .ff-embed .ff-el-form-check-label,
.ometer-lead-card .ff-embed .ff_t_c,
.ometer-lead-card .ff-embed .ff-el-tc {
  color: var(--grey) !important;
}
.ometer-lead-card .ff-embed .ff-el-input--label label { color: var(--ink) !important; }
