/*
  Grünblick Hamburg CSS – Warm & Friendly Theme
  Modern, friendly, warm, approachable, fully flexbox-based responsive design
  Brand Colors: #235C37 (primary), #EEF3EC (secondary), #8DAA56 (accent), #64772E (accent/category)
  Fonts: Montserrat (display), Roboto (body)
*/

/* =========================
   0. CSS RESET & BASELINE
   ========================= */
/** Simple CSS Reset / Normalize **/
html {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  background: #EEF3EC;
  color: #263614;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
a {
  color: #235C37;
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #8DAA56;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #235C37;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.16; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p, ul, ol {
  margin-top: 0;
  margin-bottom: 18px;
}
strong {
  color: #64772E;
}
ul, ol {
  padding-left: 20px;
}
li {
  margin-bottom: 10px;
}

subheadline, .subheadline {
  font-size: 1.18rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #263614;
  opacity: 0.82;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

/* ==========
   1. CONTAINER AND FLEX BASICS
   ========== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* so children get their own layout */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0; /* vertical stacking for content */
  width: 100%;
}

/* ===================
   2. HEADER & NAVBAR
   =================== */
header {
  background: #FFFFFF;
  padding: 0;
  border-bottom: 1px solid #E8ECDE;
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 30px;
  position: relative;
}
header img {
  height: 44px;
  border-radius: 12px;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  color: #235C37;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 15px;
  border-radius: 7px;
  transition: background 0.14s, color 0.13s;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EEF3EC;
  color: #64772E;
}
.btn-primary {
  background: #8DAA56;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 11px 30px;
  border-radius: 36px;
  border: none;
  transition: background 0.18s, box-shadow 0.22s, color 0.13s;
  text-decoration: none;
  margin-left: 18px;
  display: inline-block;
  box-shadow: 0 2px 10px 0 rgba(141,170,86,0.10);
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #64772E;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(35,92,55,0.13);
}

/* Hamburger Button */
.mobile-menu-toggle {
  background: #f6ede2;
  color: #235C37;
  font-size: 2.2rem;
  padding: 5px 18px;
  border: none;
  border-radius: 18px;
  display: none;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, box-shadow 0.19s;
  z-index: 250;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #8DAA56;
  color: #fff;
  box-shadow: 0 1px 10px 0 rgba(141,170,86,0.08);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff8ed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.5,1.55,.42,1);
  box-shadow: 0 2px 26px rgba(80,80,65,0.11);
  padding: 26px 32px 0 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #235C37;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  align-self: flex-end;
  margin-bottom: 23px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(35,92,55,0.18);
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #8DAA56;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #235C37;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 0 13px 5px;
  border-radius: 9px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EEF3EC;
  color: #64772E;
}

