/* ==========================================================================
   Schaumburg Energieberatung & Planung — Stylesheet
   Design: klinisch-fein, präzise, hochwertig. Waldgrün + Gold.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; }

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --forest:        #0D3B36;
  --forest-deep:   #082A26;
  --forest-tint:   #E8EFEC;
  --gold:          #C9A961;
  --gold-light:    #E4CD98;
  --gold-dim:      #B9995A;
  --paper:         #FBFAF7;
  --paper-alt:     #F3F1EA;
  --ink:           #1B211F;
  --ink-soft:      #47504C;
  --stone:         #8B9490;
  --stone-line:    #DEDDD3;
  --white:         #FFFFFF;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Signature: waldgrün -> gold Verlauf */
  --gradient-line: linear-gradient(90deg, var(--forest) 0%, var(--gold) 100%);

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5.5rem;
  --space-2xl: 8.5rem;

  --container-w: 1240px;
  --header-h: 92px;
  --header-h-scrolled: 72px;
}

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 3.4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
em, .italic-accent { font-style: italic; color: var(--gold-dim); }

p { color: var(--ink-soft); }
.lede { font-size: 1.2rem; line-height: 1.65; max-width: 46ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* Signature hairline: waldgrün -> gold */
.rule {
  height: 2px;
  width: 64px;
  background: var(--gradient-line);
  border: none;
  margin: 1.4rem 0 0;
}
.rule--wide { width: 100%; }
.rule--center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  padding: 0.95em 1.9em;
  border-radius: 2px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest);
  color: var(--paper);
  border: 1px solid var(--forest);
}
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(13,59,54,0.45); }
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--stone-line);
}
.btn-ghost:hover { border-color: var(--forest); background: var(--forest-tint); }
.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(201,169,97,0.55); }
.btn-on-dark {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(251,250,247,0.35);
}
.btn-on-dark:hover { border-color: var(--gold); color: var(--gold-light); }

/* Focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold-dim);
  outline-offset: 3px;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announce {
  background: var(--forest-deep);
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,169,97,0.25);
}
.announce__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.4rem 1rem;
  text-align: center;
}
.announce__item { display: inline-flex; align-items: center; gap: 0.5em; }
.announce__item svg { flex-shrink: 0; color: var(--gold); }
.announce strong { color: var(--gold-light); font-weight: 700; }
.announce__item a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,250,247,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone-line);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(13,59,54,0.25); }

.header-row--brand {
  background: var(--forest);
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}
.brand__mark { height: 190px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }

@media (max-width: 640px) {
  .header-row--brand { padding: 1.1rem 0; }
  .brand__mark { height: 96px; }
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.1;
}
.brand__name span { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); font-weight: 500; margin-top: 0.2em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.3em 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gradient-line);
  transition: right .28s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }
.nav__links a.is-active { color: var(--forest); font-weight: 700; }

.nav__cta { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
.nav__phone { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--forest); transition: transform .25s ease, opacity .25s ease; }

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn-ghost { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--forest-deep);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__top { display: flex; justify-content: flex-end; }
.mobile-drawer__close svg { color: var(--paper); width: 28px; height: 28px; }
.mobile-drawer__links { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-drawer__links a {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--paper);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(251,250,247,0.12);
}
.mobile-drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 0.9rem; }
.mobile-drawer__foot a { color: var(--gold-light); font-weight: 600; font-size: 0.95rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) clamp(1.75rem, 5vw, 5rem) var(--space-xl) clamp(1.75rem, 5vw, 4rem);
}
.hero h1 { margin-top: 1.1rem; }
.hero__lede { margin-top: 1.6rem; }
.hero__ctas { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

.hero__visual { padding: var(--space-lg) clamp(1.5rem, 4vw, 3.5rem) var(--space-lg) 0; }
.hero__frame { position: relative; overflow: hidden; background: var(--forest); aspect-ratio: 4/5; border: 1px solid var(--gold); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero__frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,59,54,0) 75%, rgba(8,42,38,0.18) 100%);
}
.hero__visual { margin: 0; }
.hero__caption { margin-top: 1.1rem; padding-left: 1.1rem; border-left: 2px solid var(--gold); }
.hero__caption strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--forest); line-height: 1.2; }
.hero__caption span { display: block; margin-top: 0.2rem; font-size: 0.86rem; font-weight: 600; color: var(--ink, #1E2A28); }
.hero__caption em { display: block; margin-top: 0.15rem; font-style: normal; font-size: 0.8rem; color: #86682D; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { order: -1; padding: 1.75rem 1.75rem 0; }
  .hero__frame { aspect-ratio: 4/3; max-width: 420px; margin: 0 auto; }
  .hero__caption { max-width: 420px; margin: 1rem auto 0; }
  .hero__content { padding: 2.5rem 1.75rem; }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust {
  background: var(--forest);
  position: relative;
}
.trust::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-line); }
.trust__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 2.2rem 0;
  gap: 2rem;
}
.trust__item { display: flex; align-items: center; gap: 0.9rem; color: var(--paper); flex: 1 1 200px; transition: transform .3s ease; }
.trust__item:hover { transform: translateY(-2px); }
.trust__item:not(:last-child) { border-right: 1px solid rgba(251,250,247,0.15); }
.trust__item svg { color: var(--gold); flex-shrink: 0; }
.trust__item strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.trust__item span { font-size: 0.78rem; color: rgba(251,250,247,0.65); }
.trust__stars { color: var(--gold); letter-spacing: 0.1em; font-size: 0.9rem; }
.trust__eee-badge { height: 52px; width: auto; background: var(--paper); padding: 8px 14px; }

@media (max-width: 900px) {
  .trust__item:not(:last-child) { border-right: none; }
  .trust__row { justify-content: flex-start; }
}

/* ==========================================================================
   Section framing
   ========================================================================== */
