/* ==========================================================================
   Briefr — Editorial Design with Photos & Visual Rhythm
   ========================================================================== */

/* ==========================================================================
   0. Self-hosted Fonts (DSGVO-konform, kein Google-Request)
   ========================================================================== */

/* Inter — Variable Font (400–700), Latin only */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
}

/* Playfair Display — Italic 400, Latin only */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/playfair-display-italic-latin.woff2) format('woff2');
}

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  --color-primary: #ffffff;
  --color-accent: #00adff;
  --color-accent-hover: #0098e0;
  --color-accent-soft: rgba(0, 173, 255, 0.10);
  --color-accent-dark: #003744;
  --color-purple: #8b5cf6;
  --color-purple-soft: rgba(139, 92, 246, 0.10);

  --color-bg: #0e0e10;
  --color-bg-elevated: #161618;
  --color-bg-surface: #1c1c1f;
  --color-bg-glass: rgba(255, 255, 255, 0.04);
  --color-bg-glass-hover: rgba(255, 255, 255, 0.07);

  --color-text: #f0f0f2;
  --color-text-secondary: #8e8e93;
  --color-text-tertiary: #5e5e63;
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-muted: #8e8e93;

  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.15);
  --color-border-dark: rgba(255, 255, 255, 0.06);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  --text-xl: clamp(1.15rem, 1rem + 0.75vw, 1.35rem);
  --text-2xl: clamp(1.4rem, 1.1rem + 1.5vw, 1.875rem);
  --text-3xl: clamp(1.75rem, 1.2rem + 2.5vw, 2.5rem);
  --text-4xl: clamp(2rem, 1.3rem + 3.5vw, 3.25rem);
  --text-5xl: clamp(2.5rem, 1.5rem + 5vw, 4.25rem);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  --max-w: 1200px;
  --px: var(--sp-5);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --fast: 150ms;
  --normal: 250ms;
  --slow: 400ms;

  --z-nav: 1000;
}


/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}


/* ==========================================================================
   3. Utilities
   ========================================================================== */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }
.text-center { text-align: center; }

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.section { padding-block: var(--sp-20); }
@media (min-width: 768px)  { .section { padding-block: var(--sp-24); } }
@media (min-width: 1024px) { .section { padding-block: var(--sp-32); } }

.section__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-4);
}

.section__title {
  font-size: var(--text-3xl);
  font-weight: 500;
  margin-bottom: var(--sp-4);
  color: var(--color-text);
}

.section__subtitle {
  font-size: var(--text-lg);
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.6;
  color: var(--color-text-secondary);
}


/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--fast) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover {
  background: var(--color-bg-glass-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-1px);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-base);
}


/* ==========================================================================
   5a. Topbar (Hiring Announcement)
   ========================================================================== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: calc(var(--z-nav) + 1);
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--color-border);
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  animation: navSlideIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--color-accent);
  font-weight: 600;
  transition: gap var(--fast) var(--ease);
}

.topbar__link:hover {
  gap: var(--sp-2);
}

.topbar__close {
  position: absolute;
  right: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  padding: var(--sp-1);
  transition: color var(--fast) var(--ease);
}

.topbar__close:hover {
  color: #fff;
}

.topbar.hidden {
  display: none;
}

.topbar ~ .nav {
  top: 36px;
}

.topbar.hidden ~ .nav {
  top: 0;
}


/* ==========================================================================
   5b. Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding-block: var(--sp-6);
  background: transparent;
  transform: translateY(-100%);
  animation: navSlideIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  transition: padding var(--normal) var(--ease),
              background var(--normal) var(--ease),
              box-shadow var(--normal) var(--ease);
}

@keyframes navSlideIn {
  to { transform: translateY(0); }
}

.nav.scrolled {
  padding-block: var(--sp-3);
  background: rgba(14, 14, 16, 0.75);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--color-border);
}

.nav .container {
  display: flex;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 30px;
  width: auto;
  transition: all var(--normal) var(--ease);
}

.nav.scrolled .nav__logo-img {
  height: 24px;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-10);
  margin-left: auto;
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--fast) var(--ease);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width var(--normal) var(--ease);
}

.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }

.nav.scrolled .nav__links a { color: rgba(255, 255, 255, 0.55); }
.nav.scrolled .nav__links a:hover { color: #fff; }

.nav__cta {
  display: none;
  margin-left: var(--sp-8);
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--color-border);
  background: transparent;
  transition: all var(--normal) var(--ease);
}

.nav__cta:hover {
  color: #fff;
  border-color: var(--color-border-hover);
  background: var(--color-bg-glass);
}

.nav.scrolled .nav__cta {
  color: rgba(255, 255, 255, 0.7);
  border-color: var(--color-border-hover);
  background: var(--color-bg-glass);
}

.nav.scrolled .nav__cta:hover {
  color: #fff;
  border-color: var(--color-accent);
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: var(--sp-2);
  margin-left: auto;
  position: relative;
  z-index: calc(var(--z-nav) + 1);
}

.nav__burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--normal) var(--ease);
  transform-origin: center;
}

.nav.scrolled .nav__burger span { background: #fff; }

.nav.nav--menu-open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.nav--menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.nav--menu-open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) + 10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  background: rgba(14, 14, 16, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.nav__mobile-close {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: var(--sp-2);
  transition: color var(--fast) var(--ease);
}

.nav__mobile-close:hover { color: #fff; }

.nav__mobile-logo {
  position: absolute;
  top: var(--sp-6);
  left: var(--sp-6);
  height: 28px;
  width: auto;
  opacity: 0.25;
}

.nav__mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__mobile-menu a {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text-secondary);
  opacity: 0;
  transform: translateY(16px);
  transition: color var(--fast) var(--ease),
              opacity 0.4s var(--ease),
              transform 0.4s var(--ease);
}

.nav__mobile-menu a:hover { color: #fff; }

.nav__mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile-menu.active a:nth-child(1) { transition-delay: 50ms; }
.nav__mobile-menu.active a:nth-child(2) { transition-delay: 100ms; }
.nav__mobile-menu.active a:nth-child(3) { transition-delay: 150ms; }
.nav__mobile-menu.active a:nth-child(4) { transition-delay: 200ms; }
.nav__mobile-menu.active a:nth-child(5) { transition-delay: 250ms; }
.nav__mobile-menu.active a:nth-child(6) { transition-delay: 300ms; }

.nav__mobile-menu .btn {
  margin-top: var(--sp-4);
  font-size: var(--text-base);
  color: #fff;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}


/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  color: var(--color-text);
  overflow: hidden;
  padding-top: var(--sp-32);
  padding-bottom: var(--sp-20);
}

@media (min-width: 768px) {
  .hero { padding-bottom: var(--sp-24); }
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Aurora */
.hero__aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.hero__aurora-blob--blue {
  width: 500px; height: 500px;
  top: -15%; left: 15%;
  background: radial-gradient(circle, rgba(0, 173, 255, 0.30), transparent 70%);
  animation: auroraFloat1 15s ease-in-out infinite alternate;
}

