/* ==========================================================================
   SCHÜTZ Heiz- und Hausnebenkostenservice – zentrales Stylesheet
   Nachbau des Divi-Designs als schlankes, statisches CSS
   ========================================================================== */

:root {
  --rot: #ff0000;
  --akzent: #e02b20;
  --dunkel: #2b303a;
  --grau: #666666;
  --dunkelgrau: #383838;
  --text: #666666;
  --heading: #333333;
  --gruen: #7cda24;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: #2ea3f2; text-decoration: none; }
a:hover { opacity: .85; }

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  padding: 0;
  margin: 0 0 10px;
  line-height: 1.3em;
  font-weight: 500;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding: 0 0 0 1.2em; line-height: 1.7em; }
li { margin-bottom: .3em; }

strong { font-weight: 700; }

.bungee { font-family: 'Bungee', display; font-weight: 400; }

/* ---------- Layout ---------- */
.section { position: relative; padding: 4% 0; background: #fff; }
.row {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2% 0;
  position: relative;
}
.row::after { content: ''; display: block; clear: both; }

.cols { display: flex; flex-wrap: wrap; gap: 0 5.5%; align-items: flex-start; }
.cols > .card, .cols > .feature-card { height: auto; }
.cols > * { flex: 1 1 0; min-width: 0; }
.cols-1-2 > * { flex-basis: 47.25%; }
.cols-1-3 > * { flex-basis: 29.667%; }
.cols-1-4 > * { flex-basis: 20.875%; }

@media (max-width: 980px) {
  .row { width: 90%; padding: 4% 0; }
  .cols { display: block; }
  .cols > * + * { margin-top: 30px; }
}

/* ---------- Überschrift mit roter Border (Divi-Stil) ---------- */
.heading-bordered {
  border-left: 10px solid var(--rot);
  padding-left: 30px;
  margin-left: -40px;
}
.heading-bordered h1,
.heading-bordered h2 { margin: 0; }
.heading-bordered h2 {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.4em;
}
.heading-bordered.green { border-left-color: var(--gruen); }
.heading-bordered.h30 h2 { font-size: 30px; }
.heading-bordered.h40 h2 { font-size: 40px; }
@media (max-width: 1200px) {
  .heading-bordered { margin-left: 0; }
}
@media (max-width: 980px) {
  .heading-bordered h2 { font-size: 30px; }
}

/* ---------- Header / Navigation ---------- */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
  line-height: 23px;
  font-weight: 500;
  transition: background-color .4s, transform .4s;
}
.header-inner {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height .4s;
}
body.scrolled .header-inner { height: 62px; }
#logo-link { display: flex; align-items: center; height: 100%; }
#logo { max-height: 72%; width: auto; }

#top-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
#top-menu > li { position: relative; padding-right: 22px; }
#top-menu > li:last-child { padding-right: 0; }
#top-menu a {
  display: block;
  color: var(--rot);
  font-size: 14px;
  font-weight: 600;
  padding: 29px 0;
  transition: opacity .4s;
}
#top-menu a:hover { opacity: .7; }

/* Dropdowns */
#top-menu li.has-sub > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
#top-menu .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s, visibility .2s;
  background: #fff;
  width: 240px;
  padding: 20px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  border-top: 3px solid var(--rot);
  z-index: 9999;
}
#top-menu li:hover > .sub-menu,
#top-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
#top-menu .sub-menu li { padding: 0; }
#top-menu .sub-menu a {
  padding: 6px 20px;
  font-weight: 600;
  width: 200px;
}

/* Mobile-Menü */
#mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--rot);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.et_mobile_menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  border-top: 3px solid var(--rot);
  list-style: none;
  margin: 0;
  padding: 5px 5%;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
