/* enetum.de – Ersatzseite: Nachbau der Wix-Seite (Stand 26.10.2026)
   Maße und Farben aus 30-Inhalte-Export/enetum/wix-2026/layout-rohdaten.json und den Screenshots (1280 und 375 px).
   Schriften: Nunito Sans (OFL, selbst gehostet) für alles. Bei Wix stehen eigentlich:
   - Questrial: Fließtext, Überschriften der Startseite, Karten, FAQ, Newsblog
   - Spinnaker: Titel der Unterseiten (weiße bzw. graue Titelbox)
   - Avenir: „Kontaktanfrage“ im Fußbereich
   - Arial/Helvetica fett: Hauptmenü (hier Nunito Sans, vom Browser fett gerechnet)
   Kein JavaScript, keine Inline-Styles (Content-Security-Policy in .htaccess). */

@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/schriften/nunito-sans-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/schriften/nunito-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --lila: #424065;
  --lila-dunkel: #34324f;
  --teal: #5daebb;
  --teal-dunkel: #4b98a4;
  --rosa: #ebdad4;
  --hellgrau: #e8e6e6;
  --kartengrau: #f2f2f2;
  --teamgrau: #edecec;
  --text: #1f1f1f;
  --linie: #d9d9d9;
  /* eigentlich Questrial */
  --fliess: "Nunito Sans", Questrial, "Segoe UI", Helvetica, Arial, sans-serif;
  /* eigentlich Questrial (Überschriften) */
  --titel: "Nunito Sans", Questrial, "Segoe UI", Helvetica, Arial, sans-serif;
  /* eigentlich Spinnaker (Titel der Unterseiten) */
  --spinnaker: "Nunito Sans", Spinnaker, "Segoe UI", Helvetica, Arial, sans-serif;
  /* eigentlich Avenir („Kontaktanfrage“) */
  --avenir: "Nunito Sans", Avenir, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--fliess);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

.unsichtbar {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.sprung {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}
.sprung:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- Kopfbereich ---------- */
.kopf { position: relative; z-index: 20; background: #fff; }
.kopf-innen {
  position: relative;
  max-width: 1280px;
  height: 137px;
  margin: 0 auto;
  padding: 0 40px 0 49px;
  display: flex;
  align-items: center;
}
.kopf-logo { display: block; flex: none; }
.kopf-logo img { width: 78px; height: auto; }

.menue-schalter, .menue-knopf { display: none; }

.hauptmenue { margin-left: auto; margin-right: 130px; }
.hauptmenue > ul { display: flex; gap: 30px; list-style: none; }
.hauptmenue a {
  display: block;
  font-weight: 700; /* Wix: Arial fett; Nunito Sans wird vom Browser fett gerechnet */
  font-size: 15px;
  line-height: 40px;
  color: var(--lila);
  text-decoration: none;
  white-space: nowrap;
}
.hauptmenue a:hover, .hauptmenue a[aria-current] { color: var(--teal); }

/* ---------- Knöpfe ---------- */
.aktion { display: flex; justify-content: flex-end; }
.knopf-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 51px;
  background: var(--lila);
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  text-decoration: none;
  transition: background-color .2s;
}
.knopf-plus:hover { background: var(--lila-dunkel); }
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  height: 51px;
  padding: 0 22px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #fff;
  font-family: var(--fliess);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.knopf:hover { background: var(--teal-dunkel); border-color: var(--teal-dunkel); }
.knopf-rahmen { background: transparent; border-color: #fff; }
.knopf-rahmen:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }

/* Fließtext-Bausteine */
.fliess > * + * { margin-top: 20px; }
.fliess p + ul, .fliess p + ol { margin-top: 6px; }
.punkte { padding-left: 24px; list-style: disc; }
.punkte-zahl { padding-left: 24px; list-style: decimal; }
.fliess a { color: var(--teal); }
.mit-linie { position: relative; padding-left: 147px; }
.mit-linie::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 93px;
  height: 2px;
  background: var(--lila);
}

