/* ============================================================
   Robinig Klimatechnik — Stylesheet
   Farben aus dem Firmenlogo:
   Anthrazit #58595B · Kälte-Blau #2A5E88 · Wärme-Rot #B62B25
   Leitidee: die Skala von kalt nach warm — als feine Linie,
   nie als laute Fläche.
   ============================================================ */

:root {
  --ink: #2b3034;
  --gray: #43484c;
  --gray-soft: #5f666c;
  --blue: #2A5E88;
  --blue-deep: #1d4666;
  --blue-tint: #eaf1f7;
  --night: #0e2233;
  --night-2: #17374f;
  --ice: #8fd0f2;
  --red: #B62B25;
  --red-deep: #8f1f1a;
  --red-tint: #f9edec;
  --ember: #c94f2e;
  --daikin: #29A8E0;
  --bg: #f6f8fa;
  --line: #e3e8ed;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 40, 56, .08);
  --grad-scale: linear-gradient(90deg, var(--ice) 0%, var(--blue) 34%, #7a7d80 52%, var(--ember) 72%, var(--red) 100%);
  --font-display: 'Baloo 2', 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

a { color: var(--blue); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--gray);
  font-weight: 700;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---------- Skip-Link & Fokus ---------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 300;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--daikin);
  outline-offset: 2px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

/* Die Kalt-Warm-Skala als feine Linie am oberen Seitenrand */
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--grad-scale);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .7rem 0;
}

.brand img { height: 54px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: .5rem .85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray);
  text-decoration: none;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.main-nav a:hover { background: var(--blue-tint); color: var(--blue); }

.main-nav a[aria-current="page"] { color: var(--blue); }

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--red);
  color: #fff !important;
  padding: .55rem 1.1rem !important;
  border-radius: 999px !important;
  white-space: nowrap;
}
.btn-phone:hover { background: var(--red-deep) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: .45rem .6rem;
  cursor: pointer;
  color: var(--gray);
}
.nav-toggle svg { display: block; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: .78rem 1.6rem;
  border-radius: 999px;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 3px 12px rgba(182, 43, 37, .25); }
.btn-primary:hover { background: var(--red-deep); }

.btn-secondary { background: var(--blue); color: #fff; box-shadow: 0 3px 12px rgba(42, 94, 136, .25); }
.btn-secondary:hover { background: var(--blue-deep); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-ghost:hover { background: var(--blue-tint); }

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

.hero {
  position: relative;
  overflow: hidden;
  color: #e9f1f8;
  background: linear-gradient(172deg, var(--night) 0%, #143049 56%, var(--night-2) 100%);
}

.hero-slider {
  height: clamp(560px, 82vh, 800px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity .9s ease;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
}
/* Ruhige Kamerafahrt auf dem aktiven Bild */
@keyframes slide-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.hero-slide.active .slide-bg { animation: slide-zoom 9s ease-out both; }

/* Dunkler Verlauf, damit der Text links immer lesbar bleibt */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 27, 41, .90) 0%, rgba(10, 27, 41, .72) 34%, rgba(10, 27, 41, .34) 62%, rgba(10, 27, 41, .10) 100%),
    linear-gradient(to top, rgba(10, 27, 41, .55) 0%, transparent 26%);
}

.hero-slide .container { position: relative; z-index: 2; width: min(1140px, 92%); }

.slide-copy { max-width: 640px; padding-bottom: 3.5rem; }

.hero .eyebrow {
  display: block;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9cc6e4;
  margin-bottom: 1.2rem;
}

.slide-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 24px rgba(8, 22, 34, .45);
}

