/* ────────────────────────────────────────────────────────────
   mahalinchen holzdesign – Globales Design-System
   Wird von index.html und allen Unterseiten geladen.
   ──────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --linen:       #FAF8F4;
  --linen-2:     #F2EDE4;
  --linen-3:     #E8E0D4;
  --bark:        #4A3728;
  --bark-mid:    #7A5C45;
  --bark-light:  #B09278;
  --sage:        #5A6B52;
  --sage-light:  #8FA882;
  --sage-pale:   #D4E0CE;
  --stone:       #9C9488;
  --warm-white:  #FDFCFA;
  --ease-hero:   cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', system-ui, sans-serif;
  background: var(--linen);
  color: var(--bark);
  line-height: 1.6;
  overflow-x: hidden;
}

.display { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--warm-white);
  border-bottom: 1px solid var(--linen-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 70px;
}

.nav-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.nav-logo-top {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--bark);
  letter-spacing: 0.04em;
}
.nav-logo-sub {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 400;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--bark-mid);
  text-decoration: none;
  font-weight: 400;
  transition: color 200ms;
}
.nav-links a:hover { color: var(--bark); }
.nav-links a.active { color: var(--bark); border-bottom: 1px solid var(--sage); padding-bottom: 4px; }

.nav-konfig {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: white;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  border-radius: 30px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: background 200ms;
}
.nav-konfig:hover { background: var(--sage-light); }
.nav-konfig-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-pale);
  flex-shrink: 0;
}

/* Burger-Toggle und Mobile-Panel — bis 1024px sichtbar (Regeln im Responsive-Block) */
.nav-burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--bark);
  transition: transform 220ms, opacity 220ms;
  transform-origin: center;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: sticky;
  top: 70px;
  z-index: 199;
  background: var(--warm-white);
  border-bottom: 1px solid var(--linen-3);
  box-shadow: 0 8px 24px rgba(74, 55, 40, 0.08);
}
.nav-mobile-links {
  list-style: none;
  padding: 8px 32px 16px;
  display: flex;
  flex-direction: column;
}
.nav-mobile-links a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--bark-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--linen-2);
  transition: color 200ms;
}
.nav-mobile-links li:last-child a { border-bottom: none; }
.nav-mobile-links a:hover,
.nav-mobile-links a.active { color: var(--bark); }
body.nav-open { overflow: hidden; }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 70px);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 60px 96px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--sage);
  flex-shrink: 0;
}
.hero-eyebrow-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  line-height: 1.0;
  color: var(--bark);
  font-weight: 300;
  margin-bottom: 20px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--bark-mid);
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--stone);
  margin-bottom: 28px;
  line-height: 1.5;
}

.hero-desc {
  font-size: 14px;
  color: var(--bark-mid);
  line-height: 1.85;
  max-width: 400px;
  font-weight: 300;
  margin-bottom: 44px;
}

.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.btn-primary {
  background: var(--bark);
  color: var(--warm-white);
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 200ms;
}
.btn-primary:hover { background: var(--bark-mid); }

.btn-text-link {
  font-size: 12px;
  color: var(--sage);
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid var(--sage-pale);
  padding-bottom: 2px;
  transition: border-color 200ms;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}
.btn-text-link:hover { border-bottom-color: var(--sage); }

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtile Vignette am unteren Rand des Hero-Fotos — gibt dem Foto
   Tiefe und einen weichen Übergang zum nächsten Block. Greift auf
   allen Seiten, weil es eine reine Bildveredelung ist. */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to top, rgba(74, 55, 40, 0.28), transparent);
  pointer-events: none;
  z-index: 1;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 600px;
  background: linear-gradient(170deg, #C4A87A 0%, #8B6340 45%, #4A2E18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(172deg, transparent, transparent 30px, rgba(255,255,255,0.022) 30px, rgba(255,255,255,0.022) 31px);
}
.hero-photo-placeholder-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: rgba(255,255,255,0.25);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.hero-float-card {
  position: absolute;
  bottom: 40px;
  left: -24px;
  background: var(--warm-white);
  padding: 22px 28px;
  border-radius: 4px;
  box-shadow: 0 16px 56px rgba(74,55,40,0.14);
}
.hero-float-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 50px;
  color: var(--sage);
  font-weight: 300;
  line-height: 1;
}
.hero-float-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 5px;
}