.section { padding: var(--space-2xl) 0; }
.section--tight { padding: var(--space-xl) 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--forest); color: var(--paper); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark p { color: rgba(251,250,247,0.72); }
.section-head { max-width: 640px; margin-bottom: var(--space-lg); }
.section-head h2 { margin-top: 1rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--between { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Leistungen — editorial list
   ========================================================================== */
.services-list { border-top: 1px solid var(--stone-line); }
.service-row {
  display: grid;
  grid-template-columns: 2.6rem 4.6rem 1.2fr 1.6fr auto;
  gap: 1.8rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--stone-line);
  transition: background-color .25s ease;
}
.service-row:hover { background: var(--paper-alt); }
.service-row__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-dim); font-weight: 600; }
.service-row__thumb {
  width: 4.6rem; height: 4.6rem;
  overflow: hidden;
  border: 1px solid var(--stone-line);
  background: var(--paper-alt);
}
.service-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-row:hover .service-row__thumb img { transform: scale(1.12); }
.service-row__thumb--empty { border-color: transparent; background: transparent; }
.service-row__title { font-family: var(--font-display); font-size: 1.45rem; color: var(--forest); font-weight: 600; }
.service-row__title small { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--stone); font-weight: 500; margin-top: 0.35rem; letter-spacing: 0.02em; }
.service-row__desc { font-size: 0.98rem; color: var(--ink-soft); }
.service-row__link { align-self: center; font-size: 0.85rem; font-weight: 700; color: var(--forest); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.4em; }
.service-row__link svg { transition: transform .2s ease; }
.service-row:hover .service-row__link svg { transform: translateX(4px); }
.service-row__links { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.service-row__link--secondary { font-weight: 500; color: var(--stone); font-size: 0.8rem; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.service-row__link--secondary:hover { color: var(--forest); border-color: var(--gold); }

@media (max-width: 960px) {
  .service-row { grid-template-columns: 2rem 3.6rem 1fr; grid-template-areas: "num thumb title" ". . desc" ". . link"; row-gap: 0.6rem; }
  .service-row__num { grid-area: num; }
  .service-row__thumb { grid-area: thumb; width: 3.6rem; height: 3.6rem; }
  .service-row__title { grid-area: title; }
  .service-row__desc { grid-area: desc; }
  .service-row__link { grid-area: link; justify-self: start; }
  .service-row__links { grid-area: link; align-items: flex-start; }
}

/* ==========================================================================
   Prozess — 4 Schritte (echte Sequenz -> nummeriert gerechtfertigt)
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process::before {
  content: '';
  position: absolute; top: 27px; left: 6%; right: 6%; height: 1px;
  background: var(--stone-line);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.4,0,.2,1);
}
.process.is-visible::before { transform: scaleX(1); }
.process-step {
  position: relative; padding: 0 1.4rem 0 0; text-align: left;
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.process.is-visible .process-step { opacity: 1; transform: translateY(0); }
.process.is-visible .process-step:nth-child(1) { transition-delay: .05s; }
.process.is-visible .process-step:nth-child(2) { transition-delay: .25s; }
.process.is-visible .process-step:nth-child(3) { transition-delay: .45s; }
.process.is-visible .process-step:nth-child(4) { transition-delay: .65s; }
.process-step__num {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  background: var(--paper);
  font-family: var(--font-display); font-size: 1.3rem; color: var(--forest);
  position: relative; z-index: 1; margin-bottom: 1.6rem;
  transition: transform .35s ease, background-color .35s ease, color .35s ease;
}
.process-step:hover .process-step__num { transform: scale(1.12); background: var(--forest); color: var(--gold-light); }
.process-step h3 { margin-bottom: 0.6rem; }
.process-step p { font-size: 0.92rem; }

@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 2.4rem; }
  .process::before { top: 0; bottom: 0; left: 27px; right: auto; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; }
  .process.is-visible::before { transform: scaleY(1); }
  .process-step { padding-left: 4.2rem; }
  .process-step__num { position: absolute; left: 0; top: 0; margin-bottom: 0; }
}

/* ==========================================================================
   Einblicke — Bildstrecke
   ========================================================================== */
.gallery-frame {
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 2px 0;
}
.gallery-frame img { width: 100%; height: auto; }

/* ==========================================================================
   Über den Berater — Teaser
   ========================================================================== */
.about-teaser { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-teaser__photo { position: relative; }
.about-teaser__photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.about-teaser__photo::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--gold); transform: translate(14px, 14px); z-index: -1; }
.about-teaser__quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--forest); line-height: 1.4; margin: 1.6rem 0 1.8rem; }
.about-teaser__signature { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-dim); }
.about-teaser__signature span { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--stone); font-style: normal; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 0.3rem; }

@media (max-width: 860px) {
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser__photo { max-width: 340px; margin: 0 auto; }
}

/* ==========================================================================
   Bewertungen
   ========================================================================== */
.reviews { text-align: center; }
.reviews__stars { color: var(--gold); font-size: 1.8rem; letter-spacing: 0.15em; }
.reviews__score { font-family: var(--font-display); font-size: 3.4rem; color: var(--forest); margin: 0.4rem 0; }
.reviews__count { color: var(--stone); font-size: 0.92rem; }
.reviews__count a { color: var(--forest); font-weight: 700; border-bottom: 1px solid var(--gold); }

/* ==========================================================================
   Förderung CTA band
   ========================================================================== */
.funding-band { text-align: center; }
.funding-band h2 { color: var(--paper) !important; }
.funding-band .lede { color: rgba(251,250,247,0.75); margin: 1.4rem auto 2.2rem; }

/* ==========================================================================
   Kontakt CTA block
   ========================================================================== */
