/* ═══════════════════════════════════════
   Roland Gässler Beschichtungs GmbH
   Balkonsanierung — Sektionsspezifisch
   Geladen NACH tokens.css
   ═══════════════════════════════════════ */

/* ── Section Dark ── */
.section--dark {
  background: var(--color-ink);
  color: #fff;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}
.section--dark .eyebrow {
  color: var(--color-primary);
}
.section--dark .eyebrow::before {
  background: var(--color-primary);
}
.section--dark p {
  color: rgba(255,255,255,.75);
}
.section--dark .lead {
  color: rgba(255,255,255,.85);
}

/* ── Small button variant ── */
.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ══════════════════════════════
   TYPISCHE SCHAEDEN — Editorial (counter-based)
   ══════════════════════════════ */
#schaeden {
  padding: 120px 0 100px;
}
.schaeden__intro {
  max-width: 600px;
  margin-bottom: 64px;
}
.schaeden__intro .lead {
  margin-top: 16px;
}

.schaeden__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: schaden;
}
.schaeden__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0;
  box-shadow: none;
  cursor: default;
  counter-increment: schaden;
  transition: none;
}
.schaeden__card:first-child {
  border-top: 1px solid var(--color-border);
}
.schaeden__card:hover {
  transform: none;
  box-shadow: none;
}

.schaeden__icon {
  display: none;
}

.schaeden__card::before {
  content: "0" counter(schaden);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  opacity: .25;
  min-width: 72px;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}

.schaeden__card h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 8px;
}
.schaeden__card p {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
}

.schaeden__card.reveal {
  transition: opacity .5s ease, transform .5s ease;
}
.schaeden__card:nth-child(1) { transition-delay: 0s; }
.schaeden__card:nth-child(2) { transition-delay: .08s; }
.schaeden__card:nth-child(3) { transition-delay: .16s; }
.schaeden__card:nth-child(4) { transition-delay: .24s; }

@media (min-width: 768px) {
  .schaeden__card {
    gap: 40px;
    padding: 44px 0;
  }
  .schaeden__card::before {
    min-width: 96px;
  }
}

/* ══════════════════════════════
   LEISTUNG — padding override
   ══════════════════════════════ */
#leistung {
  padding: 120px 0;
}

/* ══════════════════════════════
   REFERENZEN — with Layering
   ══════════════════════════════ */
#referenzen {
  padding: 120px 0;
}
.referenzen__intro {
  max-width: 600px;
  margin-bottom: 56px;
}
.referenzen__intro p {
  margin-top: 12px;
  color: var(--color-text);
}
.referenzen__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.referenzen__item {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.referenzen__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.referenzen__caption {
  padding: 16px 20px;
  background: #fff;
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Proof layering motif */
.proof {
  position: relative;
  display: inline-block;
}
.proof img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.proof__badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  z-index: 2;
}
.proof__badge small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.proof__label {
  position: absolute;
  left: -16px;
  bottom: 24px;
  background: var(--color-ink);
  color: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  z-index: 2;
}

@media (max-width: 640px) {
  .proof__badge { top: -10px; right: -8px; padding: 10px 13px; font-size: 17px; }
  .proof__label { left: -8px; bottom: 14px; padding: 9px 13px; font-size: .8rem; }
}

@media (min-width: 768px) {
  .referenzen__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ══════════════════════════════
   BEWERTUNGEN — Slider
   ══════════════════════════════ */
.bewertungen__slider {
  position: relative;
  overflow: hidden;
}
.bewertungen__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  cursor: grab;
}
.bewertungen__track.is-dragging {
  transition: none;
  cursor: grabbing;
}
.bewertung {
  flex: 0 0 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  padding: 40px 36px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  box-sizing: border-box;
}
.bewertung__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.bewertung__google {
  flex-shrink: 0;
}
.bewertung__stars {
  color: #FBBC05;
  font-size: 18px;
  letter-spacing: 2px;
}
.bewertung__text {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.bewertung__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Dots */
.bewertungen__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.bewertungen__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.bewertungen__dot.active {
  background: var(--color-primary);
  transform: scale(1.25);
}

@media (min-width: 768px) {
  .bewertung {
    flex: 0 0 50%;
    margin: 0;
  }
}

/* Floating Buttons kommen aus tokens.css */

/* ══════════════════════════════
   MOBILE HEADER + HERO CLEANUP
   ══════════════════════════════ */
@media (max-width: 768px) {
  .nav__brand {
    white-space: nowrap;
    font-size: 18px;
  }
  .nav__tel {
    font-size: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary-bg);
  }
  .nav__tel-icon {
    width: 20px;
    height: 20px;
  }
  .nav__wa {
    display: none;
  }
  .nav__cta {
    display: none !important;
  }
  .btn--phone {
    display: none;
  }
  .hero__ctas {
    flex-direction: column;
  }
  .hero__ctas .btn--white {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
