/* ============================================================
   Lebensraum Schweiz AG — style.css
   Grundfarben CI: #212B2C (dunkel) · #8FD8B1 (mint) ·
   #D9EEB2 (lime) · #DEDEDE (grau). Suisse Intl + Suisse Works.
   ============================================================ */

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntlTrial-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-007F;
}
@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntlTrial-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-007F;
}
@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntlTrial-Semibold.otf") format("opentype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-007F;
}
@font-face {
  font-family: "Suisse Works";
  src: url("../fonts/SuisseWorksTrial-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-007F;
}
@font-face {
  font-family: "Suisse Works";
  src: url("../fonts/SuisseWorksTrial-Medium.otf") format("opentype");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-007F;
}

:root {
  --green-950: #171f20;
  --green-900: #212b2c;
  --green-800: #24393a;
  --green-700: #21382e;
  --green-600: #3d5a54;
  --mint: #8fd8b1;
  --mint-soft: #d9eeb2;
  --paper: #e9e9e7;
  --paper-2: #dedede;
  --white: #ffffff;
  --ink: #171f20;
  --ink-soft: #46504f;
  --line: rgba(23, 31, 32, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --serif: "Suisse Works", Georgia, "Times New Roman", serif;
  --sans: "Suisse Intl", "Helvetica Neue", Arial, sans-serif;
  --radius: 0px;
  --shadow: 0 20px 60px rgba(14, 33, 27, 0.14);
  --container: 1240px;
  --pad: clamp(20px, 4vw, 48px);
}

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

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Tipografía ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.display-1 { font-size: clamp(34px, 4.6vw, 60px); }
.display-2 { font-size: clamp(25px, 3.1vw, 40px); }
.display-3 { font-size: clamp(21px, 2.4vw, 30px); }

.lead {
  font-size: clamp(14px, 1.15vw, 16px);
  color: var(--ink-soft);
  max-width: 62ch;
}

.eyebrow {
  display: flex;
  gap: 48px;
  align-items: baseline;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(22px, 3vw, 40px);
}

.eyebrow .tag { opacity: 0.65; }

.on-dark .eyebrow, .on-dark .lead { color: rgba(255, 255, 255, 0.66); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }

/* ---------- Botones ---------- */

.btn {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: color 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
}

/* animación wipe: capa que barre de izquierda a derecha al hacer hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green-900);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.4, 1);
}
.btn:hover::before { transform: scaleX(1); }

.btn .arr {
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.4, 1);
  font-family: var(--sans);
  font-size: 1.35em;
  line-height: 0.8;
}
.btn:hover .arr { transform: translateX(5px); }

.btn-mint { background: var(--mint); color: var(--green-800); }
.btn-mint::before { background: var(--green-900); }
.btn-mint:hover { color: var(--white); }

.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline::before { background: var(--green-800); }
.btn-outline:hover { color: var(--white); border-color: var(--green-800); }

.on-dark .btn-outline { border-color: var(--line-light); color: var(--white); }
.on-dark .btn-outline::before { background: var(--white); }
.on-dark .btn-outline:hover { color: var(--green-900); border-color: var(--white); }

.btn-dark { background: var(--green-800); color: var(--white); }
.btn-dark::before { background: var(--mint); }
.btn-dark:hover { color: var(--green-900); }

/* botón del menú: contorno blanco como el ejemplo */
.main-nav .btn-dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.main-nav .btn-dark::before { background: var(--white); }
.main-nav .btn-dark:hover { color: var(--green-900); border-color: var(--white); }

/* marcador ◆ delante de Kontakt (como el ejemplo); al hover viaja animado a la derecha */
.main-nav > a[href$="kontakt.html"]:not(.btn),
.main-nav > a[href$="/kontakt"]:not(.btn) {
  position: relative;
  padding-left: 15px;
  padding-right: 15px;
}
.main-nav > a[href$="kontakt.html"]:not(.btn)::before,
.main-nav > a[href$="/kontakt"]:not(.btn)::before {
  content: "\25c6";
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  transform: translateY(-50%);
  font-size: 7px;
  line-height: 1;
  color: var(--white);
  transition: left 0.45s cubic-bezier(0.33, 1, 0.4, 1);
  pointer-events: none;
}
.main-nav > a[href$="kontakt.html"]:not(.btn):hover::before,
.main-nav > a[href$="/kontakt"]:not(.btn):hover::before {
  left: calc(100% - 7px);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  padding: 14px 0;
}

.site-header.scrolled {
  background: rgba(14, 33, 27, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-logo { height: 40px; width: auto; display: block; }
.footer-bottom .brand-logo { height: 30px; }
.brand-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.main-nav > a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.main-nav > a:not(.btn):hover,
.main-nav > a.active { color: var(--white); }

/* efecto yo-yo del menú: el texto baja, desaparece y vuelve a subir con rebote */
.main-nav > a:not(.btn) { overflow: hidden; }
.nav-roll { display: inline-block; }
@keyframes navYoyo {
  0% { transform: translateY(0); }
  49% { transform: translateY(130%); opacity: 1; }
  50% { transform: translateY(130%); opacity: 0; }
  51% { transform: translateY(130%); opacity: 1; }
  78% { transform: translateY(-8%); }
  100% { transform: translateY(0); }
}
.main-nav > a:not(.btn):hover .nav-roll {
  animation: navYoyo 0.55s cubic-bezier(0.3, 0.6, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .main-nav > a:not(.btn):hover .nav-roll { animation: none; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--green-950);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav > a:not(.btn) { font-size: 19px; letter-spacing: 0.02em; }
}

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

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--green-900);
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* overlay 15% negro sobre el vídeo del hero */
.hero .hero-media::after {
  background:
    linear-gradient(to bottom, rgba(14, 33, 27, 0.35) 0%, rgba(14, 33, 27, 0.1) 40%, rgba(14, 33, 27, 0.72) 100%),
    rgba(0, 0, 0, 0.15);
}
.hero-media img { animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 33, 27, 0.35) 0%, rgba(14, 33, 27, 0.1) 40%, rgba(14, 33, 27, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(96px, 14vh, 150px);
  padding-bottom: clamp(48px, 7vh, 96px);
}

.hero .eyebrow { color: rgba(255, 255, 255, 0.75); margin-bottom: 16px; }
.hero h1 { max-width: 20ch; }
.hero .lead { color: rgba(255, 255, 255, 0.85); margin: 18px 0 30px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(36px, 6vh, 72px);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Hero compacto para subpáginas */
.hero.hero-sub { min-height: 62svh; }

/* ---------- Secciones ---------- */

.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head .lead { margin-top: 16px; }

.bg-dark { background: var(--green-900); color: var(--white); }
.bg-darker { background: var(--green-950); color: var(--white); }
.bg-paper { background: var(--paper); }

.bg-dark, .bg-darker { position: relative; }
.deco-rays {
  position: absolute;
  left: -140px;
  bottom: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161, 217, 181, 0.12) 0%, rgba(161, 217, 181, 0.04) 45%, transparent 70%);
  pointer-events: none;
}

/* ---------- Manifest ---------- */

.manifest h2 {
  font-size: clamp(23px, 2.7vw, 36px);
  max-width: 38ch;
}
.manifest .lead { margin-top: 26px; }

.media-block {
  position: relative;
  margin-top: clamp(36px, 5vw, 64px);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7.5;
  background: var(--green-900);
}
.media-block img { width: 100%; height: 100%; object-fit: cover; }
.media-block .media-caption {
  position: absolute;
  left: 20px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(14, 33, 27, 0.55);
  padding: 8px 14px;
  border-radius: 0;
}

/* ---------- Cards de competencias (fondo oscuro) ---------- */

.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .comp-grid { grid-template-columns: 1fr; } }

.comp-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--green-800);
}
.comp-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.comp-card:hover img { transform: scale(1.05); }
.comp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 33, 27, 0.85) 0%, rgba(14, 33, 27, 0.05) 55%);
}
.comp-card .comp-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  z-index: 2;
}
.comp-card h3 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.comp-card p { color: rgba(255, 255, 255, 0.78); font-size: 13.5px; line-height: 1.55; }
.comp-card .comp-icon {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--white);
  font-size: 15px;
}

