/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #145DA0;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0C2D48;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #0C2D48;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
  color: #222;
  font-size: 1.02rem;
}
strong {
  font-weight: 700;
  color: #145DA0;
}

/* CONTAINER & LAYOUTS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
  }
  .container {
    gap: 32px;
  }
  .section {
    padding: 60px 0;
  }
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #E3F6FD;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 70px;
}
.logo img {
  height: 42px;
  width: auto;
}

/* MAIN NAV */
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  padding: 8px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #0C2D48;
  font-size: 1rem;
  opacity: 0.95;
  position: relative;
  transition: color 0.18s;
}
.main-nav a.cta {
  background: #145DA0;
  color: #fff;
  border-radius: 32px;
  padding: 10px 24px;
  margin-left: 8px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(20, 93, 160, 0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav a.cta:hover,
.main-nav a.cta:focus {
  background: #0C2D48;
  color: #fff;
  box-shadow: 0 4px 16px rgba(20, 93, 160, 0.16);
}
.main-nav a:hover,
.main-nav a:focus {
  color: #145DA0;
}
.main-nav a.active {
  color: #145DA0;
  font-weight: 700;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: #fff;
  color: #145DA0;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  margin-left: 20px;
  transition: background 0.2s;
  z-index: 10002;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E3F6FD;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(20, 93, 160, 0.08);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 10001;
  padding: 32px 28px 28px 28px;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #E3F6FD;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #145DA0;
  font-size: 1.6rem;
  margin-bottom: 14px;
  border: none;
  transition: background .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #145DA0;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
}
.mobile-nav a {
  color: #0C2D48;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  padding: 13px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.2s, color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E3F6FD;
  color: #145DA0;
}
.mobile-nav a.cta {
  background: #145DA0;
  color: #fff;
  padding: 13px 0;
  font-weight: 700;
  border-radius: 24px;
  margin-top: 4px;
  text-align: center;
}

/* Hide on Desktop */
@media (min-width: 900px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 899px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle,
  .mobile-menu {
    display: flex;
  }
}

/* HERO STYLES */
.hero {
  background: #E3F6FD;
  padding: 0;
}
.hero .container {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #145DA0;
  font-size: 2.3rem;
  margin-bottom: 16px;
}
.hero p {
  color: #23395d;
  margin-bottom: 26px;
  font-size: 1.18rem;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .hero {
    padding: 0 0 48px 0;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero .container {
    min-height: 390px;
  }
}

/* FEATURES (BENEFITS) LIST */
.features-list, .feature-list, .service-list, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-list li, .feature-list li, .service-list li, .service-grid li {
  background: #fff;
  border: 1px solid #E3F6FD;
  border-radius: 12px;
  padding: 28px 22px 21px 22px;
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 320px;
  box-shadow: 0 2px 12px rgba(20,93,160,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.features-list li:hover, .feature-list li:hover, .service-list li:hover, .service-grid li:hover {
  box-shadow: 0 6px 32px rgba(20,93,160,0.14);
  border-color: #145DA0;
}
.features-list img, .feature-list img {
  height: 32px;
  width: 32px;
  margin-bottom: 10px;
}
.features-list strong, .feature-list strong, .service-list strong, .service-grid strong {
  font-size: 1.12rem;
  color: #145DA0;
  font-weight: 700;
}
.features-list p, .feature-list p, .service-list p, .service-grid p {
  font-size: 1rem;
  color: #222;
}

/* CONTENT GRIDS & LAYOUTS */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #E3F6FD;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(20,93,160,0.06);
  padding: 28px 22px;
  position: relative;
  margin-bottom: 20px;
  min-width: 250px;
  flex: 1 1 260px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, border 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(20,93,160,0.14);
  border-color: #145DA0;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 899px) {
  .features-list, .feature-list, .service-list, .service-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #E3F6FD;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(20, 93, 160, .09);
  padding: 20px 22px 18px 22px;
  margin-bottom: 20px;
  max-width: 520px;
  min-width: 255px;
  transition: box-shadow 0.18s, border .16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(20,93,160,.13);
  border-color: #145DA0;
}
.testimonial-card p {
  color: #23395d;
  font-size: 1.11rem;
  margin-bottom: 0;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #145DA0;
  font-size: 1rem;
}
.testimonial-meta img {
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-right: 4px;
}
.testimonial-meta strong {
  color: #145DA0;
}
@media (max-width: 899px) {
  .testimonial-card {
    width: 100%;
    max-width: 100%;
  }
}

/* PRICING TABLE STYLES */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #E3F6FD;
  border-radius: 10px;
  margin-bottom: 28px;
  box-shadow: 0 2px 9px rgba(20,93,160, 0.04);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 18px 16px;
  text-align: left;
  font-size: 1rem;
  color: #23395d;
  border-bottom: 1px solid #E3F6FD;
}
.pricing-table thead th {
  background: #E3F6FD;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  color: #145DA0;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* BUTTONS & CTAs */
.cta,
a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 32px;
  padding: 12px 28px;
  font-size: 1.08rem;
  font-weight: 700;
  background: #145DA0;
  color: #fff;
  box-shadow: 0 4px 18px rgba(20,93,160,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform .12s;
  margin-top: 8px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #0C2D48;
  color: #fff;
  box-shadow: 0 4px 32px rgba(20,93,160,0.13);
  transform: translateY(-2px) scale(1.035);
}
.cta-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
}
a.cta.secondary {
  background: #E3F6FD;
  color: #145DA0;
  border: 1.7px solid #145DA0;
}
a.cta.secondary:hover {
  background: #145DA0;
  color: #fff;
}

/* QUICK LINKS (FAQ) */
.quick-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.quick-links a {
  color: #145DA0;
  border-bottom: 1.5px dotted #145DA0;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.15s, border-bottom 0.18s;
}
.quick-links a:hover,
.quick-links a:focus {
  color: #0C2D48;
  border-bottom: 2px solid #0C2D48;
}

/* FOOTER STYLES */
footer {
  background: #fafdff;
  border-top: 1.5px solid #E3F6FD;
  padding: 40px 0 0 0;
  margin-top: 70px;
  font-size: 0.98rem;
  color: #222;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 12px;
}
footer .logo-footer img {
  height: 35px;
  width: auto;
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #0C2D48;
  font-weight: 500;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #145DA0;
  text-decoration: underline;
}
.footer-contact, .footer-hours {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: #0C2D48;
  font-size: 0.98rem;
}
.footer-contact img,
.footer-hours img {
  display: inline-block;
  height: 16px;
  width: 16px;
  vertical-align: middle;
  margin-right: 7px;
  opacity: 0.9;
}
.footer-copy {
  width: 100%;
  color: #888;
  font-size: 0.96rem;
  margin-top: 24px;
  border-top: 1px solid #E3F6FD;
  padding: 12px 0 0 0;
  letter-spacing: 0.01em;
}
@media (max-width: 899px) {
  footer .container {
    gap: 17px;
    padding-bottom: 2px;
  }
  .footer-nav {
    gap: 14px;
    margin-bottom: 1px;
  }
  .footer-copy {
    margin-top: 10px;
    font-size: 0.93rem;
  }
}

/* TEXT BLOCKS & LISTS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 740px;
}
.text-section h3 {
  font-size: 1.12rem;
  margin: 10px 0 3px 0;
}
.text-section ul, .text-section ol {
  margin: 0 0 12px 22px;
  list-style: disc inside;
  color: #23395d;
  font-size: 1rem;
}
.text-section li {
  margin-bottom: 5px;
}
.text-section dl dt {
  font-weight: 700;
  color: #145DA0;
  margin-top: 12px;
}
.text-section dl dd {
  margin-left: 0;
  margin-bottom: 10px;
}
.address-map h3 {
  margin-bottom: 7px;
}
.address-map p {
  margin-bottom: 4px;
}
.opening-hours p {
  margin-bottom: 0;
}

/* LOGO STRIP (REFERENZEN) */
.logo-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
}
.logo-strip img {
  height: 32px;
  width: auto;
  opacity: 0.87;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: #fff;
  border-top: 2px solid #145DA0;
  box-shadow: 0 -8px 32px 0 rgba(20,93,160, .07);
  padding: 24px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookie-slide-up 0.56s cubic-bezier(.75,0,.25,1);
}
@keyframes cookie-slide-up {
  from {transform: translateY(100%); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-banner p {
  font-size: 1.01rem;
  color: #23395d;
  max-width: 540px;
}
.cookie-buttons {
  display: flex;
  gap: 17px;
  margin-top: 8px;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #E3F6FD;
  color: #145DA0;
  border: 1.5px solid #145DA0;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.18s;
}
.cookie-btn.accept {
  background: #145DA0;
  color: #fff;
  border: none;
  font-weight: 700;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #0C2D48;
}
.cookie-btn.settings {
  background: #fff;
  color: #145DA0;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E3F6FD;
  color: #0C2D48;
}
.cookie-btn.reject {
  background: #E3F6FD;
  color: #0C2D48;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #0C2D48;
  color: #fff;
  border-color: #145DA0;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 92vw;
  max-width: 420px;
  background: #fff;
  border-radius: 17px;
  z-index: 10005;
  box-shadow: 0 8px 48px 0 rgba(20,93,160, 0.23);
  padding: 40px 30px 29px;
  transform: translate(-50%, -50%) scale(1.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.33s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: #145DA0;
  margin-bottom: 18px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: #0C2D48;
}
.cookie-category label {
  font-weight: 500;
  min-width: 110px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #145DA0;
  width: 18px;
  height: 18px;
}
.cookie-category .essential {
  opacity: 0.8;
  font-style: italic;
  color: #888;
  margin-left: 6px;
}
.cookie-modal .cookie-buttons {
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #E3F6FD;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #145DA0;
  font-size: 1.2rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #145DA0;
  color: #fff;
}

@media (max-width: 460px) {
  .cookie-modal {
    padding: 22px 7vw 20px;
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 899px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .testimonial-card, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 16px 12px 14px 12px;
  }
  .features-list li, .feature-list li, .service-list li, .service-grid li {
    padding: 18px 10px 15px 14px;
    min-width: 0;
    max-width: 100%;
  }
  .section {
    padding: 32px 0 32px 0;
  }
}

/* FORM ELEMENTS */
input, select, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  background: #E3F6FD;
  border: 1.5px solid #145DA0;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.2s;
}
input:focus, textarea:focus {
  border-color: #0C2D48;
}
label {
  font-weight: 500;
  margin-bottom: 7px;
  display: block;
  color: #145DA0;
}

/* SELECTION COLORS */
::selection {
  background: #E3F6FD;
  color: #145DA0;
}

/* MICRO INTERACTIONS */
.card, .testimonial-card, .features-list li, .feature-list li, .service-list li, .service-grid li {
  transition: box-shadow 0.18s, border 0.18s, transform 0.12s;
}
.card:hover, .testimonial-card:hover, .features-list li:hover, .feature-list li:hover, .service-list li:hover, .service-grid li:hover {
  transform: translateY(-2px) scale(1.013);
  cursor: pointer;
}

/* OVERRIDES/HELPERS */
.hide {
  display: none !important;
}

/* Z-INDEX LAYERING FOR INTERACTIVE ELEMENTS */
.mobile-menu { z-index: 10001; }
.mobile-menu-toggle { z-index: 10002; }
.cookie-banner { z-index: 9998; }
.cookie-modal { z-index: 10005; }

/* Ensuring NO elements overlap due to improper spacing */
.section, .card-container, .card-grid, .testimonial-card, .features-list li, .feature-list li, .service-list li, .service-grid li, .card {
  margin-bottom: 20px;
}

/* Ensure white space at page edges */
body {
  padding-bottom: 48px;
}

/* Utility to space elements in content wrappers */
.content-wrapper > *:not(:last-child) {
  margin-right: 0;
  margin-bottom: 0;
}
