/* =========================================================
   Brugger Heizung & Sanitär · Variante „Rot/Weiß“
   Schriften lokal eingebunden (keine Google Fonts, DSGVO)
   ========================================================= */

@font-face { font-family: "Heros Cn"; src: url("../fonts/heroscn-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  /* Farben angelehnt an das bisherige Brugger-Logo: Blau + Gelb */
  --rot: #0b6a93;          /* Hauptakzent (Name aus Variante Rot beibehalten) = Brugger-Blau */
  --rot-dunkel: #07506f;
  --rot-hell: #e3f0f6;
  --gelb: #ece341;
  --gelb-dunkel: #d8ce1f;
  --anthrazit: #0a3a52;    /* dunkle Flächen = tiefes Blau */
  --text: #1b2b36;
  --grau: #546874;
  --hell: #f1f5f8;
  --linie: #dbe4ea;
  --weiss: #ffffff;
  --blau: #3a8fbf;

  --display: "Heros Cn", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --breite: 1240px;
  --rand: clamp(18px, 4vw, 40px);
  --schnitt: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.65; color: var(--text); background: var(--weiss); }
img, svg { display: block; max-width: 100%; }
a { color: var(--rot); }
a:hover { color: var(--rot-dunkel); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; box-shadow: 0 0 0 5px var(--anthrazit); }
.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--anthrazit); color: #fff; padding: 10px 16px; z-index: 300; }
.skip:focus { left: 12px; top: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }
.lead { font-size: 1.06rem; color: var(--grau); max-width: 42em; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none;
  padding: 14px 22px; border: 2px solid transparent; white-space: nowrap; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--schnitt)), calc(100% - var(--schnitt)) 100%, 0 100%);
  transition: background-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--rot { background: var(--gelb); color: var(--anthrazit); }
