/* ===================== RESET & BASE =================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #ffffff;
  color: #23497B;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  overscroll-behavior-y: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #23497B;
  text-decoration: none;
  transition: color 0.25s;
}
ul, ol {
  padding-left: 1.3em;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #23497B;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  letter-spacing: -1.5px;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.125rem;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
button, .cta-button, input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  padding: 12px 32px;
  background: #72B273;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px 0 rgba(114, 178, 115, 0.16);
  outline: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  letter-spacing: .5px;
  position: relative;
}
button:active, .cta-button:active, input[type="submit"]:active {
  transform: scale(0.96);
}
button:hover, .cta-button:hover, input[type="submit"]:hover {
  background: #23497B;
  color: #F7E8C6;
  box-shadow: 0 6px 32px 0 rgba(35, 73, 123, 0.18);
}
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  border: 1.5px solid #dedede;
  padding: 10px 12px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.18s;
}
input:focus, textarea:focus {
  border-color: #72B273;
}

/* =============== LAYOUT CONTAINER =============== */
.container {
  max-width: 1060px;
  width: 100%;
  padding: 0 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

/* =============== HEADER & NAVIGATION =============== */
header {
  background: #F7E8C6;
  border-bottom: 3px solid #23497B;
  transition: box-shadow 0.18s;
  padding: 0;
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  min-height: 80px;
}
header a img {
  height: 42px;
  margin-right: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
header nav a {
  color: #23497B;
  padding: 4px 14px;
  border-radius: 16px;
  transition: background 0.19s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #72B273;
  color: #fff;
}
.cta-button {
  margin-left: 10px;
  font-size: 1.02rem;
  border-radius: 24px;
  position: relative;
  background: #23497B;
  color: #F7E8C6;
  box-shadow: 0 3px 12px rgba(35,73,123,0.15);
}
.cta-button:hover, .cta-button:focus {
  background: #72B273;
  color: #fff;
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-toggle {
  display: none;
  background: #72B273;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  box-shadow: 0 3px 12px rgba(114,178,115,0.13);
  z-index: 103;
  transition: background 0.21s;
  border: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #23497B;
  color: #F7E8C6;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #F7E8C6;
  box-shadow: -4px 0 48px 0 rgba(35,73,123,.09);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.7,.03,.38,1.13);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 40px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 16px;
  font-size: 2rem;
  color: #23497B;
  background: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.19s, color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #72B273;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin-left: 32px;
}
.mobile-nav a {
  font-size: 1.13rem;
  margin-bottom: 18px;
  color: #23497B;
  font-weight: 600;
  display: block;
  padding: 9px 0;
  width: 90%;
  border-radius: 12px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #72B273;
  color: #fff;
  padding-left: 8px;
}
@media (max-width: 1055px) {
  header nav,
  .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 24px;
    top: 17px;
  }
  header .container {
    min-height: 72px;
  }
}
@media (max-width: 705px) {
  .mobile-menu {
    padding-top: 15px;
  }
  .mobile-menu-close {
    margin-top: 14px;
  }
}

/* =============== HERO & SECTION =============== */
.hero {
  background: #F7E8C6;
  background-image: none;
  border-bottom: 2px solid #72B273;
  padding-top: 44px;
  padding-bottom: 38px;
  display: flex;
  min-height: 275px;
  align-items: center;
  justify-content: flex-start;
}
.hero .container,
.hero .content-wrapper {
  justify-content: center;
  align-items: flex-start;
}
.hero h1 {
  color: #23497B;
  margin-bottom: 16px;
  font-size: 2.5rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: -1.5px;
}
.hero p {
  font-size: 1.13rem;
  margin-bottom: 30px;
  max-width: 600px;
  color: #23497B;
}
.hero .cta-button {
  margin-top: 5px;
  font-size: 1.08rem;
  font-weight: 700;
}

/* ========== FLEX & SPACING STRUCTURES ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
}

/* ========== FEATURE GRID (e.g. Leistungen) ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 16px;
  margin-top: 32px;
  list-style: none;
}
.feature-grid li {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(35,73,123,0.07), 0 2px 7px 0 rgba(114,178,115,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 230px;
  max-width: 265px;
  flex: 1 1 220px;
  min-height: 205px;
  padding: 22px 18px 22px 18px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  gap: 8px;
  border: 2px solid #F7E8C6;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-grid li img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 7px #72B2734a);
  animation: bouncey 1.4s infinite alternate;
}
@keyframes bouncey {
  0% { transform: translateY(0); }
  40% { transform: translateY(-5px) scale(1.09); }
  100% { transform: translateY(0); }
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 6px 24px rgba(114,178,115,0.13);
  transform: translateY(-4px) scale(1.03);
  border-color: #72B273;
}
.feature-grid h3 {
  font-size: 1.17rem;
  color: #23497B;
  margin-bottom: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.feature-grid p {
  font-size: 0.97rem;
  color: #4D697F;
  margin-top: 4px;
}

/* ========== TESTIMONIAL CARD ========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(35,73,123,0.09);
  border-left: 5px solid #72B273;
  font-size: 1.1rem;
  color: #23497B;
  transition: box-shadow 0.21s;
}
.testimonial-card p {
  margin-bottom: 10px;
  font-size: 1.14rem;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #72B273;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.testimonial-card .stars {
  color: #FFBD2D;
  font-size: 1.18rem;
  letter-spacing: .09em;
  font-family: 'Montserrat', sans-serif;
  animation: stars-pop 1.5s infinite alternate;
}
@keyframes stars-pop {
  15% { transform: scale(1.09) rotate(-2deg); }
  90% { transform: scale(1.01) rotate(2deg); }
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 38px 0 rgba(114,178,115,0.12);
}

/* ================ BLOG LIST ================ */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 36px 0 32px 0;
}
.blog-list article {
  background: #fff;
  border: 2.5px solid #F7E8C6;
  border-radius: 20px;
  box-shadow: 0 3px 24px rgba(35,73,123,0.06);
  padding: 22px 16px 18px 18px;
  min-width: 250px;
  max-width: 320px;
  flex: 1 1 250px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.blog-list article h3 {
  font-size: 1.18rem;
}
.blog-list article .tags {
  color: #fff;
  background: #72B273;
  padding: 1px 8px 2px 8px;
  font-size: .94rem;
  font-weight: 600;
  border-radius: 10px;
  display: inline-block;
}
.blog-list article a {
  color: #23497B;
  font-weight: 700;
  text-decoration: underline;
  margin-top: 10px;
  align-self: flex-start;
  transition: color 0.15s;
}
.blog-list article a:hover {
  color: #72B273;
}
.blog-list article:hover, .blog-list article:focus-within {
  box-shadow: 0 7px 32px 0 rgba(114,178,115,0.15);
  border-color: #72B273;
  transform: translateY(-4px) scale(1.025);
}

/* ========== TAG FILTER ======== */
.tag-filters,
.tag-filters nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.tag-filters > span {
  font-weight: 600;
  margin-right: 10px;
  color: #23497B;
  font-size: 1.03rem;
}
.tag-filters a {
  background: #F7E8C6;
  color: #23497B;
  border-radius: 14px;
  padding: 6px 18px;
  font-size: .96rem;
  font-family: 'Montserrat', sans-serif;
  border: none;
  font-weight: 600;
  transition: background 0.21s, color 0.18s;
  margin-bottom: 6px;
}
.tag-filters a:hover, .tag-filters a:focus {
  background: #72B273;
  color: #fff;
}

/* ================= FOOTER =================== */
footer {
  background: #23497B;
  color: #fff;
  padding: 56px 0 28px 0;
  margin-top: 64px;
  position: relative;
  z-index: 5;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
}
.footer-menu {
  display: flex;
  gap: 22px;
  flex-direction: column;
  min-width: 160px;
  align-items: flex-start;
}
.footer-menu a {
  color: #F7E8C6;
  font-size: 1rem;
  opacity: .91;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 4px;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #72B273;
}
.branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.branding img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px #F7E8C677);
  background: #fff;
  border-radius: 50%;
  padding: 8px;
}
.branding span {
  font-size: .98rem;
  color: #F7E8C6;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .97rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 21px;
  height: 21px;
}

