/* ─────────────────────────────────────────────
   ISABAU — global styles
   Recreates Figma "ISABAU - Landingpage" (2x design)
───────────────────────────────────────────────*/

:root {
  --green: #4E8758;
  --green-700: #3F6E47;
  --ink: #3C3C3B;
  --ink-soft: #656565;
  --ink-light: #868387;
  --bg: #EBEBEB;
  --bg-alt: #FFFFFF;
  --footer: #1B1B1B;
  --line: rgba(0, 0, 0, 0.23);
  --line-strong: rgba(0, 0, 0, 0.41);

  --container: 1240px;
  --gutter: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ─── Type system ─── */
.display {
  font-family: "Poppins";
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}
.display--center { text-align: center; }

.h-display {
  font-family: "Poppins";
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0;
}
.h-display--md { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; }
.align-right { text-align: right; }

.body-lg {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  font-weight: 300;
  margin: 20px 0 0;
}

.muted-i {
  font-style: italic;
  color: var(--ink);
  margin: 6px 0 0;
  font-size: 16px;
}
.muted-sm {
  font-size: 12px;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.6;
}

/* ─── Pills, badges, buttons ─── */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.pill--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
}
.pill--dark {
  background: rgba(216, 216, 216, 0.12);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.36);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 22px 14px 32px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #fff;
  transition: transform 0.18s ease, background-color 0.18s ease;
  position: relative;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--green { background: var(--green); }
.btn--green:hover { background: var(--green-700); }
.btn--dark { background: var(--ink); }
.btn--wide { min-width: 280px; padding: 16px 22px 16px 38px; font-size: 13px; }
.btn--sm { min-width: 0; padding: 12px 18px 12px 26px; font-size: 12px; }
.btn--block { width: 100%; min-width: 0; }
.btn--tall { padding: 22px 22px; font-size: 13px; letter-spacing: 0.1em; }
.btn--compact { padding: 12px 18px 12px 24px; font-size: 13px; }