.hero__aurora-blob--purple {
  width: 420px; height: 420px;
  top: 5%; right: 5%;
  background: radial-gradient(circle, rgba(255, 225, 180, 0.14), transparent 70%);
  animation: auroraFloat2 18s ease-in-out infinite alternate;
}

.hero__aurora-blob--teal {
  width: 400px; height: 350px;
  bottom: -5%; left: 40%;
  background: radial-gradient(circle, rgba(240, 210, 170, 0.10), transparent 70%);
  animation: auroraFloat3 13s ease-in-out infinite alternate;
}

.hero__aurora-blob--warm {
  width: 380px; height: 380px;
  top: 35%; left: 0%;
  background: radial-gradient(circle, rgba(250, 215, 165, 0.12), transparent 70%);
  animation: auroraFloat4 16s ease-in-out infinite alternate;
}

@keyframes auroraFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(80px, 60px) scale(1.15); }
  66%  { transform: translate(-40px, 30px) scale(0.9); }
  100% { transform: translate(50px, -20px) scale(1.05); }
}
@keyframes auroraFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-70px, -50px) scale(1.2); }
  66%  { transform: translate(60px, -30px) scale(0.85); }
  100% { transform: translate(-30px, 40px) scale(1.1); }
}
@keyframes auroraFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -50px) scale(1.12); }
  66%  { transform: translate(-50px, 40px) scale(0.88); }
  100% { transform: translate(30px, -30px) scale(1.05); }
}
@keyframes auroraFloat4 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(50px, -40px) scale(1.1); }
  66%  { transform: translate(-30px, 50px) scale(0.92); }
  100% { transform: translate(40px, 20px) scale(1.08); }
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

.hero__line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent 0%, var(--color-border) 20%, var(--color-border) 80%, transparent 100%);
}

.hero__title {
  font-size: clamp(2.5rem, 1.5rem + 5vw, 5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
  color: #fff;
}

.hero__title-accent {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  color: #fff;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-muted);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

.hero__cta {
  padding: 0.875rem 2rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  background: #fff;
  color: var(--color-bg);
  border: none;
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__cta:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 173, 255, 0.3);
}

.hero__text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--fast) var(--ease);
}

.hero__text-link:hover { color: #fff; }

/* Hero Faces */
.hero__faces {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}

.hero__faces-stack {
  display: flex;
}

.hero__face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-bg);
  margin-left: -10px;
  position: relative;
}

.hero__face:first-child {
  margin-left: 0;
}

.hero__face:nth-child(1) { z-index: 4; }
.hero__face:nth-child(2) { z-index: 3; }
.hero__face:nth-child(3) { z-index: 2; }
.hero__face:nth-child(4) { z-index: 1; }

.hero__faces-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Hero Proof Bar */
.hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-border);
}

.hero__proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
}

.hero__proof-number {
  font-size: var(--text-xl);
  font-weight: 500;
  color: #fff;
}

.hero__proof-label {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.hero__proof-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border);
}

@media (max-width: 480px) {
  .hero__proof { gap: var(--sp-4); }
  .hero__proof-number { font-size: var(--text-base); }
}

.hero__tagline {
  font-family: var(--font);
  font-style: normal;
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-6);
  letter-spacing: -0.01em;
}

.hero__tagline .hero__title-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--color-text-secondary);
}


/* ==========================================================================
   7. Partners
   ========================================================================== */
.partners {
  padding-block: var(--sp-12);
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.partners__label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-tertiary);
  margin-bottom: var(--sp-8);
}

.partners__track {
  display: flex;
  gap: 6rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.partners__logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.4;
  filter: brightness(0) invert(1);
  transition: opacity var(--fast) var(--ease);
}

.partners__logo:hover { opacity: 0.7; }

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


/* ==========================================================================
   8. Gründer-Story
   ========================================================================== */
