/* =========================================================
   style.css – Haupt-Stylesheet
   ========================================================= */

/* === CSS Custom Properties === */
:root {
  --color-primary:      #e63312;
  --color-primary-dark: #b8260e;
  --color-secondary:    #1a1a2e;
  --color-secondary-mid:#16213e;
  --color-accent:       #f5a623;
  --color-text:         #1e1e2e;
  --color-text-light:   #666666;
  --color-bg:           #ffffff;
  --color-bg-alt:       #f4f5f7;
  --color-border:       #e0e0e0;

  --font-main:    "Inter", "Segoe UI", Arial, sans-serif;
  --max-width:    1200px;
  --radius:       8px;
  --radius-lg:    16px;
  --shadow:       0 2px 20px rgba(0,0,0,0.07);
  --shadow-md:    0 6px 32px rgba(0,0,0,0.12);

  /* Custom easing curves */
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--color-text); background: var(--color-bg); line-height: 1.65; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { line-height: 1.2; }

/* === Layout === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.no-pad { padding: 0; }

/* === Header === */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 48px; width: auto; }

nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
nav a { color: var(--color-text); font-weight: 500; transition: color 160ms var(--ease-out); }
nav a:hover, nav a.active { color: var(--color-primary); text-decoration: none; }

/* === Dropdown === */
.nav-item { position: relative; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) scale(0.97) translateY(-6px);
  background: var(--color-secondary);
  border-radius: var(--radius);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  z-index: 200;
  padding-top: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1) translateY(0);
}

/* kleine Pfeilspitze – sitzt im padding-top Bereich */
.dropdown::before {
  content: '';
  position: absolute;
  top: 2px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: var(--color-secondary);
}

.dropdown a {
  display: block;
  padding: .75rem 1.25rem;
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background 140ms var(--ease-out), color 140ms var(--ease-out);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }

/* Mobile: Dropdown als flache Liste darunter */
@media (max-width: 768px) {
  .dropdown,
  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown {
    position: static;
    left: auto;
    right: auto;
    transform: none;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    display: none;
    opacity: 1;
    pointer-events: auto;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .dropdown::before { display: none; }
  .nav-item.open .dropdown { display: block; }
  .dropdown a { padding: .6rem 1.5rem; font-size: .88rem; }
}

.nav-cta {
  background: var(--color-primary); color: #fff !important;
  padding: .5rem 1.25rem; border-radius: var(--radius);
  transition: background 160ms var(--ease-out);
}
.nav-cta:hover { background: var(--color-primary-dark) !important; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span { display: block; width: 25px; height: 2px; background: var(--color-text); transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out); }

/* === Hero Slider === */
.hero-slider {
  position: relative;
  height: 92vh;
  min-height: 560px;
  max-height: 860px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity .55s var(--ease-out);
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Eyebrow-Label fadeIn */
.hero-slide .badge {
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-slide .badge.badge--visible {
  opacity: 1;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,12,30,.82) 0%,
    rgba(10,12,30,.55) 55%,
    rgba(10,12,30,.25) 100%
  );
}
.hero-slide__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding-top: 2rem;
  max-width: 680px;
}
.hero-slide__content h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin: .6rem 0 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-slide__content p {
  font-size: 1.1rem;
  opacity: .88;
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.hero-slide__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Dots */
.hero-slider__dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
  z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, border-color .3s, transform .3s;
}
.hero-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.25);
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background .25s, border-color .25s;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.6); }
.hero-arrow--prev { left: 1.5rem; }
.hero-arrow--next { right: 1.5rem; }

@media (max-width: 600px) {
  .hero-slider { height: 85vh; }
  .hero-arrow { display: none; }
}

