/* 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;
}
html {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F5F7FA;
  letter-spacing: 0.01em;
}
body {
  background: #F5F7FA;
  color: #224866;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: 'Open Sans', Arial, sans-serif;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #18A2B8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #224866;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-top: 8px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #224866;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: #18A2B8;
  text-shadow: 2px 2px 0 #F5F7FA, 0px 2px 8px #18A2B833;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #126277;
}
h3 {
  font-size: 1.25rem;
  color: #18A2B8;
}
h4, h5, h6 {
  font-size: 1rem;
  color: #126277;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}
.subheadline {
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #224866;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* CONTAINER & SECTION SPACING */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 rgba(24, 162, 184, 0.10);
}

/***** HEADER & NAVIGATION *****/
header {
  background: #FFFFFF;
  padding-top: 0;
  box-shadow: 0 2px 12px 0 rgba(34, 72, 102, 0.06);
  position: sticky;
  top: 0;
  z-index: 200;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  width: 100%;
  padding: 0 16px;
}
.logo-link img {
  height: 48px;
  width: auto;
  transition: transform 0.18s cubic-bezier(.6,2,.6,.9);
}
.logo-link:hover img {
  transform: scale(1.1) rotate(-4deg);
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  align-items: center;
  list-style: none;
  margin: 0;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #224866;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 12px;
  background: none;
  position: relative;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  box-shadow: none;
}
.main-nav a:hover:not(.cta-link),
.main-nav a:focus:not(.cta-link) {
  background: #F5F7FA;
  color: #18A2B8;
  box-shadow: 0 2px 8px 0 rgba(24, 162, 184, 0.18), 0 0px 2px #18A2B8;
}
.main-nav .cta-link {
  color: #fff;
  background: #18A2B8;
  font-weight: 800;
  padding: 11px 24px;
  border-radius: 999px;
  margin-left: 16px;
  transition: box-shadow 0.22s, background 0.22s, color 0.22s;
  box-shadow: 0 2px 18px 0 rgba(24, 162, 184, 0.21);
}
.main-nav .cta-link:hover,
.main-nav .cta-link:focus {
  background: #126277;
  color: #F5F7FA;
  transform: scale(1.06);
  box-shadow: 0 4px 32px 0 rgba(18,98,119,.11);
}

/***** MOBILE MENU BUTTONS *****/
.mobile-menu-toggle {
  display: none;
  background: #18A2B8;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 12px;
  padding: 6px 16px;
  margin-left: 12px;
  cursor: pointer;
  z-index: 250;
  transition: background 0.18s, transform 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #126277;
  transform: scale(1.11) rotate(-5deg);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 84vw;
  max-width: 400px;
  background: #18A2B8;
  color: #fff;
  z-index: 400;
  box-shadow: 0 8px 60px 0 rgba(34, 72, 102, 0.18);
  transform: translateX(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.77,0,0.18,1), opacity 0.32s;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 18px 8px 0;
  font-size: 2rem;
  background: #fff;
  color: #18A2B8;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.2s;
  box-shadow: 0 2px 8px 0 rgba(24, 162, 184, 0.18);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #18A2B8;
  color: #fff;
  transform: rotate(14deg) scale(1.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 10px 0 0 28px;
  width: 75%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  padding: 12px 0 12px 4px;
  border-radius: 10px;
  transition: background 0.14s, color 0.14s, font-weight 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.22);
  color: #224866;
  font-weight: 800;
}

