/* ============================================================
   PERSANESTH — PREMIUM DESIGN SYSTEM
   Editorial Healthcare · Swiss Heritage · Medical Trust
   ============================================================ */

:root {
  /* Force Light-Mode (kein Auto-Dark-Mode-Inversion durch iOS Safari / Android Chrome) */
  color-scheme: light only;

  /* Color tokens — premium palette built around the Persanesth brand blue (#20B2FF) */

  /* Ink scale (cooler navy-tinted) */
  --c-ink: #0A1F3D;              /* deep navy text */
  --c-ink-soft: #1A3354;
  --c-text: #2A3850;
  --c-text-muted: #5A6B7E;
  --c-text-subtle: #8895A5;

  /* Brand — direct from logo SVG */
  --c-brand: #20B2FF;            /* logo sky blue — primary brand accent */
  --c-brand-light: #65CFFF;      /* hover/highlight */
  --c-brand-soft: #D5EFFF;       /* tinted background */

  /* Navy — premium dark, replaces former forest */
  --c-navy: #0A2540;             /* deep navy — used for stats, CTA strip, ink-deep */
  --c-navy-deep: #06182B;
  --c-navy-mid: #173E68;          /* mid-navy for secondary buttons / accents */

  /* Heritage gold — kept as warm complementary accent for CTAs */
  --c-gold: #C8A55B;
  --c-gold-deep: #9C7E3C;
  --c-gold-light: #E0C892;

  /* Surfaces */
  --c-cream: #FAFAF7;            /* warm clean background (slightly cooler) */
  --c-cream-soft: #F1F4F8;       /* very soft blue-tinted surface */
  --c-paper: #FFFFFF;

  /* Borders — cooler to harmonize with navy/blue */
  --c-border: #E0E5EC;
  --c-border-soft: #EDF1F5;
  --c-border-strong: #C0CCD8;

  --c-success: #2F6E4A;
  --c-danger: #A8412A;

  /* Typography */
  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  /* Shadows — subtle, layered */
  --shadow-xs: 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06), 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08), 0 2px 6px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 24px 48px rgba(10, 37, 64, 0.12), 0 8px 16px rgba(10, 37, 64, 0.06);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-cream);
  margin: 0;
  font-feature-settings: 'ss01', 'cv11';
}

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   TYPOGRAPHY — EDITORIAL
   ============================================================ */
.display, h1.hero {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--c-ink);
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--c-ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}

.eyebrow {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
}

.lede {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--c-ink-soft);
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; transition: color 200ms var(--ease-out); }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }

/* ============================================================
   HEADER / NAV — REFINED
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--c-border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 76px; width: auto; display: block; transition: opacity 200ms var(--ease-out); }
.brand:hover img { opacity: 0.85; }
.brand-dot { color: var(--c-brand); }
@media (max-width: 640px) {
  .nav { height: 80px; }
  .brand img { height: 56px; }
}

.nav-links { display: none; gap: 36px; align-items: center; list-style: none; padding: 0; margin: 0; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 450;
  color: var(--c-text);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--c-navy); }
.nav-links a.active { color: var(--c-navy); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--c-brand);
}

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Login dropdown in header */
.login-dropdown { position: relative; }
.btn-login {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  min-height: 38px;
}
.btn-login:hover { border-color: var(--c-brand); color: var(--c-brand); }
.btn-login svg { transition: transform 200ms var(--ease-out); }
.login-dropdown.open .btn-login { border-color: var(--c-brand); color: var(--c-brand); }
.login-dropdown.open .btn-login svg { transform: rotate(180deg); }