.slide-title .cold,
.slide-title .warm {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.slide-title .cold { background-image: linear-gradient(100deg, #a5dcf7, #6fb4e2); }
.slide-title .warm { background-image: linear-gradient(100deg, #f4a284, #e2604d); }

.hero p.lead {
  font-size: 1.18rem;
  color: #d3e0eb;
  max-width: 30em;
  margin-bottom: 2rem;
  text-shadow: 0 1px 14px rgba(8, 22, 34, .5);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.hero .btn-ghost {
  color: #eaf3fa;
  border-color: rgba(255, 255, 255, .45);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* Bedienelemente des Sliders */
.slider-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 72px;
  z-index: 3;
}
.slider-ui-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.slider-dots { display: flex; gap: .6rem; }

.slider-dot {
  position: relative;
  width: 44px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px 0;
}
.slider-dot span {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .32);
  overflow: hidden;
  position: relative;
}
/* Der Füllstand kommt als CSS-Variable --p (0 bis 1) aus main.js —
   so bleiben Balken und Folienwechsel immer exakt synchron. */
.slider-dot span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}

.slider-arrows { display: flex; gap: .5rem; }

.slider-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .38);
  background: rgba(10, 27, 41, .25);
  color: #fff;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.slider-arrow:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }

/* ---------- 404-Seite ---------- */

.error-hero {
  min-height: calc(100vh - 250px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.error-hero .roof-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
}

.error-inner { padding: 5rem 0 7rem; max-width: 640px; }

.error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 9.5rem);
  line-height: 1;
  letter-spacing: .02em;
  margin-bottom: .5rem;
}
.error-code .cold,
.error-code .mid,
.error-code .warm {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.error-code .cold { background-image: linear-gradient(120deg, #a5dcf7, #5da3d4); }
.error-code .mid  { background-image: linear-gradient(120deg, #b9c3cb, #8a949c); }
.error-code .warm { background-image: linear-gradient(120deg, #f09a7c, #dd5340); }

.error-hero .eyebrow {
  display: block;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9cc6e4;
  margin-bottom: 1.2rem;
}

.error-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin-bottom: .9rem;
}

.error-hero p.lead { font-size: 1.12rem; }

/* Dach-Kante: das Giebel-Motiv aus dem Logo */
.roof-divider {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.hero-slider .roof-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  z-index: 2;
}

/* ---------- Fakten-Band unter dem Hero ---------- */

.facts-band { border-bottom: 1px solid var(--line); }

.facts-band ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 2rem;
  padding: 1.6rem 0 1.7rem;
}

.facts-band li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.facts-band li + li {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.fact-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.fact-icon.cool { background: var(--blue-tint); color: var(--blue); }
.fact-icon.warm { background: var(--red-tint); color: var(--red); }
.fact-icon.daikin { background: #e6f4fb; color: var(--daikin); }

.fact-text {
  color: var(--gray-soft);
  font-size: .95rem;
  line-height: 1.45;
}
.fact-text b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--gray);
}

/* ---------- Bild-Banner in voller Breite ---------- */

.image-banner {
  position: relative;
  padding: 7.5rem 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #eef4f9;
}
.image-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 27, 41, .82) 0%, rgba(10, 27, 41, .55) 42%, rgba(10, 27, 41, .18) 75%, rgba(10, 27, 41, .05) 100%),
    linear-gradient(to top, rgba(10, 27, 41, .35), transparent 30%);
}
.image-banner .container { position: relative; }

.banner-inner { max-width: 560px; }

.banner-inner .eyebrow {
  display: block;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9cc6e4;
  margin-bottom: 1rem;
}

.banner-inner h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: .9rem;
  text-shadow: 0 2px 24px rgba(8, 22, 34, .45);
}

.banner-inner p {
  font-size: 1.15rem;
  color: #d3e0eb;
  max-width: 34em;
  margin-bottom: 1.8rem;
  text-shadow: 0 1px 14px rgba(8, 22, 34, .5);
}

.banner-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.image-banner .btn-ghost {
  color: #eaf3fa;
  border-color: rgba(255, 255, 255, .45);
}
.image-banner .btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Schwebende Buttons (Info & Cookies) ---------- */

.fab {
  position: fixed;
  bottom: 20px;
  z-index: 150;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 22px rgba(20, 40, 56, .30);
  transition: transform .15s, background .15s;
}
.fab:hover { transform: translateY(-2px); }

.fab-info {
  right: 20px;
  background: var(--blue);
  color: #fff;
}
.fab-info:hover { background: var(--blue-deep); }
.fab-info[aria-expanded="true"] { background: var(--blue-deep); }

.fab-cookie {
  left: 20px;
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--gray-soft);
  border: 1px solid var(--line);
}
.fab-cookie:hover { color: var(--blue); }

/* Info-Panel über dem Info-Button */
.info-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 150;
  width: min(340px, calc(100vw - 40px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(20, 40, 56, .22);
  padding: 1.5rem 1.4rem 1.4rem;
  overflow: hidden;
}
.info-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-scale);
}
.info-panel[hidden] { display: none; }

.info-panel h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.info-panel .info-address {
  color: var(--gray-soft);
  font-size: .95rem;
  margin-bottom: .9rem;
}
.info-panel .info-links {
  list-style: none;
  margin-bottom: 1.1rem;
  display: grid;
  gap: .3rem;
  font-size: .98rem;
}
.info-panel .info-links a { text-decoration: none; }
.info-panel .info-links a:hover { text-decoration: underline; }

.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: #25D366;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: .65rem 1.2rem;
  margin-bottom: 1.1rem;
  transition: background .15s;
}
.wa-btn:hover { background: #1eb857; }

.info-partner {
  display: flex;
  align-items: center;
  gap: .8rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: .92rem;
  color: var(--gray-soft);
}
.info-partner img { height: 30px; width: auto; }
.info-partner a { white-space: nowrap; }

/* ---------- Sektionen ---------- */

.section { padding: 5rem 0; }
.section.alt { background: var(--bg); }

.section-head { max-width: 660px; margin-bottom: 2.8rem; }

.section-head .eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a03a34;
  margin-bottom: .7rem;
}
.section-head .eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-scale);
}
.section-head .eyebrow.cool { color: var(--blue); }

