:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --bg-warm-tint: #F5F5F7;
  --ink: #1D1D1F;
  --ink-muted: #86868B;
  --ink-subtle: #A1A1A6;
  --accent: #1D1D1F;
  --accent-warm: #34C759;
  --accent-warm-soft: rgba(52, 199, 89, 0.1);
  --border: #E5E5EA;
  --border-strong: #D2D2D7;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Merriweather", Georgia, serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  hanging-punctuation: first last;
  font-feature-settings: "kern", "liga", "calt", "ss01";
  font-kerning: normal;
}

/* Typografische Balance für Überschriften — verhindert Witwen/Waisen */
h1, h2, h3, .haltbar-statement, .philosophy-conclusion, .cta-heading {
  text-wrap: balance;
}

/* Bewegungsreduktion respektieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Page Transition Overlay */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg);
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s var(--ease);
}
.page-transition.loaded {
  opacity: 0;
}

body {
  font-family: var(--sans);
  background-color: var(--bg);
  /* Film-Körnung scrollt mit dem Content (kein background-attachment: fixed).
     Das Muster ist so fein, dass der Unterschied optisch nicht auffällt,
     spart aber pro Scroll-Frame einen teuren Full-Viewport-Repaint. */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  background-repeat: repeat;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ============ NAVIGATION ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* backdrop-filter komplett entfernt — der war der größte Compositor-
     Posten pro Scroll-Frame. Stattdessen nahezu-opake Fläche mit einem
     Hauch Transparenz, damit die Körnung beim Übergang Hero→Nav nicht
     abrupt abbricht. */
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), padding 0.3s var(--ease), box-shadow 0.4s var(--ease);
  contain: layout paint;
}

nav.scrolled {
  border-bottom-color: var(--border);
  padding: 16px 48px;
  /* Hairline statt Drop-Shadow — Oura-/Apple-leise */
  box-shadow: 0 1px 0 var(--border);
}

.logo {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.logo-mark {
  width: 6px;
  height: 6px;
  background: var(--accent-warm);
  border-radius: 50%;
  animation: pulse 3s var(--ease) infinite;
  align-self: baseline;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); box-shadow: 0 0 10px rgba(223, 255, 0, 0.5); }
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-muted);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
  padding: 4px 0;
  display: inline-block;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link:hover {
  transform: scale(1.08);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============ LAYOUT ============ */
main {
  padding-top: 120px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Performance: Off-Screen-Sections werden nicht gerendert, bis sie in den
   Viewport scrollen. Spart pro Scroll-Frame Layout + Paint für alles, was
   gerade nicht sichtbar ist. `auto 800px` gibt dem Browser einen Platz-
   halter, damit der Scrollbalken nicht springt, wenn Sections (de)skipped
   werden. */
main > section {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 120px 0;
  position: relative;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 {
  font-family: var(--serif);
  letter-spacing: -0.5px;
  color: var(--ink);
}

h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-weight: 600;
}

h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.5px;
  font-weight: 600;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-warm);
  margin-bottom: 20px;
  display: inline-block;
}

p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}

p.lead {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
  max-width: 640px;
}

/* ============ ANIMATIONS ============ */
/* Upgraded reveal: translation + blur for premium feel */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.principle-delay-1 { transition-delay: 0.4s; }
.principle-delay-2 { transition-delay: 1.0s; }
.principle-delay-3 { transition-delay: 1.6s; }

/* Parallax wrappers */
.parallax {
  will-change: transform;
}

/* ============ HERO ============ */
.hero {
  min-height: calc(100vh - 120px);
  padding: 40px 0 160px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero h1 .emphasis {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  letter-spacing: inherit;
  /* Farbe kommt aus der globalen .emphasis-Regel (Terracotta) */
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 580px;
  margin: 32px 0 40px;
  font-weight: 400;
}

/* ============ ACCENT LINES (ZIG-ZAG) ============ */
.accent-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-strong), transparent);
  pointer-events: none;
  z-index: 0;
  width: 55vw;
  opacity: 0;
  transition: opacity 1.5s var(--ease-out), transform 1.5s var(--ease-out);
}