/* ── FEATURE STRIP ── */
.strip {
  background: var(--sage);
  padding: 36px 60px;
  display: flex;
  align-items: center;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child { border-right: none; }

.strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strip-icon svg { width: 20px; height: 20px; fill: rgba(255,255,255,0.85); stroke: rgba(255,255,255,0.85); }

.strip-text strong { font-size: 15px; color: white; display: block; font-weight: 500; line-height: 1.3; margin-bottom: 2px; }
.strip-text span { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.4; }

/* ── LEISTUNGEN ── */
.leistungen {
  padding: 100px 60px;
  background: var(--linen);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--sage);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--bark);
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--bark-mid); }

.view-all {
  font-size: 12px;
  color: var(--bark-mid);
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid var(--linen-3);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color 200ms, color 200ms;
}
.view-all:hover { color: var(--bark); border-bottom-color: var(--bark-light); }

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lcard {
  background: var(--warm-white);
  padding: 36px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
  text-decoration: none;
  display: block;
  color: inherit;
}
.lcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(74,55,40,0.09);
}

.lcard-tag {
  display: inline-block;
  background: var(--sage-pale);
  color: var(--sage);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 500;
}

.lcard-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--bark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.lcard-desc {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.8;
  font-weight: 300;
}

.lcard-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--linen-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lcard-footer-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bark-light);
}
.lcard-arrow { color: var(--sage); font-size: 18px; transition: transform 200ms; }
.lcard:hover .lcard-arrow { transform: translate(3px, -3px); }

.lcard-featured {
  background: var(--bark);
}
.lcard-featured .lcard-tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}
.lcard-featured .lcard-title { color: white; }
.lcard-featured .lcard-desc { color: rgba(255,255,255,0.55); }
.lcard-featured .lcard-footer { border-top-color: rgba(255,255,255,0.1); }
.lcard-featured .lcard-footer-label { color: rgba(255,255,255,0.4); }
.lcard-featured .lcard-arrow { color: var(--sage-light); }

/* Konfigurator-Card (Featured) — kommt auf vielen Seiten vor */
.lcard-konfig {
  display: flex;
  flex-direction: column;
}
.lcard-konfig .lcard-desc { margin-bottom: 24px; }
.lcard-konfig-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.lcard-konfig-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  padding: 11px 14px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 200ms;
}
.lcard-konfig-link:hover { background: rgba(255, 255, 255, 0.14); }
.lcard-konfig-link-text {
  font-size: 12px;
  color: white;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.lcard-konfig-link-arrow {
  color: var(--sage-light);
  font-size: 15px;
}
.lcard-konfig-link-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 6px;
}

.lcard-wide { grid-column: span 2; }
.lcard-wide .lcard-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.lcard-photo {
  height: 220px;
  border-radius: 2px;
  background: linear-gradient(145deg, #A8C4A0 0%, #5A6B52 60%, #3A4A35 100%);
  overflow: hidden;
}
.lcard-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lcard-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lcard-photo-placeholder span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
}

/* ── 3D-FLIP-KARTEN (Leistungs-Cards mit Bullet-Rückseite) ── */
.lcard-flip {
  background: transparent !important;
  padding: 0 !important;
  perspective: 900px;
  min-height: 260px;
}
/* Vorderseite-Lift beim Hover deaktivieren — der Flip ist der Effekt */
.lcard-flip:hover {
  transform: none;
  box-shadow: none;
}
.lcard-flip .lcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  transform-style: preserve-3d;
  transition: transform 550ms cubic-bezier(0.4, 0, 0.2, 1);
}
.lcard-flip:hover .lcard-inner,
.lcard-flip:focus-within .lcard-inner {
  transform: rotateY(180deg);
}
.lcard-front,
.lcard-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 4px;
  padding: 36px;
}
.lcard-front {
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
}
.lcard-back {
  background: var(--sage);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.lcard-back-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
.lcard-back-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.lcard-back-list li {
  font-size: 13px;
  color: white;
  font-weight: 300;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.lcard-back-list li::before {
  content: '–';
  color: var(--sage-pale);
  flex-shrink: 0;
}
.lcard-back-cta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-pale);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 14px;
  margin-top: auto;
  display: block;
}

/* Touch-/Mobile-Fallback: ohne Hover ist Flip nicht erreichbar.
   Statt komischem halben Verhalten zeigen wir nur die Vorderseite. */