.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .7rem; }
.section-head p { color: var(--gray-soft); font-size: 1.12rem; }

/* ---------- Leistungs-Karten ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: #d5dde4; }

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ice), var(--blue));
}
.card.hot::before { background: linear-gradient(90deg, var(--ember), var(--red)); }
.card.mixed::before { background: linear-gradient(90deg, #9a9da0, #58595B); }

.card .icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: var(--blue-tint);
  color: var(--blue);
}
.card.hot .icon { background: var(--red-tint); color: var(--red); }
.card.mixed .icon { background: #efefef; color: var(--gray); }

.card h3 { font-size: 1.35rem; margin-bottom: .15rem; }
.card p { color: var(--gray-soft); margin-bottom: 1rem; }

.card .card-sub {
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .8rem;
}
.card.hot .card-sub { color: var(--red); }
.card.mixed .card-sub { color: #7a7d80; }

.card ul { list-style: none; margin-bottom: 1.2rem; }
.card ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: .45rem;
  color: var(--ink);
}
.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--blue);
}
.card.hot ul li::before { color: var(--red); }

.card .card-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}
.card .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Gut zu wissen ---------- */

.know-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.4rem 2.8rem;
}

.know {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.know h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.know p { color: var(--gray-soft); font-size: 1rem; }

/* ---------- Ablauf / Schritte ---------- */

.steps {
  counter-reset: step;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.6rem 1.4rem;
}

/* Der Weg von kalt nach warm: die Skala verbindet die Schritte */
.steps::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: .5rem;
  right: calc(20% - 1.2rem);
  height: 3px;
  border-radius: 3px;
  background: var(--grad-scale);
  opacity: .55;
}

.step { position: relative; padding-right: .8rem; }