.login-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 260px;
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 220ms;
  z-index: 200;
}
.login-dropdown.open .login-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.login-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 180ms var(--ease-out);
}
.login-menu a + a { margin-top: 2px; }
.login-menu a:hover { background: var(--c-cream-soft); }
.login-menu a strong {
  display: block;
  font-size: 14.5px;
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.login-menu a span {
  display: block;
  font-size: 12px;
  color: var(--c-text-muted);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

@media (max-width: 1023px) {
  .login-dropdown { display: none; }
}

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  cursor: pointer;
  color: var(--c-ink);
  position: relative;
  z-index: 10001;            /* always above everything when menu is open */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Backdrop behind menu — fades in */
.mobile-nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 31, 61, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms var(--ease-out), visibility 280ms;
  z-index: 9998;
  cursor: pointer;
}
.mobile-nav-backdrop.show { opacity: 1; visibility: visible; }

/* Mobile-Nav: slide-in drawer from right (always rendered, never display:none) */
.mobile-nav {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(380px, 88vw) !important;
  max-width: 420px;
  height: 100vh !important;
  height: 100dvh !important;       /* modern viewport units, fallback above */
  background: var(--c-cream);
  padding: 96px 28px 32px;
  overflow-y: auto;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
  box-shadow: -16px 0 48px rgba(10, 31, 61, 0.16);
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  display: block !important;        /* never collapse — visibility handles show/hide */
  pointer-events: none;             /* not clickable when closed */
  box-sizing: border-box;
}
.mobile-nav.open {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.mobile-nav.open * { pointer-events: auto !important; }   /* links/buttons inside must be clickable */
/* Cache-bust: v=3 */
@media (min-width: 1024px) {
  .mobile-nav, .mobile-nav-backdrop { display: none !important; }
}
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { border-bottom: 1px solid var(--c-border-soft); }
.mobile-nav a { display: block; padding: 18px 0; font-family: var(--f-display); font-size: 24px; color: var(--c-ink); }
.mobile-nav .login-block { margin-top: 24px; padding-top: 24px; border-top: 2px solid var(--c-border); }
.mobile-nav .login-block-title { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold-deep); margin-bottom: 8px; padding: 0; border: none; }
.mobile-nav .login-block a { font-size: 18px; padding: 14px 0; }
.mobile-nav .login-block a span { font-size: 12px; color: var(--c-text-muted); display: block; margin-top: 2px; font-family: var(--f-sans); letter-spacing: 0.02em; }

/* ============================================================
   BUTTONS — REFINED
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--f-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 240ms var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary { background: var(--c-navy); color: var(--c-cream); }
.btn-primary:hover { background: var(--c-navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--c-gold); color: var(--c-paper); }
.btn-gold:hover { background: var(--c-gold-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-border-strong); }
.btn-ghost:hover { background: var(--c-paper); border-color: var(--c-navy); }
.btn-link { padding: 0; min-height: auto; background: transparent; color: var(--c-navy); border-bottom: 1px solid var(--c-gold); border-radius: 0; }
.btn-link:hover { color: var(--c-gold-deep); }
.btn svg { transition: transform 240ms var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* ============================================================
   HERO — EDITORIAL
   ============================================================ */
.hero {
  padding: clamp(64px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}
.hero-headline {
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--c-ink);
}
.hero-headline em { font-style: italic; color: var(--c-navy); font-weight: 400; }
.hero-headline .brand-accent { color: var(--c-brand); font-style: italic; }
.hero-headline .gold-accent { color: var(--c-gold); font-style: italic; }
.hero-sub { margin-top: 32px; max-width: 540px; font-size: 18px; color: var(--c-text-muted); line-height: 1.65; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 56px; display: flex; gap: 32px; flex-wrap: wrap; align-items: center; padding-top: 28px; border-top: 1px solid var(--c-border); }
.hero-meta-item { font-size: 13px; color: var(--c-text-subtle); letter-spacing: 0.04em; }
.hero-meta-item strong { display: block; font-family: var(--f-display); font-size: 28px; font-weight: 500; color: var(--c-ink); letter-spacing: -0.02em; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(160deg, #B6E1F8 0%, #1F7CC0 45%, #0A2540 100%);
}
.hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 28% 18%, rgba(32, 178, 255, 0.35), transparent 55%),
    radial-gradient(circle at 75% 82%, rgba(10, 37, 64, 0.55), transparent 55%),
    radial-gradient(circle at 60% 40%, rgba(200, 165, 91, 0.10), transparent 60%);
}
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(6, 24, 43, 0.45) 100%),
    repeating-linear-gradient(45deg, transparent 0 4px, rgba(255,255,255,0.04) 4px 5px);
}
.hero-visual-caption {
  position: absolute; bottom: 32px; left: 32px; right: 32px; z-index: 2;
  color: var(--c-cream);
}
.hero-visual-caption .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; margin-bottom: 8px; display: block; }
.hero-visual-caption .quote { font-family: var(--f-display); font-style: italic; font-size: 22px; line-height: 1.3; }