.contact-cta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.contact-cta__options { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-option {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid rgba(251,250,247,0.18);
  transition: border-color .25s ease, background-color .25s ease;
}
.contact-option:hover { border-color: var(--gold); background: rgba(201,169,97,0.06); }
.contact-option svg { color: var(--gold); flex-shrink: 0; }
.contact-option span { display: block; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(251,250,247,0.55); margin-bottom: 0.25rem; }
.contact-option strong { font-family: var(--font-body); font-size: 1.15rem; color: var(--paper); font-weight: 700; }

@media (max-width: 860px) {
  .contact-cta { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest-deep); color: rgba(251,250,247,0.72); padding: var(--space-xl) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.85fr 0.95fr 0.95fr 1.05fr; gap: 2.4rem; padding-bottom: var(--space-lg); }
.footer-brand__name { font-family: var(--font-display); font-style: normal; font-size: 1.35rem; font-weight: 600; color: var(--gold-light); line-height: 1.3; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; max-width: 30ch; color: rgba(251,250,247,0.6); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a, .footer-col address { font-size: 0.92rem; font-style: normal; color: rgba(251,250,247,0.75); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(251,250,247,0.12);
  padding: 1.6rem 0 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem;
}
.footer-bottom__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom__legal a:hover { color: var(--gold-light); }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Mobile sticky contact bar
   ========================================================================== */
.mobile-contact-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--forest-deep);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
}
.mobile-contact-bar__inner { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.mobile-contact-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.75rem 0.4rem;
  color: var(--paper);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.03em;
  border-right: 1px solid rgba(251,250,247,0.12);
}
.mobile-contact-bar a:last-child { border-right: none; }
.mobile-contact-bar svg { color: var(--gold); }

@media (max-width: 1024px) {
  .mobile-contact-bar { display: block; }
  body { padding-bottom: 64px; }
}

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300;
  max-width: 560px; margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--stone-line);
  box-shadow: 0 20px 50px -20px rgba(13,59,54,0.35);
  padding: 1.8rem;
  transform: translateY(140%);
  visibility: hidden;
  transition: transform .45s cubic-bezier(.4,0,.2,1), visibility 0s linear .45s;
}
.cookie-banner.is-visible { transform: translateY(0); visibility: visible; transition: transform .45s cubic-bezier(.4,0,.2,1), visibility 0s; }
.cookie-banner h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.cookie-banner p { font-size: 0.88rem; margin-bottom: 1.2rem; }
.cookie-banner p a { color: var(--forest); font-weight: 700; border-bottom: 1px solid var(--gold); }
.cookie-banner__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: 0.75em 1.3em; font-size: 0.85rem; }
.cookie-banner__settings { display: none; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--stone-line); flex-direction: column; gap: 0.7rem; }
.cookie-banner__settings.is-open { display: flex; }
.cookie-toggle { display: flex; align-items: center; justify-content: space-between; font-size: 0.88rem; }
.cookie-toggle strong { display: block; }
.cookie-toggle small { color: var(--stone); font-weight: 400; }

@media (max-width: 640px) {
  .cookie-banner { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; padding: 1.4rem; }
}

/* ==========================================================================
   Standort & Einsatzgebiet
   ========================================================================== */
.location {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.location__home {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.6rem 1.9rem;
  background: var(--forest);
  color: var(--paper);
  border-left: 3px solid var(--gold);
  white-space: nowrap;
}
.location__home svg { color: var(--gold); flex-shrink: 0; }
.location__home strong { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.location__home span { font-size: 0.82rem; color: rgba(251,250,247,0.7); }
.location__regions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.region-chip {
  display: inline-flex; align-items: center;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--stone-line);
  font-size: 0.86rem;
  color: var(--ink-soft);
  transition: border-color .2s ease, color .2s ease;
}
.region-chip:hover { border-color: var(--gold); color: var(--forest); }

@media (max-width: 780px) {
  .location { grid-template-columns: 1fr; }
  .location__home { white-space: normal; }
}

/* ==========================================================================
   Chatbot-Widget
   ========================================================================== */
.chat-launcher {
  position: fixed;
  right: 1.6rem; bottom: 1.6rem;
  z-index: 180;
  width: 62px; height: 62px;
  background: var(--forest);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(13,59,54,0.5);
  animation: chatPulse 3.2s ease-in-out infinite;
}
.chat-launcher svg { color: var(--gold-light); }
.chat-launcher.is-open svg.icon-chat { display: none; }
.chat-launcher svg.icon-close { display: none; }
.chat-launcher.is-open svg.icon-close { display: block; }

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 12px 28px -10px rgba(13,59,54,0.5); }
  50% { box-shadow: 0 12px 30px -6px rgba(201,169,97,0.55); }
}

@media (max-width: 1024px) { .chat-launcher { bottom: 5.4rem; right: 1.1rem; width: 56px; height: 56px; } }