/* === Hero === */
.hero {
  color: #fff; padding: 7rem 0 6rem; text-align: center;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.5) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.hero p { font-size: 1.15rem; opacity: .9; max-width: 600px; margin: 0 auto 2rem; text-shadow: 0 1px 4px rgba(0,0,0,.3); }

/* === Buttons === */
.btn {
  display: inline-block; padding: .8rem 1.8rem;
  border-radius: var(--radius); font-weight: 600;
  cursor: pointer;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out),
              border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out),
              transform 120ms var(--ease-out);
  border: 2px solid transparent; font-size: .95rem;
  text-decoration: none !important;
}
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: 0 4px 16px rgba(230,51,18,.3); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-white { background: #fff; color: var(--color-secondary); }
.btn-white:hover { background: var(--color-bg-alt); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--color-secondary); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--color-secondary); border-color: var(--color-secondary); }
.btn-outline-dark:hover { background: var(--color-secondary); color: #fff; }

/* === Section Badge === */
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  padding: .3rem .85rem; border-radius: 4px; margin-bottom: 1rem;
}
.badge-primary { background: var(--color-primary); color: #fff; }
.badge-outline { border: 1.5px solid var(--color-secondary); color: var(--color-secondary); }
.badge-outline--dark { border: 1.5px solid var(--color-secondary); color: var(--color-secondary); }
.badge-light { background: rgba(255,255,255,.15); color: #fff; }

/* Eyebrow (line + text, JW Fischer style) */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-size: .88rem; letter-spacing: .05em;
  color: rgba(255,255,255,.6); margin-bottom: .75rem;
}
.eyebrow::before { content: ''; flex-shrink: 0; width: 36px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--color-text-light); }

/* === Split Sections (JW Fischer style) === */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.split--reverse .split__img { order: 2; }
.split--reverse .split__content { order: 1; }

.split__img { overflow: hidden; position: relative; }
.split__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .split__img:hover img { transform: scale(1.04); }
}

.split__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 3.5rem; gap: .5rem;
}
.split__content--dark {
  background: var(--color-secondary); color: #fff;
}
.split__content--dark .section-title { color: #fff; }
.split__content--dark .section-subtitle { color: rgba(255,255,255,.7); margin-bottom: 1.5rem; }
.split__content--dark p { color: rgba(255,255,255,.82); line-height: 1.7; }
.split__content--alt { background: var(--color-bg-alt); }

/* === Overlay Cards (Hune.de style) === */
.overlay-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) { .overlay-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .overlay-cards { grid-template-columns: 1fr; } }

.overlay-card { position: relative; overflow: hidden; min-height: 480px; }
.overlay-card img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .45s var(--ease-out);
  position: absolute; inset: 0;
}
@media (hover: hover) and (pointer: fine) {
  .overlay-card:hover img { transform: scale(1.06); }
}
.overlay-card__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 0%, rgba(10,10,20,.88) 35%);
  padding: 3rem 1.75rem 2rem;
  color: #fff;
  transition: background .3s ease;
}
.overlay-card:hover .overlay-card__body { background: linear-gradient(transparent 0%, rgba(10,10,20,.96) 25%); }
.overlay-card__title {
  font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--color-primary); margin-bottom: .5rem; line-height: 1.1;
}
.overlay-card__text { font-size: .9rem; color: rgba(255,255,255,.85); margin-bottom: 1.25rem; line-height: 1.55; }
.overlay-card__link {
  display: inline-block; padding: .5rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,.55); color: #fff;
  font-size: .85rem; font-weight: 600; border-radius: var(--radius);
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.overlay-card__link:hover { background: #fff; color: var(--color-text); border-color: #fff; text-decoration: none; }

/* === Staggered Photos (Plogmann style) === */
.stagger-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; position: relative;
}
.stagger-grid img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.stagger-grid img:nth-child(1) { height: 280px; }
.stagger-grid img:nth-child(2) { height: 280px; margin-top: 2.5rem; }
.stagger-grid img:nth-child(3) {
  grid-column: 1 / -1; height: 200px;
  width: 72%; margin: -1.5rem auto 0;
}