@media (hover: none), (max-width: 768px) {
  .lcard-flip { min-height: auto; }
  .lcard-flip .lcard-inner {
    transform: none !important;
    min-height: auto;
    height: auto;
  }
  .lcard-flip .lcard-front {
    position: relative;
    inset: auto;
  }
  .lcard-flip .lcard-back { display: none; }
}

/* ── KONFIGURATOR-BANNER ── */
.konfig-banner {
  background: var(--linen-2);
  padding: 100px 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.konfig-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.konfig-label::before { content: ''; width: 24px; height: 1px; background: var(--sage); }

.konfig-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--bark);
  line-height: 1.05;
  margin-bottom: 20px;
}
.konfig-title em { font-style: italic; }

.konfig-desc {
  font-size: 14px;
  color: var(--bark-mid);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 420px;
}

.btn-sage {
  background: var(--sage);
  color: white;
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 30px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 200ms;
}
.btn-sage:hover { background: var(--sage-light); }

.konfig-preview {
  background: var(--warm-white);
  border-radius: 6px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(74,55,40,0.07);
}
.konfig-preview-title {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 24px;
  font-weight: 500;
}
.konfig-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--linen-3);
}
.konfig-row:last-of-type { border-bottom: none; }
.konfig-row-label { font-size: 12px; color: var(--stone); }
.konfig-row-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--bark);
}
.chip {
  background: var(--sage-pale);
  color: var(--sage);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Jost', sans-serif;
}
.konfig-cta-bar {
  margin-top: 28px;
  background: var(--sage);
  border-radius: 6px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: background 200ms;
}
.konfig-cta-bar:hover { background: var(--sage-light); }
.konfig-cta-bar span { font-size: 12px; color: rgba(255,255,255,0.75); display: block; margin-bottom: 2px; }
.konfig-cta-bar strong { font-size: 14px; color: white; font-weight: 500; }
.konfig-cta-arrow { font-size: 22px; color: rgba(255,255,255,0.6); }

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--warm-white);
}

.about-left {
  padding: 88px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 300;
  font-style: italic;
  color: var(--bark);
  line-height: 1.45;
  margin-bottom: 32px;
}
.about-quote::before {
  content: '\201E';
  font-size: 72px;
  color: var(--sage-pale);
  line-height: 0;
  vertical-align: -0.38em;
  margin-right: 6px;
}

.about-author { display: flex; align-items: center; gap: 16px; margin-bottom: 44px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--sage);
  font-weight: 600;
  flex-shrink: 0;
}
.author-name { font-size: 13px; color: var(--bark); display: block; font-weight: 500; }
.author-role { font-size: 12px; color: var(--stone); }

.about-contact {
  padding-top: 40px;
  border-top: 1px solid var(--linen-3);
}
.about-contact p { font-size: 13px; color: var(--bark-mid); line-height: 2.1; font-weight: 300; }
.about-contact a { color: var(--sage); text-decoration: none; transition: color 200ms; }
.about-contact a:hover { color: var(--sage-light); }

.about-right {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background: linear-gradient(155deg, #B09278 0%, #7A5C45 40%, #3E2515 100%);
}
.about-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(80deg, transparent, transparent 32px, rgba(255,255,255,0.018) 32px, rgba(255,255,255,0.018) 33px);
}
.about-right img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo-label {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  z-index: 1;
}

/* ── PARTNER STRIP ── */
.partners {
  padding: 48px 60px;
  background: var(--linen);
  border-top: 1px solid var(--linen-3);
  display: flex;
  align-items: center;
  gap: 0;
}
.partners-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  white-space: nowrap;
  margin-right: 56px;
}
.partners-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.partner-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--stone);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 200ms, color 200ms;
}
.partner-name:hover { opacity: 1; color: var(--bark-mid); }
.partner-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--linen-3); }

/* ── FOOTER ── */
footer {
  background: var(--bark);
  padding: 64px 60px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-logo-top {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--linen);
  letter-spacing: 0.04em;
}
.footer-logo-sub {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.5);
  font-weight: 400;
  margin-top: 6px;
}
.footer-desc {
  font-size: 12px;
  color: rgba(250,248,244,0.38);
  line-height: 1.95;
  font-weight: 300;
  max-width: 260px;
}
.footer-addr {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(250,248,244,0.38);
  line-height: 2.1;
  font-weight: 300;
}
.footer-addr a { color: rgba(250,248,244,0.55); text-decoration: none; transition: color 200ms; }
.footer-addr a:hover { color: var(--linen); }

