/* =========================
  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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #F6F7F9;
  color: #183059;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .17s, background .2s, border-color .2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width:100%;
  display:block;
  height:auto;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

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

/* =========================
  COLOR VARIABLES
==========================*/
:root {
  --color-primary: #183059;
  --color-secondary: #19A68C;
  --color-accent: #F6F7F9;
  --color-yellow: #FFE066;
  --color-pink: #FF62B2;
  --color-orange: #FFB166;
  --color-blue: #529DFF;
  --color-dark: #112042;
  --color-light: #ffffff;
  --color-shadow: rgba(30,30,60,0.07);
  --color-shadow-strong: rgba(30,30,60,0.13);
}

/* =========================
  GENERAL TYPOGRAPHY & HEADINGS
==========================*/
h1, .h1 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -1px;
  line-height: 1.16;
  margin-bottom: 16px;
  text-shadow: 1px 2px 0 var(--color-yellow), 0 2px 10px var(--color-shadow);
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 1px 1px 0 var(--color-accent);
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.22;
  text-shadow: 0 1px 0 var(--color-yellow);
}
p, li, .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-dark);
  margin-bottom: 12px;
  font-size: 1.05rem;
}
strong {
  color: var(--color-secondary);
}
.subheadline {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-pink);
  margin-bottom: 18px;
}

/* Fun & Playful Font for Some Accents */
.feature-icons li, .usp-list li {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
  font-weight: 900;
  color: var(--color-primary);
  font-size: 1.08rem;
}

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

/* =========================
  FLEX LAYOUTS (MANDATORY)
==========================*/
.feature-grid,
.team-grid,
.service-list,
.usp-list,
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.feature-grid li,
.service-list li,
.team-member {
  background: var(--color-light);
  border-radius: 24px;
  box-shadow: 0 4px 24px var(--color-shadow);
  padding: 24px 20px 18px 20px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.23s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
}
.team-grid {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.team-member {
  align-items: flex-start;
  min-width: 200px;
  box-shadow: 0 4px 20px var(--color-shadow);
}
.feature-icons, .usp-list {
  gap: 16px;
  padding-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-icons li, .usp-list li {
  background: var(--color-yellow);
  border-radius: 15px;
  padding: 7px 20px;
  margin-bottom: 0;
  color: var(--color-dark);
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: background .2s;
}

.feature-icons li:hover, .usp-list li:hover {
  background: var(--color-pink);
  color: var(--color-light);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 4px 20px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 15px;
  min-width: 220px;
  transition: transform .14s, box-shadow .22s;
  z-index: 1;
}
.card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 36px var(--color-shadow-strong);
}
.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-yellow);
  border-radius: 20px;
  box-shadow: 0 2px 18px var(--color-shadow);
  margin-bottom: 20px;
  width: 100%;
  max-width: 700px;
  flex-direction: column;
  color: var(--color-primary);
  position: relative;
}
.testimonial-card p {
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--color-primary);
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 4px;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
}
.info-block {
  background: var(--color-blue);
  color: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  margin-top: 18px;
  box-shadow: 0 2px 12px rgba(82,157,255,0.10);
}
.info-block h3 {
  color: var(--color-yellow);
  font-weight: 800;
  font-size: 1.13rem;
  margin-bottom: 10px;
}
.info-block ul li {
  color: #fff;
}

.confirmation {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

/* =========================
  HEADER & NAVIGATION
==========================*/
header {
  background: var(--color-light);
  box-shadow: 0 3px 24px var(--color-shadow);
  padding: 0;
  z-index: 100;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: 12px;
  transition: background 0.16s, color .16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-yellow);
  color: var(--color-secondary);
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 2px 16px var(--color-shadow);
  border-radius: 16px;
  padding: 10px 30px;
  font-size: 1.1rem;
  transition: background .13s, box-shadow .2s, transform .13s;
  display: inline-block;
  margin-left: 14px;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 0;
  letter-spacing: 0.05em;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-pink);
  color: #fff;
  box-shadow: 0 6px 24px var(--color-shadow-strong);
  transform: scale(1.07) rotate(-2deg);
}