/* Benefit list */
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: .8rem; margin: 1.5rem 0 2rem; }
.benefit-list li { display: flex; align-items: flex-start; gap: .8rem; font-size: 1rem; font-weight: 500; }
.benefit-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(26,26,46,.1);
  color: var(--color-secondary);
  font-size: .75rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: .15rem;
}
/* Auf dunklem Hintergrund: blaue Kreise */
.benefit-list--on-dark li { color: #fff; }
.benefit-list--on-dark li::before {
  background: rgba(255,255,255,.12);
  color: #a8bfff;
}

/* CTA accent box (Plogmann blue box style) */
.cta-accent {
  background: var(--color-primary); color: #fff;
  border-radius: var(--radius-lg); padding: 1.5rem 2rem;
  border-left: 5px solid var(--color-primary-dark);
  font-size: 1rem; line-height: 1.5; margin-top: 2rem;
}

/* === Quote Section (Senger style) === */
.quote-section {
  background: var(--color-secondary);
  color: #fff; padding: 5.5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.quote-section::before {
  content: '"'; position: absolute; top: -1rem; left: 50%; transform: translateX(-50%);
  font-size: 20rem; line-height: 1; color: rgba(255,255,255,.03);
  font-family: Georgia, serif; pointer-events: none;
}
.quote-mark { display: none; }
.quote-text {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem); font-style: italic;
  line-height: 1.55; color: rgba(255,255,255,.92);
  max-width: 760px; margin: 0 auto 1.5rem;
}
.quote-author { font-size: .9rem; color: rgba(255,255,255,.5); }
.quote-author strong { display: block; color: var(--color-primary); font-size: 1rem; margin-bottom: .2rem; }

/* Stars */
.stars { color: var(--color-accent); letter-spacing: .15em; font-size: 1.2rem; margin-bottom: .75rem; }

/* === FAQ Accordion === */
.faq { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { border: 1.5px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.faq-btn {
  width: 100%; background: none; border: none;
  padding: 1.15rem 1.5rem; display: flex; justify-content: space-between;
  align-items: center; cursor: pointer; font-family: inherit;
  font-size: 1rem; font-weight: 600; text-align: left;
  color: var(--color-text); transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}
.faq-btn:hover { background: var(--color-bg-alt); }
.faq-btn[aria-expanded="true"] { background: var(--color-secondary); color: #fff; }
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid currentColor; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; font-weight: 300;
  transition: transform 220ms var(--ease-out); line-height: 1; user-select: none;
}
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s var(--ease-out), padding .2s var(--ease-out);
  padding: 0 1.5rem;
}
.faq-answer.open { max-height: 800px; padding: 1.25rem 1.5rem; border-top: 1px solid var(--color-border); }

/* === CTA Banner === */
.cta-banner {
  background: var(--color-primary);
  color: #fff; padding: 4rem 0; text-align: center;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem,3vw,2rem); margin-bottom: .5rem; }
.cta-banner p { opacity: .9; margin-bottom: 1.75rem; font-size: 1.05rem; }

/* === Process Steps === */
.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* Verbindungslinie */
.steps-track::before {
  content: '';
  position: absolute;
  top: 28px; /* Mitte der Nummernkreise */
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--color-secondary) 0px,
    var(--color-secondary) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: .2;
}

.step { text-align: center; padding: 0 1rem 1rem; position: relative; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-secondary); color: #fff;
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-secondary), var(--shadow-md);
  position: relative; z-index: 1;
}
.step h3 { margin-bottom: .4rem; font-size: 1rem; }
.step p { font-size: .88rem; color: var(--color-text-light); line-height: 1.55; }

/* Step delays werden via data-reveal-delay gesetzt */
.step:nth-child(1) { }
.step:nth-child(2) { }
.step:nth-child(3) { }
.step:nth-child(4) { }

@media (max-width: 700px) {
  .steps-track { grid-template-columns: 1fr 1fr; }
  .steps-track::before { display: none; }
}

/* === Lightbox === */
.lb-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.lb-overlay.active { display: flex; }

