/* ============================================
   LÜBECK SANIEREN – Photovoltaik Page CSS
   assets/css/main.css
   ============================================ */

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gruen:       #2d5a27;
  --gruen-dark:  #1e3d1a;
  --gruen-light: #e8f0e6;
  --gelb:        #f5a623;
  --gelb-light:   #DDD9D4;
  --text:        #1a1a1a;
  --text-muted:  #555555;
  --white:       #ffffff;
  --border:      #e0e0e0;
  --radius:      8px;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --max-width:   1100px;
  --section-gap: 80px;
}

body {
  font-family: "basier_squareregular", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: transparent;
}
header{
  background-color: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Alle Überschriften font-weight 400 */
h1, h2, h3, h4, h5, h6 { font-weight: 400; }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Fullwidth Helper – bricht aus Starterkit-Grid raus */
.fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 19px;
  font-weight: 400;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter 0.2s, transform 0.1s;
  border: none;
  text-align: center;
  text-decoration: none;
  background-image: linear-gradient(180deg, #E9C46B 0%, #B78C3B 100%);
  background-color: transparent;
  color: var(--white);
}

.btn:hover {
  filter: brightness(1.1);
  text-decoration: none;
}

.btn--primary {
  color: var(--white);
}

.btn--hero {
  color: var(--white);
  align-self: center;
}

.btn--cta-gold {
  display: block;
  text-align: center;
  color: var(--white);
  width: 90%;
}

.btn--geregelt {
  color: var(--white);
  align-self: flex-start;
}

.btn--gruen {
  color: var(--white);
  background: var(--zuhause-global-color);
  align-self: flex-start;
}

.btn--telefon {
  display: inline-block;
  background: var(--zuhause-global-color);
  color: var(--white);
  padding: 12px 28px;
}

/* ============================================
   HERO BLOCK
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1a1a;
  padding: 0;
  /* Fullwidth */
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 48px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.hero__content {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: auto;
}

.hero__logo {
  width: 96%;
  height: auto;
}

.hero__trennlinie {
  width: 100%;
  height: auto;
  margin: 4px 0;
}
 
.hero__headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}

.hero__subtext {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  line-height: 23.4px;
  text-align: center;
}

.hero__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__bullets li {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 10px;
  font-size: 16px;
  color: rgba(255,255,255,0.95);
  font-weight: 400;
}

.hero__bullets li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-color: var(--gruen);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  border-radius: 50%;
}

.hero__stempel {
  width: 60%;
  height: auto;
  align-self: center;
}

.hero__badge {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 6px;
}

/* ============================================
   VERGLEICH BLOCK
   ============================================ */
.vergleich {
  padding: var(--section-gap) 24px;
  background: transparent;
}

.vergleich__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vergleich__col {
  background: linear-gradient(180deg, #244D3F 0%, rgba(0, 0, 0, 0.87) 100%);
  border-radius: var(--radius);
  padding: 36px 32px;
  color: var(--white);
}

.vergleich__title {
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 24px;
  color: var(--white);
}

.vergleich__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vergleich__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 18px;
  line-height: 1.4;
  list-style: none;
}

.vergleich__item:last-child { border-bottom: none; }

.vergleich__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vergleich__icon svg { width: 22px; height: 22px; }

.vergleich__text strong { 
    font-weight: 700;
 }