.btn__arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn--dark .btn__arrow { color: var(--ink); }
.btn--tall .btn__arrow { display: none; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 720px;
  padding: 0;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: rgba(24, 24, 24, 0.53);
  z-index: 1;
}
.nav {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 38px var(--gutter) 0;
  gap: 48px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
}
.nav__logo img { height: 44px; width: auto; display: block; }
.nav__links {
  display: flex; gap: 44px;
  flex: 1; justify-content: center;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.nav__links a { opacity: 0.95; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

.hero__content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px var(--gutter) 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.hero__content .display { max-width: 880px; }
.hero__lead {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 300;
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.hero__trust {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
  display: flex;
  justify-content: flex-end;
}
.hero__trust {
  display: flex;
}
.hero__trust {
  gap: 0;
}
.hero__trust {
  background: transparent;
}
.hero__trust > .trust__item:first-child { padding-left: 0; }
.hero__trust {
  /* card-like band */
}

.hero__trust {
  /* override: become a card */
  display: flex;
}

/* Card wrapper for hero trust */
.hero__trust {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 28px 48px;
  margin: -40px auto 80px;
  max-width: 820px;
  justify-content: space-between;
  gap: 40px;
}
.trust__item {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.trust__icon {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: #fff;
}

/* ─── ABOUT (image + intro) ─── */
.about {
  background: var(--bg);
  padding: 100px 0;
}
.about__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.about__image {
  position: relative;
  aspect-ratio: 613 / 749;
}
.img-frame {
  width: 100%; height: 100%;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
}
.about__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.about__copy .body-lg { margin-top: 0; }

.badge-card {
  position: absolute;
  left: -32px; bottom: -36px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 18px 32px 18px 22px;
  border-radius: 28px;
  font-size: 18px;
  font-weight: 300;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2;
}
.badge-card--light {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: #353535;
}
.badge-card--on-dark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  left: auto; right: -32px; bottom: -36px;
}
.badge-card__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* Decorative icon (parallelogram stack) */
.deco-icon {
  position: absolute;
  width: 115px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}
.deco-icon--top-left { top: -52px; left: -56px; }

/* ─── PARTNERS ─── */
.partners {
  padding: 80px 0 120px;
  background: var(--bg);
}
.partners__title {
  text-align: center;
  margin-bottom: 56px;
}
.partners__row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.partner-card {
  height: 88px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  color: var(--ink);
}
.partner-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ─── SERVICES ─── */
.services {
  background: #fff;
  padding: 130px 0;
}
.section-head {
  max-width: var(--container);
  margin: 0 auto 72px;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.section-head--centered { align-items: center; text-align: center; }
.section-head__lead {
  max-width: 720px;
  margin-top: 6px;
}

.services__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-card {
  background: rgba(235, 235, 235, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 32px;
  padding: 42px 38px 36px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 480px;
}
.service-card__icon {
  width: 56px; height: 56px;
  color: var(--green);
  margin-bottom: 8px;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.service-card p {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.service-card .btn { align-self: stretch; }

/* ─── PHOTOVOLTAIK ─── */
.photovoltaik {
  background: var(--bg);
  padding: 130px 0;
}
.photovoltaik__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.photovoltaik__image {
  position: relative;
  aspect-ratio: 694 / 597;
}
.photovoltaik__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.photovoltaik__copy .body-lg { margin-top: 0; }

/* ─── CALCULATOR ─── */
.calc {
  background: #fff;
  padding: 90px 0;
}
.calc__card {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.calc__card {
  /* card with split */
  position: relative;
}
.calc__card {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
}
.calc__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 38px;
  margin-left: auto; margin-right: auto;
  max-width: 920px;
}
.calc__col { display: flex; flex-direction: column; gap: 16px; }
.calc__divider {
  background: rgba(0, 0, 0, 0.16);
  width: 1px;
}
.calc__head h3 {
  font-family: "Poppins";
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.calc__head .muted-i { font-size: 12.5px; margin-top: 2px; }

/* Form fields */
.field { display: flex; flex-direction: column; gap: 14px; }
.field__label {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
}
/* Compact fields inside the calculator */
.calc__col .field { gap: 7px; }
.calc__col .field__label { font-size: 13px; }
.calc__col .field input {
  padding: 11px 16px;
  font-size: 14px;
  border-radius: 12px;
  border-color: var(--line);
}
.field input, .field textarea {
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  padding: 20px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  outline: none;
}
.field textarea {
  border-radius: 28px;
  resize: vertical;
  min-height: 120px;
}
.field input:focus, .field textarea:focus { border-color: var(--green); }

/* slider */
.slider { padding: 4px 6px 0; }
.slider__track {
  position: relative;
  height: 4px;
  background: rgba(0, 0, 0, 0.24);
  border-radius: 4px;
}
.slider__fill {
  position: absolute; left: 0; top: 0; height: 100%;
  width: 40%;
  background: var(--green);
  border-radius: 4px;
}
.slider__thumb {
  position: absolute;
  left: 40%; top: 50%;
  width: 18px; height: 18px;
  background: var(--green);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(78, 135, 88, 0.18);
}
.slider__labels {
  display: flex; justify-content: space-between;
  margin-top: 14px;
  font-size: 13px; color: var(--ink-soft); font-weight: 300;
}
.slider__labels span:last-child { font-style: italic; color: var(--ink); }

/* choice row */
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  color: var(--ink);
  transition: all 0.15s ease;
}
.choice:hover { border-color: var(--green); color: var(--green); }
.choice--active { border-color: #000; color: #000; }
.choice--muted { color: rgb(182, 182, 182); }

/* result */
.result-hero {
  border: 1px solid rgba(78, 135, 88, 0.25);
  border-radius: 16px;
  background: rgba(78, 135, 88, 0.08);
  padding: 18px 20px;
  text-align: center;
}
.result-hero__value {
  font-size: 40px;
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 1;
  color: var(--green-700);
}
.result-hero__caption {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: 6px;
}

.result-list {
  display: grid;
  gap: 0;
  margin: 0;
}
.result-list > div {
  display: flex; justify-content: space-between;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.result-list dt {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-soft);
}
.result-list dd {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.result-hint {
  margin-top: 4px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(78, 135, 88, 0.08);
  border: 1px solid rgba(78, 135, 88, 0.22);
  color: var(--green-700);
  font-size: 12.5px;
  line-height: 1.5;
  display: none;
}
.result-hint.is-visible { display: block; }
.result-hint--warn {
  background: rgba(255, 196, 64, 0.12);
  border-color: rgba(214, 165, 30, 0.35);
  color: #8a6510;
}

/* ─── WHY ISABAU ─── */
.why {
  background: var(--bg);
  padding: 130px 0;
}
.why__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why__head { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; margin-bottom: 48px; }
.why__head .body-lg { margin: 0; max-width: 540px; }
.why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}
.vorteil h4 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  color: var(--ink);
}
.vorteil p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
  text-align: left;
}
.why__image {
  position: relative;
  aspect-ratio: 1207 / 1269;
}

/* ─── REFERENZEN ─── */
.referenzen {
  background: #fff;
  padding: 130px 0;
}
.referenzen__head {
  max-width: var(--container);
  margin: 0 auto 72px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.referenzen__head .pill { margin-bottom: 14px; }
.referenzen__head .body-lg { margin: 0; }
.referenzen__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ref-card {
  background: rgba(235, 235, 235, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ref-card__img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.ref-card__body {
  padding: 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.ref-card__body h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
.ref-card__body p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
  line-height: 1.7;
}
.referenzen__cta {
  display: flex; justify-content: center;
  margin-top: 60px;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  background: var(--bg);
  padding: 130px 0 100px;
}
.testimonials__row {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.testimonials__intro {
  display: flex; flex-direction: column;
  gap: 18px;
  padding-right: 12px;
  position: relative;
}
.testimonials__quote-mark {
  width: 64px; height: auto;
  margin-bottom: 12px;
}
.testimonials__intro h3 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #282828;
  margin: 0;
}
.progress {
  margin-top: auto;
  padding-top: 30px;
}
.progress__bar {
  position: relative;
  height: 4px;
  background: rgba(135, 135, 135, 0.32);
  border-radius: 4px;
  width: 220px;
}
.progress__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 42%;
  background: var(--green);
  border-radius: 4px;
}
.arrows {
  display: flex; gap: 12px;
  margin-top: 24px;
}
.arrow {
  width: 46px; height: 46px;
  border: 1px solid rgb(193, 193, 193);
  background: #fff;
  cursor: pointer;
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0;
}
.arrow:hover { background: var(--green); color: #fff; }

.testimonial {
  background: #fff;
  border: 1px solid rgba(41, 22, 111, 0.18);
  padding: 32px 32px 28px;
  display: flex; flex-direction: column; gap: 22px;
  border-radius: 0;
}
.testimonial p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #282828;
  margin: 0;
  flex: 1;
}
.testimonial__person { display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 48px; height: 48px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.avatar--photo { padding: 0; overflow: hidden; }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial__name { font-weight: 700; font-size: 18px; color: #282828; line-height: 1.2; }
.testimonial__where { font-size: 13px; font-style: italic; color: #282828; }

/* ─── CTA BANNER ─── */
.cta-banner {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.cta-banner__overlay {
  position: absolute; inset: 0;
  background: rgba(24, 24, 24, 0.6);
}
.cta-banner__content {
  position: relative; z-index: 2;
  max-width: 820px;
  text-align: center;
  padding: 80px var(--gutter);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.cta-banner__content p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
  max-width: 680px;
}

/* ─── CONTACT ─── */
.contact {
  background: var(--bg);
  padding: 130px 0;
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.contact__info .body-lg { margin: 0 0 8px; }
.contact__list {
  list-style: none;
  padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column;
  gap: 28px;
  width: 100%;
}
.contact__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  align-items: start;
}
.contact__icon {
  width: 40px; height: 40px;
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact__label {
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.contact__form {
  background: #F3F3F3;
  border: 1px solid rgba(48, 27, 126, 0.3);
  border-radius: 28px;
  padding: 44px 44px 42px;
  display: flex; flex-direction: column; gap: 18px;
}
.contact__form h3 {
  font-family: "Poppins";
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: #282828;
  margin: 0;
  line-height: 1.2;
}
.contact__form-sub {
  font-size: 15px;
  color: #282828;
  margin: 0 0 10px;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--footer);
  color: #fff;
  padding: 100px 0 40px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.footer__brand img {
  height: 64px;
  width: auto;
  display: block;
}
.footer__col h5 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 18px;
  color: #fff;
}
.footer__col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
}
.footer__col ul a:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 24px var(--gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.6);
}
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: #fff; }

/* ─── Responsive (basic) ─── */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .calc__card { grid-template-columns: 1fr; padding: 40px 32px; }
  .calc__divider { display: none; }
  .partners__row { grid-template-columns: repeat(3, 1fr); }
  .referenzen__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__row { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .about__inner, .photovoltaik__inner, .why__inner, .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .why__head, .why__head .body-lg { text-align: left; align-items: flex-start; }
  .why__head .h-display { text-align: left; }
  .why__cards { grid-template-columns: 1fr; gap: 28px; }
  .services__grid { grid-template-columns: 1fr; }
  .partners__row { grid-template-columns: repeat(2, 1fr); }
  .referenzen__head { grid-template-columns: 1fr; }
  .referenzen__grid { grid-template-columns: 1fr; }
  .testimonials__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__trust { flex-direction: column; gap: 16px; }
  .badge-card { position: relative; left: 0; right: 0; bottom: 0; margin-top: -32px; }
  .nav { padding: 24px var(--gutter) 0; }
  .btn--wide { min-width: 0; width: 100%; }
}

/* ─────────────────────────────────────────────
   SUBPAGES — shared components
───────────────────────────────────────────────*/

/* Page hero: shorter dark hero for subpages */
.page-hero-section {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  padding-bottom: 80px;
}
.page-hero-section .hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero-section .hero__overlay { position: absolute; inset: 0; background: rgba(24, 24, 24, 0.58); z-index: 1; }
.page-hero-section__content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--gutter) 60px;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.page-hero-section h1 {
  font-family: "Poppins";
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
  max-width: 900px;
}
.page-hero-section__lead {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 760px;
}
.page-hero-section__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* Breadcrumb */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter) 0;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-soft); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--ink-light); }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* Generic section */
.section {
  padding: 110px 0;
  background: var(--bg);
}
.section--alt { background: #fff; }
.section--dark { background: var(--footer); color: #fff; }
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section__head {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 820px;
}
.section__head--centered { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.section h2.h-display { margin: 0; }
.section .body-lg { margin: 0; }

/* Two-column intro (image + text) */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-2--imgleft { /* alternate */ }
.split-2 .copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.split-2 .copy p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink-soft); font-weight: 300; }
.split-2 .img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: #d6d6d6;
}
.split-2 .img-wrap .img-frame {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
}

/* Service overview grid (Leistungen 2x2) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.svc-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px -26px rgba(60, 60, 59, 0.28);
  border-color: rgba(78, 135, 88, 0.4);
}
.svc-card.featured { border: 2px solid var(--green); }
.svc-card__img {
  height: 240px;
  background-size: cover; background-position: center;
  background-color: #d6d6d6;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-card:hover .svc-card__img { transform: scale(1.04); }
.svc-card__body {
  padding: 32px 32px 28px;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.svc-card__meta {
  font-size: 11px;
  color: var(--ink-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.svc-card__badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: max-content;
  margin-bottom: 4px;
}
.svc-card h3 {
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.04em; line-height: 1.15;
  margin: 0; color: var(--ink);
}
.svc-card p {
  font-size: 15px; font-weight: 300;
  color: var(--ink-soft); line-height: 1.7;
  margin: 0;
}
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(78, 135, 88, 0.08);
  border: 1px solid rgba(78, 135, 88, 0.22);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.svc-card__footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.svc-card__footer .more-link {
  font-size: 14px; font-weight: 500;
  color: var(--green);
  position: relative;
  transition: color 0.2s ease;
}
.svc-card__footer .more-link::after {
  content: "→";
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.3s ease;
}
.svc-card__footer .more-link:hover { color: var(--green-700); }
.svc-card__footer .more-link:hover::after { transform: translateX(4px); }
.svc-card__quick {
  font-size: 12px; color: var(--ink-light); font-style: italic;
}

/* Combo banner */
.combo-banner {
  margin-top: 48px;
  background: var(--footer);
  color: #fff;
  border-radius: 28px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
}
.combo-banner h3 {
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.04em; line-height: 1.2;
  margin: 0 0 12px; color: #fff;
}
.combo-banner p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 16px; line-height: 1.65; font-weight: 300; }
.combo-banner .pill--on-dark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
  margin-bottom: 14px;
}
.combo-banner__cta { text-align: right; }

/* USP / "Why us" 4-grid (reuses vorteil-like style but with icon) */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.usp-grid--5 { grid-template-columns: repeat(5, 1fr); gap: 24px; }
.usp-item { display: flex; flex-direction: column; gap: 12px; }
.usp-item .usp-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(78, 135, 88, 0.1);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}
.usp-item:hover .usp-icon { background: var(--green); color: #fff; transform: scale(1.08); }
.usp-item h4 {
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.02em; margin: 0; color: var(--ink);
}
.usp-item p {
  font-size: 14px; font-weight: 300;
  color: var(--ink-soft); margin: 0; line-height: 1.7;
}

/* Pillars (numbered list cards) */
.pillars { display: flex; flex-direction: column; gap: 16px; }
.pillar {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 28px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar:hover {
  border-color: rgba(78, 135, 88, 0.4);
  transform: translateX(4px);
  box-shadow: 0 16px 32px -20px rgba(60, 60, 59, 0.2);
}
.pillar h3 {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.03em; margin: 0 0 8px; color: var(--ink);
}
.pillar h4 {
  font-size: 18px; font-weight: 500;
  margin: 0 0 6px; color: var(--ink);
}
.pillar p {
  font-size: 15px; font-weight: 300;
  color: var(--ink-soft); margin: 0; line-height: 1.7;
}
.pillar__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* PV solution cards (Photovoltaik subpage) */
.pv-solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pv-solution {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  overflow: hidden;
}
.pv-solution:hover {
  transform: translateY(-6px);
  border-color: rgba(78, 135, 88, 0.4);
  box-shadow: 0 26px 56px -28px rgba(60, 60, 59, 0.3);
}
.pv-solution--featured {
  background: linear-gradient(165deg, var(--green) 0%, var(--green-700) 100%);
  color: #fff;
  border-color: var(--green-700);
}
.pv-solution.pv-solution--featured h3 { color: #fff; }
.pv-solution.pv-solution--featured p { color: rgba(255, 255, 255, 0.92); }
.pv-solution--featured .pv-solution__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.pv-solution--featured .pv-solution__tags .tag {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.pv-solution--featured .pv-solution__badge {
  background: #fff;
  color: var(--green-700);
}
.pv-solution__badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--green);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
}
.pv-solution__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(78, 135, 88, 0.12);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
  margin-bottom: 4px;
}
.pv-solution:hover .pv-solution__icon { transform: scale(1.08) rotate(-3deg); }
.pv-solution h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.pv-solution p {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
  color: var(--ink-soft);
}
.pv-solution__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  text-align: left;
}
.stat-item .stat-number {
  font-size: 52px; font-weight: 400;
  letter-spacing: -0.05em; line-height: 1; color: var(--green);
}
.stat-item .stat-label {
  font-size: 13px; font-weight: 300;
  color: var(--ink-soft); line-height: 1.5;
}

/* Steps (numbered process) */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.step {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(78, 135, 88, 0.4);
}
.step__number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 16px;
  margin-bottom: 4px;
}
.step h4 { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.step p { font-size: 13px; font-weight: 300; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 920px; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: rgba(78, 135, 88, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-item summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 300;
  color: var(--green);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
}

/* CTA section (dark with background image) */
.cta-section {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cta-section__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.cta-section__overlay { position: absolute; inset: 0; background: rgba(24, 24, 24, 0.65); z-index: 1; }
.cta-section__content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 80px var(--gutter);
  max-width: 820px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.cta-section h2 {
  font-family: "Poppins"; font-weight: 400;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.1; letter-spacing: -0.04em;
  color: #fff; margin: 0;
}
.cta-section p {
  font-size: 18px; line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 680px;
}
.cta-section__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; justify-content: center; }

/* Reference card with tag + specs */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ref-card-rich {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}
.ref-card-rich:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px -22px rgba(60, 60, 59, 0.28);
  border-color: rgba(78, 135, 88, 0.4);
}
.ref-card-rich__img {
  height: 220px;
  background-size: cover; background-position: center;
  background-color: #d6d6d6;
  transition: transform 0.9s ease;
}
.ref-card-rich:hover .ref-card-rich__img { transform: scale(1.05); }
.ref-card-rich__body {
  padding: 24px 26px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.ref-tag {
  display: inline-block;
  background: rgba(78, 135, 88, 0.1);
  color: var(--green-700);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: max-content;
}
.ref-card-rich__meta {
  font-size: 11px;
  color: var(--ink-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}
.ref-card-rich h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
.ref-card-rich p {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 300;
  margin: 0;
  line-height: 1.7;
  flex: 1;
}
.ref-specs {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.ref-specs > div {
  font-size: 13px; color: var(--ink-soft);
}
.ref-specs strong {
  display: block;
  font-size: 11px;
  color: var(--ink-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2px;
}

/* Section head with count badge */
.section__head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 20px;
  margin-bottom: 40px;
}
.section__head-row .count {
  font-size: 14px;
  color: var(--ink-light);
  font-style: italic;
}

/* Featured reference (large 60/40 split) */
.featured-ref {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 3fr 2fr;
  margin-top: 40px;
}
.featured-ref__img {
  min-height: 480px;
  background-size: cover; background-position: center;
  background-color: #d6d6d6;
}
.featured-ref__body { padding: 48px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.featured-ref__body h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.04em; margin: 0; color: var(--ink); }
.featured-ref__body p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); font-weight: 300; margin: 0; }
.featured-ref__meta {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-light); margin: 0; font-weight: 500;
}
.featured-ref__quote {
  background: var(--bg);
  border-left: 3px solid var(--green);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  margin-top: 8px;
}
.featured-ref__quote-author {
  font-style: normal;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  display: block;
}

/* Testimonial mini-card */
.testi-mini {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testi-mini:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -20px rgba(60,60,59,0.22); }
.testi-mini__stars { color: var(--green); font-size: 15px; letter-spacing: 0.15em; }
.testi-mini p { font-size: 15px; line-height: 1.65; color: var(--ink); margin: 0; font-style: italic; font-weight: 300; }
.testi-mini__author {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.testi-mini__author strong { font-size: 14px; font-weight: 500; color: var(--ink); display: block; }
.testi-mini__author span { font-size: 12px; color: var(--ink-soft); font-style: italic; }

/* Value cards (numbered, e.g. Über uns) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--green);
  box-shadow: 0 18px 36px -22px rgba(78, 135, 88, 0.3);
}
.value-card__num {
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.1em;
}
.value-card h4 {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.03em; margin: 0; color: var(--ink);
}
.value-card p {
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.65; font-weight: 300; margin: 0;
}

/* Team grid (legacy) + slider */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 16px;
}
.team-slider {
  position: relative;
  margin-top: 16px;
}
.team-slider__track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 4px 28px;
}
.team-slider__track::-webkit-scrollbar { display: none; }
.team-slider .team-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  max-width: 260px;
}
.team-slider__controls {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
}
.team-slider__progress {
  position: relative;
  height: 3px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  flex: 1;
  max-width: 320px;
}
.team-slider__thumb {
  position: absolute;
  top: 0; bottom: 0;
  background: var(--green);
  border-radius: 2px;
  width: 35%;
  left: 0;
  transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-slider__arrows {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.team-slider__arrow {
  width: 46px; height: 46px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  color: var(--green);
  cursor: pointer;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, transform 0.25s ease;
  font-family: inherit;
}
.team-slider__arrow:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  transform: translateY(-1px);
}
.team-slider__arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.team-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 32px 28px;
  flex: 0 0 calc((100% - 96px) / 4);
  max-width: 280px;
  display: flex; flex-direction: column; gap: 6px;
  text-align: center;
  align-items: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(60,60,59,0.22); }
.team-card__photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 55%),
    linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%);
  background-size: cover; background-position: center;
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: "Poppins";
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
}
.team-card__photo::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  right: 14px; bottom: 14px;
}
.team-card__photo--has-photo {
  background: var(--bg);
  background-size: cover; background-position: center;
}
.team-card__photo--has-photo::after { display: none; }

