/* ==========================================================================
   Yand Vermittlungsagentur — main.css
   Design tokens: hex | BEM | Mobile-first
   ========================================================================== */

/* --- Multilingual Fonts --- */

/* Noto Sans Arabic — for :lang(ar) */
@font-face {
  font-family: 'Noto Sans Arabic';
  src: url('/assets/fonts/noto-sans-arabic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  src: url('/assets/fonts/noto-sans-arabic-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Noto Sans Devanagari — for :lang(hi) */
@font-face {
  font-family: 'Noto Sans Devanagari';
  src: url('/assets/fonts/noto-sans-devanagari-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Noto Sans Devanagari';
  src: url('/assets/fonts/noto-sans-devanagari-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

/* --- Custom Properties --- */
:root {
  --primary:           #002452;
  --primary-container: #1b3a6b;
  --secondary:         #855300;
  --secondary-light:   rgba(133, 83, 0, 0.30);
  --cta:               #56b958;
  --cta-hover:         #4aaa4d;
  --surface:           #f9f9f9;
  --surface-low:       #f3f3f4;
  --surface-container: #eeeeee;
  --surface-high:      #e8e8e8;
  --surface-white:     #ffffff;
  --on-surface:        #1a1c1c;
  --on-primary:        #ffffff;
  --muted:             #5c5e5e;
  --outline-variant:   rgba(196, 198, 208, 0.20);
  --error:             #ba1a1a;
  --shadow:            rgba(27, 58, 107, 0.06);

  /* Legacy aliases (used in admin + other pages) */
  --color-navy:           var(--primary);
  --color-navy-light:     var(--primary-container);
  --color-navy-subtle:    #eef1f7;
  --color-gold:           var(--secondary);
  --color-gold-light:     #a86a10;
  --color-gold-muted:     #f5ede0;
  --color-cta:            var(--cta);
  --color-cta-hover:      var(--cta-hover);
  --color-surface:        var(--surface);
  --color-surface-2:      var(--surface-low);
  --color-border:         rgba(196, 198, 208, 0.40);
  --color-text-primary:   var(--on-surface);
  --color-text-secondary: var(--muted);
  --color-text-muted:     #8a8c8c;
  --color-white:          var(--surface-white);
  --color-success:        #56b958;
  --color-error:          var(--error);
  --color-warning:        #d97706;

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --text-xs:   clamp(0.75rem,  1.5vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 1.8vw, 1rem);
  --text-base: clamp(1rem,     2vw,   1.125rem);
  --text-lg:   clamp(1.125rem, 2.5vw, 1.25rem);
  --text-xl:   clamp(1.25rem,  3vw,   1.5rem);
  --text-2xl:  clamp(1.5rem,   4vw,   2rem);
  --text-3xl:  clamp(2rem,     5vw,   2.75rem);
  --text-4xl:  clamp(2.5rem,   6vw,   3.5rem);

  --leading-tight:  1.2;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  --tracking-tight:   -0.03em;
  --tracking-normal:   0;
  --tracking-wide:     0.05em;
  --tracking-widest:   0.12em;

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

  --radius-sm:   0.25rem;
  --radius-md:   0.375rem;
  --radius-lg:   6px;
  --radius-xl:   8px;
  --radius-2xl:  12px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 8px var(--shadow);
  --shadow-md:  0 4px 30px var(--shadow);
  --shadow-lg:  0 8px 40px rgba(27, 58, 107, 0.12);
  --shadow-cta: 0 4px 16px rgba(86, 185, 88, 0.35);

  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;

  --container-max: 1200px;
  --container-pad: clamp(1rem, 5vw, 4rem);
  --section-pad-v: clamp(3rem, 8vw, 6rem);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--on-surface);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  color: var(--primary);
}

/* --- Per-language font stacks --- */
:lang(ar) {
  font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
}
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3,
:lang(ar) h4, :lang(ar) h5, :lang(ar) h6 {
  font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  font-weight: 700;
}
:lang(ar) .nav__link,
:lang(ar) .nav__cta-btn,
:lang(ar) .btn,
:lang(ar) input,
:lang(ar) select,
:lang(ar) textarea {
  font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
}

:lang(hi) {
  font-family: 'Noto Sans Devanagari', 'Mangal', 'Kokila', Arial, sans-serif;
}
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3,
:lang(hi) h4, :lang(hi) h5, :lang(hi) h6 {
  font-family: 'Noto Sans Devanagari', 'Mangal', 'Kokila', Arial, sans-serif;
  font-weight: 700;
}
:lang(hi) .nav__link,
:lang(hi) .nav__cta-btn,
:lang(hi) .btn,
:lang(hi) input,
:lang(hi) select,
:lang(hi) textarea {
  font-family: 'Noto Sans Devanagari', 'Mangal', 'Kokila', Arial, sans-serif;
}

:lang(fr), :lang(de) {
  font-family: var(--font-body);
}
:lang(fr) h1, :lang(fr) h2, :lang(fr) h3,
:lang(de) h1, :lang(de) h2, :lang(de) h3 {
  font-family: var(--font-display);
}

/* --- Scroll animation --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.is-visible { opacity: 1; transform: none; }

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Eyebrow --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--secondary);
  margin-bottom: var(--space-3);
}

/* --- Gold divider --- */
.gold-divider {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--secondary-light);
  margin: var(--space-3) 0 var(--space-6);
}
.gold-divider--center { margin-inline: auto; }

/* --- Section base --- */
.section { padding-block: var(--section-pad-v); }
.section--surface     { background: var(--surface); }
.section--low         { background: var(--surface-low); }
.section--white       { background: var(--surface-white); }
.section--dark        { background: var(--primary); color: var(--on-primary); }
.section--primary-container { background: var(--primary-container); color: var(--on-primary); }

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--primary-container h1,
.section--primary-container h2,
.section--primary-container h3 { color: var(--on-primary); }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.section--dark .section__title,
.section--primary-container .section__title { color: var(--on-primary); }

.section__sub {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 680px;
  margin-inline: auto;
  line-height: var(--leading-normal);
}

/* ==========================================================================
   NAVBAR — glassmorphism
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--outline-variant);
  transition: box-shadow var(--transition-fast);
}
.nav--scrolled { box-shadow: 0 2px 20px var(--shadow); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: var(--nav-height, 68px);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo img { height: var(--logo-height, 40px); width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--on-surface);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link--active {
  color: var(--primary);
  border-bottom-color: var(--secondary);
}

/* Desktop CTA button — green pill */
.nav__cta-btn {
  display: inline-flex;
  align-items: center;
  margin-left: var(--space-4);
  flex-shrink: 0;
  padding: 0.55rem 1.25rem;
  background: linear-gradient(180deg, var(--cta, #56b958) 0%, #4eaa50 100%);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(86,185,88,0.32);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.nav__cta-btn:hover {
  background: linear-gradient(180deg, #4eaa50 0%, #44994a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(86,185,88,0.42);
}
/* Legacy alias */
.nav__cta { margin-left: var(--space-4); flex-shrink: 0; }

/* Mobile CTA inside dropdown — hidden on desktop */
.nav__mobile-cta-wrap { display: none; }
.nav__mobile-cta { display: none; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: var(--space-2);
}
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: var(--radius-full);
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}
.nav__hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger--open span:nth-child(2) { opacity: 0; }
.nav__hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn,
.btn-cta,
.btn-ghost,
.btn-ghost-inv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), box-shadow var(--transition-fast),
              transform var(--transition-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn:active, .btn-cta:active, .btn-ghost:active, .btn-ghost-inv:active { transform: scale(0.98); }

/* CTA green */
.btn--primary,
.btn--cta,
.btn-cta {
  background: linear-gradient(180deg, #56b958 0%, #4eaa50 100%);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
}
.btn--primary:hover,
.btn--cta:hover,
.btn-cta:hover {
  background: linear-gradient(180deg, #4eaa50 0%, #44994a 100%);
  box-shadow: var(--shadow-cta);
}

/* Ghost on light */
.btn--ghost,
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(196, 198, 208, 0.40);
  padding: 0.625rem 1.25rem;
}
.btn--ghost:hover,
.btn-ghost:hover {
  background: var(--surface-low);
  border-color: var(--primary);
}

/* Ghost on dark */
.btn--ghost-inverted,
.btn-ghost-inv {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.40);
  padding: 0.625rem 1.25rem;
}
.btn--ghost-inverted:hover,
.btn-ghost-inv:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.70);
}

.btn--sm { padding: 0.5rem 1.25rem; font-size: var(--text-xs); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--primary);
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Dot-grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.08;
  pointer-events: none;
}

/* Radial glow top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-container) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-12);
  align-items: center;
  width: 100%;
}

.hero__content { max-width: 600px; }
.hero__eyebrow { color: var(--secondary); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-4xl);
  color: var(--on-primary);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

.hero__sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-10);
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Right side image/placeholder */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-6);
}