.lb-img-wrap {
  max-width: 90vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain; border-radius: var(--radius);
  box-shadow: 0 8px 60px rgba(0,0,0,.6);
  transition: opacity .25s ease;
}

.lb-close {
  position: fixed; top: 1.25rem; right: 1.5rem;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.25); }

.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }

/* === Image Gallery Grid === */
.img-gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: .75rem; }
.img-gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius); transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .img-gallery img:hover { transform: scale(1.04); }
}

/* === Stil-Cards (JW Fischer Badgestaltung) === */
.stil-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 420px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}
.stil-section:nth-child(even) .stil__img { order: 2; }
.stil-section:nth-child(even) .stil__content { order: 1; }
.stil__img { overflow: hidden; }
.stil__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .stil-section:hover .stil__img img { transform: scale(1.04); }
}
.stil__content {
  background: var(--color-bg-alt); padding: 3rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.stil__content h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.stil__content p { color: var(--color-text-light); line-height: 1.7; margin-bottom: 1.25rem; }

/* === Cards === */
.card {
  background: var(--color-bg); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}
.card-body { padding: 1.5rem; }

/* === Grid === */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 2rem; }

/* === Footer === */
footer { background: var(--color-secondary); color: #ccc; padding: 3.5rem 0 1.5rem; }
footer h3 { color: #fff; margin-bottom: 1rem; font-size: .95rem; letter-spacing: .03em; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 2rem; margin-bottom: 2rem; }
footer a { color: #999; transition: color 160ms var(--ease-out); }
footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #2a2a40; padding-top: 1rem;
  font-size: .85rem; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem; color: #666;
}

/* === Utilities === */
.text-center { text-align: center; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.gap-1 { gap: .5rem; }
.section-title { font-size: clamp(1.6rem,3.5vw,2.4rem); margin-bottom: .5rem; font-weight: 700; }
.section-subtitle { color: var(--color-text-light); margin-bottom: 2.5rem; font-size: 1.05rem; line-height: 1.6; }
.section-title--white { color: #fff; }
.section-subtitle--white { color: rgba(255,255,255,.75); }

/* Divider line */
.divider { width: 48px; height: 3px; background: var(--color-primary); border-radius: 2px; margin: 1rem 0 1.5rem; }
.divider--center { margin-left: auto; margin-right: auto; }

/* === Responsive === */
@media (max-width: 900px) {
  .split, .stil-section { grid-template-columns: 1fr; min-height: auto; }
  .split--reverse .split__img, .split--reverse .split__content { order: unset; }
  .split__content { padding: 2.5rem 1.5rem; }
  .stil-section:nth-child(even) .stil__img,
  .stil-section:nth-child(even) .stil__content { order: unset; }
  .stagger-grid { grid-template-columns: 1fr; }
  .stagger-grid img:nth-child(2) { margin-top: 0; }
  .stagger-grid img:nth-child(3) { width: 100%; margin-top: 0; }
}

/* Mobil: in der Stagger-Section nur das mittlere Bild über der Überschrift */
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .stagger-grid img:nth-child(1),
  .stagger-grid img:nth-child(3) { display: none; }
  .stagger-grid img:nth-child(2) {
    height: 220px; margin: 0; width: 100%;
  }
}

@media (max-width: 768px) {
  section { padding: 3rem 0; }
  .hamburger { display: flex; }
  nav ul {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--color-bg); flex-direction: column; align-items: stretch;
    text-align: center;
    padding: 1rem 1.5rem 2rem; border-bottom: 1px solid var(--color-border); gap: 1.25rem;
  }
  nav ul.open { display: flex; }
  nav li, .nav-item { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 4rem 0 3.5rem; }
}

/* === Scroll-Reveal System ===
   Initialer hidden-State wird per JS gesetzt (inline style),
   .is-visible überschreibt ihn mit !important */
[data-reveal].is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide { transition: none; }
}
