/* =========================================
   BAUMLEBEN ENGELBRECHT — Design System
   ========================================= */

/* Manrope (variable font) – latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Manrope (variable font) – latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono 400 – latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono 500 – latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --forest-900: #1A2412;
  --forest-800: #25341B;
  --forest-700: #2F4222;
  --forest-600: #3D5A2C;
  --olive-500:  #838d44;
  --olive-400:  #838d44;
  --olive-300:  #B6C594;
  --gold-700:   #cc9340;
  --gold-600:   #cc9340;
  --gold-500:   #cc9340;
  --bark-800:   #3D2A1A;
  --bark-700:   #5C3F25;

  /* Neutrals */
  --cream-50:   #FAF7EE;
  --cream-100:  #F4F0E6;
  --cream-200:  #ECE6D7;
  --cream-300:  #E2DAC6;
  --stone-400:  #B8B0A0;
  --stone-600:  #6F6A5D;
  --ink-900:    #1F1B14;
  --ink-700:    #3A352B;

  /* Functional */
  --bg:          var(--cream-100);
  --bg-elev:     var(--cream-50);
  --bg-card:     var(--cream-200);
  --bg-dark:     var(--forest-900);
  --fg:          var(--ink-900);
  --fg-muted:    var(--stone-600);
  --fg-on-dark:  #EDE7D5;
  --rule:        rgba(26, 36, 18, 0.14);
  --rule-strong: rgba(26, 36, 18, 0.28);
  --rule-dark:   rgba(237, 231, 213, 0.18);

  /* Type */
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Spacing */
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(72px, 9vw, 144px);
  --content-max: 1360px;

  /* Misc */
  --radius-sm: 4px;
  --radius:    10px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 0 rgba(26, 36, 18, 0.04), 0 22px 40px -28px rgba(26, 36, 18, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button { font-family: inherit; }

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--forest-700);
  display: none;
}
.eyebrow.on-dark { color: var(--olive-400); }
.eyebrow.on-dark::before { background: var(--olive-400); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--forest-900);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.h-1 {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

p { margin: 0; text-wrap: pretty; }
.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink-700);
  font-weight: 400;
}
.muted { color: var(--fg-muted); }

/* ---------- Layout ---------- */

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--forest-800);
  color: var(--cream-50);
}
.btn--primary:hover { background: var(--forest-900); }