/* Logo style tweaks for responsivity */
header img[alt="Entdeckergeist"] {
  height: 44px;
  width: auto;
  margin-right: 4px;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--color-pink);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  transition: background 0.15s;
  border: none;
  z-index: 200;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 89vw;
  max-width: 355px;
  height: 100vh;
  background: var(--color-light);
  box-shadow: -2px 0 40px var(--color-shadow-strong);
  padding: 34px 34px 32px 34px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.68,-.55,.27,1.55);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-yellow);
  color: var(--color-primary);
  font-size: 1.9rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  border: none;
  margin-bottom: 10px;
  transition: background .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-pink);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: var(--color-primary);
  padding: 10px 4px;
  border-radius: 11px;
  background: var(--color-accent);
  transition: background .19s, color .19s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* Main nav hides on mobile */
@media (max-width: 940px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* Hide mobile menu toggle at larger screens */
@media (min-width: 941px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Overlay for mobile menu (behind menu, optional fade)*/
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(24, 48, 89, 0.3);
  z-index: 380;
  transition: opacity .27s;
}
.mobile-menu.active ~ .mobile-menu-overlay {
  display: block;
  opacity: 1;
}

/* =========================
  HERO & CTA SECTION
==========================*/
.hero {
  background: linear-gradient(96deg, var(--color-yellow) 0%, var(--color-blue) 95%);
  padding: 56px 0 28px 0;
  margin-bottom: 32px;
  box-shadow: 0 8px 40px var(--color-shadow);
  border-bottom-right-radius: 64px 54px;
  position: relative;
  overflow-x: hidden;
}
.hero .container {
  align-items: center;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 14px;
  color: var(--color-primary);
  text-shadow: 1px 3px 0 var(--color-pink), 0 2px 15px var(--color-shadow);
  letter-spacing: -1.4px;
}
.hero .subheadline {
  font-size: 1.25rem;
  color: var(--color-dark);
  text-shadow: 0 2px 0 var(--color-accent);
}
.cta {
  background: var(--color-pink);
  border-radius: 38px;
  box-shadow: 0 7px 36px var(--color-shadow-strong);
  margin: 50px 0 0 0;
  padding: 42px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  color: #fff;
  text-shadow: 2px 2px 0 var(--color-orange);
}
.cta .cta-button {
  margin-top: 16px;
  background: var(--color-yellow);
  color: var(--color-primary);
  text-shadow: none;
  box-shadow: 0 3px 18px rgba(255, 98, 178, .17);
}
.cta .cta-button:hover, .cta .cta-button:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* =========================
  FEATURES SECTIONS
==========================*/
.features, .services {
  background: var(--color-accent);
  border-radius: 32px 0 32px 0;
  margin-bottom: 48px;
  box-shadow: 0 3px 24px var(--color-shadow);
}
.features .container, .services .container {
  justify-content: center;
}
.features h2, .services h2 {
  color: var(--color-secondary);
}
.feature-grid li:hover, .service-list li:hover {
  background: var(--color-yellow);
  box-shadow: 0 11px 26px var(--color-shadow-strong);
  transform: scale(1.025) rotate(-1.4deg);
}
.feature-grid li img {
  height: 34px;
  width: 34px;
  margin-bottom: 2px;
}

.service-list, .usp-list {
  gap: 16px;
  margin-top: 28px;
}
.service-list li {
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 22px 16px;
  min-width: 210px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  border-left: 7px solid var(--color-secondary);
  transition: box-shadow .18s, border-color .16s, background .16s, transform .13s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-list li:hover {
  border-color: var(--color-blue);
  background: var(--color-yellow);
}
.service-list strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.07rem;
  margin-top: 6px;
}

/* =========================
  ABOUT / LEGAL / INFO PAGES
==========================*/
.legal {
  background: var(--color-light);
  border-radius: 22px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 38px 18px;
  margin: 40px 0 40px 0;
}
.legal h1, .legal h2, .legal h3 {
  color: var(--color-primary);
}
.legal .text-section {
  margin-top: 15px;
}

.values ul li, .about ul li, .legal ul li {
  margin-bottom: 9px;
  font-size: 1.07rem;
}
.values ul {
  margin-top: 15px;
}

/* =========================
  FOOTER
==========================*/
footer {
  background: var(--color-primary);
  color: #fff;
  margin-top: 32px;
  border-radius: 38px 0 0 0;
  box-shadow: 0 -3px 28px var(--color-shadow-strong);
  padding-top: 36px;
  padding-bottom: 18px;
}
footer .container {
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--color-yellow);
  transition: color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-pink);
}
.footer-contact {
  font-size: 0.98rem;
  color: #fff;
  text-align: center;
  margin-top: 3px;
}

