/* ==========================================================
   ZEITGLANZ – nature_organic THEME – style.css
   Author: Professional CSS & UI Developer
   Description: Nature-inspired, modern, fully responsive, mobile-first CSS.
   Flexbox only! NO grid/columns anywhere.
========================================================== */

/* ===== 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 { font-family: 'Roboto', Arial, sans-serif; background: #f5f9fa; }
body { background: #f5f9fa; color: #23395d; line-height: 1.6; min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: #32643e; text-decoration: none; transition: color .2s cubic-bezier(.4,0,.2,1); }
a:hover, a:focus { color: #eab464; outline: none; }
button, .cta-btn, .mobile-menu-close, .mobile-menu-toggle {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
ol, ul { list-style: none; }

/* ===== BRAND FONTS FOR HEADINGS ===== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #23395d;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 1.6rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 12px; }
p, li, address { font-size: 1rem; margin-bottom: 16px; }
strong { font-weight: 600; }

/* ===== COLORS, PALETTE, ORGANIC FLAVOUR ===== */
:root {
  --brand-primary: #23395d;
  --brand-secondary: #eab464;
  --brand-accent: #f5f9fa;
  --nature-green: #32643e;
  --nature-brown: #baa898;
  --nature-darkgreen: #185431;
  --nature-sand: #ebdbc8;
  --nature-clay: #b59373;
}

/* ===== CONTAINER & SECTIONS ===== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-accent);
  border-radius: 28px 28px 40px 18px/35px 15px 25px 40px;
  /* organic curves */
  box-shadow: 0 4px 32px 0 rgba(50, 100, 62, 0.06);
  box-sizing: border-box;
}
main > section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== HEADER / NAVIGATION ===== */
header {
  position: sticky;
  top: 0;
  background: #f5f9fa;
  box-shadow: 0 4px 16px -8px #baa89830;
  z-index: 90;
  padding: 0;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 16px 36px 22px 32px/30px 20px 38px 10px;
  /* organic rounded */
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  color: var(--brand-primary);
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 18px;
  transition: background .18s, color .18s;
}
nav a:hover, nav a:focus {
  background: var(--nature-sand);
  color: var(--nature-green);
  outline: none;
}
.cta-btn {
  padding: 12px 26px;
  margin-left: 20px;
  color: white;
  background: linear-gradient(90deg, var(--nature-green), var(--brand-secondary) 80%);
  border-radius: 28px 12px 38px 16px/24px 32px 20px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 28px 0 rgba(50,100,62,0.10);
  letter-spacing: 0.04em;
  border: none;
  transition: background .18s, box-shadow .18s, transform .12s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--nature-darkgreen);
  color: #fffbe6;
  box-shadow: 0 10px 38px 0 rgba(50,100,62,0.17);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* ===== MOBILE MENU - HAMBURGER ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--nature-brown);
  color: white;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  border-radius: 18px 32px 24px 18px/30px 16px 30px 22px;
  align-items: center;
  justify-content: center;
  transition: background .12s;
  margin-left: 14px;
  z-index: 202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--nature-green);
  color: white;
  outline: none;
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(96deg, #eab464 25%, #f4efe1 100%);
  box-shadow: 0 12px 48px 0 rgba(50, 100, 62, 0.14);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(100vw);
  transition: transform .38s cubic-bezier(.6,.2,.3,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 30px 30px 6px auto;
  font-size: 2.3rem;
  color: var(--nature-darkgreen);
  background: var(--brand-accent);
  border-radius: 28px;
  padding: 6px 16px;
  transition: background .2s, color .2s;
  z-index: 205;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--nature-green);
  color: #fffbe6;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 0 40px 40px 38px;
  font-family: 'Montserrat', sans-serif;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--nature-darkgreen);
  background: none;
  padding: 14px 10px 14px 0;
  border-radius: 26px;
  font-weight: 600;
  transition: color .16s, background .16s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--nature-brown);
  color: #fffbe6;
  outline: none;
}

/* ======== HERO SECTION ======== */
.hero {
  background: linear-gradient(130deg, #f5ffd9 65%, #eab46440 100%);
  border-radius: 34px 48px 48px 28px/26px 34px 38px 44px;
  box-shadow: 0 10px 36px 0 rgba(50, 100, 62, 0.19);
  padding: 40px 0 48px 0;
  margin-bottom: 60px;
}
.hero .container {
  justify-content: center;
  align-items: stretch;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--nature-green);
  font-size: 2.25rem;
  margin-bottom: 12px;
}
.hero p {
  color: var(--nature-darkgreen);
  font-size: 1.16rem;
  padding-bottom: 8px;
  max-width: 480px;
}
.hero .cta-btn {
  margin-top: 14px;
}