/* Shared signature styles */
.story__signature {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.story__signature-name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}

.story__signature-role {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

/* ---- Gründer-Story (Pull-Quote + Foto) ---- */
.story-b {
  background: var(--color-bg);
  position: relative;
}

.story-b__inner {
  display: grid;
  gap: var(--sp-10);
  align-items: center;
}

.story-b__photo {
  order: -1;
}

@media (min-width: 768px) {
  .story-b__inner {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--sp-16);
  }

  .story-b__photo {
    order: 0;
  }
}

.story-b__quote-wrap {
  display: flex;
  flex-direction: column;
}

.story-b__quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: var(--text-3xl);
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}

.story-b__followup {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.story-b__photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
  .story-b__photo {
    aspect-ratio: 3 / 4;
  }
}

.story-b__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-b__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
  transition: gap 0.3s ease;
}

.story-b__cta:hover {
  gap: var(--sp-3);
}



/* ==========================================================================
   9. Services
   ========================================================================== */

.services {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  border-top: 1px solid var(--color-border);
}

.services > .container {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-4);
}

@media (min-width: 768px) {
  .services > .container {
    border-radius: var(--radius-xl);
    padding: var(--sp-16) var(--sp-12);
  }
}

.services__header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

@media (min-width: 768px) {
  .services__header {
    margin-bottom: var(--sp-12);
  }
}

.services__sub {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--sp-3);
}

@media (min-width: 768px) {
  .services__sub {
    font-size: var(--text-base);
    margin-top: var(--sp-4);
  }
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-10);
  }
}

.services__item {
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  transition: background 0.3s ease;
}

@media (min-width: 768px) {
  .services__item {
    padding: var(--sp-6);
  }
}

.services__item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.services__item h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--sp-2);
}

.services__item p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.services__icon {
  margin-bottom: var(--sp-3);
  display: block;
  color: var(--color-accent);
}

.services__image {
  margin-top: var(--sp-12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.services__image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 768px) {
  .services__image img {
    max-height: 340px;
  }
}

.services__footer {
  text-align: center;
  margin-top: var(--sp-10);
}

.services__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color 0.3s ease, gap 0.3s ease;
}

.services__link:hover {
  color: var(--color-accent);
  gap: var(--sp-3);
}

/* ---------- Variante A: Vorher/Nachher Kontrast ---------- */
.services-contrast__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .services-contrast__split {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}

.services-contrast__before,
.services-contrast__after {
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
}

.services-contrast__before {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .services-contrast__before {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    border-right: none;
  }

  .services-contrast__after {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }
}

.services-contrast__after {
  background: rgba(0, 173, 255, 0.05);
  border: 1px solid rgba(0, 173, 255, 0.15);
}

.services-contrast__col-title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-6);
}

.services-contrast__before .services-contrast__col-title {
  color: var(--color-text-tertiary);
}

.services-contrast__after .services-contrast__col-title {
  color: var(--color-accent);
}

.services-contrast__before ul,
.services-contrast__after ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.services-contrast__before li {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  padding-left: var(--sp-6);
  position: relative;
  line-height: 1.6;
}

.services-contrast__before li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.2);
  font-size: var(--text-xs);
}

.services-contrast__after li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding-left: var(--sp-6);
  position: relative;
  line-height: 1.6;
}

.services-contrast__after li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ---------- Variante B: Nummerierte Vertikale Liste ---------- */
.services-stack__list {
  max-width: 640px;
  margin: var(--sp-12) auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.services-stack__item {
  display: flex;
  gap: var(--sp-6);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--color-border);
}

.services-stack__item:first-child {
  border-top: 1px solid var(--color-border);
}

.services-stack__number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.4;
  flex-shrink: 0;
  line-height: 1;
  padding-top: var(--sp-1);
}

