:root {
  --blue: #2ea3f2;
  --text: #666;
  --page: 1200px;
  color-scheme: only light;
}

@font-face {
  font-family: ETmodules;
  src: url("/assets/fonts/ETmodules.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff url("/assets/images/hintergrund-see-2026.webp") center top / cover fixed no-repeat;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7em;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; }
p { margin: 0; padding-bottom: 1em; } /* Zeilenhöhe wie Divi vom body (23,8 px) erben, nicht neu berechnen */
p:last-of-type { padding-bottom: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding-bottom: 10px;
  color: #333;
  font-weight: 500;
  line-height: 1em;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }
ul, ol { padding-left: 1.4rem; }
.sr-only, .screen-reader-text, .sr-only-focusable:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-shell {
  width: 90%;
  max-width: var(--page);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
}
.container { position: relative; margin: auto; }

/* Kopfbereich */
.site-header { position: sticky; top: 0; z-index: 99999; }
#top-header {
  height: 31px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 13px;
  letter-spacing: 2px;
}
#top-header .topbar-inner {
  display: flex;
  width: 90%;
  max-width: 1080px;
  height: 31px;
  padding: 0 30px;
  align-items: center;
  justify-content: space-between;
}
#top-header a { color: #fff; font-weight: 600; }
.et-info, .secondary-nav { display: flex; align-items: center; gap: 22px; }
.et-info { gap: 13px; } /* Divi: #et-info-phone{margin-right:13px} */
#et-info-phone::before, #et-info-email::before {
  margin-right: 2px;
  font-family: ETmodules;
  font-size: 14px;
  font-weight: 400;
  vertical-align: -1px;
}
#et-info-phone::before { content: "\e090"; }
#et-info-email::before { content: "\e076"; }
/* Divi-Original (gemessen 03.10.2026): Header 86 px, Logo 100 % der Höhe (228x86), Menü-Padding 36 px,
   Container 90 % / 1080 px. Beim Scrollen bleibt der Header gleich hoch, nur der Schatten wechselt. */
#main-header {
  position: relative;
  height: 86px;
  background: #fff;
  box-shadow: 0 1px 0 rgb(0 0 0 / 10%);
  transition: height .4s ease-in-out, box-shadow .4s ease-in-out;
}
.nav-row {
  display: flex;
  width: 90%;
  max-width: 1080px;
  height: 100%;
  padding: 0;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; height: 100%; margin-left: 4px; align-items: center; }