.chat-panel {
  position: fixed;
  right: 1.6rem; bottom: 5.6rem;
  z-index: 179;
  width: min(360px, calc(100vw - 2.4rem));
  background: var(--paper);
  border: 1px solid var(--stone-line);
  box-shadow: 0 24px 60px -20px rgba(13,59,54,0.4);
  opacity: 0; transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.chat-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-panel__head { background: var(--forest); color: var(--paper); padding: 1.1rem 1.3rem; }
.chat-panel__head strong { font-family: var(--font-display); font-size: 1.05rem; }
.chat-panel__head span { display: block; font-size: 0.78rem; color: rgba(251,250,247,0.65); margin-top: 0.2rem; }
.chat-panel__body { padding: 1.2rem; }
.chat-panel__bubble {
  background: var(--paper-alt);
  padding: 0.9rem 1.1rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.chat-panel__options { display: flex; flex-direction: column; gap: 0.55rem; }
.chat-option {
  display: block;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--stone-line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest);
  transition: border-color .2s ease, background-color .2s ease;
}
.chat-option:hover { border-color: var(--gold); background: var(--forest-tint); }
.chat-panel__foot {
  display: flex; gap: 0.6rem;
  padding: 0 1.2rem 1.2rem;
}
.chat-panel__foot a {
  flex: 1;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.6rem 0.4rem;
  border: 1px solid var(--stone-line);
  color: var(--ink-soft);
}
.chat-panel__foot a:hover { border-color: var(--gold); color: var(--forest); }
.chat-panel__body { max-height: 60vh; overflow-y: auto; }

/* Chat-Formular-Elemente */
.chat-field { margin-bottom: 1.1rem; }
.chat-field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--forest); margin-bottom: 0.5rem; }
.chat-field input[type="text"], .chat-field input[type="tel"], .chat-field input[type="email"], .chat-field textarea {
  width: 100%;
  border: 1px solid var(--stone-line);
  padding: 0.65rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  background: var(--paper);
  color: var(--ink);
}
.chat-field input:focus, .chat-field textarea:focus { outline: none; border-color: var(--gold); }
.chat-field textarea { resize: vertical; min-height: 72px; }
.chat-field small { display: block; font-size: 0.74rem; color: var(--stone); margin-top: 0.3rem; }
.chat-choice-group { display: flex; flex-direction: column; gap: 0.5rem; }
.chat-choice {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--stone-line);
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.chat-choice:hover { border-color: var(--gold); }
.chat-choice input { accent-color: var(--forest); flex-shrink: 0; }
.chat-choice.is-checked { border-color: var(--gold); background: var(--forest-tint); }
.chat-nav { display: flex; justify-content: space-between; gap: 0.7rem; margin-top: 1.3rem; }
.chat-nav .btn { padding: 0.65em 1.3em; font-size: 0.84rem; }
.chat-progress { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); margin-bottom: 0.9rem; }
.chat-summary-box {
  background: var(--paper-alt);
  padding: 1rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  white-space: pre-line;
  margin-bottom: 1.1rem;
  max-height: 160px;
  overflow-y: auto;
}
.chat-send-options { display: flex; flex-direction: column; gap: 0.55rem; }
.chat-send-btn {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--stone-line);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--forest);
  transition: border-color .2s ease, background-color .2s ease;
}
.chat-send-btn:hover { border-color: var(--gold); background: var(--forest-tint); }
.chat-restart { display: block; text-align: center; margin-top: 1rem; font-size: 0.78rem; color: var(--stone); text-decoration: underline; }

@media (max-width: 1024px) { .chat-panel { bottom: 9.4rem; } }

/* ==========================================================================
   Zusätzliche Bewegung
   ========================================================================== */
.reveal-scale { opacity: 0; transform: scale(0.96); transition: opacity .7s ease, transform .7s ease; }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

.hero__frame img, .about-teaser__photo img { transition: transform .6s ease; }
.hero__frame:hover img, .about-teaser__photo:hover img { transform: scale(1.04); }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 500;
  background: var(--forest); color: var(--paper); padding: 1rem 1.5rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ==========================================================================
   Legal-Seiten (Impressum, Datenschutz, AGB)
   ========================================================================== */
.legal-hero { padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--stone-line); }
.legal-hero .eyebrow { margin-bottom: 0.8rem; }
.legal-content { max-width: 760px; padding: 3rem 1.75rem 5rem; margin: 0 auto; }
.legal-content h2 { font-size: 1.6rem; margin-top: 2.6rem; margin-bottom: 1rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin-top: 1.8rem; margin-bottom: 0.7rem; color: var(--ink); font-family: var(--font-body); font-weight: 700; }
.legal-content p { margin-bottom: 1rem; font-size: 0.96rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1rem 1.3rem; }
.legal-content li { margin-bottom: 0.5rem; font-size: 0.96rem; color: var(--ink-soft); }
.legal-content a { color: var(--forest); font-weight: 600; border-bottom: 1px solid var(--gold); }
.legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; font-size: 0.9rem; }
.legal-content th, .legal-content td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--stone-line); }
.legal-note {
  background: var(--paper-alt);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.3rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.legal-placeholder { color: var(--gold-dim); font-weight: 700; background: rgba(201,169,97,0.15); padding: 0.1em 0.4em; }
.toc { background: var(--paper-alt); padding: 1.3rem 1.5rem; margin-bottom: 2rem; }
.toc strong { display: block; margin-bottom: 0.7rem; font-family: var(--font-display); color: var(--forest); font-size: 1.05rem; }
.toc ol { margin-left: 1.2rem; }
.toc a { font-weight: 600; }

/* Einfacher Seiten-Header für Unterseiten ohne grosses Hero */
/* (Logo-Band ist jetzt einheitlich auf allen Seiten gleich groß, kein Sonderfall mehr nötig) */

/* ==========================================================================
   Leistungs-Detailseiten
   ========================================================================== */
.breadcrumb { font-size: 0.82rem; color: var(--stone); padding: 1.3rem 0 0; }
.breadcrumb a { color: var(--forest); font-weight: 600; }

.svc-hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: 2.5rem 0 var(--space-xl);
}
.svc-hero__image { position: relative; }
.svc-hero__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--gold); }
.svc-hero__price {
  position: absolute; right: -14px; bottom: -14px;
  background: var(--forest); color: var(--paper);
  padding: 1rem 1.4rem; text-align: center;
}
.svc-hero__price strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-light); }
.svc-hero__price span { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(251,250,247,0.65); }

@media (max-width: 860px) {
  .svc-hero { grid-template-columns: 1fr; }
  .svc-hero__image { order: -1; }
  .svc-hero__price { right: 12px; bottom: -14px; }
}

.feature-list { display: flex; flex-direction: column; gap: 1rem; }
.feature-list li { display: flex; gap: 0.9rem; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.feature-list svg { color: var(--gold-dim); flex-shrink: 0; margin-top: 0.2rem; }

.faq-item { border-bottom: 1px solid var(--stone-line); }
.faq-item summary {
  cursor: pointer; padding: 1.2rem 0; font-weight: 700; color: var(--forest);
  font-family: var(--font-body); font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-dim);
  flex-shrink: 0; transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 1.3rem; color: var(--ink-soft); font-size: 0.94rem; max-width: 65ch; }

.price-panel {
  background: var(--forest); color: var(--paper);
  padding: 2.4rem; text-align: center;
}
.price-panel .amount { font-family: var(--font-display); font-size: 3rem; color: var(--gold-light); margin: 0.6rem 0; }
.price-panel p { color: rgba(251,250,247,0.72); font-size: 0.92rem; }

