/* ============================================================
   Rapp Wohnkonzepte — Redesign-Studie (Projekt Phönix)
   Design-DNA: warm · präzise · seit 1878
   Palette: Nussbaum / Messing / Creme / Anthrazit
   Fonts: Fraunces (Display) + Inter (Text)
   ============================================================ */

:root {
  --nussbaum: #5C3D28;
  --nussbaum-tief: #3E2818;
  --messing: #B98A4C;
  --messing-hell: #D4A96A;
  --messing-tief: #8A6438;
  --creme: #F6F0E6;
  --creme-warm: #EFE6D7;
  --anthrazit: #221D18;
  --anthrazit-soft: #4A4038;
  --weiss: #FDFBF7;

  --font-display: 'Fraunces', Georgia, serif;
  --font-text: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 6px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  color: var(--anthrazit);
  background: var(--creme);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; width: 100%; }

.skipLink {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--nussbaum); color: var(--creme);
  padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.skipLink:focus { left: 0; }

:focus-visible { outline: 2px solid var(--messing); outline-offset: 3px; }

/* ---------- Studien-Banner ---------- */

.studyBar {
  display: flex; justify-content: center; align-items: center; gap: 4px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: var(--anthrazit);
  color: var(--creme-warm);
  font-size: 12.5px;
  letter-spacing: .01em;
  text-align: center;
  position: relative;
  z-index: 60;
}
.studyBar strong { color: var(--messing-hell); font-weight: 600; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 247, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(92, 61, 40, .12);
  transition: box-shadow .3s var(--ease);
}
.nav.isScrolled { box-shadow: 0 8px 30px rgba(34, 29, 24, .09); }

.navInner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height .3s var(--ease);
}
.nav.isScrolled .navInner { height: 66px; }

.navLogo img { height: 40px; width: auto; transition: height .3s var(--ease); }
.nav.isScrolled .navLogo img { height: 33px; }

.navLinks { display: flex; align-items: center; gap: 30px; }
.navLinks a {
  color: var(--anthrazit);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
  position: relative;
}
.navLinks a:not(.navCta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--messing);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.navLinks a:not(.navCta):hover::after { transform: scaleX(1); }

.navCta {
  background: var(--nussbaum);
  color: var(--creme) !important;
  padding: 11px 22px;
  border-radius: var(--radius);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.navCta:hover { background: var(--nussbaum-tief); transform: translateY(-1px); }

.navPhone {
  color: var(--nussbaum);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.navPhone:hover { color: var(--messing); }

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

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h) - 38px);
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--anthrazit);
}

.heroMedia,
.heroMedia img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.heroMedia img {
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.06);
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1.0); } }

.heroOverlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(78deg,
      rgba(24, 17, 11, .88) 0%,
      rgba(24, 17, 11, .72) 30%,
      rgba(24, 17, 11, .30) 58%,
      rgba(24, 17, 11, .05) 78%,
      rgba(24, 17, 11, .25) 100%),
    linear-gradient(to top, rgba(24, 17, 11, .45) 0%, transparent 26%);
}

/* Leitmotiv: feine Holzmaserungs-Linien */
.heroGrain {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: repeating-linear-gradient(
    93deg,
    transparent 0px,
    transparent 46px,
    rgba(246, 240, 230, .5) 46px,
    rgba(246, 240, 230, .5) 47px,
    transparent 47px,
    transparent 120px
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}

.heroContent {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 28px 120px;
  width: 100%;
}

.heroLabel {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--messing-hell);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.heroLabel::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--messing);
  flex: none;
}

.heroTitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 7.2vw, 5.6rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--weiss);
  margin-bottom: 30px;
  max-width: 11ch;
}
.heroTitle em {
  font-style: italic;
  font-weight: 400;
  color: var(--messing-hell);
}

.heroSub {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  color: rgba(246, 240, 230, .88);
  max-width: 46ch;
  margin-bottom: 42px;
}