.btn--rot:hover { background: #fff36a; color: var(--anthrazit); }
.btn--weiss { background: #fff; color: var(--anthrazit); }
.btn--weiss:hover { background: var(--anthrazit); color: #fff; }
.btn--linie { border-color: rgba(255,255,255,.75); color: #fff; clip-path: none; }
.btn--linie:hover { background: #fff; color: var(--anthrazit); }
.btn--klein { padding: 10px 16px; font-size: .88rem; --schnitt: 10px; }

/* ---------- Infoleiste ---------- */
.infoleiste { background: var(--anthrazit); color: #c9cfd6; font-size: .82rem; }
.infoleiste .wrap { display: flex; gap: 8px 28px; flex-wrap: wrap; align-items: center; min-height: 38px; }
.infoleiste a { color: #fff; text-decoration: none; }
.infoleiste a:hover { color: #fff; text-decoration: underline; }
.infoleiste span { display: inline-flex; align-items: center; gap: 7px; }
.infoleiste svg { width: 14px; height: 14px; stroke: var(--gelb); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.infoleiste .rechts { margin-left: auto; display: flex; gap: 22px; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--linie); }
.kopf .wrap { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.marke { text-decoration: none; display: flex; align-items: center; gap: 12px; color: var(--anthrazit); }
.marke__zeichen { width: 40px; height: 40px; flex: none; }
.marke__text { display: flex; flex-direction: column; line-height: 1; }
.marke__text b { font-family: var(--display); font-size: 1.75rem; letter-spacing: .02em; color: var(--anthrazit); }
.marke__text small { font-size: .72rem; font-weight: 600; color: var(--grau); margin-top: 3px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; padding: 26px 11px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 18px; height: 3px; background: var(--gelb); transform: scaleX(0); transition: transform .2s ease; transform-origin: left; }
.nav a:hover { color: var(--anthrazit); }
.nav a:hover::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; padding: 12px 18px; }
.nav .btn::after { display: none; }
.menue-knopf { display: none; margin-left: auto; background: none; border: 0; padding: 10px; color: var(--anthrazit); cursor: pointer; }
.menue-knopf svg { width: 28px; height: 28px; }

/* ---------- Hero mit Slideshow ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--anthrazit); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.slide.aktiv { opacity: 1; }
.slide.aktiv img { animation: zoom 9s ease-out both; }
@keyframes zoom { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,38,56,.9) 0%, rgba(6,38,56,.7) 42%, rgba(6,38,56,.15) 80%),
              linear-gradient(0deg, rgba(6,38,56,.55) 0%, rgba(6,38,56,0) 30%);
}
.hero > .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 150px; }
.hero__inhalt { max-width: 640px; }
.marker { display: inline-flex; align-items: center; gap: 8px; background: var(--gelb); color: var(--anthrazit); font-weight: 700; font-size: .8rem; padding: 7px 12px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 5.8vw, 4.6rem); line-height: .98; }
.hero p.lead { color: #e2e6ea; font-size: 1.1rem; max-width: 34em; margin: 22px 0 30px; }
.hero .aktionen { display: flex; flex-wrap: wrap; gap: 12px; }

.slide-steuerung { position: absolute; z-index: 3; left: 0; right: 0; bottom: 92px; }
.slide-steuerung .wrap { display: flex; align-items: center; gap: 18px; padding-top: 0; padding-bottom: 0; }
.punkte { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.punkte button { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; position: relative; overflow: hidden; }
.punkte button[aria-current="true"] { background: rgba(255,255,255,.4); }
.punkte button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: fortschritt var(--dauer, 7s) linear both; }
.hero.pausiert .punkte button[aria-current="true"]::after { animation: none; transform: none; }
@keyframes fortschritt { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slide-titel { font-size: .85rem; color: #dfe3e7; min-width: 9em; }
.pause { background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; width: 32px; height: 32px; display: grid; place-content: center; cursor: pointer; }
.pause svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Vorteile (überlappend) ---------- */
.vorteile { position: relative; z-index: 5; margin-top: -64px; }
.vorteile ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; box-shadow: 0 18px 40px -20px rgba(20,24,28,.35); }
.vorteile li { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; border-right: 1px solid var(--linie); }
.vorteile li:last-child { border-right: 0; }
.vorteile li:first-child { border-top: 4px solid var(--rot); }
.vorteile li { border-top: 4px solid transparent; }
.vorteile li:first-child { border-top-color: var(--gelb); }
.vorteile svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--rot); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vorteile b { display: block; font-size: .92rem; line-height: 1.3; }
.vorteile span { font-size: .82rem; color: var(--grau); line-height: 1.4; display: block; margin-top: 3px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(64px, 8vw, 104px) 0; }
.abschnitt--hell { background: var(--hell); }
.kopfzeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.kopfzeile > div { max-width: 46em; }
.titelstrich { display: block; width: 44px; height: 4px; background: var(--rot); margin-bottom: 16px; }

/* Leistungskarten */
.karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.karte { background: #fff; text-decoration: none; color: var(--text); display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--linie), 0 0 0 1px var(--linie); transition: box-shadow .2s ease, transform .2s ease; }
.abschnitt--hell .karte { box-shadow: none; }
.karte:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(20,24,28,.45); color: var(--text); }
.karte__bild { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hell); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.karte:hover .karte__bild img { transform: scale(1.05); }
.karte__icon { position: relative; z-index: 1; margin: -24px 0 0 20px; width: 48px; height: 48px; background: var(--rot); display: grid; place-content: center; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.karte__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.karte__text { padding: 14px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.karte__text h3 { margin-bottom: 8px; }
.karte__text p { color: var(--grau); font-size: .9rem; margin: 0 0 14px; }
.mehr { margin-top: auto; font-weight: 700; font-size: .85rem; color: var(--rot); display: inline-flex; gap: 6px; align-items: center; }
.mehr svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.karte:hover .mehr svg { transform: translateX(3px); }

/* ---------- Wärmepumpe ---------- */
.wp-oben { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 48px; }
.foto-rahmen { position: relative; isolation: isolate; }
.foto-rahmen img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%); }
.foto-rahmen::before { content: ""; position: absolute; left: -14px; top: -14px; width: 40%; height: 40%; background: var(--gelb); z-index: -1; }
.foto-badge { position: absolute; right: 22px; top: 22px; background: #fff; padding: 14px 18px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.45); }
.foto-badge b { display: block; font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--rot); }
.foto-badge span { font-size: .8rem; color: var(--grau); }
.energie { margin-top: 24px; }
.energie__balken { display: flex; height: 44px; font-weight: 700; font-size: .85rem; }
.energie__balken span { display: flex; align-items: center; padding: 0 12px; white-space: nowrap; overflow: hidden; }
.energie__umwelt { width: 75%; background: var(--rot); color: #fff; }
.energie__strom { width: 25%; background: var(--gelb); color: var(--anthrazit); }
.energie__summe { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: .82rem; color: var(--grau); }
.energie__summe b { color: var(--rot); }

.schaubild { background: #fff; padding: clamp(16px, 3vw, 30px); box-shadow: 0 0 0 1px var(--linie); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tabs button { font-family: var(--body); font-weight: 600; font-size: .88rem; padding: 9px 16px; border: 1px solid var(--linie); background: #fff; color: var(--text); cursor: pointer; }
.tabs button:hover { border-color: var(--rot); }
.tabs button[aria-selected="true"] { background: var(--rot); border-color: var(--rot); color: #fff; }
.schaubild__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wp-svg { min-width: 660px; width: 100%; height: auto; }
.wp-svg text { font-family: var(--body); font-size: 15px; fill: var(--text); }
.wp-svg .klein { font-size: 13px; fill: var(--grau); }
.wp-svg .nr { font-weight: 700; font-size: 15px; fill: var(--anthrazit); }
.wp-svg .quelle { display: none; }
.wp-svg .quelle.aktiv { display: inline; }
.wp-svg .fliesst { animation: fliessen 1.4s linear infinite; }
.wp-svg .fliesst-luft { animation-name: fliessen-luft; }
.wp-svg .fliesst-wasser { animation-name: fliessen-wasser; animation-duration: 2.4s; }
@keyframes fliessen { to { stroke-dashoffset: -40; } }
@keyframes fliessen-luft { to { stroke-dashoffset: 36; } }
@keyframes fliessen-wasser { to { stroke-dashoffset: -28; } }
.schaubild__text { margin-top: 16px; max-width: 54em; }
.schaubild__text h3 { font-size: 1.2rem; margin-bottom: 4px; }
.wischen { display: none; font-size: .82rem; color: var(--grau); margin: 0 0 8px; }

.schritte { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.schritte li { counter-increment: s; padding: 0 22px 0 0; position: relative; }
.schritte li::before { content: counter(s); display: grid; place-content: center; width: 36px; height: 36px; background: var(--gelb); color: var(--anthrazit); font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; }
.schritte li::after { content: ""; position: absolute; top: 17px; left: 36px; right: 0; height: 2px; background: var(--linie); }
.schritte li:last-child::after { display: none; }
.schritte h3 { font-size: 1.15rem; margin-bottom: 4px; }
.schritte p { margin: 0; font-size: .88rem; color: var(--grau); }
.hinweis { font-size: .84rem; color: var(--grau); margin-top: 22px; }

/* ---------- Heizung (dunkel) ---------- */
.dunkel { background: var(--anthrazit); color: #e6e9ec; position: relative; overflow: hidden; }
.dunkel h2 { color: #fff; }
.dunkel .lead { color: #b9c1c9; }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; position: relative; z-index: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 600; font-size: .84rem; padding: 7px 13px; }
.haken { list-style: none; margin: 0; padding: 0; }
.haken li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linie); font-size: .95rem; }
.haken li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: var(--gelb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a3a52' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.dunkel .haken li { border-color: rgba(255,255,255,.12); }
.box-weiss { background: #fff; color: var(--text); padding: clamp(22px, 3vw, 34px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%); }
.box-weiss h3 { margin-bottom: 12px; }

/* ---------- Bildkarten (Solar, Klima, Energie) ---------- */
.bildkarten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bildkarte { background: #fff; display: flex; flex-direction: column; }
.abschnitt--hell .bildkarte { background: #fff; }
.bildkarte > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 40%; }
.bildkarte__text { padding: clamp(20px, 3vw, 32px); }
.bildkarte h3 { font-size: 1.6rem; margin-bottom: 10px; }
.bildkarte .haken li { padding: 9px 0; font-size: .92rem; }
.kombi { margin-top: 22px; background: var(--gelb); color: var(--anthrazit); padding: 20px 26px; display: flex; gap: 16px; align-items: center; font-weight: 600; }
.kombi svg { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--anthrazit); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kombi p { margin: 0; }

/* ---------- Bad ---------- */
.bad { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.bad__bild { position: sticky; top: 110px; }
.bad__bild img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
.ablauf { list-style: none; counter-reset: a; margin: 28px 0 0; padding: 0; }
.ablauf li { counter-increment: a; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.ablauf li::before { content: counter(a, decimal-leading-zero); font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--rot); }
.ablauf h3 { font-size: 1.2rem; margin-bottom: 3px; }
.ablauf p { margin: 0; font-size: .9rem; color: var(--grau); }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.extras div { background: var(--hell); padding: 16px; border-left: 3px solid var(--rot); }
.extras b { display: block; font-size: .92rem; margin-bottom: 2px; }
.extras span { font-size: .84rem; color: var(--grau); line-height: 1.45; display: block; }

/* ---------- Ausstellung (rot) ---------- */
.rot-flaeche { background: var(--rot); color: #fff; position: relative; overflow: hidden; }
.rot-flaeche h2 { color: #fff; }
.rot-flaeche .lead { color: #d6ebf5; }
.rot-flaeche .titelstrich, .dunkel .titelstrich { background: var(--gelb); }
.ausstellung { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.galerie { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.galerie img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.galerie img:first-child { grid-row: span 2; aspect-ratio: auto; }
.infokarte { background: #fff; color: var(--text); padding: clamp(22px, 3vw, 32px); }
.infokarte h3 { margin-bottom: 10px; }
.zeiten { width: 100%; border-collapse: collapse; font-size: .92rem; }
.zeiten th, .zeiten td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.zeiten th { font-weight: 700; padding-right: 14px; white-space: nowrap; }
.zeiten td { font-variant-numeric: tabular-nums; }
.termin { font-weight: 700; font-size: .9rem; margin: 10px 0 16px; color: var(--rot); }
address { font-style: normal; line-height: 1.55; margin-bottom: 16px; font-size: .95rem; }
.marken { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; list-style: none; padding: 0; }
.marken li { font-size: .82rem; font-weight: 600; padding: 5px 11px; border: 1px solid rgba(255,255,255,.45); }
.marken li:first-child { border: 0; padding-left: 0; font-weight: 700; }

/* ---------- Über uns ---------- */
.ueber { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.ueber p.gross { font-size: 1.08rem; }
.zitat { margin: 26px 0 0; padding: 22px 26px; background: var(--hell); border-left: 6px solid var(--gelb); }
.zitat blockquote { margin: 0; font-family: var(--display); font-size: 1.45rem; line-height: 1.2; }
.zitat figcaption { margin-top: 8px; font-size: .85rem; color: var(--grau); }
.chronik { list-style: none; margin: 0; padding: 0; }
.chronik li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.chronik li:first-child { border-top: 4px solid var(--anthrazit); }
.chronik b { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--rot); }
.chronik p { margin: 0; font-size: .92rem; color: var(--grau); }

/* ---------- CTA-Band ---------- */
.cta { background: var(--anthrazit) url("../img/fotos/slide-heizraum.jpg") center / cover; position: relative; color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,38,56,.94) 30%, rgba(11,106,147,.78)); }
.cta .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 20em; }
.cta p { margin: 8px 0 0; color: #d6dbe0; }

/* ---------- Kontakt ---------- */
.kontakt__raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.kanal { margin: 0 0 16px; }
.kanal dt { font-size: .8rem; color: var(--grau); font-weight: 600; }
.kanal dd { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.1; }
.kanal dd a { color: var(--anthrazit); text-decoration: none; border-bottom: 3px solid var(--gelb); }
.kanal dd a:hover { color: var(--rot); }
.kanal dd.mail { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.kontakt h3 { font-size: 1.25rem; margin-bottom: 10px; }

/* ---------- Fuß ---------- */
.fuss { background: var(--anthrazit); color: #aab3bc; font-size: .85rem; padding: 34px 0; }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.fuss .marke__text b { color: #fff; font-size: 1.4rem; }
.fuss nav { margin-left: auto; display: flex; gap: 22px; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.bildnachweis { width: 100%; font-size: .75rem; color: #7d8791; }

/* ---------- Rechtstexte ---------- */
.recht { padding: clamp(44px, 6vw, 80px) 0; }
.recht .wrap { max-width: 820px; }
.recht h1 { font-size: clamp(2.3rem, 5vw, 3.2rem); margin-bottom: 24px; }
.recht h2 { font-size: 1.5rem; margin: 32px 0 8px; }
.recht h3 { font-size: 1.15rem; margin: 22px 0 6px; }
.todo { background: #fff1a8; outline: 1px dashed #b38f00; padding: 0 4px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 26px 8px; font-size: .86rem; }
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .menue-knopf { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 6px var(--rand) 18px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.35); }
  .nav.offen { display: flex; }
  .nav a { padding: 13px 2px; border-bottom: 1px solid var(--hell); }
  .nav a::after { display: none; }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
  .vorteile ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vorteile li:nth-child(2) { border-right: 0; }
  .vorteile li { border-bottom: 1px solid var(--linie); }
  .wp-oben, .zweispaltig, .bad, .ausstellung, .ueber { grid-template-columns: 1fr; }
  .bad__bild { position: static; }
  .bad__bild img { aspect-ratio: 16 / 9; }
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .schritte li:nth-child(2)::after { display: none; }
  .kontakt__raster { grid-template-columns: 1fr 1fr; }
  .kontakt__raster > :first-child { grid-column: 1 / -1; }
  .infoleiste .zeiten-kurz { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .infoleiste .rechts { margin-left: 0; }
  .infoleiste .mail-kurz { display: none; }
  .marke__text b { font-size: 1.5rem; }
  .marke__zeichen { width: 34px; height: 34px; }
  .hero { min-height: 640px; }
  .hero > .wrap { padding-top: 56px; padding-bottom: 130px; }
  .hero::before { background: linear-gradient(180deg, rgba(6,38,56,.55) 0%, rgba(6,38,56,.86) 60%, rgba(6,38,56,.92) 100%); }
  .slide-steuerung { bottom: 84px; }
  .slide-titel { display: none; }
  .vorteile ul, .karten, .bildkarten, .schritte, .extras, .kontakt__raster { grid-template-columns: 1fr; }
  .vorteile li { border-right: 0; }
  .schritte li::after { display: none; }
  .galerie { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .galerie img:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .foto-badge { right: 12px; top: 12px; padding: 10px 12px; }
  .foto-badge b { font-size: 1.8rem; }
  .wischen { display: block; }
  .fuss nav { margin-left: 0; }
  .btn { white-space: normal; }
  .energie__strom .lang { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.aktiv img, .wp-svg .fliesst { animation: none; }
  .karte, .karte__bild img, .btn { transition: none; }
  .karte:hover { transform: none; }
}

/* Ergänzungen */
.marke__zeichen { display: grid; place-content: center; background: var(--rot); color: #fff; font-family: var(--display); font-size: 1.7rem; line-height: 1; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.bildkarte--grau { background: var(--hell) !important; }
.karte__icon svg path, .karte__icon svg rect, .karte__icon svg circle { vector-effect: non-scaling-stroke; }

.nav .btn--rot, .nav .btn--rot:hover { color: var(--anthrazit); }
h1, h2, h3 { text-wrap: balance; }
#klima > img { object-position: center 20%; }

/* Logo im Kopf/Fuß (gelber Schriftzug wie bisher) */
.marke__logo { height: 38px; width: auto; }
.marke__unter { font-size: .72rem; font-weight: 600; color: var(--grau); line-height: 1.2; border-left: 2px solid var(--linie); padding-left: 12px; }
.fuss .marke__logo { height: 30px; }
.rot-flaeche .btn--rot { background: var(--gelb); }
.rot-flaeche .infokarte .termin { color: var(--rot); }
@media (max-width: 640px) { .marke__logo { height: 32px; } .marke__unter { display: none; } }

/* Solarthermie: Bild und Text nebeneinander */
.bildkarte--quer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.bildkarte--quer > svg { min-height: 280px; }
@media (max-width: 860px) { .bildkarte--quer { grid-template-columns: 1fr; } .bildkarte--quer > svg { min-height: 0; aspect-ratio: 16 / 9; } }
