/* -----------------------------------------------------
   CSS RESET & BASE NORMALISIERUNG
----------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  background: none;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #254363;
  background: linear-gradient(135deg, #E6F0FA 0%, #fff 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -----------------------------------------------------
   FONTS & TYPOGRAPHIE
----------------------------------------------------- */
h1, h2, h3, h4, h5, .cta-primary, .cta-secondary, .logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.18;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, li, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #254363;
}
.subheadline {
  font-size: 1.1rem;
  color: #254363;
  margin-bottom: 24px;
  font-weight: 500;
}
strong, b {
  font-weight: 700;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* -----------------------------------------------------
   HEADER, NAVIGATION & BRANDING
----------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(37, 67, 99, 0.06);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #254363;
  font-weight: 500;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
  padding: 6px 12px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F2AA52;
  background: #f5ede6;
}

.cta-primary {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #F2AA52 0%, #fff0c0 100%);
  color: #254363;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 2px 8px 0 rgba(242,170,82,0.11);
  border: 2px solid #F2AA52;
  transition: box-shadow 0.2s, border 0.2s, color 0.2s, background 0.2s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F2AA52;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(242,170,82,0.12);
}

.cta-secondary {
  display: inline-block;
  padding: 12px 26px;
  background: #fff;
  color: #254363;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 6px;
  border: 2px solid #254363;
  transition: color 0.2s, background 0.2s, border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(37,67,99,0.07);
  margin-right: 10px;
}
.cta-secondary:hover, .cta-secondary:focus {
  color: #fff;
  background: #254363;
  border-color: #254363;
}

/* Hide mobile nav-trigger on desktop */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #254363;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.2s;
  z-index: 99;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #F2AA52;
}

/* -----------------------------------------------------
   MOBILE NAVIGATION
----------------------------------------------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(37,67,99,0.18);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.5,0.2,0.1,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin-top: 18px;
  margin-left: 20px;
  font-size: 2.2rem;
  background: none;
  color: #254363;
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: #254363;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 38px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #254363;
  font-weight: 500;
  background: none;
  padding: 10px 8px;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
  min-width: 60vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2AA52;
  color: #fff;
}

/* Show hamburger and hide nav on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  header .container {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 32px;
  }
}

/* -----------------------------------------------------
   HERO & SECTIONS
----------------------------------------------------- */
main .section, main section {
  background: transparent;
}