.heroActions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .25s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btnPrimary {
  background: var(--messing);
  color: var(--anthrazit);
  box-shadow: 0 10px 30px rgba(185, 138, 76, .35);
}
.btnPrimary:hover {
  background: var(--messing-hell);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(185, 138, 76, .45);
}
.btnGhost {
  color: var(--creme);
  border: 1px solid rgba(246, 240, 230, .45);
  background: rgba(246, 240, 230, .06);
  backdrop-filter: blur(4px);
}
.btnGhost:hover {
  border-color: var(--creme);
  background: rgba(246, 240, 230, .14);
  transform: translateY(-2px);
}

/* 1878-Badge */
.heroBadge {
  position: absolute;
  right: clamp(28px, 6vw, 96px);
  bottom: clamp(36px, 8vh, 84px);
  z-index: 2;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1px solid rgba(212, 169, 106, .65);
  background: rgba(24, 17, 11, .55);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transform: rotate(-6deg);
  pointer-events: none;
}
.badgeSeit {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--messing-hell);
  margin-left: .3em;
}
.badgeJahr {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  color: var(--weiss);
  line-height: 1;
}

/* Scroll-Hinweis */
.heroScroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 52px;
  background: rgba(246, 240, 230, .22);
  overflow: hidden;
}
.heroScroll span {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--messing-hell);
  animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { top: -40%; }
  70%  { top: 100%; }
  100% { top: 100%; }
}

/* ---------- Einstiegs-Animation (Stagger) ---------- */

.hero-in {
  opacity: 0;
  transform: translateY(26px);
  animation: heroIn .7s var(--ease) forwards;
}
.heroLabel.hero-in   { animation-delay: .15s; }
.heroTitle.hero-in   { animation-delay: .30s; }
.heroSub.hero-in     { animation-delay: .45s; }
.heroActions.hero-in { animation-delay: .60s; }
.heroBadge.hero-in   { animation-delay: .85s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
.heroBadge.hero-in {
  transform: translateY(26px) rotate(-6deg);
  animation-name: heroInBadge;
}
@keyframes heroInBadge {
  to { opacity: 1; transform: translateY(0) rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in { animation: none; opacity: 1; transform: none; }
  .heroBadge.hero-in { transform: rotate(-6deg); }
  .heroMedia img { animation: none; transform: none; }
  .heroScroll { display: none; }
}

/* ---------- Scroll-Reveal (nur mit JS versteckt) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.isIn { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Sektions-Grundgerüst ---------- */

.section { padding: clamp(74px, 9vw, 128px) 0; }

.secLabel {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--messing-tief);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.secLabel::before {
  content: ""; width: 38px; height: 1px; background: var(--messing); flex: none;
}
.secLabel.onDark { color: var(--messing-hell); }

.secTitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.05rem, 4.1vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--nussbaum-tief);
  margin-bottom: 22px;
}
.secTitle em { font-style: italic; font-weight: 400; color: var(--messing-tief); }
.secTitle.onDark { color: var(--weiss); }
.secTitle.onDark em { color: var(--messing-hell); }

.secLead {
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  color: var(--anthrazit-soft);
  max-width: 56ch;
}

.secHead { margin-bottom: clamp(44px, 5vw, 68px); max-width: 720px; }

/* ---------- Zahlen-Band ---------- */