.hero-trust-bar {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
}
.hero-trust-bar .badge { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c-text-muted); }
.hero-trust-bar .badge-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-cream-soft); border-radius: 50%; color: var(--c-navy); }

/* ============================================================
   STATS — EDITORIAL
   ============================================================ */
.stats { background: var(--c-navy); color: var(--c-cream); position: relative; }
.stats::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.15));
  pointer-events: none;
}
.stats-grid { display: grid; gap: 48px; position: relative; }
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat { padding-right: 24px; border-left: 1px solid rgba(255,255,255,0.12); padding-left: 24px; }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; color: var(--c-cream); }
.stat-num .unit { color: var(--c-gold-light); font-size: 0.5em; margin-left: 4px; }
.stat-label { margin-top: 12px; font-size: 13px; letter-spacing: 0.06em; color: rgba(250, 248, 243, 0.7); text-transform: uppercase; }
.stat-desc { margin-top: 8px; font-size: 14px; color: rgba(250, 248, 243, 0.85); line-height: 1.5; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { max-width: 720px; margin-bottom: 64px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 400; }
.section-title em { font-style: italic; color: var(--c-navy); }

/* ============================================================
   AUDIENCE CARDS — DUAL CTA
   ============================================================ */
.audience-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .audience-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.audience-card {
  position: relative;
  padding: 48px 40px;
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 480px;
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.audience-card .role-tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; margin-bottom: 12px; }
.audience-card h3 { font-size: clamp(2rem, 3.2vw, 2.75rem); margin-bottom: 16px; }
.audience-card p { opacity: 0.85; max-width: 380px; }
.audience-card ul { list-style: none; padding: 0; margin: 24px 0 0; }
.audience-card ul li { padding: 10px 0 10px 28px; position: relative; font-size: 14.5px; border-top: 1px solid currentColor; opacity: 0.95; }
.audience-card ul li:first-child { border-top: 1px solid currentColor; }
.audience-card ul li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 18px; height: 1px; background: currentColor;
}
.audience-card .card-cta { margin-top: auto; padding-top: 32px; }