/* ---------- Startseite: Bild mit Textbox ---------- */
.start-held { background: linear-gradient(to bottom, #fff 0, #fff 1063px, var(--rosa) 1063px); }
.start-held-innen { max-width: 1280px; margin: 0 auto; padding-bottom: 73px; }
.start-held-bild { width: 86%; height: 1037px; overflow: hidden; }
.start-held-bild img { width: 100%; height: 100%; object-fit: cover; }
.start-held-box {
  position: relative;
  width: 900px;
  max-width: calc(100% - 40px);
  margin: -394px 0 0 203px;
  padding: 4px 23px 33px 49px;
  background: #f5f5f5;
}
.start-logo { display: block; width: 600px; max-width: 100%; }
.start-held-box h1 {
  margin-top: -14px;
  color: var(--lila);
  font-family: var(--titel);
  font-weight: 300;
  font-size: 66px;
  line-height: 1.1;
}
.start-held-box .mit-linie { max-width: 780px; margin-top: 40px; }
.start-held-box .fliess > * + * { margin-top: 14px; }
.start-held-box .fliess p + ul { margin-top: 4px; }
.start-held-box .aktion { margin-top: 36px; }

/* ---------- Startseite: Dienstleistungen ---------- */
.band { background: var(--lila); color: #fff; text-align: center; padding: 50px 20px 52px; }
.band h2 { font-family: var(--titel); font-weight: 300; font-size: 55px; line-height: 1.1; }
.band p { max-width: 800px; margin: 16px auto 0; font-size: 16px; line-height: 27.2px; letter-spacing: .64px; }

.karten { background: var(--rosa); padding: 60px 20px 70px; }
.karten-liste {
  display: grid;
  grid-template-columns: repeat(3, 277px);
  justify-content: center;
  column-gap: 46px;
  row-gap: 56px;
  list-style: none;
}
.karte {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 28px 24px 26px;
  background: var(--kartengrau);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, .14);
}
.karte h3 {
  min-height: 100px;
  color: var(--lila);
  font-family: var(--titel);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.15;
  text-align: center;
}
.karte p { margin-top: 14px; font-size: 13px; line-height: 1.65; }
.karte-mehr { margin-top: auto; padding-top: 18px; color: var(--teal); font-size: 13px; text-decoration: none; }
.karte-mehr:hover { text-decoration: underline; }
.lila-linie { height: 30px; margin-top: 22px; background: var(--lila); }

/* ---------- Startseite: Wie geht es weiter? ---------- */
.weiter { padding: 65px 20px 0; }
.weiter-box { max-width: 921px; margin: 0 auto; padding: 8px 40px 60px; background: #efefef; }
.weiter-bild { width: 537px; max-width: 100%; margin: 0 auto; }
.weiter-box h2 {
  margin-top: 4px;
  padding-left: 72px;
  color: var(--lila);
  font-family: var(--titel);
  font-weight: 300;
  font-size: 55px;
  line-height: 1.15;
}
.weiter-box .mit-linie { max-width: 720px; margin-top: 30px; padding-left: 229px; font-size: 16px; line-height: 1.6; }
.weiter-box .mit-linie::before { left: 136px; top: 12px; }
.weiter-box .fliess > * + * { margin-top: 14px; }
.weiter-box .fliess p + ul { margin-top: 4px; }
.weiter .aktion { max-width: 921px; margin: 30px auto 0; }

.logo-band { margin-top: 37px; padding: 22px 20px 23px; background: var(--rosa); }
.logo-band a { display: block; width: 614px; max-width: 100%; margin: 0 auto; }

/* ---------- Startseite: FAQ ---------- */
.faq { position: relative; overflow: hidden; padding: 46px 20px 70px; }
.faq-bild, .faq-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faq-schleier { position: absolute; inset: 0; background: rgba(255, 255, 255, .88); }
.faq-innen { position: relative; max-width: 918px; margin: 0 auto; }
.faq h2 { color: var(--lila); font-family: var(--titel); font-weight: 300; font-size: 32px; text-align: center; }
.faq-liste { margin-top: 30px; }
.faq-frage summary {
  position: relative;
  display: block;
  padding: 30px 56px 30px 0;
  cursor: pointer;
  list-style: none;
}
.faq-frage summary::-webkit-details-marker { display: none; }
.faq-frage summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}
.faq-frage[open] summary::after { content: "\2212"; }
.faq-frage h3 { font-family: var(--titel); font-size: 18px; line-height: 1.35; }
.faq-antwort { padding: 0 56px 26px 0; font-size: 16px; line-height: 24px; }
.faq-antwort > * + * { margin-top: 12px; }
.faq-antwort .punkte { margin-top: 4px; }

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px 111px;
  margin-bottom: 43px;
  padding: 40px 20px 42px;
  background: #fafafa;
}
.logo-eee { width: 330px; }
.logo-dme { width: 225px; }

/* ---------- Unterseiten: Bild, Titelbox, Text ---------- */
.kopfbild { height: 572px; overflow: hidden; }
.kopfbild picture, .kopfbild img { width: 100%; height: 100%; object-fit: cover; }
.kopfbild-energieberatung { height: 556px; }
.kopfbild-foerdermittel { height: 500px; }
.kopfbild-individuelle { height: 610px; }
.kopfbild-energieausweise { height: 572px; }
.kopfbild-solaranlagen { height: 507px; }
.kopfbild-nachhaltige { height: 524px; }

.flaeche { background: var(--hellgrau); padding: 0 20px 44px; }
.flaeche-innen { max-width: 745px; margin: 0 auto; }
.titelbox {
  position: relative;
  z-index: 1;
  margin-top: -70px;
  padding: 40px 60px 42px;
  background: #fff;
}
.titelbox::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  right: -10px;
  bottom: -10px;
  z-index: -1;
  border: 2px solid #fff;
}
.titelbox h1 {
  color: var(--lila);
  font-family: var(--spinnaker);
  font-weight: 400;
  font-size: 66px;
  line-height: 1.08;
  overflow-wrap: break-word;
}
.titelbox-60 h1 { font-size: 60px; }
.unterseite-text { margin-top: 30px; padding-left: 129px; font-size: 15px; line-height: 22px; }
.unterseite-text::before { top: 10px; }
.unterseite-aktion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-left: 126px;
}
.zurueck { color: var(--teal); font-size: 15px; text-decoration: none; }
.zurueck:hover { text-decoration: underline; }