.facts {
  background: var(--creme-warm);
  border-top: 1px solid rgba(92, 61, 40, .13);
  border-bottom: 1px solid rgba(92, 61, 40, .13);
  padding: clamp(44px, 5vw, 66px) 0 clamp(30px, 3.5vw, 42px);
  position: relative;
}
/* Leitmotiv Holzmaserung, sehr dezent */
.facts::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    93deg, transparent 0 54px, rgba(92, 61, 40, .055) 54px 55px, transparent 55px 132px);
  pointer-events: none;
}
.factsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 46px);
  position: relative;
}
.fact {
  display: flex; flex-direction: column; gap: 9px;
  padding-left: 20px;
  border-left: 2px solid var(--messing);
}
.factNum {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--nussbaum);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.factLabel { font-size: 14.5px; line-height: 1.5; color: var(--anthrazit-soft); }
.factSub {
  font-size: 12.5px; color: var(--messing-tief);
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.factsNote {
  margin-top: clamp(26px, 3vw, 38px);
  font-size: 12.5px;
  color: var(--anthrazit-soft);
  opacity: .8;
  position: relative;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
}
.card {
  background: var(--weiss);
  border: 1px solid rgba(92, 61, 40, .14);
  border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 34px);
  display: flex; flex-direction: column; gap: 13px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--messing);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(34, 29, 24, .11);
  border-color: rgba(92, 61, 40, .26);
}
.card:hover::after { transform: scaleY(1); }

.cardIcon {
  width: 68px; height: 68px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--creme);
  border: 1px solid rgba(92, 61, 40, .12);
  margin-bottom: 5px;
  flex: none;
}
.cardIcon img { width: 100%; height: 100%; object-fit: cover; }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--nussbaum-tief);
}
.card p { font-size: 15px; color: var(--anthrazit-soft); }
.cardMeta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px !important;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--messing-tief) !important;
}

/* ---------- Manufaktur (dunkle Sektion) ---------- */

.manufaktur {
  background: var(--nussbaum-tief);
  color: rgba(246, 240, 230, .85);
  padding: clamp(74px, 9vw, 128px) 0;
  position: relative;
  overflow: hidden;
}
.manufaktur::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    93deg, transparent 0 46px, rgba(246, 240, 230, .045) 46px 47px, transparent 47px 120px);
  pointer-events: none;
}
.manuGrid {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(38px, 5vw, 76px);
  align-items: center;
  position: relative;
}
.manuText p { margin-bottom: 17px; font-size: 15.8px; line-height: 1.75; }
.manuList {
  list-style: none;
  margin: 26px 0 32px;
  display: grid; gap: 11px;
}
.manuList li {
  padding-left: 26px;
  position: relative;
  font-size: 15px;
  color: rgba(246, 240, 230, .92);
}
.manuList li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 13px; height: 1px; background: var(--messing-hell);
}
.manuFigure { margin: 0; }
.manuFigure img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .38);
}
.manuFigure figcaption {
  margin-top: 13px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(246, 240, 230, .6);
}

/* ---------- Zeitachse ---------- */

.timelineSec { background: var(--creme); }

.timeline {
  list-style: none;
  position: relative;
  display: grid;
  gap: clamp(20px, 2.4vw, 30px);
  padding-left: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 84px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom,
    rgba(185, 138, 76, .15), var(--messing) 12%, var(--messing) 88%, rgba(185, 138, 76, .15));
}
.tItem {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0;
  align-items: start;
  position: relative;
}
.tYear {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--messing-tief);
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
  padding-right: 18px;
  text-align: right;
}
.tBody {
  padding-left: 30px;
  position: relative;
  padding-bottom: 4px;
}
.tBody::before {
  content: "";
  position: absolute;
  left: -5px; top: .62em;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--creme);
  border: 2px solid var(--messing);
}
.isNow .tBody::before { background: var(--messing); box-shadow: 0 0 0 4px rgba(185, 138, 76, .2); }
.tBody h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--nussbaum-tief);
  margin-bottom: 4px;
  line-height: 1.35;
}
.tBody p { font-size: 14.8px; color: var(--anthrazit-soft); max-width: 62ch; }

/* ---------- Einzugsgebiet ---------- */

.areaSec {
  background: var(--creme-warm);
  border-top: 1px solid rgba(92, 61, 40, .13);
}
.areaGrid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.areaText p { font-size: 15.8px; line-height: 1.75; color: var(--anthrazit-soft); margin-bottom: 18px; }
.areaMeta {
  border-left: 2px solid var(--messing);
  padding-left: 18px;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: var(--anthrazit) !important;
}
.areaMeta strong { color: var(--nussbaum-tief); }