.zig-1 { top: 15%; right: -5%; transform-origin: right center; transform: rotate(-15deg) scaleX(0); }
.zig-1.visible { opacity: 1; transform: rotate(-15deg) scaleX(1); }

.zig-2 { top: 40%; left: -5%; transform-origin: left center; transform: rotate(10deg) scaleX(0); }
.zig-2.visible { opacity: 1; transform: rotate(10deg) scaleX(1); }

.zig-3 { top: 65%; right: -5%; transform-origin: right center; transform: rotate(-10deg) scaleX(0); }
.zig-3.visible { opacity: 1; transform: rotate(-10deg) scaleX(1); }

.zig-4 { top: 85%; left: -5%; transform-origin: left center; transform: rotate(15deg) scaleX(0); }
.zig-4.visible { opacity: 1; transform: rotate(15deg) scaleX(1); }

.hero-marker {
  position: absolute;
  top: 20%;
  right: 8%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-warm);
  opacity: 1;
  animation: pulse 3s var(--ease) infinite;
}

/* ============ BUTTONS ============ */
.btn {
  /* Magnetic-Offset (JS setzt --mx/--my), Lift + Scale (Hover/Active).
     Komposition über CSS-Variablen, damit Magnet und Hover sich nicht
     gegenseitig überschreiben. */
  --mx: 0px;
  --my: 0px;
  --lift: 0px;
  --scale: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transform: translate3d(var(--mx), calc(var(--my) + var(--lift)), 0) scale(var(--scale));
  transition: background 0.4s var(--ease-out),
              transform 0.35s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Layered Hairline-Shadow (Apple-Stil) — präzise statt voluminös */
  box-shadow: 0 1px 2px rgba(26, 25, 23, 0.06), 0 1px 1px rgba(26, 25, 23, 0.04);
}

/* Sheen: diagonaler Lichtstreifen wandert beim Hover über den Button */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}

.btn:hover {
  background: #333336;
  color: var(--bg);
  --lift: -2px;
  --scale: 1.02;
  box-shadow: 0 2px 6px rgba(223, 255, 0, 0.14), 0 1px 2px rgba(223, 255, 0, 0.08);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:active {
  --lift: 0px;
  --scale: 0.99;
  transition-duration: 0.1s;
}

.btn .arrow {
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.btn-ghost:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  gap: 12px;
}

/* ============ STARTSEITE SPECIFIC ============ */
.problem-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  /* Großzügige Vertikal-Luft — Sections atmen wie Apple-Produktseiten */
  padding: 140px 0;
}

.problem-intro {
  display: flex;
  align-items: center;
}

.problem-header {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.problem-header::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--accent-warm) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(20px);
  z-index: -1;
  animation: float 6s infinite ease-in-out alternate;
  /* GPU-Layer erzwingen, damit der Blur-Filter nicht bei jedem Scroll
     neu gegen den Hintergrund gerechnet wird */
  will-change: transform;
}

@keyframes float {
  0% { transform: translateY(0px) translateX(0px); }
  100% { transform: translateY(30px) translateX(20px); }
}

.card-hover {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.problem-stat {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 300;
  margin-top: 32px;
  max-width: 680px;
  opacity: 0.88;
  /* Dezenter warmer Hairline-Akzent links — markiert den Daten-Satz
     als eigenes "Pull-Quote", ohne den Rhythmus zu stören. */
  border-left: 2px solid var(--accent-warm);
  padding-left: 20px;
}

.statement-wrapper {
  margin: 120px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.haltbar-statement {
  font-family: var(--sans);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25em;
  flex-wrap: wrap;
}

.haltbar-statement .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.haltbar-statement.visible .word {
  opacity: 1;
  transform: translateY(0);
}
.pulse-inline {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-warm);
  animation: pulse 3s var(--ease) infinite;
  margin-left: 2px;
}

.scale-up {
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s ease;
}
.scale-up.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
  border-top: none;
}

.principle {
  padding: 40px 32px;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              background 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}