.hero__img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--primary-container);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* World-map SVG pattern inside placeholder */
.hero__img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400'%3E%3Ccircle cx='300' cy='200' r='160' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3Ccircle cx='300' cy='200' r='120' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3Ccircle cx='300' cy='200' r='80' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3Cline x1='0' y1='200' x2='600' y2='200' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3Cline x1='300' y1='0' x2='300' y2='400' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0.6;
}

.hero__img-placeholder-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.30);
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Stats inside hero placeholder area */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  width: 100%;
  max-width: 480px;
}
.hero__stat {
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  padding: var(--space-4) var(--space-3);
}
.hero__stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--on-primary);
  display: block;
}
.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.60);
  display: block;
  margin-top: 2px;
}

/* Country badges */
.hero__badges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-8);
}
@media (max-width: 640px) {
  .hero__badges {
    grid-template-columns: repeat(2, 1fr);
  }
}
.country-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.35rem 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: rgba(255,255,255,0.80);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  text-align: center;
  white-space: nowrap;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  background: var(--surface-white);
  border-radius: 6px;
  box-shadow: 0 4px 30px var(--shadow);
  padding: var(--space-6);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}
.card:hover {
  box-shadow: 0 8px 40px rgba(27, 58, 107, 0.12);
  transform: translateY(-2px);
}

.card--accent {
  border-top: 3px solid var(--secondary);
  border-radius: 0 0 6px 6px;
}

.card--dark {
  background: var(--primary);
  color: var(--on-primary);
}
.card--dark h3 { color: var(--on-primary); }
.card--dark .card__text { color: rgba(255,255,255,0.75); }

.card--feature {
  border-top: 3px solid var(--secondary);
  border-radius: 0 0 6px 6px;
}

.card__icon {
  width: 40px;
  height: 40px;
  color: var(--secondary);
  margin-bottom: var(--space-4);
}
.card--dark .card__icon { color: rgba(255,255,255,0.90); }

.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--secondary);
  text-decoration: none;
  transition: gap var(--transition-fast);
}
.card__link:hover { gap: var(--space-2); }

/* ==========================================================================
   CARDS GRIDS
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   PROBLEM SECTION (cards with icon)
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

/* ==========================================================================
   WHY YAND — dark cards on navy
   ========================================================================== */
.why-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-10);
}
.why-row--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.why-row--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
/* Guarantee card highlight */
.why-card--guarantee {
  border-color: rgba(133,83,0,0.45);
  background: rgba(133,83,0,0.10);
}
.why-card--guarantee:hover { background: rgba(133,83,0,0.16); }
.why-card--guarantee .why-card__icon { color: oklch(65% 0.13 55); }
.why-card--guarantee .why-card__title { color: oklch(78% 0.13 55); }
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  padding: var(--space-6);
  transition: background var(--transition-normal);
}
.why-card:hover { background: rgba(255,255,255,0.10); }
.why-card__icon {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.90);
  margin-bottom: var(--space-4);
}
.why-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--on-primary);
  margin-bottom: var(--space-2);
}
.why-card__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.70);
  line-height: var(--leading-normal);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
  background: var(--primary);
  padding-block: var(--space-10);
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.stats-bar__item {}
.stats-bar__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-4xl);
  color: var(--on-primary);
  display: block;
  line-height: 1;
}
.stats-bar__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-2);
  display: block;
}

/* ==========================================================================
   FOUNDER QUOTE
   ========================================================================== */
.founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-12);
  align-items: center;
}
.founder__photo {
  aspect-ratio: 3 / 4;
  width: 280px;
  background: var(--primary);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__photo-placeholder {
  width: 100%;
  height: 100%;
  background: #0f2d5e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  color: rgba(255,255,255,0.20);
}
.founder__quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--secondary);
  margin-bottom: var(--space-4);
  display: block;
}
.founder__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--on-primary);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-6);
}
.founder__attribution {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}
.founder__attribution strong {
  display: block;
  color: var(--on-primary);
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: 2px;
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.process-steps {
  display: flex;
  position: relative;
  gap: 0;
  margin-bottom: var(--space-10);
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(10% + 24px);
  right: calc(10% + 24px);
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(196,198,208,0.40) 0,
    rgba(196,198,208,0.40) 8px,
    transparent 8px,
    transparent 16px
  );
}
.process-step {
  flex: 1;
  text-align: center;
  padding-top: var(--space-12);
  position: relative;
}
.process-step__badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  position: relative;
  z-index: 1;
  transition: background var(--transition-normal);
}
.process-step:hover .process-step__badge { background: var(--secondary); }
.process-step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--primary);
  margin-bottom: var(--space-2);
}
.process-step__desc {
  font-size: var(--text-xs);
  color: var(--muted);
  padding-inline: var(--space-2);
}

/* ==========================================================================
   PROCESS TIMELINE (Prozess-Seite)
   ========================================================================== */
.timeline { display: flex; flex-direction: column; gap: var(--space-8); }
.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-6);
  align-items: start;
}
.timeline-item__badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.timeline-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--primary);
  margin-bottom: var(--space-3);
}
.timeline-item__text {
  color: var(--muted);
  line-height: var(--leading-loose);
}
.timeline-item + .timeline-item {
  border-top: 1px solid rgba(196,198,208,0.40);
  padding-top: var(--space-8);
}

/* ==========================================================================
   ANCHOR NAV (Zielgruppen)
   ========================================================================== */
.anchor-nav {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-12);
}
.anchor-nav__item {
  padding: var(--space-2) var(--space-5);
  border-radius: 6px;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.anchor-nav__item:hover,
.anchor-nav__item--active { background: var(--secondary); }

/* ==========================================================================
   ZIELGRUPPEN
   ========================================================================== */
.zielgruppe { padding-block: var(--section-pad-v); border-bottom: 1px solid rgba(196,198,208,0.30); }
.zielgruppe:last-child { border-bottom: none; }
.zielgruppe__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.zielgruppe__icon { width: 64px; height: 64px; color: var(--secondary); margin-bottom: var(--space-6); }
.zielgruppe__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.zielgruppe__text { color: var(--muted); line-height: var(--leading-loose); margin-bottom: var(--space-6); }
.feature-list { display: flex; flex-direction: column; gap: var(--space-3); }
.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--on-surface);
}
.feature-list__check { width: 20px; height: 20px; color: var(--secondary); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item {
  border: 1px solid rgba(196,198,208,0.40);
  border-radius: 6px;
  overflow: hidden;
}
.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: var(--surface-white);
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--primary);
  transition: background var(--transition-fast);
}
.faq-item__question:hover { background: var(--surface-low); }
.faq-item__icon { flex-shrink: 0; color: var(--secondary); transition: transform var(--transition-fast); }
.faq-item--open .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding var(--transition-normal);
  padding: 0 var(--space-6);
  background: var(--surface-low);
}
.faq-item--open .faq-item__answer { max-height: 600px; padding-bottom: var(--space-6); padding-top: var(--space-4); }
.faq-item__answer p { color: var(--muted); line-height: var(--leading-loose); }

