/* ============================================
  BIOME STRUKTUR REINIGUNG – STYLE.CSS
  'geometric_structured' design system
  All flex layouts, NO CSS Grid/Columns
  Brand: Montserrat, Roboto, Colors: #19535F, #E4ECE6, #44B9A5, #278378, #FFFFFF
============================================ */

/* ===== CSS RESET & NORMALIZE ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  background: #E4ECE6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #19535F;
  letter-spacing: 0.01em;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
*,*:before,*:after { box-sizing: inherit; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font-family: inherit; font-size: 100%; border: none; outline: none; background: none; color: inherit; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 16px; text-align: left; }
th { background: #19535F; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 18px; letter-spacing: 0.04em; }
td { background: #fff; color: #19535F; font-size: 16px; }
p { margin-bottom: 16px; }

/* ===== BRAND TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #19535F;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
h1 { font-size: 2.7rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.16rem; margin-bottom: 10px; }
h5,h6 { font-size: 1rem; margin-bottom: 8px; }
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

strong, b { font-weight: 700; color: #19535F; font-family: 'Montserrat', Arial, Helvetica, sans-serif; }
em, i { font-style: italic; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  box-shadow: 0 4px 16px rgba(25,83,95,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img { height: 44px; width: auto; }
nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  color: #19535F;
  padding: 8px 0;
  position: relative;
  transition: color 0.18s;
  font-weight: 600;
  letter-spacing: 0.03em;
}
nav a:not(.button):after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background 0.2s;
}
nav a:hover:not(.button), nav a:focus:not(.button) {
  color: #44B9A5;
}
nav a:hover:not(.button):after, nav a:focus:not(.button):after {
  background: #44B9A5;
}

/* ===== BUTTONS ===== */
.button, .button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 0 28px;
  height: 44px;
  border-radius: 12px;
  background: #44B9A5;
  color: #fff;
  box-shadow: 0 2px 10px rgba(68,185,165,0.08);
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.22s cubic-bezier(.5,.5,0,1);
  margin-right: 0!important;
}
.button.primary {
  background: #19535F;
  color: #fff;
}
.button:hover, .button:focus, .button.primary:hover, .button.primary:focus {
  background: #278378;
  color: #fff;
  border-color: #44B9A5;
  box-shadow: 0 5px 20px rgba(68,185,165,0.13);
}

/* Text links inside content */
.content-wrapper a {
  color: #278378;
  text-decoration: underline;
  transition: color 0.2s;
  font-weight: 500;
}
.content-wrapper a:hover, .content-wrapper a:focus {
  color: #19535F;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: #44B9A5;
  color: #fff;
  font-size: 2.1rem;
  line-height: 1;
  padding: 4px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.14s;
  z-index: 201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #19535F;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #19535F;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-102vw);
  opacity: 0;
  visibility: hidden;
  z-index: 200;
  transition: transform 0.36s cubic-bezier(.57,-0.04,.33,1.03), opacity 0.28s, visibility 0.1s;
  padding-top: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  margin-top: 26px;
  margin-bottom: 20px;
  margin-left: 22px;
  font-size: 2.3rem;
  color: #44B9A5;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s, color 0.18s;
  z-index: 210;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #10363F;
  color: #E4ECE6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 12px 32px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E4ECE6;
  font-size: 20px;
  padding: 8px 0;
  width: 100%;
  transition: color 0.2s, background 0.18s;
  border-radius: 6px;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #278378;
  color: #fff;
}

/* ===== LAYOUT CLASSES (MANDATORY FLEX/SPACING) ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 28px rgba(25,83,95,0.07);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(25,83,95,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 26px;
  min-width: 260px;
  max-width: 350px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #E4ECE6;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(68,185,165,0.07);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.20s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: #fff;
  box-shadow: 0 6px 14px rgba(68,185,165,0.09);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Spec. for testimonial slider/grid (index/references) */
.testimonial-slider, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.testimonial-slider .testimonial-card, .testimonial-grid .testimonial-card {
  min-width: 260px;
  max-width: 350px;
  flex: 1 1 280px;
}