.btn--whatsapp {
  background: #1F8A5B;
  color: #fff;
}
.btn--whatsapp:hover { background: #166e48; }

.btn--ghost {
  background: transparent;
  color: var(--forest-900);
  border-color: var(--rule-strong);
}
.btn--ghost:hover { border-color: var(--forest-900); background: rgba(26,36,18,0.04); }

.btn--ghost-light {
  background: transparent;
  color: var(--cream-50);
  border-color: rgba(237, 231, 213, 0.4);
}
.btn--ghost-light:hover { border-color: var(--cream-50); background: rgba(255,255,255,0.05); }

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: rgba(250, 245, 237, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(26, 36, 18, 0.08);
  box-shadow: 0 14px 35px -20px rgba(26, 36, 18, 0.18);
}
.nav--scrolled {
  padding: 12px 0;
  background: rgba(250, 245, 237, 0.78);
  border-bottom-color: rgba(26, 36, 18, 0.08);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--forest-900);
}
.nav__brand-mark {
  width: 60px; height: 60px;
  display: grid; place-items: center;
}
.nav__brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.nav__brand-text strong { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.nav__brand-text strong { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.nav__brand-text span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--forest-700);
}
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--forest-900);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--olive-500);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--olive-500); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__cta .btn { padding: 10px 18px; font-size: 14px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--forest-800);
  transition: color 0.2s ease;
}
.nav__phone:hover { color: var(--olive-500); }
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.nav__burger:hover { border-color: var(--forest-700); }
.nav__burger span {
  display: block; width: 16px; height: 1.5px; background: var(--forest-900);
  position: relative;
  transition: all 0.3s ease;
}
.nav__burger span::before,
.nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px;
  background: var(--forest-900);
  transition: all 0.3s ease;
}
.nav__burger span::before { top: -5px; }
.nav__burger span::after  { top: 5px; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav__cta .btn--anfrage { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60;
  background: var(--forest-900);
  color: var(--cream-50);
  padding: 24px var(--gutter);
  display: none;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}
.drawer.open {
  display: flex;
  transform: translateX(0);
  animation: slideIn 0.4s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}
.drawer__top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 48px;
}
.drawer__top .nav__brand { color: var(--cream-50); }
.drawer__top .nav__brand-text span { color: var(--olive-400); }
.drawer__close {
  width: 40px; height: 40px;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  background: transparent; color: var(--cream-50);
  cursor: pointer;
  font-size: 18px;
  transition: border-color 0.2s ease;
}
.drawer__close:hover { border-color: var(--cream-50); }
.drawer__links {
  display: flex; flex-direction: column; gap: 4px;
}
.drawer__links a {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--cream-50);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.drawer__links a:hover { color: var(--olive-400); padding-left: 8px; }
.drawer__cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  background: var(--forest-900);
  overflow: hidden;
  color: var(--cream-50);
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  min-height: 100vh;
  overflow: hidden;
}
.hero__bg img {
  position: absolute;
  inset: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  will-change: transform;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 36, 18, 0.12) 0%, rgba(26, 36, 18, 0.82) 75%);
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  align-items: center;
}
.hero__content .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(90px, 11vh, 130px);
  padding-bottom: clamp(48px, 6vw, 80px);
  gap: clamp(32px, 5vw, 60px);
}
.hero .reveal {
  opacity: 1;
  transform: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  flex: 1;
}
.hero__text { max-width: 600px; }
.hero__eyebrow {
  color: white !important;
  margin-bottom: 24px;
}
.hero__eyebrow::before { background: white !important; }
.hero__headline {
  font-size: clamp(40px, 5.4vw, 80px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--cream-50);
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero__headline em {
  font-style: normal;
  color: var(--gold-500);
}
.hero__sub {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: rgba(237, 231, 213, 0.82);
  max-width: 52ch;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero .btn--primary {
  background: var(--cream-50);
  color: var(--forest-900);
}
.hero .btn--primary:hover { background: #fff; }
.hero .btn--ghost {
  color: var(--cream-50);
  border-color: rgba(237, 231, 213, 0.45);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}
.hero .btn--ghost:hover {
  border-color: var(--cream-50);
  background: rgba(255, 255, 255, 0.1);
}
.hero__trust {
  display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(237, 231, 213, 0.65);
  text-transform: uppercase;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .dot {
  width: 4px; height: 4px; border-radius: 999px; background: var(--olive-300);
}
.hero__visual {
  position: relative;
}
.hero__visual .photo {
  aspect-ratio: 16/10;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 70px -40px rgba(0, 0, 0, 0.35);
}
.photo__id {
  position: absolute;
  right: 16px; top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}
.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 231, 213, 0.75);
  z-index: 2;
}
.hero__caption .meta { color: var(--olive-400); }
.hero__meta-strip {
  padding-top: 28px;
  border-top: 1px solid rgba(237, 231, 213, 0.15);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero__meta-strip .stat { display: flex; flex-direction: column; gap: 6px; }
.hero__meta-strip .stat strong {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  color: var(--cream-50);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__meta-strip .stat span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 231, 213, 0.5);
}
.hero__scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
  animation: floatDown 2.2s ease-in-out infinite;
}
.hero__scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255,255,255,0.92);
}
@keyframes floatDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__meta-strip { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ---------- Photo ---------- */

.photo {
  position: relative;
  overflow: hidden;
  background: var(--forest-800);
}
.photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo__label {
  position: absolute;
  left: 16px; bottom: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  background: rgba(0,0,0,0.2);
}

/* ---------- Promise ---------- */

.promise {
  background: var(--forest-900);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(110, 138, 74, 0.12), transparent 65%);
  pointer-events: none;
}
.promise__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.promise__title {
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--cream-50);
  text-wrap: balance;
}
.promise__title em {
  font-style: normal;
  color: var(--olive-400);
}
.promise__body { display: flex; flex-direction: column; gap: 22px; }
.promise__body p {
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.65;
  color: rgba(237, 231, 213, 0.78);
}
.promise__body p:first-child {
  color: var(--cream-50);
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.5;
}
.promise__sig {
  margin-top: 8px;
  display: flex; gap: 16px; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--olive-400);
}
@media (max-width: 820px) {
  .promise__inner { grid-template-columns: 1fr; }
}