/* Team divisions (Dach + PV) */
.team-divisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.team-division {
  border-radius: 28px;
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
}
.team-division--dach {
  background: linear-gradient(170deg, rgba(78, 135, 88, 0.08) 0%, rgba(78, 135, 88, 0.02) 100%);
  border: 1px solid rgba(78, 135, 88, 0.25);
}
.team-division--pv {
  background: linear-gradient(170deg, rgba(241, 196, 64, 0.12) 0%, rgba(241, 196, 64, 0.04) 100%);
  border: 1px solid rgba(214, 165, 30, 0.3);
}
.team-division__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.team-division__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.team-division--dach .team-division__icon { background: var(--green); }
.team-division--pv .team-division__icon { background: #e6b21f; }
.team-division__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
.team-division__subtitle {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin: 2px 0 0;
}

.team-leader {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-division--dach .team-leader { border-color: var(--green); }
.team-division--pv .team-leader { border-color: #e6b21f; }
.team-leader:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(60, 60, 59, 0.22); }
.team-leader__photo {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: "Poppins";
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.team-division--dach .team-leader__photo {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 55%),
    linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%);
}
.team-division--pv .team-leader__photo {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.25), transparent 55%),
    linear-gradient(135deg, #f1c440 0%, #c4901c 100%);
}
.team-leader__body { display: flex; flex-direction: column; gap: 2px; }
.team-leader__role {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-light); font-weight: 500;
  margin: 0;
}
.team-division--dach .team-leader__role { color: var(--green-700); }
.team-division--pv .team-leader__role { color: #c4901c; }
.team-leader__name {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0; color: var(--ink);
}
.team-leader__title {
  font-size: 14px; color: var(--ink-soft);
  font-weight: 300; line-height: 1.5;
  margin: 4px 0 0;
}

.team-members {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.team-member {
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.team-member:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(60, 60, 59, 0.22); }
.team-member__photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: "Poppins";
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
  position: relative;
  overflow: hidden;
}
.team-division--dach .team-member__photo {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 55%),
    linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%);
}
.team-division--pv .team-member__photo {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.25), transparent 55%),
    linear-gradient(135deg, #f1c440 0%, #c4901c 100%);
}
.team-member__name {
  font-size: 14px; font-weight: 500;
  margin: 4px 0 0; color: var(--ink);
  line-height: 1.2;
}
.team-member__role {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.4;
}
.team-card h4 { font-size: 19px; font-weight: 500; margin: 0; color: var(--ink); }
.team-card__role {
  font-size: 12px; color: var(--green);
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; margin: 0;
}
.team-card p { font-size: 14px; color: var(--ink-soft); font-weight: 300; line-height: 1.65; margin: 8px 0 0; }