/* Lista completa de competencias */
.comp-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0 40px;
  margin-top: 28px;
  border-top: 1px solid var(--line-light);
}
.comp-list li {
  list-style: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.comp-list li::before { content: "→"; color: var(--mint); }

/* ---------- Kompetenzen: intro + lista detallada ---------- */

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 860px) { .intro-split { grid-template-columns: 1fr; } }

.intro-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
}
.intro-img img { width: 100%; height: 100%; object-fit: cover; }

.text-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(24px, 3.4vw, 48px);
  margin-top: clamp(0px, 4vw, 56px);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.text-card p + p { margin-top: 16px; }

.comp-detail .cd-item {
  border-top: 1px solid var(--line-light);
  padding: clamp(28px, 4vw, 48px) 0;
}
.comp-detail .cd-item:first-of-type { border-top: none; padding-top: 0; }

.cd-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(18px, 3vw, 34px);
}
.cd-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}
.cd-num {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--mint);
}

.cd-body {
  display: grid;
  grid-template-columns: 1fr clamp(220px, 24vw, 320px);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
@media (max-width: 760px) { .cd-body { grid-template-columns: 1fr; } }

.cd-body h3 { color: var(--white); font-size: clamp(18px, 1.8vw, 22px); margin-bottom: 12px; }
.cd-body p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.72); max-width: 54ch; }