.svc-steps { display: flex; flex-direction: column; gap: 0; }
.svc-step { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.3rem; padding: 1.3rem 0; border-bottom: 1px solid var(--stone-line); }
.svc-step__num { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-dim); }
.svc-step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.svc-step p { font-size: 0.92rem; margin-bottom: 0; }

.svc-cta-band { background: var(--forest); color: var(--paper); text-align: center; padding: var(--space-xl) 0; }
.svc-cta-band h2 { color: var(--paper); }

/* ==========================================================================
   Förder-Rechner
   ========================================================================== */
.rechner-box {
  background: var(--paper-alt);
  border: 1px solid var(--stone-line);
  padding: 2rem;
  margin-bottom: 2rem;
}
.rechner-box h3 { margin-bottom: 0.4rem; }
.rechner-box__sub { font-size: 0.88rem; color: var(--stone); margin-bottom: 1.6rem; }
.rechner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; }
@media (max-width: 640px) { .rechner-grid { grid-template-columns: 1fr; } }
.rechner-field label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--forest); margin-bottom: 0.4rem; }
.rechner-field input[type="number"], .rechner-field select {
  width: 100%; border: 1px solid var(--stone-line); padding: 0.65rem 0.8rem;
  font-family: var(--font-body); font-size: 0.92rem; background: var(--paper); color: var(--ink);
}
.rechner-field input:focus, .rechner-field select:focus { outline: none; border-color: var(--gold); }
.rechner-toggle { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; padding-top: 0.4rem; }
.rechner-toggle input { accent-color: var(--forest); width: 17px; height: 17px; }
.rechner-actions { margin-top: 1.6rem; }
.rechner-result {
  margin-top: 1.6rem; padding: 1.4rem 1.6rem;
  background: var(--forest); color: var(--paper);
  display: block;
  /* Vor der Berechnung unsichtbar und ohne Platzbedarf */
  height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  visibility: hidden;
}
.rechner-result.is-visible {
  height: auto;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  overflow: visible;
  visibility: visible;
}
.rechner-result__pct { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold-light); }
.rechner-result__amount { font-size: 1.3rem; margin: 0.3rem 0 0.8rem; }
.rechner-result__note { font-size: 0.8rem; color: rgba(251,250,247,0.65); }

/* ==========================================================================
   FEINSCHLIFF — Politur auf High-End-Niveau
   ========================================================================== */

/* --- Ankersprünge: Abstand zur fixierten Navigation (behebt "Überschrift
       verschwindet hinter der Leiste" beim Klick auf Menüpunkte) --- */
:root { --anchor-offset: 92px; }
html { scroll-padding-top: var(--anchor-offset); }
section[id], div[id] { scroll-margin-top: var(--anchor-offset); }
@media (max-width: 640px) { :root { --anchor-offset: 80px; } }

/* --- Textauswahl in Markenfarben --- */
::selection { background: var(--gold); color: var(--forest-deep); }
::-moz-selection { background: var(--gold); color: var(--forest-deep); }

/* --- Feinere Typografie: Ligaturen, gleichmäßige Ziffern, Silbentrennung --- */
body {
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-feature-settings: "kern" 1, "liga" 1, "dlig" 1; }
.lede, .service-row__desc, .legal-content p { hyphens: auto; -webkit-hyphens: auto; }
.hero__meta strong, .reviews__score, .rechner-result__pct,
.svc-hero__price strong, .price-panel .amount { font-variant-numeric: lining-nums tabular-nums; }

/* --- Ruhigere, hochwertigere Bewegungskurve für alle Übergänge --- */
.btn, .service-row, .region-chip, .chat-option, .contact-option,
.trust__item, .process-step__num, .faq-item summary, .chat-send-btn {
  transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

/* --- Tastatur-Fokus: deutlich sichtbar, aber elegant --- */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-dim);
  outline-offset: 3px;
  border-radius: 1px;
}
/* Maus-Klicks bekommen keinen Fokusrahmen (nur Tastatur) */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* --- Bilder: weiches Einblenden statt hartem Aufploppen --- */
.service-row__thumb, .hero__frame, .svc-hero__image img,
.about-teaser__photo img { background-color: var(--paper-alt); }

/* --- Eyebrow-Linie wächst beim Sicht­barwerden mit --- */
.reveal .eyebrow::before { transition: width .6s cubic-bezier(.22,.61,.36,1) .15s; }

/* --- Leistungs-Zeilen: feine Akzentlinie beim Überfahren --- */
.service-row { position: relative; }
.service-row::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gradient-line);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.service-row:hover::before { transform: scaleY(1); }

/* --- Vertrauensleiste: Goldlinie oben zeichnet sich beim Laden --- */
.trust::before { transform-origin: left; }

/* --- Regionen-Kacheln: dezente Anhebung --- */
.region-chip { transition: border-color .25s, color .25s, transform .25s, background-color .25s; }
a.region-chip:hover { transform: translateY(-2px); background: var(--paper); }

/* --- FAQ: sanfteres Aufklappen --- */
.faq-item summary { transition: color .2s ease; }
.faq-item summary:hover { color: var(--gold-dim); }
.faq-item[open] summary { color: var(--gold-dim); }

/* --- Kontakt-Kacheln: leichtes Anheben --- */
.contact-option { transition: border-color .25s, background-color .25s, transform .25s; }
.contact-option:hover { transform: translateY(-2px); }

/* --- Mobile Kontaktleiste: aktiver Druckpunkt spürbar --- */
.mobile-contact-bar a { transition: background-color .18s ease; }
.mobile-contact-bar a:active { background: rgba(201,169,97,0.16); }

/* --- Footer-Links: feine Gold-Unterstreichung beim Überfahren --- */
.footer-col a, .footer-bottom__legal a {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s cubic-bezier(.22,.61,.36,1), color .25s ease;
}
.footer-col a:hover, .footer-bottom__legal a:hover { background-size: 100% 1px; }

/* --- Rechner: Ergebnis gleitet sanft ein --- */
.rechner-result {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.22,.61,.36,1);
}
.rechner-result.is-visible { opacity: 1; transform: translateY(0); }

