/* 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,main,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 {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF;
  color: #20476A;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
input,textarea,select {
  font-family: inherit; font-size: 1rem;
}

/* VARIABLES as fallbacks */
:root {
  --color-primary: #20476A;
  --color-secondary: #48B969;
  --color-accent: #E9F9F4;
  --color-dark: #1B2B3A;
  --color-text: #20476A;
  --color-muted: #C5D0DB;
  --color-white: #FFFFFF;
  --color-shadow: rgba(32,71,106,0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-1: 0 2px 8px var(--color-shadow);
  --transition: 0.2s cubic-bezier(.48,.12,.36,1.28);
}

/*************** TYPOGRAPHY ***************/
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-dark);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.17;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
  line-height: 1.22;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

p,li,blockquote {
  font-size: 1rem;
  color: var(--color-text);
}
strong { font-weight: 700; }

blockquote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-dark);
  margin-bottom: 10px;
  margin-top: 0;
}

.text-section ul,
.benefits ul,
.anwendungsbeispiele ul,
.pricing-overview ul {
  margin-top: 12px;
  padding-left: 1.2em;
  list-style: disc;
}
.text-section ul li,
.benefits ul li,
.anwendungsbeispiele ul li,
.pricing-overview ul li,
.faq-section ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/*************** CONTAINER & LAYOUT ***************/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/****** FLEXBOx layouts (no grid nor columns) ******/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-1);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 22px 0 rgba(32,71,106,0.13);
  transform: translateY(-3px) scale(1.015);
}

.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;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  margin-bottom: 24px;
  min-width: 0;
  flex: 1 1 0;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 22px 0 rgba(32,71,106,0.16);
  transform: translateY(-2px) scale(1.01);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*********** HEADER NAVIGATION ***********/
header {
  background: var(--color-white);
  box-shadow: 0 2px 12px 0 rgba(32,71,106,0.06);
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  position: relative;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.15s, color 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/******** CTA PRIMARY BUTTON ********/
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--radius);
  background: var(--color-secondary);
  color: #fff;
  border: none;
  box-shadow: 0 3px 16px 0 rgba(72,185,105,0.07);
  outline: none;
  cursor: pointer;
  transition: box-shadow var(--transition), background var(--transition), transform var(--transition);
}
.cta-primary:hover, .cta-primary:focus {
  background: #36a057;
  box-shadow: 0 6px 22px 0 rgba(72,185,105,0.13);
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}