/* Warmer Akzent-Strich oben — visueller Farbtupfer pro Box */
.principle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-warm);
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out);
}
.principle.reveal.visible::before {
  opacity: 0.85;
  transform: scaleX(1);
}
.principle:hover {
  transform: translateY(-8px);
  background: #FFFFFF;
  border-color: var(--border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}
.principle.reveal.visible:hover::before {
  opacity: 1;
}

.principle:last-child {
  padding-right: 32px;
}

.principle:not(:first-child) {
  padding-left: 32px;
}

.principle-number {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent-warm);
  margin-bottom: 24px;
  font-variation-settings: "opsz" 8;
  letter-spacing: 0.05em;
}

.principle h3 {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: #1D1D1B;
}

.principle p {
  font-size: 17px;
  line-height: 1.6;
  color: #1D1D1B;
  font-weight: 300;
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 140px 0 180px;
  text-align: center;
}

.cta-heading {
  font-family: var(--sans);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  max-width: 680px;
  margin: 0 auto 48px;
  letter-spacing: -0.025em;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 15px;
  color: #1D1D1B;
  transition: all 0.4s var(--ease);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: #FFF;
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

.newsletter-form input::placeholder {
  color: var(--ink-subtle);
}

.newsletter-note {
  font-size: 13px;
  color: var(--ink-subtle);
  margin-top: 20px;
  text-align: center;
}

/* ============ FOOTER ============ */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-minimal {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 12px;
  color: var(--ink-subtle);
  flex-wrap: wrap;
  gap: 32px;
}

.footer-minimal .footer-links {
  display: flex;
  gap: 32px;
}

.footer-minimal a {
  color: var(--ink-subtle);
  text-decoration: none;
  transition: color 0.3s var(--ease);
  position: relative;
  padding-bottom: 2px;
}

.footer-minimal a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.footer-minimal a:hover {
  color: var(--ink);
}

.footer-minimal a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============ PHILOSOPHIE PAGE ============ */
.philosophy-hero {
  padding: 80px 0 0;
}

.philosophy-content {
  padding: 32px 0 120px;
}

/* Sektions-Blöcke: neutrale Gliederung ohne Kapitel-Nummer und ohne
   farbige Top-Hairline. Abstand + dezente Hairline als Trenner reichen. */
.philosophy-section {
  position: relative;
  padding-top: 48px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(26, 25, 23, 0.10);
}

.philosophy-section:first-child {
  border-top: none;
  padding-top: 0;
}

/* Überschriften auf "Unser Ansatz" vereinheitlicht: gleiche Schrift,
   gleiche Laufweite, alle in semibold (600). H1 bleibt die größte
   Ebene, H2s darunter einheitlich und deutlich größer als der Body. */
.philosophy-hero h1 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.philosophy-content h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 560px;
}

.philosophy-content p {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.75;
}

.philosophy-content p .footnote {
  font-size: 13px;
  color: var(--accent-warm);
  vertical-align: super;
  cursor: pointer;
  text-decoration: none;
  margin-left: 2px;
  font-weight: 500;
}

.philosophy-conclusion {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
  font-weight: 400;
  margin-top: 80px;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 72;
}

.philosophy-conclusion p {
  font: inherit;
  color: inherit;
  line-height: inherit;
  margin: 0;
}

.philosophy-conclusion p + p {
  margin-top: 32px;
}

.philosophy-conclusion .highlight {
  color: var(--accent);
}