.footer-col h5 {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 12px;
  color: rgba(250,248,244,0.42);
  text-decoration: none;
  font-weight: 300;
  transition: color 200ms;
}
.footer-col a:hover { color: var(--linen); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 11px; color: rgba(250,248,244,0.22); letter-spacing: 0.06em; }
.footer-credit a { color: rgba(250,248,244,0.42); text-decoration: none; transition: color 200ms; }
.footer-credit a:hover { color: var(--linen); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav { padding: 0 32px; gap: 12px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-konfig { padding: 8px 16px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .hero-content { padding: 64px 32px 72px; }
  .hero-h1 { font-size: 60px; }
  .hero-float-card { left: 16px; bottom: 24px; }
  .strip { flex-wrap: wrap; gap: 16px; padding: 32px; }
  .strip-item { border-right: none; flex: 1 1 40%; }
  .leistungen { padding: 72px 32px; }
  .leistungen-grid { grid-template-columns: 1fr 1fr; }
  .lcard-wide { grid-column: span 2; }
  .konfig-banner { grid-template-columns: 1fr; gap: 48px; padding: 72px 32px; }
  .about { grid-template-columns: 1fr; }
  .about-right { min-height: 320px; }
  .about-left { padding: 64px 32px; }
  .partners { padding: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-bottom: 40px; }
  footer { padding: 48px 32px 0; }
  .section-title { font-size: 40px; }
}

@media (max-width: 640px) {
  .hero-h1 { font-size: 48px; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .lcard-wide { grid-column: span 1; }
  .lcard-wide .lcard-inner { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .konfig-title { font-size: 40px; }
  .nav { padding: 0 20px; }
  .nav-konfig { display: none; }
  .nav-logo-sub { display: none; }
}

/* ── GALERIE / PORTFOLIO ── */
.gallery {
  padding: 100px 60px;
  background: var(--linen-2);
}
.gallery .section-header {
  max-width: 1280px;
  margin: 0 auto 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--linen-3);
  border: 1px solid rgba(74, 55, 40, 0.14);
  box-shadow: 0 1px 3px rgba(74, 55, 40, 0.06), 0 0 0 4px var(--warm-white);
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 70px 22px 18px;
  background: linear-gradient(
    to top,
    rgba(35, 24, 16, 0.82) 0%,
    rgba(35, 24, 16, 0.55) 40%,
    rgba(35, 24, 16, 0)    100%
  );
  color: var(--linen);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item--wide { grid-column: span 2; }

@media (max-width: 1024px) {
  .gallery { padding: 72px 32px; }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item--wide { grid-column: span 2; }
  /* Auf Touch-Geräten ist Hover wenig hilfreich — Caption immer sichtbar */
  .gallery-caption { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
}

/* Dichtere Kachelung-Variante: kleinere Items, mehr pro Reihe */
.gallery-dense { background: var(--linen); }
.gallery-grid--dense {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 6px;
}
.gallery-grid--dense .gallery-item { aspect-ratio: 1 / 1; }
/* Dense-Galerie: kleinere, dezentere Caption (Detail-Tag, kein Projektname). */
.gallery-grid--dense .gallery-caption {
  padding: 44px 14px 12px;
  font-size: 14px;
  background: linear-gradient(to top, rgba(35,24,16,0.72) 0%, rgba(35,24,16,0) 100%);
}
@media (max-width: 768px) {
  .gallery-grid--dense { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid--dense { grid-template-columns: repeat(2, 1fr); }
}

/* ── STATS-SECTION (zählende Kennzahlen) ── */
.stats-section {
  background: var(--bark);
  padding: 8px 60px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.stat-item {
  background: var(--bark);
  padding: 6px 24px;
  text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: white;
  line-height: 1;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.stat-line { display: none; }
.stat-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .stats-section { padding: 6px 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 20px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 6px 24px; }
}

/* ── ANIMATIONS ── */

/* Einfaden + Hochziehen für Hero-Inhalte. Wird in der HTML-Struktur
   über die Klassen .fade-up + .delay-1..4 verteilt (eyebrow, h1, tagline,
   desc, buttons). Alle Elemente starten unsichtbar. */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 800ms ease forwards;
}
.delay-1 { animation-delay: 150ms; }
.delay-2 { animation-delay: 300ms; }
.delay-3 { animation-delay: 420ms; }
.delay-4 { animation-delay: 540ms; }

/* Holzmaserung — feines diagonales Linienraster, langsam driftend.
   Liegt als pseudo-Element über .hero-visual (das schon position:relative
   und overflow:hidden hat) und ist für Mausereignisse transparent. */
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle at center,
    rgba(74, 55, 40, 0.28) 0%,
    rgba(74, 55, 40, 0.12) 30%,
    rgba(74, 55, 40, 0) 60%
  );
  mix-blend-mode: multiply;
  animation: lightDrift 10s ease-in-out infinite alternate;
}
@keyframes lightDrift {
  0%   { transform: translate(-30%, -20%); }
  100% { transform: translate(30%, 20%); }
}

/* Schwebender Badge — kleine Pill-Card oben rechts auf dem Hero-Bild,
   sanft pendelnd. Liegt mit z-index:2 über dem ::after-Schattenoverlay. */
.hero-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--warm-white);
  color: var(--bark);
  padding: 11px 20px;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(74, 55, 40, 0.18);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  animation: badgeFloat 5s ease-in-out infinite;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@media (max-width: 768px) {
  .hero-badge {
    top: 16px;
    right: 16px;
    padding: 9px 16px;
    font-size: 14px;
  }
}

/* Reduzierte Bewegung respektieren: ohne Animationen würde der opacity:0
   Startzustand der fade-up-Elemente sonst dauerhaft sichtbar bleiben.
   Wir schalten die Animationen ab und setzen alles auf den Endzustand. */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .hero-visual::after,
  .hero-badge {
    animation: none;
    opacity: 1;
  }
}

/* ────────────────────────────────────────────────────────────
   IMMERSIVE HERO (index.html)
   Eigenständiger Namespace .hero-immersive — überschreibt
   bewusst NICHTS am alten .hero, das auf Unterseiten weiterlebt.
   Drei Phasen: Bild zuerst, dann Text, zuletzt Scroll-Hinweis.
   ──────────────────────────────────────────────────────────── */
.hero-immersive {
  position: relative;
  min-height: 88vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--bark);
  background-image: url('../img/hero-werkstatt.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  animation: heroImageReveal 1500ms var(--ease-hero) forwards;
}

/* Verlauf unten, der nur den Textbereich absichert — oben bleibt
   die volle Lichtstimmung erhalten. */
.hero-immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(35, 24, 16, 0.55) 0%,
    rgba(35, 24, 16, 0.32) 22%,
    rgba(35, 24, 16, 0.08) 45%,
    transparent 65%
  );
  z-index: 1;
}