.audience-card.clinic {
  background: linear-gradient(160deg, #0A2540 0%, #06182B 100%);
  color: var(--c-cream);
}
.audience-card.clinic ul li { border-color: rgba(212, 181, 122, 0.25); }
.audience-card.clinic ul li::before { background: var(--c-gold); }

.audience-card.talent {
  background: var(--c-paper);
  color: var(--c-ink);
  border: 1px solid var(--c-border);
}
.audience-card.talent ul li { border-color: var(--c-border); }
.audience-card.talent ul li::before { background: var(--c-gold); }

/* ============================================================
   FEATURE / BENEFITS GRID
   ============================================================ */
.features-grid { display: grid; gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); border-radius: 4px; overflow: hidden; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  padding: 40px 32px;
  background: var(--c-paper);
  transition: background 300ms var(--ease-out);
}
.feature:hover { background: var(--c-cream-soft); }
.feature-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--c-navy); margin-bottom: 24px; border: 1px solid var(--c-border); border-radius: 50%; }
.feature h4 { font-size: 1.5rem; margin-bottom: 10px; }
.feature p { color: var(--c-text-muted); font-size: 15px; line-height: 1.65; }

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.process { display: grid; gap: 32px; counter-reset: step; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 24px; border-top: 1px solid var(--c-border); counter-increment: step; }
.step::before {
  content: '0' counter(step);
  display: inline-block;
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--c-gold-deep);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.step h4 { font-size: 1.4rem; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--c-text-muted); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-section { background: var(--c-cream-soft); }
.testimonial { max-width: 880px; margin: 0 auto; text-align: center; padding: 0 24px; }
.testimonial-quote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.4; color: var(--c-ink); }
.testimonial-quote::before { content: '"'; font-size: 1.4em; color: var(--c-gold); line-height: 0; margin-right: 4px; }
.testimonial-quote::after { content: '"'; color: var(--c-gold); }
.testimonial-meta { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-border); display: inline-flex; flex-direction: column; }
.testimonial-name { font-weight: 500; color: var(--c-ink); }
.testimonial-role { font-size: 14px; color: var(--c-text-muted); margin-top: 4px; }

/* ============================================================
   LOGO STRIP
   ============================================================ */
.logo-strip { padding: 56px 0; border-top: 1px solid var(--c-border-soft); border-bottom: 1px solid var(--c-border-soft); }
.logo-strip-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-text-subtle); text-align: center; margin-bottom: 32px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; opacity: 0.7; }
.logo-item { font-family: var(--f-display); font-size: 22px; color: var(--c-text-muted); letter-spacing: 0.02em; font-style: italic; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip { background: var(--c-ink); color: var(--c-cream); padding: clamp(64px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184, 146, 77, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(10, 37, 64, 0.4), transparent 50%);
}
.cta-strip-grid { position: relative; display: grid; gap: 32px; align-items: end; }
@media (min-width: 1024px) { .cta-strip-grid { grid-template-columns: 1.5fr 1fr; } }
.cta-strip h2 { color: var(--c-cream); font-size: clamp(2rem, 4.5vw, 3.5rem); }
.cta-strip h2 em { color: var(--c-gold-light); font-style: italic; }
.cta-strip p { color: rgba(250, 248, 243, 0.75); max-width: 540px; margin-top: 16px; }
.cta-strip-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }
@media (min-width: 1024px) { .cta-strip-actions { justify-content: flex-end; } }
.cta-strip .btn-ghost { color: var(--c-cream); border-color: rgba(250, 248, 243, 0.3); }
.cta-strip .btn-ghost:hover { background: rgba(250, 248, 243, 0.05); border-color: var(--c-gold); color: var(--c-gold-light); }

/* ============================================================
   FORMS
   ============================================================ */
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--c-ink); letter-spacing: 0.02em; }
.field label .req { color: var(--c-gold-deep); margin-left: 4px; }
.field input, .field textarea, .field select {
  padding: 14px 16px;
  font-family: var(--f-sans);
  font-size: 15px;
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  color: var(--c-ink);
  transition: border-color 200ms, box-shadow 200ms;
  min-height: 48px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.08);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-helper { font-size: 13px; color: var(--c-text-muted); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--c-border); }
.faq-item:last-child { border-bottom: 1px solid var(--c-border); }
.faq-question {
  width: 100%; background: transparent; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--c-navy); }
.faq-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border); border-radius: 50%;
  transition: transform 300ms var(--ease-out), background 300ms;
  color: var(--c-navy);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--c-navy); color: var(--c-cream); border-color: var(--c-navy); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 400ms var(--ease-out); }
.faq-answer-inner { padding: 0 0 32px; max-width: 720px; color: var(--c-text-muted); font-size: 16px; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 600px; }

/* ============================================================
   FOOTER — REFINED
   ============================================================ */