/****** HERO *******/
.hero {
  background: linear-gradient(120deg, #18A2B8 45%, #F5F7FA 100%);
  color: #fff;
  padding: 62px 0 60px 0;
  min-height: 390px;
  margin-bottom: 60px;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 28px 0 rgba(34, 72, 102, 0.12);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #fff;
  text-shadow: 2px 2px 0 #18A2B8, 0 2px 18px #22486677;
}
.hero .subheadline {
  color: #F5F7FA;
  opacity: 0.96;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero .cta-btn {
  margin-top: 20px;
}

/**** BUTTONS *****/
.cta-btn {
  display: inline-block;
  background: #18A2B8;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 999px;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 32px 0 rgba(24, 162, 184, 0.16);
  transition: background 0.19s, color 0.18s, transform 0.17s, box-shadow 0.19s;
  margin-top: 8px;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #126277;
  color: #F5F7FA;
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 32px 0 rgba(18, 98, 119, 0.22);
  text-decoration: none;
}

/***** FEATURES LIST (INDEX.HTML) *****/
.features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 60px;
  margin-top: 30px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  justify-content: flex-start;
}
.feature-grid li {
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 310px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 10px 0 rgba(24, 162, 184, 0.09);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform .19s, box-shadow .19s, background .17s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  background: #F5F7FA;
  transform: translateY(-7px) scale(1.035);
  box-shadow: 0 8px 18px 0 rgba(24, 162, 184, 0.18);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 3px;
  filter: drop-shadow(0 0 5px #18A2B822);
}
.feature-grid h3 {
  font-size: 1.2rem;
}

/**** CARDS & SERVICES LIST (LEISTUNGEN.HTML) ****/
.service-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.service-list li {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px #18A2B811;
  padding: 24px 16px 18px 18px;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.17s, background 0.16s;
  position: relative;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li:hover, .service-list li:focus-within {
  background: #F5F7FA;
  transform: translateY(-6px) scale(1.023);
  box-shadow: 0 6px 18px #18A2B822;
}
.service-list h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #18A2B8;
}
.service-price {
  font-size: 1rem;
  color: #224866;
  background: #E2F4F7;
  border-radius: 12px;
  padding: 4px 14px;
  font-weight: 900;
  margin-left: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 1px 4px #18A2B811;
}

/******* CTA SECTIONS *****/
.cta-section {
  background: #E2F4F7;
  border-radius: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  margin-top: 7px;
}
.cta-section h2 {
  color: #126277;
}
.cta-section p {
  font-size: 1.13rem;
  color: #224866;
}
.cta-section .cta-btn {
  margin: 18px auto 0 auto;
}

/*********** PROCESS STEPS (ABLAUF-BEGLEITUNG.HTML) ***********/
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 0;
  margin-bottom: 36px;
  margin-top: 12px;
  list-style-type: decimal;
  padding-left: 26px;
}
.process-steps li {
  font-size: 1.11rem;
  color: #224866;
  background: #E2F4F7;
  border-left: 7px solid #18A2B8;
  padding: 10px 18px 10px 15px;
  border-radius: 10px 22px 22px 10px;
  margin-bottom: 0;
  position: relative;
}
.process-steps li strong {
  color: #18A2B8;
  font-family: 'Montserrat', Arial, sans-serif;
}

/********** TESTIMONIAL CARDS **********/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(24, 162, 184, 0.12);
  color: #224866;
  margin-bottom: 20px;
  margin-top: 20px;
  max-width: 680px;
  transition: box-shadow 0.17s, transform .14s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #224866;
}
.testimonial-card .testimonial-name {
  font-size: 1rem;
  color: #18A2B8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 15px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 28px rgba(18, 98, 119, 0.15);
  transform: scale(1.03);
}

/****** FAQ (faq.html) ******/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 8px 0 rgba(24, 162, 184, 0.10);
  padding: 16px 18px;
  margin-bottom: 20px;
  position: relative;
}
.faq-item h2 {
  font-size: 1.11rem;
  color: #18A2B8;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 5px;
}
.faq-item p {
  color: #224866;
  font-size: 1rem;
}

/****** BLOG SECTION (blog.html) ******/
.thank-you, .thank-you .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 40px 0;
}
.thank-you h1 {
  color: #18A2B8;
}
.thank-you .cta-btn {
  margin-top: 20px;
}