/* ========== TEXT/IMAGE SECTION ========== */
.text-section {
  font-size: 1.05rem;
  color: #23497B;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  margin: 12px 0 18px 0;
}
.text-section li {
  margin-bottom: 8px;
  color: #4D697F;
}
.text-section strong {
  color: #72B273;
}

/* ========== LINK STATES ========== */
a:focus-visible, .cta-button:focus-visible {
  outline: 3px dashed #FFBD2D;
  outline-offset: 2px;
}

/* ========== ANIMATIONS ========== */
.cta-button {
  animation: jumpy 2.4s infinite alternate;
}
@keyframes jumpy {
  0% { box-shadow: 0 3px 12px rgba(114,178,115,0.07); }
  70% { box-shadow: 0 7px 22px rgba(114,178,115,0.13); }
  100% { box-shadow: 0 6px 18px rgba(114,178,115,0.11); }
}

/* ========== LISTS, CONTACT CARDS, ETC. ========== */
ul {
  list-style: disc;
  margin-left: 22px;
}
uts ul, .contact-info ul, .footer-contact ul {
  list-style: none;
  margin: 0;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */
@media (max-width: 950px) {
  .feature-grid {
    gap: 24px 10px;
  }
  .feature-grid li {
    min-width: 170px;
    max-width: 48vw;
    padding: 16px 9px 16px 9px;
  }
}
@media (max-width: 768px) {
  body { font-size: 0.97rem; }
  .hero {
    min-height: 190px;
    padding: 22px 0 16px 0;
  }
  .hero h1 { font-size: 2.02rem; }
  .container {
    padding: 0 9px;
  }
  .feature-grid {
    gap: 16px;
  }
  .feature-grid li {
    min-width: 130px;
    max-width: 96vw;
    padding: 11px 4px 13px 4px;
    font-size: .98rem;
  }
  .card,
  .testimonial-card,
  .blog-list article {
    min-width: 88vw;
    max-width: 98vw;
  }
  .blog-list {
    gap: 7px;
  }
}
@media (max-width: 670px) {
  header .container {
    flex-direction: row;
    padding: 0 8px;
  }
  .footer-menu,
  footer .container {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .branding {
    align-items: flex-start;
    margin-bottom: 6px;
  }
  footer {
    padding: 32px 0 18px 0;
    margin-top: 44px;
  }
}
@media (max-width: 445px) {
  .section { padding: 16px 2vw !important;  }
  .feature-grid li {
    padding: 7px 2.5vw 5px 2vw;
  }
  .hero {
    padding: 4vw 0 0 0;
  }
}

/* ========== FLEX DIRECTION / COLUMN ON MOBILE ========== */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 98vw;
  max-width: 525px;
  background: #fff;
  color: #23497B;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -7px 28px 0 rgba(35,73,123,0.11);
  padding: 26px 23px 23px 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 290;
  opacity: 0;
  transition: transform 0.34s cubic-bezier(.62,.02,.29,1.21), opacity 0.15s;
  font-size: 1rem;
}
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cookie-banner h3 {
  margin-bottom: 8px;
  color: #23497B;
  font-size: 1.2rem;
  letter-spacing: -.3px;
  font-family: 'Montserrat',sans-serif;
}
.cookie-banner p { margin-bottom: 18px; }
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 7px;
  width: 100%;
}
.cookie-actions button, .cookie-actions .settings-btn {
  border-radius: 20px;
  padding: 7px 18px;
  font-size: .97rem;
  font-family: 'Montserrat',sans-serif;
  margin: 0;
  border: none;
}
.cookie-actions .accept-btn {
  background: #72B273;
  color: #fff;
}
.cookie-actions .accept-btn:hover {
  background: #23497B;
  color: #F7E8C6;
}
.cookie-actions .reject-btn {
  background: #fff;
  color: #23497B;
  border: 2px solid #23497B;
}
.cookie-actions .reject-btn:hover {
  background: #FFBD2D;
  color: #23497B;
}
.cookie-actions .settings-btn {
  background: #F7E8C6;
  color: #23497B;
}
.cookie-actions .settings-btn:hover {
  background: #72B273;
  color: #fff;
}