/* ---------- Gebäudetypen ---------- */
.typen-bild { width: 86%; max-width: 1101px; height: 633px; overflow: hidden; border-bottom: 15px solid var(--lila); }
.typen-bild picture, .typen-bild img { width: 100%; height: 100%; object-fit: cover; }
.typen { padding: 0 20px 80px; }
.typen-innen { max-width: 806px; margin: 0 auto; }
.typen .titelbox { margin-top: -90px; }
.typen-abschnitt { max-width: 679px; margin-top: 56px; font-size: 16px; line-height: 22.4px; }
.typen-abschnitt h2 { margin-bottom: 18px; color: var(--lila); font-family: var(--titel); font-weight: 700; font-size: 28px; line-height: 1.2; }

/* ---------- Wir für Sie! ---------- */
.wir-bild { width: 86%; max-width: 1101px; height: 534px; overflow: hidden; border-bottom: 8px solid var(--lila); }
.wir-bild picture, .wir-bild img { width: 100%; height: 100%; object-fit: cover; }
.wir { padding: 0 20px; }
.wir-innen { max-width: 760px; margin: 0 auto; transform: translateX(-60px); }
.wir .titelbox { margin-top: -134px; background: var(--kartengrau); }
.wir .titelbox::after { display: none; }
.gruende { margin-top: 30px; list-style: none; font-size: 13px; line-height: 2; }
.gruende li + li { margin-top: 50px; }
.gruende-nr { color: var(--lila); font-family: var(--titel); font-size: 28px; line-height: 1.2; letter-spacing: 1px; }
.gruende-nr + p, .gruende-nr + h2 { margin-top: 18px; }
.gruende h2 { font-size: 13px; font-weight: 700; line-height: 2; }