body.mobile-menu-open .et_mobile_menu { display: block; }
.et_mobile_menu li a {
  display: block;
  color: var(--rot);
  font-weight: 600;
  padding: 10px 5%;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.et_mobile_menu li li a { padding-left: 10%; }

@media (max-width: 980px) {
  #top-menu { display: none; }
  #mobile-menu-toggle { display: block; }
  .header-inner { height: 80px; }
}

/* Platzhalter unter dem fixierten Header */
#page-content { padding-top: 80px; }

/* ---------- Footer ---------- */
#main-footer {
  position: relative;
  background: #fafafa;
  padding: 50px 0 34px;
}
#main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: var(--akzent);
}
#main-footer .footer-text { text-align: center; }
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.footer-links a {
  color: var(--heading);
  text-decoration: none;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--akzent); }
.footer-sep { color: #ccc; }
.footer-copyright {
  margin: 0;
  color: var(--text);
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

/* ---------- Buttons (Divi-Stil) ---------- */
.btn {
  display: inline-block;
  cursor: pointer;
  background: transparent;
  border: 2px solid;
  border-radius: 3px;
  padding: .3em 1em;
  font-size: 20px;
  line-height: 1.7em;
  transition: all .3s;
  position: relative;
}
.btn::after {
  content: '\2192';
  opacity: 0;
  margin-left: -1em;
  transition: all .3s;
  display: inline-block;
}
.btn:hover { padding-right: 2em; }
.btn:hover::after { opacity: 1; margin-left: .3em; }

/* ---------- Impressum: Kontaktdaten-Reveal (Bot-Schutz) ---------- */
.kontakt-reveal { margin: 10px 0 25px; }
.btn-kontakt-reveal { font-size: 16px; padding: .3em 1em; color: var(--dunkel); }
.btn-kontakt-reveal:hover { color: var(--akzent); }
.kontakt-reveal-content { display: none; margin-top: 15px; }
.kontakt-reveal-content.open { display: block; }
.kontakt-reveal-content p { margin: .3em 0; }
.kontakt-reveal-content:focus { outline: none; }

/* Roter Bungee-Button (Hero / Formular) */
.btn-red {
  font-family: 'Bungee', display;
  font-size: 22px;
  letter-spacing: 4px;
  color: #fff;
  background: var(--rot);
  border: 12px solid var(--rot);
  border-radius: 3px;
  padding: 30px 1em;
}
.btn-red span {
  position: relative;
  left: 0;
  transition: left .3s;
}
.btn-red:hover span { left: -.3em; }
.btn-red::after { color: #fff; }

/* Roter CTA-Button (Unterseiten: "JETZT ANGEBOT ANFRAGEN") */
.btn-cta {
  font-family: 'Bungee', display;
  font-size: 22px;
  letter-spacing: 4px;
  color: #fff;
  background: var(--rot);
  border: 10px solid var(--rot);
  border-radius: 3px;
  padding: .3em 2em .3em .7em;
}
.btn-cta::after { opacity: 1; margin-left: .3em; }
@media (max-width: 767px) {
  .btn-cta { font-size: 16px; }
}

/* Dunkler Button (Selbstableser / Online-Portal) */
.btn-dark {
  font-family: 'Bungee', display;
  font-size: 16px;
  letter-spacing: 4px;
  color: #fff;
  background: var(--dunkelgrau);
  border: 12px solid var(--dunkelgrau);
  border-radius: 0;
}

/* Karten-Link "Weitere Informationen" */
.btn-cardlink {
  font-family: 'Bungee', display;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--rot);
  border: 0;
  padding: .3em 1em .3em 0;
}
.btn-cardlink:hover { color: #000; padding-right: 2em; }

/* "mehr erfahren"-Button (Fachwissen-Teaser) */
.btn-more {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #b5b5b5;
  background: #fff;
  border: 0;
  border-radius: 4px;
  padding: 10px 20px;
  margin-top: -10px;
  box-shadow: 0 2px 30px rgba(209,131,131,.18);
  transition: all .3s;
}
.btn-more:hover { color: var(--akzent); letter-spacing: 8px; }

/* ---------- Service-Karten (CTA) ---------- */
.card {
  background: #fff;
  border: 1px solid rgba(51,51,51,.12);
  border-radius: 15px;
  box-shadow: 0 2px 18px 0 rgba(0,0,0,.3);
  padding: 40px 30px;
  text-align: center;
  height: 100%;
}
.card h4 {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8em;
  padding-bottom: 10px;
}
.card p { line-height: 1.8em; }
.card .btn-cardlink { margin-top: 20px; padding-right: 0; }
.card .btn-cardlink:hover { padding-right: 1.6em; }

/* ---------- Blurbs (Icon + Titel + Text) ---------- */
.blurb { text-align: center; }
.blurb .blurb-icon { color: var(--rot); font-size: 32px; margin-bottom: 10px; }
.blurb .blurb-icon svg { width: 32px; height: 32px; fill: currentColor; }
.blurb h4 {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.8em;
  padding-bottom: 10px;
}
.blurb p { font-family: 'Lato', Helvetica, Arial, sans-serif; font-size: 18px; line-height: 1.8em; }

/* Fachwissen-Teaser-Karten */
.feature-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 70px rgba(209,37,37,.18);
  padding: 30px 20px 40px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.feature-card .blurb-icon {
  width: 82px; height: 82px;
  margin: 0 auto 20px;
  border-radius: 100%;
  background: rgba(224,43,32,.29);
  color: var(--akzent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card .blurb-icon svg { width: 32px; height: 32px; fill: currentColor; }
.feature-card h4 {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.7em;
  padding-bottom: 8px;
}
.feature-card p { line-height: 1.8em; }
.feature-card .btn-more { align-self: center; margin-top: auto; }

/* ---------- Team ---------- */
.team-member { text-align: center; }
.team-member img { width: 100%; height: auto; }
.team-member h4 {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 18px;
  color: #666;
  line-height: 2em;
  margin: 10px 0 0;
}
.team-member .position { display: block; font-size: 14px; color: var(--text); }

/* ---------- Akkordeon / Toggle ---------- */
.accordion { margin-bottom: 20px; }
.accordion-item {
  border-bottom: 3px solid #d9d9d9;
  background: transparent;
  padding: 30px 0;
  position: relative;
}
.accordion-item .accordion-title {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1.5em;
  color: #000;
  cursor: pointer;
  position: relative;
  padding-right: 50px;
  margin: 0;
}
.accordion-item .accordion-title::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--rot);
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}
.accordion-item.open .accordion-title::after { content: '\2212'; }
.accordion-item .accordion-content {
  display: none;
  font-size: 16px;
  line-height: 1.8em;
  padding-top: 20px;
}
.accordion-item.open .accordion-content { display: block; }

.faq-cat {
  font-family: 'Bungee', display;
  font-weight: 400;
  color: var(--rot);
  font-size: 26px;
  margin: 40px 0 10px;
}

/* ---------- Formulare: Helferklassen ---------- */
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
}

/* ---------- Angebots-Wizard (Startseite) ---------- */
.wizard {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45);
  padding: 40px 44px 36px;
  margin-top: 45px;
  color: #333;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
}
.section-dark .wizard h3, .wizard h3 { color: var(--dunkel); }

.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

.wizard-steps { list-style: none; display: flex; gap: 8px; margin: 0 0 10px; padding: 0; }
.ws {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ws-num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #ececec;
  color: #9a9a9a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', display;
  font-size: 14px;
  transition: background .25s, color .25s;
}
.ws.active { color: var(--dunkel); }
.ws.active .ws-num { background: var(--akzent); color: #fff; }
.ws.done .ws-num { background: var(--dunkel); color: #fff; }

.wizard-progress { height: 4px; background: #ececec; border-radius: 2px; margin: 8px 0 30px; overflow: hidden; }
.wizard-progress span { display: block; height: 100%; background: var(--akzent); border-radius: 2px; transition: width .35s ease; }

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: wz-fade .3s ease; }
@keyframes wz-fade {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

.wizard-q { font-size: 18px; font-weight: 700; color: var(--dunkel); margin: 0 0 22px; }
.wizard-q small { font-weight: 400; color: #999; font-size: 14px; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 2px solid #e6e6e6;
  border-radius: 10px;
  padding: 22px 12px 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #444;
  line-height: 1.4em;
  cursor: pointer;
  user-select: none;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.tile:hover { border-color: #c9c9c9; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile svg { width: 34px; height: 34px; fill: #8b8b8b; transition: fill .2s; }
.tile::after {
  content: '\2713';
  position: absolute;
  top: 8px; right: 10px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--akzent);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .2s, transform .2s;
}
.tile.selected { border-color: var(--akzent); background: #fff5f4; }
.tile.selected svg { fill: var(--akzent); }
.tile.selected::after { opacity: 1; transform: scale(1); }

.wz-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.wz-field { margin-bottom: 18px; }
.wz-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
}
.wz-field label small { text-transform: none; font-weight: 400; color: #aaa; letter-spacing: 0; }
.wz-field input, .wz-field textarea, .wz-field select {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 13px 14px;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #333;
  background: #fafafa;
  transition: border-color .2s, background .2s;
}
.wz-field input:focus, .wz-field textarea:focus, .wz-field select:focus { outline: none; border-color: var(--dunkel); background: #fff; }
.wz-field input.invalid, .wz-field textarea.invalid { border-color: var(--akzent); background: #fff5f4; }
.wz-field textarea { resize: vertical; min-height: 110px; }
.wz-field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.wz-field select::-ms-expand { display: none; }

.wz-autocomplete { position: relative; }
.wz-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(43, 48, 58, .14);
  max-height: 240px;
  overflow-y: auto;
}
.wz-suggestions li {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.wz-suggestions li:hover,
.wz-suggestions li.active {
  background: var(--dunkel);
  color: #fff;
}

.wz-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #666; line-height: 1.6em; cursor: pointer; }
.wz-consent input { flex: none; margin-top: 3px; width: 16px; height: 16px; accent-color: var(--akzent); cursor: pointer; }
.wz-consent a { color: var(--akzent); text-decoration: underline; }

.wizard-error {
  background: #fdecea;
  color: #b3261e;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6em;
  margin: 16px 0 0;
}
.wizard-error a { color: #b3261e; font-weight: 700; }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.btn-wz-back {
  background: none;
  border: 0;
  color: #888;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 4px;
  cursor: pointer;
}
.btn-wz-back:hover { color: #333; }
.btn-wz-next, .btn-wz-send {
  margin-left: auto;
  font-family: 'Bungee', display;
  font-size: 15px;
  letter-spacing: 3px;
  color: #fff;
  background: var(--akzent);
  border: 0;
  border-radius: 8px;
  padding: 15px 34px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-wz-next:hover, .btn-wz-send:hover { background: #c92419; transform: translateY(-1px); }
.btn-wz-send[disabled] { opacity: .6; cursor: default; transform: none; }

.wizard-success { text-align: center; padding: 30px 10px 20px; }
.wz-check {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: #e8f7ec;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wz-check svg { width: 34px; height: 34px; fill: #2e9e4f; }
.wizard-success h3 { font-size: 24px; margin: 0 0 10px; }
.wizard-success p { color: #666; margin: 0; }

@media (max-width: 980px) {
  .wizard { padding: 30px 24px 28px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wizard { padding: 24px 16px; }
  .ws-label { display: none; }
  .ws { flex: none; }
  .wizard-steps { justify-content: center; gap: 24px; }
  .tile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { font-size: 13px; padding: 16px 8px 14px; }
  .wz-cols { grid-template-columns: 1fr; gap: 0; }
  .btn-wz-next, .btn-wz-send { padding: 14px 22px; font-size: 13px; }
}

/* Frage-Formular (helle Sektionen, z.B. Heizkostenabrechnung) */
.frage-form h3 { font-weight: 700; font-size: 22px; color: #333; margin-bottom: 20px; }
.frage-form .field { margin-bottom: 20px; }
.frage-form input[type=text],
.frage-form input[type=email],
.frage-form textarea {
  width: 100%;
  background: #eee;
  border: 0;
  border-radius: 3px;
  padding: 16px;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #999;
}
.frage-form input:focus, .frage-form textarea:focus { outline: 1px solid #bbb; color: #333; }
.frage-form textarea { min-height: 150px; resize: vertical; }
.frage-form .submit-row { text-align: right; }
.frage-form .btn-submit {
  font-family: 'Bungee', display;
  font-size: 16px;
  letter-spacing: 4px;
  color: #fff;
  background: var(--rot);
  border: 12px solid var(--rot);
  border-radius: 0;
  cursor: pointer;
}
.frage-form .form-message { background: #eee; }
.frage-form .wz-consent { margin-bottom: 20px; }
.frage-form .btn-submit[disabled] { opacity: .6; cursor: default; }

.form-message {
  background: #fff;
  border-radius: 3px;
  color: #333;
  padding: 16px;
  margin-bottom: 20px;
  display: none;
}
.form-message.visible { display: block; }
.form-message.ok { background: #e8f7ec; color: #23703a; }

/* ---------- Dunkle Sektionen (Hero / Angebot) ---------- */
.section-dark { color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

/* ---------- Shape-Divider ---------- */
.shape-divider {
  position: absolute;
  left: 0; right: 0;
  height: 100px;
  background-repeat: repeat-x;
  background-size: 200% 100%;
  pointer-events: none;
  z-index: 1;
}
.shape-divider.top { top: 0; transform: scaleY(-1); }
.shape-divider.bottom { bottom: 0; }

/* ---------- Einblend-Animationen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .anim { opacity: 0; transition: opacity .8s ease, transform .8s ease; }
  .anim.slide-top { transform: translateY(-4%); }
  .anim.slide-bottom { transform: translateY(4%); }
  .anim.fold-left { transform: translateX(-3%); }
  .anim.in-view { opacity: 1; transform: none; }
}

/* ==========================================================================
   Startseite
   ========================================================================== */

/* --- Hero --- */
.hero {
  margin: 60px;
  padding: 13vw 0 0;
  background:
    radial-gradient(circle at top left, #2b303a 10%, rgba(43,48,58,.5) 100%),
    url('/assets/img/Idealer-Partner.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 80px 200px -40px rgba(0,0,0,.12);
}
.hero .shape-divider.top {
  background-image: url('/assets/img/divider-asymmetric4.svg');
  background-size: 200% 100%;
  height: 100px;
}
.hero-area { margin-bottom: 10vw; }
.hero h1 {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 70px;
  letter-spacing: -1px;
  line-height: 1.4em;
  color: #fff;
}
.hero .hero-sub {
  font-size: 20px;
  line-height: 1.8em;
  max-width: 700px;
  color: #fff;
  margin-top: 20px;
}
@media (max-width: 1200px) {
  .hero h1 { font-size: 40px; }
}
@media (max-width: 980px) {
  .hero { margin: 0; padding-top: 120px; }
}
@media (max-width: 767px) {
  .hero h1 { font-size: 36px; }
}

/* --- CTA-Band unten im Hero --- */
.cta-band {
  width: 90%;
  margin-left: auto;
  background: #fff;
  display: flex;
  align-items: stretch;
}
.cta-band .cta-left {
  flex: 0 0 33.33%;
  background: var(--rot);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cta-band .cta-right {
  flex: 1;
  padding: 40px 10%;
  display: flex;
  align-items: center;
}
.cta-band .cta-right p {
  font-weight: 900;
  text-transform: uppercase;
  color: #7f7f7f;
  font-size: 16px;
  letter-spacing: 4px;
  line-height: 2em;
  margin: 0;
}
.cta-band .cta-right a {
  font-family: 'Bungee', display;
  font-weight: 400;
  color: var(--rot);
  font-size: 24px;
  letter-spacing: 4px;
}
@media (max-width: 980px) {
  .cta-band { width: 100%; flex-direction: column; }
  .cta-band .cta-right { padding: 40px 20px; word-break: break-all; }
}

/* --- Service-Sektion --- */
.section-services {
  padding: 20px 0;
  background-color: transparent;
  background-image: url('/assets/img/Website-Geraete.webp');
  background-size: auto;
  background-position: center center;
  background-repeat: no-repeat;
}
.dark-buttons { text-align: center; }

/* --- Angebot-Sektion (dunkel) --- */
.section-angebot {
  margin: 60px;
  padding: 13vw 0;
  background:
    radial-gradient(circle at top left, #2b303a 10%, rgba(43,48,58,.5) 100%),
    url('/assets/img/writing-1149962_1920.webp');
  background-size: cover;
  background-position: center;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
}
.section-angebot .shape-divider.top {
  background-image: url('/assets/img/divider-asymmetric4.svg');
  background-size: 200% 100%;
  height: 90px;
}
.section-angebot .shape-divider.bottom {
  background-image: url('/assets/img/divider-asymmetric3.svg');
  background-size: 200% 100%;
  height: 100px;
  transform: scaleX(-1);
}
.section-angebot .kontakt-info p {
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  font-size: 16px;
  letter-spacing: 4px;
  line-height: 2em;
  margin: 0;
}
.section-angebot .kontakt-info a {
  font-family: 'Bungee', display;
  font-weight: 400;
  color: #fff;
  font-size: 24px;
  letter-spacing: 4px;
}
@media (max-width: 980px) {
  .section-angebot { margin: 0; padding: 120px 0; }
  .section-angebot .kontakt-info a { font-size: 18px; word-break: break-all; }
}

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  color: #fff;
  padding: 10% 0 7%;
  background-image: radial-gradient(circle at top left, #2b303a 10%, rgba(43,48,58,.5) 100%), var(--hero-bild);
  background-size: cover;
  background-position: center;
}
.page-hero.parallax { background-attachment: scroll, fixed; }
.page-hero h1 {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 75px;
  line-height: 1.4em;
  color: #fff;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .page-hero h1 { font-size: 40px; }
}
.page-hero p { font-size: 16px; line-height: 1.8em; }
.page-hero .heading-bordered { margin-bottom: 20px; }
@media (max-width: 980px) {
  .page-hero h1 { font-size: 30px; }
}

/* Schritt-Blurbs (Icon links, Titel rot) */
.blurb-left { text-align: left; margin-bottom: 30px; }
.blurb-left .blurb-head { display: flex; align-items: flex-start; gap: 14px; }
.blurb-left .blurb-icon { color: var(--rot); flex: 0 0 auto; }
.blurb-left .blurb-icon svg { width: 32px; height: 32px; fill: currentColor; }
.blurb-left h4 {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5em;
  color: var(--rot);
}
.blurb-left .blurb-body { margin-left: 46px; font-size: 16px; line-height: 1.8em; }

/* Zentrierte Icon-Blurbs (Unterseiten) */
.blurb .blurb-icon svg { width: 32px; height: 32px; fill: currentColor; }
.blurb h4.small {
  font-size: 22px;
  text-transform: uppercase;
}

/* "Interesse geweckt"-Zeile */
.interesse { align-items: center; }
.interesse p { font-size: 18px; }

/* ---------- UVI-Seite ---------- */
.uvi-dark {
  background: #2b303a;
  color: #fff;
}
.uvi-dark h2, .uvi-dark h3 { color: #fff; }
.uvi-dark .text-block h2 {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.4em;
  margin-top: .8em;
}
@media (max-width: 980px) {
  .uvi-dark .text-block h2 { font-size: 30px; }
}

/* Bungee-Zwischenüberschriften in Textblöcken (z.B. Geräte Miete/Kauf/Wartung) */
.text-block h2 { font-family: 'Bungee', display; font-weight: 400; font-size: 26px; }
.red-boxes > div {
  background: var(--rot);
  padding: 25px 30px;
  color: #fff;
}
.red-boxes h2 {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 26px;
  color: #fff;
}
.red-boxes p { color: #fff; }
@media (max-width: 980px) {
  .red-boxes > div + div { margin-top: 20px; }
}

/* ---------- Portale im Aufbau ---------- */
.portale-hero {
  /* Hintergrundbild lädt auf der Live-Seite nicht mehr (alte Domain) -> nur Gradient */
  background-image: radial-gradient(circle at top left, #2b303a 10%, rgba(43,48,58,.5) 100%);
  margin: 60px;
  overflow: hidden;
}
.portale-hero .shape-divider.top {
  background-image: url('/assets/img/divider-asymmetric4.svg');
  background-size: 200% 100%;
  height: 100px;
}
.portale-hero h1 { color: var(--rot); }
.heading-bordered.small h2 { font-size: 26px; }
@media (max-width: 980px) {
  .portale-hero { margin: 0; }
}

/* ---------- Countdown (Portale im Aufbau) ---------- */
.countdown { display: flex; align-items: flex-start; gap: 12px; color: #b7b7b7; justify-content: center; }
.countdown .cd-sec { text-align: center; }
.countdown .cd-value { display: block; font-size: 54px; line-height: 1.1em; font-weight: 300; }
.countdown .cd-label { display: block; font-size: 14px; }
.countdown .cd-sep { font-size: 54px; line-height: 1.1em; font-weight: 300; }

/* ---------- Rechner (Gradtagzahlen / Kalendertage) ---------- */
.calc-card {
  max-width: 800px;
  margin: 20px auto 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.25);
  padding: 40px 44px 36px;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
}
.calc-group + .calc-group { margin-top: 10px; }
.calc-group-title {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--akzent);
  margin: 0 0 16px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}
.calc-group:first-child .calc-group-title { padding-top: 0; border-top: 0; }

.calc-error {
  background: #fdecea;
  color: #b3261e;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6em;
  margin: 20px 0 0;
}

.calc-submit-row { text-align: right; margin-top: 26px; }
.calc-submit-row .btn-wz-send { margin-left: 0; }

.calc-result {
  max-width: 800px;
  margin: 20px auto 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.25);
  padding: 34px 44px;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  text-align: center;
}
.calc-result-headline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}
.calc-result-value {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 40px;
  color: var(--akzent);
  margin-bottom: 24px;
}
.calc-result-value span { font-size: 20px; color: var(--dunkel); }
.calc-result-details { border-top: 1px solid #eee; padding-top: 18px; text-align: left; }
.calc-result-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  font-size: 15px;
  color: #666;
}
.calc-result-row strong { color: #333; text-align: right; }

.gtz-table-wrap { overflow-x: auto; margin-bottom: 1.5em; }
.gtz-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 480px;
  font-size: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 0 0 #eee;
}
.gtz-table th, .gtz-table td { padding: 10px 16px; text-align: left; }
.gtz-table thead th {
  background: var(--dunkel);
  color: #fff;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.gtz-table tbody tr:nth-child(odd) { background: #f7f7f7; }
.gtz-table tbody tr:last-child { font-weight: 700; background: #fdecea; color: var(--akzent); }

@media (max-width: 767px) {
  .calc-card, .calc-result { padding: 26px 20px; }
  .calc-submit-row { text-align: stretch; }
  .calc-submit-row .btn-wz-send { width: 100%; }
  .calc-result-value { font-size: 30px; }
  .calc-result-row { flex-direction: column; gap: 2px; }
  .calc-result-row strong { text-align: left; }
}

/* ---------- Inhalts-Seiten (Unterseiten) ---------- */
.page-title h1 {
  font-family: 'Bungee', display;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.4em;
}
.content-body { font-size: 16px; line-height: 1.8em; }
.content-body h2 { font-family: 'Bungee', display; font-weight: 400; font-size: 30px; line-height: 1.4em; }
.content-body h3 { font-family: 'Bungee', display; font-weight: 400; font-size: 22px; }
.content-body table { border-collapse: collapse; width: 100%; margin-bottom: 1.5em; }
.content-body th, .content-body td { border: 1px solid #ddd; padding: 8px 12px; text-align: left; }
.content-body th { background: #f5f5f5; }