.site-footer {
  background: var(--c-navy-deep);
  color: rgba(250, 250, 247, 0.7);
  padding: 96px 0 32px;
  border-top: 1px solid rgba(32, 178, 255, 0.15);
}
.footer-grid { display: grid; gap: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { display: inline-block; margin-bottom: 4px; }
.footer-brand img { height: 88px; width: auto; display: block; }
.footer-tagline { margin-top: 12px; max-width: 320px; font-size: 14px; line-height: 1.65; }
.footer-col-title { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold-light); margin-bottom: 20px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; font-size: 14.5px; }
.footer-col a:hover { color: var(--c-cream); }
.footer-cert {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cert img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-cert-text {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(250, 250, 247, 0.7);
  line-height: 1.6;
  max-width: 480px;
}
.footer-cert-text strong { color: var(--c-cream); font-weight: 500; }

.footer-bottom {
  margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(250, 250, 247, 0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 13px;
}
.footer-bottom a:hover { color: var(--c-cream); }

/* ============================================================
   PAGE HEADERS (interior pages)
   ============================================================ */
.page-header { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--c-border-soft); }
.page-header .eyebrow { margin-bottom: 16px; display: inline-block; }
.page-header h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.page-header .lede { margin-top: 24px; max-width: 640px; }

/* ============================================================
   CONTENT BLOCKS
   ============================================================ */
.content-block { padding: clamp(48px, 6vw, 80px) 0; }
.content-block h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.content-block h3 { font-size: 1.5rem; margin: 32px 0 12px; }
.content-block p { color: var(--c-text); font-size: 16.5px; line-height: 1.75; max-width: 720px; }
.content-block ul.styled { list-style: none; padding: 0; margin: 16px 0; }
.content-block ul.styled li { padding: 10px 0 10px 32px; position: relative; max-width: 720px; }
.content-block ul.styled li::before {
  content: ''; position: absolute; left: 0; top: 22px;
  width: 18px; height: 1px; background: var(--c-gold);
}

/* Legal pages typography */
.legal-block h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 48px 0 16px; color: var(--c-ink); }
.legal-block h2:first-child { margin-top: 0; }
.legal-block h3 { font-size: 1.2rem; margin: 28px 0 8px; color: var(--c-ink); }
.legal-block p, .legal-block li { font-size: 16px; line-height: 1.7; color: var(--c-text); max-width: 720px; }
.legal-block strong { color: var(--c-ink); }
.legal-block a { color: var(--c-forest, var(--c-navy)); border-bottom: 1px solid var(--c-gold); transition: color 200ms; }
.legal-block a:hover { color: var(--c-brand); }
.legal-block ul { padding-left: 24px; margin: 12px 0; }
.legal-block li { margin: 6px 0; }
.legal-block table { width: 100%; max-width: 720px; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.legal-block table th, .legal-block table td { padding: 12px 16px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.legal-block table th { font-weight: 500; color: var(--c-ink); background: var(--c-cream-soft); width: 30%; }

.two-col { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1.4fr; gap: 80px; } }

/* ============================================================
   BENEFITS LIST (Sozialleistungen)
   ============================================================ */
.benefits-grid { display: grid; gap: 1px; background: var(--c-border-soft); border: 1px solid var(--c-border-soft); border-radius: 4px; overflow: hidden; }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit { padding: 28px 24px; background: var(--c-paper); }
.benefit-tag { font-family: var(--f-display); font-size: 28px; color: var(--c-navy); margin-bottom: 4px; }
.benefit-name { font-size: 13px; color: var(--c-text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

/* ============================================================
   CONTACT INFO BOXES
   ============================================================ */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-box { padding: 32px 28px; background: var(--c-paper); border: 1px solid var(--c-border); border-radius: 4px; }
.contact-box .icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-cream-soft); border-radius: 50%; color: var(--c-navy); margin-bottom: 16px; }
.contact-box .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold-deep); margin-bottom: 8px; }
.contact-box .value { font-family: var(--f-display); font-size: 22px; color: var(--c-ink); line-height: 1.3; }
.contact-box .value a:hover { color: var(--c-navy); border-bottom: 1px solid var(--c-gold); }