.services-stack__item h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.services-stack__item p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Q4 Dashboard-Mockup CSS (auskommentiert für spätere Verwendung)
.services-intro { background: var(--color-bg); }
.services__split { display: grid; gap: var(--sp-10); align-items: center; }
@media (min-width: 768px) { .services__split { grid-template-columns: 1.1fr 1fr; gap: var(--sp-12); } }
.services__mockup { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-bg-surface); transition: all var(--normal) var(--ease); }
.services__mockup:hover { border-color: var(--color-border-hover); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4); }
.services__mockup-header { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--color-border); }
.services__mockup-dots { display: flex; gap: 6px; }
.services__mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--color-text-tertiary); opacity: 0.5; }
.services__mockup-dots span:first-child { background: #ff5f57; opacity: 0.8; }
.services__mockup-dots span:nth-child(2) { background: #febc2e; opacity: 0.8; }
.services__mockup-dots span:last-child { background: #28c840; opacity: 0.8; }
.services__mockup-url { font-size: 0.65rem; color: var(--color-text-tertiary); font-family: var(--font); }
.services__mockup-body { display: grid; grid-template-columns: 48px 1fr; min-height: 220px; }
.services__mockup-sidebar { padding: var(--sp-4) var(--sp-2); border-right: 1px solid var(--color-border); display: flex; flex-direction: column; gap: var(--sp-3); align-items: center; }
.services__mockup-nav-item { width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--color-bg-glass); border: 1px solid var(--color-border); transition: all var(--fast) var(--ease); }
.services__mockup-nav-item.active { background: rgba(0, 173, 255, 0.15); border-color: rgba(0, 173, 255, 0.3); }
.services__mockup-content { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-4); }
.services__mockup-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.services__mockup-kpi { padding: var(--sp-3); background: var(--color-bg-glass); border: 1px solid var(--color-border); border-radius: var(--radius-md); text-align: center; }
.services__mockup-kpi-label { display: block; font-size: 0.55rem; color: var(--color-text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.services__mockup-kpi-value { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.02em; }
.services__mockup-chart { background: var(--color-bg-glass); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--sp-3); height: 70px; overflow: hidden; }
.services__mockup-chart-svg { width: 100%; height: 100%; }
.services__mockup-channels { display: flex; flex-direction: column; gap: var(--sp-2); }
.services__mockup-channel { display: flex; align-items: center; gap: var(--sp-3); }
.services__mockup-channel-bar { height: 6px; border-radius: 3px; transition: width 1s cubic-bezier(0.16, 1, 0.3, 1); }
.services__mockup-channel-label { font-size: 0.6rem; color: var(--color-text-tertiary); white-space: nowrap; min-width: 60px; }
@media (min-width: 768px) { .services__mockup-body { min-height: 280px; } .services__mockup-kpi-label { font-size: 0.6rem; } .services__mockup-kpi-value { font-size: var(--text-xl); } .services__mockup-chart { height: 90px; } }
.services__intro-content { display: flex; flex-direction: column; }
.services__intro-text { font-size: var(--text-lg); color: var(--color-text-secondary); line-height: 1.6; max-width: 440px; }
*/


/* ==========================================================================
   10. Parallax Image Break
   ========================================================================== */
.parallax-break {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.parallax-break__bg {
  position: absolute;
  inset: -30% 0;
  z-index: 0;
  will-change: transform;
}

.parallax-break__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-break__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8);
}

.parallax-break__text {
  font-size: var(--text-4xl);
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.025em;
  max-width: 600px;
}

.parallax-break__text em {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
}

@media (max-width: 768px) {
  .parallax-break {
    height: 50vh;
    min-height: 300px;
  }
}


/* ==========================================================================
   11. Process / BRIEFR Framework
   ========================================================================== */
.briefr { background: var(--color-bg-elevated); }

.briefr__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

@media (min-width: 1024px) {
  .briefr__timeline {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-6);
  }
}

.briefr__line { display: none; }

@media (min-width: 1024px) {
  .briefr__line {
    display: block;
    position: absolute;
    top: 44px;
    left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-border-hover) 10%, var(--color-border-hover) 90%, transparent 100%);
  }
}

.briefr__step {
  text-align: center;
  transition: all var(--normal) var(--ease);
}

.briefr__step:hover { transform: translateY(-3px); }

.briefr__step-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.briefr__letter-svg {
  height: 1.8rem;
  width: auto;
  color: #fff;
  opacity: 0.5;
  transition: opacity var(--normal) var(--ease);
}

.briefr__step:hover .briefr__letter-svg { opacity: 1; }

.briefr__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.4;
  transition: all var(--normal) var(--ease);
  box-shadow: 0 0 0 rgba(0, 173, 255, 0);
}

.briefr__step:hover .briefr__dot {
  opacity: 1;
  box-shadow: 0 0 16px rgba(0, 173, 255, 0.5);
  transform: scale(1.3);
}

.briefr__step-title {
  font-size: var(--text-base);
  font-weight: 500;
  margin-bottom: var(--sp-2);
}

.briefr__step-text {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
  display: none;
}

@media (min-width: 1024px) {
  .briefr__step-text { display: block; }
}


/* ==========================================================================
   12. Case Studies (with Feature Card)
   ========================================================================== */
.case-studies { background: var(--color-bg-elevated); }

.case-studies__grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .case-studies__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .case-studies__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-studies__card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--normal) var(--ease), transform var(--normal) var(--ease);
}

.case-studies__card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.case-studies__card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.case-studies__card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9);
  transition: filter var(--slow) var(--ease), transform var(--slow) var(--ease);
}

.case-studies__card:hover .case-studies__card-img img {
  filter: brightness(1) saturate(1.1);
  transform: scale(1.04);
}

.case-studies__card-body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.case-studies__card-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-studies__card-title {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

.case-studies__card-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.case-studies__card-metric {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-top: var(--sp-2);
}

@media (min-width: 768px) {
  .case-studies__card-body { padding: var(--sp-6) var(--sp-6) var(--sp-8); }
}


/* ==========================================================================
   13. CTA Bridge
   ========================================================================== */
.cta-bridge {
  padding-block: var(--sp-20);
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

@media (min-width: 768px) {
  .cta-bridge { padding-block: var(--sp-24); }
}

.cta-bridge__text {
  font-size: var(--text-4xl);
  font-weight: 500;
  color: #fff;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.025em;
}

.cta-bridge__subtext {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-8);
}

.cta-bridge__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-base);
  font-weight: 500;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-bridge__btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 173, 255, 0.3);
}


/* ==========================================================================
   14. Trust Section (Team)
   ========================================================================== */
.trust { background: var(--color-bg); }

.trust__inner {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.trust__faces {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-8);
}

.trust__face {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-bg);
  margin-left: -12px;
  position: relative;
}

.trust__face:first-child { margin-left: 0; }
.trust__face:nth-child(1) { z-index: 6; }
.trust__face:nth-child(2) { z-index: 5; }
.trust__face:nth-child(3) { z-index: 4; }
.trust__face:nth-child(4) { z-index: 3; }
.trust__face:nth-child(5) { z-index: 2; }
.trust__face:nth-child(6) { z-index: 1; }