/* Roter Pfeil → Text weiß */
.vergleich__item--arrow_red .vergleich__text,
.vergleich__item--arrow_red .vergleich__text strong { color: #ffffff; }

/* Rotes X → Text rot */
.vergleich__item--x_red .vergleich__text,
.vergleich__item--x_red .vergleich__text strong { color: #ff7070; }

/* Grüner Haken im Kreis → Text weiß */
.vergleich__item--check_circle_green .vergleich__text,
.vergleich__item--check_circle_green .vergleich__text strong { color: #ffffff; }

/* Grüner Haken ohne Kreis → Text grün */
.vergleich__item--check_green .vergleich__text,
.vergleich__item--check_green .vergleich__text strong { color: #7bc67e; }

/* ============================================
   VIDEO BLOCK
   ============================================ */
.video-block {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.video-block .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.video-block__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-block__headline {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

.video-block__headline-accent {
  color: var(--gruen);
}

.video-block__player {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--gruen-dark);
  aspect-ratio: 16/9;
}

.video-block__player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.video-block__player:hover img { opacity: 0.6; }

/* Lokales Video */
.video-block__local {
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  width: 100%;
  max-width: 360px; /* Hochformat begrenzen */
  position: relative;
  padding-bottom: 177.78%; /* 9:16 Hochformat */
  height: 0;
}

.video-block__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Platzhalter */
.video-block__placeholder {
  border-radius: var(--radius);
  background: var(--gruen-dark);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 18px;
}

.video-block__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
  gap: 12px;
  transition: background 0.2s;
}

.video-block__play:hover { background: rgba(0,0,0,0.35); }

.video-block__play::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 0 18px 32px;
  border-color: transparent transparent transparent rgba(255,255,255,0.9);
}

.video-block__play span {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.video-block__subheadline {
  font-size: 25px;
  font-weight: 600;
  color: var(--gruen-dark);
}

.video-block__subtext {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.video-block__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-block__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--text-muted);
  padding-left: 0;
}

.video-block__bullet-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

/* Rechte Spalte */
.video-block__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: center;
  padding-top: 8px;
}

/* Vorteile Grid */
.video-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.video-block__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 80%;
  aspect-ratio: 1 / 1;
  padding: 16px 12px;
  color: var(--text);
  border: 5px solid var(--gruen);
  border-radius: var(--radius);
  text-align: center;
  background: var(--white);
  cursor: pointer;
  transition: background 0.2s;
}

.video-block__card:hover {
  background: #48dea6;
  color: #FFFFFF;
}

.video-block__card:hover .video-block__card-titel {
  color: #FFFFFF;
}

.video-block__card:hover .video-block__card-icon {
  filter: brightness(0) invert(1);
}

.video-block__card-titel {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  order: 1;
}

.video-block__card-icon {
    width: 6em;
    height: 6em;
  object-fit: contain;
  order: 2;
  filter: brightness(0) saturate(100%) invert(60%) sepia(50%) saturate(600%) hue-rotate(112deg) brightness(90%);
}

/* ============================================
   GEREGELT BANNER
   ============================================ */
.geregelt {
  background: linear-gradient(180deg, #244D3F 0%, rgba(0,0,0,0.87) 100%)!important;
  padding: 0;
  color: var(--white);
  /* Fullwidth */
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.geregelt__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.geregelt__left {
  display: flex;
  flex-direction: column;
}

.geregelt__eyebrow-wrap {
  margin-bottom: -20px;
  position: relative;
  z-index: 2;
  padding-left: 8px;
}

.geregelt__eyebrow {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.geregelt__headline {
  line-height: 1.15;
}

.geregelt__headline-white {
  color: #ffffff;
  display: block;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
}

.geregelt__headline-accent {
  color:rgb(33, 185, 128);
  display: block;
  font-size: 58px;
  font-weight: 600;
}

.geregelt__collage {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

.geregelt__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.geregelt__rechts-headline {
  font-size: 40px;
  font-weight: 600;
  color: rgb(255, 87, 87);
  line-height: 1.2;
}

.geregelt__rechts-subtext {
  font-size: 17px;
  font-weight: 600;
  color: rgb(255,255,255);
  line-height: 17px;
}

.geregelt__streifen {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.geregelt__einzeiler {
  font-size: 18px;
  font-weight: 400;
  color: rgb(255,255,255);
}

.geregelt__punkte {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.geregelt__punkte li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 27px;
  list-style: none;
}

.geregelt__punkte li::before,
.geregelt__punkte li::after { display: none; content: none; }

.geregelt__punkt-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ============================================
   VORTEILE BLOCK
   ============================================ */
.vorteile {
  padding: var(--section-gap) 24px;
  background: var(--white);
}

.vorteile > h2 {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  text-align: center;
}

.vorteile__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.vorteil {
  background: #f5f5f5;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.vorteil:hover { box-shadow: var(--shadow); }

.vorteil img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.vorteil h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.vorteil p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ============================================
   TESTIMONIALS BLOCK
   ============================================ */
.testimonials {
  padding: var(--section-gap) 24px;
  background: #f5f5f5;
}

.testimonials > h2 {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  text-align: center;
}

.testimonials__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gruen);
}

.testimonial__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial__header strong { display: block; font-size: 15px; font-weight: 700; }
.testimonial__header .stars { color: var(--gelb); font-size: 14px; }
.testimonial p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   SCHRITTE BLOCK
   ============================================ */
.schritte {
  background: var(--white);
}

/* Gradient Banner */
.schritte__banner {
  background: linear-gradient(180deg, #244D3F 0%, rgba(0,0,0,0.87) 100%);
  padding: 48px 24px;
  text-align: center;
  /* Fullwidth */
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.schritte__headline {
  font-family: "basier_squareregular", sans-serif;
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.05em;
}

/* Grid */
.schritte__wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-gap) 24px;
}

.schritte__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.schritt {
  background: var(--white);
  border: 2px solid var(--gruen);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.schritt__titel {
  font-family: "basier_squareregular", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #FF5757;
  margin-bottom: 16px;
  line-height: 22px;
}

.schritt__text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 24px;
}

/* Fette Akzente im Writer-Feld grün einfärben */
.schritt__text strong {
  color: #21B980;
  font-weight: 700;
}

/* ============================================
   TEAM BLOCK
   ============================================ */
.team {
  padding: var(--section-gap) 24px;
  background: transparent;
}

/* Header – Überschrift + Stempel */
.team__header {
  max-width: var(--max-width);
  margin: 0 auto 48px;
}

.team__header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-start;
  gap: 0 40px;
}

.team__headline {
  font-family: "basier_squareregular", sans-serif;
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: #244D3F;
  line-height: 1.2;
}

.team__stempel {
  width: 180px;
  height: auto;
  margin-top: -10px; /* Leicht über die Grundlinie hochziehen */
}

/* Personen-Liste – abwechselndes Layout */
.team__liste {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.team__person {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Ungerade → Bild rechts, Text links */
.team__person--reverse {
  direction: rtl;
}

.team__person--reverse .team__foto-wrap,
.team__person--reverse .team__info {
  direction: ltr;
}

.team__person--reverse .team__info {
  text-align: right;
}

.team__foto-wrap {
  display: flex;
  justify-content: center;
}

.team__foto {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  box-shadow: none;
}

.team__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team__name {
  font-family: "basier_squareregular", sans-serif;
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: #244D3F;
  letter-spacing: 0.05em;
}

.team__rolle {
  font-size: 25px;
  font-weight: 600;
  color: var(--text-muted);
}

/* CTA Button */
.team__cta {
  max-width: var(--max-width);
  margin: 60px auto 0;
  text-align: center;
  direction: ltr;
}

.btn--team-cta {
  color: var(--white);
  padding: 16px 40px;
  display: inline-block;
}

/* ============================================
   KONTAKT MODAL
   ============================================ */
.k-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.k-modal.is-open { display: flex; }

.k-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  cursor: pointer;
}

.k-modal__box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 12px;
  padding: 28px 36px;
  width: 100%;
  max-width: 1085px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.k-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 4px 8px;
}
.k-modal__close:hover { color: var(--text); }

.k-modal__eyebrow {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--zuhause-global-color);
  margin-bottom: 10px;
}

.k-modal__headline {
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.k-modal__subtext { font-size: 15px; color: var(--text-muted); margin-bottom: 4px; }
.k-modal__disclaimer { font-size: 13px; color: #999; margin-bottom: 24px; }

.k-modal__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.k-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.k-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.k-modal__field label { font-size: 14px; font-weight: 600; color: var(--text); }
.k-modal__field label span { color: #c0392b; }

.k-modal__field input,
.k-modal__field select {
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  width: 100%;
}

.k-modal__field textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  width: 100%;
  resize: vertical;
  font-family: inherit;
}

.k-modal__field textarea:focus {
  outline: none;
  border-color: var(--gruen);
  box-shadow: 0 0 0 3px rgba(45,90,39,0.1);
}

.k-modal__field input:focus,
.k-modal__field select:focus {
  outline: none;
  border-color: var(--gruen);
  box-shadow: 0 0 0 3px rgba(45,90,39,0.1);
}

.k-modal__telefon {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.k-modal__telefon > p { font-size: 24px; font-weight: 600; color: var(--zuhause-global-color); margin-bottom: 6px; }
.k-modal__firma { font-size: 16px!important; color: var(--gruen-dark)!important; margin-bottom: 12px; }

.k-modal__badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.k-modal__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.k-modal__badge-icon { font-size: 22px; }

/* SVG Icons in Modal Badges */
.k-modal__badge-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--zuhause-global-color);
  display: block;
}

/* SVG Icon im Telefon-Button */
.k-modal__btn-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  vertical-align: middle;
}

.k-modal__btn-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* ============================================
   VIDEO OVERLAY
   ============================================ */
.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-overlay__inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
}

.video-overlay__inner iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.video-overlay__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.video-overlay__close:hover { color: var(--gelb); }

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root { --section-gap: 52px; }

  .hero__inner {
    justify-content: flex-start;
    align-items: flex-end;
    padding: 40px 24px 60px;
    min-height: 100svh;
  }

  .hero__content { max-width: 100%; margin-left: 0; }
  .hero__logo { max-width: 160px; }
  .hero__stempel { width: 100px; }
  .hero__badge { max-width: 220px; }

  .vergleich__grid { grid-template-columns: 1fr; }
  .vergleich__col { padding: 24px 20px; }

  .video-block .container { grid-template-columns: 1fr; gap: 32px; }

  .geregelt__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
  }
  .geregelt__eyebrow-wrap { margin-bottom: 16px; }

  .schritte__grid,
  .testimonials__grid,
  .vorteile__grid { grid-template-columns: 1fr; }

  .team__person,
  .team__person--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }

  .team__foto { width: 200px; height: 200px; }
  .team__info { align-items: center; }

  .k-modal__box { padding: 28px 20px; }
  .k-modal__row { grid-template-columns: 1fr; }
  .k-modal__badges { gap: 16px; }
  .k-modal__headline { font-size: 20px; }

  .btn { width: 100%; display: block; }
}