.ticks {
  margin-top: 22px;
  height: 13px;
  max-width: 420px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 6px);
  opacity: 0.45;
}

.cd-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.comp-more { display: none; }
.comp-more.visible { display: block; }

/* ---------- Layout Kompetenzen en la home (texto a la izquierda) ---------- */

.komp-layout {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}
.komp-aside { margin-top: 8px; }
@media (max-width: 900px) { .komp-layout { grid-template-columns: 1fr; } }
.komp-aside { font-size: 14.5px; }
.komp-layout .comp-grid { gap: 14px; }
.komp-layout .comp-card h3 { font-size: 19px; }
.komp-layout .comp-card .comp-body { padding: 18px; }
.comp-card p { min-height: 4.7em; }

/* ---------- Tarjetas de proyecto v2 (imagen + descripción + specs) ---------- */

.proj-card2 {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.pc-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
}
.pc-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.proj-card2:hover .pc-media img { transform: scale(1.05); }
.pc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(23, 45, 38, 0.82) 0%, rgba(23, 45, 38, 0.05) 45%),
    rgba(14, 26, 22, 0.15);
}
.pc-media .proj-loc {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(226, 226, 224, 0.92);
  padding: 7px 12px;
  border-radius: 0;
}
.pc-media h3 {
  position: absolute;
  left: 20px; right: 20px; bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-size: clamp(20px, 2vw, 27px);
}
.pc-body {
  padding: clamp(18px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pc-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.pc-specs {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.pc-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.pc-value { font-size: 13.5px; color: var(--ink); overflow-wrap: break-word; }
@media (max-width: 480px) { .pc-specs { grid-template-columns: 1fr; } }

.proj-track .proj-card2 { height: auto; }
.slider-arrows-left { margin-bottom: 18px; }

/* Grid de proyectos v2 en la página Projekte */
.proj-grid2 { align-items: stretch; }

/* ---------- Cita / Fähigkeiten ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

.quote-grid h2 { font-size: clamp(22px, 2.5vw, 32px); }
.quote-grid .lead { margin: 22px 0 30px; font-size: 15.5px; }

.sig {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.sig .sig-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--green-600);
  border: 1px solid var(--line);
  border-radius: 0;
  width: 84px;
  height: 56px;
  display: grid;
  place-items: center;
}
.sig .sig-mark--signature {
  width: 150px;
  height: 66px;
  padding: 4px 6px;
  background: var(--white);
}
.sig .sig-mark--signature svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.sig .sig-meta { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.sig .sig-meta strong { color: var(--ink); font-weight: 600; }

.quote-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
}
.quote-media img { width: 100%; height: 100%; object-fit: cover; }
.quote-media .media-caption {
  position: absolute;
  left: 18px; bottom: 14px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(14, 33, 27, 0.55);
  padding: 7px 12px;
  border-radius: 0;
}

/* ---------- KPIs ---------- */

.kpi-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 760px) { .kpi-band { grid-template-columns: 1fr; } }

.kpi {
  border-top: 2px solid var(--green-800);
  padding-top: 18px;
}
.on-dark .kpi { border-color: var(--mint); }
.kpi .kpi-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(29px, 3.1vw, 42px);
  line-height: 1;
  color: var(--green-800);
}
.on-dark .kpi .kpi-num { color: var(--mint); }
.kpi .kpi-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.on-dark .kpi .kpi-label { color: rgba(255, 255, 255, 0.65); }

/* ---------- Proyectos ---------- */

.proj-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 26vw, 360px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.proj-track::-webkit-scrollbar { display: none; }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1000px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .proj-grid { grid-template-columns: 1fr; } }

