/* ==========================================================================
   dentabrevis — Design System v2
   Self-hosted variable fonts: Bricolage Grotesque (display) + Literata (body).
   Structural motif: a "ledger spine" — a thin index rail running the length
   of the page, echoing the precise, itemised nature of billing work. Layouts
   are intentionally asymmetric rather than mirrored grids.
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage-grotesque-var.woff2') format('woff2-variations'),
       url('fonts/bricolage-grotesque-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('fonts/literata-var.woff2') format('woff2-variations'),
       url('fonts/literata-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('fonts/literata-italic-var.woff2') format('woff2-variations'),
       url('fonts/literata-italic-var.woff2') format('woff2');
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink:          #1B1320;
  --ink-soft:     #2A1F30;
  --plum:         #59315C;
  --plum-deep:    #3B2140;
  --orchid:       #96539C;
  --orchid-light: #B583B9;
  --gold:         #B98A4A;
  --gold-light:   #E4C98B;
  --gold-text:    #8C6530; /* darkened for 4.5:1 AA contrast as text on light backgrounds */
  --cream:        #FBF6F3;
  --lilac-tint:   #F5EDF3;
  --white:        #FFFFFF;

  --text:          #241A28;
  --text-soft:     #5B4A5E;
  --on-dark:       #F4EBF1;
  --on-dark-soft:  #C7B5C9;
  --border:        #E9DEE6;
  --border-dark:   rgba(244,235,241,0.14);

  --font-display: 'Bricolage Grotesque', -apple-system, sans-serif;
  --font-body: 'Literata', Georgia, serif;

  --fs-hero: clamp(2.6rem, 2vw + 2.2rem, 4.4rem);
  --fs-h2:   clamp(1.9rem, 1.1vw + 1.6rem, 2.7rem);
  --fs-h3:   clamp(1.1rem, 0.3vw + 1rem, 1.3rem);

  --max-width: 1180px;
  --rail-width: 64px;
  --radius: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-variation-settings: 'opsz' 12;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .wrap { padding: 0 24px 0 calc(24px + var(--rail-width)); }
}

a { color: inherit; }
::selection { background: var(--orchid); color: var(--white); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, .eyebrow, .num-mark, .btn, nav.main-nav a.cta {
  font-family: var(--font-display);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); display: inline-block; }
section.on-dark .eyebrow, .hero .eyebrow { color: var(--gold-light); text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* ==========================================================================
   Ledger rail — fixed index spine (desktop only)
   ========================================================================== */
.ledger-rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail-width);
  display: none;
  z-index: 40;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .ledger-rail { display: flex; align-items: center; justify-content: center; }
}
.ledger-rail .line {
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(185,138,74,0.5) 15%, rgba(185,138,74,0.5) 85%, transparent);
}
.ledger-rail .marker {
  position: relative;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  padding: 14px 6px;
}
.ledger-rail .marker .n {
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-text);
  font-variation-settings: 'opsz' 24;
}
.ledger-rail .marker .l {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: opacity 0.3s ease;
}

/* Mobile scroll-progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: transparent;
  z-index: 60;
}
.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.1s linear;
}
@media (min-width: 1024px) { .scroll-progress { display: none; } }

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease, background 0.6s ease;
}
#preloader.video-mode { background: var(--ink); }
#preloader img { width: min(260px, 55vw); height: auto; opacity: 0; transform: scale(0.85) translateY(6px); animation: preloaderReveal 1.1s cubic-bezier(.22,1,.36,1) 0.15s forwards; }
#preloader video { width: min(320px, 60vw); height: auto; opacity: 0; animation: preloaderVideoIn 0.6s ease 0.05s forwards; }
/* The global `img { display: block }` reset below is an AUTHOR rule, which beats the
   user-agent's `[hidden] { display: none }` rule regardless of specificity — so the
   native hidden attribute alone doesn't hide these. Force it explicitly. */