/* ---------- Leistungen ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.service {
  background: var(--bg);
  padding: clamp(20px, 2.5vw, 32px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  transition: background 0.3s ease;
}
.service:hover { background: var(--cream-50); }
.service__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--olive-500);
}
.service__title {
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--forest-900);
  font-weight: 700;
}
.service__text {
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.55;
  max-width: 52ch;
}
.service__visual {
  width: 100%;
  min-height: 220px;
  align-self: stretch;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream-50);
}
.service__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service__tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 6px;
}
.service__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--forest-700);
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.service:hover .service__tag { border-color: var(--forest-700); }
@media (max-width: 820px) {
  .services-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
}

/* ---------- Warum ---------- */

#leistungen { padding-bottom: clamp(36px, 4.5vw, 72px); }
[data-screen-label="Notfall & Express-Check"] { padding-block: clamp(40px, 5vw, 80px); }
.reasons {
  background: var(--cream-100);
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.reason {
  background: var(--bg-elev);
  padding: clamp(28px, 2.6vw, 40px) clamp(20px, 2vw, 32px);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
  transition: background 0.3s ease;
}
.reason:hover { background: var(--cream-100); }
.reason__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--forest-700);
  transition: color 0.2s ease;
  font-size: 24px;
}
.reason:hover .reason__icon { color: var(--olive-500); }
.reason:hover .reason__icon { color: var(--olive-500); }
.reason__title {
  font-size: 18px; font-weight: 700;
  color: var(--forest-900);
  letter-spacing: -0.01em;
}
.reason__text {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-700);
}
@media (max-width: 820px) {
  .reasons-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .reasons-grid { grid-template-columns: 1fr; }
}

/* ---------- Das Baumleben ---------- */

.baumleben {
  background: var(--gold-600);
  color: white;
  position: relative;
  overflow: hidden;
}
.baumleben::before {
  content: "";
  position: absolute;
  bottom: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(110, 138, 74, 0.08), transparent 65%);
  pointer-events: none;
}
.baumleben .eyebrow { color: white; }
.baumleben .eyebrow::before { background: white; }
.baumleben h2 { color: white; }

.baumleben__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  margin-bottom: clamp(48px, 6vw, 96px);
}
.baumleben__intro h2 {
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.baumleben__intro p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
  align-self: center;
}

/* Phase timeline */
.phases { position: relative; }
.phases__rail {
  position: absolute;
  left: 0; right: 0;
  top: 84px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    white 8%,
    white 92%,
    transparent 100%);
  opacity: 0.35;
}
.phases__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.phase {
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer;
  position: relative;
  transition: opacity 0.3s ease;
}
.phase__marker {
  width: 14px; height: 14px;
  border-radius: 999px;
  background: white;
  border: 1.5px solid white;
  margin-top: 78px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.phase.active .phase__marker {
  background: var(--gold-600);
  box-shadow: 0 0 0 6px rgba(176, 122, 43, 0.18);
  transform: scale(1.2);
}
.phase__step {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: white;
  position: absolute;
  top: 0;
  transition: color 0.2s ease;
}
.phase__age {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-top: 4px;
  transition: color 0.3s ease;
}
.phase.active .phase__age { color: white; }
.phase__title {
  font-size: clamp(19px, 1.65vw, 23px);
  font-weight: 700;
  color: white;
  letter-spacing: -0.015em;
  margin-top: 2px;
}
.phase__short {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.phase__detail {
  display: none;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeUp 0.3s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.phase__detail strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: white;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
}
.phase__detail-block + .phase__detail-block { margin-top: 12px; }
.phase.active .phase__detail { display: block; }

@media (max-width: 980px) {
  .baumleben__intro { grid-template-columns: 1fr; }
  .phases__rail { display: none; }
  .phases__row { grid-template-columns: 1fr; gap: 0; }
  .phase {
    padding: 24px 0 24px 36px;
    border-bottom: 1px solid var(--rule-dark);
    position: relative;
  }
  .phase__marker { margin: 0; position: absolute; left: 0; top: 30px; }
  .phase__step { position: static; margin-bottom: 6px; }
}

/* ---------- Arbeitsweise ---------- */

.work-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.work-step {
  background: var(--bg);
  padding: clamp(28px, 2.6vw, 40px) clamp(20px, 2vw, 32px);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: background 0.3s ease;
}
.work-step:hover { background: var(--cream-50); }
.work-step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold-600);
  margin-bottom: 12px;
}
.work-step__title {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--forest-900);
}
.work-step__text {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-700);
}
.work-step__icon {
  width: 32px; height: 32px;
  color: var(--forest-700);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
.work-step:hover .work-step__icon { color: var(--olive-500); }
@media (max-width: 820px) {
  .work-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .work-steps { grid-template-columns: 1fr; }
}

/* ---------- Notfall + Express ---------- */

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2vw, 28px);
}
@media (max-width: 900px) {
  .action-row { grid-template-columns: 1fr; }
}

