/* 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 {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F7FA;
  color: #223C55;
  min-height: 100vh;
  word-break: break-word;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #6CB991;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #223C55;
  text-decoration: underline;
}
ul, ol {
  margin: 16px 0 16px 18px;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
}

/* FONT-SWAP */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #223C55;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
.subtitle, .subheadline {
  color: #6CB991;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 4px 20px rgba(34,60,85,0.05);
  border-radius: 0 0 24px 24px;
  margin-bottom: 0;
  z-index: 100;
  position: relative;
}
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
nav > a img {
  height: 44px;
  border-radius: 8px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
}
nav ul li {
  display: flex;
  align-items: center;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #223C55;
  font-size: 1rem;
  border-radius: 8px;
  padding: 7px 14px;
  transition: background 0.17s, color 0.17s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: #F4F7FA;
  color: #6CB991;
}
nav .btn-primary {
  margin-left: 28px;
}

/* SECTION SPACING */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 4px 36px 0 rgba(34,60,85,0.06);
}

@media (max-width: 768px) {
  section, .section {
    padding: 30px 8px;
    margin-bottom: 34px;
  }
}

/* HERO AREA */
.hero {
  background: linear-gradient(97deg, #FFF8F2 60%, #f4f7fa 100%);
  box-shadow: 0 2px 32px 0 rgba(108,185,145,0.04);
  padding-top: 64px;
  padding-bottom: 64px;
  margin-bottom: 60px;
  border-radius: 0 0 36px 36px;
}
.hero h1 {
  font-size: 2.6rem;
  color: #223C55;
  margin-bottom: 10px;
}
.hero .subheadline {
  font-size: 1.3rem;
  color: #6CB991;
  margin-bottom: 18px;
}
.hero .btn-primary {
  margin-top: 18px;
}
@media (max-width: 600px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 36px;
    border-radius: 0 0 18px 18px;
  }
  .hero h1 { font-size: 1.6rem; }
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  flex: 1 1 320px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 24px 0 rgba(34,60,85,0.13);
  padding: 26px 20px;
  transition: box-shadow 0.22s, transform 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 34px 0 rgba(34,60,85,0.17);
  transform: translateY(-4px) 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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* FEATURES */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF8F2;
  border-radius: 16px;
  padding: 28px 20px 22px;
  box-shadow: 0 2px 18px 0 rgba(255,188,116,0.06);
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 340px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-item img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(108,185,145,0.12);
}
.feature-item h3 {
  font-size: 1.27rem;
  color: #223C55;
}
.feature-item p {
  font-size: 1rem;
  color: #485A6C;
}
.feature-item:hover {
  box-shadow: 0 6px 18px #FFDFAF29;
  transform: translateY(-3px) scale(1.015);
}

/* SERVICE CARDS (Leistungen) */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.service-card {
  background: #FFF8F2;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(255,188,116,0.07);
  padding: 28px 24px 26px;
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.service-card h2 {
  color: #223C55;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.service-card p {
  color: #54646B;
  margin-bottom: 14px;
}
.service-card a {
  margin-top: auto;
  color: #6CB991;
  font-weight: 700;
  transition: color 0.18s;
  border-radius: 8px;
  padding: 7px 18px;
}
.service-card a:hover, .service-card a:focus {
  background: #6CB99111;
  color: #223C55;
}
.service-card img {
  height: 46px;
  width: 46px;
  border-radius: 10px;
  margin-bottom: 13px;
}
.service-card:hover {
  box-shadow: 0 7px 18px #FFDFAF45;
  transform: translateY(-3px) scale(1.022);
}
@media (max-width: 900px) {
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 22px;
  }
}