/* Contact card (Kontakt-Page) */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.contact-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 32px;
  display: flex; gap: 22px; align-items: flex-start;
  transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 135, 88, 0.4);
  box-shadow: 0 18px 36px -20px rgba(60, 60, 59, 0.22);
}
.contact-card.featured { border: 2px solid var(--green); }
.contact-card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(78, 135, 88, 0.1);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card__body { display: flex; flex-direction: column; gap: 6px; }
.contact-card h4 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-light); font-weight: 500; margin: 0;
}
.contact-card__big { font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; line-height: 1.3; margin: 0; }
.contact-card p { font-size: 14px; color: var(--ink-soft); font-weight: 300; margin: 0; line-height: 1.6; }
.contact-card a.link { color: var(--green); font-weight: 500; font-size: 14px; transition: color 0.2s ease; }
.contact-card a.link:hover { color: var(--green-700); }
.contact-card a.link::after { content: " →"; }
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  margin-top: 4px;
}
.hours-grid .day { color: var(--ink-soft); font-size: 14px; }
.hours-grid .time { color: var(--ink); font-size: 14px; font-weight: 500; }

/* Persons grid (Kontakt) */
.persons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.person-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 32px 28px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.person-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(60,60,59,0.22); }
.person-card__photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--bg);
  margin-bottom: 12px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--ink-light);
}
.person-card h4 { font-size: 18px; font-weight: 500; margin: 0; color: var(--ink); }
.person-card__role {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); font-weight: 500;
  margin: 0 0 10px;
}
.person-card p { font-size: 14px; color: var(--ink-soft); font-weight: 300; margin: 0; line-height: 1.65; }
.person-card__contact {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 14px; margin-top: 14px;
  width: 100%;
  font-size: 14px; color: var(--ink-soft); font-weight: 300;
  line-height: 1.7;
}