.references {
  margin-top: 100px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.references-title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.references ol {
  list-style: none;
  counter-reset: ref;
}

.references li {
  counter-increment: ref;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
}

.references li::before {
  content: "[" counter(ref) "]";
  position: absolute;
  left: 0;
  color: var(--accent-warm);
  font-weight: 500;
}

.references a {
  color: var(--accent);
  text-decoration: none;
  position: relative;
  padding-bottom: 1px;
}

.references a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.references a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============ BLOG PAGE ============ */
.blog-hero {
  padding: 80px 0 80px;
  border-bottom: 1px solid var(--border);
}

.blog-tagline {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 580px;
  margin-top: 32px;
  line-height: 1.7;
  font-weight: 300;
}

.blog-list {
  padding: 80px 0 120px;
}

.blog-empty {
  padding: 100px 0;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.blog-empty:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.blog-empty-mark {
  width: 40px;
  height: 1px;
  background: var(--accent-warm);
  margin: 0 auto 24px;
}

.blog-empty-text {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-muted);
  font-weight: 300;
  font-variation-settings: "opsz" 60;
}

.blog-empty-sub {
  font-size: 14px;
  color: var(--ink-subtle);
  margin-top: 12px;
}

/* ============ ÜBER UNS PAGE ============ */
.about-hero {
  padding: 80px 0 80px;
  border-bottom: 1px solid var(--border);
}

.about-intro {
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 680px;
  margin-top: 48px;
  font-weight: 300;
}

.founders {
  /* Top-Padding entfernt, damit der Abstand Intro→Sinan dem Abstand
     Sinan→Julian entspricht (jeweils 2×80 px aus .founder padding). */
  padding: 0 0 120px;
}

.founder {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.founder:last-child {
  border-bottom: none;
}

.founder-name {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 72;
  color: var(--ink);
  position: sticky;
  top: 120px;
}

.founder-name::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent-warm);
  margin-top: 24px;
}

.founder-bio {
  max-width: 620px;
}

.founder-bio p {
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}

/* ============ KONTAKT PAGE ============ */
.kontakt-hero {
  padding: 80px 0 60px;
}

.kontakt-form {
  padding: 40px 0 140px;
  max-width: 520px;
  margin: 0 auto;
}

/* Floating-Label-Feld: Label wandert beim Fokus/Inhalt nach oben,
   Bottom-Border fährt mit der Ease-Kurve von links ein */
.form-field {
  position: relative;
  margin-bottom: 36px;
}

.form-field .form-input,
.form-field .form-textarea {
  width: 100%;
  padding: 24px 0 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.form-field .form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-field .form-label {
  position: absolute;
  left: 0;
  top: 24px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0;
  pointer-events: none;
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out), color 0.3s var(--ease);
}

.form-field .form-input:focus ~ .form-label,
.form-field .form-input:not(:placeholder-shown) ~ .form-label,
.form-field .form-textarea:focus ~ .form-label,
.form-field .form-textarea:not(:placeholder-shown) ~ .form-label {
  transform: translateY(-22px) scale(0.72);
  color: var(--accent);
}

/* Animierter Akzent-Unterstrich, fährt beim Fokus von links ein */
.form-field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.form-field:focus-within::after {
  transform: scaleX(1);
}

/* Inline Success-Zustand nach erfolgreichem Absenden — liegt als Overlay
   über dem Formular, Form fadet aus, Success fadet ein */
.form-success {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease-out) 0.2s, transform 0.6s var(--ease-out) 0.2s;
  text-align: center;
  padding: 40px 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form-wrapper.submitted .form-success {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.form-success-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 24px;
  position: relative;
  animation: successPop 0.6s var(--ease-out) both;
}

.form-success-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
  animation: checkDraw 0.4s 0.2s var(--ease-out) both;
}