.step::before {
  counter-increment: step;
  content: counter(step);
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: .85rem;
}
/* Farbverlauf der Schritte entlang der Skala */
.step:nth-child(1)::before { border-color: #4a90c2; color: #4a90c2; }
.step:nth-child(2)::before { border-color: var(--blue); color: var(--blue); }
.step:nth-child(3)::before { border-color: #58595B; color: #58595B; }
.step:nth-child(4)::before { border-color: var(--ember); color: var(--ember); }
.step:nth-child(5)::before { border-color: var(--red); color: var(--red); }

.step h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.step p { color: var(--gray-soft); font-size: .98rem; }

/* Auf hellgrauem Hintergrund weiße Kreise beibehalten */
.section.alt .step::before { background: var(--bg); }

/* ---------- Ansprechpartner + Daikin (Startseite) ---------- */

.duo {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.who h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: .8rem; }
.who > p { color: var(--gray-soft); max-width: 38em; margin-bottom: 1.6rem; }

.who-list {
  list-style: none;
  margin-bottom: 1.8rem;
  display: grid;
  gap: .4rem;
}
.who-list li { display: flex; gap: .9rem; align-items: baseline; }
.who-list .label {
  flex-shrink: 0;
  width: 6.5rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-soft);
}
.who-list a { color: var(--blue); text-decoration: none; }
.who-list a:hover { text-decoration: underline; }

.daikin-panel {
  background: linear-gradient(165deg, #eef7fc, #ffffff 68%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
}
.daikin-panel img { height: 48px; width: auto; margin-bottom: 1.2rem; }
.daikin-panel h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.daikin-panel p { color: var(--gray-soft); font-size: 1rem; margin-bottom: 1.2rem; }
.daikin-panel a { font-weight: 600; }

/* ---------- Daikin / Partner (Unterseiten) ---------- */

.partner-banner {
  background: linear-gradient(140deg, #eef7fc, #ffffff 62%);
  border: 1px solid var(--line);
  border-left: 5px solid var(--daikin);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.partner-banner img { height: 60px; width: auto; flex-shrink: 0; }
.partner-banner .text { flex: 1 1 320px; }
.partner-banner h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.partner-banner p { color: var(--gray-soft); margin-bottom: 1rem; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  transition: box-shadow .2s;
}
.partner-card:hover { box-shadow: var(--shadow); }
.partner-card img { height: 56px; width: auto; margin: 0 auto 1rem; object-fit: contain; }
.partner-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.partner-card p { color: var(--gray-soft); font-size: .95rem; }

/* ---------- Galerie ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: 1rem;
}
.gallery-item:nth-child(3n+1) { background: linear-gradient(150deg, #3f7fae, var(--blue-deep)); }
.gallery-item:nth-child(3n+2) { background: linear-gradient(150deg, #6a6d70, #3c3d3f); }
.gallery-item:nth-child(3n)   { background: linear-gradient(150deg, var(--ember), var(--red-deep)); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA-Streifen ---------- */

.cta-strip {
  color: #fff;
  padding: 4.2rem 0;
  background:
    radial-gradient(38rem 26rem at 90% 130%, rgba(201, 79, 46, .38), transparent 62%),
    radial-gradient(30rem 20rem at -6% -40%, rgba(143, 208, 242, .18), transparent 60%),
    linear-gradient(160deg, #12314a, var(--blue-deep));
}
.cta-strip h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .6rem; }
.cta-strip p { color: #c3d4e2; margin-bottom: 1.8rem; max-width: 38em; }
.cta-strip .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: none; }
.cta-strip .btn-primary:hover { background: var(--bg); }

.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem; }
.cta-actions .or { color: #9fb8ca; font-size: .95rem; }

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}
.cta-phone svg { flex-shrink: 0; }
.cta-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Kontakt ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1rem; }
.contact-info strong { font-family: var(--font-display); font-weight: 600; color: var(--gray); }
.contact-info a { word-break: break-word; }

.contact-form { display: grid; gap: 1.1rem; }

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray);
  margin-bottom: .3rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  padding: .75rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); }

.form-consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--gray-soft);
}
.form-consent input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; flex-shrink: 0; }

.form-note { font-size: .9rem; color: var(--gray-soft); }

/* Honeypot: für Menschen unsichtbar, Bots füllen es trotzdem aus */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { display: none; border-radius: 10px; padding: .8rem 1.1rem; font-size: .98rem; }
.form-status.ok {
  display: block;
  background: #e8f5ec;
  color: #1c6b3c;
  border: 1px solid #bfe3cc;
}
.form-status.err {
  display: block;
  background: var(--red-tint);
  color: var(--red-deep);
  border: 1px solid #edc9c6;
}

/* ---------- Standort-Karte (Leaflet) ---------- */

.map-block { margin-top: 3.2rem; }
.map-block h3 { font-size: 1.4rem; margin-bottom: 1rem; }

.map-wrap {
  position: relative;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-canvas { width: 100%; height: 100%; background: var(--blue-tint); }

/* Die Kalt-Warm-Skala auch über der Karte */
.map-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 900;
  background: var(--grad-scale);
}

/* Kacheln in ein blau-graues Monochrom umfärben, passend zur Marke */
.map-canvas .leaflet-tile-pane {
  filter: grayscale(1) sepia(.5) hue-rotate(165deg) saturate(.55) brightness(1.04) contrast(.92);
}