/************ HERO & ACCENTS ************/
.hero-section, .thank-you-section {
  background: var(--color-accent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
}
.hero-section .container, .thank-you-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section .content-wrapper, .thank-you-section .content-wrapper {
  align-items: center;
  text-align: center;
}

.accent-bg {
  background: var(--color-accent);
}

/******* FLEX-LAYOUT FEATURE SECTIONs ******/
.features-section .feature-grid, .features-section ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.features-section .feature-grid li {
  flex: 1 1 260px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 28px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.features-section .feature-grid li:hover {
  box-shadow: 0 8px 22px 0 rgba(32,71,106,0.13);
  transform: translateY(-4px) scale(1.015);
}
.features-section .feature-grid img {
  width: 48px; height: 48px;
  margin-bottom: 8px;
}

/************* SERVICES SECTION **************/
.services-section .service-teasers,
.services-section .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.services-section .service-teasers > div,
.services-section .service-list > li {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  flex: 1 1 220px;
  min-width: 230px;
  padding: 22px 18px 16px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.services-section .service-teasers > div:hover,
.services-section .service-list > li:hover {
  box-shadow: 0 8px 30px 0 rgba(32,71,106,0.12);
  transform: translateY(-3px) scale(1.012);
}

/************** FAQ ACCORDION *************/
.faq-section .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.faq-accordion > div {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 18px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.faq-accordion > div:hover {
  box-shadow: 0 8px 20px 0 rgba(32,71,106,0.11);
  transform: translateY(-2px);
}
.faq-accordion h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

/************** BENEFIT & OTHER FLEX GRIDS ************/
.benefits, .anwendungsbeispiele, .pricing-overview {
  margin-top: 26px;
}
.benefits-grid, .camp-activities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.benefits-grid > div, .camp-activities-grid > div {
  background: var(--color-accent);
  border-radius: var(--radius);
  padding: 22px 18px 18px 18px;
  min-width: 200px;
  flex: 1 1 230px;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: none;
}
.benefits-grid > div:hover, .camp-activities-grid > div:hover {
  background: #d6f3e7;
  box-shadow: var(--shadow-1);
  transform: translateY(-2px);
}

/*************** CONTACT DETAILS FLEX ***************/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--color-accent);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.contact-details img {
  width: 22px; height: 22px; margin-right: 7px; vertical-align: middle;
}
.location-map {
  margin-top: 18px;
  background: #F8F8FB;
  border-radius: var(--radius);
  padding: 17px 18px;
  font-size: 0.96em;
  color: #555;
  font-style: italic;
}

/************* FOOTER STYLES **************/
footer {
  background: #F8F8FB;
  border-top: 1px solid #e9eef2;
  padding: 34px 0 20px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-menu a {
  color: var(--color-primary);
  opacity: 0.9;
  transition: color 0.13s, opacity 0.15s;
  font-weight: 500;
  font-size: 1rem;
}
.footer-menu a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #425473;
  font-size: 0.99rem;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
}
.footer-logo img {
  height: 49px;
  margin-top: 12px;
  opacity: 0.88;
}

/******** TESTIMONIALS SECTION *********/
.testimonials-section {
  padding: 40px 0;
}
.testimonials-section .content-wrapper {
  gap: 2px;
}
.testimonials-section h2 {
  margin-bottom: 25px;
  text-align: left;
}
.testimonial-card p {
  color: #3F475E;
  margin-top: 6px;
  font-size: 1em;
}

/************ CTA SECTION ************/
.cta-section {
  text-align: center;
  margin: 64px 0 40px 0;
}
.cta-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-section .content-wrapper {
  align-items: center;
}

/************ UTILITY CLASSES *********/
.accent-text { color: var(--color-secondary); }
.muted-text { color: var(--color-muted); }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow-1); }

/************ RESPONSIVE *********** */
@media (max-width: 1024px) {
  .main-nav ul { gap: 12px; }
  .footer-logo img { height: 42px; }
  .features-section .feature-grid, .services-section .service-teasers, .services-section .service-list, .benefits-grid, .camp-activities-grid {
    gap: 18px;
  }
  .container { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .services-section .service-teasers, .services-section .service-list {
    flex-direction: column;
  }
  .benefits-grid, .camp-activities-grid {
    flex-direction: column;
  }
  .main-nav ul { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 768px) {
  .section { margin-bottom: 36px; padding: 30px 10px; }
  .container { padding-left: 7px; padding-right: 7px; }
  .content-wrapper {
    gap: 16px;
  }
  .features-section .feature-grid,
  .services-section .service-teasers,
  .services-section .service-list,
  .benefits-grid,
  .camp-activities-grid {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav {
    flex-direction: row;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .main-nav ul {
    display: none;
  }
  .cta-primary {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .hero-section, .thank-you-section {
    padding: 30px 0 25px 0;
    margin-bottom: 25px;
  }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.05rem; }
  .testimonial-card { padding: 13px 11px; font-size: 1rem; }
  .faq-accordion > div { padding: 12px 9px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 15px; }
}
@media (max-width: 520px) {
  .footer-contact p, .footer-menu a {
    font-size: 0.89rem;
  }
  .footer-logo img {
    height: 32px;
  }
  .faq-accordion > div { font-size: 0.97em; }
}

/******************* MOBILE MENU ************************/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 19px;
  top: 19px;
  width: 42px;
  height: 42px;
  background: var(--color-secondary);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  z-index: 110;
  border: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #36a057;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: var(--color-white);
  z-index: 120;
  transform: translateX(100vw);
  transition: transform 0.4s cubic-bezier(.48,.12,.36,1.28);
  opacity: 1;
  box-shadow: 0 2px 24px 0 rgba(32,71,106,0.08);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  right: 22px;
  top: 22px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  width: 42px;
  height: 42px;
  z-index: 130;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  background: #36a057;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 100px 38px 38px 38px;
  height: 100vh;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 10px 4px;
  border-radius: 7px;
  transition: color 0.13s, background 0.16s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav ul {
    display: none;
  }
}

/******************* COOKIE CONSENT BANNER *******************/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 199;
  background: var(--color-white);
  box-shadow: 0 -4px 24px 0 rgba(32,71,106,0.09);
  border-top: 1px solid #e2e9ee;
  padding: 20px 5vw 20px 5vw;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  opacity: 1;
  animation: cookie-slidein 0.39s cubic-bezier(0.56, 0.17, 0.53, 1.01);
}
@keyframes cookie-slidein {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner p {
  color: var(--color-text);
  font-size: 1em;
  flex: 1 1 200px;
}
.cookie-btn, .cookie-btn-settings {
  padding: 9px 22px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color 0.16s, box-shadow 0.18s;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #36a057;
}
.cookie-btn.reject {
  background: #e8eaea;
  color: #20476A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d1d5db;
  color: #20476A;
}
.cookie-btn-settings {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #d6f3e7;
  color: #20476A;
}

@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
    padding: 17px 6vw;
  }
  .cookie-banner .cookie-buttons{
    gap: 9px;
  }
}

/****** COOKIE SETTINGS MODAL *****/
.cookie-modal-backdrop {
  position: fixed;
  z-index: 210;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,71,106,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  animation: modal-fade-in 0.22s cubic-bezier(.48,.12,.36,1.28);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 310px;
  width: 98vw;
  max-width: 380px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 68px 0 rgba(32,71,106,0.18);
  padding: 32px 28px 34px 28px;
  position: relative;
  z-index: 211;
  animation: modal-fade-in 0.23s cubic-bezier(.36,.96,.47,.79);
}
.cookie-modal h3 {
  font-size: 1.2em;
  color: var(--color-primary);
  margin-bottom: 7px;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  right: 18px; top: 12px;
  background: #e4efec;
  color: #20476A;
  border-radius: 7px;
  border: none;
  font-size: 1.25em;
  padding: 7px 15px 7px 15px;
  transition: background 0.11s, color 0.14s;
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus{
  background: #d1d5db;
  color: var(--color-secondary);
}
.cookie-modal label {
  font-size: 1em;
  padding: 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px; height: 18px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-modal .cookie-cat[disabled] {
  opacity: 0.55;
}
.cookie-modal .cookie-cat span {
  font-weight: 600; font-size: 1em;
}
.cookie-modal .cookie-modal-description{
  color: #477;
  font-size: 0.98em;
  margin-bottom: 14px;
  margin-top: -5px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 11px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  flex: 1 1 0;
}

/********** MISC: THANK YOU & ETC. ************/
.thank-you-section {
  min-height: 380px;
}

/********** VISUAL: SUBTLE SHADOWS, WHITE SPACE ************/
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media(max-width:850px){
  section { margin-bottom: 33px; padding: 20px 0; }
}

/********* A11Y: FOCUS RING *************/
a:focus, button:focus, .cta-primary:focus, .cookie-btn:focus,
.cookie-btn-settings:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Hide visually but keep accessibility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