#preloader img[hidden], #preloader video[hidden] { display: none !important; }
@keyframes preloaderReveal {
  0% { opacity: 0; transform: scale(0.85) translateY(6px); }
  60% { opacity: 1; transform: scale(1.04) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes preloaderVideoIn { from { opacity: 0; } to { opacity: 1; } }
body.preloader-done #preloader { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  #preloader { transition: none; }
  #preloader img, #preloader video { animation: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
header.site-header { position: sticky; top: 0; z-index: 50; padding: 18px 20px 0; pointer-events: none; }
header.site-header .wrap { padding-left: 12px !important; }
@media (min-width: 1024px) { header.site-header .wrap { padding-left: 22px !important; } }
header.site-header .wrap {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(89,49,92,0.08);
  border-radius: 999px;
  padding-top: 6px; padding-bottom: 6px; padding-right: 12px;
  box-shadow: 0 12px 30px -18px rgba(27,19,32,0.35);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
header.site-header.is-scrolled .wrap { box-shadow: 0 16px 36px -16px rgba(27,19,32,0.45); background: rgba(255,255,255,0.96); }
header.site-header img.logo { height: 68px; width: auto; }
.logo-link { display: inline-flex; }
nav.main-nav { display: flex; align-items: center; }
nav.main-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 14.5px; margin-left: 22px; font-family: var(--font-body); transition: color 0.2s ease; }
nav.main-nav a:hover { color: var(--orchid); }
nav.main-nav a.cta { background: var(--ink); color: var(--white); padding: 11px 22px; border-radius: 999px; font-weight: 700; margin-left: 22px; }
nav.main-nav a.cta:hover { background: var(--plum); }

/* Mobile sticky CTA (thumb zone) */
.mobile-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 55;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta a {
  display: block;
  text-align: center;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  padding: 16px;
  border-radius: 999px;
  box-shadow: 0 16px 34px -12px rgba(27,19,32,0.55);
}
@media (min-width: 1024px) { .mobile-cta { display: none; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--ink); text-decoration: none;
  padding: 15px 30px; border: none; border-radius: 999px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 14px 28px -14px rgba(185,138,74,0.55);
}
.btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn.secondary { background: transparent; color: var(--ink); border: 1.5px solid rgba(36,26,40,0.3); box-shadow: none; }
.btn.secondary:hover { background: rgba(36,26,40,0.06); }
section.on-dark .btn.secondary { color: var(--on-dark); border-color: rgba(244,235,241,0.35); }
section.on-dark .btn.secondary:hover { background: rgba(244,235,241,0.1); }

/* ==========================================================================
   Hero — full-bleed cinematic landscape photo, text overlaid
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink);
}
/* Photo, scrim, copy and badge all share grid cell 1/1 so they stack — avoids
   fragile percentage-margin math (which resolves against width, not height). */
.hero-media, .hero-copy, .hero > .badge {
  grid-column: 1;
  grid-row: 1;
}
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 82vh;
  min-height: 460px;
  overflow: hidden;
  align-self: stretch;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block; animation-fill-mode: both; will-change: transform; }
@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.1) translate3d(-1%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .kenburns-frame img { animation: none !important; }
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,10,18,0.78) 0%, rgba(15,10,18,0.42) 22%, rgba(15,10,18,0.1) 40%, rgba(15,10,18,0) 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: start;
  padding: 0 24px 44px;
  max-width: 640px;
}
@media (min-width: 1024px) { .hero-copy { padding-left: calc(24px + var(--rail-width)); } }
.hero-copy .index-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--gold-light);
  opacity: 0.6;
  margin: 0 0 6px;
  user-select: none;
  text-shadow: 0 4px 18px rgba(0,0,0,0.55);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--white);
  max-width: 14ch;
  text-shadow: 0 6px 28px rgba(0,0,0,0.55), 0 1px 6px rgba(0,0,0,0.6);
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.lead { font-size: 18.5px; color: var(--on-dark-soft); margin: 0 0 30px; max-width: 46ch; text-shadow: 0 2px 14px rgba(0,0,0,0.6); }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .btn.secondary { color: var(--on-dark); border-color: rgba(244,235,241,0.4); }
.hero .btn.secondary:hover { background: rgba(244,235,241,0.12); }
.hero .note { margin-top: 22px; font-size: 13.5px; color: var(--gold-light); font-weight: 600; display: flex; align-items: center; gap: 8px; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.hero .note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; box-shadow: 0 0 0 4px rgba(185,138,74,0.28); }