/****** GENERIC TEXT/IMAGE SECTIONS ******/
.text-section {
  margin-bottom: 24px;
  background: #fff;
  padding: 22px 16px 18px 18px;
  border-radius: 14px;
  box-shadow: 0 1px 8px #18A2B811;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/******* FOOTER ******/
footer {
  background: #224866;
  color: #F5F7FA;
  padding: 38px 0 12px 0;
  text-align: center;
  margin-top: 40px;
  border-radius: 28px 28px 0 0;
  position: relative;
}
.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}
.footer-top img {
  height: 54px;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.footer-links a {
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 9px;
  transition: background 0.17s, color 0.17s;
}
.footer-links a:hover, .footer-links a:focus {
  background: #18A2B8;
  color: #fff;
}
.footer-company-info {
  margin-top: 12px;
  color: #BDD6EA;
  font-size: 0.97rem;
}
.footer-company-info a {
  color: #F5F7FA;
  text-decoration: underline;
  font-weight: 600;
}

/********* COOKIE BANNER & MODAL ***********/
.cookie-banner {
  position: fixed;
  z-index: 99999;
  left: 0;
  right: 0;
  bottom: 0;
  background: #224866;
  color: #fff;
  padding: 24px 16px 18px 16px;
  box-shadow: 0 -4px 20px 0 rgba(18, 98, 119, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.34s cubic-bezier(.6,1,.3,1), opacity 0.31s;
  transform: translateY(0%);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  background: #18A2B8;
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 999px;
  margin-right: 0;
  cursor: pointer;
  box-shadow: 0 2px 11px 0 rgba(24, 162, 184, 0.14);
  font-weight: 700;
  transition: background 0.19s, color 0.18s, transform 0.18s;
}
.cookie-banner button:hover,
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner button:focus,
.cookie-banner .cookie-settings-btn:focus {
  background: #fff;
  color: #18A2B8;
  transform: scale(1.06) rotate(-2deg);
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #18A2B8;
  border: 2px solid #18A2B8;
  padding: 10px 18px;
  font-weight: 700;
  transition: background 0.13s, color 0.16s, border 0.17s;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #E2F4F7;
  color: #126277;
  border-color: #126277;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: rgba(34, 72, 102, 0.47);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: #fff;
  color: #224866;
  border-radius: 24px;
  padding: 36px 26px 26px 26px;
  box-shadow: 0 10px 46px 0 rgba(18, 98, 119, 0.18);
  width: 90vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #18A2B8;
  margin-bottom: 16px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #F5F7FA;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 1rem;
}
.cookie-modal-category span {
  font-weight: 600;
  color: #224866;
}
.cookie-modal-category .cookie-toggle {
  margin-left: 20px;
  min-width: 38px;
  min-height: 24px;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 24px;
  background: #E2F4F7;
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: #18A2B8;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
  box-shadow: 0 2px 8px 0 rgba(24,162,184,0.11);
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 16px;
  top: 18px;
  background: none;
  border: none;
  color: #18A2B8;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 1;
  padding: 4px 7px;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s, transform 0.18s;
}
.cookie-modal .close-modal:hover {
  background: #E2F4F7;
  transform: rotate(14deg) scale(1.09);
}

/****** PLAYFUL/ANIMATED ACCENTS ******/
h1,h2, .subheadline, .service-price, .cta-btn {
  animation: pop-in 0.6s cubic-bezier(.56,1.65,.42,.84);
}
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.92) translateY(19px) skewY(-3deg); }
  70% { opacity: 1; transform: scale(1.04) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0) skewY(0); }
}
.features .feature-grid li {
  animation: floatup 0.8s cubic-bezier(.44,1.6,.36,.85);
}
@keyframes floatup {
  0% { opacity: 0; transform: translateY(40px) scale(0.96); }
  60% { opacity: 1; transform: translateY(-5px) scale(1.03); }
  100% { opacity: 1; transform: none; }
}

/**** UTILS ****/
.hide {
  display: none !important;
}
@media (max-width: 1020px) {
  .container {
    max-width: 97vw;
  }
  .main-nav ul {
    gap: 0 12px;
  }
}
@media (max-width: 900px) {
  .features .feature-grid {
    gap: 14px;
  }
  .footer-links {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section, .cta-section, .hero {
    padding: 22px 8px;
    border-radius: 16px;
  }
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-top img {
    height: 40px;
  }
  .footer-links {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
  }
  .testimonial-card,
  .content-grid {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 18px;
    min-width: 90vw;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features .feature-grid li {
    min-width: 150px;
    max-width: 100vw;
    width: 100%;
  }
  .service-list {
    gap: 14px;
  }
  .service-list li {
    padding: 15px 8px 13px 10px;
  }
  .process-steps {
    padding-left: 16px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
  .thank-you, .thank-you .content-wrapper {
    padding: 20px 4px;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1rem; }
  .service-price { font-size: .97rem; }
  .footer-company-info {
    font-size: 0.90rem;
    line-height: 1.3;
  }
  .testimonial-card, .faq-item, .text-section {
    padding: 10px 4px;
    border-radius: 9px;
  }
}

/**** GOOGLE FONTS ****/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