.trust__title {
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--sp-4);
}

.trust__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}

.trust__names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4) var(--sp-6);
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

.trust__names span {
  white-space: nowrap;
}


/* ==========================================================================
   15. FAQ Chat Style
   ========================================================================== */
.faq-chat { background: var(--color-bg-elevated); }

.chat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.chat__message {
  display: flex;
  gap: var(--sp-3);
  max-width: 85%;
}

.chat__message--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat__message--briefr {
  align-self: flex-start;
}

.chat__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-surface) url('logos/sublogo.svg') no-repeat center / 10px auto;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.chat__bubble {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.chat__bubble--user {
  background: rgba(0, 173, 255, 0.15);
  border: 1px solid rgba(0, 173, 255, 0.25);
  color: #fff;
  font-weight: 500;
  border-bottom-right-radius: var(--radius-sm);
}

.chat__bubble--briefr {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  border-bottom-left-radius: var(--radius-sm);
}

/* Chat reveal animation */
.chat-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.chat-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   16. CTA / Contact
   ========================================================================== */
.cta {
  position: relative;
  padding-block: var(--sp-24);
  background: var(--color-bg-elevated);
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta__split {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

.cta__left {
  text-align: center;
}

.cta__title {
  font-size: var(--text-4xl);
  font-weight: 500;
  color: #fff;
  margin-bottom: var(--sp-5);
}

.cta__text {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-muted);
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}

.cta__checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-muted);
}

.cta__checks span {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.cta__right .contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .cta--horizontal { min-height: 100vh; display: flex; align-items: center; }
  .cta--horizontal .container { width: 100%; }

  .cta__split {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-16);
  }

  .cta__left {
    flex: 1;
    text-align: left;
  }

  .cta__checks {
    justify-content: flex-start;
  }

  .cta__right {
    flex: 1;
    max-width: 440px;
  }

  .cta { padding-block: var(--sp-24); }
}

.contact__form input,
.contact__form textarea {
  padding: var(--sp-4);
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font);
  font-size: var(--text-sm);
  width: 100%;
  transition: border-color var(--fast) var(--ease);
}

.contact__form input:hover,
.contact__form textarea:hover {
  border-color: var(--color-border-hover);
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 173, 255, 0.15);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--color-text-tertiary);
}

.input--error {
  border-color: #e5484d !important;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.15) !important;
}

.contact__success {
  text-align: center;
  padding: var(--sp-8);
  background: var(--color-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 173, 255, 0.2);
  border-radius: var(--radius-xl);
  color: var(--color-accent);
  font-size: var(--text-lg);
  font-weight: 500;
}

.contact__error {
  text-align: center;
  padding: var(--sp-4);
  color: #e5484d;
  font-size: var(--text-sm);
}

.contact__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
}

.contact__checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.contact__checkbox a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact__checkbox a:hover {
  color: var(--color-accent-hover);
}


/* ==========================================================================
   17. Footer
   ========================================================================== */
.footer {
  background: var(--color-bg);
  color: var(--color-text-secondary);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
  border-top: 1px solid var(--color-border-dark);
}

.footer__grid {
  display: grid;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.footer__brand { max-width: 300px; }
.footer__logo { margin-bottom: var(--sp-4); }

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.6;
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--sp-5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__links { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer__links a {
  font-size: var(--text-sm);
  transition: color var(--fast) var(--ease);
}
.footer__links a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-border-dark);
  font-size: var(--text-xs);
}

.footer__social { display: flex; gap: var(--sp-3); }

.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-bg-surface);
  color: var(--color-text-secondary);
  transition: all var(--fast) var(--ease);
}
.footer__social a:hover {
  background: var(--color-accent);
  color: #fff;
}

@media (min-width: 640px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .footer__grid { grid-template-columns: 2fr repeat(3, 1fr); } }


/* ==========================================================================
   18. Scroll Animations
   ========================================================================== */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: no animations — show everything instantly */