/* Hide main nav on mobile, show burger */
@media (max-width: 1024px) {
  .main-nav, header .btn-primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============== 3. HERO ===================== */
.hero {
  background: linear-gradient(94deg, #EEF3EC 65%, #f3e5cf 100%);
  padding: 0;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 8px 42px 0 rgba(141,170,86,0.06);
  margin-bottom: 60px;
}
.hero .container {
  min-height: 350px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 44px;
  padding-bottom: 44px;
}
.hero h1 {
  color: #235C37;
  font-size: 2.4rem;
  margin-bottom: 15px;
}
.hero .subheadline {
  color: #263614;
  font-size: 1.18rem;
  max-width: 600px;
}
.hero .btn-primary {
  margin-top: 24px;
}

/* =====================
   4. SECTION AND SPACING
   ===================== */
section {
  background: #FFFFFF;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 28px 0 rgba(141,170,86,0.06);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =======================
   5. FEATURE & CARD LAYOUT
   ======================= */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.feature-item {
  background: #F8F3EB;
  border-radius: 18px;
  padding: 30px 24px 24px 24px;
  box-shadow: 0 3px 16px rgba(35,92,55,0.07);
  flex: 1 1 240px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.13s;
  border: 1px solid #E8ECDE;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 36px 0 rgba(141,170,86,0.16);
  transform: translateY(-4px) scale(1.015);
}
.feature-item img {
  height: 42px;
  background: #FFFFFF;
  border-radius: 9px;
  padding: 5px;
}
.feature-item h3 {
  margin-bottom: 5px;
}

.card-container, .card-grid, .testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card, .testimonial-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;
}
@media (max-width: 768px) {
  .features .feature-grid,.card-container,.card-grid,.testimonial-slider,.testimonial-list,.content-grid,.text-image-section{
    flex-direction: column;
    gap: 18px;
  }
}

.card, .article, .snippet {
  background: #F8F3EB;
  border-radius: 16px;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 3px 16px rgba(35,92,55,0.07);
  border: 1px solid #E8ECDE;
  transition: box-shadow .19s, transform .13s;
  margin-bottom: 20px;
}
.card:hover, .card:focus,
.article:hover, .article:focus, .snippet:hover, .snippet:focus {
  box-shadow: 0 7px 27px 0 rgba(141,170,86,0.13);
  transform: translateY(-2px) scale(1.012);
}

.highlighted-article {
  background: #fffbe0;
  border-radius: 14px;
  padding: 22px 16px;
  box-shadow: 0 2px 13px 0 rgba(100,119,46,0.09);
  margin-top: 14px;
  margin-bottom: 20px;
}

.service-list, .workshop-list, .category-list, .benefits-list, .usp-list, .faq-list, .mini-faq-list {
  padding-left: 24px;
  margin-bottom: 24px;
  font-size: 1.07rem;
  color: #295d36;
}
.recent-articles-list {
  margin-bottom: 18px;
}

/* =========================
   6. TESTIMONIAL CARDS
   ========================= */
.testimonials, .testimonial-highlights {
  background: #F2EFEB;
  box-shadow: 0 2px 24px 0 rgba(100,119,46,0.07);
}
.testimonials .container {
  gap: 0;
}
.testimonial-slider, .testimonial-list {
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(35,92,55,0.08);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  max-width: 480px;
  border: 1px solid #EEF3EC;
  transition: box-shadow 0.15s, border 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(141,170,86,0.18);
  border-color: #8DAA56;
}
.testimonial-card p {
  color: #235C37;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  color: #493720;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.73;
  margin-left: 0;
}

/* =========================
   7. FORMS / CTA / BUTTONS
   ========================= */
.cta {
  background: #235C37;
  color: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 4px 28px 0 rgba(35,92,55,0.11);
  text-align: center;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .btn-primary {
  background: #fff;
  color: #235C37;
  font-weight: 700;
  border: 2px solid #8DAA56;
  margin-top: 18px;
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #EEF3EC;
  color: #8DAA56;
}

/* ===================
   8. FOOTER
   =================== */
footer {
  background: #235C37;
  color: #fff;
  padding: 32px 0 0 0;
  border-radius: 32px 32px 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 20px 16px 20px;
}
.footer-links, .brand-info, .social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links {
  align-items: flex-start;
}
.footer-links a {
  color: #fff;
  opacity: 0.78;
  text-decoration: none;
  font-size: 1rem;
  padding: 3px 4px;
  border-radius: 4px;
  transition: background 0.13s, color 0.13s;
}
.footer-links a:hover, .footer-links a:focus {
  background: #8DAA56;
  color: #fff;
  opacity: 1;
}
.brand-info img {
  height: 38px;
  margin-bottom: 4px;
  border-radius: 10px;
}
.brand-info p {
  margin-bottom: 0;
  color: #FFE;
  opacity: 0.8;
  font-size: 0.975rem;
}
.social-links {
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}
.social-links a img {
  height: 28px;
  background: #fffbe0;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 1px 8px rgba(100,119,46,0.1);
  transition: background 0.14s;
}
.social-links a:hover img {
  background: #8DAA56;
}

@media (max-width: 820px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-links, .brand-info, .social-links {
    align-items: flex-start;
    width: 100%;
  }
}

/* ===================
   9. ABOUT & LEGAL
   =================== */
.legal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 28px rgba(100,119,46,0.09);
}
.usp-list, .faq-list, .mini-faq-list, .benefits-list, .category-list {
  list-style: disc inside;
  accent-color: #8DAA56;
  color: #263614;
}
.usp-list li, .faq-list li, .mini-faq-list li, .benefits-list li, .category-list li {
  margin-bottom: 8px;
}
.team-bios, .exclusive-article-snippets, .featured-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
}
.team-member {
  background: #F8F3EB;
  border-radius: 14px;
  padding: 18px 14px;
  flex: 1 1 180px;
  min-width: 165px;
  max-width: 280px;
  box-shadow: 0 2px 14px 0 rgba(35,92,55,0.06);
  margin-bottom: 12px;
}
.city-connection {
  margin-top: 18px;
  background: #fffbe0;
  border-radius: 10px;
  padding: 14px 10px;
  color: #35561d;
}

/* =====================
   10. CONTACT & MAP
   ===================== */
.address-details, .phone-email, .business-hours {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #F8F3EB;
  padding: 10px 15px;
  border-radius: 11px;
  margin-bottom: 10px;
  font-size: 1.09rem;
  color: #263614;
}
.embedded-map {
  background: #fffbe0;
  padding: 16px 14px;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(100,119,46,0.07);
  margin-bottom: 15px;
}
.transport-options ul {
  margin: 0 0 0 22px;
  padding-left: 0;
}

/* ===========================
   11. RESPONSIVE
   =========================== */
@media (max-width: 700px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.21rem; }
  .hero .container {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .content-wrapper {
    gap: 0;
  }
  section { padding: 26px 9px; border-radius: 18px; }
  .section { padding: 26px 9px; }
  .features .feature-grid, .card-container, .card-grid, .testimonial-slider,
  .testimonial-list, .content-grid, .text-image-section, .team-bios,
  .exclusive-article-snippets, .featured-articles {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item, .team-member, .testimonial-card, .article, .snippet {
    padding: 16px 8px;
    min-width: unset;
    max-width: unset;
    font-size: 1rem;
  }
  .testimonial-card { padding: 15px; }
}

@media (max-width: 480px) {
  .container { padding-left: 4px; padding-right: 4px; }
  .btn-primary { font-size: 0.92rem; padding: 9px 18px; }
  .mobile-menu { padding: 14px 12px 0 11px; }
}

/* ===================
   12. ANIMATION & MICRO-INTERACTION
   =================== */
section, .card, .feature-item, .testimonial-card, .article, .snippet {
  transition: box-shadow 0.22s, background 0.17s, transform 0.14s;
}
.btn-primary {
  transition: background 0.17s, color 0.12s, box-shadow 0.16s, border 0.16s;
}

/* =============================
   13. COOKIE CONSENT BANNER
   ============================= */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe0;
  box-shadow: 0 -2px 18px 0 rgba(100,119,46,0.13);
  padding: 20px 18px;
  z-index: 30000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  border-radius: 24px 24px 0 0;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
#cookie-banner p {
  margin: 0 22px 0 0;
  color: #263614;
}
#cookie-banner .cookie-btn {
  background: #8DAA56;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 7px 24px;
  margin-right: 10px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 0;
  box-shadow: 0 2px 10px 0 rgba(100,119,46,0.11);
  transition: background 0.13s, box-shadow 0.17s, color 0.13s;
}
#cookie-banner .cookie-btn:hover, #cookie-banner .cookie-btn:focus {
  background: #64772E;
  color: #fff;
}
#cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #64772E;
  border: 2px solid #8DAA56;
  margin-right: 0;
  transition: background .14s, color .13s, border .12s;
}
#cookie-banner .cookie-settings-btn:hover, #cookie-banner .cookie-settings-btn:focus {
  background: #8DAA56;
  color: #fff;
}

