/* ------------------------------
   CSS RESET & BASELINE
------------------------------ */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html, body {
  padding: 0;
  margin: 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #fff;
}
img, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin: 0 0 1em 0;
  padding: 0 0 0 1.25em;
}
ul {
  list-style: none;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', 'Open Sans', Arial, Helvetica, sans-serif;
  color: #22577A;
  margin: 0 0 20px 0;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
p {
  margin: 0 0 18px 0;
  color: #222;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #57CC99;
  outline: none;
}
strong, b { font-weight: 600; }
.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* ------------------------------
   HEADER & MAIN NAVIGATION
------------------------------ */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(34,87,122,0.03);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  font-family: 'Raleway', 'Open Sans', Arial, Helvetica, sans-serif;
}
.main-nav a {
  color: #22577A;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #57CC99;
  border-bottom: 2px solid #57CC99;
}
.cta-button {
  background: #22577A;
  color: #fff;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 26px;
  border: none;
  border-radius: 28px;
  margin-left: 32px;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(34,87,122,0.06);
  transition: background 0.2s, box-shadow 0.25s, transform 0.15s;
  outline: none;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #57CC99;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(87,204,153,0.13);
}
.secondary-cta-button {
  background: transparent;
  color: #22577A;
  border: 2px solid #22577A;
  padding: 10px 24px;
  border-radius: 28px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s, border 0.22s;
}
.secondary-cta-button:hover, .secondary-cta-button:focus {
  background: #57CC99;
  color: #fff;
  border-color: #57CC99;
}

