/* -----------------------------------------
   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, main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7FAFC;
  color: #215373;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
a {
  color: #317f9f;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #215373;
  text-decoration: underline;
  outline: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #215373;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
  color: #215373;
  font-size: 1.05rem;
}
strong {
  font-weight: 700;
  color: #2377aa;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(180deg, #F7FAFC 80%, #E5F4F0 100%);
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(170, 190, 210, 0.09);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

/* -----------------------------------------
   HEADER
----------------------------------------- */
header {
  width: 100%;
  background: #F7FAFC;
  border-bottom: 2px solid #E7F2ED;
  margin-bottom: 0;
  box-shadow: 0 2px 12px rgba(170, 190, 210, 0.10);
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 20px 20px;
}
header a img {
  height: 38px;
  width: auto;
  margin-right: 16px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.075rem;
  color: #215373;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: #E6F2F0;
  color: #3694c5;
}
.cta-btn {
  background: #90BEA9;
  color: #215373;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 14px;
  padding: 12px 28px;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(144, 190, 169, 0.08);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
  letter-spacing: 0.04em;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #b9e0cb;
  color: #215373;
  box-shadow: 0 4px 18px rgba(144, 190, 169, 0.17);
}
@media (max-width: 900px) {
  header .container {
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  nav {
    gap: 12px;
  }
}

/* -----------------------------------------
   MOBILE NAVIGATION
----------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  z-index: 1201;
  top: 21px;
  right: 21px;
  width: 44px;
  height: 44px;
  font-size: 2.2rem;
  color: #215373;
  background: #F7FAFC;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(170, 190, 210, .18);
  border: none;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #E7F2ED;
  box-shadow: 0 6px 28px rgba(170,190,210,0.17);
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #F7FAFC;
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.6,.24,.42,1.2);
  box-shadow: -12px 0 28px rgba(33,83,115,0.10);
  padding: 32px 28px 18px 28px;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #E7F2ED;
  border-radius: 8px;
  font-size: 2rem;
  color: #215373;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: none;
  transition: background 0.17s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: #B8DAD0;
}
.mobile-nav {
  flex-direction: column;
  display: flex;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.1rem;
  font-family: "Montserrat", Arial, sans-serif;
  color: #215373;
  text-align: left;
  padding: 16px 0 10px 6px;
  border-radius: 10px;
  margin: 0 0 0 0;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E6F2F0;
  color: #3694c5;
}
@media (max-width: 1020px) {
  nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* -----------------------------------------
   HERO & PAGE HEADERS
----------------------------------------- */
.hero {
  min-height: 370px;
  margin-bottom: 60px;
  background: linear-gradient(142deg, #B6E2D6 18%, #F7FAFC 85%);
  display: flex;
  align-items: center;
  border-radius: 26px;
  box-shadow: 0 4px 24px rgba(144,190,169,0.13);
  padding: 58px 0 38px 0;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.hero .content-wrapper {
  max-width: 550px;
  gap: 26px;
}
.hero h1 {
  color: #215373;
  font-size: 2.7rem;
  margin-bottom: 16px;
}
.hero p {
  color: #2D667A;
  opacity: 0.95;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* -----------------------------------------
   FLEXBOX LAYOUTS FOR CONTENT
----------------------------------------- */
.card-container,
.card-grid,
.product-grid,
.feature-grid,
.service-list,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 8px;
}
.card {
  margin-bottom: 20px;
  background: #FBFEFD;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(170, 190, 210, 0.08);
  position: relative;
  padding: 26px 22px 18px 22px;
  min-width: 220px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .card-grid, .card-container, .feature-grid, .product-grid, .service-list, .content-grid {
    gap: 12px;
    flex-direction: column;
  }
}

/* -----------------------------------------
   FEATURE & PRODUCT BOXES
----------------------------------------- */
.feature-grid > div,
.product-grid > div,
.service-list > div {
  background: #F7FAFC;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(33,83,115,0.06);
  flex: 1 1 230px;
  padding: 24px 20px 16px 20px;
  margin-bottom: 20px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.15s, transform 0.17s;
}
.feature-grid > div:hover,
.product-grid > div:hover,
.service-list > div:hover {
  box-shadow: 0 6px 24px rgba(144,190,169,0.13);
  transform: translateY(-3px) scale(1.018);
}
.feature-grid img, .product-grid img, .service-list img {
  height: 44px;
  width: 44px;
  margin-bottom: 6px;
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #90BEA9;
  font-size: 1.08rem;
  margin-top: 2px;
  font-weight: 700;
}

/* -----------------------------------------
   LISTS / UL / OL
----------------------------------------- */
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  line-height: 1.7;
  font-size: 1.06rem;
  color: #276d89;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
ul img, ol img {
  height: 22px;
  margin-right: 7px;
  margin-top: 2px;
}

/* -----------------------------------------
   TESTIMONIALS
----------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(33,83,115,0.11);
  margin-bottom: 28px;
  max-width: 560px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card p {
  color: #215373;
  font-size: 1.13rem;
  margin-bottom: 6px;
  line-height: 1.55;
}
.testimonial-card span {
  color: #3694C5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(33,83,115,0.14);
  transform: translateY(-2px) scale(1.016);
}

/* -----------------------------------------
   BUTTONS & INTERACTIVE ELEMENTS
----------------------------------------- */
button, .cta-btn {
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.cta-btn:active,
.cta-btn:focus {
  outline: 2px solid #90BEA9;
  outline-offset: 2px;
}

/* -----------------------------------------
   FORMS & CONTACT DETAILS
----------------------------------------- */
.contact-details ul {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
  color: #215373;
  font-size: 1.05rem;
}
.contact-details img {
  height: 22px;
}

/* -----------------------------------------
   FOOTER
----------------------------------------- */
footer {
  background: #E7F2ED;
  margin-top: 38px;
  border-top: 1.5px solid #b6e2d6;
  box-shadow: 0 -2px 14px rgba(144,190,169,0.06);
  padding: 36px 0 14px 0;
  font-size: 1.07rem;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  align-items: center;
}
.footer-nav a {
  color: #215373;
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: 8px;
  transition: background 0.17s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #B6E2D6;
  color: #20516a;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 7px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #317f9f;
  font-size: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #215373;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  opacity: 0.82;
}
.footer-brand img {
  height: 26px;
  width: auto;
}

@media (max-width: 700px) {
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.97rem;
  }
}

/* -----------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #FFF;
  border-top: 2px solid #90BEA9;
  box-shadow: 0 -2px 20px rgba(33,83,115,0.09);
  padding: 22px 8vw 20px 8vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s, bottom 0.17s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  bottom: 0;
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  color: #215373;
  font-size: 1.05rem;
  margin-right: 32px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  background: #90BEA9;
  color: #215373;
  border-radius: 10px;
  border: none;
  padding: 8px 18px;
  min-width: 98px;
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  transition: background 0.12s, color 0.12s;
}
.cookie-btn:focus,
.cookie-btn:active {
  outline: 2px solid #215373;
}
.cookie-btn.accept {
  background: #90BEA9;
  color: #215373;
}
.cookie-btn.accept:hover {
  background: #b9e0cb;
  color: #215373;
}
.cookie-btn.reject {
  background: #E7F2ED;
  color: #215373;
  border: 1.5px solid #b9e2d6;
}
.cookie-btn.reject:hover {
  background: #d1ede2;
}
.cookie-btn.settings {
  background: #F7FAFC;
  color: #3694C5;
  border: 1.3px solid #b6e2d6;
}
.cookie-btn.settings:hover {
  background: #E7F2ED;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    padding: 15px 10px 12px 10px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
}

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 10003;
  background: #F7FAFC;
  border-radius: 17px;
  box-shadow: 0 8px 38px rgba(33,83,115,0.16);
  min-width: 340px;
  max-width: 98vw;
  padding: 36px 32px 28px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.23s;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #E7F2ED;
}
.cookie-category:last-child {
  border-bottom: 0;
}
.cookie-category label {
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #215373;
  min-width: 142px;
  font-weight: 600;
}
.cookie-toggle {
  width: 32px;
  height: 18px;
  border-radius: 9px;
  background: #E7F2ED;
  position: relative;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 32px;
  height: 18px;
  margin: 0;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #90BEA9;
  transition: left 0.17s, background 0.17s;
}
.cookie-toggle input[type="checkbox"]:checked + .slider {
  left: 16px;
  background: #317f9f;
}
.cookie-category .note {
  font-size: 0.94rem;
  color: #317f9f;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.cookie-modal .close-modal {
  background: #E6F2F0;
  border-radius: 10px;
  color: #215373;
  padding: 7px 15px;
  border: none;
  margin-left: auto;
  margin-top: -15px;
}
.cookie-modal .close-modal:hover {
  background: #b6e2d6;
}

@media (max-width: 480px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 14px 7vw;
    font-size: 1rem;
  }
  .cookie-category label {
    min-width: 108px;
    font-size: 1rem;
  }
}

/* -----------------------------------------
   TYPOGRAPHY HIERARCHY & SPACING
----------------------------------------- */
h1, .h1 {
  font-size: 2.3rem;
}
h2, .h2 {
  font-size: 1.5rem;
}
h3, .h3 {
  font-size: 1.25rem;
}
@media (min-width: 780px) {
  h1, .h1 {
    font-size: 2.68rem;
  }
  h2, .h2 {
    font-size: 2rem;
  }
}

.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* -----------------------------------------
   SPACING, SHADOWS, RADIUS FOR CARDS & SECTIONS
----------------------------------------- */
.card, .feature-grid > div, .product-grid > div, .service-list > div, .testimonial-card {
  box-shadow: 0 2px 10px rgba(144,190,169,0.07);
  border-radius: 14px;
  background: #FFF;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 16px;
}
.section:not(:last-child) {
  margin-bottom: 60px;
}
.card-container, .feature-grid, .product-grid, .service-list, .content-grid {
  margin-bottom: 20px;
}

/* -----------------------------------------
   RESPONSIVE LAYOUTS
----------------------------------------- */
@media (max-width: 1024px) {
  .hero {
    padding: 35px 0 26px 0;
    min-height: 220px;
  }
  .footer-nav {
    gap: 10px;
  }
  header .container {
    flex-direction: row;
    padding: 12px 10px;
  }
}
@media (max-width: 850px) {
  section, .section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  .hero {
    min-height: 180px;
  }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.45rem; }
  h2, .h2 { font-size: 1.17rem; }
  .container {
    padding: 0 5px;
  }
  .footer-brand {
    font-size: 0.96rem;
  }
}

/* -----------------------------------------
   ANIMATIONS / MICRO-INTERACTIONS
----------------------------------------- */
.cta-btn, .cookie-btn, .feature-grid > div, .product-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, color 0.17s, transform 0.17s;
}
.cta-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(144,190,169,0.11);
}
.card:hover, .feature-grid > div:hover, .product-grid > div:hover {
  box-shadow: 0 6px 28px rgba(33,83,115,0.12);
}

/* -----------------------------------------
   BODY BACKGROUND (SOFT PASTEL)
----------------------------------------- */
body {
  background: linear-gradient(180deg, #F7FAFC 60%, #E7F2ED 100%);
}

/* -----------------------------------------
   FORM ELEMENTS (if present)
----------------------------------------- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.4px solid #b6e2d6;
  background: #F7FAFC;
  margin-bottom: 16px;
  color: #215373;
  outline: none;
  transition: border 0.16s, box-shadow 0.14s;
  box-shadow: 0 1px 6px rgba(170, 190, 210, 0.07);
}
input:focus, textarea:focus, select:focus {
  border: 1.8px solid #317f9f;
  box-shadow: 0 2px 12px rgba(144,190,169,0.11);
}

/* -----------------------------------------
   MISC & UTILITIES
----------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #E1F5F0;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #b6e2d6;
  border-radius: 8px;
}
@media (max-width: 430px) {
  nav a, .footer-nav a, .cta-btn {
    font-size: 0.98rem;
    padding: 4px 7px;
  }
}

/* -----------------------------------------
   ACCESSIBILITY CLASSES
----------------------------------------- */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* -----------------------------------------
   END OF STYLE.CSS FOR KÜSTENORDNUNG
----------------------------------------- */