.notfall {
  background: var(--forest-900);
  color: var(--cream-50);
  padding: clamp(32px, 3.4vw, 56px);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
  overflow: hidden;
}
.notfall::before {
  content: "";
  position: absolute;
  top: -60px; right: -40px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--gold-600), transparent 65%);
  opacity: 0.22;
  filter: blur(24px);
}
.notfall__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  align-self: flex-start;
}
.notfall__pulse {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--gold-500);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 146, 68, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(201, 146, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 146, 68, 0); }
}
.notfall__title {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream-50);
}
.notfall__text {
  color: rgba(237, 231, 213, 0.82);
  font-size: 16px; line-height: 1.55;
  max-width: 48ch;
}
.notfall__phone {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  background: rgba(0,0,0,0.18);
  align-self: flex-start;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.notfall__phone:hover { border-color: var(--gold-500); background: rgba(201, 146, 68, 0.1); }
.notfall__phone strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream-50);
}
.notfall__phone > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-400);
  margin-bottom: 4px;
}
.notfall__bullets {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237, 231, 213, 0.55);
}
.notfall__bullets span { display: inline-flex; align-items: center; gap: 8px; }
.notfall__bullets .dot { width: 4px; height: 4px; background: var(--gold-500); border-radius: 999px; }

.express {
  color: var(--cream-50);
  padding: clamp(32px, 3.4vw, 56px);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(31, 138, 91, 0.35), transparent 50%),
    var(--forest-800);
}
.express__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6FCF97;
  align-self: flex-start;
}
.express__title {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream-50);
}
.express__text {
  color: rgba(237, 231, 213, 0.82);
  font-size: 16px; line-height: 1.55;
}
.express__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 4px;
}
.express__step {
  padding: 14px 12px;
  border: 1px solid var(--rule-dark);
  border-radius: 6px;
  background: rgba(0,0,0,0.15);
  display: flex; flex-direction: column; gap: 8px;
}
.express__step strong {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #6FCF97;
}
.express__step span {
  font-size: 15px;
  line-height: 1.35;
  color: rgba(237, 231, 213, 0.85);
}
.express__btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 540px) {
  .express__steps { grid-template-columns: 1fr 1fr; }
}

/* ---------- Galerie ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: clamp(120px, 13vw, 180px);
  gap: 10px;
  grid-auto-flow: dense;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}
.gallery-item:hover { transform: scale(0.983); }
.gallery-item .photo {
  position: absolute; inset: 0;
  border-radius: var(--radius-sm);
  transition: transform 0.7s cubic-bezier(0.2, 0, 0.2, 1);
}
.gallery-item:hover .photo { transform: scale(1.05); }

.g-1 { grid-column: span 4; grid-row: span 4; }
.g-2, .g-3 { grid-column: span 4; grid-row: span 2; }
.g-4, .g-5, .g-6, .g-7, .g-8, .g-9, .g-10, .g-11 { grid-column: span 2; grid-row: span 2; }

@media (max-width: 820px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 130px; }
  .g-1 { grid-column: span 6; grid-row: span 3; }
  .g-2, .g-3, .g-4, .g-5, .g-6, .g-7, .g-8, .g-9, .g-10, .g-11 { grid-column: span 3; grid-row: span 2; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .g-1, .g-7 { grid-column: span 2; grid-row: span 2; }
  .g-2, .g-3, .g-4, .g-5, .g-6, .g-8, .g-9, .g-10, .g-11 { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Über uns ---------- */

.about {
  background: var(--cream-50);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.about__visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about__body { display: flex; flex-direction: column; gap: 24px; }
.about__body p { color: var(--ink-700); font-size: 17px; line-height: 1.65; }
.about__facts {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.about__fact {
  background: var(--cream-50);
  padding: 20px 22px;
  transition: background 0.2s ease;
}
.about__fact:hover { background: var(--cream-100); }
.about__fact span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: block;
  margin-bottom: 6px;
}
.about__fact strong {
  font-size: 16px; font-weight: 700;
  color: var(--forest-900);
}
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { max-height: 420px; }
}

/* ---------- Kontakt ---------- */