/* Service and pricing cards - services/prices.html */
.service-list, .pricing-cards, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card, .pricing-card, .project-brief {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(25,83,95,0.12);
  padding: 24px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-left: 6px solid #44B9A5;
  transition: box-shadow 0.18s, border-color 0.25s;
}
.service-card:hover, .pricing-card:hover, .project-brief:hover {
  box-shadow: 0 8px 24px rgba(25,83,95,0.13);
  border-left-color: #19535F;
}

/* Pricing table - prices.html */
table {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 26px;
  box-shadow: 0 2px 12px rgba(25,83,95,0.08);
}
th, td {
  border-bottom: 1px solid #E4ECE6;
}
th { color: #fff; background: #19535F; }
td { color: #19535F; background: #fff; font-size: 16px; }
td:first-child, th:first-child { font-weight: 600; }
td {
  text-align: center;
  min-width: 80px;
}

/* FAQ Accordion - prices.html */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #E4ECE6;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 2px 9px rgba(25,83,95,0.09);
  transition: box-shadow 0.16s;
  margin-bottom: 8px;
}
.faq-item h3 {
  font-size: 1.18rem;
  color: #19535F;
  margin-bottom: 10px;
}

/* ===== CONTENT HELPERS ===== */
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #19535F;
  margin-bottom: 7px;
  line-height: 1.45;
}
ul li img, address img {
  width: 28px;
  height: 28px;
  margin-right: 9px;
}
address {
  font-style: normal;
  color: #19535F;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ====== COLORED SECTIONS ====== */
section:nth-of-type(odd) {
  background: #E4ECE6;
  box-shadow: none;
}

/* ====== FOOTER ====== */
footer {
  background: #19535F;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 24px;
}
footer .container { gap: 0; }
footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
footer img {
  width: 56px;
  height: auto;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
footer nav a {
  color: #E4ECE6;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
}
footer nav a:hover,footer nav a:focus {
  color: #44B9A5;
}
footer .footer-bottom {
  margin-top: 12px;
  border-top: 1px solid #278378;
  padding-top: 12px;
  text-align: center;
  color: #E4ECE6;
  font-size: 15px;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3001;
  background: #19535F;
  color: #fff;
  border-top: 4px solid #44B9A5;
  padding: 24px 24px 18px 24px;
  box-shadow: 0 -2px 38px rgba(25,83,95,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  animation: fadeBannerIn 0.6s cubic-bezier(.51,.03,.75,1.05);
}
@keyframes fadeBannerIn { from { opacity: 0; bottom: -80px; } to { opacity: 1; bottom: 0; } }
.cookie-banner p { font-size: 1rem; margin-bottom: 0; color: #fff; }
.cookie-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-button {
  padding: 0 22px;
  height: 38px;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: #278378;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.15s;
}
.cookie-button.accept {
  background: #44B9A5;
}
.cookie-button.reject {
  background: #fff;
  color: #278378;
  border: 1.5px solid #278378;
}
.cookie-button:hover, .cookie-button:focus {
  background: #10363F;
  color: #fff;
}
.cookie-button.accept:hover, .cookie-button.accept:focus {
  background: #278378;
}
.cookie-button.reject:hover, .cookie-button.reject:focus {
  color: #fff;
  background: #44B9A5;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(25,83,95,0.82);
  z-index: 3050;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.32s cubic-bezier(.4,.19,.6,.91);
}
@keyframes fadeInModal { from{ opacity: 0; } to{ opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #19535F;
  border-radius: 18px;
  max-width: 400px;
  width: 94%;
  padding: 36px 28px 32px 28px;
  box-shadow: 0 6px 54px rgba(68,185,165,0.19), 0 2px 8px rgba(25,83,95,0.11);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideInModal 0.38s cubic-bezier(.47,.08,.66,.96);
}
@keyframes slideInModal { from{ transform:translateY(36px); opacity:0;} to{ transform:translateY(0); opacity:1; } }
.cookie-modal h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: #19535F;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
}
.cookie-switch {
  width: 46px; height: 24px;
  border-radius: 16px;
  background: #E4ECE6;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  top: 2px; left: 3px;
  background: #44B9A5;
  transition: left 0.18s, background 0.15s;
}
.cookie-switch input:checked + .cookie-slider {
  left: 23px;
  background: #278378;
}
.cookie-modal .cookie-button {
  margin-top: 14px;
  width: 100%;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  font-size: 1.6rem;
  color: #44B9A5;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 2px 8px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.14s,color 0.16s;
}
.cookie-modal-close:hover,.cookie-modal-close:focus {
  color: #19535F;
  background: #E4ECE6;
}

/* ===== Thanks, Empty State, Generic ===== */
.empty-content, .thank-you-content {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

/* ===== ANIMATIONS ===== */
.button, .button.primary, .cookie-button, .service-card, .pricing-card, .testimonial-card {
  transition: background 0.18s, color 0.18s, border-color 0.22s, box-shadow 0.19s, transform 0.19s;
}
.service-card:hover, .pricing-card:hover, .testimonial-card:hover {
  transform: translateY(-5px) scale(1.020);
}
.button:active, .button.primary:active {
  transform: scale(0.98);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1000px) {
  .container { padding: 0 11px; }
  .service-list, .pricing-cards, .project-list, .testimonial-slider, .testimonial-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .service-list, .pricing-cards, .project-list {
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-slider, .testimonial-grid { flex-direction: column; align-items: stretch; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .section { padding: 34px 7px; margin-bottom: 36px; border-radius: 12px; }
  .content-wrapper { gap: 14px; }
  .testimonial-card, .service-card, .pricing-card, .project-brief {
    min-width: 0; max-width: 100%; flex: 1 1 100%;
  }
  .text-image-section { flex-direction: column; gap: 16px; align-items: stretch; }
  header .container { padding-top: 7px; padding-bottom: 7px; }
  .footer-top { flex-direction: column; gap: 12px; }
  .cookie-banner { flex-direction: column; gap: 17px; text-align: left; padding: 18px 9px 12px 9px; }
}
@media (max-width: 480px) {
  html, body { font-size: 15px; }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.05rem; }
  .section { padding: 25px 3px; }
  .cookie-modal { padding: 24px 9px 18px 9px; min-width: 0; width: 98%; }
}

/* ===== ACCESSIBILITY & FOCUS STATES ===== */
a, button, .button, .mobile-menu-toggle, .mobile-menu-close, .cookie-button, .cookie-modal-close {
  outline: none;
}
a:focus-visible, .button:focus-visible, .cookie-button:focus-visible {
  outline: 2px dashed #44B9A5;
  outline-offset: 1px;
}

::-webkit-input-placeholder { color: #628e9a; opacity: 1; }
::-moz-placeholder { color: #628e9a; opacity: 1; }
:-ms-input-placeholder { color: #628e9a; opacity: 1; }
::placeholder { color: #628e9a; opacity: 1; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px; background: #E4ECE6;
}
::-webkit-scrollbar-thumb {
  background: #19535F; border-radius: 5px;
}

/* ===== GEOMETRIC STRUCTURED DECORATIVE HINTS ===== */
.section {
  border-radius: 24px 12px 24px 12px;
  border: 2px solid #E4ECE6;
}
.card, .testimonial-card, .service-card, .pricing-card, .project-brief {
  border-radius: 14px 24px 14px 24px;
  border: 1.5px solid #E4ECE6;
}

/* Geometric: Use markers & svg icons as diamond/bold shapes in lists */
ul li::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 8px;
  background: #44B9A5;
  transform: rotate(45deg);
  border-radius: 2px;
}
ul li img { margin-left: 5px; margin-right: 0; }
ul li img:first-child { margin-left: 0; }

/* Hero Section (first) special treatment */
main > section:first-of-type {
  background: #19535F;
  color: #fff;
  box-shadow: 0 16px 32px rgba(25, 83, 95, 0.16);
  text-align: left;
}
main > section:first-of-type h1,
main > section:first-of-type p,
main > section:first-of-type a.button {
  color: #fff;
}
main > section:first-of-type .button {
  background: #44B9A5;
  border: 2px solid #44B9A5;
}
main > section:first-of-type .button:hover {
  background: #fff;
  color: #19535F;
}

/* Micro-interactions on interactive cards */
.service-card:active, .pricing-card:active, .testimonial-card:active {
  transform: scale(0.985);
}

/* ===== PRINT STANDARD (Hide navigation & cookie) ===== */
@media print {
  nav, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section, header, footer { box-shadow: none !important; }
}