.hero .badge {
  position: relative; z-index: 1;
  align-self: start;
  justify-self: end;
  margin: 104px 24px 0 0;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: inline-flex;
  align-items: center;
}
.hero .badge .badge-logo { width: 150px; height: auto; display: block; }

.kenburns-frame { overflow: hidden; }
.kenburns-frame img { will-change: transform; }

/* Trust / stat strip */
.stat-strip {
  grid-row: 2;
  grid-column: 1;
  width: 100%;
  padding: 34px 24px 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--cream);
}
@media (min-width: 1024px) { .stat-strip { padding-left: calc(24px + var(--rail-width)); } }
.stat-strip .num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.stat-strip p { margin: 4px 0 0; font-size: 13.5px; color: var(--text-soft); max-width: 220px; }

/* ==========================================================================
   Reveal fallback (no-GSAP safety net)
   ========================================================================== */
.reveal-fallback .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-fallback .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-fallback .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 88px 0; position: relative; }
section.tint { background: var(--lilac-tint); }
section.on-dark {
  background: var(--ink); color: var(--on-dark);
  background-image:
    radial-gradient(60% 60% at 15% 0%, rgba(150,83,156,0.35) 0%, rgba(150,83,156,0) 60%),
    radial-gradient(50% 50% at 100% 100%, rgba(185,138,74,0.14) 0%, rgba(185,138,74,0) 60%);
}
section.on-dark::after {
  content: ""; position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
section.on-dark h2, section.on-dark .section-title { color: var(--white); }
section.on-dark .section-sub { color: var(--on-dark-soft); }

.section-head { max-width: 46ch; margin: 0 0 44px; }
.section-title {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2);
  line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 14px; color: var(--ink);
}
.section-sub { margin: 0; color: var(--text-soft); font-size: 17px; }

/* ---- Leistungen: featured + list, mobile = snap carousel ---- */
.services-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .services-layout { grid-template-columns: 1.3fr 1fr; gap: 28px; } }

.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(89,49,92,0.35); border-color: rgba(150,83,156,0.25); }
.service-card .icon {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--lilac-tint); color: var(--plum); margin-bottom: 18px;
}
.service-card .icon svg { width: 22px; height: 22px; }
.service-card h3 { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin: 0 0 10px; font-size: 21px; }
.service-card p { margin: 0; color: var(--text-soft); font-size: 15px; }
.service-card.featured { display: flex; flex-direction: column; justify-content: center; }
.service-card.featured .icon { width: 56px; height: 56px; }
.service-card.featured .icon svg { width: 26px; height: 26px; }
.service-card.featured h3 { font-size: 25px; }
.service-card.featured p { font-size: 16px; }
.service-detail { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.service-detail li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.45; color: var(--text-soft); }
.service-detail li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.service-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.service-list .service-card {
  border: none; border-bottom: 1px solid var(--border); border-radius: 0;
  padding: 22px 4px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
}
.service-list .service-card:hover { transform: none; box-shadow: none; }
.service-list .icon { margin-bottom: 0; width: 38px; height: 38px; }
.service-list .icon svg { width: 18px; height: 18px; }
.service-list h3 { font-size: 17px; margin-bottom: 6px; }
.service-list p { font-size: 14px; }

@media (max-width: 899px) {
  .services-layout { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding: 4px 24px 18px; margin: 0 -24px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .services-layout::-webkit-scrollbar { display: none; }
  .services-layout > * { scroll-snap-align: start; flex: 0 0 84vw; }
  .service-list { border-top: none; border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 22px; }
}
.carousel-dots { display: none; gap: 6px; justify-content: center; margin-top: 16px; }
@media (max-width: 899px) { .carousel-dots { display: flex; } }
.carousel-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: background 0.2s ease, transform 0.2s ease; }
.carousel-dots .dot.is-active { background: var(--gold); transform: scale(1.3); }