.areaListH {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--nussbaum-tief);
  margin-bottom: 18px;
}
.chips {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-bottom: 18px;
}
.chips li {
  background: var(--weiss);
  border: 1px solid rgba(92, 61, 40, .16);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nussbaum);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.chips li:hover { border-color: var(--messing); background: #fff; }
.areaHint { font-size: 13.5px; color: var(--anthrazit-soft); opacity: .85; }

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

.contact {
  background: var(--nussbaum);
  color: rgba(246, 240, 230, .88);
  padding: clamp(74px, 9vw, 122px) 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    93deg, transparent 0 46px, rgba(246, 240, 230, .05) 46px 47px, transparent 47px 120px);
  pointer-events: none;
}
.contactInner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(38px, 5vw, 72px);
  align-items: center;
  position: relative;
}
.contactText p { font-size: 15.8px; line-height: 1.75; max-width: 46ch; }
.contactCards { display: grid; gap: 13px; }
.cCard {
  display: grid; gap: 4px;
  background: rgba(246, 240, 230, .07);
  border: 1px solid rgba(246, 240, 230, .2);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-decoration: none;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease);
}
a.cCard:hover {
  background: rgba(246, 240, 230, .13);
  border-color: var(--messing-hell);
  transform: translateX(4px);
}
.cLabel {
  font-size: 11.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .2em; color: var(--messing-hell);
}
.cValue {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  font-weight: 500;
  color: var(--weiss);
  line-height: 1.3;
  word-break: break-word;
}
.cHint { font-size: 13px; color: rgba(246, 240, 230, .68); }
.cCardStatic { cursor: default; }

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

.foot {
  background: var(--anthrazit);
  color: rgba(246, 240, 230, .72);
  padding: clamp(48px, 6vw, 72px) 0 26px;
}
.footInner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
/* Das Logo bleibt unverändert in seinen Originalfarben (graue Wortmarke) —
   deshalb bekommt es im dunklen Footer eine helle Trägerfläche statt eines Filters. */
.footBrand .footLogoPlate {
  display: inline-block;
  background: var(--creme);
  border-radius: var(--radius);
  padding: 12px 18px;
  margin-bottom: 18px;
}
.footBrand .footLogoPlate img { height: 38px; width: auto; }
.footBrand p { font-size: 14px; line-height: 1.65; max-width: 34ch; }
.footCol h3 {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .2em; color: var(--messing-hell); margin-bottom: 15px;
}
.footCol ul { list-style: none; display: grid; gap: 9px; }
.footCol li, .footCol a { font-size: 14.2px; line-height: 1.55; }
.footCol a { color: rgba(246, 240, 230, .72); text-decoration: none; transition: color .2s var(--ease); }
.footCol a:hover { color: var(--messing-hell); }
.footNote {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px solid rgba(246, 240, 230, .13);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(246, 240, 230, .5);
}

/* ---------- Powered-by (Schwarzwald Agent) ---------- */

.pbStrip {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 26px 16px 22px; text-align: center;
  background: #FEFDF9; border-top: 1px solid #E8E0D5;
}
.pbStrip .pbLink {
  display: inline-flex; align-items: center; gap: 11px;
  opacity: .75; transition: opacity .18s ease; text-decoration: none;
}
.pbStrip .pbLink:hover { opacity: 1; text-decoration: none; }
.pbStrip .pbLabel {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .28em; color: #8B7355;
}
.pbStrip .pbIcon { height: 32px; width: 32px; object-fit: contain; display: block; }
.pbStrip .pbName {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 14px; font-weight: 800; letter-spacing: -.02em; color: #0D4A3C;
}

/* ---------- Mobile-Menü-Button ---------- */