/* ==========================================================================
   FORM
   ========================================================================== */
.form__group { margin-bottom: var(--space-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--on-surface);
  margin-bottom: var(--space-2);
}
.form__label--required::after { content: ' *'; color: var(--secondary); }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: var(--surface-high);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 4px 4px 0 0;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--on-surface);
  transition: border-color 0.2s;
  appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
}
.form__input--error,
.form__select--error,
.form__textarea--error { border-bottom-color: var(--error); }
.form__textarea { min-height: 140px; resize: vertical; }
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c5e5e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form__error { display: none; font-size: var(--text-xs); color: var(--error); margin-top: var(--space-1); }
.form__error--visible { display: block; }
.form__honeypot { display: none !important; visibility: hidden !important; position: absolute; left: -9999px; }
.form__checkbox-group { display: flex; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-2); }
.form__checkbox { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--primary); }
.form__checkbox-label { font-size: var(--text-sm); color: var(--muted); line-height: var(--leading-normal); }
.form__checkbox-label a { color: var(--secondary); text-decoration: underline; }
.form__check a { color: #0055cc; text-decoration: underline; font-weight: 500; }
.form__check a:hover { color: #003a99; text-decoration: underline; }
.form__global-msg { padding: var(--space-4) var(--space-5); border-radius: 6px; font-size: var(--text-sm); margin-bottom: var(--space-5); }
.form__global-msg--success { background: rgba(86,185,88,0.1); color: #2d6e2f; border: 1px solid rgba(86,185,88,0.3); }
.form__global-msg--error   { background: rgba(186,26,26,0.1); color: #7a1010; border: 1px solid rgba(186,26,26,0.3); }

/* ==========================================================================
   CONTACT LAYOUT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: start; }
.contact-info { padding: var(--space-8); background: var(--surface-low); border-radius: 6px; }
.contact-info__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--primary);
  margin-bottom: var(--space-6);
}
.contact-info__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--muted);
}
.contact-info__icon { color: var(--secondary); flex-shrink: 0; width: 20px; height: 20px; }
.booking-block { margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid rgba(196,198,208,0.40); }
.booking-block__title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); color: var(--primary); margin-bottom: var(--space-4); }
.booking-consent-gate { background: var(--surface); border: 1px solid rgba(196,198,208,0.40); border-radius: 6px; padding: var(--space-6); text-align: center; }
.booking-consent-gate p { font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--space-4); }

/* ==========================================================================
   CTA BLOCK
   ========================================================================== */
.cta-block { text-align: center; }
.cta-block__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.section--dark .cta-block__title { color: var(--on-primary); }
.cta-block__sub {
  font-size: var(--text-lg);
  color: var(--muted);
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-inline: auto;
}
.section--dark .cta-block__sub { color: rgba(255,255,255,0.75); }
.cta-block__actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   TRUST COLUMNS
   ========================================================================== */
.trust-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.trust-col { text-align: center; padding: var(--space-6); }
.trust-col__icon { width: 48px; height: 48px; color: var(--secondary); margin: 0 auto var(--space-4); }
.trust-col__title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); color: var(--primary); margin-bottom: var(--space-3); }
.trust-col__text { font-size: var(--text-sm); color: var(--muted); line-height: var(--leading-normal); }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--on-primary);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 400ms ease;
  display: none;
}
.cookie-banner--visible { display: block; transform: translateY(0); }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-block: var(--space-5);
}
.cookie-banner__text { flex: 1; min-width: 200px; }
.cookie-banner__text strong { display: block; margin-bottom: var(--space-1); font-size: var(--text-base); }
.cookie-banner__text p { font-size: var(--text-sm); color: rgba(255,255,255,0.75); }
.cookie-banner__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.cookie-banner__decline {
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: underline;
  padding: 0;
}
.cookie-banner__decline:hover { color: var(--on-primary); }

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal__panel {
  background: var(--surface-white);
  border-radius: 6px;
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 6px 6px 0 0;
}
.cookie-modal__header h2 { font-size: var(--text-lg); font-weight: 700; color: var(--on-primary); }
.cookie-modal__close { background: none; border: none; color: var(--on-primary); font-size: 1.5rem; line-height: 1; padding: 0; }
.cookie-modal__category {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--surface-low);
  gap: var(--space-4);
}
.cookie-modal__cat-info { flex: 1; }
.cookie-modal__cat-info strong { display: block; font-size: var(--text-base); color: var(--primary); margin-bottom: var(--space-1); }
.cookie-modal__cat-info p { font-size: var(--text-xs); color: var(--muted); }
.cookie-modal__footer { padding: var(--space-5) var(--space-6); }

.cookie-toggle { position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: rgba(196,198,208,0.40);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  bottom: 3px; left: 3px;
  background: var(--surface-white);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}
.cookie-toggle input:checked + .cookie-toggle__slider { background: var(--primary); }
.cookie-toggle input:checked + .cookie-toggle__slider::before { transform: translateX(22px); }
.cookie-toggle--locked .cookie-toggle__slider { opacity: 0.5; cursor: not-allowed; }

.cookie-reopen {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--on-primary);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 9998;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.cookie-reopen:hover { transform: scale(1.1); box-shadow: var(--shadow-lg); }
.cookie-reopen__label { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--primary); color: var(--on-primary); padding-top: var(--space-16); }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
}
.footer__logo { display: inline-block; text-decoration: none; margin-bottom: var(--space-3); }
.footer__logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer__tagline { font-size: var(--text-sm); color: rgba(255,255,255,0.60); line-height: var(--leading-normal); }
.footer__col-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--secondary);
  margin-bottom: var(--space-4);
}
.footer__links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  transition: color var(--transition-fast);
}
.footer__link:hover { color: var(--secondary); }
.footer__bar { border-top: 1px solid var(--primary-container); padding-block: var(--space-6); }
.footer__bar p { font-size: var(--text-xs); color: rgba(255,255,255,0.45); text-align: center; }

/* ── Footer Regions (Landing Pages) ──────────────────────────────────────── */
.footer__regions { border-top: 1px solid var(--primary-container); padding-block: var(--space-10); }
.footer__regions-title { margin-bottom: var(--space-6); }
.footer__regions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
}
.footer__region-city-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 1024px) {
  .footer__regions-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .footer__regions-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Legacy text logo (fallback if img fails) */
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--primary);
  text-decoration: none;
  letter-spacing: var(--tracking-tight);
}
.footer__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--on-primary);
  text-decoration: none;
}
.footer__logo-dot,
.nav__logo-dot { color: var(--secondary); }

/* ==========================================================================
   ADMIN
   ========================================================================== */