/* --- Sanfterer Schatten unter der Navigation beim Scrollen --- */
.site-header { transition: box-shadow .35s cubic-bezier(.22,.61,.36,1); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(13,59,54,0.45); }

/* ==========================================================================
   Druckansicht (wichtig bei Impressum, AGB, Datenschutz)
   ========================================================================== */
@media print {
  .announce, .site-header, .mobile-drawer, .mobile-contact-bar,
  .cookie-banner, .chat-launcher, .chat-panel, .skip-link,
  .svc-cta-band, .hero__ctas, .rechner-actions { display: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; padding-bottom: 0; }
  .header-row--brand { background: #fff; padding: 0 0 1rem; }
  .brand__mark { height: 60px; }
  h1, h2, h3 { color: #000; page-break-after: avoid; }
  a { color: #000; text-decoration: underline; }
  /* Ziel-Adresse hinter Links ausgeben, damit Ausdrucke nachvollziehbar sind */
  .legal-content a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .section, .section--alt, .legal-content { padding: 0.5rem 0; background: #fff; }
  .site-footer { background: #fff; color: #000; padding: 1rem 0 0; border-top: 1px solid #999; }
  .footer-brand__name, .footer-col h4 { color: #000; }
  .footer-col a, .footer-col address { color: #000; }
  .faq-item p { display: block !important; }
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Partner-Leiste (dezent im Footer)
   ========================================================================== */
.partners {
  border-top: 1px solid rgba(251,250,247,0.12);
  padding: 2rem 0 1.6rem;
}
.partners__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251,250,247,0.45);
  margin-bottom: 1.2rem;
  text-align: center;
}
.partners__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.partners__row a {
  display: block;
  background: var(--paper);
  padding: 0.7rem 1.1rem;
  opacity: 0.75;
  transition: opacity .3s ease, transform .3s cubic-bezier(.22,.61,.36,1);
}
.partners__row a:hover { opacity: 1; transform: translateY(-2px); }
.partners__row img { height: 34px; width: auto; display: block; }

@media (max-width: 540px) {
  .partners__row img { height: 28px; }
}

/* ==========================================================================
   Energie-Check — "Welche Energieklasse hat mein Haus?"
   ========================================================================== */
.ec-section { position: relative; }
.ec-section .section-head { margin-bottom: 2.4rem; }
.ec-section__intro { margin-top: 1.1rem; }
.ec-section__merkmale {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem;
  margin-top: 1.3rem; font-size: 0.84rem; color: var(--stone);
}
.ec-section__merkmale span { display: inline-flex; align-items: center; gap: 0.45em; }
.ec-section__merkmale svg { color: var(--gold-dim); flex-shrink: 0; }

.ec {
  max-width: 880px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--stone-line);
  box-shadow: 0 30px 60px -40px rgba(13,59,54,0.35);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  position: relative;
}
.ec::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--gradient-line); }
.ec noscript p { text-align: center; }

.ec__kopf { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.8rem; }
.ec__zaehler { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dim); white-space: nowrap; }
.ec__balken { flex: 1; height: 3px; background: var(--paper-alt); overflow: hidden; }
.ec__balken span { display: block; height: 100%; background: var(--gradient-line); transition: width .45s cubic-bezier(.22,.61,.36,1); }

.ec__schritt { border: 0; min-width: 0; animation: ec-in .4s cubic-bezier(.22,.61,.36,1); }
@keyframes ec-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ec__frage {
  font-family: var(--font-display); font-weight: 600; color: var(--forest);
  font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.15; padding: 0; margin-bottom: 0.5rem; outline: none;
}
.ec__hinweis { font-size: 0.9rem; color: var(--stone); max-width: 62ch; margin-bottom: 1.4rem; }
.ec__frage + .ec__optionen { margin-top: 1.3rem; }

.ec__optionen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.ec__optionen--kompakt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ec__option {
  position: relative; display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.15rem; min-height: 64px;
  border: 1px solid var(--stone-line); background: var(--paper);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ec__option:hover { border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 10px 22px -18px rgba(13,59,54,0.5); }
.ec__option input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0;
  width: 18px; height: 18px; border: 1.5px solid var(--stone); border-radius: 50%;
  background: var(--white); margin: 0; transition: border-color .2s ease, box-shadow .2s ease;
}
.ec__option input:checked { border-color: var(--forest); box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 9px var(--forest); }
.ec__option input:focus-visible { outline: 2px solid var(--gold-dim); outline-offset: 3px; }
.ec__option.is-checked { border-color: var(--forest); background: var(--forest-tint); }
.ec__option-text strong { display: block; font-weight: 700; color: var(--forest); font-size: 0.97rem; line-height: 1.3; }
.ec__option-text small { display: block; font-size: 0.82rem; color: var(--stone); margin-top: 0.15rem; line-height: 1.35; }
.ec__option--leise { background: transparent; border-style: dashed; }
.ec__option--leise strong { font-weight: 500; color: var(--ink-soft); }

.ec__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.8rem; min-height: 48px; }
.ec__zurueck, .ec__ueberspringen { font-size: 0.9rem; font-weight: 600; color: var(--stone); padding: 0.6rem 0; }
.ec__zurueck:hover, .ec__ueberspringen:hover { color: var(--forest); }

.ec__felder { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1rem; margin-top: 0.4rem; }
.ec__feld span:first-child { display: block; font-size: 0.8rem; font-weight: 700; color: var(--forest); margin-bottom: 0.4rem; }
.ec__eingabe { display: flex; align-items: center; border: 1px solid var(--stone-line); background: var(--paper); }
.ec__eingabe:focus-within { border-color: var(--gold); }
.ec__eingabe input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.8rem 0.9rem; font-size: 1rem; color: var(--ink); outline: none; }
.ec__eingabe em { font-style: normal; color: var(--stone); padding-right: 0.9rem; font-size: 0.9rem; }
.ec__feld select {
  width: 100%; border: 1px solid var(--stone-line); background: var(--paper); color: var(--ink);
  padding: 0.8rem 0.9rem; font-size: 0.95rem; border-radius: 0;
}
.ec__feld select:focus { outline: none; border-color: var(--gold); }
.ec__fehler { margin-top: 0.9rem; font-size: 0.88rem; color: #A3361C; }
.ec__aktionen-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.6rem; }