.navBurger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(92, 61, 40, .2);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
  grid-auto-flow: row;
  gap: 5px;
  /* place-content verhindert, dass die impliziten Zeilen sich strecken —
     sonst liegen die Balken 16px statt 7px auseinander und das X wird zum Winkel. */
  place-content: center;
  place-items: center;
}
.navBurger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--nussbaum-tief);
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.navBurger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navBurger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navBurger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .factsGrid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
}

@media (max-width: 900px) {
  .navBurger { display: grid; }
  .navPhone { display: none; }

  .navLinks {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--weiss);
    border-bottom: 1px solid rgba(92, 61, 40, .14);
    box-shadow: 0 22px 44px rgba(34, 29, 24, .12);
    padding: 8px 20px 20px;
    display: none;
  }
  .navLinks.isOpen { display: flex; }
  .navLinks a {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(92, 61, 40, .1);
    font-size: 16px;
  }
  .navLinks a:not(.navCta)::after { display: none; }
  .navLinks .navCta {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
    padding: 15px 22px;
  }

  .manuGrid, .areaGrid, .contactInner { grid-template-columns: 1fr; }
  .manuFigure { order: -1; }
  .footInner { grid-template-columns: 1fr 1fr; }
  .footBrand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .wrap { padding: 0 20px; }
  .navInner { padding: 0 18px; }
  .navLogo img { height: 32px; }
  .navCta { padding: 10px 16px; font-size: 13.5px; }

  .hero { min-height: 590px; }
  .heroContent { padding: 72px 20px 132px; }
  .heroLabel { font-size: 11px; letter-spacing: .17em; margin-bottom: 20px; }
  .heroLabel::before { width: 28px; }
  .heroSub { margin-bottom: 34px; }
  .heroActions .btn { width: 100%; }
  .heroBadge {
    width: 88px; height: 88px;
    right: 16px; bottom: 16px;
  }
  .badgeJahr { font-size: 26px; }
  .heroMedia img { object-position: 58% center; }

  .studyBar { font-size: 11.5px; padding: 8px 14px; line-height: 1.45; }

  .factsGrid { grid-template-columns: 1fr; gap: 22px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 24px 22px; }

  .timeline::before { left: 62px; }
  .tItem { grid-template-columns: 62px 1fr; }
  .tYear { font-size: 1.05rem; padding-right: 14px; }
  .tBody { padding-left: 26px; }

  .footInner { grid-template-columns: 1fr; }
  .contactCards .cCard { padding: 18px 20px; }
  .cValue { font-size: 1.05rem; }
}

@media (max-width: 380px) {
  .secLabel { font-size: 11.5px; letter-spacing: .16em; }
  .secLabel::before { width: 24px; }
  .chips li { padding: 7px 13px; font-size: 13px; }
}


/* ============================================================
   Mobil-Mindestmass (QA-Gate-Sweep Tick #22, Aufgabe as0i4p, 21.08.2026)
   Tippziele mindestens 44 px, sichtbarer Text mindestens 13 px.
   Vorbild ist schreinerei-storz — die einzige Demo ohne Befund.
   Geaendert werden nur Masse; Farben, Schriftarten und Anordnung bleiben.
   ============================================================ */

/* Kleinschrift lag bei 11–12.5 px, mobil teils noch darunter. */
.heroLabel { font-size: 13px; }
.secLabel { font-size: 13px; }
.factSub, .factsNote { font-size: 13px; }
.cardMeta { font-size: 13px !important; }
.cLabel { font-size: 13px; }

/* Logo-Link war mobil nur 32 px hoch, Fusslinks 17 px. */
.navLogo { display: inline-flex; align-items: center; min-height: 44px; }
.footCol a { display: inline-flex; align-items: center; min-height: 44px; }

/* Powered-by-Baustein: identisch zu schreinerei-storz geloest. Der
   Originalblock weiter oben bleibt Zeichen fuer Zeichen wie in CLAUDE.md. */
.pbStrip { padding: 20px 16px 16px; }
.pbStrip .pbLink { min-height: 44px; }
.pbStrip .pbLabel { font-size: 14px; letter-spacing: .16em; }