.hero-immersive-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 96px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hero-immersive-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--linen);
  margin: 0 0 18px;
  max-width: 14ch;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(16px);
  animation: heroTextRise 1200ms var(--ease-hero) 1500ms forwards;
}
.hero-immersive-title em {
  font-style: italic;
  color: var(--linen);
  opacity: 0.92;
}

.hero-immersive-sub {
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.25vw, 18px);
  letter-spacing: 0.06em;
  color: rgba(250, 248, 244, 0.78);
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  animation: heroTextRise 1000ms var(--ease-hero) 1800ms forwards;
}

/* Hero-CTAs: Konfiguratoren direkt im Einstieg sichtbar.
   Erscheinen nach Sub-Text, mit eigener weicher Erscheinungs-Animation. */
.hero-immersive-cta {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(12px);
  animation: heroTextRise 1000ms var(--ease-hero) 2200ms forwards;
}
.hero-immersive-cta-label {
  display: inline-block;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.78);
  margin-bottom: 14px;
  padding-left: 34px;
  position: relative;
}
.hero-immersive-cta-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: rgba(250, 248, 244, 0.6);
}
.hero-immersive-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-immersive-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 30px;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    background 220ms var(--ease-hero),
    border-color 220ms var(--ease-hero),
    color 220ms var(--ease-hero),
    transform 220ms var(--ease-hero),
    box-shadow 220ms var(--ease-hero);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-immersive-cta-btn--primary {
  background: var(--sage);
  color: var(--linen);
  box-shadow: 0 10px 28px rgba(35, 24, 16, 0.28);
}
.hero-immersive-cta-btn--primary:hover,
.hero-immersive-cta-btn--primary:focus-visible {
  background: var(--sage-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(35, 24, 16, 0.34);
  outline: none;
}
.hero-immersive-cta-btn--ghost {
  background: rgba(250, 248, 244, 0.08);
  color: var(--linen);
  border: 1px solid rgba(250, 248, 244, 0.55);
}
.hero-immersive-cta-btn--ghost:hover,
.hero-immersive-cta-btn--ghost:focus-visible {
  background: rgba(250, 248, 244, 0.18);
  border-color: rgba(250, 248, 244, 0.85);
  transform: translateY(-2px);
  outline: none;
}
.hero-immersive-cta-arrow {
  display: inline-block;
  transition: transform 220ms var(--ease-hero);
}
.hero-immersive-cta-btn:hover .hero-immersive-cta-arrow,
.hero-immersive-cta-btn:focus-visible .hero-immersive-cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .hero-immersive-cta { margin-top: 26px; }
  .hero-immersive-cta-row { gap: 10px; }
  .hero-immersive-cta-btn {
    padding: 12px 20px;
    font-size: 12px;
    flex: 1 1 auto;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .hero-immersive-cta-row { flex-direction: column; }
  .hero-immersive-cta-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-immersive-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-immersive-cta-btn,
  .hero-immersive-cta-arrow {
    transition: none;
  }
}

/* Phase 3: dünner senkrechter Strich + Wortmarke, atmet sanft.
   Klickbar als Link auf die nächste Sektion. */
.hero-immersive-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(250, 248, 244, 0.75);
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  animation:
    heroScrollFadeIn 800ms var(--ease-hero) 2800ms forwards,
    heroScrollBreathe 3200ms var(--ease-hero) 3600ms infinite;
}
.hero-immersive-scroll-line {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(250,248,244,0) 0%, rgba(250,248,244,0.85) 100%);
}