/* Emergency banner */
.emergency {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.emergency .img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
}
.emergency .img-wrap .img-frame { width: 100%; height: 100%; background-size: cover; background-position: center; }

/* Materials grid (Spenglerei) */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.material-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s ease, border-color 0.3s ease;
}
.material-card:hover { transform: translateY(-4px); border-color: rgba(78, 135, 88, 0.4); }
.material-card__img {
  height: 140px;
  background-size: cover; background-position: center;
  background-color: #d6d6d6;
}
.material-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.material-card h4 { font-size: 18px; font-weight: 500; margin: 0; color: var(--ink); }
.material-card p { font-size: 13px; color: var(--ink-soft); font-weight: 300; margin: 0; line-height: 1.6; }

/* Map full-width */
.map-big {
  height: 480px;
  border-radius: 24px;
  background: #d6d6d6;
  background-size: cover; background-position: center;
  margin-top: 16px;
  overflow: hidden;
}
.map-big iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Audience / "for whom" cards */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.audience-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}
.audience-card:hover { transform: translateY(-4px); border-color: rgba(78, 135, 88, 0.4); box-shadow: 0 18px 36px -20px rgba(60,60,59,0.22); }
.audience-card .usp-icon { width: 52px; height: 52px; }
.audience-card h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; margin: 0; color: var(--ink); }
.audience-card p { font-size: 15px; color: var(--ink-soft); font-weight: 300; margin: 0; line-height: 1.7; }