/* Zoom-Buttons im Stil der Seite */
.map-canvas .leaflet-control-zoom {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(20, 40, 56, .14);
}
.map-canvas .leaflet-control-zoom a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 17px;
  color: var(--blue);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.map-canvas .leaflet-control-zoom a:last-child { border-bottom: none; }
.map-canvas .leaflet-control-zoom a:hover { background: var(--blue-tint); color: var(--blue-deep); }

/* Popup & Attribution im Seitendesign */
.map-canvas .leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(20, 40, 56, .20);
  border: 1px solid var(--line);
}
.map-canvas .leaflet-popup-tip { box-shadow: none; border: 1px solid var(--line); }
.map-canvas .leaflet-control-attribution {
  background: rgba(255, 255, 255, .82);
  color: var(--gray-soft);
  font-size: .68rem;
  padding: 2px 8px;
  border-radius: 8px 0 0 0;
}

/* Zustimmungs-Overlay: liegt über der Karte, bis "Karte laden" gedrückt wird */
.map-consent {
  position: absolute;
  inset: 0;
  z-index: 800;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, var(--blue-tint), var(--bg) 70%);
}
.map-consent[hidden] { display: none; }
.map-consent-inner { max-width: 430px; }
.map-consent h4 { font-size: 1.25rem; margin-bottom: .5rem; }
.map-consent p { color: var(--gray-soft); font-size: .95rem; margin-bottom: 1.1rem; }

/* Eigener Kartenpin im Markenlook (Giebel aus dem Logo) */
.map-marker svg { display: block; filter: drop-shadow(0 4px 8px rgba(20, 40, 56, .35)); }

.leaflet-popup-content {
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.55;
}
.leaflet-popup-content strong { font-family: var(--font-display); color: var(--gray); }
.leaflet-popup-content a { color: var(--blue); }

/* ---------- Rechtsseiten ---------- */

.legal { padding: 3.5rem 0 4.5rem; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.8rem; }
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 .7rem; }
.legal h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.legal p, .legal ul { margin-bottom: 1rem; }
.legal ul { padding-left: 1.4rem; }

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

.site-footer {
  background: var(--bg);
  color: var(--gray-soft);
  padding: 3.5rem 0 0;
  font-size: .98rem;
  border-top: 3px solid transparent;
  border-image: var(--grad-scale) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.2rem;
  padding-bottom: 2.5rem;
}

.site-footer h4 {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: .9rem;
}

.site-footer a { color: var(--gray-soft); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .45rem; }

.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-daikin img { height: 36px; width: auto; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  justify-content: space-between;
  font-size: .9rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Cookie-Banner ---------- */

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  background: var(--white);
  border-top: 3px solid var(--blue);
  box-shadow: 0 -8px 30px rgba(51, 56, 60, .18);
  padding: 1.3rem 0;
  display: none;
}
.cookie-banner.visible { display: block; }

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-inner p { flex: 1 1 380px; font-size: .95rem; color: var(--gray-soft); margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.cookie-actions .btn { padding: .55rem 1.2rem; font-size: .95rem; }

/* ---------- Scroll-Reveal ---------- */

/* Nur ausblenden, wenn JS aktiv ist (html.js) — sonst bleibt alles sichtbar */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .hero-slide { transition: none; }
  .hero-slide.active .slide-bg { animation: none; }
  .slider-dot.active span::after { transform: scaleX(1); }
}

/* ---------- Responsive ---------- */

@media (max-width: 940px) {
  .duo { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps::before { display: none; }
  .facts-band ul { grid-template-columns: 1fr; gap: 1.1rem; }
  .facts-band li + li { border-left: none; padding-left: 0; }
  .slider-ui { bottom: 60px; }
  .slider-arrows { display: none; }
  .slide-copy { padding-bottom: 4.5rem; }
}

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

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .8rem 4%;
  }
  .main-nav a { padding: .8rem .6rem; }
  .btn-phone { justify-content: center; margin-top: .5rem; }

  .section { padding: 3.4rem 0; }

  /* fixierte Hintergründe ruckeln auf Mobilgeräten */
  .image-banner { background-attachment: scroll; padding: 5rem 0; }
}