/* ---- Ablauf: connected timeline, alternating sides ---- */
.timeline { position: relative; padding: 8px 0; }
.timeline-line-track { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: rgba(185,138,74,0.18); }
.timeline-line { position: absolute; inset: 0; width: 100%; background: var(--gold); transform: scaleY(0); transform-origin: top; }
.timeline-step {
  position: relative;
  width: calc(50% - 34px);
  margin-bottom: 56px;
}
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step[data-side="left"] { margin-right: auto; text-align: right; }
.timeline-step[data-side="right"] { margin-left: auto; text-align: left; }
.timeline-step .dot {
  position: absolute; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 5px rgba(185,138,74,0.18);
}
.timeline-step[data-side="left"] .dot { right: -40px; }
.timeline-step[data-side="right"] .dot { left: -40px; }
.timeline-step .step-num { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--gold-light); line-height: 1; margin-bottom: 10px; display: block; }
.timeline-step h3 { font-family: var(--font-display); font-weight: 700; margin: 0 0 10px; font-size: 19px; color: var(--white); }
.timeline-step p { margin: 0; color: var(--on-dark-soft); font-size: 15px; }

@media (max-width: 767px) {
  .timeline-line-track { left: 6px; transform: none; }
  .timeline-step, .timeline-step[data-side="left"], .timeline-step[data-side="right"] {
    width: 100%; text-align: left; padding-left: 34px; margin-right: 0; margin-left: 0;
  }
  .timeline-step[data-side="left"] .dot, .timeline-step[data-side="right"] .dot { left: 0; right: auto; }
}

/* Video section — asymmetric offset */
.video-layout { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .video-layout { grid-template-columns: 1.2fr 0.8fr; } }
.video-frame { position: relative; }
.intro-video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 22%; border-radius: var(--radius); box-shadow: 0 30px 60px -28px rgba(89,49,92,0.4); background: #000; }
.video-context { }
.video-context p { color: var(--text-soft); font-size: 16px; }
.video-caption { margin-top: 14px; font-size: 14px; color: var(--text-soft); }
.video-solo { max-width: 900px; margin: 0 auto 48px; }
.values.cols-3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
@media (max-width: 899px) { .values.cols-3 { grid-template-columns: 1fr; } }

/* About — asymmetric, image bleeds larger */
.about-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-layout { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.about-layout .portrait { position: relative; }
.about-layout .portrait::before {
  content: ""; position: absolute; top: 20px; left: -20px; right: 20px; bottom: -20px;
  background: var(--gold); opacity: 0.15; border-radius: var(--radius); z-index: 0;
}
.about-layout .portrait img { position: relative; z-index: 1; border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; display: block; }
.about-layout .quote-tag {
  position: absolute; top: -14px; right: -8px; z-index: 2;
  background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 14px 26px -14px rgba(185,138,74,0.6);
}
.about-layout h2 { font-family: var(--font-display); color: var(--ink); font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 18px; line-height: 1.1; }
.about-layout p.pitch { font-size: 17px; color: var(--text-soft); }
.about-layout p.pitch em { font-style: italic; color: var(--plum); font-weight: 600; }
.values { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value { border-left: 2px solid var(--gold); padding-left: 16px; }
.value h4 { margin: 0 0 6px; color: var(--ink); font-size: 15px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; }
.value p { margin: 0; font-size: 14px; color: var(--text-soft); }

/* FAQ — split layout, sticky intro on desktop */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 0.75fr 1.25fr; gap: 48px; } }
.faq-intro { }
@media (min-width: 900px) { .faq-intro { position: sticky; top: 120px; align-self: start; } }
.faq { display: grid; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -26px rgba(89,49,92,0.4);
  border-color: rgba(150,83,156,0.3);
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 26px; font-family: var(--font-display); font-weight: 600;
  font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color 0.25s ease;
}
.faq-item:hover summary { color: var(--plum); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lilac-tint); color: var(--plum);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq-item:hover summary .plus { background: var(--orchid); color: var(--white); transform: scale(1.1); }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--gold); color: var(--ink); }
.faq-item[open]:hover summary .plus { transform: rotate(45deg) scale(1.1); }
.faq-item .faq-a { padding: 0 26px 22px; margin: 0; color: var(--text-soft); font-size: 15.5px; }