.team { padding: 120px 20px 66px; text-align: center; }
.team > h2 { color: var(--lila); font-family: var(--titel); font-weight: 300; font-size: 55px; line-height: 1.1; }
.team > h2::after { content: ""; display: block; width: 32px; height: 2px; margin: 18px auto 0; background: var(--text); }
.team-unter { margin-top: 26px; color: var(--teal); font-size: 15px; }
.team-liste {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 60px;
  margin-top: 66px;
  list-style: none;
  text-align: left;
}
.team-karte { width: 405px; padding: 34px 34px 30px; background: var(--teamgrau); font-size: 13px; line-height: 1.6; }
.team-bild { width: 250px; margin: 0 auto; filter: grayscale(1) brightness(.8); }
.team-name { margin-top: 40px; color: #6b6a7a; font-family: var(--titel); font-weight: 300; font-size: 18px; }
.team-karte .fliess { margin-top: 20px; }
.team-karte .fliess > * + * { margin-top: 18px; }
.team-karte .fliess p + ul { margin-top: 2px; }
.team-karte .fliess .dicht { margin-top: 0; }
.team-zitat { font-style: italic; }

/* ---------- Newsblog, Kategorien, Beiträge ---------- */
.blog { background: var(--rosa); padding: 0 20px 6px; }
.blog-innen { max-width: 980px; margin: 0 auto; padding: 0 20px 60px; background: #fff; }
.blog-start .blog-innen { margin-top: 84px; min-height: 900px; }
.blog-kategorien ul { display: flex; flex-wrap: wrap; gap: 6px 38px; padding: 28px 0 46px; list-style: none; font-size: 15px; }
.blog-kategorien a { text-decoration: none; }
.blog-kategorien a:hover, .blog-kategorien a[aria-current] { color: var(--teal); }

.blog-karte { display: grid; grid-template-columns: 454px 1fr; min-height: 341px; border: 1px solid #e3e3e3; }
.blog-karte + .blog-karte { margin-top: 32px; }
.blog-karte-bild { display: block; overflow: hidden; }
.blog-karte-bild picture, .blog-karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.blog-karte-text { padding: 26px 40px 30px 34px; }
.blog-autor { display: flex; align-items: center; gap: 12px; font-size: 11px; line-height: 1.4; }
.blog-autor img { width: 32px; height: 32px; object-fit: contain; }
.blog-kat { margin-top: 14px; font-size: 13px; }
.blog-kat a { color: var(--teal); text-decoration: none; }
.blog-karte h2 { margin-top: 14px; font-family: var(--titel); font-weight: 300; font-size: 26px; line-height: 1.22; }
.blog-karte h2 a { text-decoration: none; }
.blog-karte h2 a:hover { color: var(--teal); }
.blog-auszug { margin-top: 16px; font-size: 15px; line-height: 24px; }

.beitrag { padding: 50px 68px 40px; border: 1px solid #e3e3e3; }
.beitrag h1 { margin-top: 18px; font-family: var(--titel); font-weight: 300; font-size: 36px; line-height: 1.3; }
.beitrag-text { margin-top: 18px; font-size: 16px; line-height: 27px; }
.beitrag-text > * + * { margin-top: 27px; }
.beitrag-text h2 { margin-top: 40px; font-family: var(--titel); font-weight: 300; font-size: 24px; line-height: 1.3; }
.beitrag-text h2 + * { margin-top: 14px; }
.beitrag-text li + li { margin-top: 8px; }
/* Hinweis unter der Überschrift älterer Beiträge (Aktualisierung 28.10.2026): ruhig, heller Grund, Rand in Markenfarbe */
.beitrag-hinweis { margin-top: 18px; padding: 14px 18px; border-left: 4px solid var(--teal); background: var(--kartengrau); font-size: 15px; line-height: 1.5; }
.beitrag-hinweis a { color: var(--lila); }
.beitrag-bild figcaption { margin-top: 10px; color: #6b6b6b; font-size: 14px; line-height: 1.5; text-align: center; }
.hashtags { margin-top: 27px; color: var(--teal); font-size: 16px; line-height: 27px; }
.tag-liste { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; font-size: 12px; }
.tag-liste a { display: block; padding: 4px 12px; border: 1px solid #c9c9c9; text-decoration: none; }
.tag-liste a:hover { border-color: var(--teal); color: var(--teal); }
.beitrag-kategorien { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 24px; padding-bottom: 30px; border-bottom: 1px solid #c9c9c9; list-style: none; font-size: 12px; }
.beitrag-kategorien a:hover { color: var(--teal); }
.aktuell { margin-top: 36px; }
.aktuell-kopf { display: flex; justify-content: space-between; align-items: baseline; }
.aktuell-kopf h2 { font-size: 16px; }
.aktuell-kopf a { font-size: 13px; text-decoration: none; }
.aktuell-kopf a:hover { text-decoration: underline; }
.aktuell-karte { display: block; width: 292px; margin-top: 18px; border: 1px solid #e3e3e3; text-decoration: none; }
.aktuell-karte picture, .aktuell-karte img { width: 100%; height: 164px; object-fit: cover; }
.aktuell-titel {
  display: -webkit-box;
  margin: 18px 22px 22px;
  overflow: hidden;
  font-family: var(--titel);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.aktuell-karte:hover .aktuell-titel { color: var(--teal); }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 980px; margin: 0 auto; padding: 50px 20px 70px; font-size: 15px; line-height: 1.5; }
.rechtstext h1 { margin-bottom: 30px; color: var(--lila); font-family: var(--titel); font-weight: 300; font-size: 26px; line-height: 1.2; }
.rechtstext p + p { margin-top: 15px; }
.rechtstext a { overflow-wrap: anywhere; color: var(--teal); }
.rechtstext h2 { margin-top: 30px; color: var(--lila); font-family: var(--titel); font-weight: 300; font-size: 20px; line-height: 1.3; }
.rechtstext h2 + *, .rechtstext p + ul, .rechtstext ul + p { margin-top: 15px; }

/* ---------- 404 ---------- */
.fehlerseite { max-width: 916px; margin: 0 auto; padding: 80px 20px 90px; text-align: center; }
.fehlerseite h1 { color: var(--lila); font-family: var(--titel); font-weight: 300; font-size: 42px; line-height: 1.1; }
.fehlerseite p { margin-top: 18px; font-size: 17px; }
.fehlerseite .knopf { margin-top: 28px; }
/* Danke- und Fehlerseite des Kontaktformulars */
.fehlerseite .anfrage-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }
.fehlerseite .anfrage-knoepfe .knopf { margin-top: 0; }
.fehlerseite a[href^="tel:"] { white-space: nowrap; }

/* ---------- Fußbereich ---------- */
.fuss { background: var(--lila); color: #fff; }
.fuss-innen { max-width: 1280px; margin: 0 auto; padding: 30px 190px 26px 198px; }
.fuss a { color: #fff; }
.fuss-logo { width: 372px; max-width: 100%; margin: 0 auto; }
.fuss-titel { margin-top: 30px; font-family: var(--avenir); font-weight: 300; font-size: 26px; letter-spacing: 1.3px; text-align: center; }
.fuss-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin-top: 34px; }
/* Kontaktzeile: drei gleich aufgebaute Blöcke (Beschriftung, darunter ein Feld wie .knopf.knopf-rahmen).
   Die Adresse ist ein Feld, aber kein Link. */
.fuss-zeile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 28px 56px;
  margin-top: 70px;
  font-size: 15px;
  font-style: normal; /* <address> ist sonst kursiv */
  line-height: 1.4;
}
.fuss-block { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 236px; max-width: 100%; }
.fuss-marke { font-size: 13px; letter-spacing: 1.3px; color: rgba(255, 255, 255, .85); }
.fuss-feld {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 10px 22px;
  border: 1px solid #fff;
  font-family: var(--fliess);
  font-size: 15px;
  text-align: center;
  white-space: nowrap;
}
a.fuss-feld { text-decoration: none; transition: background-color .2s; }
a.fuss-feld:hover { background: rgba(255, 255, 255, .15); }
.fuss-fax { font-size: 13px; }
.fuss-pfeil { display: block; width: 28px; margin: 14px 18px 0 auto; }
.fuss-pfeil img { width: 28px; height: auto; transform: rotate(180deg); filter: invert(1); } /* Wix-Grafik ist schwarz und zeigt nach unten */
.fuss-recht { display: flex; gap: 12px; margin-top: 18px; font-size: 13px; }
.fuss-recht a { text-decoration: none; }
.fuss-recht a:hover { text-decoration: underline; }
.fuss-copy { margin-top: 10px; font-size: 13px; letter-spacing: 1.3px; }

/* ---------- Kontaktformular im Fußbereich (Entwurf 2026_10_27) ----------
   Schickt an /anfrage.php (CSP form-action 'self'). Kein JavaScript, keine Bewegung.
   Felder mindestens 44 px hoch, 16 px Schrift (Mobilbrowser zoomen dann beim Antippen nicht),
   Fokus immer sichtbar. Das Fangfeld .formular-fang liegt außerhalb des Bildes (nicht display:none). */
.formular {
  max-width: 760px;
  margin: 60px auto 0;
  padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, .35);
  text-align: left;
}
.formular-titel { font-family: var(--avenir); font-weight: 300; font-size: 22px; letter-spacing: 1px; line-height: 1.3; text-align: center; }
.formular-text { max-width: 600px; margin: 14px auto 0; font-size: 15px; line-height: 1.5; text-align: center; }
.formular-klein { margin-top: 22px; font-size: 13px; line-height: 1.5; }
.formular-felder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 18px;
}
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld-breit { grid-column: 1 / -1; }
.feld label { font-size: 14px; line-height: 1.4; }
.feld input, .feld select, .feld textarea {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #fff;
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--fliess);
  font-size: 16px;
  line-height: 1.4;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 3px solid var(--teal); outline-offset: 2px; }
.feld-hinweis { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.formular-fang {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.formular-knopf { margin-top: 18px; cursor: pointer; }

/* ---------- Mittlere Breiten ---------- */
@media (max-width: 1150px) {
  .hauptmenue { margin-right: 0; }
  .hauptmenue > ul { gap: 22px; }
  .start-held-box { margin-left: auto; margin-right: auto; }
  .fuss-innen { padding-left: 40px; padding-right: 40px; }
  .wir-innen { transform: none; }
}

@media (max-width: 1000px) {
  .menue-schalter {
    display: block;
    position: absolute;
    right: 24px;
    width: 40px;
    height: 40px;
    margin: 0;
    opacity: 0;
  }
  .menue-knopf {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    margin-left: auto;
    cursor: pointer;
  }
  .menue-striche, .menue-striche::before, .menue-striche::after {
    position: absolute;
    left: 9px;
    width: 22px;
    height: 2px;
    background: var(--lila);
  }
  .menue-striche { top: 19px; }
  .menue-striche::before, .menue-striche::after { content: ""; left: 0; }
  .menue-striche::before { top: -8px; }
  .menue-striche::after { top: 8px; }
  .menue-schalter:focus-visible + .menue-knopf { outline: 2px solid var(--teal); outline-offset: 2px; }
  .menue-schalter:checked + .menue-knopf .menue-striche { background: transparent; }
  .menue-schalter:checked + .menue-knopf .menue-striche::before { top: 0; transform: rotate(45deg); }
  .menue-schalter:checked + .menue-knopf .menue-striche::after { top: 0; transform: rotate(-45deg); }

  .hauptmenue {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 12px 0 26px;
    background: #fff;
    border-top: 1px solid var(--linie);
    box-shadow: 0 8px 12px rgba(0, 0, 0, .12);
  }
  .menue-schalter:checked ~ .hauptmenue { display: block; }
  .hauptmenue > ul { display: block; text-align: center; }
  .hauptmenue a { font-size: 17px; line-height: 46px; }

  .karten-liste { grid-template-columns: repeat(2, minmax(0, 300px)); }
  .blog-karte { grid-template-columns: 1fr 1fr; }
  .team-liste { gap: 24px; }
}

/* ---------- Mobil (wie Wix-Mobilansicht, 320–375 px) ---------- */
@media (max-width: 760px) {
  body { font-size: 14px; }
  .kopf-innen { height: 84px; padding: 0 14px; justify-content: center; }
  .kopf-logo img { width: 56px; }
  .menue-schalter { right: 14px; top: 22px; }
  .menue-knopf { position: absolute; right: 14px; top: 22px; margin: 0; }

  .knopf { min-width: 0; height: 46px; padding: 0 16px; font-size: 14px; }
  .knopf-plus { width: 46px; height: 46px; }
  .mit-linie { padding-left: 0; }
  .mit-linie::before { display: none; }

  .start-held { background: var(--rosa); }
  .start-held-innen { padding-bottom: 30px; }
  .start-held-bild { width: 100%; height: 260px; }
  .start-held-box { width: auto; max-width: none; margin: -40px 12px 0; padding: 4px 18px 24px; }
  .start-held-box h1 { margin-top: -4px; font-size: 32px; }
  .start-held-box .mit-linie { margin-top: 20px; }
  .start-held-box .aktion { margin-top: 24px; }

  .band { padding: 34px 16px 36px; }
  .band h2 { font-size: 32px; }
  .band p { font-size: 14px; line-height: 22px; letter-spacing: .3px; }
  .karten { padding: 30px 16px 40px; }
  .karten-liste { grid-template-columns: minmax(0, 320px); row-gap: 24px; }
  .karte { min-height: 0; }
  .karte h3 { min-height: 0; font-size: 24px; }

  .weiter { padding: 30px 12px 0; }
  .weiter-box { padding: 8px 18px 30px; }
  .weiter-box h2 { padding-left: 0; font-size: 32px; }
  .weiter-box .mit-linie { padding-left: 0; font-size: 15px; }
  .weiter .aktion { justify-content: center; }
  .logo-band a { width: 260px; }

  .faq { padding: 34px 16px 40px; }
  .faq h2 { font-size: 26px; }
  .faq-frage summary { padding: 18px 40px 18px 0; }
  .faq-frage h3 { font-size: 16px; }
  .faq-antwort { padding-right: 0; font-size: 14px; line-height: 22px; }
  .logos { gap: 20px 30px; }
  .logo-eee { width: 220px; }
  .logo-dme { width: 150px; }

  .kopfbild, .kopfbild-energieberatung, .kopfbild-foerdermittel, .kopfbild-individuelle,
  .kopfbild-energieausweise, .kopfbild-solaranlagen, .kopfbild-nachhaltige { height: 220px; }
  .flaeche { padding: 0 12px 34px; }
  .titelbox { margin-top: -30px; padding: 20px 20px 22px; }
  .titelbox::after { left: 6px; top: 6px; right: -6px; bottom: -6px; }
  .titelbox h1, .titelbox-60 h1 { font-size: 28px; }
  .unterseite-text { padding-left: 0; font-size: 14px; line-height: 21px; }
  .unterseite-aktion { flex-wrap: wrap; padding-left: 0; }

  .typen-bild, .wir-bild { width: 100%; height: 240px; }
  .typen { padding: 0 12px 40px; }
  .typen .titelbox { margin-top: -30px; }
  .typen-abschnitt { margin-top: 34px; font-size: 14px; line-height: 21px; }
  .typen-abschnitt h2 { font-size: 22px; }
  .wir { padding: 0 12px; }
  .wir .titelbox { margin-top: -30px; }
  .gruende li + li { margin-top: 30px; }
  .team { padding: 60px 12px 40px; }
  .team > h2 { font-size: 34px; }
  .team-liste { flex-direction: column; align-items: center; margin-top: 36px; }
  .team-karte { width: 100%; max-width: 405px; padding: 24px 20px; }
  .team-bild { width: 180px; }

  .blog { padding: 0 0 6px; }
  .blog-innen { padding: 0 14px 40px; }
  .blog-start .blog-innen { margin-top: 0; min-height: 0; }
  .blog-kategorien ul { gap: 6px 22px; padding: 20px 0 24px; }
  .blog-karte { display: block; }
  .blog-karte-bild picture, .blog-karte-bild img { height: auto; aspect-ratio: 454 / 341; }
  .blog-karte-text { padding: 20px 18px 24px; }
  .blog-karte h2 { font-size: 22px; }
  .beitrag { padding: 24px 16px 30px; }
  .beitrag h1 { font-size: 26px; }
  .beitrag-text { font-size: 15px; line-height: 25px; }
  .aktuell-karte { width: 100%; }

  /* Lange deutsche Wörter (z. B. Gebäudemodernisierungsgesetz) am Handy trennen,
     sonst wird die Seite breiter als der Bildschirm. */
  h1, h2, h3 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
  p, li, figcaption, .blog-auszug { overflow-wrap: break-word; }

  .rechtstext { padding-top: 30px; font-size: 14px; }

  .fuss-innen { padding: 26px 18px 22px; text-align: center; }
  .fuss-logo { width: 240px; }
  .fuss-titel { font-size: 22px; }
  .fuss-zeile { flex-direction: column; align-items: center; gap: 22px; margin-top: 36px; }
  .fuss-feld { min-height: 60px; font-size: 14px; }
  .fuss-pfeil { margin: 18px auto 0; }
  .fuss-recht { justify-content: center; }
  .formular { margin-top: 36px; padding-top: 30px; }
  .formular-felder { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .formular-knopf { width: 100%; }
}

/* ---------- Bewegung wie Wix ----------
   Zwei Effekte der Wix-Seite (vom Lead auf www.enetum.de gemessen, 27.10.2026):
   - Einblenden (Wix fadeIn): Deckkraft 0 -> 1, 1,2 s. Kurve nicht gemessen, hier ease.
   - Hereingleiten (Wix slideIn von links): 1,2 s, cubic-bezier(0.645, 0.045, 0.355, 1).
     Wix: clip-path polygon(0 0, 0 0, 0 100%, 0 100%) + translateX(-100%) -> volle Fläche + none.
     Hier mit inset(): Der sichtbare Ausschnitt bleibt an der linken Kante der Endlage und wächst nach
     rechts, das Element schiebt sich darin von links herein. Nichts ragt nach rechts heraus, also kein
     waagrechter Scrollbalken. 20 px Zugabe ringsum, damit der versetzte Rahmen der Titelbox (::after,
     10 px) auch am Ende nicht abgeschnitten wird.
   Wann:
   - Beim Laden schon im Bild (Kopfkästen, Rechtstexte): zeitgesteuert beim Laden.
   - Erst beim Scrollen im Bild: zeitgesteuert wie bei Wix, einmal, sobald das Element ins Bild kommt.
     Das erledigt das kleine Skript assets/einblenden.js: Was beim Laden unterhalb des Fensters liegt,
     bekommt „bw-wartet“ (unsichtbar); kommt es ins Bild, wird daraus „bw-los“ und die Animation läuft
     mit fester Dauer. Warum nicht mehr per CSS am Scrollweg (animation-timeline: view()): Die Animation
     war nach etwa 130 px Scrollen fertig, also noch am unteren Bildrand, und deshalb kaum zu sehen.
     Ohne JavaScript, ohne IntersectionObserver oder bei „weniger Bewegung“ bleibt alles sichtbar.
   Deckkraft 0 steht nur bei „bw-wartet“ (das setzt nur das Skript) und in den Keyframes: Ohne Skript
   ist alles sichtbar. „bw-wartet“ verschiebt das Element bewusst nicht (nur Deckkraft 0): Eine
   Verschiebung nach links würde das Element aus dem Bild nehmen, und das Skript sähe es nie ankommen.
   Klassen: bw-gleiten (beim Laden), bw-gleiten-scroll, bw-kinder-einblenden (jedes direkte Kind blendet
   beim Scrollen ein), bw-dauer-14 … bw-dauer-20 (Einblenden 1,4 … 2,0 s statt 1,2 s; die Klasse sitzt am
   Elternteil, die Kinder erben --bw-dauer).
   Ohne eigene Klasse: .fuss-titel („Kontaktanfrage“, alle Seiten, beim Scrollen) und .rechtstext
   (Impressum, Datenschutz, beim Laden), damit die Rechtstexte unverändert bleiben. */
:root { --bw-dauer: 1.2; }
.bw-dauer-14 { --bw-dauer: 1.4; }
.bw-dauer-16 { --bw-dauer: 1.6; }
.bw-dauer-18 { --bw-dauer: 1.8; }
.bw-dauer-20 { --bw-dauer: 2.0; }

@keyframes bw-einblenden {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bw-gleiten {
  from { clip-path: inset(-20px -20px -20px calc(100% + 20px)); transform: translateX(-100%); }
  to { clip-path: inset(-20px); transform: none; }
}

/* beim Laden */
.bw-gleiten { animation: bw-gleiten 1.2s cubic-bezier(0.645, 0.045, 0.355, 1) both; }
.rechtstext { animation: bw-einblenden calc(var(--bw-dauer) * 1s) ease both; }

/* beim Scrollen (Klassen setzt assets/einblenden.js) */
.bw-wartet { opacity: 0; }
.bw-kinder-einblenden > .bw-los,
.fuss-titel.bw-los { animation: bw-einblenden calc(var(--bw-dauer) * 1s) ease both; }
.bw-gleiten-scroll.bw-los { animation: bw-gleiten 1.2s cubic-bezier(0.645, 0.045, 0.355, 1) both; } /* Gleiten immer 1,2 s, bw-dauer gilt nur fürs Einblenden */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bw-wartet { opacity: 1; }
  .bw-gleiten,
  .bw-gleiten-scroll,
  .bw-kinder-einblenden > *,
  .fuss-titel,
  .rechtstext { animation: none; }
}

/* Ausdruck: Was beim Laden unterhalb des Fensters liegt, wartet auf das Scrollen (bw-wartet, Deckkraft 0).
   Ohne diese Regel bliebe es im Ausdruck vor dem Scrollen leer. */
@media print { .bw-wartet { opacity: 1; } }
