/* ====================
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: linear-gradient(120deg, #D3EAE8 0%, #FAE6D2 100%);
  color: #275258;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {box-sizing: inherit;}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; border: 0; }

/* =====================
   FONT FACE (Google Fonts)
   ===================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* ===============
   TYPOGRAPHY SCALE
   =============== */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #275258;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #275258;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #275258;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #275258;
}
p, li {
  font-size: 1rem;
  color: #24343A;
  margin-bottom: 8px;
}
strong, b { font-weight: 700; color: #275258; }
.subheadline {
  font-size: 1.18rem;
  color: #4A6F75;
  margin-bottom: 28px;
  font-weight: 400;
}

/* =============
   GLOBAL LAYOUT
   ============= */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(39,82,88,0.06);
  position: relative;
}
main > section:first-child {
  background:
    linear-gradient(104deg, #D3EAE8 60%, #FAE6D2 100%);
  box-shadow: none;
}

@media (max-width: 900px) {
  .container { padding: 0 12px; }
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
}

/* =======================
   MAIN NAVIGATION DESKTOP
   ======================= */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px 18px 12px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(39,82,88,0.09);
  position: relative;
}
.main-nav > a > img {
  height: 52px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav ul li {
  position: relative;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #275258;
  padding: 7px 0 7px 0;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  display: block;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: #D3EAE8;
  color: #1C393E;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #275258 60%, #4A6F75 100%);
  color: #fff !important;
  font-weight: 800;
  font-size: 1.08rem;
  padding: 11px 32px;
  border: none;
  border-radius: 26px;
  margin-left: 32px;
  box-shadow: 0 2px 16px rgba(39,82,88,0.09);
  cursor: pointer;
  transition: background 0.22s, transform 0.16s, box-shadow 0.16s;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(92deg, #1C393E 65%, #275258 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(39,82,88,0.11);
}

@media (max-width: 1023px) {
  .main-nav ul {
    gap: 14px;
  }
  .cta-button {
    margin-left: 14px;
    padding: 9px 24px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    padding-left: 4px;
    padding-right: 7px;
  }
  .main-nav ul {
    gap: 9px;
  }
  .main-nav > a > img {
    height: 39px;
  }
}

/* ===================
   MOBILE MENU (BURGER)
   =================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #275258;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 200;
  padding: 5px 8px;
  transition: color 0.18s, background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #1C393E;
  background: #D3EAE8;
  border-radius: 5px;
}
@media (max-width: 900px) {
  .main-nav ul,
  .main-nav .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 18px;
  width: 100vw;
  min-height: 100vh;
  box-shadow: 0 8px 36px rgba(39,82,88,0.11);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0) !important;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #275258;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 14px 21px 12px 0;
  cursor: pointer;
  z-index: 1101;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #1C393E;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 15px 22px 0 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.26rem;
  padding: 11px 0;
  color: #275258;
  border-radius: 9px;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D3EAE8;
  color: #1C393E;
}

@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {display: none !important;}
}

/* ===========
   SECTIONS
   =========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===========
   CARDS & FLEX CONTAINERS
   =========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(39,82,88,0.08);
  padding: 30px 28px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 290px;
  min-width: 270px;
  max-width: 365px;
  transition: box-shadow 0.14s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(39,82,88,0.13);
  transform: translateY(-3px) scale(1.03);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 12px rgba(39,82,88,0.07);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 650px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 32px rgba(39,82,88,0.12);
  transform: translateY(-2px) scale(1.011);
}
.customer-name {
  font-weight: 700;
  color: #275258;
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 1.03rem;
}
.star-ratings {
  font-size: 1.19rem;
  color: #E89036;
  letter-spacing: 0.08em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid (for index features)
   ~~~~ Matching UL structure from HTML. */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 8px;
}
.feature-grid li {
  background: #FAE6D2;
  border-radius: 15px;
  padding: 26px 20px 21px 20px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 280px;
  box-shadow: 0 1px 8px rgba(39,82,88,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.13s, transform 0.14s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 6px 28px rgba(39,82,88,0.09);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  height: 34px;
  width: 34px;
  margin-bottom: 5px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}
.service-list li {
  background: #D3EAE8;
  padding: 16px;
  border-radius: 13px;
  min-width: 160px;
  box-shadow: 0 1px 7px rgba(39,82,88,0.04);
  font-size: 1.08rem;
}

/* Service Details List (for leistungen.html) */
.service-details-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.service-details-list li {
  background: #FAE6D2;
  border-radius: 15px;
  box-shadow: 0 1px 8px rgba(39,82,88,0.07);
  padding: 25px 18px 20px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 330px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  transition: box-shadow 0.11s, transform 0.11s;
}
.service-details-list li:hover {
  box-shadow: 0 6px 26px rgba(39,82,88,0.10);
  transform: translateY(-2px) scale(1.014);
}
.service-details-list img {
  height: 34px;
  width: 34px;
  margin-bottom: 7px;
  margin-top: 2px;
}

.benefit-list, .quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 19px 0 6px 0;
}
.benefit-list li, .quick-facts li {
  background: #D3EAE8;
  border-radius: 9px;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 1.03rem;
  min-width: 165px;
  flex: 1 1 150px;
  box-shadow: 0 1px 7px rgba(39,82,88,0.03);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

/* Text Section, Quote, Blockquote, Directions */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
blockquote {
  font-style: italic;
  background: #D3EAE8;
  border-left: 5px solid #275258;
  padding: 16px 25px 16px 16px;
  border-radius: 8px;
  color: #275258;
  margin-bottom: 9px;
}
.directions-section {
  background: #FAE6D2;
  border-radius: 12px;
  padding: 14px 17px;
  box-shadow: 0 1px 6px rgba(39,82,88,0.05);
  margin-top: 17px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-footer {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.faq-list h2 {
  font-size: 1.18rem;
  margin-bottom: 5px;
  color: #275258;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 1023px) {
  .card-container, .content-grid, .feature-grid, .service-details-list, .benefit-list, .quick-facts {
    gap: 11px !important;
  }
}
@media (max-width: 900px) {
  .feature-grid li, .service-details-list li {
    min-width: 170px;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .card-container, .content-grid, .feature-grid, .service-details-list, .benefit-list, .quick-facts {
    flex-direction: column !important;
    align-items: stretch;
    gap: 11px !important;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
  .feature-grid li, .service-details-list li, .service-list li {
    min-width: 98vw;
    padding-left: 11px;
    padding-right: 11px;
  }
}

/* =============
   PRICING TABLE
   ============= */
.pricing-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 34px;
  background: #FAE6D2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 9px rgba(39,82,88,0.07);
  font-size: 1.02rem;
}
.pricing-table th, .pricing-table td {
  padding: 14px 18px;
  text-align: left;
}
.pricing-table th {
  background: #D3EAE8;
  color: #275258;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
}
.pricing-table tr:nth-child(even) td {
  background: #FFF;
}
.pricing-table tr:nth-child(odd) td {
  background: #FAE6D2;
}
.pricing-table td {
  color: #24343A;
  border-bottom: 1px solid #E7D2CA;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 700px) {
  .pricing-table th, .pricing-table td {
    font-size: .98rem;
    padding: 10px 7px;
  }
}

/* ===========
   FOOTER
   =========== */
footer {
  width: 100%;
  background: linear-gradient(95deg, #D3EAE8 85%, #FAE6D2 100%);
  padding: 22px 0 12px 0;
  box-shadow: 0 -2px 16px rgba(39,82,88,0.05);
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.footer-wrapper img {
  height: 43px;
  width: auto;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  align-items: center;
  list-style: none;
}
.footer-menu li a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #275258;
  opacity: 0.87;
  border-radius: 7px;
  padding: 7px 10px;
  transition: background 0.13s, color 0.13s;
}
.footer-menu li a:hover, .footer-menu li a:focus {
  background: #D3EAE8;
  color: #24343A;
  opacity: 1;
}
.footer-wrapper p {
  font-size: 0.95rem;
  color: #4A6F75;
  margin: 0;
}
@media (max-width: 600px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    padding: 0 6px;
  }
}

/* ==============
   COOKIE CONSENT
   ============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #275258;
  border-top: 2px solid #D3EAE8;
  box-shadow: 0 -4px 28px rgba(39,82,88,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 34px;
  justify-content: flex-start;
  padding: 24px 32px 20px 32px;
  z-index: 2000;
  font-size: 1.04rem;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.31s;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-left: auto;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 15px;
  font-size: 1.05rem;
  border-radius: 20px;
  border: none;
  background: #D3EAE8;
  color: #275258;
  font-weight: bold;
  margin-right: 0;
  box-shadow: 0 1px 6px rgba(39,82,88,0.07);
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
}
.cookie-banner button.cookie-accept {
  background: #275258;
  color: #fff;
}
.cookie-banner button.cookie-accept:hover {
  background: #226269;
}
.cookie-banner button.cookie-reject {
  background: #FAE6D2;
}
.cookie-banner button.cookie-reject:hover {
  background: #FFE3C8;
}
.cookie-banner button.cookie-settings {
  background: #D3EAE8;
}
.cookie-banner button.cookie-settings:hover {
  background: #c2dbd8;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 17px 10px 13px 10px;
  }
  .cookie-banner .cookie-buttons { margin-left: 0; justify-content: flex-start; }
}

/* ------------ Cookie Modal ------------ */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40, 82, 88, 0.29);
  z-index: 3000;
  display: none;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.visible {
  display: flex;
  animation: cookieModalFadeIn 0.27s cubic-bezier(.67,-0.14,0.34,1) 1;
}
@keyframes cookieModalFadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #275258;
  border-radius: 22px;
  width: 98vw;
  max-width: 420px;
  padding: 36px 26px 27px 24px;
  box-shadow: 0 7px 56px rgba(39,82,88,0.18);
  animation: cookieModalPopIn 0.25s cubic-bezier(.67,0,.34,1) 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
@keyframes cookieModalPopIn {
  0% {transform: scale(.92) translateY(28px); opacity: 0;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 17px;
  top: 17px;
  background: none;
  border: none;
  color: #275258;
  font-size: 1.38rem;
  cursor: pointer;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.cookie-modal form {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.cookie-category label {
  font-size: 1.08rem;
  color: #24343A;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  accent-color: #275258;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  margin: 0 4px 0 0;
}
.cookie-preference-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 14px;
}
.cookie-preference-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  border-radius: 20px;
  padding: 8px 22px;
  font-weight: 700;
  border: none;
  background: #D3EAE8;
  color: #275258;
  cursor: pointer;
  transition: background 0.16s, color 0.11s;
}
.cookie-preference-actions .cookie-save {
  background: #275258;
  color: #fff;
}
.cookie-preference-actions .cookie-save:hover {
  background: #226269;
}
.cookie-preference-actions .cookie-cancel {
  background: #FAE6D2;
}
.cookie-preference-actions .cookie-cancel:hover {
  background: #FFE3C8;
}

/* =========================
   FORMS, BUTTONS, INTERACTIVES
   ========================= */
button, input[type="submit"], input[type="button"] {
  font-family: inherit;
  border: none;
  outline: none;
  transition: opacity 0.14s, background 0.16s, color 0.13s, box-shadow 0.16s;
  cursor: pointer;
}
button:active, .cta-button:active { opacity: 0.93; }
input, textarea {
  border-radius: 7px;
  border: 1px solid #D3EAE8;
  padding: 9px 13px;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 18px;
  background: #F9FDFD;
  color: #24343A;
}
input:focus, textarea:focus {
  border-color: #275258;
  outline: none;
}

/* =======================
   VISUALLY HIDDEN (Screenreaders)
   ======================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* =======================
   RESPONSIVE FONT SIZES
   ======================= */
@media (max-width: 1023px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.13rem; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.07rem; }
  .cta-button, .footer-menu li a { font-size: 0.97rem; }
}

/* ======================
   MICRO-ANIMATIONS ETC.
   ====================== */
a, .cta-button, button, .card, .feature-grid li, .service-details-list li, .testimonial-card {
  transition: background 0.19s, color 0.17s, box-shadow 0.18s, transform 0.17s;
}

/* ==========
   UTILS
   ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-12 { margin-top: 12px !important; }
.mb-12 { margin-bottom: 12px !important; }

/* ===============
   PRINT (simple)
   =============== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; }
}