@media (max-width: 768px) {
  .animate,
  .animate-stagger > *,
  .chat-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .hero .hero__tagline,
  .hero .hero__title,
  .hero .hero__subtitle,
  .hero .hero__actions,
  .hero .hero__faces {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* Hero cinematic entrance — pure CSS, no JS dependency */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(40px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero .hero__tagline {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hero .hero__title {
  animation: heroTitleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero .hero__subtitle {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero .hero__actions {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
.hero .hero__faces {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
}


.animate-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.animate-stagger.in-view > *:nth-child(1) { transition-delay: 0ms;   opacity: 1; transform: translateY(0); }
.animate-stagger.in-view > *:nth-child(2) { transition-delay: 60ms;  opacity: 1; transform: translateY(0); }
.animate-stagger.in-view > *:nth-child(3) { transition-delay: 120ms; opacity: 1; transform: translateY(0); }
.animate-stagger.in-view > *:nth-child(4) { transition-delay: 180ms; opacity: 1; transform: translateY(0); }
.animate-stagger.in-view > *:nth-child(5) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.animate-stagger.in-view > *:nth-child(6) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }


/* ==========================================================================
   19. Misc
   ========================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

::selection {
  background: rgba(139, 92, 246, 0.2);
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   20. BRIEFR Loop (Kreislauf-Variante)
   ========================================================================== */
.briefr-loop {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

/* --- Base (mobile-first): vertikale Liste --- */
.briefr-loop__grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  margin-top: var(--sp-12);
}

.briefr-loop__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: var(--sp-3);
  text-align: left;
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  transition: all var(--normal) var(--ease);
}

.briefr-loop__step:hover {
  border-color: var(--color-border-hover);
}

.briefr-loop__letter-svg {
  height: 1.4rem;
  width: 48px;
  color: var(--color-accent);
  opacity: 0.6;
  transition: opacity var(--normal) var(--ease);
  flex-shrink: 0;
}

.briefr-loop__step:hover .briefr-loop__letter-svg {
  opacity: 1;
}

.briefr-loop__step-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.briefr-loop__step-title {
  font-size: var(--text-base);
  font-weight: 500;
  margin-bottom: var(--sp-1);
}

.briefr-loop__step-text {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Desktop-Pfeile + Logo: auf mobile ausblenden */
.briefr-loop__arrow,
.briefr-loop__center {
  display: none;
}

/* Loop indicator */
.briefr-loop__repeat {
  text-align: center;
  margin-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  color: var(--color-text-tertiary);
  font-size: var(--text-sm);
}

.briefr-loop__repeat svg {
  color: var(--color-accent);
  opacity: 0.6;
}

/* --- Desktop: U-Form Grid --- */
@media (min-width: 768px) {
  .briefr-loop__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--sp-12);
    row-gap: var(--sp-24);
  }

  .briefr-loop__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sp-6);
  }

  .briefr-loop__letter-svg {
    height: 2rem;
    width: auto;
    margin-bottom: var(--sp-3);
  }

  /* Explizite Grid-Platzierung: U-Form
     Row 1: B(1)  R(2)  I(3)
     Row 2: R2(1) F(2)  E(3)   ← Flow geht E←F←R */
  .briefr-loop__step--b  { grid-row: 1; grid-column: 1; }
  .briefr-loop__step--r1 { grid-row: 1; grid-column: 2; }
  .briefr-loop__step--i  { grid-row: 1; grid-column: 3; }
  .briefr-loop__step--e  { grid-row: 2; grid-column: 3; }
  .briefr-loop__step--f  { grid-row: 2; grid-column: 2; }
  .briefr-loop__step--r2 { grid-row: 2; grid-column: 1; }

  /* Desktop arrows */
  .briefr-loop__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    color: var(--color-text-tertiary);
    z-index: 2;
  }

  /* B → R */
  .briefr-loop__arrow--1 {
    top: 0;
    left: 33.33%;
    transform: translate(-50%, calc(50% + 2rem));
  }
  /* R → I */
  .briefr-loop__arrow--2 {
    top: 0;
    left: 66.66%;
    transform: translate(-50%, calc(50% + 2rem));
  }
  /* I ↓ E */
  .briefr-loop__arrow--3 {
    top: 50%;
    right: calc(16.66% - 12px);
    transform: translate(0, -50%);
  }
  /* E ← F */
  .briefr-loop__arrow--4 {
    bottom: 0;
    left: 66.66%;
    transform: translate(-50%, calc(-50% - 2rem));
  }
  /* F ← R */
  .briefr-loop__arrow--5 {
    bottom: 0;
    left: 33.33%;
    transform: translate(-50%, calc(-50% - 2rem));
  }
  /* R ↑ B (loop back) */
  .briefr-loop__arrow--6 {
    top: 50%;
    left: calc(16.66% - 12px);
    transform: translate(0, -50%);
  }

  /* Sublogo in der Mitte */
  .briefr-loop__center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
  }

  .briefr-loop__center img {
    height: 48px;
    width: auto;
    opacity: 0.15;
    filter: brightness(0) invert(1);
    transition: opacity var(--normal) var(--ease);
  }

  .briefr-loop__grid:hover .briefr-loop__center img {
    opacity: 0.25;
  }
}


/* ==========================================================================
   21. Trust Variante A — Team-Grid mit Rollen-Cards
   ========================================================================== */
.trust-grid {
  background: var(--color-bg);
}

.trust-grid__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}

@media (min-width: 768px) {
  .trust-grid__cards {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
  }
}

.trust-grid__card {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
}

.trust-grid__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
  border: 2px solid var(--color-border);
}

@media (min-width: 768px) {
  .trust-grid__photo {
    width: 96px;
    height: 96px;
  }
}

.trust-grid__name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--sp-1);
}

.trust-grid__role {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: var(--sp-2);
}

.trust-grid__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Founder profile */
.founder-profile {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.founder-profile__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  max-width: 800px;
  margin: var(--sp-12) auto 0;
}

@media (min-width: 768px) {
  .founder-profile__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-12);
  }
}

.founder-profile__photo-wrap {
  flex-shrink: 0;
}

.founder-profile__photo {
  width: 200px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .founder-profile__photo {
    width: 260px;
  }
}

.founder-profile__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

.founder-profile__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.founder-profile__hiring {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-top: var(--sp-4);
}

.founder-profile__hiring a {
  color: var(--color-accent);
  font-weight: 600;
}


/* ==========================================================================
   22. Trust Variante B — Split Teamfoto + Text
   ========================================================================== */
.trust-split {
  background: var(--color-bg);
}

.trust-split__inner {
  display: grid;
  gap: var(--sp-10);
  align-items: center;
}

@media (min-width: 768px) {
  .trust-split__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }
}

.trust-split__photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.trust-split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-split__content h2 {
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--sp-4);
}

.trust-split__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}

.trust-split__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.trust-split__tag {
  display: inline-block;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}


