/* 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, font, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #222c31;
  line-height: 1.6;
  background: #fff;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
ul:last-child, ol:last-child { margin-bottom: 0; }
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 600;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #38A3A5;
  text-decoration: underline;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #22577A;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #222c31;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* LAYOUT UTILS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section, .content, .about, .features, .services, .contact, .testimonials, .cta, .hero {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34, 87, 122, 0.04), 0 1.5px 3px rgba(56,163,165, 0.04);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(34,87,122,0.10), 0 2px 4px rgba(56,163,165,0.06);
  transform: translateY(-3px);
}

.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: 12px;
  padding: 20px 28px;
  background: #F6F5F5;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34,87,122,0.04);
  max-width: 450px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: #1A1C1F;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #1A1C1F;
  font-size: 1.09rem;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #22577A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(34, 87, 122, 0.09);
}

.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-item, .service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px rgba(34,87,122,0.045);
  padding: 26px 22px 22px;
  min-width: 250px;
  max-width: 340px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img, .service-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  opacity: 0.94;
}
.feature-item:hover, .service-item:hover {
  box-shadow: 0 6px 14px rgba(56,163,165,0.07);
  transform: translateY(-3px) scale(1.02);
}
.feature-item h3, .service-item h3 {
  margin-bottom: 10px;
}
.feature-item p, .service-item p {
  color: #263238;
  line-height: 1.5;
  font-size: 1rem;
}

.text-section {
  max-width: 740px;
  color: #222c31;
}
.text-section h3 { margin: 26px 0 8px 0; }

.rating-summary {
  background: #fff;
  padding: 18px 22px;
  border-radius: 8px;
  box-shadow: 0 1.5px 7px rgba(34,87,122,0.05);
  color: #22577A;
  font-size: 1.1rem;
  margin-top: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-align: left;
}

/* HERO SECTION */
.hero {
  background: #F6F5F5;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 4px 20px rgba(56,163,165,0.04);
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #22577A;
}
.hero p {
  color: #222c31;
}

/* BUTTONS & CTA */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  background: #22577A;
  color: #FFF;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  box-shadow: 0 1.5px 8px rgba(56,163,165,0.08);
  transition: background 0.18s, box-shadow 0.17s, transform 0.17s;
  margin-top: 16px;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #38A3A5;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 16px rgba(56,163,165,0.16);
}

button {
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  padding: 22px 0 14px 0;
  box-shadow: 0 1.5px 9px rgba(34,87,122,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
header > a img {
  height: 38px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #22577A;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #38A3A5;
  border-bottom: 2px solid #38A3A5;
}
header .cta-btn {
  margin-left: 32px;
}

/* BURGER MENU MOBILE */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1011;
  background: #fff;
  color: #22577A;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 10px rgba(56,163,165,0.08);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:active {
  background: #F6F5F5;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(110vw);
  transition: transform 0.32s cubic-bezier(.32,.72,.52,1.2);
  box-shadow: 0 8px 28px rgba(34,87,122,0.18);
  padding-top: 32px;
  padding-left: 14vw;
  padding-right: 35px;
  padding-bottom: 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #F6F5F5;
  color: #22577A;
  font-size: 2rem;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 1;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #38A3A5;
  color: #fff;
}
.mobile-nav {
  margin-top: 74px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #22577A;
  padding: 12px 0;
  border-bottom: 1px solid #F6F5F5;
  text-align: left;
  transition: color 0.16s, background 0.14s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #38A3A5;
  background: #F6F5F5;
}

/* Hide desktop nav/show burger on mobile */
@media (max-width: 900px) {
  header nav, header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 900px) {
  .mobile-menu {
    padding-left: 16vw;
    padding-right: 16vw;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER */
footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #F6F5F5;
  margin-top: 70px;
  padding: 48px 0 32px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-brand img {
  height: 40px;
  margin-bottom: 7px;
}
.footer-brand p {
  color: #709DAF;
  font-size: 1.06rem;
  font-weight: 500;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.footer-nav {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #22577A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  margin-bottom: 4px;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #38A3A5;
}
.footer-contact {
  flex: 1 1 210px;
  color: #22577A;
  font-size: 1.03rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact img {
  height: 17px;
  width: 17px;
  margin-right: 6px;
  vertical-align: sub;
}
.footer-social {
  flex: 1 1 100px;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
}
.footer-social a {
  background: #F6F5F5;
  border-radius: 50%;
  padding: 10px;
  display: inline-flex;
  transition: background 0.15s, box-shadow 0.18s;
  box-shadow: none;
}
.footer-social a:hover, .footer-social a:focus {
  background: #38A3A5;
  box-shadow: 0 3px 9px rgba(56,163,165,0.08);
}
.footer-social img {
  width: 23px;
  height: 23px;
  display: block;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* FORMS (if any form fields are present) */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  border: 1px solid #EBEEF0;
  padding: 10px 14px;
  color: #22577A;
  background: #F6F5F5;
  width: 100%;
  margin-bottom: 18px;
  outline: none;
  box-shadow: none;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #38A3A5;
  background: #fff;
}

/* COOKIE CONSENT BANNER */
#cookie-banner {
  position: fixed;
  z-index: 1300;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #F6F5F5;
  box-shadow: 0 -2px 8px rgba(34,87,122,0.09);
  padding: 20px 18px 16px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 38px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(.5,1.2,.4,1), opacity 0.2s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
#cookie-banner .cookie-text {
  color: #222c31;
  max-width: 460px;
  margin-right: 36px;
}
#cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  padding: 9px 22px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, box-shadow 0.13s;
  box-shadow: 0 2px 8px rgba(34,87,122,0.07);
}
.cookie-btn.accept {
  background: #38A3A5;
  color: #fff;
}
.cookie-btn.reject {
  background: #22577A;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #22577A;
  border: 1px solid #38A3A5;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #22577A;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #38A3A5;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F6F5F5;
  border-color: #22577A;
  color: #22577A;
}

@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 0.97rem;
    padding: 18px 10px 12px 12px;
  }
  #cookie-banner .cookie-text {
    margin: 0;
    max-width: 100vw;
    font-size: 0.97rem;
  }
}

