/*
=======================================
  CSS RESET & NORMALIZE
=======================================
*/
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #FAFBFC;
  color: #24535C;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #205665;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4A7C2F;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  outline: none;
  border: none;
  background: none;
  box-shadow: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 700;
  color: #205665;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
strong { font-weight: 700; }
em { font-style: italic; }

/*
========================================
  PASTEL COLOR PALETTE
========================================
*/
:root {
  --primary: #205665;
  --secondary: #4A7C2F;
  --accent: #F5EEDC;
  --pastel-blue: #B3E6F9;
  --pastel-green: #D9F9CF;
  --pastel-purple: #E5D5F9;
  --pastel-pink: #F9DFF3;
  --pastel-yellow: #FBF4CC;
  --text-main: #24535C;
  --text-dark: #1B2F38;
  --text-light: #fff;
  --section-bg: #FAFBFC;
  --card-bg: #FCFEFA;
  --cta-bg: #BCDEE9;
  --cta-hover-bg: #A4D3E5;
  --shadow: 0 4px 32px rgba(108,108,164,0.10);
  --border-radius: 16px;
}

/*
========================================
  LAYOUT CONTAINERS & SPACING
========================================
*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.section,
.about,
.features,
.services,
.testimonials,
.contact,
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--border-radius);
}
@media (max-width: 768px) {
  .section,
  .about,
  .features,
  .services,
  .testimonials,
  .contact,
  .cta {
    padding: 28px 4vw;
    margin-bottom: 36px;
    border-radius: 14px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/*
========================================
  FLEXBOX LAYOUTS - Required Classes
========================================
*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  min-width: 260px;
  flex: 1 1 300px;
}
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 24px 0 rgba(76,118,137,0.09);
  margin-bottom: 20px;
  color: var(--text-main);
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-dark);
  margin-right: 0.8em;
  line-height: 1.5;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--text-main);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 12px 10px;
  }
  .testimonial-card blockquote {
    margin-right: 0;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*
========================================
  TYPOGRAPHY
========================================
*/
body,
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-main);
}
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  color: var(--secondary);
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}
h3 {
  color: var(--primary);
  font-size: 1.24rem;
  margin-bottom: 8px;
}
ul {
  padding-left: 0;
  margin-bottom: 6px;
  line-height: 1.7;
}
ul li,
ol li {
  margin-bottom: 10px;
}
ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}


.text-section {
  margin-bottom: 16px;
}
.text-section p {
  margin-bottom: 14px;
}
blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 14px;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 1rem;
  background: transparent;
}