.proj-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  background: var(--green-800);
  display: block;
}
.proj-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.proj-card:hover img { transform: scale(1.06); }
.proj-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(14, 33, 27, 0.88) 0%, rgba(14, 33, 27, 0) 50%),
    rgba(14, 26, 22, 0.15);
}
.proj-card .proj-loc {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(226, 226, 224, 0.92);
  padding: 6px 12px;
  border-radius: 0;
}
.proj-card .proj-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px;
  color: var(--white);
}
.proj-card h3 { font-size: 21px; margin-bottom: 6px; }
.proj-card .proj-meta {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.slider-arrows { display: flex; gap: 10px; }
.slider-arrows button {
  width: 40px; height: 40px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.slider-arrows button:hover { background: var(--mint); border-color: var(--mint); color: var(--green-800); }
.slider-arrows button { font-size: 20px; line-height: 1; }
.slider-arrows [data-next] { background: var(--mint); border-color: var(--mint); color: var(--green-800); }
.on-dark .slider-arrows [data-prev] { border-color: var(--line-light); color: var(--white); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  min-height: 68svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--green-900);
}
.cta-band .hero-media img { animation: none; }
.cta-band .hero-media::after {
  background: linear-gradient(100deg, rgba(14, 33, 27, 0.82) 10%, rgba(14, 33, 27, 0.25) 70%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(25px, 3.1vw, 40px); max-width: none; }
.cta-band .lead { color: rgba(255, 255, 255, 0.82); margin: 18px 0 28px; max-width: 46ch; }

/* ---------- Testimonials ---------- */

.testi-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 26vw, 360px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }

.testi-card {
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
}
.testi-card .testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--mint);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 15px;
  overflow: hidden;
  flex: none;
}
.testi-card .testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testi-card blockquote {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
}
.testi-card .testi-who { border-top: 1px solid var(--line); padding-top: 14px; }
.testi-card .testi-who strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  display: block;
}
.testi-card .testi-who span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-aside {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 300px;
  margin-top: 24px !important;
}
.faq-aside strong { display: block; color: var(--ink); margin-bottom: 6px; font-size: 14.5px; }
.faq-aside a { color: var(--green-800); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  padding: 20px 40px 20px 0;
  position: relative;
  cursor: pointer;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--green-800);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a p {
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 60ch;
}

/* ---------- Medien / Insights cards ---------- */