/* ==========================================================================
   23. Legal / Text Pages (Impressum, Datenschutz)
   ========================================================================== */
.page-legal {
  padding-top: calc(var(--sp-32) + var(--sp-8));
  padding-bottom: var(--sp-20);
  min-height: 60vh;
}

@media (min-width: 768px) {
  .page-legal { padding-bottom: var(--sp-24); }
}

.page-legal__title {
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--sp-10);
  letter-spacing: -0.025em;
}

.page-legal__content {
  max-width: 720px;
}

.page-legal__content h2 {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}

.page-legal__content h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.page-legal__content p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.page-legal__content ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.page-legal__content ul li {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-2);
}

.page-legal__content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--fast) var(--ease);
}

.page-legal__content a:hover {
  color: var(--color-accent-hover);
}

.page-legal__content .todo {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   24. Contact Page
   ========================================================================== */
.page-contact {
  padding-top: calc(var(--sp-32) + var(--sp-8));
  padding-bottom: var(--sp-20);
  min-height: 70vh;
}

@media (min-width: 768px) {
  .page-contact { padding-bottom: var(--sp-24); }
}

.page-contact__header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.page-contact__title {
  font-size: var(--text-4xl);
  font-weight: 500;
  color: #fff;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.025em;
}

.page-contact__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.6;
}

.page-contact__grid {
  display: grid;
  gap: var(--sp-12);
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .page-contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }
}

.page-contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.page-contact__info-block h3 {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--sp-3);
}

.page-contact__info-block p,
.page-contact__info-block a {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.page-contact__info-block a {
  color: var(--color-accent);
  transition: color var(--fast) var(--ease);
}

.page-contact__info-block a:hover {
  color: var(--color-accent-hover);
}


/* ==========================================================================
   25. Breadcrumb
   ========================================================================== */
.breadcrumb {
  padding-top: calc(var(--sp-32) + var(--sp-4));
  padding-bottom: var(--sp-4);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.breadcrumb__list a {
  color: var(--color-text-secondary);
  transition: color var(--fast) var(--ease);
}

.breadcrumb__list a:hover {
  color: var(--color-accent);
}

.breadcrumb__separator {
  color: var(--color-text-tertiary);
  user-select: none;
}

.breadcrumb__current {
  color: var(--color-text-tertiary);
}

.breadcrumb--hero {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--sp-32) + var(--sp-8));
  padding-bottom: 0;
}


/* ==========================================================================
   26. Job Detail Page
   ========================================================================== */
.page-job {
  padding-top: 0;
}

.page-job .breadcrumb {
  padding-bottom: 0;
}

/* --- Job Hero Header --- */
.job-hero {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--sp-12);
}

.job-hero > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--sp-8);
}

.job-hero__text {
  flex: 1 1 0;
  min-width: 0;
}

.job-hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  order: -1;
}

@media (min-width: 768px) {
  .job-hero__image {
    order: 0;
    width: 220px;
    aspect-ratio: 3 / 4;
    flex-shrink: 0;
    margin-top: var(--sp-2);
  }
}

@media (min-width: 1024px) {
  .job-hero__image {
    width: 260px;
  }
}

.job-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(0.95);
}

.job-hero__title {
  font-size: var(--text-4xl);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-4);
}

.job-hero__intro {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}

/* --- Quick Facts Bar --- */
.job-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.job-facts__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.job-facts__item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* --- Quick Apply Popup --- */
.job-apply-quick {
  position: relative;
  margin-top: var(--sp-6);
}

.job-apply-quick__trigger {
  cursor: pointer;
}

.job-apply-quick__popup {
  display: none;
  position: absolute;
  top: calc(100% + var(--sp-3));
  left: 0;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  z-index: 10;
  min-width: 240px;
  opacity: 0;
  transform: translateY(-4px);
}

.job-apply-quick__popup.active {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  animation: popupFadeIn var(--normal) var(--ease) forwards;
}

@keyframes popupFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.job-apply-quick__option {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: background var(--fast) var(--ease);
  white-space: nowrap;
}

.job-apply-quick__option--form {
  color: var(--color-accent);
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
}

.job-apply-quick__option--form:hover {
  background: var(--color-accent-soft);
}

.job-apply-quick__option--whatsapp {
  color: #25D366;
}

.job-apply-quick__option--whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
}

@media (max-width: 479px) {
  .job-apply-quick__popup {
    left: 0;
    right: 0;
    min-width: 0;
  }

  .job-apply-quick__trigger {
    width: 100%;
  }
}

/* --- Job Content Sections --- */
.job-detail {
  padding-bottom: var(--sp-20);
}

@media (min-width: 768px) {
  .job-detail { padding-bottom: var(--sp-24); }
}

.job-section {
  margin-bottom: var(--sp-12);
}

.job-section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-5);
}

.job-section__title {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--sp-6);
  letter-spacing: -0.02em;
}

.job-section__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.job-section__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.job-section__list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.5;
}

/* --- Highlight / Quote Box --- */
.job-highlight {
  position: relative;
  padding: var(--sp-8);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--sp-12);
}

.job-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--sp-8);
  right: var(--sp-8);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.4;
}

.job-highlight__text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: var(--text-2xl);
  color: var(--color-text);
  line-height: 1.4;
  text-align: center;
}

/* --- Perks Grid --- */
.job-perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