@keyframes heroImageReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroTextRise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroScrollFadeIn {
  to { opacity: 0.85; }
}
@keyframes heroScrollBreathe {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.45; transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 768px) {
  .hero-immersive { min-height: 80vh; }
  .hero-immersive-content { padding: 0 28px 72px; }
  .hero-immersive-title { max-width: 12ch; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-immersive,
  .hero-immersive-title,
  .hero-immersive-sub,
  .hero-immersive-scroll {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-immersive-scroll { transform: translateX(-50%); }
}

/* ────────────────────────────────────────────────────────────
   SITE-HEADER (Index)
   Transparent über dem Hero, animiert weich zu Leinen, sobald
   der Hero rausgescrollt ist. Eigene Klasse — Unterseiten
   nutzen weiter das alte .nav-Styling und bleiben unangetastet.
   ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 320ms var(--ease-hero),
    border-color     320ms var(--ease-hero),
    box-shadow       320ms var(--ease-hero);
}
/* Sehr dezenter Verlauf von oben — sichert Lesbarkeit auch über
   den hellen Stellen des Hero-Bildes (Fensterlicht). Faded weg,
   sobald die Leiste ihren festen Leinen-Hintergrund bekommt. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 140%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.12) 55%,
    rgba(0, 0, 0, 0)    100%
  );
  transition: opacity 320ms var(--ease-hero);
  z-index: 0;
}
.site-header .nav { position: relative; z-index: 1; }

/* Override des alten sticky .nav-Bars — innerhalb des site-header
   übernimmt das Wrapper-Element die Positionierung. */
.site-header .nav {
  position: relative;
  background: transparent;
  border-bottom: none;
}

/* Fester Modus: Leinen-Hintergrund + dunkle Schrift, Verlauf aus. */
.site-header.is-solid {
  background: var(--warm-white);
  border-bottom-color: var(--linen-3);
  box-shadow: 0 4px 16px rgba(74, 55, 40, 0.05);
}
.site-header.is-solid::before { opacity: 0; }

/* Transparenter Modus: helle Schrift mit feinem Schatten, der
   auch über hellen Bildstellen Kontrast schafft. */
.site-header:not(.is-solid) .nav-logo-top {
  color: var(--linen);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.site-header:not(.is-solid) .nav-logo-sub {
  color: rgba(250, 248, 244, 0.82);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.site-header:not(.is-solid) .nav-links a {
  color: rgba(250, 248, 244, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.site-header:not(.is-solid) .nav-links a:hover { color: var(--linen); }
.site-header:not(.is-solid) .nav-burger span { background: var(--linen); }

/* Weiche Farb-Übergänge zwischen den beiden Modi. */
.site-header .nav-logo-top,
.site-header .nav-logo-sub,
.site-header .nav-links a,
.site-header .nav-burger span {
  transition:
    color       320ms var(--ease-hero),
    background  320ms var(--ease-hero),
    text-shadow 320ms var(--ease-hero);
}

/* Wenn das Mobile-Panel offen ist, zwingen wir solid — sonst
   würde der Burger über dem hellen Leinen-Panel verschwinden. */
body.nav-open .site-header {
  background: var(--warm-white);
  border-bottom-color: var(--linen-3);
}
body.nav-open .site-header::before { opacity: 0; }
body.nav-open .site-header .nav-logo-top,
body.nav-open .site-header .nav-links a { color: var(--bark); text-shadow: none; }
body.nav-open .site-header .nav-logo-sub { color: var(--stone); text-shadow: none; }
body.nav-open .site-header .nav-burger span { background: var(--bark); }

/* ── Primärer CTA mit Dropdown ── */
.nav-cta { position: relative; }
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sage);
  color: var(--linen);
  padding: 10px 22px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 200ms ease;
}
.nav-cta-btn:hover,
.nav-cta-btn[aria-expanded="true"] { background: var(--sage-light); }
.nav-cta-btn:focus-visible {
  outline: 2px solid var(--linen);
  outline-offset: 2px;
}
.nav-cta-arrow {
  width: 10px; height: 7px;
  transition: transform 260ms var(--ease-hero);
}
.nav-cta-btn[aria-expanded="true"] .nav-cta-arrow { transform: rotate(180deg); }

/* Dropdown — öffnet weich vom oberen Button-Rand aus */
.nav-cta-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 250px;
  background: var(--warm-white);
  border: 1px solid var(--linen-3);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(74, 55, 40, 0.16);
  padding: 6px;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity   220ms var(--ease-hero),
    transform 220ms var(--ease-hero);
  pointer-events: none;
}
.nav-cta-menu[data-open="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.nav-cta-menu a {
  display: block;
  padding: 11px 16px;
  color: var(--bark);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 180ms ease, color 180ms ease;
}
.nav-cta-menu a:hover,
.nav-cta-menu a:focus-visible {
  background: var(--sage-pale);
  color: var(--bark);
  outline: none;
}

/* Mobile-CTA im Off-Canvas-Panel */
.nav-mobile-cta {
  padding: 4px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-mobile-cta a {
  display: block;
  background: var(--sage);
  color: var(--linen);
  padding: 12px 18px;
  border-radius: 30px;
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.nav-mobile-cta a + a { background: var(--bark); }

/* Responsive: CTA bleibt sichtbar, wird kompakter, Dropdown rechtsbündig */
@media (max-width: 1024px) {
  .nav-cta-btn { padding: 8px 16px; font-size: 11px; }
  .nav-cta-menu { min-width: 220px; }
}
@media (max-width: 480px) {
  .nav-cta-btn .nav-cta-arrow { width: 9px; height: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header::before,
  .site-header .nav-logo-top,
  .site-header .nav-logo-sub,
  .site-header .nav-links a,
  .site-header .nav-burger span,
  .nav-cta-btn,
  .nav-cta-arrow,
  .nav-cta-menu {
    transition: none;
  }
}

/* ────────────────────────────────────────────────────────────
   POST-HERO LAYOUT (Index)
   Großzügiger Weißraum nach dem Hero, ruhigere Sektionen,
   Karten-Subtitel, ruhige Stats-Variante und Scroll-Reveal.
   ──────────────────────────────────────────────────────────── */

/* Atempause direkt nach dem Hero — Leinen-Fläche, damit der
   emotionale Moment ausklingt, bevor Information beginnt. */
.hero-spacer {
  background: var(--linen);
  height: 14vh;
  min-height: 110px;
  position: relative;
  overflow: visible;
}
@media (max-width: 768px) { .hero-spacer { height: 10vh; min-height: 80px; } }

/* Dezente Holzstaub-Ebene — Canvas ragt aus dem Spacer in die
   Projekte-Galerie hinein, liegt über dem Inhalt mit pointer-events:none.
   Animationen laufen rein via Canvas (transform-frei, GPU-freundlich). */
.dust-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) { .dust-canvas { height: 38vh; } }
@media (max-width: 480px) { .dust-canvas { display: none; } }
@media (prefers-reduced-motion: reduce) { .dust-canvas { display: none; } }

/* Maus-Spur: zweites Canvas, fixed über dem ganzen Viewport. Emittiert
   Späne entlang der Mausbewegung. Liegt über allem, ohne Klicks zu blocken. */
.mouse-dust-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}
@media (prefers-reduced-motion: reduce) { .mouse-dust-canvas { display: none; } }

/* Karten-Subtitel — kleine kursive Zeile unter dem Tag, vor dem Titel.
   Trägt die Slogans aus dem entfernten grünen Band ohne Doppelung. */
.lcard-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--sage);
  letter-spacing: 0.01em;
  margin: -6px 0 14px;
  line-height: 1.3;
}

/* Ruhige Stats-Variante: Leinen, große Cormorant-Zahlen,
   feiner Sage-Strich, viel Luft. Überschreibt den alten
   dunkelbraunen Vollband-Look. */
.stats-section--quiet {
  background: var(--linen);
  padding: 120px 60px;
}
.stats-section--quiet .stats-grid {
  background: transparent;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.stats-section--quiet .stat-item {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.stats-section--quiet .stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(56px, 6.5vw, 88px);
  font-weight: 300;
  color: var(--bark);
  line-height: 1;
  display: block;
  margin-right: 0;
  vertical-align: baseline;
}
.stats-section--quiet .stat-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--sage);
  opacity: 0.55;
}
.stats-section--quiet .stat-label {
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bark-mid);
  display: block;
  vertical-align: baseline;
}
@media (max-width: 1024px) {
  .stats-section--quiet { padding: 84px 32px; }
  .stats-section--quiet .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
}
@media (max-width: 480px) {
  .stats-section--quiet { padding: 64px 28px; }
  .stats-section--quiet .stats-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* ── SCROLL-REVEAL ──
   Sektionen mit .reveal starten unsichtbar (opacity 0 + translateY)
   und faden weich ein, sobald IntersectionObserver .is-visible setzt.
   Easing über --ease-hero, nur opacity + transform animiert. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity   900ms var(--ease-hero),
    transform 900ms var(--ease-hero);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger innerhalb der Leistungen-Karten — Karten faden nacheinander
   ein, statt alle gleichzeitig. */
.leistungen.reveal .lcard {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity   800ms var(--ease-hero),
    transform 800ms var(--ease-hero);
}
.leistungen.reveal.is-visible .lcard {
  opacity: 1;
  transform: translateY(0);
}
.leistungen.reveal.is-visible .lcard:nth-child(1) { transition-delay:  80ms; }
.leistungen.reveal.is-visible .lcard:nth-child(2) { transition-delay: 160ms; }
.leistungen.reveal.is-visible .lcard:nth-child(3) { transition-delay: 240ms; }
.leistungen.reveal.is-visible .lcard:nth-child(4) { transition-delay: 320ms; }
.leistungen.reveal.is-visible .lcard:nth-child(5) { transition-delay: 400ms; }
.leistungen.reveal.is-visible .lcard:nth-child(6) { transition-delay: 480ms; }

/* Leichter Stagger für die Projekte-Galerie */
.gallery.reveal .gallery-item {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity   800ms var(--ease-hero),
    transform 800ms var(--ease-hero);
}
.gallery.reveal.is-visible .gallery-item {
  opacity: 1;
  transform: translateY(0);
}
.gallery.reveal.is-visible .gallery-item:nth-child(1) { transition-delay:   0ms; }
.gallery.reveal.is-visible .gallery-item:nth-child(2) { transition-delay:  70ms; }
.gallery.reveal.is-visible .gallery-item:nth-child(3) { transition-delay: 140ms; }
.gallery.reveal.is-visible .gallery-item:nth-child(4) { transition-delay: 210ms; }
.gallery.reveal.is-visible .gallery-item:nth-child(5) { transition-delay: 280ms; }
.gallery.reveal.is-visible .gallery-item:nth-child(6) { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .leistungen.reveal .lcard,
  .gallery.reveal .gallery-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