/* =========================
  COOKIE CONSENT BANNER
==========================*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-yellow);
  color: var(--color-primary);
  box-shadow: 0 -3px 34px var(--color-shadow-strong);
  z-index: 900;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  transition: transform .29s;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}
.cookie-consent-banner.hide {
  transform: translateY(140%);
}
.cookie-consent-banner p {
  margin: 0;
  color: var(--color-primary);
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border: none;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 1rem;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  transition: background .14s, color .14s, transform .16s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--color-pink);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-yellow);
  color: var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: scale(1.06) rotate(-2deg);
  background: var(--color-blue);
  color: #fff;
}

/* Cookie modal popup */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 80px var(--color-shadow), 0 1px 16px var(--color-secondary);
  min-width: 320px;
  max-width: 90vw;
  padding: 32px 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--color-primary);
  opacity: 1;
  transition: opacity .28s, transform .25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -38%) scale(0.9);
}
.cookie-modal h3 {
  font-size: 1.17rem;
  color: var(--color-secondary);
  margin-bottom: 11px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  padding: 6px 0;
}
.cookie-modal-category .toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: var(--color-accent);
  position: relative;
  cursor: pointer;
  transition: background .12s;
}
.cookie-modal-category .toggle.enabled {
  background: var(--color-secondary);
}
.cookie-modal-category .toggle-switch {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px var(--color-shadow);
  left: 0;
  transition: left .15s;
}
.cookie-modal-category .toggle.enabled .toggle-switch {
  left: 16px;
  background: var(--color-blue);
}
.cookie-modal-category .lock {
  color: var(--color-primary);
  margin-left: 6px;
  font-size: 1.12rem;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 22px;
  font-size: 1.5rem;
  background: var(--color-pink);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .15s;
}
.cookie-modal .close-modal:hover {
  background: var(--color-secondary);
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24,48,89,0.22);
  z-index: 990;
  display: flex;
}

/* =========================
  MICRO-INTERACTIONS & ANIMATION
==========================*/
.animated-bounce {
  animation: bounce 1.1s cubic-bezier(.42,0.01,0.51,1.58) infinite alternate;
}
@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
.section, .features, .services, .about, .cta, .hero, .testimonial-card, .card {
  animation: fadeInUp .8s cubic-bezier(.24,.8,.52,1) 0s 1 normal;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0,40px,0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================
  RESPONSIVE: FLEX-DIRECTION & SPACING
==========================*/
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 890px) {
  .container {
    max-width: 92vw;
  }
  .feature-grid, .service-list, .team-grid, .usp-list, .feature-icons, .content-grid {
    gap: 15px;
  }
  .feature-grid li, .service-list li, .team-member {
    min-width: 180px;
    padding: 18px 10px 14px 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .hero {
    padding: 32px 0 18px 0;
    border-bottom-right-radius: 34px 26px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 4px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .service-list {
    flex-direction: column;
    align-items: stretch;
  }
  .usp-list, .feature-icons {
    flex-direction: column;
    align-items: center;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 16px 7px;
  }
  .team-grid {
    flex-direction: column;
    gap: 15px;
  }
  .main-nav {
    display: none;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 520px) {
  .container, .hero .container {
    padding: 0 2px;
  }
  .main-nav {
    gap: 7px;
  }
  .cta-button {
    padding: 8px 15px;
    font-size: 1rem;
  }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 11px 4px;
    gap: 13px;
  }
}

/* =========================
  EXTRA UTILITIES & ENSURE SPACING
==========================*/
.section:not(:last-child),
.features:not(:last-child),
.services:not(:last-child),
.about:not(:last-child),
.legal:not(:last-child),
.cta:not(:last-child) {
  margin-bottom: 60px;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0.3em;
}

ul:not(.main-nav):not(.footer-nav):not(.mobile-nav), ol {
  margin-bottom: 12px;
  margin-top: 3px;
  padding-left: 0;
  list-style: none;
}

.info-block {
  margin-bottom: 24px;
}

/* Spacing between all cards */
.card + .card,
.testimonial-card + .testimonial-card,
.feature-grid li + li,
.service-list li + li,
.team-member + .team-member {
  margin-left: 0;
  margin-top: 20px;
}

.footer-contact p {
  color: white;
}
/***** END OF STYLE.CSS *****/