/* Mobile nav menu (subpage) */
.nav__menu-toggle {
  display: none;
  background: none; border: 0; color: inherit;
  cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  font-size: 22px;
}

/* Subpage nav variant (light, used when there's no hero) */
.nav--solid {
  position: relative;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav--solid .nav__links a { color: var(--ink); }
.nav--solid .nav__links a:hover { color: var(--green); }

/* Make sub-page form inputs work without .field wrapper */
.newsletter-form {
  display: flex; gap: 12px; margin-top: 16px;
  max-width: 480px;
}
.newsletter-form input {
  flex: 1;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(78, 135, 88, 0.12);
}

/* Subpage responsive */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-ref { grid-template-columns: 1fr; }
  .featured-ref__img { min-height: 320px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card { flex: 0 0 calc((100% - 32px) / 2); }
  .contact-cards { grid-template-columns: 1fr; }
  .persons-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .pv-solutions { grid-template-columns: repeat(2, 1fr); }
  .usp-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .team-divisions { grid-template-columns: 1fr; }
  .split-2 { grid-template-columns: 1fr; gap: 40px; }
  .emergency { grid-template-columns: 1fr; gap: 40px; }
  .combo-banner { grid-template-columns: 1fr; padding: 36px; }
  .combo-banner__cta { text-align: left; }
}
@media (max-width: 760px) {
  .page-hero-section__content { padding: 60px var(--gutter) 40px; }
  .usp-grid, .stats-grid, .steps, .ref-grid, .value-grid, .materials-grid, .pv-solutions, .usp-grid--5 { grid-template-columns: 1fr; }
  .team-members { grid-template-columns: 1fr; }
  .team-leader { flex-direction: column; text-align: center; }
  .team-card { flex: 0 0 100%; }
  .team-slider .team-card { flex: 0 0 240px; max-width: 240px; }
  .team-slider__controls { flex-wrap: wrap; gap: 16px; }
  .team-slider__arrows { margin-left: 0; }
  .section { padding: 70px 0; }
  .section__head { margin-bottom: 36px; }
  .featured-ref__body { padding: 32px 24px; }
  .nav__menu-toggle { display: inline-flex; }
}

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────────*/

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Hero entrance ── */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hero-bg-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero__bg {
  animation: hero-bg-zoom 1.8s ease-out both;
}
.hero__content > * {
  opacity: 0;
  animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__content > *:nth-child(1) { animation-delay: 0.15s; }
.hero__content > *:nth-child(2) { animation-delay: 0.3s; }
.hero__content > *:nth-child(3) { animation-delay: 0.45s; }
.hero__content > *:nth-child(4) { animation-delay: 0.6s; }
.hero__trust {
  opacity: 0;
  animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal--left  { transform: translate3d(-40px, 0, 0); }
.reveal--right { transform: translate3d(40px, 0, 0); }
.reveal--left.is-visible,
.reveal--right.is-visible { transform: translate3d(0, 0, 0); }

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

/* ── Sticky nav scroll behavior ── */
.nav {
  transition: background-color 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.is-scrolled {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  max-width: none;
  padding: 14px var(--gutter);
  margin: 0;
  background: rgba(24, 24, 24, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: nav-slide-down 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes nav-slide-down {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.nav__links a {
  position: relative;
  transition: opacity 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav__links a:hover { text-decoration: none; }
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ── Buttons: shine + arrow slide + lift ── */
.btn {
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.28s ease,
              box-shadow 0.28s ease;
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}
.btn:hover::before { left: 130%; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(78, 135, 88, 0.55);
}
.btn--dark:hover {
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
}
.btn:active { transform: translateY(0); transition-duration: 0.08s; }
.btn > span { position: relative; z-index: 2; }

.btn__arrow {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.28s ease,
              color 0.28s ease;
  position: relative;
  overflow: hidden;
}
.btn__arrow svg {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover .btn__arrow {
  transform: rotate(45deg);
}
.btn:hover .btn__arrow svg {
  transform: translate(2px, -2px);
}

/* ── Pills: subtle hover ── */
.pill {
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.pill:hover {
  transform: translateY(-1px);
}

/* ── Service cards: lift + icon pop ── */
.service-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease,
              border-color 0.3s ease,
              background-color 0.3s ease;
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: rgba(78, 135, 88, 0.4);
  box-shadow: 0 22px 50px -22px rgba(60, 60, 59, 0.25);
}
.service-card__icon {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.service-card:hover .service-card__icon {
  transform: translateY(-4px) scale(1.06);
  color: var(--green-700);
}

/* ── Image frames: zoom on hover, deco icon float ── */
.about__image, .photovoltaik__image, .why__image {
  overflow: visible;
}
.about__image .img-frame,
.photovoltaik__image .img-frame,
.why__image .img-frame {
  overflow: hidden;
  position: relative;
}
.about__image .img-frame::before,
.photovoltaik__image .img-frame::before,
.why__image .img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.about__image:hover .img-frame,
.photovoltaik__image:hover .img-frame,
.why__image:hover .img-frame {
  /* parent stays; we transform the frame itself */
}
.img-frame {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.about__image:hover .img-frame,
.photovoltaik__image:hover .img-frame,
.why__image:hover .img-frame {
  transform: scale(1.03);
}

/* deco-icon: gentle float */
@keyframes deco-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-2deg); }
}
.deco-icon {
  animation: deco-float 6s ease-in-out infinite;
}

/* badge-card: subtle entrance + hover scale */
.badge-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}
.badge-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 38px -14px rgba(0, 0, 0, 0.25);
}

/* ── Ref card hover ── */
.ref-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease,
              border-color 0.3s ease;
  overflow: hidden;
}
.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(60, 60, 59, 0.3);
  border-color: rgba(78, 135, 88, 0.4);
}
.ref-card__img {
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.ref-card:hover .ref-card__img {
  transform: scale(1.08);
}

/* ── Partner cards: hover ── */
.partner-card {
  transition: transform 0.35s ease, border-color 0.3s ease, background 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(78, 135, 88, 0.4);
}

/* ── Calculator inputs & choices ── */
.field input, .field textarea {
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(78, 135, 88, 0.12);
}
.choice {
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.choice:hover {
  transform: translateY(-1px);
  background: #fff;
}
.choice--active {
  background: var(--ink);
  color: #fff !important;
}

/* slider thumb hover */
.slider__thumb {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: grab;
}
.slider__thumb:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 0 8px rgba(78, 135, 88, 0.22);
}

/* ── Testimonials arrows ── */
.arrow {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.arrow:hover {
  transform: translateY(-1px);
  border-color: var(--green);
}
.testimonial {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(40, 40, 40, 0.22);
}

/* progress fill animation */
@keyframes progress-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.75; }
}
.progress__fill {
  animation: progress-pulse 3s ease-in-out infinite;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Footer links ── */
.footer__col ul a {
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer__col ul a:hover {
  transform: translateX(4px);
}

/* ── Trust band items: subtle stagger on load ── */
.trust__item .trust__icon {
  transition: transform 0.4s ease;
}
.trust__item:hover .trust__icon {
  transform: scale(1.2) rotate(8deg);
}

/* ── Ripple ── */
.btn > .btn__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: btn-ripple 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}
@keyframes btn-ripple {
  to { transform: scale(2.6); opacity: 0; }
}

/* ── Testimonial fade transition ── */
.testimonial {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.4s ease,
              box-shadow 0.4s ease;
}

/* ── Focus visible (a11y) ── */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.pill:focus-visible,
.choice:focus-visible {
  outline-offset: 4px;
}

/* ─────────────────────────────────────────────
   Header Mega-Menu (Leistungen dropdown)
───────────────────────────────────────────────*/
.nav__mega-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.95;
}
.nav__caret {
  opacity: 0.75;
  transition: transform 0.3s ease;
}
.nav__mega-wrap:hover .nav__caret,
.nav__mega-wrap:focus-within .nav__caret {
  transform: rotate(180deg);
}

/* Panel */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(720px, 90vw);
  transform: translateY(10px);
  margin-top: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
}
/* Invisible bridge so the cursor can cross the gap without closing */
.mega::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.nav__mega-wrap:hover .mega,
.nav__mega-wrap:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Kill the inherited nav underline + opacity inside the panel */
.mega a { opacity: 1; }
.mega a::after { display: none; }
.mega a:hover { text-decoration: none; }

.mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.mega__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 16px;
  text-align: left;
  letter-spacing: normal;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.mega__card:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}
.mega__icon {
  color: var(--green);
  transition: color 0.2s ease;
}
.mega__icon svg {
  width: 30px;
  height: 30px;
  display: block;
}
.mega__card:hover .mega__icon { color: var(--green-700); }
.mega__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mega__desc {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: normal;
}

/* Combo line: Dach + Anlage */
.mega__combo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(78, 135, 88, 0.1);
  border: 1px solid rgba(78, 135, 88, 0.35);
  letter-spacing: normal;
  transition: background-color 0.2s ease;
}
.mega__combo:hover { background: rgba(78, 135, 88, 0.18); }
.mega__combo-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--green);
}
.mega__combo-text {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: normal;
}
.mega__combo-text strong {
  font-weight: 500;
  color: var(--green-700);
}
.mega__combo-arrow {
  display: flex;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--green);
  transition: transform 0.2s ease;
}
.mega__combo:hover .mega__combo-arrow { transform: translateX(4px); }