/*
========================================
  HEADER, NAVIGATION & HERO
========================================
*/
header {
  background: linear-gradient(92deg, #B3E6F9 0%, #D9F9CF 100%);
  box-shadow: 0 2px 20px 0 rgba(60,82,120,0.07);
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 38px;
  width: auto;
  border-radius: 6px;
  transition: box-shadow 0.2s;
  box-shadow: 0 1px 6px 0 rgba(95,125,150,0.07);
}
.logo:hover img {
  box-shadow: 0 2px 14px 0 rgba(110,150,100,0.15);
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  color: #205665;
  border-radius: 8px;
  padding: 8px 13px;
  transition: background 0.17s, color 0.17s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.cta.primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: linear-gradient(90deg, #B3E6F9 0%, #F5EEDC 100%);
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.12rem;
  padding: 10px 28px;
  border-radius: 24px;
  box-shadow: 0 3px 16px rgba(32,86,101,.11);
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 16px;
  margin-top: 0;
  transition: background 0.3s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  letter-spacing: 0.2px;
  display: inline-block;
  text-align: center;
}
.cta.primary:hover,
.cta.primary:focus {
  background: linear-gradient(90deg, #D9F9CF 0%, #B3E6F9 100%);
  color: var(--primary);
  box-shadow: 0 6px 24px rgba(32,86,101,.13);
  transform: translateY(-2px) scale(1.035);
}

@media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 6px;
    font-size: 0.96rem;
  }
  .cta.primary {
    font-size: 1rem;
    padding: 8px 22px;
    margin-left: 8px;
  }
}
@media (max-width: 800px) {
  header .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 8px 4px;
  }
}
@media (max-width: 700px) {
  .main-nav,
  .cta.primary {
    display: none !important;
  }
  .logo img {
    height: 32px;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(97deg, #F9DFF3 0%, #FBF4CC 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 24px 0 rgba(186,210,227,0.10);
  margin-bottom: 48px;
  padding: 48px 0;
  position: relative;
  z-index: 1;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.hero .content-wrapper {
  max-width: 780px;
  background: rgba(255,255,255,0.62);
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(109,109,180,0.08);
  padding: 36px 32px;
}
@media (max-width: 900px) {
  .hero {
    padding: 22px 0 30px;
    min-height: 170px;
  }
  .hero .content-wrapper {
    padding: 22px 12px;
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: 112px;
    margin-bottom: 30px;
    border-radius: 10px;
  }
}

/*
========================================
  MOBILE MENU
========================================
*/
.mobile-menu-toggle {
  display: none;
  background: var(--cta-bg);
  color: var(--secondary);
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  padding: 6px 14px 10px 14px;
  margin-left: 18px;
  cursor: pointer;
  z-index: 1002;
  transition: background 0.17s;
  box-shadow: 0 3px 14px 0 rgba(56,146,146,0.04);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #b2ecc0;
  color: var(--primary);
  outline: 2px solid var(--secondary);
}
@media (max-width: 700px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(110deg, #FCFEFA 0%, #E5D5F9 100%);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 28px;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.77,.14,.3,1.08);
  box-shadow: 0 4px 40px 8px rgba(80,130,120,0.05);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--primary);
  font-size: 2.1rem;
  border: none;
  padding: 8px 22px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 14px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 40px;
  margin-top: 16px;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.24rem;
  font-weight: 500;
  padding: 13px 0;
  transition: color 0.17s, text-decoration 0.17s;
  border-radius: 8px;
  width: 82vw;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--primary);
  background: #D9F9CF;
  text-decoration: underline;
  outline: none;
}
@media (max-width: 420px) {
  .mobile-nav {
    margin-left: 12px;
    margin-top: 10px;
    gap: 8px;
  }
  .mobile-nav a {
    font-size: 1.04rem;
    width: 94vw;
    padding: 9px 0;
  }
}

/* Help block background flicker on mobile */
html, body {
  background: #FCFEFA;
  min-height: 100vh;
}

/*
========================================
  CARDS, LISTS, SERVICES
========================================
*/
ul,
ol {
  margin-left: 18px;
  margin-bottom: 0;
}
.features ul,
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features ul li,
.services ul li {
  background: #FFF;
  border-left: 6px solid var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 13px rgba(170,210,200,0.03);
  padding: 18px 18px 16px 24px;
  min-width: 220px;
  max-width: 390px;
  color: var(--secondary);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  transition: box-shadow 0.18s, border-color 0.15s;
  margin-bottom: 0;
}
.features ul li:hover,
.services ul li:hover {
  border-color: var(--pastel-green);
  box-shadow: 0 4px 20px rgba(120,200,170,0.09);
}
@media (max-width: 600px) {
  .features ul,
  .services ul {
    flex-direction: column;
    gap: 12px;
  }
  .features ul li,
  .services ul li {
    min-width: 0;
    max-width: 100%;
    padding: 15px 10px 10px 13px;
    border-radius: 9px;
  }
}

.wussten-sie-schon-box,
.nachhaltigkeit-box {
  background: var(--pastel-yellow);
  border-radius: 12px;
  box-shadow: 0 1px 9px rgba(250,223,220,0.08);
  padding: 18px 16px 12px 18px;
  margin-top: 12px;
  margin-bottom: 10px;
  color: var(--secondary);
}


/*
========================================
  FOOTER
========================================
*/
footer {
  background: linear-gradient(92deg, #E5D5F9 0%, #FBF4CC 100%);
  color: var(--primary);
  border-radius: 28px 28px 0 0;
  padding: 32px 0 12px 0;
  margin-top: 24px;
  box-shadow: 0 -2px 22px 0 rgba(180,190,220,0.08);
}
.footer-menu {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: var(--primary);
  font-size: 1.03rem;
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: #D9F9CF;
  color: var(--secondary);
  text-decoration: underline;
}
.address, .email, .hours {
  text-align: center;
  margin: 5px auto 0 auto;
  color: var(--primary);
  font-size: 0.98rem;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

/*
========================================
  CTA BANNER & BUTTONS
========================================
*/
.cta {
  background: var(--cta-bg);
  padding: 32px 16px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  box-shadow: 0 2px 12px rgba(132,176,205,0.06);
}
.cta.primary {
  background: linear-gradient(90deg, #B3E6F9 0%, #FAE7D2 100%);
  color: #205665;
  font-size: 1.15rem;
  font-weight: bold;
  border: none;
  border-radius: 24px;
  padding: 13px 32px;
  box-shadow: 0 3px 13px rgba(90,140,150,0.10);
  transition: background 0.25s, color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.cta.primary:hover,
.cta.primary:focus {
  background: linear-gradient(90deg, #F9DFF3 0%, #D9F9CF 100%);
  color: var(--secondary);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 7px 18px rgba(100,180,160,0.14);
}

/*
========================================
  COOKIE CONSENT BANNER/MODAL
========================================
*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #F9DFF3 0%, #FBF4CC 100%);
  color: #205665;
  box-shadow: 0 -4px 24px 1px rgba(192,183,205,0.10);
  padding: 18px 24px 24px 24px;
  z-index: 3000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  border-radius: 18px 18px 0 0;
  animation: cookie-slidein 0.65s cubic-bezier(.7,1,.5,1);
}
@keyframes cookie-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  margin: 0 0 8px 0;
  color: #24535C;
  flex: 1 1 100px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 16px;
  padding: 9px 18px;
  cursor: pointer;
  background: #B3E6F9;
  color: #205665;
  margin-top: 4px;
  margin-right: 3px;
  transition: background 0.18s, color 0.18s, transform 0.13s, box-shadow 0.14s;
  box-shadow: 0 2px 8px rgba(179,230,249,0.09);
}
.cookie-btn.accept {
  background: var(--pastel-green);
  color: var(--secondary);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #AEE99C;
  color: #155918;
  transform: scale(1.03);
}
.cookie-btn.reject {
  background: #F9DFF3;
  color: #CD2077;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #F6C6EC;
  color: #A71F64;
  transform: scale(1.03);
}
.cookie-btn.settings {
  background: var(--pastel-blue);
  color: #1b5560;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #B3E6F9;
  color: var(--secondary);
  transform: scale(1.03);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 320px;
  width: clamp(320px, 90vw, 516px);
  background: linear-gradient(99deg, #FCFEFA 0%, #E5D5F9 100%);
  color: #205665;
  border-radius: 24px;
  box-shadow: 0 8px 48px rgba(130,150,160,0.18);
  z-index: 3200;
  padding: 34px 22px 26px 22px;
  transform: translate(-50%, -61%) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.0);
  animation: cookie-modal-in .45s cubic-bezier(.7,1,.5,1);
}
@keyframes cookie-modal-in {
  from { transform: translate(-50%, -70%) scale(0.9); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1.0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.13rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.cookie-modal ul {
  margin-left: 18px;
}
.cookie-modal li {
  margin-bottom: 9px;
  font-size: 0.99rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.cookie-modal .toggle {
  width: 38px;
  height: 22px;
  background: #dddfe9;
  border-radius: 22px;
  position: relative;
  transition: background 0.15s;
}
.cookie-modal .toggle.on {
  background: #AEE99C;
}
.cookie-modal .toggle-ball {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(80,70,100,.10);
  transition: left 0.17s;
}
.cookie-modal .toggle.on .toggle-ball {
  left: 19px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px; right: 16px;
  background: none;
  border: none;
  color: #205665;
  font-size: 1.6rem;
  cursor: pointer;
}
@media (max-width: 600px) {
  .cookie-modal {
    left: 50%; top: 8vh;
    transform: translate(-50%, 0) scale(1);
    width: 98vw;
    padding: 20px 6px 16px 8px;
    min-width: unset;
    max-width: 460px;
  }
  .cookie-modal.open {
    top: 10vh;
    transform: translate(-50%, 0) scale(1);
  }
}

/*
========================================
  RESPONSIVE LOOP/UTILITIES
========================================
*/
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero .content-wrapper { padding: 18px 8px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.06rem; }
  .section, .about, .services, .features, .testimonials, .contact, .cta {
    margin-bottom: 22px;
    padding: 16px 0.5vw;
    border-radius: 9px;
  }
  .card,
  .testimonial-card {
    padding: 10px 4vw;
    border-radius: 7px;
  }
  .cta.primary {
    padding: 8px 16px;
  }
}

/*
========================================
  UTILITY & MICRO-INTERACTIONS
========================================
*/
::-webkit-input-placeholder { color: #B5BBC1; opacity: 1; }
::-moz-placeholder { color: #B5BBC1; opacity: 1; }
:-ms-input-placeholder { color: #B5BBC1; opacity: 1; }
::placeholder { color: #B5BBC1; opacity: 1; }

/* subtle card hover */
.card:hover, .features ul li:hover, .services ul li:hover {
  box-shadow: 0 6px 22px 0 rgba(90,186,190,0.14);
  border-left-color: #B3E6F9;
  transition: box-shadow 0.21s, border-color 0.15s;
}

/* FAQ links */
.faq-links p {
  background: #F9DFF3;
  color: #205665;
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Distinct blocks */
.contact .text-section a {
  color: #4A7C2F;
  text-decoration: underline;
}
.contact .text-section a:hover { color: #205665; }

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

/***********************************
    ACCESSIBLE FOCUS STATES
***********************************/
a:focus, button:focus, .cta.primary:focus, .cookie-btn:focus {
  outline: 2px solid #205665;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #B3E6F9;
}

/* End of Styles */
