/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F3F6F9;
  color: #26313e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
a {
  color: #1E3A56;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #79B4B7;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 14px 12px;
  text-align: left;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E3A56;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #406078;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #406078;
}
p {
  margin-bottom: 17px;
  font-size: 1.05rem;
}
strong {
  font-weight: 700;
  color: #4f5c73;
}
small {
  font-size: 0.89em;
  color: #7C8FA4;
}

/* SECTIONS & CONTAINER */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255, 0.7);
  border-radius: 28px;
  box-shadow: 0 10px 26px rgba(120,180,183,0.07), 0 2px 8px rgba(120, 180, 183, 0.12);
}
main > section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  max-width: 740px;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 3px 14px rgba(120,180,183,0.09), 0 2px 4px rgba(120, 180, 183, 0.14);
  padding: 30px 28px;
  min-width: 270px;
  flex: 1 1 290px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(120,180,183,0.15), 0 4px 12px rgba(120, 180, 183, 0.17);
  transform: translateY(-5px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 5px 22px rgba(120,180,183,0.08), 0 1.5px 6px rgba(120,180,183,0.11);
  color: #1E3A56;
  min-width: 250px;
  max-width: 550px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 22px 24px;
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(120,180,183,0.06);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  padding: 24px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(120,180,183,0.10);
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  text-align: center;
  transition: box-shadow .18s, transform .18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px rgba(120,180,183,0.15);
  transform: translateY(-4px) scale(1.025);
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.service-cards > div {
  background: #fff;
  padding: 28px 22px;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(120,180,183,0.08);
  min-width: 210px;
  flex: 1 1 220px;
  transition: box-shadow 0.16s, transform 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.service-cards > div:hover {
  box-shadow: 0 8px 32px rgba(120,180,183,0.14);
  transform: translateY(-5px);
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #eef5fa 0%, #f3f6f9 100%);
  box-shadow: 0 4px 18px rgba(120,180,183,0.11);
  padding-top: 8px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
}
header img {
  height: 45px;
  width: auto;
  margin-right: 20px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #1E3A56;
  font-weight: 600;
  padding: 6px 3px;
  border-radius: 6px;
  transition: color 0.21s, background 0.17s;
}
nav a.cta-primary {
  background: #79B4B7;
  color: #fff;
  padding: 10px 22px;
  border-radius: 13px;
  margin-left: 16px;
  box-shadow: 0 2px 10px rgba(120,180,183,0.13);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.23s, color 0.13s, box-shadow 0.16s;
}
nav a.cta-primary:hover, nav a.cta-primary:focus {
  background: #4fa0a3;
  color: #f3f6f9;
  box-shadow: 0 4px 16px rgba(120,180,183,0.18);
}
nav a:hover, nav a:focus {
  color: #79B4B7;
  background: #e2f1ee;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #1E3A56;
  background: #eef5fa;
  border-radius: 8px;
  padding: 6px 13px;
  margin-left: 30px;
  transition: background 0.2s;
  z-index: 40;
}
.mobile-menu-toggle:hover {
  background: #d7ecec;
}
/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,249,254, 0.97);
  box-shadow: -8px 0 45px rgba(120,180,183,0.30);
  z-index: 1200;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #1E3A56;
  background: none;
  margin: 22px 28px 10px 0;
  border-radius: 8px;
  padding: 3px 10px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #e5eeef;
}
.mobile-nav {
  margin: 30px 0 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding-left: 35px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #23425b;
  background: none;
  padding: 12px 3px;
  border-radius: 8px;
  display: block;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #13737a;
  background: #e2f1ee;
}

/* Section Spacing Overrides */
section + section {
  margin-top: 14px;
}