.brand img {
  display: block;
  width: auto;
  height: 100%;
  max-height: 100%;
  transition: max-height .4s ease-in-out;
}
#main-nav ul { display: flex; margin: 0; padding: 0; align-items: center; list-style: none; }
#main-nav li { position: relative; padding-right: 22px; }
#main-nav li:last-child { padding-right: 0; }
#main-nav a {
  display: block;
  padding: 36px 0;
  color: rgb(0 0 0 / 60%);
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  white-space: nowrap;
  transition: opacity .4s ease-in-out, padding .4s ease-in-out;
}
#main-nav a:hover { opacity: .7; }
#main-nav a.active,
#main-nav .current-menu-item > a,
#main-nav .current-menu-ancestor > a { color: var(--blue); }
#main-nav li.has-sub > a { position: relative; padding-right: 20px; } /* Pfeil direkt hinter dem Text, nicht am li-Rand */
#main-nav li.has-sub > a::after {
  position: absolute;
  top: 36px;
  right: 0;
  content: "3";
  font-family: ETmodules;
  font-size: 16px;
  font-weight: 800;
  line-height: 14px;
  transition: top .4s ease-in-out;
}
#main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  width: 240px;
  padding: 20px 0;
  background: #fff;
  border-top: 3px solid var(--blue);
  box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
}
#main-nav .sub-menu li { width: 100%; padding: 0; }
#main-nav .sub-menu a {
  width: 200px;
  margin: 0 20px;
  padding: 6px 20px;
  color: rgb(0 0 0 / 60%);
  line-height: 2em;
  white-space: normal;
}
#main-nav .sub-menu a:hover { background: rgb(0 0 0 / 3%); opacity: .7; }
#main-nav li.has-sub:hover > .sub-menu,
#main-nav li.has-sub:focus-within > .sub-menu { display: block; }
.menu-toggle {
  display: none;
  width: 32px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle::before { content: "a"; color: var(--blue); font: 32px/1 ETmodules; }
.menu-toggle[aria-expanded="true"]::before { content: "M"; }
.site-header.is-compact #main-header { box-shadow: 0 0 7px rgb(0 0 0 / 10%); }

/* Divi-Raster */
#main-content { min-height: 540px; background: #fff; }
.et_builder_inner_content { position: relative; }
.et_pb_section { position: relative; padding: 4% 0; background: #fff; }
.et_pb_fullwidth_section { padding: 0; }
.et_pb_row {
  display: flex;
  position: relative;
  width: 90%;
  max-width: 1080px;
  margin: auto;
  padding: 2% 0;
  flex-wrap: wrap;
  align-items: flex-start;
}
.et_pb_column { min-width: 0; margin-right: 5.5%; }
.et_pb_column:last-child, .et_pb_column.et-last-child { margin-right: 0; }
.et_pb_column_4_4, .et_pb_column_1_1 { width: 100%; }
.et_pb_column_1_2 { width: 47.25%; }
.et_pb_column_1_3 { width: 29.6667%; }
.et_pb_column_2_3 { width: 64.8333%; }
.et_pb_column_1_4 { width: 20.875%; }
.et_pb_column_3_4 { width: 73.625%; }
.et_pb_column_1_5 { width: 15.6%; }
.et_pb_column_2_5 { width: 36.7%; }
.et_pb_column_3_5 { width: 57.8%; }
.et_pb_column_4_5 { width: 78.9%; }
.et_pb_module { margin-bottom: 30px; }
.et_pb_module:last-child { margin-bottom: 0; }
.et_pb_text { overflow-wrap: break-word; }
.et_pb_text_inner, .frb_text { max-width: 100%; }
.et_pb_text_align_center { text-align: center; }
.et_pb_text_align_right { text-align: right; }
.alignleft, img.alignleft { display: inline; float: left; margin: 0 15px 15px 0; }
.alignright, img.alignright { display: inline; float: right; margin: 0 0 15px 15px; }
.et_pb_image { display: block; margin-right: auto; margin-left: auto; line-height: 0; }
.et_pb_image .et_pb_image_wrap { display: inline-block; position: relative; max-width: 100%; }
.et_pb_image img, .et_pb_gallery_image img { position: relative; width: auto; max-width: 100%; object-fit: initial; }
.et_pb_blurb_content { text-align: center; }
.et_pb_promo_description { position: relative; padding-bottom: 20px; }
.et_pb_promo_description p:last-of-type { padding-bottom: 0; }

/* Leistungskacheln */
.service-section {
  z-index: 10;
  background: linear-gradient(180deg, #fff 0%, #a0e7ff 100%) !important;
  box-shadow: 0 2px 18px rgb(0 0 0 / 30%);
}
.service-section > .et_pb_row:first-child .et_pb_text {
  color: #000;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 .08em 0 rgb(0 0 0 / 40%);
}
.service-section .et_pb_image_wrap { box-shadow: 6px 6px 18px rgb(0 0 0 / 30%); }
/* Kacheln (alle Bilder breiter als die Spalte): volle Breite, damit Lazy-Bilder vor dem Laden schon Platz halten */
.service-section .et_pb_image_wrap { width: 100%; }
.service-section .et_pb_image_wrap img { width: 100%; }
.service-section .et_pb_column .et_pb_text { font-weight: 800; text-transform: uppercase; }
.et_overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(0 0 0 / 55%);
  border: 1px solid #e5e5e5;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
}
.et_overlay::before {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "\e050";
  color: #fff;
  font: 32px/1 ETmodules;
  transform: translate(-50%, -50%);
}
.et_pb_image_wrap:hover .et_overlay { z-index: 3; opacity: 1; }

/* Slider */
.et_pb_slider { position: relative; overflow: hidden; background: #7ebec5; }
.et_pb_slides { position: relative; overflow: hidden; }
.et_pb_slide {
  display: none;
  position: relative;
  width: 100%;
  padding: 0 6%;
  background-position: 50%;
  background-size: cover;
  text-align: center;
}
.et_pb_slide.et-pb-active-slide, .slider-ready .et_pb_slide.is-active { display: block; }
/* Übergang (site.js): neue Folie liegt oben und blendet ein (fade, 1,2 s) oder schiebt herein (slide, 0,8 s);
   die alte bleibt darunter sichtbar bzw. schiebt hinaus. Höhe von .et_pb_slides wird mit animiert. */
.slider-ready .et_pb_slide.slide-in { display: block; position: absolute; top: 0; left: 0; z-index: 2; width: 100%; }
.slider-ready .et_pb_slide.slide-out { display: block; z-index: 1; }
.et-pb-active-slide .et_pb_slide_description { animation: fadeBottom .7s ease-in-out .9s both; }
@keyframes fadeBottom { from { opacity: 0; transform: translateY(10%); } to { opacity: 1; transform: translateY(0); } }
.et_pb_slide_overlay_container { position: absolute; inset: 0; background: rgb(0 0 0 / 30%); }
/* Alle Folien eines Sliders gleich hoch (site.js setzt die Höhe der höchsten Folie wie Divi); Inhalt mittig */
.et_pb_slides .et_pb_container { display: table; position: relative; z-index: 1; width: 100%; height: 100%; table-layout: fixed; }
.slider-ready .et_pb_slide.slide-mess { display: block; position: absolute; top: 0; left: 0; width: 100%; height: auto; visibility: hidden; }
.et_pb_slides .et_pb_slider_container_inner { display: table-cell; width: 100%; vertical-align: middle; }
.et_pb_slide_description {
  padding: 16% 8%;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgb(0 0 0 / 30%);
  overflow-wrap: break-word;
}
.et_pb_slide_title { padding-bottom: 10px; color: #fff; font-size: 46px; font-weight: 300; line-height: 1em; }
.et_pb_slide_title a { color: inherit; }
.et_pb_slide_content { color: #fff; font-size: 15px; font-weight: 400; }
.et_pb_slider_with_text_overlay .et_pb_text_overlay_wrapper {
  display: inline-block;
  padding: 30px;
  background: rgb(0 0 0 / 30%);
  border-radius: 14px;
}
.et_pb_button {
  display: inline-block;
  position: relative;
  margin-top: 20px;
  padding: .3em 1em;
  color: #fff;
  border: 2px solid;
  border-radius: 3px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7em !important;
  transition: all .2s;
}
.et_pb_button::after {
  position: absolute;
  margin-left: -1em;
  content: "5";
  font-family: ETmodules;
  font-size: 32px;
  line-height: 1em;
  opacity: 0;
  transition: all .2s;
}
.et_pb_button:hover { padding: .3em 2em .3em .7em; border-color: transparent; background: rgb(255 255 255 / 20%); }
.et_pb_button:hover::after { margin-left: 0; opacity: 1; }
.page-start .et_pb_section_0 { z-index: 10; box-shadow: 0 12px 18px -6px rgb(0 0 0 / 30%); }
.page-start .et_pb_slide_0 .et_pb_slide_description { padding-bottom: 280px !important; text-align: left; }
.page-start .et_pb_slide_0 .et_pb_slide_title {
  font-size: 22px !important;
  font-weight: 300;
  line-height: 1.9em !important;
  letter-spacing: 4px !important;
}
.page-start .et_pb_slide_0 .et_pb_slide_content { text-align: left !important; }
.page-start .et_pb_slide_0 .et_pb_button_wrapper,
.page-start .et_pb_slide_2 .et_pb_button_wrapper,
.page-start .et_pb_slide_3 .et_pb_button_wrapper,
.page-start .et_pb_slide_6 .et_pb_button_wrapper { text-align: right; }
.page-start .et_pb_slide_5 .et_pb_button_wrapper { text-align: left; }
.page-start .et_pb_slide_7 .et_pb_slide_title { font-weight: 700 !important; text-transform: uppercase !important; }
.et_pb_slider_fullwidth_off .et_pb_slider_container_inner::after { display: table; clear: both; content: ""; }
@media (min-width: 981px) {
  /* Divi: Bild absolut, vertikal mittig, max. 80 % der Folienhöhe (site.js setzt max-height); Höhe kommt vom Text */
  .et_pb_slider_fullwidth_off .et_pb_slide_with_image .et_pb_slide_image {
    display: block;
    position: absolute;
    top: 50%;
    width: 47.25%;
    margin-right: 5.5%;
    padding: 0;
    transform: translateY(-50%);
  }
  .et_pb_slider_fullwidth_off .et_pb_slide_image img { width: auto; vertical-align: bottom; }
  .et_pb_with_border .et_pb_slide_image img { border: 0 solid #333; } /* Seiten-CSS setzt Breite/Farbe (6px weiß) */
  .et_pb_slider_fullwidth_off .et_pb_slide_with_image .et_pb_slide_description {
    float: right;
    width: 47.25%;
    padding: 16% 0;
    text-align: left;
  }
}
.slider-controls {
  display: flex;
  position: absolute;
  right: 0;
  bottom: 37px; /* Divi: Container bottom 20px, Punkte am oberen Rand der 24px-Zeile */
  left: 0;
  z-index: 5;
  justify-content: center;
}
.slider-dot {
  width: 7px;
  height: 7px;
  margin: 0 10px 0 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: rgb(255 255 255 / 50%);
  opacity: .5;
  cursor: pointer;
}
.slider-dot:last-child { margin-right: 0; }
.slider-dot[aria-current="true"] { background: #fff; opacity: 1; }
.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0;
  opacity: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .3s, left .3s, right .3s;
}
.slider-arrow::before { font: 48px/1 ETmodules; text-shadow: 0 1px 4px rgb(0 0 0 / 45%); }
.slider-prev { left: -22px; }
.slider-next { right: -22px; }
.slider-prev::before { content: "4"; }
.slider-next::before { content: "5"; }
.et_pb_slider:hover .slider-arrow, .slider-arrow:focus-visible { opacity: 1; }
.et_pb_slider:hover .slider-prev { left: 22px; }
.et_pb_slider:hover .slider-next { right: 22px; }

/* Sonderseiten */
.contact-page { width: 90%; max-width: 1080px; min-height: 695px; margin: auto; padding: 82px 0 0; }
.legal-page { display: block; padding-top: 64px; padding-bottom: 80px; color: #222; }
.legal-page h2 { margin-top: 1.3em; font-size: 20px; }
.legal-page h3 { margin-top: 1.15em; font-size: 17px; }
.climate-page { min-height: 1460px; }
.climate-page .climate-spacer { height: 320px; }
.climate-page h2 { color: #093; font-weight: 700; }
.climate-page img { display: block; margin: 48px auto; }
.et_pb_map { width: 100%; height: 440px; }
.et_pb_map_pin { display: none; }

/* Footer */
#main-footer { background: #222; }
#et-footer-nav { background: rgb(255 255 255 / 5%); }
.bottom-nav {
  display: flex;
  width: 90%;
  max-width: 1080px;
  padding: 15px 0;
  gap: 0;
}
.bottom-nav a {
  padding-right: 22px;
  color: #bbb;
  font-size: 14px;
  font-weight: 600;
  line-height: 23.8px;
  transition: opacity .4s;
}
.bottom-nav a:hover { opacity: .7; }
.bottom-nav a.active { color: var(--blue); }
#footer-bottom { min-height: 20px; padding: 15px 0 5px; background: rgb(0 0 0 / 32%); }

@media (min-width: 1350px) {
  .et_pb_section { padding: 54px 0; }
  .et_pb_fullwidth_section { padding: 0; }
  .et_pb_row { padding: 27px 0; }
}

@media (max-width: 980px) {
  .site-header { position: relative; top: auto; }
  #top-header { height: 44px; font-size: 12px; line-height: 12px; }
  #top-header .topbar-inner {
    display: flex;
    width: 90%;
    height: 44px;
    padding: 0;
    justify-content: center;
    text-align: center;
  }
  .et-info { flex-wrap: wrap; justify-content: center; gap: 0 18px; }
  .secondary-nav { display: none; }
  #main-header, .site-header.is-compact #main-header { height: 80px; }
  .nav-row { width: 90%; padding: 0; }
  .brand { margin-left: 4px; }
  .brand img, .site-header.is-compact .brand img { height: auto; max-height: 54%; }
  .menu-toggle { display: block; }
  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 30;
    width: 100%;
    padding: 5%;
    background: #fff;
    border-top: 3px solid var(--blue);
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
  }
  #main-nav.is-open { display: block; }
  #main-nav ul { display: block; }
  #main-nav li { padding: 0; }
  #main-nav a, .site-header.is-compact #main-nav > ul > li > a {
    padding: 10px 5%;
    border-bottom: 1px solid rgb(0 0 0 / 3%);
    color: #666;
    font-size: 14px;
    line-height: 23.8px;
    white-space: normal;
  }
  #main-nav li.has-sub > a { padding-right: 5%; background: rgb(0 0 0 / 3%); font-weight: 700; }
  #main-nav li.has-sub > a::after { display: none; }
  #main-nav .sub-menu {
    display: block;
    position: static;
    width: auto;
    padding: 0 0 0 5%;
    border: 0;
    box-shadow: none;
  }
  #main-nav .sub-menu a { width: auto; margin: 0; padding: 10px 5%; line-height: 23.8px; }
  .et_pb_section { padding: 51px 0; }
  .et_pb_fullwidth_section { padding: 0; }
  .et_pb_row { display: block; width: 90%; padding: 30px 0; }
  .et_pb_column,
  .et_pb_column_1_2, .et_pb_column_1_3, .et_pb_column_2_3,
  .et_pb_column_1_4, .et_pb_column_3_4, .et_pb_column_1_5,
  .et_pb_column_2_5, .et_pb_column_3_5, .et_pb_column_4_5 {
    width: 100%;
    margin: 0 0 30px;
  }
  .et_pb_column:last-child, .et_pb_column.et-last-child { margin-bottom: 0; }
  .alignleft, .alignright, img.alignleft, img.alignright { display: block; float: none; margin: 15px auto; }
  .et_pb_slide_title { font-size: 26px; font-weight: 500; }
  .page-start .et_pb_slide_0 .et_pb_slide_title { font-size: 20px !important; font-weight: 500; }
  .et_pb_button::after { display: none; }
  .et_pb_button:hover { padding: .3em 1em; }
  .et_pb_slider_fullwidth_off .et_pb_slide_image { display: none; }
  .et_pb_slider_fullwidth_off .et_pb_slide_description { width: 100%; float: none; text-align: center; }
  .service-section .et_pb_image { text-align: center; }
  .legal-page { padding-top: 42px; padding-bottom: 52px; }
  .climate-page { min-height: 1000px; }
  .climate-page .climate-spacer { height: 140px; }
  .bottom-nav { width: 90%; flex-wrap: wrap; justify-content: center; text-align: center; }
  .bottom-nav a { padding-right: 18px; }
  .et_pb_map { height: 200px; }
}

@media (max-width: 767px) {
  .page-start .et_pb_slide_0 .et_pb_slide_title { font-size: 18px !important; }
  .page-start .et_pb_slide_0 .et_pb_button { font-size: 14px !important; }
  .et_pb_slider .et_pb_slide_content { font-size: 14px; }
  .et_pb_slide_title { font-size: 20px; }
  .slider-controls { bottom: calc(5% + 7px); }
  .slider-prev, .et_pb_slider:hover .slider-prev { left: 0; }
  .slider-next, .et_pb_slider:hover .slider-next { right: 0; }
}

@media (max-width: 479px) {
  #top-header .topbar-inner { width: 90%; }
  .et-info { display: grid; gap: 1px; }
}

@media (hover: none) {
  .slider-arrow { opacity: .85; }
  .slider-prev { left: 0; }
  .slider-next { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .et-pb-active-slide .et_pb_slide_description { animation: none; }
}

@media print {
  body { background: #fff; }
  .page-shell { width: 100%; box-shadow: none; }
  .site-header { position: relative; }
  .menu-toggle { display: none; }
}