@media (min-width: 640px) {
  .job-perks { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .job-perks { grid-template-columns: repeat(3, 1fr); }
}

.job-perks__item {
  padding: var(--sp-5);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--normal) var(--ease);
}

.job-perks__item:hover {
  border-color: var(--color-border-hover);
}

.job-perks__icon {
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
  display: block;
}

.job-perks__title {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--sp-1);
}

.job-perks__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* --- Job CTA --- */
.job-cta {
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.job-cta__title {
  font-size: var(--text-3xl);
  font-weight: 500;
  color: #fff;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.025em;
}

.job-cta__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-8);
  max-width: 460px;
  margin-inline: auto;
  line-height: 1.6;
}

/* --- Back Link --- */
.job-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--sp-10);
  transition: color var(--fast) var(--ease), gap var(--fast) var(--ease);
}

.job-back:hover {
  color: var(--color-accent);
  gap: var(--sp-3);
}

/* --- Apply Modal --- */
.apply-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) + 10);
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.apply-modal.active {
  display: flex;
}

.apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modalFadeIn var(--normal) var(--ease);
}

.apply-modal__content {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  animation: modalSlideIn var(--slow) var(--ease);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.apply-modal__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  color: var(--color-text-tertiary);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-1);
  transition: color var(--fast) var(--ease);
}

.apply-modal__close:hover {
  color: #fff;
}

.apply-modal__title {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: #fff;
  margin-bottom: var(--sp-2);
}

.apply-modal__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-6);
}

.apply-modal .contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.apply-modal__success {
  text-align: center;
  padding: var(--sp-8);
  color: var(--color-accent);
  font-size: var(--text-lg);
  font-weight: 500;
}

.apply-modal__error {
  text-align: center;
  padding: var(--sp-4);
  color: #e5484d;
  font-size: var(--text-sm);
}

.apply-modal__error a {
  color: var(--color-accent);
}


/* ==========================================================================
   27. Karriere Page
   ========================================================================== */
.page-karriere {
  padding-top: 0;
}

/* Karriere Hero */
.karriere-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.karriere-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.karriere-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.karriere-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.5) 0%, rgba(14, 14, 16, 0.85) 100%);
}

.karriere-hero .container {
  position: relative;
  z-index: 1;
}

.karriere-hero__content {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  padding-top: var(--sp-32);
  padding-bottom: var(--sp-16);
}

.karriere-hero__title {
  font-size: var(--text-4xl);
  font-weight: 500;
  color: #fff;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.025em;
}

.karriere-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin-inline: auto;
}

/* Ehrlich gesagt — Split */
.karriere-real {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

.karriere-real__split {
  display: grid;
  gap: var(--sp-12);
}

@media (min-width: 768px) {
  .karriere-real__split {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }
}

.karriere-real__nope,
.karriere-real__yep {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.karriere-real__nope li,
.karriere-real__yep li {
  font-size: var(--text-base);
  line-height: 1.5;
  padding-left: var(--sp-8);
  position: relative;
}

.karriere-real__nope li {
  color: var(--color-text-tertiary);
  text-decoration: line-through;
  text-decoration-color: var(--color-text-tertiary);
}

.karriere-real__nope li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  color: #e5484d;
  font-weight: 600;
  opacity: 0.7;
}

.karriere-real__yep li {
  color: var(--color-text);
}

.karriere-real__yep li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

/* Founder Note */
.karriere-note {
  background: var(--color-bg);
}

.karriere-note__inner {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
  max-width: 800px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .karriere-note__inner {
    grid-template-columns: auto 1fr;
    gap: var(--sp-10);
  }
}

.karriere-note__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .karriere-note__photo {
    width: 120px;
    height: 120px;
    margin-inline: 0;
  }
}

.karriere-note__quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: var(--sp-4);
}

.karriere-note__sig {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.karriere-note__name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}

.karriere-note__role {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

/* Simple CTA */
.karriere-cta-simple {
  padding-block: var(--sp-20);
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

@media (min-width: 768px) {
  .karriere-cta-simple { padding-block: var(--sp-24); }
}

.karriere-cta-simple__inner {
  max-width: 600px;
  margin-inline: auto;
}

.karriere-cta-simple__title {
  font-size: var(--text-3xl);
  font-weight: 500;
  color: #fff;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.025em;
}

.karriere-cta-simple__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-8);
}

.karriere-cta-simple__actions {
  display: flex;
  justify-content: center;
}

/* Offene Stellen */
.karriere-jobs {
  background: var(--color-bg);
}

.karriere-jobs__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 760px;
  margin-inline: auto;
  margin-top: var(--sp-10);
}

.karriere-jobs__card {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-6);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--normal) var(--ease), transform var(--normal) var(--ease);
  cursor: pointer;
}

.karriere-jobs__card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.karriere-jobs__card-content {
  flex: 1;
  min-width: 0;
}

.karriere-jobs__card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
}

.karriere-jobs__card-header h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
}

.karriere-jobs__badge {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: var(--radius-full);
}

.karriere-jobs__badge--alt {
  color: var(--color-purple);
  background: var(--color-purple-soft);
}

.karriere-jobs__card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}

.karriere-jobs__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.karriere-jobs__tags span {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.karriere-jobs__arrow {
  flex-shrink: 0;
  color: var(--color-text-tertiary);
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.karriere-jobs__card:hover .karriere-jobs__arrow {
  color: var(--color-accent);
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .karriere-jobs__arrow { display: none; }
}


/* ==========================================================================
   WhatsApp Floating Action Button
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