.media-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.media-filters button {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s ease;
}
.media-filters button:hover { border-color: var(--green-800); color: var(--green-800); }
.media-filters button.active {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card .news-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-card .news-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .news-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.news-card .news-meta .cat {
  background: var(--mint-soft);
  color: var(--green-800);
  padding: 4px 9px;
  border-radius: 0;
}
.news-card h3 { font-size: 19px; line-height: 1.3; }
.news-card p { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.news-card .news-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-800);
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

.team-card { text-align: left; }
.team-photo {
  aspect-ratio: 3 / 3.6;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, var(--green-800) 0%, var(--green-950) 100%);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
/* 15% dark overlay sobre las fotos del equipo */
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 22, 0.15);
  pointer-events: none;
}
/* Equipo como slides */
.team-track {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 26vw, 340px);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.team-track::-webkit-scrollbar { display: none; }
/* sin scroll-snap: el marquee continuo necesita scroll libre */
.team-track { scroll-snap-type: none; }
.team-track .team-card { scroll-snap-align: none; }
.team-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.team-card:hover .team-photo > img { transform: scale(1.04); }
.team-photo .initials {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--mint);
  opacity: 0.9;
}
.team-photo .photo-note {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.team-photo .mark-bg {
  position: absolute;
  right: -34px;
  top: -34px;
  width: 130px;
  opacity: 0.1;
}
.team-card h3 { font-size: 20px; }
.team-card .role {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* banner blanco con nombre y cargo dentro de la foto (como el ejemplo) */
.team-tag {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 10px 14px 10px 10px;
}
.team-tag-mark {
  flex: none;
  width: 42px;
  height: 42px;
  background: var(--green-900);
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.team-tag-mark img { width: 24px; height: 24px; }
.team-tag-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.team-tag-text strong {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.team-tag-text span {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* ---------- Valores ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 40px;
}
.value-item {
  border-top: 1px solid var(--line-light);
  padding: 24px 0 30px;
}
.value-item .num {
  font-family: var(--serif);
  color: var(--mint);
  font-size: 15px;
  display: block;
  margin-bottom: 12px;
}
.value-item h3 { font-size: 21px; color: var(--white); margin-bottom: 10px; }
.value-item p { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* ---------- Formulario ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--shadow);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.field label .req { color: #b0483c; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-800);
  background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 24px 0;
}
.field-check input { margin-top: 3px; accent-color: var(--green-800); }

fieldset.chips { border: none; margin-bottom: 20px; }
fieldset.chips legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.chips .chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 9px 16px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:has(input:checked) {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--white);
}

.aside-card {
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}
.aside-card h3 { color: var(--white); font-size: 22px; margin-bottom: 18px; }
.aside-card .step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.aside-card .step .n {
  font-family: var(--serif);
  color: var(--mint);
  flex: none;
}
.aside-contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}
.aside-contact a { color: var(--mint); }

.form-success {
  background: var(--mint-soft);
  color: var(--green-800);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14.5px;
  margin-bottom: 24px;
  display: none;
}
.form-success.show { display: block; }

/* ---------- Bauland landing ---------- */

.bauland-hero {
  position: relative;
  color: var(--white);
  background: var(--green-950);
  overflow: hidden;
  padding-bottom: clamp(180px, 26vh, 300px);
}
.bauland-hero .hero-media { position: absolute; inset: 0; }
.bauland-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.bauland-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 26, 27, 0.72), rgba(14, 26, 27, 0.55));
}
.bauland-hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(130px, 20vh, 200px);
}
.bauland-hero-content .lead { color: rgba(255, 255, 255, 0.82); margin-top: 16px; max-width: 52ch; }

.bauland-form-wrap {
  background: var(--paper);
  padding-bottom: clamp(64px, 8vw, 110px);
}
.bauland-card {
  max-width: 980px;
  margin: clamp(-150px, -18vh, -240px) auto 0;
  position: relative;
  z-index: 3;
}

/* Campos con subrayado (estilo Figma) */
.form-lines .field label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-lines .field input,
.form-lines .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 2px 12px;
}
.form-lines .field input:focus,
.form-lines .field textarea:focus {
  background: transparent;
  border-bottom-color: var(--green-800);
}
.form-lines .field textarea {
  border: 1px solid var(--line);
  padding: 14px;
  min-height: 120px;
}

.diskretion {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.diskretion strong {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Página Kontakt: panel verde + formulario (como la referencia) */
.kontakt-hero { padding-bottom: clamp(140px, 20vh, 220px); }
.kontakt-split {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  margin-top: clamp(-120px, -14vh, -180px);
  position: relative;
  z-index: 3;
  background: var(--white);
  box-shadow: var(--shadow);
}
@media (max-width: 900px) { .kontakt-split { grid-template-columns: 1fr; } }
.kontakt-info {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(28px, 3.4vw, 48px);
}
.k-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
}
.k-lead { font-size: 15px; color: var(--white); margin-bottom: 16px; line-height: 1.6; }
.k-text { font-size: 13.5px; line-height: 1.7; }
.k-divider { border: none; border-top: 1px solid var(--line-light); margin: 26px 0; }
.k-data div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
  align-items: start;
}
.k-data dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.k-data dd { font-size: 13.5px; line-height: 1.6; }
.k-data dd a { color: var(--white); }
.kontakt-form { padding: clamp(28px, 3.4vw, 48px); }