/* =========== COOKIE SETTINGS MODAL =========== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,73,123,0.25);
  z-index: 301;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.show {
  display: flex;
  animation: fadeIn 0.21s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 22px 24px;
  min-width: 280px;
  max-width: 100vw;
  box-shadow: 0 16px 48px 0 rgba(35,73,123,0.11);
  color: #23497B;
  font-family: 'Roboto',Arial,sans-serif;
  animation: slidePopUp 0.36s cubic-bezier(.58,.01,.36,1.1);
  position: relative;
}
@keyframes slidePopUp {
  0% { transform: translateY(80px) scale(0.97); opacity: .12; }
  70% { transform: translateY(-8px) scale(1.01); opacity: .97; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h4 {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: #23497B;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #F7E8C6;
  color: #23497B;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .close-btn:hover {
  background: #72B273;
  color: #fff;
}
.cookie-category {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-size: 1.01rem;
  font-weight: 600;
  color: #23497B;
  font-family: 'Montserrat',sans-serif;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #F7E8C6;
  border-radius: 30px;
  outline: none;
  border: 2.3px solid #72B273;
  position: relative;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.15s, border 0.16s;
}
.cookie-toggle:checked {
  background: #72B273;
  border-color: #23497B;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s;
}
.cookie-toggle:checked:before {
  left: 21px;
}

/* ========== UTILITIES ========== */
.hide-on-mobile { display: block; }
@media (max-width: 700px) {
  .hide-on-mobile { display: none !important; }
}

/* ========== COLORFUL & PLAYFUL HIGHLIGHTS ========== */
h1, h2, h3, h4, .cta-button, .hero .cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.section, .card-container, .card, .content-grid, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* PLAYFUL Background Accents */
body:before {
  content: '';
  position: fixed;
  z-index: 0;
  left: -170px;
  top: -85px;
  width: 340px;
  height: 340px;
  background: #F7E8C6;
  opacity: 0.38;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
  animation: floatLeft 13s infinite alternate;
}
body:after {
  content: '';
  position: fixed;
  z-index: 0;
  right: -120px;
  bottom: -95px;
  width: 260px;
  height: 260px;
  background: #72B273;
  opacity: 0.12;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(7px);
  animation: floatRight 17s infinite alternate;
}
@keyframes floatLeft {
  0% { transform: translateY(0) scale(1); }
  60% { transform: translateY(14px) scale(1.08); }
  100% { transform: translateY(22px) scale(1.06); }
}
@keyframes floatRight {
  0% { transform: translateY(0) scale(1); }
  80% { transform: translateY(-16px) scale(1.06); }
  100% { transform: translateY(-26px) scale(1.12); }
}

/* ==================== END ==================== */