.admin-wrap { min-height: 100vh; background: var(--surface); }
.admin-nav { background: var(--primary); padding: var(--space-4) 0; }
.admin-nav__inner { display: flex; align-items: center; justify-content: space-between; }
.admin-nav__logo { font-family: var(--font-display); font-weight: 700; color: var(--on-primary); text-decoration: none; font-size: var(--text-lg); }
.admin-nav__links { display: flex; gap: var(--space-6); }
.admin-nav__link { color: rgba(255,255,255,0.75); text-decoration: none; font-size: var(--text-sm); font-weight: 500; transition: color var(--transition-fast); }
.admin-nav__link:hover { color: var(--on-primary); }
.admin-main { padding: var(--space-12) 0; }
.admin-card { background: var(--surface-white); border: 1px solid rgba(196,198,208,0.40); border-radius: 6px; padding: var(--space-8); box-shadow: var(--shadow-sm); margin-bottom: var(--space-6); }
.admin-card__title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--primary); margin-bottom: var(--space-6); padding-bottom: var(--space-4); border-bottom: 1px solid rgba(196,198,208,0.40); }
.admin-settings-group { margin-bottom: var(--space-8); }
.admin-settings-group__title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); color: var(--primary); margin-bottom: var(--space-4); padding: var(--space-2) var(--space-4); background: #eef1f7; border-radius: 4px; border-left: 4px solid var(--secondary); }
.admin-alert { padding: var(--space-4); border-radius: 6px; font-size: var(--text-sm); margin-bottom: var(--space-6); }
.admin-alert--success { background: rgba(86,185,88,0.1); color: #2d6e2f; border: 1px solid rgba(86,185,88,0.3); }
.admin-alert--error   { background: rgba(186,26,26,0.1); color: #7a1010; border: 1px solid rgba(186,26,26,0.3); }
.admin-alert--info    { background: rgba(0,36,82,0.08); color: var(--primary); border: 1px solid rgba(0,36,82,0.20); }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--primary); }
.admin-login__panel { background: var(--surface-white); border-radius: 6px; padding: var(--space-10); width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.admin-login__logo { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); color: var(--primary); text-align: center; margin-bottom: var(--space-2); }
.admin-login__logo span { color: var(--secondary); }
.admin-login__subtitle { text-align: center; font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--space-8); }

/* ==========================================================================
   LEGAL / STATIC
   ========================================================================== */
.legal-content { max-width: 760px; margin-inline: auto; }
.legal-content h2 { font-size: var(--text-2xl); color: var(--primary); margin-top: var(--space-10); margin-bottom: var(--space-4); }
.legal-content h3 { font-size: var(--text-xl); color: var(--primary); margin-top: var(--space-6); margin-bottom: var(--space-3); }
.legal-content p { color: var(--muted); line-height: var(--leading-loose); margin-bottom: var(--space-4); }
.legal-content a { color: var(--secondary); text-decoration: underline; }
.legal-placeholder { background: rgba(217,119,6,0.10); border: 1px dashed var(--color-warning); border-radius: 4px; padding: var(--space-4); font-size: var(--text-sm); color: #8a5500; margin-block: var(--space-4); }
.sitemap-list { display: flex; flex-direction: column; gap: var(--space-2); }
.sitemap-list a { color: var(--primary); font-weight: 500; }
.sitemap-list a:hover { color: var(--secondary); }

/* 404 */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--primary); color: var(--on-primary); }
.error-page__code { font-family: var(--font-display); font-weight: 800; font-size: 8rem; color: var(--secondary); line-height: 1; margin-bottom: var(--space-4); }
.error-page__title { font-size: var(--text-3xl); color: var(--on-primary); margin-bottom: var(--space-4); }
.error-page__sub { color: rgba(255,255,255,0.75); margin-bottom: var(--space-8); }

/* ==========================================================================
   UTILITY
   ========================================================================== */
.text-center { text-align: center; }
.text-navy, .text-primary { color: var(--primary); }
.text-gold, .text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.gap-4 { gap: var(--space-4); }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  background: var(--primary);
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  color: var(--on-primary);
  margin-bottom: var(--space-4);
  margin-top: var(--space-3);
}
.page-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.78);
  max-width: 680px;
  line-height: var(--leading-normal);
}
.page-hero .eyebrow { color: var(--secondary); }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-4);
}
.breadcrumb__link { color: rgba(255,255,255,0.55); }
.breadcrumb__link:hover { color: var(--on-primary); }
.breadcrumb__sep { color: rgba(255,255,255,0.30); }
.breadcrumb__current { color: rgba(255,255,255,0.80); }

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: var(--space-16);
}
.process-timeline::before {
  content: '';
  position: absolute;
  /* Badge visual-left = space-3 from container, badge width = 3rem → center = space-3 + 1.5rem */
  left: calc(var(--space-3) + 1.5rem - 1px); /* = 2.25rem - 1px */
  top: 3rem;      /* start below first badge */
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary), rgba(133,83,0,0.15));
}
.process-timeline__step {
  position: relative;
  padding-bottom: var(--space-12);
}
.process-timeline__step:last-child { padding-bottom: 0; }
.process-timeline__number {
  position: absolute;
  /* Badge sits in the padding-left zone: step-left minus padding + space-3 offset */
  left: calc(-1 * var(--space-16) + var(--space-3));
  top: 0;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  border: 3px solid var(--secondary);
  z-index: 1;
  flex-shrink: 0;
}
.process-timeline__content {
  background: var(--surface-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline-variant);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.process-timeline__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--primary);
  margin-bottom: var(--space-2);
}
.process-timeline__duration {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: var(--space-4);
}
.process-timeline__desc {
  color: var(--muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-4);
}
.process-timeline__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.process-timeline__bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--muted);
}
.process-timeline__bullets li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: 0.45em;
  flex-shrink: 0;
}

/* ==========================================================================
   ZIELGRUPPEN PAGE
   ========================================================================== */
.zielgruppe-section {
  padding-block: var(--space-16);
}
.zielgruppe-section + .zielgruppe-section {
  border-top: 1px solid var(--outline-variant);
}
.zielgruppe-section__header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
.zielgruppe-section__icon {
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-primary);
  flex-shrink: 0;
}
.zielgruppe-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--primary);
  margin-bottom: var(--space-2);
}
.zielgruppe-section__sub {
  color: var(--secondary);
  font-size: var(--text-sm);
  font-weight: 600;
}
.zielgruppe-section__intro {
  color: var(--muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-6);
  max-width: 720px;
}
.zielgruppe-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.zielgruppe-section__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.zielgruppe-section__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--on-surface);
}
.zielgruppe-section__list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: 0.45em;
  flex-shrink: 0;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--outline-variant);
  margin-block: var(--space-4);
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-grid__text { display: flex; flex-direction: column; gap: var(--space-4); }
.about-grid__text p { color: var(--muted); line-height: var(--leading-loose); }
.about-grid__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  display: block;
}
.about-grid__visual {
  background: var(--primary-container);
  border-radius: var(--radius-2xl);
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
}
.about-countries {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.about-countries__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
  margin-bottom: var(--space-2);
  display: block;
}
.country-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

/* ==========================================================================
   FAQ CATEGORY
   ========================================================================== */
.faq-category {
  margin-bottom: var(--space-10);
}
.faq-category__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .why-row--2 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .zielgruppe__inner { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 200px 1fr; gap: var(--space-8); }
  .founder__photo { width: 200px; }
  .process-steps { flex-wrap: wrap; gap: var(--space-6); }
  .process-steps::before { display: none; }
  .process-step { flex: 0 0 calc(33.333% - var(--space-4)); padding-top: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
}