/* ============================================================
   PHOTO FRAMES — editorial premium treatment
   Duotone-style tint + vignette + grain to deemphasize background
   ============================================================ */
.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--c-navy-deep);
  isolation: isolate;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.55) brightness(0.85) contrast(1.05);
  transition: filter 600ms var(--ease-out), transform 1200ms var(--ease-out);
}
/* Brand-tinted color overlay (duotone-like) */
.photo-frame::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(32, 178, 255, 0.22) 0%, rgba(10, 37, 64, 0.55) 75%, rgba(6, 24, 43, 0.75) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
/* Vignette + soft top-bottom gradient + subtle grain to obscure backgrounds */
.photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 30%, rgba(6, 24, 43, 0.45) 95%),
    linear-gradient(180deg, rgba(6, 24, 43, 0.25) 0%, transparent 25%, transparent 65%, rgba(6, 24, 43, 0.55) 100%),
    repeating-linear-gradient(45deg, transparent 0 3px, rgba(255, 255, 255, 0.025) 3px 4px);
  pointer-events: none;
  z-index: 2;
}
/* Caption inside a photo frame */
.photo-frame .photo-caption {
  position: absolute; bottom: 28px; left: 28px; right: 28px;
  z-index: 3;
  color: var(--c-cream);
}
.photo-frame .photo-caption .label {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
  display: block;
  color: var(--c-brand-light);
}
.photo-frame .photo-caption .quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.3;
  color: var(--c-cream);
}

/* Aspect-ratio variants */
.photo-frame--portrait { aspect-ratio: 4/5; }
.photo-frame--square   { aspect-ratio: 1/1; }
.photo-frame--wide     { aspect-ratio: 16/10; }
.photo-frame--tall     { aspect-ratio: 3/4; }

/* Stronger blur variant — for backgrounds where the photo is fully obscured */
.photo-frame--blur img {
  filter: saturate(0.5) brightness(0.7) contrast(1.05) blur(2px);
  transform: scale(1.05);
}

/* Hover lift for cards */
.photo-frame--card { transition: box-shadow 400ms var(--ease-out); }
.photo-frame--card:hover { box-shadow: var(--shadow-lg); }
.photo-frame--card:hover img { filter: saturate(0.7) brightness(0.95) contrast(1.05); transform: scale(1.02); }

/* Hero-style photo (replaces the gradient hero-visual on home) */
.hero-photo { aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; }
@media (max-width: 768px) { .hero-photo { aspect-ratio: 4/3; } }

/* Hero-Photo & Photo-Banner: dunkler & atmosphärischer als andere Photo-Frames */
.hero-photo img {
  filter: saturate(0.45) brightness(0.62) contrast(1.10) !important;
}
.hero-photo::before {
  background:
    linear-gradient(135deg, rgba(32, 178, 255, 0.28) 0%, rgba(10, 37, 64, 0.70) 65%, rgba(6, 24, 43, 0.88) 100%) !important;
}
.hero-photo::after {
  background:
    radial-gradient(ellipse at 50% 45%, transparent 25%, rgba(6, 24, 43, 0.60) 95%),
    linear-gradient(180deg, rgba(6, 24, 43, 0.30) 0%, transparent 20%, transparent 55%, rgba(6, 24, 43, 0.70) 100%),
    repeating-linear-gradient(45deg, transparent 0 3px, rgba(255, 255, 255, 0.025) 3px 4px) !important;
}
.hero-photo .photo-caption .quote { color: var(--c-cream); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }

/* Photo card for the spezialisierung section */
.photo-card {
  position: relative;
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  overflow: hidden;
}
.photo-card .photo-frame { aspect-ratio: 4/3; }
.photo-card-body { padding: 28px 28px 32px; }
.photo-card-body .eyebrow { display: inline-block; margin-bottom: 8px; }
.photo-card-body h4 { font-size: 1.5rem; margin-bottom: 8px; }
.photo-card-body p { color: var(--c-text-muted); font-size: 14.5px; line-height: 1.65; margin: 0; }

.photo-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* Banner photo — full width below a section, with text overlay */
.photo-banner {
  position: relative;
  aspect-ratio: 21/9;
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 768px) { .photo-banner { aspect-ratio: 4/5; } }
.photo-banner .photo-banner-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 5vw, 56px);
  z-index: 3;
  color: var(--c-cream);
  max-width: 720px;
}
.photo-banner h2 {
  color: var(--c-cream); font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em;
}
.photo-banner h2 em { color: var(--c-brand-light); font-style: italic; }
.photo-banner p { color: rgba(250, 250, 247, 0.85); margin-top: 12px; max-width: 520px; }

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-grid {
  display: grid; gap: 32px;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.team-card { display: flex; flex-direction: column; }
.team-photo {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--c-cream-soft);
  margin-bottom: 20px;
  position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-border-strong);
}
.team-name {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.team-role {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-gold-deep);
  text-transform: uppercase;
  margin-top: 6px;
}
.team-focus {
  margin-top: 10px;
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.55;
}

/* ============================================================
   APP DOWNLOAD SECTION
   ============================================================ */
.app-section {
  background: var(--c-navy);
  color: var(--c-cream);
  padding: clamp(56px, 7vw, 80px) 0;
  position: relative;
  overflow: hidden;
}
.app-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(32, 178, 255, 0.12), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(184, 146, 77, 0.10), transparent 50%);
  pointer-events: none;
}
.app-grid {
  display: grid; gap: 40px; align-items: center;
  position: relative;
}
@media (min-width: 1024px) {
  .app-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; }
}
.app-grid h2 {
  color: var(--c-cream);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
}
.app-grid h2 em { color: var(--c-brand-light); font-style: italic; }
.app-grid p { color: rgba(250, 250, 247, 0.8); margin-top: 16px; max-width: 520px; }
.app-features {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 10px;
}
.app-features li {
  position: relative; padding-left: 28px;
  font-size: 14.5px; color: rgba(250, 250, 247, 0.85);
}
.app-features li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 18px; height: 1px; background: var(--c-brand);
}

.app-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.app-badge { display: inline-block; transition: transform 240ms var(--ease-out), opacity 240ms var(--ease-out); }
.app-badge img { display: block; height: 54px; width: auto; }
.app-badge:hover { transform: translateY(-2px); opacity: 0.9; }

/* Footer app badges */
.footer-app-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.footer-app-badges a { display: inline-block; transition: opacity 240ms var(--ease-out); }
.footer-app-badges a:hover { opacity: 0.75; }
.footer-app-badges img { display: block; height: 38px; width: auto; }

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 560px;
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 24px 28px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-text);
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out), visibility 320ms;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); visibility: visible; }
.cookie-banner h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--c-ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.cookie-banner p { margin: 0 0 18px; }
.cookie-banner a { color: var(--c-navy); border-bottom: 1px solid var(--c-gold); }
.cookie-banner a:hover { color: var(--c-brand); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn {
  flex: 1; min-width: 140px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  border: 1px solid transparent;
  text-align: center;
}
.cookie-btn.primary { background: var(--c-navy); color: var(--c-cream); }
.cookie-btn.primary:hover { background: var(--c-navy-deep); }
.cookie-btn.secondary { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-border-strong); }
.cookie-btn.secondary:hover { border-color: var(--c-navy); }

@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .cookie-actions { flex-direction: column; }
  .cookie-btn { width: 100%; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 24px; }
.mt-5 { margin-top: 48px; }
.divider { height: 1px; background: var(--c-border); border: none; margin: 0; }