/* ABOUT/TEAM/PROCESS/APPROACH SECTIONS */
.text-section {
  font-size: 1.05rem;
  color: #354966;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section h2,
.text-section h3 {
  margin-top: 18px;
  color: #223C55;
}
.text-section ul {
  margin-left: 21px;
  color: #485A6C;
}
.text-section li {
  font-size: 1.01rem;
}
blockquote {
  border-left: 4px solid #6CB991;
  background: #FFF8F2;
  margin: 20px 0 18px 0;
  padding: 17px 18px 15px 28px;
  border-radius: 10px;
  color: #223C55;
  font-size: 1.15rem;
  font-style: italic;
}
blockquote span {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  color: #6CB991;
  font-style: normal;
}

/* TESTIMONIALS */
.testimonials .testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  margin-bottom: 20px;
  background: #F4F7FA;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(108,185,145,0.08);
  min-width: 260px;
  color: #223C55;
  font-size: 1.12rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card p {
  margin: 0;
  font-style: italic;
  flex: 1;
  color: #1A283B;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #6CB991;
  font-size: 1.01rem;
  margin-left: 10px;
  min-width: 120px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(34,60,85,0.10);
  transform: scale(1.016);
}
@media (max-width: 600px) {
  .testimonials .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 20px 12px;
  }
}

/* CTA SECTIONS */
.cta {
  background: #FFF8F2;
  box-shadow: 0 2px 22px 0 rgba(255,188,116,0.06);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  color: #223C55;
}
.cta p {
  margin-bottom: 18px;
  color: #354966;
}

/* THANK YOU SPECIAL CTA */
.cta-banner {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  font-size: 1.05rem;
  background: #6CB991;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 44px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 3px 12px 0 rgba(108,185,145,0.11);
  transition: background 0.2s, box-shadow 0.2s, transform 0.19s;
  margin: 0;
}
.btn-primary:hover, .btn-primary:focus {
  background: #223C55;
  color: #FFF8F2;
  box-shadow: 0 6px 28px 0 rgba(34,60,85,0.13);
  transform: translateY(-3px) scale(1.03);
}

.btn-secondary {
  display: inline-block;
  padding: 10px 22px;
  font-size: 1rem;
  background: #F4F7FA;
  color: #223C55;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 36px;
  border: 1.5px solid #6CB991;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border 0.15s;
  margin: 0 8px 0 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #6CB99110;
  border: 1.5px solid #223C55;
  color: #6CB991;
}

/* FOOTER */
footer {
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 16px rgba(34,60,85,0.06);
  margin-top: 48px;
  padding-top: 22px;
  color: #223C55;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #EFF3F8;
}
.footer-main > a img {
  height: 42px;
  border-radius: 8px;
  margin-bottom: 9px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}