main section:nth-child(1) {
  background: linear-gradient(115deg, #E6F0FA 70%, #fff 100%);
  border-bottom: 1px solid #e5eaf0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 8px;
}

/* -----------------------------------------------------
   FLEX SPACING & STRUCTURES
----------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 20px 0 rgba(37,67,99,0.08);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(37,67,99,0.12);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 450px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------------------------------
   SERVICE, CARDS, LISTS
----------------------------------------------------- */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-item {
  background: linear-gradient(120deg, #fff 90%, #E6F0FA 100%);
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(37,67,99,0.06);
  padding: 24px 18px;
  flex: 1 0 260px;
  min-width: 260px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 4px solid #F2AA52;
  transition: box-shadow 0.2s, border 0.2s;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 8px 32px 0 rgba(242,170,82,0.13);
  border-left-color: #254363;
}
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #254363;
  background: #e7edf7;
  border-radius: 5px;
  padding: 5px 16px;
  margin-top: 8px;
  width: max-content;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 7px 0 rgba(37,67,99,0.06);
  padding: 14px 18px;
  font-size: 1rem;
  min-width: 190px;
  max-width: 350px;
  margin-bottom: 20px;
}
.feature-list img {
  height: 28px;
  width: 28px;
  margin-right: 8px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.testimonial-group, .trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.trust-signals ul {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-signals li {
  font-size: 1rem;
  background: #eaf0fa;
  color: #254363;
  border-radius: 6px;
  padding: 7px 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* --------------------------------------------
   TEAM GRID (about.html)
--------------------------------------------- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-member {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px 0 rgba(37,67,99,0.09);
  padding: 24px 20px;
  min-width: 220px;
  max-width: 290px;
  flex: 1 0 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.team-member img {
  border-radius: 50%;
  border: 2px solid #E6F0FA;
  width: 52px;
  height: 52px;
  margin-bottom: 2px;
}

/* --------------------------------------------
   BLOG CATEGORY/LIST
--------------------------------------------- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: #254363;
}
.blog-categories a {
  color: #254363;
  padding: 3px 8px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.blog-categories a:hover, .blog-categories a:focus {
  background: #F2AA52;
  color: #fff;
}
.blog-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}
.blog-search-bar input {
  padding: 8px 13px;
  border-radius: 5px;
  border: 1px solid #bfcde4;
  font-size: 1rem;
  background: #fff;
  width: 220px;
  transition: border 0.18s;
}
.blog-search-bar input:focus {
  border: 1.7px solid #254363;
}
.blog-search-bar button {
  padding: 8px 14px;
  border-radius: 5px;
  background: #E6F0FA;
  color: #254363;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: not-allowed;
}
.blog-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 6px;
}
.blog-articles article {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 9px 0 rgba(37,67,99,0.06);
  padding: 16px 20px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 0 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-articles h3 {
  font-size: 1.1rem;
  color: #254363;
  margin-bottom: 5px;
}
.blog-articles a {
  color: #F2AA52;
  font-weight: 600;
  margin-top: 4px;
}
.blog-articles a:hover, .blog-articles a:focus {
  text-decoration: underline;
  color: #254363;
}

/* --------------------------------------------
   FOOTER
--------------------------------------------- */
footer {
  background: linear-gradient(90deg, #E6F0FA 30%, #fff 100%);
  box-shadow: 0 -1px 12px 0 rgba(37,67,99,0.10);
  padding: 40px 0 22px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
}
footer img {
  height: 50px;
  margin-right: 40px;
}
.footer-nav, .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-menu a {
  color: #254363;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
  border-radius: 4px;
  padding: 2px 0 2px 0;
}
.footer-nav a:hover, .footer-menu a:hover {
  background: #F2AA52;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
  color: #254363;
}
.newsletter-signup {
  margin-top: 16px;
  font-size: 1rem;
  color: #254363;
  background: #e7edf7;
  border-radius: 6px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.newsletter-signup a {
  color: #F2AA52;
  font-weight: 700;
  margin-left: 6px;
}
.newsletter-signup a:hover {
  text-decoration: underline;
  color: #254363;
}

/* --------------------------------------------
   TESTIMONIALS
--------------------------------------------- */
.testimonial-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 15px 0 rgba(37,67,99,0.10);
  padding: 22px 20px;
  color: #254363;
  min-width: 250px;
  max-width: 420px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #254363;
}
.testimonial-info {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #254363;
  margin-top: 8px;
}
.stars {
  color: #F2AA52;
  margin-left: 8px;
  font-size: 1.08em;
}

/* --------------------------------------------
   MISC & UTILITIES
--------------------------------------------- */
.cta-group {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}
.workshop-links {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}
.next-steps ul {
  list-style: disc inside;
  color: #254363;
  margin-bottom: 16px;
  padding-left: 18px;
  font-size: 1rem;
}
.next-steps ul li {
  margin-bottom: 6px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --------------------------------------------
   RESPONSIVE DESIGN
--------------------------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .service-grid, .team-grid, .feature-list, .card-container, .testimonial-group, .blog-articles {
    gap: 16px;
  }
  .footer-nav, .footer-menu {
    gap: 7px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
    flex-direction: column;
    gap: 18px;
  }
  .service-grid, .team-grid, .feature-list, .card-container {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 16px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper, .testimonial-group {
    gap: 16px;
  }
  .cta-group, .workshop-links {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-list li {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .footer-nav, .footer-menu, .footer-contact {
    font-size: 0.97rem;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .service-item, .card, .team-member, .feature-list li, .testimonial-card {
    padding: 14px 8px;
    min-width: 0;
    max-width: 100%;
  }
  .newsletter-signup {
    font-size: 0.94rem;
    padding: 9px 8px;
  }
}

/* --------------------------------------------
   FOCUS STATES, TRANSITIONS, SHADOWS
--------------------------------------------- */
a, button, .cta-primary, .cta-secondary, input {
  transition: background 0.18s, color 0.18s, border 0.17s, box-shadow 0.18s;
}
a:focus-visible, button:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible, input:focus-visible {
  outline: 2px solid #F2AA52;
  outline-offset: 2px;
  z-index: 11;
}

.card, .service-item, .team-member, .testimonial-card, .feature-list li {
  transition: box-shadow 0.22s, border 0.18s, background 0.18s, color 0.18s;
}
.card:hover, .service-item:hover, .testimonial-card:hover, .feature-list li:hover {
  box-shadow: 0 6px 24px 0 rgba(242,170,82,0.10);
}

/* --------------------------------------------
   COOKIE BANNER: FIXED + MODAL
--------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: #254363;
  color: #fff;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px 18px 18px;
  box-shadow: 0 -4px 18px 0 rgba(37,67,99,0.14);
  animation: slide-up 0.5s ease;
}
.cookie-banner__text {
  flex: 1 1 auto;
  padding-right: 10px;
}
.cookie-banner__buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  background: #F2AA52;
  color: #254363;
  border-radius: 5px;
  padding: 8px 22px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  margin: 0;
}
.cookie-btn.secondary {
  background: #fff;
  color: #254363;
  border: 1.3px solid #F2AA52;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #254363;
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 67, 99, 0.38);
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #254363;
  border-radius: 12px;
  box-shadow: 0 4px 24px 0 rgba(37,67,99,0.13);
  max-width: 375px;
  min-width: 210px;
  width: 94vw;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeIn 0.45s;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  color: #254363;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 16;
  border-radius: 50%;
  transition: color 0.16s, background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #fff;
  background: #F2AA52;
}
.cookie-modal h2 {
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #E6F0FA;
  position: relative;
  margin-left: 5px;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle[data-enabled="true"] {
  background: #F2AA52;
}
.cookie-toggle-switch {
  position: absolute;
  top: 2.2px;
  left: 2.2px;
  height: 17px;
  width: 17px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-toggle[data-enabled="true"] .cookie-toggle-switch {
  left: 17px;
}

@media (max-width: 670px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 8px 16px 14px;
    font-size: 0.95rem;
  }
}

@keyframes slide-up {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------
   ACCESSIBILITY
--------------------------------------------- */
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----------------------------------------------------
   UTILITY
----------------------------------------------------- */
.mb-24 { margin-bottom: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.mt-14 { margin-top: 14px !important; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-20 { gap: 20px !important; }
.text-center { text-align: center !important; }

/* ---------------------------------------------
   END OF CSS
----------------------------------------------- */