/* ==== FEATURE/TEAM/GRID CARDS ==== */
.features-grid, .services-list, .blog-list, .team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 6px;
}
.feature, .service, .blog-teaser, .team-section > div {
  flex: 1 1 260px;
  background: #fffefa;
  border-radius: 26px 36px 22px 38px/34px 24px 22px 32px;
  box-shadow: 0 2px 18px 0 rgba(50,100,62,0.09);
  padding: 28px 24px 24px 24px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .1s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.feature img {
  width: 48px; height: 48px;
  margin-bottom: 8px;
}
.feature:hover, .service:hover, .blog-teaser:hover, .team-section > div:hover {
  box-shadow: 0 8px 32px 0 #bacaa045;
  transform: translateY(-2px) scale(1.025);
}

/* ===== BLOG SPECIALS ===== */
.blog-list {
  gap: 24px;
  margin-bottom: 10px;
}
.blog-teaser {
  background: #f9f7f4;
  border-left: 6px solid var(--nature-green);
}
.blog-teaser h3 {
  font-size: 1.2rem;
}
.blog-teaser a {
  margin-top: 14px;
  color: var(--brand-primary);
  font-weight: 600;
  transition: color .13s;
}
.blog-teaser a:hover {
  color: var(--nature-darkgreen);
}

/* === NEWSLETTER SPECIAL === */
.newsletter-signup {
  background: var(--nature-sand);
  border-radius: 38px 22px 32px 24px/30px 36px 22px 34px;
  box-shadow: 0 6px 30px 0 rgba(234,180,100,0.13);
  padding: 38px 20px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: #f9fff8;
  border-radius: 24px 36px 28px 30px/30px 22px 35px 25px;
  box-shadow: 0 3px 22px 0 rgba(50,100,62,0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: var(--brand-primary);
  font-family: 'Roboto', sans-serif;
  transition: box-shadow .13s, transform .1s;
  border-left: 6px solid var(--nature-green);
  max-width: 680px;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--nature-darkgreen);
}
.testimonial-details {
  min-width: 140px;
  color: var(--brand-primary);
  font-weight: 500;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 #bce5af60;
  transform: translateY(-2px) scale(1.01);
}

/* ===== BUTTONS & INTERACTIVE ===== */
button, .cta-btn {
  transition: background .18s, color .18s, box-shadow .16s, transform .12s;
}
button:active, .cta-btn:active {
  transform: scale(.98) translateY(1px);
}

/* ===== FOOTER ===== */
footer {
  background: #f3ede2;
  border-radius: 52px 24px 0 0/52px 16px 0 0;
  box-shadow: 0 -4px 18px 0 rgba(50,100,62,0.07);
  margin-top: 60px;
  padding-top: 42px;
  padding-bottom: 22px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 36px 32px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.98rem;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 10px;
  border-radius: 15px 32px 20px 28px/22px 16px 24px 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.97rem;
  border-radius: 12px;
  padding: 5px 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--nature-clay);
  color: #fffbe7;
}
.footer-contact {
  color: var(--brand-primary);
  font-size: 0.98rem;
  max-width: 260px;
}
.footer-copyright {
  color: #877959;
  font-size: 0.90rem;
  margin-top: 10px;
  flex: 1 0 100%;
}