/* COOKIE SETTINGS MODAL */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 1400;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(34, 87, 122, 0.13);
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
#cookie-modal.active {
  display: flex;
}
#cookie-modal .modal-content {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 9px 48px rgba(34,87,122,0.23);
  padding: 34px 30px 23px 30px;
  max-width: 380px;
  width: 92vw;
  position: relative;
  animation: modalIn 0.35s cubic-bezier(.38,1,.53,1.39) both;
}
@keyframes modalIn {
  from { opacity:0; transform: translateY(50px) scale(0.97); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}
#cookie-modal h2 {
  color: #22577A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.26rem;
  margin-bottom: 18px;
}
#cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #1A1C1F;
}
#cookie-modal .cookie-category:last-child {
  margin-bottom: 0;
}
.cookie-toggle {
  width: 48px;
  height: 26px;
  background: #F6F5F5;
  border-radius: 13px;
  position: relative;
  margin-left: 12px;
  border: 1px solid #E1EBF0;
}
.cookie-toggle input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top:0; left:0;
  margin:0;
  cursor:pointer;
}
.cookie-toggle label {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top:0; left:0;
  border-radius: 13px;
  cursor: pointer;
}
.cookie-toggle span {
  display: block;
  position: absolute;
  top: 2.2px;
  left: 3px;
  width: 21px;
  height: 21px;
  background: #38A3A5;
  border-radius: 50%;
  transition: left 0.19s cubic-bezier(.48,.62,.48,1), background 0.15s;
}
.cookie-toggle input:checked + span {
  left: 23px;
  background: #22577A;
}
.cookie-toggle input:disabled + span {
  background: #CBD3DA;
  cursor: not-allowed;
}
#cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 24px;
  justify-content: flex-end;
}
#cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  color: #22577A;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 50%;
  transition: background 0.15s;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  background: #F6F5F5;
}

/* RESPONSIVENESS & FLEX LAYOUTS */
@media (max-width: 1160px) {
  .container { max-width: 960px; }
}
@media (max-width: 980px) {
  .container { max-width: 88vw; }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .hero { padding: 28px 8px; border-radius: 0 0 20px 20px; }
  .content-wrapper { flex-direction: column; gap: 0; }
  .feature-grid, .service-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item, .service-item {
    max-width: 100vw;
    min-width: unset;
    width: 100%;
  }
  .section, .content, .about, .features, .services, .contact, .testimonials, .cta, .hero {
    padding: 25px 8px;
    margin-bottom: 40px;
  }
  .testimonial-card {
    max-width: 100vw;
    padding: 16px 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-social {
    margin-top: 12px;
  }
}

/* FLEX LAYOUT ENFORCEMENT (Prevent overlap, always use flex and gap) */
.features, .services, .about, .testimonials, .contact, .cta, .content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
  .testimonial-card { font-size: 0.99rem; }
}

/* VISUAL HIERARCHY */
.section > h2, .about > h2, .features > h2, .services > h2, .testimonials > h2, .contact > h2 {
  margin-bottom: 25px;
}

/* TRANSITIONS & micro-interactions */
a, .cta-btn, .feature-item, .service-item, .card, .mobile-menu, .mobile-menu-toggle {
  transition: all 0.19s cubic-bezier(.44,.1,.33,1);
}

/* NO GRID OR COLUMN PROPERTIES USED */

/* Hide visually, but accessible (for modals, etc.) */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
}

/* Color helpers for backgrounds/info */
.bg-primary { background: #22577A; color: #fff; }
.bg-accent { background: #F6F5F5; color: #22577A; }
.bg-secondary { background: #38A3A5; color: #fff; }

/**** END OF CSS ****/

/* Example cookie banner HTML for reference (insert into your HTML files):
<div id="cookie-banner">
  <span class="cookie-text">Wir verwenden Cookies, um Ihr Erlebnis zu verbessern. Sie können wählen, welche Cookies Sie erlauben.</span>
  <div class="cookie-btns">
    <button class="cookie-btn accept">Alle akzeptieren</button>
    <button class="cookie-btn reject">Alle ablehnen</button>
    <button class="cookie-btn settings">Cookie-Einstellungen</button>
  </div>
</div>
<div id="cookie-modal">
 <div class="modal-content">
   <button class="modal-close" aria-label="Schließen">✕</button>
   <h2>Cookie-Einstellungen</h2>
   <div class="cookie-category">Essenzielle Cookies
     <span class="cookie-toggle"><input type="checkbox" checked disabled><span></span></span>
   </div>
   <div class="cookie-category">Analytics-Cookies
     <span class="cookie-toggle"><input type="checkbox"><span></span></span>
   </div>
   <div class="cookie-category">Marketing-Cookies
     <span class="cookie-toggle"><input type="checkbox"><span></span></span>
   </div>
   <div class="cookie-modal-btns">
     <button class="cookie-btn accept">Speichern</button>
     <button class="cookie-btn reject">Abbrechen</button>
   </div>
 </div>
</div>
*/