@keyframes successPop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes checkDraw {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

.form-success h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.form-success p {
  color: var(--ink-muted);
  font-size: 16px;
}

/* Form-Container braucht relative Positionierung für das overlay-Success */
.form-wrapper {
  position: relative;
}

.form-wrapper.submitted form {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

/* ============ DATENSCHUTZ PAGE ============ */
.legal-hero {
  padding: 80px 0 0;
}

.legal-content {
  padding: 32px 0 120px;
}

.legal-content h2 {
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p, .legal-content li {
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 24px;
}

/* ============ MOBILE MENU ============ */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  body {
    font-size: 17px;
  }

  nav, nav.scrolled {
    padding: 18px 24px;
  }

  .container, .container-narrow {
    padding: 0 24px;
  }

  section {
    padding: 80px 0;
  }

  main {
    padding-top: 100px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(245, 241, 232, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 20px;
    font-family: var(--serif);
    font-weight: 400;
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .principle {
    padding: 40px 32px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
}

/* ============ POPUP ============ */
.popup-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(26, 25, 23, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.popup-content {
  background: var(--bg);
  padding: 64px 48px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s var(--ease);
  /* Popup braucht noch etwas Lift, um sich vom Overlay zu lösen —
     aber deutlich zurückhaltender als vorher. */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  text-align: center;
}
.popup-overlay.active .popup-content {
  transform: translateY(0) scale(1);
}
.popup-close {
  position: absolute;
  top: 16px; right: 24px;
  background: none; border: none;
  font-size: 28px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.popup-close:hover { color: var(--ink); }
.newsletter-form-popup {
  display: flex; flex-direction: column; gap: 8px; margin-top: 24px;
}
.newsletter-form-popup .form-field {
  margin-bottom: 16px;
}
.newsletter-form-popup .btn {
  justify-content: center;
}

/* Popup-Success: tauscht Form gegen Bestätigung */
.popup-content .form-success {
  position: absolute;
  inset: 0;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.popup-content.submitted > *:not(.form-success) {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.popup-content.submitted .form-success {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* GLB-EMP-H — Emphasis site-wide in Terracotta (warmer Akzent) */
.emphasis { color: var(--accent-warm) !important; font-weight: 500; font-family: inherit; font-style: normal; }

.kontakt-hero { text-align: left; }



/* ============ PILLS ============ */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}
.pill {
  background: #1D1D1B;
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: 32px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}





.kontakt-form form {
  width: 100%;
}
.kontakt-form .btn {
  margin: 0 auto;
}

/* ============ APPLE-CALIBER REFINEMENTS ============ */

/* Animierte Akzent-Unterstreichung NUR in den Prinzipien-Boxen auf
   index.html. Site-wide in den Überschriften sind Underlines deaktiviert. */
.em-word {
  position: relative;
  display: inline-block;
}
.principle .em-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.04em;
  height: 1.5px;
  background: var(--accent-warm);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.95s var(--ease-out);
  pointer-events: none;
  border-radius: 1px;
}
.principle.reveal.visible .em-word::after {
  transform: scaleX(1);
}
/* Auf "Unser Ansatz": Emphasis-Farbe neutralisieren — dort erfolgt die
   Gliederung über die .philosophy-section-Blöcke, keine farbige Hervorhebung
   im H1. */
body.page-philosophie .emphasis {
  color: inherit !important;
  font-weight: inherit;
}

/* Prinzipien-H3 einzeilig halten — "BEWEGUNG statt Muskeln." ist die
   längste Zeile und entscheidet die Minimal-Breite. Font per clamp()
   responsiv (20–26px), damit auch bei Desktop-Breiten < 1100px noch
   Platz ist. Boxen bleiben gleichmäßig dank grid 1fr. */
.principle h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  white-space: nowrap;
}

/* 3) Ambient Cursor-Light
   Weicher Navy-Gradient, der dem Cursor folgt. Als body::before an z:-1 —
   überlagert den Grain, sitzt aber hinter Content (keine Textverfärbung).
   JS setzt --cx/--cy, CSS rendert. Nur Desktop (siehe JS und
   @media-Guards unten). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    560px circle at var(--cx, 50%) var(--cy, 50%),
    rgba(30, 58, 95, 0.065) 0%,
    rgba(30, 58, 95, 0.025) 30%,
    transparent 58%
  );
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
body.has-cursor-glow::before {
  opacity: 1;
}

/* Reduced-Motion & Touch: neue Gimmicks still, Content bleibt lesbar */
@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
  .principle .em-word::after {
    transition: none;
    transform: scaleX(1);
  }
  .btn { --mx: 0px; --my: 0px; }
}
@media (hover: none) {
  body::before { display: none; }
  .btn { --mx: 0px; --my: 0px; }
}

/* Mobile: Box-H3 darf wieder umbrechen, weil die Spalte full-width wird */
@media (max-width: 768px) {
  .principle h3 {
    white-space: normal;
  }
}