/* Banner Bauland en la home */
.banner-bauland {
  background: var(--mint);
  color: var(--green-900);
  display: block;
}
.banner-bauland .banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.banner-bauland .banner-text {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.banner-bauland .banner-title {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 500;
}
.banner-bauland .banner-sub { font-size: 13px; opacity: 0.75; }
.banner-bauland .banner-link {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.banner-bauland:hover .banner-link { opacity: 0.7; }

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

.site-footer {
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(161, 217, 181, 0.1), transparent 60%),
    linear-gradient(150deg, var(--green-900), var(--green-950));
  color: var(--white);
  padding: clamp(72px, 9vw, 120px) 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top h2 { font-size: clamp(23px, 2.7vw, 35px); max-width: 22ch; }
.footer-top .footer-lead { font-size: 14px; color: rgba(255, 255, 255, 0.65); max-width: 40ch; }

.footer-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr;
  gap: clamp(24px, 3vw, 48px);
}
@media (max-width: 1000px) { .footer-card { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-card { grid-template-columns: 1fr; } }

.footer-card h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.footer-card ul { list-style: none; }
.footer-card ul li { margin-bottom: 9px; }
.footer-card ul a {
  font-size: 14px;
  color: var(--ink);
  transition: color 0.2s ease;
}
.footer-card ul a:hover { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }
.footer-card address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
}
.footer-card address a { color: var(--green-800); font-weight: 600; }
.footer-card .footer-cta p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; max-width: 30ch; }

.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: all 0.25s ease;
}
.footer-social a:hover { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.footer-social svg { width: 15px; height: 15px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line-light);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom .brand svg { width: 28px; height: 28px; }
.footer-bottom .brand-name { font-size: 11px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom nav a:hover { color: var(--white); }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

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

/* ---------- Móvil: texto más compacto, menos renglones ---------- */

@media (max-width: 640px) {
  body { font-size: 13.5px; line-height: 1.55; }
  .lead { font-size: 13px; line-height: 1.55; }
  .display-1 { font-size: 30px; }
  .display-2 { font-size: 22px; }
  .display-3 { font-size: 20px; }
  .manifest h2 { font-size: 20px; }
  .quote-grid h2 { font-size: 20px; }
  .cta-band h2 { font-size: 22px; }
  .footer-top h2 { font-size: 21px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }
  .eyebrow { gap: 20px; margin-bottom: 16px; font-size: 10px; }
  .hero-foot { font-size: 9.5px; }
  .hero-foot span:first-child { display: none; }
  .kpi .kpi-num { font-size: 27px; }
  .kpi .kpi-label { font-size: 11px; }
  .pc-desc, .testi-card blockquote { font-size: 12.5px; line-height: 1.6; }
  .faq-q { font-size: 14px; padding: 16px 36px 16px 0; }
  .faq-a p { font-size: 13px; }
  .news-card h3 { font-size: 16px; }
  .news-card p { font-size: 12.5px; }
  .cd-body p, .comp-card p { font-size: 12.5px; line-height: 1.6; }
  .footer-card ul a, .footer-card address { font-size: 13px; }
  .btn { font-size: 13px; padding: 11px 18px; }
}

/* ---------- Utilidades ---------- */

.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.center { text-align: center; }
.actions-center { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 52px); }

/* ---------- Medien: CTA centrado (overview + subpáginas) ---------- */

.cta-band.cta-center { text-align: center; }
.cta-band.cta-center .lead { margin-left: auto; margin-right: auto; }
.cta-band.cta-center .hero-actions { justify-content: center; }

/* btn-outline sobre cta-band: texto legible también durante el wipe blanco */
.cta-band .btn-outline { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.cta-band .btn-outline::before { background: #fff; }
.cta-band .btn-outline:hover { color: var(--green-900); border-color: #fff; }

/* ---------- Medien: tarjetas enlazadas ---------- */

a.news-card { color: inherit; text-decoration: none; }

/* ---------- Medien: subpáginas de artículos ---------- */

.article-wrap { max-width: 720px; margin: 0 auto; }
.article-wrap .article-lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--ink);
}
.article-wrap h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.9vw, 25px);
  margin-top: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
}
.article-wrap p { color: var(--ink-soft); line-height: 1.85; margin-bottom: 14px; font-size: 15px; }
.article-wrap .article-sign { margin-top: 36px; font-weight: 600; color: var(--ink); }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(32px, 4vw, 48px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-800);
  text-decoration: none;
}
.article-back:hover { text-decoration: underline; }