#cookie-banner.hide {
  display: none;
}

/* =============================
   13b. COOKIE MODAL
   ============================= */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,60,40,0.22);
  z-index: 30001;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.23s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fffbe0;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(100,119,46,0.17);
  padding: 33px 24px 18px 24px;
  min-width: 320px;
  max-width: 94vw;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #263614;
  position: relative;
  animation: popIn 0.23s cubic-bezier(.44,1.52,.36,1) both;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #235C37;
  margin-bottom: 10px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 6px;
  margin-bottom: 8px;
  border-radius: 7px;
  background: #f7f6ee;
}
.category-row label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #263614;
}
.category-row input[type="checkbox"] {
  accent-color: #8DAA56;
  width: 21px;
  height: 21px;
  margin: 0 8px 0 0;
}
.category-row .always-on {
  font-size: 0.91rem;
  color: #587d38;
  font-style: italic;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 17px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 8px 26px;
  border-radius: 20px;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: #235C37;
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  color: #fff;
  font-size: 1.55rem;
  cursor: pointer;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #8DAA56;
}
@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}
@keyframes popIn {
  0% {scale:0.91; opacity:0;}
  80% {scale:1.03; opacity:1;}
  100% {scale:1; opacity:1;}
}

@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 5px 18px 9px;
    font-size: 0.97rem;
    gap: 12px;
  }
  .cookie-modal {
    padding: 23px 7px 14px 7px;
    min-width: unset;
  }
}

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