footer nav a {
  color: #6CB991;
  font-size: 1rem;
  border-radius: 8px;
  padding: 5px 10px;
  transition: background 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: #F4F7FA;
  color: #223C55;
}
.contact-footer {
  font-size: 0.97rem;
  color: #354966;
  margin-top: 10px;
}
.contact-footer a {
  color: #223C55;
  text-decoration: underline;
}
footer p {
  margin-bottom: 7px;
}
@media (max-width: 850px) {
  .footer-main {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* POLICY/TEXT PAGES */
.policy .text-section h2 {
  font-size: 1.21rem;
  color: #223C55;
  margin-top: 18px;
}
.policy .text-section ul {
  margin-left: 22px;
}
.policy .text-section {
  color: #485A6C;
  font-size: 1.05rem;
}

/* SPECIAL SPACING & RESPONSIVE CARDS */
@media (max-width: 600px) {
  .card-container, .service-cards, .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .service-card, .feature-item {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px 8px;
  }
  .testimonials .testimonial-card { padding: 14px 4px; }
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #FFF8F2;
  color: #223C55;
  border: none;
  border-radius: 14px;
  font-size: 2.0rem;
  padding: 5px 12px 1px 12px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, box-shadow 0.18s;
  box-shadow: 0 1px 8px 0 rgba(34,60,85,0.05);
  z-index: 600;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #6CB991;
  color: #FFF8F2;
  outline: none;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 6px 0 34px 0 rgba(34,60,85,0.15);
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(0.4,0.2,0.2,1.0);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #223C55;
  border: none;
  font-size: 2.3rem;
  cursor: pointer;
  align-self: flex-end;
  margin: 16px 26px 0 0;
  border-radius: 12px;
  padding: 4px 12px;
  z-index: 1002;
  transition: background 0.16s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4F7FA;
  color: #6CB991;
}
.mobile-nav {
  width: 100%;
  padding: 28px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 14px 34px;
  font-size: 1.20rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 10px;
  color: #223C55;
  background: transparent;
  transition: background 0.2s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6CB99111;
  color: #6CB991;
}

@media (max-width: 1080px) {
  nav ul, nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1081px) {
  .mobile-menu,.mobile-menu-toggle {
    display: none !important;
  }
}

/* OVERLAY PREVENTION FOR MOBILE MENU */
.mobile-menu {
  box-shadow: 2px 0 32px 0 rgb(34 60 85 / 17%);
  border-radius: 0 22px 22px 0;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF8F2;
  color: #223C55;
  box-shadow: 0 -2px 24px 0 rgba(34,60,85,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 18px 24px 28px;
  font-size: 1.08rem;
  z-index: 2000;
  border-radius: 22px 22px 0 0;
  transition: transform 0.35s, opacity 0.26s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner p {
  flex: 1 1 250px;
  margin: 0;
  color: #223C55;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  font-size: 1.01rem;
  padding: 8px 18px;
  min-width: 120px;
}
.cookie-banner .btn-cookie-settings {
  background: #f4f7fa;
  color: #223C55;
  border: 1.5px solid #6CB991;
  border-radius: 36px;
  margin-left: 0;
  transition: background 0.18s, color 0.13s;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
}
.cookie-banner .btn-cookie-settings:hover, .cookie-banner .btn-cookie-settings:focus {
  background: #6CB99110;
  color: #6CB991;
  border-color: #223C55;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 18px 8px 18px 8px;
    font-size: 0.97rem;
 }
}

/* COOKIE MODAL (PREFERENCES) */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.96);
  background: #fff;
  color: #223C55;
  border-radius: 24px;
  box-shadow: 0 8px 44px 0 rgba(34,60,85,0.16);
  padding: 36px 30px;
  width: 95%;
  max-width: 420px;
  z-index: 3010;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.4,0.2,0.3,1), opacity 0.24s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #223C55;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 8px 2px;
  font-size: 1.04rem;
}
.cookie-modal .cookie-category label {
  margin-right: 16px;
  font-weight: 500;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 2px; left: 0; right: 0; bottom: 2px;
  background: #F4F7FA;
  border-radius: 24px;
  transition: background 0.18s;
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: #6CB991;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px 0 rgba(34,60,85,0.09);
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-category.essential .slider {
  background: #6CB991;
}
.cookie-modal .cookie-category.essential label {
  opacity: 0.68;
}
.cookie-modal .modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  min-width: 100px;
  font-size: 1.01rem;
}
.cookie-modal .btn-secondary {
  background: #f4f7fa;
  color: #223C55;
  border: 1.5px solid #6CB991;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 20px 5px;
    gap: 10px;
  }
}

/* GENERAL LIST & OL */
ol {
  margin-left: 21px;
}
ol li {
  margin-bottom: 9px;
}

/* ERROR/THANK YOU PAGE TEXT */
.thankyou .text-section p {
  font-size: 1.15rem;
  text-align: left;
  color: #223C55;
}
.thankyou h1 {
  font-size: 2.2rem;
  color: #223C55;
  margin-bottom: 18px;
}

/* FORMS (if any in the future) */
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* General micro-interactions */
button, .btn-primary, .btn-secondary, .btn-cookie-settings {
  transition: background 0.19s, color 0.16s, box-shadow 0.17s, transform 0.19s;
}

/* UTILITIES */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-40 { margin-bottom: 40px !important; }
.gap-24 { gap: 24px !important; }

/* Hide scroll on mobile-menu when open */
body.menu-open {
  overflow: hidden;
}

/* Accessibility and Outline */
a:active, button:active, .btn-primary:active, .btn-secondary:active {
  outline: 2.5px solid #6CB99146;
  outline-offset: 2px;
}

/* End of Styles */