/* HERO/SECTION BUTTONS */
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  padding: 14px 38px;
  margin-top: 12px;
  box-shadow: 0 2px 12px rgba(120,180,183,0.14);
  cursor: pointer;
  transition: background 0.20s, color 0.14s, box-shadow 0.15s;
  text-align: center;
  outline: none;
}
.cta-primary {
  background: #79B4B7;
  color: #fff;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #4fa0a3;
  color: #F3F6F9;
  box-shadow: 0 4px 18px rgba(120,180,183,0.18);
}
.cta-secondary {
  background: #efedf7;
  color: #1E3A56;
  border: 2px solid #79B4B7;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #d2f1f7;
  color: #4fa0a3;
}

/* LISTS, LINKS & INLINE ICONS */
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 18px;
  margin-top: 2px;
  padding-left: 2px;
}
.content-wrapper li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: #38536a;
  line-height: 1.55;
}
.content-wrapper li img {
  margin-right: 13px;
  height: 28px;
  width: 28px;
  vertical-align: middle;
}

/* BADGES & DECORATIVE ELEMENTS */
.trust-badges {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 16px;
}
.trust-badges img {
  width: 52px;
  height: 52px;
  border-radius: 40%;
  background: #f2fbfa;
  box-shadow: 0 2px 8px rgba(120,180,183,0.07);
  padding: 5px;
}
.stars {
  display: flex;
  flex-direction: row;
  gap: 3px;
}
.stars img {
  width: 22px;
  height: 22px;
  filter: none;
  margin: 0 2px;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(120,180,183,0.07);
  margin: 24px 0 18px 0;
}
.pricing-table th {
  background: #eaf6fa;
  color: #1E3A56;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
}
.pricing-table td {
  background: #fff;
  border-bottom: 1px solid #eef5fa;
  font-size: 1.06rem;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #f8fbfe;
  padding: 32px 0;
  box-shadow: 0 -5px 18px rgba(120,180,183,0.07);
  border-top: 2px solid #e6f2f6;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
footer nav a {
  color: #406078;
  padding: 3px 7px;
  border-radius: 7px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
footer nav a:hover,
footer nav a:focus {
  background: #dfedf2;
  color: #79B4B7;
}
footer p {
  color: #8d94ab;
  font-size: 0.93rem;
}

/* BLOG STYLE */
article {
  background: #fff;
  box-shadow: 0 2px 14px rgba(120,180,183, 0.06);
  border-radius: 14px;
  padding: 22px 19px 18px 19px;
  margin-bottom: 24px;
  transition: box-shadow .23s;
}
article:hover {
  box-shadow: 0 7px 28px rgba(120,180,183, 0.11);
}
article h3 {
  margin-bottom: 3px;
  color: #3d749c;
}

/* MAP EMBED (KONTAKT SEITE) */
.map-embed {
  margin: 16px 0;
  background: #eaf6fa;
  padding: 20px 20px;
  border-radius: 10px;
  color: #305462;
  font-size: 1.05rem;
  text-align: center;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #f8fafc;
  color: #1E3A56;
  padding: 22px 18px 15px 18px;
  box-shadow: 0 -7px 32px rgba(120,180,183,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9000;
  font-size: 1.04rem;
  transition: transform 0.35s cubic-bezier(.82,0,.15,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-left: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border-radius: 8px;
  padding: 9px 19px;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.17s, color 0.11s;
  min-width: 125px;
  box-shadow: 0 1.5px 5px rgba(120,180,183,0.08);
  outline: none;
}
.cookie-banner .accept {
  background: #79B4B7;
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #51a5a3;
}
.cookie-banner .reject {
  background: #ededfa;
  color: #1E3A56;
  border: 1.5px solid #c4e1e1;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #dfedf2;
  color: #79B4B7;
}
.cookie-banner .settings {
  background: #fff;
  color: #406078;
  border: 1.5px solid #d2e8eb;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #eaf6fa;
  color: #1E3A56;
}

.cookie-modal {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 70%);
  background: #fff;
  box-shadow: 0 16px 60px rgba(120,180,183,.16);
  border-radius: 24px;
  padding: 42px 26px 26px 26px;
  z-index: 9600;
  width: 96vw;
  max-width: 430px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.23s;
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,0%) scale(1);
}
.cookie-modal h2 {
  color: #1E3A56;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  font-size: 1.01rem;
  color: #355779;
}
.cookie-modal .category-switch {
  flex: none;
  width: 37px;
  height: 20px;
  background: #e2f6fa;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .category-switch input {
  display: none;
}
.cookie-modal .category-switch span {
  display: block;
  width: 17px;
  height: 17px;
  background: #79B4B7;
  border-radius: 50%;
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: left 0.15s;
}
.cookie-modal .category-switch input:checked + span {
  left: 18px;
  background: #1E3A56;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}
.cookie-modal button,
.cookie-modal .action-btn {
  border-radius: 9px;
  padding: 9px 17px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #ededfa;
  color: #1E3A56;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
}
.cookie-modal button.accept {
  background: #79B4B7;
  color: #fff;
}
.cookie-modal button.accept:hover { background: #56a0a2; }
.cookie-modal button.reject:hover { background: #ececf6; color: #79B4B7; }
.cookie-modal .modal-close {
  position: absolute;
  top: 17px; right: 20px;
  background: none;
  font-size: 1.8rem;
  color: #79B4B7;
  transition: color 0.17s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus { color: #1E3A56; }

/* MEDIA QUERIES (MOBILE-FIRST) */
@media (max-width: 992px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .feature-grid, .service-cards, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .content-wrapper,
  .text-section {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section,
  main > section {
    padding: 24px 0 28px 0;
    margin-bottom: 32px;
    border-radius: 14px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .feature-grid, .service-cards, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 16px;
  }
  .feature-grid > div, .service-cards > div {
    min-width: 90vw;
    max-width: 100vw;
    padding: 18px 7vw;
    font-size: 0.99rem;
  }
  .card {
    min-width: 88vw;
    padding: 20px 4vw;
  }
  .testimonial-card {
    min-width: unset;
    max-width: none;
    padding: 18px 8px;
  }
  .mobile-menu {
    width: 100vw;
    left: 0; right: 0;
    padding: 0;
    align-items: flex-end;
  }
  .mobile-nav {
    padding-left: 12vw;
    gap: 20px;
  }
}
@media (max-width: 500px) {
  .feature-grid > div, .service-cards > div {
    padding: 16px 3vw;
  }
  .card {
    padding: 16px 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .feature-grid > div, .service-cards > div, article, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.19s;
}
.cta-primary, .cta-secondary {
  transition: background 0.20s, color 0.13s, box-shadow 0.15s;
}

/* DREAMY SOFT-PASTEL DECORATIVE TOUCHES */
.section {
  background: linear-gradient(135deg, #f7fafd 71%, #e9f7f7 100%);
}
.feature-grid > div, .service-cards > div, .card, .testimonial-card, article {
  background: linear-gradient(109deg, #fff 84%, #f1fafe 100%);
}
.testimonial-card {
  background: linear-gradient(87deg, #f5faf8 86%, #f2f0fa 100%);
}

/* SOFT FOCUS STATES */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  box-shadow: 0 0 0 3px #e3eded;
  outline: none;
}

/* TYPOGRAPHY CONTRAST IN TESTIMONIALS/REVIEWS */
.testimonial-card p,
.testimonial-card strong {
  color: #1E3A56;
  text-align: center;
  font-size: 1.07rem;
  line-height: 1.4;
}

/* REMOVE LIST EMPTY SPACE (FOR SEO LISTS) */
ul {
  margin-bottom: 0;
}

/* SCROLLBAR (subtle pastel) */
::-webkit-scrollbar {
  width: 12px;
  background: #f3f6f9;
}
::-webkit-scrollbar-thumb {
  background: #e2f6fa;
  border-radius: 7px;
}

/* PRINT BASIC LAYOUT (for policy pages) */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section { box-shadow: none !important; }
  body { background: #fff !important; }
}