/* btn-outline sobre hero oscuro (misma lógica que cta-band) */
.hero .btn-outline, .on-dark-btn { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.hero .btn-outline::before, .on-dark-btn::before { background: #fff; }
.hero .btn-outline:hover, .on-dark-btn:hover { color: var(--green-900); border-color: #fff; }

/* ---------- Sticker de estado en tarjetas de proyecto ---------- */

.pc-media .proj-status,
.proj-card .proj-status {
  position: absolute;
  top: 52px; left: 14px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--green-900);
  background: rgba(143, 216, 177, 0.95);
  padding: 6px 12px;
  border-radius: 0;
}
.proj-card .proj-status { top: 48px; }

/* ---------- Menú móvil: silueta de edificios al pie (ref. Haus Morosani) ---------- */

@media (max-width: 900px) {
  .main-nav::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(440px, 88vw);
    aspect-ratio: 640 / 240;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 240' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 238h620'/%3E%3Crect x='42' y='96' width='150' height='142'/%3E%3Cpath d='M42 96l12-18h126l12 18'/%3E%3Crect x='60' y='114' width='26' height='20'/%3E%3Crect x='104' y='114' width='26' height='20'/%3E%3Crect x='148' y='114' width='26' height='20'/%3E%3Crect x='60' y='150' width='26' height='20'/%3E%3Crect x='104' y='150' width='26' height='20'/%3E%3Crect x='148' y='150' width='26' height='20'/%3E%3Crect x='60' y='186' width='26' height='20'/%3E%3Crect x='104' y='186' width='26' height='20'/%3E%3Crect x='148' y='186' width='26' height='20'/%3E%3Cpath d='M52 142h130M52 178h130'/%3E%3Crect x='222' y='54' width='170' height='184'/%3E%3Cpath d='M222 54l85-40 85 40'/%3E%3Crect x='240' y='72' width='28' height='22'/%3E%3Crect x='288' y='72' width='28' height='22'/%3E%3Crect x='336' y='72' width='28' height='22'/%3E%3Crect x='240' y='112' width='28' height='22'/%3E%3Crect x='288' y='112' width='28' height='22'/%3E%3Crect x='336' y='112' width='28' height='22'/%3E%3Crect x='240' y='152' width='28' height='22'/%3E%3Crect x='288' y='152' width='28' height='22'/%3E%3Crect x='336' y='152' width='28' height='22'/%3E%3Crect x='288' y='196' width='38' height='42'/%3E%3Cpath d='M232 100h150M232 140h150M232 180h150'/%3E%3Crect x='422' y='128' width='140' height='110'/%3E%3Cpath d='M422 128h140'/%3E%3Crect x='438' y='144' width='24' height='18'/%3E%3Crect x='478' y='144' width='24' height='18'/%3E%3Crect x='518' y='144' width='24' height='18'/%3E%3Crect x='438' y='182' width='24' height='18'/%3E%3Crect x='478' y='182' width='24' height='18'/%3E%3Crect x='518' y='182' width='24' height='18'/%3E%3Cpath d='M430 172h124M430 210h124'/%3E%3Ccircle cx='600' cy='196' r='24'/%3E%3Cpath d='M600 220v18'/%3E%3Ccircle cx='24' cy='210' r='16'/%3E%3Cpath d='M24 226v12'/%3E%3C/svg%3E") center bottom / contain no-repeat;
    opacity: 0.13;
    pointer-events: none;
  }
}

/* Imágenes dentro de artículos Medien */
.article-wrap .article-img { margin: 28px 0; }
.article-wrap .article-img img { width: 100%; display: block; }

/* ---------- Selector de idioma DE/EN ---------- */

.main-nav .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
}
.main-nav .lang-switch .active { color: var(--white); }
.main-nav .lang-switch a { color: rgba(255, 255, 255, 0.4); transition: color 0.3s ease; }
.main-nav .lang-switch a:hover { color: var(--white); }
.main-nav .lang-switch .sep { color: rgba(255, 255, 255, 0.25); font-weight: 400; }
@media (max-width: 900px) {
  .main-nav .lang-switch { font-size: 13px; gap: 9px; }
}