/* ========= COOKIE CONSENT BANNER ========= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fffdea;
  color: var(--brand-primary);
  box-shadow: 0 -6px 38px 0 #baa89839;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 22px 30px 22px 20px;
  z-index: 400;
  font-size: 1rem;
  border-top-left-radius: 22px 32px;
  border-top-right-radius: 60px 18px;
  transition: transform .26s cubic-bezier(.6,.2,.2,1);
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner p {
  flex: 1 1 70%;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  padding: 8px 18px;
  margin: 0;
  border-radius: 18px 28px 15px 26px/20px 10px 24px 16px;
  font-weight: 600;
  border: none;
  font-size: 0.97rem;
  background: var(--nature-green);
  color: #fffbe6;
  transition: background .16s, color .16s, transform .14s;
  box-shadow: 0 3px 10px 0 #bce5af20;
}
.cookie-banner button.settings-btn {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-banner button.reject-btn {
  background: var(--nature-brown);
  color: #fffbe7;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #23395d;
  color: #fffbe6;
  transform: scale(1.05);
  outline: none;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(50, 100, 62, 0.45);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .29s cubic-bezier(.32,.1,.54,1.04);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fffde7;
  border-radius: 32px 46px 30px 18px/26px 39px 19px 33px;
  padding: 38px 28px 30px 28px;
  box-shadow: 0 8px 54px 0 #eab46439;
  max-width: 410px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal .modal-title {
  font-size: 1.24rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
  color: var(--brand-primary);
}
.cookie-modal .cookie-categories {
  margin-top: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--brand-primary);
}
.cookie-category input[type="checkbox"] {
  width: 24px; height: 24px;
  accent-color: var(--nature-green);
  vertical-align: middle;
}
.cookie-category.essential label {
  font-weight: 700;
  color: var(--nature-green);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 20px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 14px; right: 20px;
  font-size: 1.4rem;
  background: #eab464;
  color: var(--brand-primary);
  border-radius: 20px;
  padding: 6px 16px;
  transition: background .16s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  background: var(--brand-primary);
  color: #fffbe6;
  outline: none;
}

/* ====== LISTS, ADDITIONAL TYPOGRAPHY ====== */
ul, ol {
  margin-bottom: 18px;
  margin-top: 0;
}
ul li, ol li {
  margin-bottom: 8px;
  color: var(--brand-primary);
  font-size: 1rem;
}
ul li:before {
  content: '• ';
  color: var(--nature-green);
  font-size: 1.2em;
  margin-right: 5px;
}
ol li:before {
  content: '';
}
ol {
  list-style: decimal inside;
  padding-left: 0;
}
address {
  font-style: normal;
  color: var(--brand-primary);
  font-size: 1rem;
  line-height: 1.6;
}
.legal-text {
  background: #f7f6f2;
  border-radius: 20px 28px 18px 38px/22px 12px 26px 31px;
  padding: 24px;
  margin-top: 12px;
  box-shadow: 0 2px 16px 0 rgba(50,100,62,0.05);
}

/* ====== CTA SECTION ====== */
.cta-section, .cta-section > .container {
  background: linear-gradient(92deg, #f9ffe5 65%, #bae7b1 100%);
  border-radius: 34px 52px 38px 30px/22px 18px 34px 48px;
  box-shadow: 0 8px 34px 0 #bce5af52;
}

/* ======= WELL SPACING, FLEX & UTILS ======= */
.card-container, .features-grid, .services-list, .content-grid, .blog-list, .team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

section, .section, .feature, .service, .team-section > div, .testimonial-card, .blog-teaser, .legal-text, .newsletter-signup, .cta-section, .cookie-modal .modal-content {
  margin-bottom: 24px;
}

/* =========== RESPONSIVE =========== */
@media (max-width: 1023px) {
  .container { max-width: 97vw; }
  header .container { flex-direction: row; gap: 12px; }
  nav { gap: 14px; }
  .features-grid, .services-list, .blog-list, .team-section, .content-grid {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .feature, .service, .blog-teaser, .team-section > div {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .features-grid, .services-list, .team-section {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.58rem; }
  h2 { font-size: 1.19rem; }
  .section, section, .hero, .newsletter-signup { padding: 22px 8px 28px 8px; }
  main > section { margin-bottom: 32px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; padding: 18px; }
  .footer-brand img { margin-bottom: 7px; }
  .team-section { flex-direction: column; }
  /* Hamburger visible, hide main nav */
  .mobile-menu-toggle { display: flex; }
  nav { display: none; }
  .cta-btn { margin-left: 0; }
  header .container { gap: 6px; }
  footer .container {
    gap: 18px 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 15px 10px 15px 10px;
    font-size: 0.97rem;
    text-align: left;
  }
  .cookie-banner .cookie-btns { gap: 8px; }
  .cookie-modal .modal-content { min-width: 90vw; padding: 25px 10px 20px 10px; }
}

@media (max-width: 550px) {
  html { font-size: 92%; }
  .feature, .service, .blog-teaser {
    padding: 16px 9px 15px 12px;
  }
  .hero, .section { border-radius: 16px; }
}

/* ========== ORGANIC DETAILS AND MINOR ACCENTS =========== */
.feature, .service, .blog-teaser, .testimonial-card, .team-section > div {
  border: 1.5px solid #e6e2d8;
}

/* Subtle organic shadow hover for interactivity */
.feature:hover, .service:hover, .blog-teaser:hover, .testimonial-card:hover, .team-section > div:hover {
  box-shadow: 0 10px 38px 2px #bce5af35;
  border-color: #bce5af92;
}

/* ==== Hide/show utility classes (e.g. .hide for open menu) ==== */
.hide { display: none !important; }

/* ========= ANIMATIONS =========== */
@keyframes modal-in {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal .modal-content { animation: modal-in .22s ease; }

@keyframes slide-in-right {
  from { transform: translateX(100vw); }
  to   { transform: translateX(0); }
}
.mobile-menu.open { animation: slide-in-right .34s cubic-bezier(.5,0,.2,1); }

@keyframes banner-down {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-banner { animation: banner-down .33s cubic-bezier(.5,0,.2,1); }

/* ========== END style.css ========== */