/* Ensure [hidden] always wins over component display rules */
[hidden] { display: none !important; }

/* ─────────────────────────────────────────────
   Calculator → contact capture (Formspree)
───────────────────────────────────────────────*/
.calc-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.calc-contact__grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-contact__status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--green-700);
  background: rgba(78, 135, 88, 0.1);
  border: 1px solid rgba(78, 135, 88, 0.28);
}
.calc-contact__status.is-error {
  color: #8a2424;
  background: rgba(190, 50, 50, 0.08);
  border-color: rgba(190, 50, 50, 0.3);
}

/* ─────────────────────────────────────────────
   Vorzeigeprojekt: Eckdaten + Foto-Galerie
───────────────────────────────────────────────*/
.ref-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 4px 0 2px;
}
.ref-stat { display: flex; flex-direction: column; gap: 2px; }
.ref-stat__num {
  font-size: 22px; font-weight: 500; color: var(--green-700);
  letter-spacing: -0.02em; line-height: 1.1;
}
.ref-stat__label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-light); font-weight: 500;
}
.ref-feats { display: flex; flex-wrap: wrap; gap: 8px; }

.ref-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.ref-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ref-gallery img:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.4);
}
@media (max-width: 760px) {
  .ref-gallery { grid-template-columns: repeat(2, 1fr); }
  .ref-stats { gap: 20px; }
}