.contact {
  background: var(--cream-100);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
}
.contact__lead h2 { margin-bottom: 20px; }
.contact__lead .lead { margin-bottom: 36px; max-width: 44ch; }
.contact__channels {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.contact__channel {
  background: var(--cream-100);
  padding: 20px 0;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 16px; align-items: center;
  transition: background 0.2s ease;
}
.contact__channel:hover { background: var(--cream-200); }
.contact__channel .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.contact__channel .val {
  font-size: 17px;
  font-weight: 500;
  color: var(--forest-900);
}
.contact__channel a.val:hover { color: var(--olive-500); }
.contact__channel .action {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-700);
}

.form {
  background: var(--cream-50);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-card);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-700);
}
.form__input, .form__textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 14px 16px;
  background: var(--cream-50);
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink-900);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--stone-400); }
.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--forest-700);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 66, 34, 0.08);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form__chip {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--forest-900);
  cursor: pointer;
  transition: all 0.2s ease;
}
.form__chip:hover { border-color: var(--forest-800); background: rgba(26,36,18,0.04); }
.form__chip.active {
  background: var(--forest-800);
  color: var(--cream-50);
  border-color: var(--forest-800);
}
.reason__icon i,
.work-step__icon i {
  font-size: 32px;
  line-height: 1;
  display: block;
  color: var(--forest-700);
}
.form__submit { margin-top: 8px; align-self: flex-start; }
.form__privacy {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--stone-400);
}
.form__privacy a {
  color: var(--stone-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form__privacy a:hover { color: var(--stone-600); }
.form__sent {
  display: none;
  padding: 16px;
  background: rgba(31, 138, 91, 0.08);
  border: 1px solid rgba(31, 138, 91, 0.25);
  border-radius: 8px;
  color: var(--forest-900);
  font-size: 15px;
}
.form.sent .form__sent { display: block; }

@media (max-width: 720px) {
  .form__row { grid-template-columns: 1fr; }
  .contact__channel { grid-template-columns: 90px 1fr; }
  .contact__channel .action { grid-column: 2; justify-self: start; }
}
@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--forest-900);
  color: var(--cream-50);
  padding-block: clamp(56px, 6vw, 88px) 24px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-dark);
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 340px; }
.footer__brand .nav__brand-text strong { color: var(--cream-50); }
.footer__brand .nav__brand-text span { color: var(--olive-400); }
.footer__brand p { color: rgba(237, 231, 213, 0.65); font-size: 15px; line-height: 1.6; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-400);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer__col a, .footer__col li {
  color: rgba(237, 231, 213, 0.72);
  font-size: 15px;
  line-height: 2.2;
  list-style: none;
  transition: color 0.2s ease;
}
.footer__col ul { margin: 0; padding: 0; }
.footer__col a:hover { color: var(--cream-50); }
.footer__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(237, 231, 213, 0.45);
  text-transform: uppercase;
}
.footer__bottom a { transition: color 0.2s ease; }
.footer__bottom a:hover { color: rgba(237, 231, 213, 0.75); }
@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #1F8A5B;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(31, 138, 91, 0.55);
  z-index: 40;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 0;
}
.fab:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 36px -8px rgba(31, 138, 91, 0.65);
}
.fab__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%; transform: translateY(-50%);
  background: var(--forest-900);
  color: var(--cream-50);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.fab:hover .fab__tip { opacity: 1; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* Stagger siblings */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

::selection { background: var(--olive-400); color: var(--forest-900); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-100); }
::-webkit-scrollbar-thumb { background: var(--stone-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--stone-600); }

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}
.lightbox.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox__content {
  position: relative;
  width: 90vw;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  animation: scaleIn 0.3s ease;
  border: 10px solid #fff;
  border-radius: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
}
.lightbox__close:hover {
  transform: scale(1.1);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
  padding: 10px 15px;
}
.lightbox__nav:hover {
  transform: translateY(-50%) scale(1.1);
}
.lightbox__prev {
  left: 20px;
}
.lightbox__next {
  right: 20px;
}
.gallery-item a[data-lightbox] {
  cursor: pointer;
  text-decoration: none;
}
@media (max-width: 768px) {
  .lightbox__close {
    top: 10px;
    right: 15px;
    font-size: 28px;
  }
  .lightbox__nav {
    font-size: 28px;
  }
  .lightbox__prev {
    left: 10px;
  }
  .lightbox__next {
    right: 10px;
  }
}