/* ------------------------------
   MOBILE NAVIGATION
------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #22577A;
  margin-left: 28px;
  cursor: pointer;
  z-index: 120;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  color: #57CC99;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(34,87,122, 0.94);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1), opacity 0.26s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 22px 22px 0 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 210;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #57CC99;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding: 12px 0;
  transition: color 0.18s, border 0.2s, background 0.2s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #57CC99;
  background: rgba(87,204,153,0.1);
  border-bottom: 2px solid #57CC99;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
    font-size: 0.98rem;
  }
  .cta-button { margin-left: 16px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
  .main-nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
  background: #F4FDFF;
  padding: 48px 0 26px 0;
  box-shadow: 0 -2px 24px 0 rgba(34,87,122,0.04);
  font-size: 0.98rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo-social {
  flex: 0 0 auto;
  margin-bottom: 16px;
}
.footer-logo-social img {
  width: 56px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #22577A;
  font-weight: 500;
  opacity: 0.94;
  transition: color 0.2s, opacity 0.2s;
  padding: 4px 0;
}
.footer-nav a:hover, .footer-nav a:focus { color: #57CC99; opacity: 1; }
.footer-contact {
  color: #222;
  opacity: 0.77;
  font-size: 0.95rem;
  line-height: 1.38;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-logo-social {
    margin-bottom: 10px;
  }
}

/* ------------------------------
   SECTIONS & LAYOUTS
------------------------------ */
.section, .about, .services, .privacy-policy, .gdpr-section, .terms-of-use, .cookie-policy, .thank-you, .faq, .pricing, .contact, .contact-teaser, .services-overview, .features, .special-offers, .pricing-faq, .testimonials, .cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(34,87,122,0.06);
  padding: 24px;
  transition: box-shadow 0.20s, transform 0.20s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px rgba(34,87,122,0.10);
  transform: translateY(-2px) scale(1.01);
}
.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: 10px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F4FDFF;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(34,87,122,0.07);
  color: #222;
  font-size: 1.08rem;
  transition: box-shadow 0.16s, transform 0.19s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 18px rgba(34,87,122,0.10);
  transform: scale(1.02);
}
.testimonial-card p {
  color: #115173;
  margin: 0 0 5px 0;
  font-size: 1.12rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #22577A;
  opacity: 0.88;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.features .feature {
  background: #F4FDFF;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(34,87,122, 0.07);
  padding: 24px 18px;
  width: 250px;
  min-width: 220px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.features .feature:hover, .features .feature:focus-within {
  box-shadow: 0 7px 22px rgba(87,204,153,0.16);
  transform: translateY(-2px) scale(1.012);
}
.features .feature img {
  height: 38px;
  margin-bottom: 10px;
}

.services-short, .service-examples, .special-services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 28px;
}
.services-short div, .special-services li, .service-examples .service-tag {
  background: #F4FDFF;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34,87,122,0.06);
  padding: 18px 16px;
  font-size: 1.09rem;
  min-width: 190px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.services-short div:hover, .special-services li:hover, .service-examples .service-tag:hover {
  box-shadow: 0 7px 18px rgba(87,204,153,0.17);
  transform: translateY(-1px) scale(1.01);
}
@media (max-width: 900px) {
  .features .feature {
    width: 100%;
    min-width: 0;
  }
  .service-examples, .special-services, .services-short {
    flex-direction: column;
    gap: 16px;
  }
}

.table-responsive, .price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  margin-bottom: 24px;
  background: #fff;
  box-shadow: 0 2px 13px rgba(34,87,122,0.04);
  border-radius: 12px;
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 14px 12px;
  text-align: left;
}
.price-table thead {
  background: #F4FDFF;
}
.price-table tr:nth-child(even) {
  background: #FAFFFF;
}
.price-table th {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.01rem;
  color: #22577A;
  letter-spacing: 0.03em;
}
.price-table td {
  font-size: 0.99rem;
  color: #222;
}

.pricing-notes {
  font-size: 0.97rem;
  color: #555;
  opacity: 0.8;
  margin-bottom: 25px;
}

/* FAQ List, Legal Text, etc. */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.faq-categories span {
  background: #F4FDFF;
  color: #22577A;
  font-family: 'Raleway';
  border: 1px solid #57CC99;
  border-radius: 8px;
  padding: 6px 18px;
  font-size: 0.97rem;
  font-weight: 500;
  transition: background 0.17s, border-color 0.17s;
}
.faq-categories span:hover {
  background: #57CC99;
  color: #fff;
  border-color: #57CC99;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 26px;
}
.faq-list li h2, .faq-list li h3 {
  margin: 0 0 8px 0;
  font-size: 1.12rem;
  color: #22577A;
  font-family: 'Raleway';
}
.faq-list li p {
  margin: 0;
}
.faq-contact {
  margin-top: 14px;
  font-size: 0.99rem;
}
.faq-contact a {
  color: #57CC99;
  font-weight: 600;
  border-bottom: 1px dotted #57CC99;
}

.legal-text h2, .legal-text h3 {
  margin-top: 14px;
  font-size: 1.18rem;
}
.legal-text ul {
  margin: 0 0 1em 1.25em;
  padding: 0;
  list-style-type: disc;
}
.legal-text li {
  margin-bottom: 8px;
}

/* ------------------------------
   BUTTONS
------------------------------ */
button, .cta-button, .secondary-cta-button {
  font-family: 'Raleway', Arial, sans-serif;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, color 0.13s, box-shadow 0.24s, border 0.14s, transform 0.10s;
}
button:focus, .cta-button:focus, .secondary-cta-button:focus {
  outline: 2px solid #57CC99;
  outline-offset: 1px;
}

/* ------------------------------
   COOKIE CONSENT BANNER
------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 350;
  background: #22577A;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 15px 16px;
  box-shadow: 0 -4px 24px rgba(34,87,122,0.15);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  gap: 24px;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.41s cubic-bezier(.77,0,.18,1), opacity 0.3s;
  pointer-events: none;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner__text {
  flex: 1 1 240px;
  color: #fff;
  margin-right: 10px;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner__button {
  border: none;
  border-radius: 20px;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  background: #fff;
  color: #22577A;
  box-shadow: 0 2px 10px rgba(87,204,153,0.12);
}
.cookie-banner__button.accept {
  background: #57CC99;
  color: #fff;
}
.cookie-banner__button.reject {
  background: #fff;
  color: #22577A;
  border: 1.5px solid #22577A;
}
.cookie-banner__button.settings {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
}
.cookie-banner__button:hover, .cookie-banner__button:focus {
  box-shadow: 0 4px 14px rgba(87,204,153,0.18);
  background: #22577A;
  color: #fff;
  border-color: #57CC99;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 0;
    font-size: 0.96rem;
    padding: 18px 6px 12px 6px;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,87,122,0.34);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(34,87,122,0.22);
  max-width: 95vw;
  min-width: 310px;
  width: 400px;
  padding: 32px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  animation: cookieModalAppear 0.43s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalAppear {
  from { transform: translateY(60px) scale(0.98); opacity:0; }
  to   { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal-header {
  font-family: 'Raleway';
  font-size: 1.18rem;
  font-weight: 700;
  color: #22577A;
  margin-bottom: 8px;
}
.cookie-modal-section {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  width: 100%;
  border-bottom: 1px solid #e6f2f0;
}
.cookie-modal-section:last-child {
  border-bottom: none;
}
.cookie-modal-section label {
  flex: 1;
  font-size: 1rem;
  color: #22577A;
}
.cookie-modal-toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}
.cookie-modal-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #e6f2f0;
  border-radius: 20px;
  transition: background 0.2s;
}
.cookie-modal-toggle input:checked + .cookie-modal-slider {
  background: #57CC99;
}
.cookie-modal-slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-modal-toggle input:checked + .cookie-modal-slider:before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-actions .cookie-banner__button {
  margin: 0;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #22577A;
  font-size: 1.6rem;
  margin-top: -2px;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #57CC99; }
@media (max-width: 500px) {
  .cookie-modal {
    width: 97vw;
    min-width: unset;
    padding: 20px 8px 14px 12px;
  }
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .features .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .section, .about, .services, .privacy-policy, .gdpr-section, .terms-of-use, .cookie-policy, .thank-you, .faq, .pricing, .contact, .contact-teaser, .services-overview, .features, .special-offers, .pricing-faq, .testimonials, .cta {
    padding: 32px 6px;
    margin-bottom: 44px;
  }
  h1 {
    font-size: 1.7rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.32rem;
    margin-bottom: 10px;
  }
  .features .feature {
    width: 100%;
    min-width: 0;
    padding: 14px 8px;
  }
  .content-grid, .services-short, .special-services, .service-examples, .faq-list {
    flex-direction: column;
    gap: 12px;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card { padding: 16px; }
}
@media (max-width: 600px) {
  .footer-nav { gap: 10px; }
  .footer-contact { font-size: 0.91rem; }
}

/* Text-Image (if it ever appears) */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* Map Placeholder Style */
.map-placeholder {
  background: #F4FDFF;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(34,87,122,0.04);
  padding: 18px 14px;
  margin-top: 16px;
  font-size: 0.99rem;
  color: #22577A;
  opacity: 0.98;
}

/* Contact Details */
.contact-details p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 6px 0;
  color: #222;
  font-size: 1.04rem;
}
.contact-details img {
  height: 21px;
  opacity: 0.84;
}