/* Footer-Tagline (Gebäudehülle / Bedachungen) */
.footer__tagline {
  margin: 14px 0 0;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

/* ─────────────────────────────────────────────
   Mobile-Navigation (Hamburger + Drawer)
───────────────────────────────────────────────*/
.nav__burger { display: none; }

@media (max-width: 1100px) {
  .nav__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 0;
    margin-left: auto;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 2;
  }
  .nav__burger span {
    display: block;
    width: 26px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), opacity 0.2s ease;
  }
  .nav__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-active span:nth-child(2) { opacity: 0; }
  .nav__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Standalone-Offerte-Button auf Mobile ausblenden (steckt im Drawer) */
  .nav > .btn--green { display: none; }
}

.mobile-nav {
  position: fixed; inset: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav.is-open { visibility: visible; pointer-events: auto; }

.mobile-nav__backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }

.mobile-nav__panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: #1b1b1b;
  padding: 22px 24px 36px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.6);
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__close {
  align-self: flex-end;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 0; border-radius: 50%;
  color: #fff; cursor: pointer;
  margin-bottom: 14px;
  transition: background-color 0.2s ease;
}
.mobile-nav__close:hover { background: rgba(255, 255, 255, 0.16); }

.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__link {
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav__link:hover { color: var(--green); padding-left: 4px; }
.mobile-nav__link--head { font-weight: 500; }
.mobile-nav__link--sub {
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.66);
  padding: 9px 0 9px 18px;
  border-bottom: 0;
}
.mobile-nav__link--sub:hover { color: var(--green); padding-left: 22px; }
.mobile-nav__cta {
  margin-top: 24px;
  font-size: 14px;
}
body.nav-locked { overflow: hidden; }

/* Vorzeigeprojekt: 2-Bild-Galerie + Lightbox-Trigger */
.ref-gallery--duo { grid-template-columns: repeat(2, 1fr); }
.featured-ref__img[data-gallery],
.ref-gallery img[data-gallery] { cursor: zoom-in; }

/* ─────────────────────────────────────────────
   Lightbox / Slideshow
───────────────────────────────────────────────*/
.lightbox {
  position: fixed; inset: 0;
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 8, 0.92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  width: auto; height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  transform: scale(0.97);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; cursor: pointer;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__close {
  top: 22px; right: 22px;
  width: 46px; height: 46px;
}
.lightbox__nav {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 30px; line-height: 1; font-weight: 300;
}
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__counter {
  position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px; letter-spacing: 0.06em;
}
@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 26px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .lightbox__close { top: 14px; right: 14px; }
}

/* ── Mobile: lange Wörter umbrechen – kein Horizontal-Überlauf ── */
body { overflow-wrap: break-word; }
h1, h2, h3, h4, h5,
.display, .h-display, .page-hero-section h1 {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
/* Textkarten mit langen Komposita dürfen umbrechen/trennen */
.audience-card, .value-card, .usp-item, .pv-solution, .why__card,
.contact-card, .person-card, .team-card, .step, .feature-card,
.service-card, .ref-card-rich, .mega__card {
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* ── Handy: ALLES einspaltig (kein Horizontal-Überlauf) ── */
@media (max-width: 760px) {
  .services__grid, .referenzen__grid, .referenzen__head, .partners__row,
  .testimonials__row, .usp-grid, .usp-grid--5, .stats-grid, .steps,
  .ref-grid, .value-grid, .materials-grid, .pv-solutions, .audience-grid,
  .contact-cards, .persons-grid, .team-members, .team-divisions, .why__cards,
  .ref-gallery, .ref-gallery--duo, .footer__inner, .split-2, .emergency,
  .about__inner, .photovoltaik__inner, .why__inner, .contact__inner,
  .combo-banner, .calc__card {
    grid-template-columns: 1fr !important;
  }
}