@media (max-width: 768px) {
  /* Legacy selectors — kept for safety */
  .nav__hamburger { display: none; }
  .nav__cta { display: none; }

  /* hero overrides now in the mobile-nav block above */

  .trust-cols { grid-template-columns: 1fr; }
  .cards-grid--4,
  .cards-grid--3,
  .cards-grid,
  .problem-grid { grid-template-columns: 1fr; }
  .why-row--3 { grid-template-columns: repeat(2, 1fr); }
  .why-row--2 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .timeline-item { grid-template-columns: 48px 1fr; }
  .timeline-item__badge { width: 48px; height: 48px; font-size: var(--text-xl); }
  .process-step { flex: 0 0 calc(50% - var(--space-3)); }
  .stats-bar__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { width: 100%; max-width: 240px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .why-row--3, .why-row--2 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .process-step { flex: 0 0 100%; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn, .hero__ctas .btn--primary, .hero__ctas .btn--ghost-inverted { width: 100%; text-align: center; justify-content: center; }
  .cookie-banner__actions { flex-direction: column; width: 100%; }
  .cookie-banner__actions .btn, .cookie-banner__actions .btn--primary { width: 100%; text-align: center; }
  /* Cookie banner above mobile bar */
  .cookie-banner { bottom: calc(62px + env(safe-area-inset-bottom, 0px)); border-radius: 16px 16px 0 0; }

  /* Cookie reopen: vertical side-tab, flush on left screen edge, text bottom→top
     Maths: visual-width = original height (28px), visual-left-edge = 0
     → left = -(width/2) + (height/2) = -(76/2) + (28/2) = -38 + 14 = -24px          */
  .cookie-reopen {
    /* Fixed pre-rotation size */
    width: 76px;
    height: 28px;
    padding: 0 10px;
    /* Precise left so visual left edge is at x=0 */
    left: -24px;
    top: 38%;
    bottom: auto;
    /* Rotation: -90° counter-clockwise, default transform-origin: center */
    transform: rotate(90deg);
    /* Rounded corners become the right (screen-facing) edge after rotation */
    border-radius: 6px 6px 0 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    opacity: 0.72;
    box-shadow: 2px -1px 8px rgba(0,0,0,0.2);
    z-index: 9400;
    gap: 5px;
  }
  .cookie-reopen svg { width: 12px; height: 12px; flex-shrink: 0; }
  .cookie-reopen__label { display: inline; }
  .cookie-reopen:hover {
    opacity: 1;
    transform: rotate(90deg) translateX(-3px);
    box-shadow: var(--shadow-md);
  }
  .admin-login__panel { padding: var(--space-6); }
  .cta-block__actions { flex-direction: column; align-items: center; }
  .hero__stats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MOBILE BAR + SLIDE-UP NAV (≤ 768 px)
   ========================================================================== */
.mobile-bar,
.mobile-nav-sheet { display: none; }

@media (max-width: 768px) {
  /* ---------- Top Nav: fixed, premium mobile header ---------- */
  .nav {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    /* account for iPhone status bar / Dynamic Island */
    height: calc(64px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    z-index: 9950;
    overflow: visible;
    background: #ffffff !important;
    border-bottom: 1.5px solid rgba(0, 36, 82, 0.12);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.10);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav__inner {
    height: 64px;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
  }
  .nav__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .nav__logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    /* ensure no extra space below inline image */
    vertical-align: middle;
  }
  .nav__links         { display: none !important; }
  .nav__cta-btn       { display: none !important; }
  .nav .lang-switcher { display: none !important; }

  body {
    padding-top: calc(64px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }

  /* ---------- Hero: fills available space exactly ---------- */
  .hero {
    min-height: calc(100svh - 64px - env(safe-area-inset-top, 0px) - 62px - env(safe-area-inset-bottom, 0px));
    align-items: flex-start;
  }
  .hero__inner {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  /* ---------- Bottom Bar: [spacer] [CTA center] [hamburger right] ---------- */
  .mobile-bar {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(62px + env(safe-area-inset-bottom, 0px));
    padding: 0 16px env(safe-area-inset-bottom, 0px);
    background: var(--primary, #002452);
    border-top: 2px solid var(--secondary, #855300);
    z-index: 9940;
    box-shadow: 0 -4px 28px rgba(0,0,0,0.4);
  }
  .mobile-bar__spacer { display: block; }

  /* Hamburger button */
  .mobile-bar__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    border-radius: 10px;
    transition: background 0.15s;
  }
  .mobile-bar__hamburger:hover { background: rgba(255,255,255,0.08); }
  .mobile-bar__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .mobile-bar__hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-bar__hamburger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .mobile-bar__hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* CTA pill — centered in middle column, max-width keeps hamburger clear */
  .mobile-bar__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 0.6rem 0.75rem;
    background: linear-gradient(160deg, var(--cta, #56b958) 0%, #44994a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 2px 14px rgba(86,185,88,0.4);
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-bar__cta:active { transform: scale(0.95); box-shadow: none; }

  /* ---------- Slide-Up Nav Sheet ---------- */
  .mobile-nav-sheet {
    display: block;
    pointer-events: none;
  }
  .mobile-nav-sheet__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,7,30,0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }
  .mobile-nav-sheet--open .mobile-nav-sheet__backdrop {
    pointer-events: auto;
  }
  .mobile-nav-sheet__panel {
    position: fixed;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    background: var(--primary, #002452);
    border-radius: 24px 24px 0 0;
    border-top: 2px solid var(--secondary, #855300);
    z-index: 9800;
    transform: translateY(110vh);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
                visibility 0s linear 0.32s;
    padding-bottom: 12px;
    /* Full available height between top nav and bottom bar */
    max-height: calc(100svh - 64px - env(safe-area-inset-top, 0px) - 62px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav-sheet__handle-wrap {
    display: flex;
    justify-content: center;
    padding: 12px 16px 8px;
  }
  .mobile-nav-sheet__handle {
    display: block;
    width: 44px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
  }
  .mobile-nav-sheet__links {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mobile-nav-sheet__links > li:last-child .mobile-nav-sheet__link {
    border-bottom: none;
  }
  .mobile-nav-sheet__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.15s, background 0.15s, padding-left 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav-sheet__link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    padding-left: 1.75rem;
  }
  .mobile-nav-sheet__link--active {
    color: #fff;
    font-weight: 700;
    background: rgba(133,83,0,0.15);
    border-left: 3px solid var(--secondary, #855300);
  }
  .mobile-nav-sheet__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary, #855300);
    flex-shrink: 0;
  }
  /* No extra CTA inside sheet — bottom bar already has it */

  /* Open state */
  .mobile-nav-sheet--open { pointer-events: auto; }
  .mobile-nav-sheet--open .mobile-nav-sheet__backdrop { opacity: 1; }
  .mobile-nav-sheet--open .mobile-nav-sheet__panel {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
                visibility 0s linear 0s;
  }
}

/* Reduced motion */
@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;
  }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* ── Language switcher (flag dropdown) ──────────────────────────────────── */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}
.lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid rgba(0,36,82,0.2);
  border-radius: 8px;
  padding: 5px 10px 5px 8px;
  color: var(--primary, #002452);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}
.lang-switcher__toggle:hover {
  background: rgba(0,36,82,0.06);
  border-color: rgba(0,36,82,0.35);
}
.lang-switcher__flag-img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}
.lang-switcher__arrow {
  margin-left: 2px;
  transition: transform 0.2s;
  opacity: 0.45;
  flex-shrink: 0;
}
.lang-switcher--open .lang-switcher__arrow { transform: rotate(180deg); opacity: 0.7; }
.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,36,82,0.18), 0 2px 8px rgba(0,0,0,0.08);
  min-width: 160px;
  padding: 6px;
  list-style: none;
  margin: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.lang-switcher--open .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #002452;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.lang-switcher__option:hover { background: #f0f3fa; }
.lang-switcher__option--active {
  background: #f0f3fa;
  font-weight: 700;
  color: #002452;
}
.lang-switcher__option--active::after {
  content: '✓';
  margin-left: auto;
  color: #56b958;
  font-size: 0.8rem;
}

/* Mobile nav lang row */
.mobile-nav-sheet__lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-sheet__lang .lang-switcher__option {
  font-size: 0.85rem;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.mobile-nav-sheet__lang .lang-switcher__option:hover,
.mobile-nav-sheet__lang .lang-switcher__option--active {
  background: rgba(255,255,255,0.14);
}

/* Fieldset legend in candidate form */
.kand-fieldset__legend {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary, #002452);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e8ecf4;
  width: 100%;
  display: block;
}
.kand-form-card { padding: var(--space-8, 2rem); }
.kand-fieldset { border: none; padding: 0; margin: 0 0 2rem; }
.kand-form__footer { padding-top: 1rem; border-top: 1px solid #e8ecf4; margin-top: 0.5rem; }
.kand-form__privacy {
  font-size: 0.8rem;
  color: var(--on-surface-muted, #6b7280);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.kand-form__privacy a { color: var(--primary, #002452); text-decoration: underline; }
.form__required { color: #dc2626; }
.btn--lg { padding: 0.9rem 2.25rem; font-size: 1rem; }

/* RTL support */
[dir="rtl"] .nav__links       { flex-direction: row-reverse; }
[dir="rtl"] .nav__inner       { flex-direction: row-reverse; }
[dir="rtl"] .mobile-nav-sheet__links { text-align: right; }
[dir="rtl"] .breadcrumb       { direction: rtl; }
[dir="rtl"] .footer__inner    { direction: rtl; }

/* ── Candidate CTA section (homepage) ──────────────────────────────────── */
.candidate-cta {
  background: var(--primary, #002452);
  color: #fff;
}
.candidate-cta .section-eyebrow,
.candidate-cta .candidate-cta__eyebrow {
  color: var(--secondary, #855300);
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}
.candidate-cta__headline {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.15;
}
.candidate-cta__subtext {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
.candidate-cta__header {
  margin-bottom: var(--space-10, 2.5rem);
}

/* Steps row */
.candidate-cta__steps {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: var(--space-10, 2.5rem);
}
.candidate-cta__step {
  flex: 1 1 160px;
  max-width: 200px;
  text-align: center;
  padding: 0 var(--space-4, 1rem);
  position: relative;
}
/* Dashed connector between steps */
.candidate-cta__step + .candidate-cta__step::before {
  content: '';
  position: absolute;
  top: 24px;
  left: -50%;
  width: 100%;
  border-top: 2px dashed rgba(133, 83, 0, 0.55);
  pointer-events: none;
}
.candidate-cta__step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--secondary, #855300);
  color: var(--secondary, #855300);
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 44px;
  margin: 0 auto 0.875rem;
  background: var(--primary, #002452);
  position: relative;
  z-index: 1;
}
.candidate-cta__step-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin: 0 0 0.4rem;
}
.candidate-cta__step-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin: 0;
}
.candidate-cta__footer {
  margin-top: var(--space-6, 1.5rem);
}
.candidate-cta__btn {
  min-width: 180px;
  display: inline-flex;
  width: auto;
}
/* pill modifier */
.btn--pill {
  border-radius: 9999px;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Mobile: stack steps vertically */
@media (max-width: 640px) {
  .candidate-cta__steps    { flex-direction: column; align-items: center; gap: 2rem; }
  .candidate-cta__step     { max-width: 100%; width: 100%; }
  .candidate-cta__step + .candidate-cta__step::before { display: none; }
}

/* ── Karriere benefits & process sections ──────────────────────────────── */
.karriere-process .candidate-cta__step-number {
  background: var(--primary, #002452);
  position: relative;
  z-index: 1;
}
.karriere-process .candidate-cta__step-title {
  color: #fff;
}
.karriere-process .candidate-cta__step-text {
  color: rgba(255, 255, 255, 0.65);
}

.ueber-team-photo { margin: var(--space-10) auto; max-width: 800px; border-radius: 16px; overflow: hidden; }
.ueber-team-photo__img { width: 100%; height: auto; display: block; object-fit: cover; }

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 360px;
  pointer-events: auto;
  animation: toast-in 0.3s ease;
  border-left: 4px solid transparent;
}
.toast--success { border-left-color: #56b958; color: #1a3a1b; }
.toast--success .toast__icon { color: #56b958; }
.toast--error   { border-left-color: #dc2626; color: #7a1010; }
.toast--error   .toast__icon { color: #dc2626; }
.toast--info    { border-left-color: #002452; color: #002452; }
.toast--info    .toast__icon { color: #002452; }
.toast__icon { flex-shrink: 0; width: 20px; height: 20px; }
.toast__close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 0 0 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(12px); }
}

/* ==========================================================================
   CANDIDATE FILE UPLOAD ZONES
   ========================================================================== */
.kand-upload-zone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.kand-upload-zone:hover,
.kand-upload-zone.drag-over { border-color: var(--primary, #002452); background: rgba(0,36,82,0.04); }
.kand-upload-zone__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.kand-upload-zone__body { color: #64748b; pointer-events: none; }
.kand-upload-zone__label { font-weight: 600; margin: 0.5rem 0 0.25rem; color: var(--primary, #002452); }
.kand-upload-zone__sub { font-size: 0.78rem; color: #94a3b8; }
.kand-upload-zone__preview {
  max-height: 120px;
  max-width: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}
.kand-file-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  text-align: left;
}
.kand-file-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #374151;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  background: rgba(0,36,82,0.05);
  margin-bottom: 0.25rem;
}
.kand-file-list li svg { flex-shrink: 0; color: var(--secondary, #855300); }

/* ═══════════════════════════════════════════════════════════════════════════
   LANDING PAGE COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero */
.lp-hero {
  position: relative;
  background: oklch(16% 0.06 255);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}
.lp-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 60% at 80% 50%, oklch(28% 0.09 255 / 0.35) 0%, transparent 70%),
    repeating-linear-gradient(-45deg, oklch(100% 0 0 / 0.015) 0px, oklch(100% 0 0 / 0.015) 1px, transparent 1px, transparent 12px);
  pointer-events: none;
}
.lp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
  padding: clamp(110px, 14vh, 160px) 0 clamp(80px, 10vh, 120px);
}
.lp-hero__content { display: flex; flex-direction: column; gap: clamp(1.25rem, 2.5vh, 2rem); }
.lp-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
}
.lp-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: oklch(100% 0 0 / 0.75);
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}
.lp-hero__trust { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.lp-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: oklch(100% 0 0 / 0.08);
  border: 1px solid oklch(100% 0 0 / 0.15);
  color: oklch(100% 0 0 / 0.9);
  font-size: 0.82rem;
  font-weight: 500;
}
.lp-trust-badge svg { color: oklch(72% 0.15 145); flex-shrink: 0; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* Hero CTA Card */
.lp-cta-card {
  background: #fff;
  border-radius: 20px;
  padding: clamp(1.5rem, 3vh, 2.5rem);
  box-shadow: 0 24px 80px oklch(0% 0 0 / 0.4);
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vh, 1.25rem);
}
.lp-cta-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary, #855300);
  margin: 0;
}
.lp-cta-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary, #002452);
  margin: 0;
  line-height: 1.3;
}
.lp-cta-card__text {
  font-size: 0.9rem;
  color: oklch(35% 0.03 255);
  margin: 0;
  line-height: 1.5;
}
.lp-cta-card__list {
  list-style: none;
  margin: 0;
  padding: var(--space-3) 0 0;
  border-top: 1px solid oklch(90% 0 0);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-cta-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: oklch(35% 0.03 255);
}
.lp-cta-card__list li svg { color: oklch(72% 0.15 145); flex-shrink: 0; }
.btn--block { width: 100%; justify-content: center; }

/* Stats Bar */
.lp-stats {
  background: var(--secondary, #855300);
  padding: var(--space-5) 0;
}
.lp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.lp-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.lp-stat__number {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.lp-stat__label { font-size: 0.78rem; color: oklch(100% 0 0 / 0.8); letter-spacing: 0.03em; font-weight: 500; }

/* Content + Sidebar */
.lp-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-7);
  align-items: start;
}
.lp-main { min-width: 0; }
.lp-sidebar { display: flex; flex-direction: column; gap: var(--space-4); }

.lp-sidebar-cta {
  background: var(--primary, #002452);
  border-radius: 14px;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: sticky;
  top: 100px;
}
.lp-sidebar-cta__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(72% 0.15 145);
  margin: 0;
}
.lp-sidebar-cta__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.lp-sidebar-cta__text { font-size: 0.88rem; color: oklch(100% 0 0 / 0.7); margin: 0; line-height: 1.5; }

.lp-sidebar-steps {
  background: oklch(97% 0.01 255);
  border: 1px solid oklch(90% 0.01 255);
  border-radius: 14px;
  padding: var(--space-4);
}
.lp-sidebar-steps__title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary, #002452);
  margin: 0 0 var(--space-3);
}
.lp-steps-list {
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-steps-list__item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: oklch(35% 0.03 255); }
.lp-steps-list__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary, #002452);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-sidebar-steps__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary, #855300);
  text-decoration: none;
  transition: gap 0.2s;
}
.lp-sidebar-steps__link:hover { gap: 10px; }

/* Mid-Page CTA */
.lp-midcta { background: oklch(16% 0.06 255); padding: var(--space-8) 0; }
.lp-midcta__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.lp-midcta__title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-2);
  line-height: 1.2;
}
.lp-midcta__sub { font-size: 0.95rem; color: oklch(100% 0 0 / 0.7); margin: 0; max-width: 520px; line-height: 1.6; }

/* Related Pages */
.lp-related { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.lp-related__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid oklch(85% 0.02 255);
  color: var(--primary, #002452);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.lp-related__link svg { color: var(--secondary, #855300); flex-shrink: 0; }
.lp-related__link:hover { border-color: var(--primary, #002452); background: var(--primary, #002452); color: #fff; }

/* Final CTA */
.lp-finalcta { background: oklch(16% 0.06 255); padding: clamp(5rem, 10vh, 8rem) 0; text-align: center; }
.lp-finalcta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  max-width: 640px;
  margin: 0 auto;
}
.lp-finalcta__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: oklch(72% 0.15 145 / 0.15);
  border: 1px solid oklch(72% 0.15 145 / 0.4);
  color: oklch(72% 0.15 145);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lp-finalcta__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.15;
}
.lp-finalcta__sub { font-size: 1rem; color: oklch(100% 0 0 / 0.7); margin: 0; line-height: 1.65; }
.lp-finalcta__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; align-items: center; }
.lp-finalcta__contact {
  font-size: 0.88rem;
  color: oklch(100% 0 0 / 0.45);
  margin: 0;
}
.lp-finalcta__contact a {
  color: oklch(100% 0 0 / 0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.lp-finalcta__contact a:hover { color: #fff; }

/* Ghost Light Button */
.btn--ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  border: 2px solid oklch(100% 0 0 / 0.35);
  color: oklch(100% 0 0 / 0.85);
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: oklch(100% 0 0 / 0.08); }

.btn--lg { padding: 14px 30px; font-size: 1rem; }

/* Prose enhancements */
.lp-main.prose h2 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary, #002452);
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}
.lp-main.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary, #002452); margin: 1.5rem 0 0.5rem; }
.lp-main.prose p { color: oklch(28% 0.02 255); line-height: 1.75; margin: 0 0 1rem; }
.lp-main.prose ul,
.lp-main.prose ol { padding-left: 1.25rem; margin: 0 0 1rem; display: flex; flex-direction: column; gap: 6px; }
.lp-main.prose li { color: oklch(28% 0.02 255); line-height: 1.6; }
.lp-main.prose ul li::marker { color: oklch(72% 0.15 145); }

/* ── Landing Page Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Hero: single column, hide card */
  .lp-hero { min-height: auto; }
  .lp-hero__inner { grid-template-columns: 1fr; gap: var(--space-5); padding: 110px 0 72px; }
  .lp-hero__card { display: none; }
  .lp-hero__content { align-items: flex-start; }

  /* Stats: 2 cols */
  .lp-stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }

  /* Content: full width, hide sidebar */
  .lp-layout { grid-template-columns: 1fr; gap: var(--space-5); }
  .lp-sidebar { display: none; }

  /* Mid CTA: stack */
  .lp-midcta { padding: var(--space-6) 0; }
  .lp-midcta__inner { flex-direction: column; text-align: center; gap: var(--space-4); align-items: center; }
  .lp-midcta__sub { max-width: 100%; }
}

@media (max-width: 768px) {
  /* Hero */
  .lp-hero { padding: 90px 0 64px; }
  .lp-hero__title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .lp-hero__sub { font-size: 1rem; }
  .lp-hero__trust { gap: 8px; }
  .lp-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    margin-top: 8px;
  }
  .lp-hero__ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 1rem;
    white-space: normal;
    text-align: center;
  }

  /* Stats */
  .lp-stats { padding: 20px 0; }
  .lp-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1px; background: oklch(100% 0 0 / 0.15); }
  .lp-stat { background: var(--secondary, #855300); padding: 16px 12px; }
  .lp-stat__number { font-size: 1.5rem; }

  /* Content section */
  .section--white { padding-block: 48px; }
  .lp-main.prose { padding: 0; }

  /* Mid CTA */
  .lp-midcta { padding: 56px 0; }
  .lp-midcta__title { font-size: 1.35rem; }
  .lp-midcta__inner .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 1rem;
    white-space: normal;
    text-align: center;
  }

  /* FAQ section */
  .lp-faq-wrap { padding: 0; }

  /* Related */
  .lp-related { gap: 8px; }
  .lp-related__link { font-size: 0.83rem; padding: 9px 14px; }

  /* Final CTA */
  .lp-finalcta { padding: 64px 0; }
  .lp-finalcta__title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .lp-finalcta__inner {
    padding: 0 16px;
    gap: 24px;
  }
  .lp-finalcta__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 16px;
  }
  .lp-finalcta__ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 1rem;
    white-space: normal;
    text-align: center;
  }
  .lp-finalcta__sub { font-size: 0.95rem; }
  .btn--ghost-light { border-radius: 12px; }
}

@media (max-width: 480px) {
  /* Hero */
  .lp-hero { padding: 80px 0 56px; }
  .lp-hero__title { font-size: 1.65rem; line-height: 1.2; }
  .lp-hero__sub { font-size: 0.93rem; }
  .lp-trust-badge { font-size: 0.78rem; padding: 5px 11px; }

  /* Stats */
  .lp-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .lp-stat__number { font-size: 1.3rem; }
  .lp-stat__label { font-size: 0.7rem; }

  /* Mid CTA */
  .lp-midcta { padding: 48px 0; }

  /* Prose */
  .lp-main.prose h2 { font-size: 1.2rem; margin-top: 1.5rem; }
  .lp-main.prose h3 { font-size: 1rem; }
  .lp-main.prose p { font-size: 0.93rem; }

  /* FAQ */
  .faq-item__question { font-size: 0.88rem; padding: 14px 14px; }
  .faq-item__answer p { font-size: 0.88rem; }

  /* Related links */
  .lp-related { flex-direction: column; gap: 8px; }
  .lp-related__link { width: 100%; justify-content: flex-start; border-radius: 10px; }

  /* Final CTA */
  .lp-finalcta { padding: 56px 0; }
  .lp-finalcta__badge { font-size: 0.72rem; }
  .lp-finalcta__title { font-size: 1.55rem; }
  .lp-finalcta__sub { font-size: 0.88rem; }
}

/* ═══════════════════════════════════════════════════════════════
   BLOG STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px oklch(0% 0 0 / 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: 0 8px 32px oklch(0% 0 0 / 0.12); transform: translateY(-2px); }

.blog-card__img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card__img-wrap:hover img { transform: scale(1.03); }

.blog-card__img-placeholder {
  aspect-ratio: 16/9;
  background: oklch(95% 0.02 255);
  display: flex; align-items: center; justify-content: center;
  color: oklch(60% 0.04 255);
}

.blog-card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); flex-wrap: wrap; }

.blog-card__cat {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
}
.blog-card__time { font-size: 0.78rem; color: var(--text-muted); }

.blog-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; margin: 0 0 var(--space-3); color: var(--primary); }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--gold); }

.blog-card__teaser { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin: 0; flex: 1; }

.blog-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--space-4); padding-top: var(--space-3);
  border-top: 1px solid oklch(92% 0 0);
}
.blog-card__author { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--text-muted); }
.blog-card__read {
  display: flex; align-items: center; gap: 4px; font-size: 0.8rem;
  font-weight: 600; color: var(--primary); text-decoration: none;
}
.blog-card__read:hover { color: var(--gold); gap: 8px; }

/* Blog Article Layout */
.blog-article-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-8);
  padding-top: var(--space-8);
  padding-bottom: var(--space-10);
  align-items: start;
}

.blog-article__header { margin-bottom: var(--space-6); }
.blog-article__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; color: var(--primary); margin: 0 0 var(--space-4); }
.blog-article__teaser { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin: 0 0 var(--space-4); border-left: 4px solid var(--gold); padding-left: var(--space-4); }
.blog-article__byline { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-muted); }

.blog-article__hero-img { margin-bottom: var(--space-6); border-radius: 16px; overflow: hidden; }
.blog-article__hero-img img { width: 100%; height: auto; display: block; }

/* Prose content */
.blog-article__content.prose { font-size: 1rem; line-height: 1.8; color: oklch(25% 0.02 255); }
.blog-article__content.prose h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin: 2.5rem 0 1rem; }
.blog-article__content.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 2rem 0 0.75rem; }
.blog-article__content.prose p { margin: 0 0 1.25rem; }
.blog-article__content.prose ul, .blog-article__content.prose ol { margin: 0 0 1.25rem 1.5rem; }
.blog-article__content.prose li { margin-bottom: 0.5rem; }
.blog-article__content.prose strong { color: var(--primary); }
.blog-article__content.prose blockquote {
  background: oklch(96% 0.02 255);
  border-left: 4px solid var(--gold);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 12px 12px 0;
  margin: var(--space-6) 0;
  font-style: italic;
}
.blog-article__content.prose blockquote footer {
  font-style: normal; font-size: 0.85rem;
  color: var(--text-muted); margin-top: var(--space-2);
}

/* Author box */
.blog-author-box {
  display: flex; align-items: flex-start; gap: var(--space-4);
  background: oklch(96% 0.02 255);
  border-radius: 16px; padding: var(--space-5);
  margin-top: var(--space-8);
}
.blog-author-box__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.blog-author-box__name { font-weight: 700; font-size: 0.95rem; color: var(--primary); margin: 0 0 4px; }
.blog-author-box__bio { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Article CTA */
.blog-article__cta {
  background: var(--primary);
  border-radius: 16px; padding: var(--space-6);
  margin-top: var(--space-8); text-align: center;
}
.blog-article__cta-text { font-size: 1rem; color: oklch(100% 0 0 / 0.8); margin: 0 0 var(--space-4); }

/* Sidebar */
.blog-sidebar { position: sticky; top: 100px; }
.blog-sidebar__box {
  background: #fff; border-radius: 16px;
  box-shadow: 0 2px 16px oklch(0% 0 0 / 0.07);
  padding: var(--space-5);
}
.blog-sidebar__title { font-size: 0.9rem; font-weight: 700; color: var(--primary); margin: 0 0 var(--space-3); text-transform: uppercase; letter-spacing: 0.04em; }

/* Responsive */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-article-wrap { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; margin-top: var(--space-6); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-article__title { font-size: 1.6rem; }
  .blog-article__teaser { font-size: 0.95rem; }
}

/* ── Blog Block-Editor Frontend Styles ─────────────────────── */
.blog-figure {
  margin: 1.5rem 0;
}
.blog-figure img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.blog-figure figcaption {
  font-size: 0.82rem;
  color: var(--color-text-light, #6b7280);
  text-align: center;
  margin-top: 0.4rem;
}
.blog-banner {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin: 1.25rem 0;
}
.blog-banner strong {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.blog-banner p { margin: 0; line-height: 1.6; }
.blog-banner--info    { background: #eff6ff; border-left: 4px solid #3b82f6; }
.blog-banner--tip     { background: #f0fdf4; border-left: 4px solid #22c55e; }
.blog-banner--warning { background: #fffbeb; border-left: 4px solid #f59e0b; }
.blog-banner--success { background: #f0fdf4; border-left: 4px solid #16a34a; }

/* ── Blog Image Sizes ───────────────────────────────────────── */
.blog-figure--full img    { aspect-ratio: 16 / 9; object-fit: cover; }
.blog-figure--banner img  { aspect-ratio: 3 / 1;  object-fit: cover; }
.blog-figure--medium      { max-width: 65%; margin-left: auto; margin-right: auto; }
.blog-figure--small       { max-width: 40%; margin-left: auto; margin-right: auto; }

/* ── Blog Image + Text ─────────────────────────────────────── */
.blog-image-text {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}
.blog-image-text--right { flex-direction: row-reverse; }
.blog-image-text__img {
  flex: 0 0 var(--img-w, 40%);
  margin: 0;
}
.blog-image-text__img img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.blog-image-text__text {
  flex: 1;
  min-width: 0;
  line-height: 1.75;
}
.blog-image-text__text p  { margin: .6rem 0; }
.blog-image-text__text ul,
.blog-image-text__text ol { padding-left: 1.4rem; margin: .6rem 0; }
@media (max-width: 640px) {
  .blog-image-text,
  .blog-image-text--right { flex-direction: column; }
  .blog-image-text__img   { flex: 0 0 auto; width: 100%; }
  .blog-figure--medium,
  .blog-figure--small     { max-width: 100%; }
}

/* ── Blog Prose Links ───────────────────────────────────────── */
.blog-article__content.prose a {
  color: oklch(15% 0.08 255);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-article__content.prose a:hover {
  color: oklch(35% 0.12 80);
}
.blog-article__content.prose a[target="_blank"]::after {
  content: ' \2197';
  font-size: .75em;
  opacity: .7;
}