/* ============================================
   CR-TESTIMONIALS BLOCK (Google-Rezensionen)
   ============================================
   Farben unten sind aus dem Screenshot geschätzt.
   Falls main.css schon eigene Variablen hat (z.B. --dark, --gold,
   --border-color, --max-width, --section-gap), bitte die Hex-Werte
   unten damit ersetzen statt zwei Quellen der Wahrheit zu pflegen. */

.cr-testimonials {
  max-width: var(--max-width, 1100px);
  margin: 0 auto;
  padding: var(--section-gap, 80px) 24px;
}

.cr-testimonials__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.cr-testimonials__score {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cr-testimonials__score-number {
  font-size: 32px;
  font-weight: 700;
  color: #16281c;
  line-height: 1;
}

.cr-testimonials__stars {
  color: #c9982b;
  font-size: 16px;
  letter-spacing: 2px;
}

.cr-testimonials__score-label {
  font-size: 13px;
  color: #7A7A7A;
  margin-top: 4px;
}

.cr-testimonials__google-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #2C2C2C;
  text-decoration: none;
  border: 1px solid #DDD9D4;
  padding: 8px 14px;
  transition: border-color .15s ease;
}

.cr-testimonials__google-link:hover {
  border-color: #16281c;
}

.cr-testimonials__google-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cr-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: #DDD9D4;
  border: 1px solid #DDD9D4;
}

.cr-review {
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.cr-review__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cr-review__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #16281c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.cr-review__name {
  font-size: 14px;
  font-weight: 600;
  color: #2C2C2C;
}

.cr-review__meta {
  font-size: 11px;
  color: #7A7A7A;
  margin-top: 2px;
}

.cr-review__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #7A7A7A;
}

.cr-review__stars {
  color: #c9982b;
  letter-spacing: 1px;
  font-size: 13px;
}

.cr-review__badge {
  background: #EAE7E3;
  color: #16281c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 2px 6px;
}

.cr-review__text {
  font-size: 14px;
  line-height: 1.5;
  color: #2C2C2C;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cr-testimonials__footer {
  text-align: center;
  margin-top: 20px;
}

.cr-testimonials__link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c9982b;
  border-bottom: 1px solid #c9982b;
  padding-bottom: 2px;
  text-decoration: none;
}

.cr-testimonials__link:hover {
  color: #a97e22;
  border-color: #a97e22;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .cr-testimonials__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   MODAL – Erfolgsmeldung
   ============================================ */
.k-modal__success {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.k-modal__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--zuhause-global-color);
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.k-modal__success h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
}

.k-modal__success p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}