/* List Tag Styles (Galerie Beispiel-Tags) */
.service-examples {
  margin-bottom: 14px;
}
.service-examples .service-tag {
  font-size: 0.98rem;
  color: #22577A;
  background: #F4FDFF;
  border-radius: 8px;
  padding: 8px 13px;
  margin-right: 4px;
  margin-bottom: 4px;
  border: 1px solid #e8f2f5;
  transition: background 0.19s, color 0.14s, border 0.19s;
  cursor: default;
  display: inline-block;
}
.service-examples .service-tag:hover {
  background: #57CC99;
  color: #fff;
  border-color: #57CC99;
}
/* Cards & Inline Content Spacing */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}

/* CTA Section Spacing */
.cta-section, .cta {
  margin-top: 24px;
  text-align: center;
}
.cta-button, .secondary-cta-button {
  margin: 0 8px 0 0;
}
/* Remove margin for last CTA */
.cta-button:last-child, .secondary-cta-button:last-child {
  margin-right: 0;
}

/* Thank You Page Message */
.thank-you-message {
  margin-bottom: 20px;
  padding: 16px 0 0 8px;
  border-left: 4px solid #57CC99;
  background: rgba(87,204,153,0.04);
  border-radius: 7px;
  font-size: 1.07rem;
}

/* Accessibility outline for all focus-able */
a:focus, button:focus, .cta-button:focus, .secondary-cta-button:focus {
  outline: 2px solid #57CC99;
  outline-offset: 2px;
}

/* Hide outlines on mouse click but not on keyboard nav */
:focus:not(:focus-visible) {
  outline: none;
}

/* Subtle scrollbar for modern look */
::-webkit-scrollbar {
  width: 10px;
  background: #F4FDFF;
}
::-webkit-scrollbar-thumb {
  background: #e6f2f0;
  border-radius: 8px;
}

/* General Micro Animations */
section, .card, .testimonial-card, .feature, .cta-button, .secondary-cta-button {
  transition: box-shadow 0.17s, background 0.2s, transform 0.14s, border-color 0.17s;
}

/* Print styles: hide navigation and footer */
@media print {
  header, nav, .main-nav, .footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #111; background: #fff; }
}

/* Brand Accent */
::-selection {
  background: #57CC99;
  color: #fff;
}

/* END CSS */