/* ---------- Ergebnis ---------- */
.ec-ergebnis { outline: none; animation: ec-in .5s cubic-bezier(.22,.61,.36,1); }
.ec-ergebnis__kopf { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; }
.ec-ergebnis__badge {
  width: 118px; height: 118px; position: relative;
  background: var(--klasse); color: var(--tinte, #fff);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%);
  padding-right: 18px;
}
.ec-ergebnis__badge small { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; opacity: 0.9; }
.ec-ergebnis__badge strong { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; font-weight: 700; }
.ec-ergebnis__text h3 { margin: 0.6rem 0 0.6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ec-ergebnis__text p { font-size: 0.97rem; }
.ec-ergebnis__text strong { color: var(--forest); }

.ec-skala { position: relative; margin: 3.2rem 0 1.4rem; padding-bottom: 1.6rem; }
.ec-skala__leiste { display: grid; grid-template-columns: repeat(9, 1fr); gap: 2px; }
.ec-skala__klasse {
  display: flex; align-items: center; justify-content: center; height: 36px;
  font-weight: 700; font-size: 0.92rem;
  opacity: 0.5; transition: opacity .3s ease;
}
.ec-skala__klasse.is-aktiv { opacity: 1; box-shadow: 0 0 0 2px var(--forest); position: relative; z-index: 1; }
.ec-skala__spanne { position: absolute; top: 40px; height: 4px; background: var(--forest); opacity: 0.35; }
.ec-skala__marker {
  position: absolute; top: -8px; width: 0; height: 0;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest);
  white-space: nowrap;
}
.ec-skala__marker::after {
  content: ''; position: absolute; left: -6px; top: 0;
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid var(--forest);
}
.ec-skala__marker span { position: absolute; bottom: 2px; left: 0; display: block; }
.ec-skala__marker--unten { top: auto; bottom: 18px; color: var(--gold-dim); }
.ec-skala__marker--unten::after { top: auto; bottom: 0; border-top: 0; border-bottom: 7px solid var(--gold-dim); }
.ec-skala__marker--unten span { bottom: auto; top: 2px; }
.ec-skala__achse { display: none; }

.ec-info { background: var(--paper-alt); border-left: 3px solid var(--gold); padding: 1.1rem 1.3rem; margin-top: 1.2rem; }
.ec-info strong { display: block; color: var(--forest); font-size: 0.97rem; margin-bottom: 0.35rem; }
.ec-info p { font-size: 0.9rem; margin: 0; }
.ec-info p strong { display: inline; font-size: inherit; margin: 0; }

.ec-hebel { margin-top: 2rem; }
.ec-hebel h4 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--forest); margin-bottom: 0.8rem; }
.ec-hebel ol { counter-reset: hebel; }
.ec-hebel li {
  counter-increment: hebel; display: grid; grid-template-columns: 2.2rem 1fr auto auto; align-items: center; gap: 0.3rem 1rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--stone-line); font-size: 0.95rem;
}
.ec-hebel li::before { content: "0" counter(hebel); font-family: var(--font-display); font-size: 1.2rem; color: var(--gold-dim); }
.ec-hebel__titel { font-weight: 700; color: var(--forest); }
.ec-hebel__wert { color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ec-hebel__klasse {
  font-weight: 700; color: var(--tinte, #fff); background: var(--klasse); padding: 0.2rem 0.6rem; font-size: 0.85rem;
  white-space: nowrap;
}
.ec-hebel li small { grid-column: 2 / -1; font-size: 0.82rem; color: var(--stone); }
.ec-hebel a, .ec-info a { color: var(--forest); font-weight: 600; border-bottom: 1px solid var(--gold); }
.ec-hebel__fazit { margin-top: 1.1rem; font-size: 0.94rem; }
.ec-hebel__fazit strong { color: var(--forest); }

.ec-aktionen { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.ec-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; margin-top: 1.1rem; font-size: 0.88rem; }
.ec-links a, .ec-links button { color: var(--forest); font-weight: 600; border-bottom: 1px solid var(--gold); padding: 0; }
.ec-links span { color: var(--stone-line); }

.ec-methode { margin-top: 2rem; border-top: 1px solid var(--stone-line); }
.ec-methode summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0 0.4rem; font-weight: 700; color: var(--forest); font-size: 0.94rem;
  display: flex; justify-content: space-between; align-items: center;
}
.ec-methode summary::-webkit-details-marker { display: none; }
.ec-methode summary::after { content: '+'; font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-dim); transition: transform .25s ease; }
.ec-methode[open] summary::after { transform: rotate(45deg); }
.ec-methode p, .ec-methode li { font-size: 0.88rem; color: var(--ink-soft); }
.ec-methode ul { margin: 0.6rem 0 0.4rem 1.1rem; list-style: disc; }
.ec-methode li { margin-bottom: 0.5rem; }
.ec-methode li strong { color: var(--forest); }

.ec-hinweis-recht { margin-top: 1.4rem; font-size: 0.78rem; line-height: 1.55; color: var(--stone); }
.ec-hinweis-recht strong { color: var(--ink-soft); }