/* Contact — off-center, card overlaps section boundary */
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1.15fr 0.85fr; align-items: start; gap: 48px; } }
.contact-copy h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; color: var(--white); margin: 0 0 16px; line-height: 1.1; max-width: 12ch; }
.contact-copy p { color: var(--on-dark-soft); font-size: 17px; max-width: 42ch; }
.contact-box {
  background: var(--cream); color: var(--text); border-radius: var(--radius); padding: 36px;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,0.5);
}
@media (min-width: 900px) { .contact-box { margin-bottom: -120px; } }
.contact-box .lead { font-size: 15px; margin: 0 0 24px; color: var(--plum); font-weight: 600; font-family: var(--font-display); }
.contact-details { display: grid; gap: 16px; font-size: 15px; line-height: 1.6; margin: 0 0 28px; }
.contact-details dt { color: var(--orchid); font-family: var(--font-display); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.contact-details dd { margin: 0; color: var(--text); }
.contact-details a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(36,26,40,0.3); }

/* Footer */
footer { background: #120C16; color: var(--on-dark-soft); padding: 32px 0; font-size: 13.5px; }
@media (min-width: 900px) { footer { padding-top: 152px; } }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--on-dark-soft); text-decoration: none; margin-left: 18px; font-family: var(--font-body); }
footer a:hover { color: var(--white); }
footer .foot-links a:first-child { margin-left: 0; }

/* Social-Media-Kanäle — vorbereitet für später, siehe Kommentar im HTML */
.social-links { display: flex; align-items: center; gap: 14px; }
.social-links a { color: var(--on-dark-soft); display: inline-flex; transition: color 0.2s ease; }
.social-links a:hover { color: var(--white); }
.social-links svg { width: 18px; height: 18px; }

/* Legal pages */
.legal { padding: 48px 0 90px; }
.legal h1 { font-family: var(--font-display); color: var(--ink); font-size: 32px; font-weight: 700; }
.legal h2 { font-family: var(--font-display); color: var(--plum); font-size: 20px; font-weight: 700; margin-top: 36px; }
.legal p, .legal li { color: var(--text-soft); font-size: 15px; }
.legal .note-box { background: #FBF3E0; border: 1px solid #EAD08F; border-radius: var(--radius-sm); padding: 16px 20px; font-size: 14px; color: #5c4a12; margin-bottom: 32px; }
a.back-link { color: var(--orchid); text-decoration: none; font-weight: 600; font-size: 14px; }

/* ==========================================================================
   Responsive catch-alls
   ========================================================================== */
@media (max-width: 899px) {
  section { padding: 64px 0; }
  .values, .stat-strip { grid-template-columns: 1fr; }
  nav.main-nav a:not(.cta) { display: none; }
}

/* Hero on narrower screens: stop overlaying text on the photo (a 16:9 crop
   tall enough to fit the copy would need to cut the people out of frame) —
   stack photo above solid-background copy instead. */
@media (max-width: 767px) {
  .hero { display: block; }
  .hero-media { aspect-ratio: 4 / 3; max-height: none; min-height: 0; }
  .hero-media img { object-position: center; }
  .hero-scrim { background: linear-gradient(to top, rgba(27,19,32,0.55) 0%, rgba(27,19,32,0) 45%); }
  .hero-copy {
    background: var(--ink);
    padding: 32px 24px 40px;
    max-width: none;
  }
  .hero > .badge {
    position: absolute;
    top: 80px;
    right: 16px;
    margin: 0;
    z-index: 2;
    padding: 10px 14px;
  }
  .hero .badge .badge-logo { width: 110px; }
}
@media (max-width: 520px) {
  header.site-header { padding: 14px 12px 0; }
  header.site-header .wrap { padding-top: 5px !important; padding-bottom: 5px !important; padding-right: 8px !important; }
  header.site-header img.logo { height: 54px; }
}
