/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F3F6F9;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #20334A;
}
a {
  color: #5EC8E4;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #20334A;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #5EC8E4;
  outline-offset: 2px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #20334A;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-top: 16px;
}
h2 {
  font-size: 1.625rem;
  margin-top: 16px;
}
h3 {
  font-size: 1.125rem;
}
p, blockquote {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #20334A;
}
blockquote {
  font-style: italic;
  color: #20334A;
  background: #E2EDF4;
  border-left: 4px solid #5EC8E4;
  padding: 16px 24px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.subheadline {
  color: #5EC8E4;
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 20px;
}
.author {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 0.95rem;
  color: #20334A;
  margin-top: 6px;
}

/* LAYOUT CONTAINERS & SHARED SPACING */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(32,51,74,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 12px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(32,51,74,0.14);
}
.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: #F3F6F9;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(32,51,74,0.06);
  margin-bottom: 20px;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.2s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 6px 24px rgba(32,51,74,0.13);
  transform: translateY(-4px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.services-list,
.services-list-long {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list > div, .services-list-long > div {
  flex: 1 1 280px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 2px 14px rgba(32,51,74,0.06);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.18s;
}
.services-list > div:hover, .services-list-long > div:hover {
  box-shadow: 0 6px 28px rgba(32,51,74,0.13);
}

.service-benefits {
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #20334A;
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(110deg, #20334A 61%, #5EC8E4 100%);
  color: #fff;
  min-height: 375px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 0 64px 0;
}
.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero-section h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.hero-section .subheadline {
  color: #E2EDF4;
}

/* CALL TO ACTION BUTTONS */
.cta, .cta.primary {
  display: inline-block;
  background: linear-gradient(90deg, #5EC8E4 0%, #20334A 100%);
  color: #fff !important;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 22px;
  padding: 13px 36px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 10px rgba(32,51,74,0.08);
  transition: box-shadow 0.18s, background 0.18s, transform 0.14s;
  text-align: center;
}
.cta:focus,
.cta.primary:focus,
.cta:hover,
.cta.primary:hover {
  background: linear-gradient(90deg, #20334A 0%, #5EC8E4 100%);
  box-shadow: 0 6px 24px rgba(32,51,74,0.18);
  outline: none;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(32,51,74,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 16px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #20334A;
  font-weight: 500;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E2EDF4;
  color: #5EC8E4;
  outline: none;
}
.main-nav .cta.primary {
  margin-left: auto;
  background: linear-gradient(90deg, #5EC8E4 0%, #20334A 100%);
  color: #fff;
}
header img {
  height: 42px;
  width: auto;
  vertical-align: middle;
  margin-right: 14px;
}
/* Hide burger by default */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,51,74,0.88);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.72,0,.32,1.6);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  position: absolute;
  top: 18px;
  right: 26px;
  z-index: 2;
  padding: 12px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover { color: #5EC8E4; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 80px;
}
.mobile-nav a {
  color: #fff;
  background: #20334A;
  border-radius: 11px;
  padding: 14px 32px;
  font-size: 1.15rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  box-shadow: 0 1px 8px rgba(32,51,74,0.10);
  margin: 0 0 6px 0;
  text-align: center;
  min-width: 210px;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #5EC8E4;
  color: #20334A;
}

/* SPACING UTILITIES */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }
.gap-20 { gap: 20px; }

/* TABLES (for prices) */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(32,51,74,0.07);
  margin-bottom: 24px;
}
.pricing-table th,
.pricing-table td {
  padding: 18px 22px;
  text-align: left;
  color: #20334A;
  font-size: 1em;
}
.pricing-table th {
  background: #E2EDF4;
  font-weight: 700;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.pricing-table tr:not(:first-child) {
  border-top: 1px solid #F3F6F9;
}
.pricing-table tr:nth-child(even) td {
  background: #F9FBFC;
}

/* FOOTER */
footer {
  background: linear-gradient(92deg, #20334A 75%, #5EC8E4 100%);
  color: #fff;
  padding: 40px 0 0 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-bottom: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.footer-nav {
  display: flex;
  gap: 26px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #fff;
  opacity: 0.88;
  transition: color 0.15s, opacity 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #5EC8E4;
  opacity: 1;
}
.footer-contact {
  font-size: 0.98em;
  opacity: 0.94;
  margin-bottom: 10px;
}
.footer-brand img {
  height: 46px;
  margin-top: 12px;
}

/* LISTS BULLETS */
ul {
  list-style: disc inside;
}

/* SPECIAL SECTIONS */
.features-section {
  background: #E2EDF4;
  border-radius: 18px;
  margin: 38px 0 46px 0;
}
.services-preview {
  margin-bottom: 54px;
}
.cta-final-section, .cta-pricing-section, .cta-service-section, .cta-contact-section, .cta-gallery, .thank-you-section {
  background: linear-gradient(90deg, #5EC8E4 0%, #20334A 100%);
  color: #fff;
  border-radius: 18px;
  margin-bottom: 40px;
}
.cta-final-section h2,
.cta-pricing-section h2,
.cta-service-section h2,
.cta-contact-section h2,
.cta-gallery h2,
.thank-you-section h1 {
  color: #fff !important;
}
.cta-final-section p,
.cta-pricing-section p,
.cta-service-section p,
.cta-contact-section p {
  color: #E2EDF4 !important;
}

/* FAQ ACCORDION (static) */
.faq-section h3 {
  font-size: 1.09rem;
  margin: 12px 0 4px 0;
  cursor: pointer;
  transition: color 0.16s;
}
.faq-section h3:hover { color: #5EC8E4; }
.faq-section p {
  margin-bottom: 10px;
}

/* NEUTRAL PLACEHOLDER (in Kontakt) */
.neutral-placeholder {
  display: block;
  background: #e1eaf1;
  color: #20334A;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.98em;
  opacity: 0.8;
  margin-top: 6px;
}

/* GALLERY */
.gallery-features, .gallery-testimonials {
  background: #F3F6F9;
  border-radius: 18px;
  margin-bottom: 40px;
}

/* HIGHLIGHTED NOTE (Preise) */
.note {
  background: #E2EDF4;
  border-radius: 8px;
  padding: 18px;
  color: #20334A;
  font-size: 1rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #20334A;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 12px 18px 12px;
  z-index: 6000;
  box-shadow: 0 -4px 28px rgba(32,51,74,0.16);
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(.72,0,.32,1.6);
  font-size: 1rem;
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  flex: 1 1 200px;
  max-width: 580px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-btn {
  margin-left: 12px;
  padding: 11px 28px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 19px;
  border: none;
  cursor: pointer;
  background: #5EC8E4;
  color: #20334A;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 1px 10px rgba(94,200,228,0.13);
}
.cookie-banner .cookie-btn:hover {
  background: #20334A;
  color: #5EC8E4;
}
.cookie-banner .settings-btn {
  background: #fff;
  color: #20334A;
  border: 1px solid #5EC8E4;
  margin-left: 8px;
}
.cookie-banner .settings-btn:hover {
  background: #5EC8E4;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,51,74,0.82);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.28s;
  display: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #20334A;
  border-radius: 18px;
  padding: 34px 32px 26px 32px;
  max-width: 410px;
  box-shadow: 0 4px 38px rgba(32,51,74,0.27);
  min-width: 275px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transform: translateY(60px) scale(0.96);
  transition: transform 0.39s cubic-bezier(.32,1.2,.54,1.0);
}
.cookie-modal.open {
  transform: translateY(0) scale(1);
}
.cookie-modal h2 {
  margin: 0 0 8px 0;
  font-size: 1.23rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-category label {
  flex: 1;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  appearance: none;
  background: #E2EDF4;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #5EC8E4;
}
.cookie-toggle::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #20334A;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.19s;
}
.cookie-toggle:checked::-webkit-slider-thumb {
  background: #fff;
  left: 20px;
}
.cookie-toggle::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #20334A;
  border: 0; box-shadow: none;
}
/* fallback for firefox and others */
.cookie-toggle:checked::-moz-range-thumb {
  background: #fff;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal button {
  padding: 10px 22px;
  border-radius: 17px;
  border: none;
  font-weight: 600;
  background: #5EC8E4;
  color: #20334A;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-modal button:hover {
  background: #20334A;
  color: #5EC8E4;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  font-size: 1.35rem;
  color: #20334A;
  padding: 0;
  border: none;
}
.cookie-modal .cookie-modal-close:hover {
  color: #5EC8E4;
}
.cookie-category input[disabled] {
  opacity: 0.56;
  pointer-events: none;
}

/* MEDIA QUERIES */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
  }
  .main-nav,
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .hero-section {
    padding: 54px 0 38px 0;
    min-height: 265px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
  }
  .main-nav {
    gap: 12px;
    padding: 9px 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.23rem; }
  .content-wrapper { gap: 18px; }
  .hero-section {
    border-radius: 0;
    padding: 27px 0 21px 0;
    min-height: 160px;
  }
  .section {
    margin-bottom: 34px;
    padding: 22px 6px;
  }
  .card {
    padding: 15px;
  }
  .card-container, .content-grid, .services-list, .services-list-long {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  .services-list > div, .services-list-long > div {
    min-width: 0;
    width: 100%;
    padding: 14px 10px 14px 10px;
    font-size: 1rem;
  }
  .testimonial-card {
    padding: 13px;
    font-size: 1rem;
  }
  /* Header & nav responsive */
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    background: #5EC8E4;
    color: #20334A;
    border-radius: 8px;
    font-size: 2.1rem;
    padding: 4px 18px 8px 18px;
    position: absolute;
    right: 14px;
    top: 12px;
    border: none;
    z-index: 2500;
    transition: background 0.19s, color 0.17s;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #20334A;
    color: #5EC8E4;
  }
}

@media (max-width: 530px) {
  .cookie-modal {
    padding: 18px 6px;
    max-width: 99vw;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    font-size: 0.97rem;
    padding: 18px 5px 13px 5px;
  }
  .footer-contact { font-size: 0.91rem; }
  .footer-brand img { height: 37px; }
}

/* PRINT (for legal pages) */
@media print {
  .main-nav, .mobile-menu-toggle, .footer-nav, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  .container, .content-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
  }
  body { background: #fff !important; color: #20334A !important; }
  a { color: #20334A !important; text-decoration: none; }
}