/* Hero-Verweis auf den Energie-Check */
.hero__check { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 1.3rem; font-size: 0.92rem; font-weight: 600; color: var(--forest); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.hero__check svg { color: var(--gold-dim); transition: transform .25s ease; }
.hero__check:hover svg { transform: translateX(3px); }

@media (max-width: 760px) {
  .ec__optionen, .ec__optionen--kompakt { grid-template-columns: 1fr 1fr; }
  .ec__felder { grid-template-columns: 1fr 1fr; }
  .ec__felder .ec__feld:last-child { grid-column: 1 / -1; }
  .ec-ergebnis__kopf { grid-template-columns: 1fr; gap: 1.2rem; }
  .ec-ergebnis__badge { width: 96px; height: 96px; }
  .ec-ergebnis__badge strong { font-size: 2.9rem; }
  .ec-hebel li { grid-template-columns: 2rem 1fr auto; }
  .ec-hebel__wert { grid-column: 2; grid-row: 2; font-size: 0.86rem; }
  .ec-hebel__klasse { grid-column: 3; grid-row: 1 / span 2; }
  .ec-hebel li small { grid-column: 2 / -1; }
}
@media (max-width: 520px) {
  .ec__optionen { grid-template-columns: 1fr; }
  .ec__optionen--kompakt { grid-template-columns: 1fr 1fr; }
  .ec__option { min-height: 56px; padding: 0.85rem 1rem; }
  .ec-skala__klasse { height: 30px; font-size: 0.78rem; }
  .ec-skala__spanne { top: 34px; }
  .ec-aktionen .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}
@media print { .ec-section { display: none; } }

/* Preis-Hinweis (Kleinunternehmer § 19 UStG) */
.price-note { margin-top: 1.1rem; font-size: 0.8rem; color: var(--stone); }
.price-note--center { text-align: center; margin-top: 2.2rem; }

/* Ansprechpartner-Teaser ohne Foto (Porträt steht bereits im Hero) */
.about-teaser--text { grid-template-columns: 1fr 1fr; align-items: start; }
.about-teaser__lead { position: relative; padding-left: clamp(1.2rem, 3vw, 2.4rem); border-left: 2px solid var(--gold); }
.about-teaser--text .about-teaser__quote { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.3; margin: 1.4rem 0 1.8rem; text-wrap: balance; }
.about-teaser__body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; }
.about-teaser__body p { max-width: 54ch; }
.about-facts { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--stone-line); }
.about-facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; align-items: baseline; padding: 0.95rem 0; border-bottom: 1px solid var(--stone-line); }
.about-facts dt { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--forest); font-variant-numeric: lining-nums; }
.about-facts dd { font-size: 0.94rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .about-teaser--text { grid-template-columns: 1fr; gap: 2.4rem; }
}
@media (max-width: 420px) {
  .about-facts div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ==========================================================================
   Feinschliff September 2026
   ========================================================================== */
/* Lesbare Goldtöne auf hellem Grund (Kontrast nach WCAG) */
:root { --gold-text: #86682D; --gold-accent: #9A7A3C; }
em, .italic-accent { color: var(--gold-accent); }
.eyebrow { color: var(--gold-text); }
.section--dark em, .svc-cta-band em, .funding-band em, .site-footer em,
.section--dark .eyebrow, .svc-cta-band .eyebrow, .funding-band .eyebrow { color: var(--gold); }
.ec__zaehler { color: var(--gold-text); }

/* Schlankere Logo-Leiste – Logo selbst bleibt unverändert */
.header-row--brand { padding: 1.1rem 0; border-bottom: 1px solid rgba(201,169,97,0.28); }
.brand__mark { height: 132px; }
@media (max-width: 640px) {
  .header-row--brand { padding: 0.7rem 0; }
  .brand__mark { height: 78px; }
}

/* Symbole statt Emojis */
.mobile-drawer__foot a { display: inline-flex; align-items: center; gap: 0.7rem; }
.mobile-drawer__foot svg { flex-shrink: 0; color: var(--gold); }
.chat-panel__foot a { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; }
.chat-send-btn svg { flex-shrink: 0; color: var(--gold-dim); }

/* Chat am Handy: Knopf über der Kontaktleiste, Fenster fast bildschirmbreit */
@media (max-width: 1024px) {
  .chat-panel { left: 12px; right: 12px; width: auto; max-width: none; bottom: calc(5.4rem + 66px); }
  .chat-panel .chat-panel__body { max-height: calc(100vh - 19rem); max-height: calc(100dvh - 19rem); }
}
@media print { .header-row--brand { padding: 0 0 1rem; border: 0; } .brand__mark { height: 60px; } }
.hero__check { align-self: flex-start; }

/* ==========================================================================
   Feinschliff Oktober 2026
   ========================================================================== */
/* Seitenränder: Elemente, die .container mit eigenem Innenabstand kombinieren,
   behalten links und rechts den Standardabstand (wichtig am Handy) */
.container.trust__row, .container.footer-bottom, .container.breadcrumb, .container.svc-hero {
  padding-left: 1.75rem; padding-right: 1.75rem;
}
@media (max-width: 480px) {
  .container, .container.trust__row, .container.footer-bottom, .container.breadcrumb, .container.svc-hero {
    padding-left: 1.25rem; padding-right: 1.25rem;
  }
}

/* Abschnittskopf mit Text daneben: am Handy untereinander */
@media (max-width: 760px) {
  .section-head--between { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .section-head--between > p { max-width: 46ch !important; }
}

/* Kontaktkacheln: Telefonnummern und E-Mail nicht in Großbuchstaben */
.contact-option strong { text-transform: none; letter-spacing: 0.01em; overflow-wrap: anywhere; }
@media (max-width: 480px) { .contact-option strong { font-size: 1rem; } .contact-option { padding: 1.1rem 1.15rem; } }

/* Vertrauensleiste am Handy: sauber untereinander */
@media (max-width: 640px) {
  .trust__row { gap: 1.3rem; padding-top: 1.8rem; padding-bottom: 1.8rem; }
  .trust__item { flex-basis: 100%; }
  .trust__eee-badge { height: 44px; }
}

/* Platz für die Kontaktleiste am Handy im Footer statt als heller Streifen darunter */
@media (max-width: 1024px) {
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* Navigation mit sechs Punkten: etwas enger zwischen 1025 und 1240 px */
@media (min-width: 1025px) and (max-width: 1240px) {
  .nav__links { gap: 1.4rem; }
}
@media (min-width: 1025px) and (max-width: 1119px) {
  .nav__cta .btn-ghost { display: none; }
}
