/* =========================
   Ember Technikwelten - NATURE_ORGANIC Theme
   ========================= */
/* Reset and Normalize */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
html, body {
  padding: 0;
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F7F7F9;
  color: #2a2b28;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol, li {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #273246;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p, blockquote {
  margin: 0 0 16px 0;
  color: #2a2b28;
}
a {
  color: #287f47;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #1EB5E4;
  outline: none;
}

/* Brand Colors as CSS Variables */
:root {
  --primary: #273246;
  --secondary: #1EB5E4;
  --accent: #F7F7F9;
  --organic-green: #287f47;
  --earth-brown: #a57c53;
  --sand: #efe7dd;
  --clay: #e6ded1;
  --stone: #7e8575;
  --error: #b0482d;
  --shadow: 0 2px 16px 0 rgba(40, 49, 37, 0.07);
}

/* ============
   Layout & Spacing
============== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px 24px;
  min-width: 260px;
  min-height: 180px;
  transition: transform 0.16s, box-shadow 0.16s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 32px 0 rgba(64, 85, 61, 0.14);
}

.content-grid,
.features,
.card-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;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: var(--sand);
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(100,75,50,0.08);
  border-left: 8px solid var(--organic-green);
  transition: box-shadow 0.16s;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: #293024;
  font-style: italic;
  margin: 0;
  letter-spacing: 0.05em;
}
.testimonial-details {
  color: #5a624e;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-rating-summary {
  margin-top: 16px;
  color: #4b5643;
  background: var(--clay);
  border-radius: 16px;
  padding: 12px 20px;
  font-size: 1.08rem;
}

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

/* ============
   Header & Navigation
============== */
header {
  background: #fff4ee;
  box-shadow: 0 2px 12px 0 rgba(115,100,85,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 70px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 12px;
  transition: background 0.16s;
  background: transparent;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--clay);
  color: var(--organic-green);
}
.cta-btn {
  background: var(--organic-green);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 24px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(64,85,61,0.13);
  transition: background 0.16s, color 0.16s, transform 0.13s;
  margin-left: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #176d38;
  color: #fff;
  transform: scale(1.04);
}
button.cta-btn {
  margin-left: 0;
}

.mobile-menu-toggle {
  display: none;
  background: var(--organic-green);
  color: #fff;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  margin-left: 16px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.16s;
  z-index: 201;
}
.mobile-menu-toggle:focus {
  outline: 2px dashed var(--secondary);
}
@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =============================
   Mobile Navigation Overlay
   ============================= */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247, 247, 249, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.55,.09,.68,.53);
  will-change: transform;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--earth-brown);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin: 18px 22px 0 0;
  transition: background 0.15s;
  cursor: pointer;
  z-index: 211;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--organic-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 54px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 10px 10px 0;
  background: transparent;
  transition: background 0.16s, color 0.13s;
  min-width: 180px;
  display: inline-block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--sand);
  color: var(--organic-green);
}
@media (min-width: 1101px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =================================
   Hero Section
   ================================= */
.hero {
  margin-bottom: 60px;
  padding: 0;
  background: linear-gradient(100deg, #efe7dd 75%, #e6ded1 100%);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 4px 40px 0 rgba(64,85,61,0.07);
  position: relative;
}
.hero .container {
  min-height: 360px;
  justify-content: center;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.7rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.21rem;
  color: #443523;
  max-width: 700px;
}
.hero .cta-btn {
  margin-top: 16px;
  font-size: 1.13rem;
}
@media (max-width: 768px) {
  .hero .container {
    min-height: 220px;
    padding: 0 10px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* ===========
   Features section
   =========== */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f1f8f5;
  border-radius: 36px;
  box-shadow: var(--shadow);
}
.features .content-wrapper h2 {
  color: var(--organic-green);
  font-size: 2rem;
  margin-bottom: 14px;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.12rem;
  color: #3f4735;
  background: #fff;
  padding: 15px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(40, 49, 37, 0.05);
}
.features img {
  width: 32px;
  height: 32px;
}
@media (max-width: 600px) {
  .features ul {
    gap: 12px;
  }
  .features li {
    padding: 12px 12px;
    font-size: 1rem;
  }
}

/* =============
   Cards, Lists, Services
   ============= */
.services,
.services-list,
.gadgets-overview,
.contact-teaser,
.info,
.policy,
.faq,
.how-next,
.workshop-list,
.brand-features,
.team {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 32px;
}
.services ul,
.services-list ul,
.gadgets-overview ul,
.workshop-list ul,
.brand-features ul,
.how-next ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.services ul li,
.services-list ul li {
  background: #fff;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 1px 8px 0 rgba(45, 61, 60, 0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  margin-bottom: 20px;
}
.services ul li h3,
.services-list ul li h3 {
  font-size: 1.21rem;
  margin-bottom: 6px;
  color: var(--organic-green);
}
.services ul li .price,
.services-list ul li .price {
  color: #886532;
  font-weight: 600;
  font-size: 1.08rem;
  margin-top: 5px;
}
.gadgets-overview ul li {
  border-left: 6px solid var(--organic-green);
  background: #f5f9f5;
  padding: 18px 22px;
  border-radius: 16px;
  margin-bottom: 20px;
}
.gadgets-overview ul li strong {
  color: var(--primary);
}
.gadgets-overview ul li p {
  color: #474e39;
}
.workshop-list ul li {
  background: var(--sand);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  color: #423d37;
  font-size: 1.045rem;
  box-shadow: 0 1px 6px 0 rgba(120, 90, 41, 0.04);
}
.policy ul li, .brand-features ul li {
  margin-bottom: 16px;
  font-size: 1.08rem;
  color: #3a4631;
}

.learning-highlights ul,
.service-features ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.learning-highlights ul li,
.service-features ul li {
  padding-left: 23px;
  background: url('assets/icons/leaf.svg') no-repeat 0 3px / 16px 16px;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .services,
  .services-list,
  .gadgets-overview,
  .contact-teaser,
  .info,
  .policy,
  .faq,
  .how-next,
  .workshop-list,
  .brand-features,
  .team {
    padding: 22px 8px;
    border-radius: 18px;
    margin-bottom: 32px;
  }
}

/* =============
   FAQ Accordion (non-collapsing base)
   ============= */
.accordion-faq {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #f1f8f5;
  border-radius: 14px;
  padding: 18px 20px;
  color: #33445f;
  box-shadow: 0 1px 4px 0 rgba(133, 127, 107, 0.06);
  font-size: 1.07rem;
}
.faq-item h3 {
  margin-bottom: 7px;
  color: var(--organic-green);
  font-size: 1.14rem;
}

/* ==============
   Call To Actions & Callouts
   ============== */
.contact-teaser, .callout-newsletter, .contact-signup {
  background: #e6ded1;
  border-radius: 20px;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}
.contact-teaser h2, .callout-newsletter h2, .contact-signup h2 {
  color: var(--organic-green);
}
.follow-us {
  margin-top: 12px;
  color: #4a5552;
  font-size: 1.03rem;
}

/* ==============
   Newsletter / Callout category chips
   ============== */
.blog-category {
  display: inline-block;
  background: var(--organic-green);
  color: #fff;
  font-size: 0.97rem;
  padding: 3px 14px;
  border-radius: 18px;
  margin-left: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ==============
   Address blocks, Contact info
   ============== */
.address-block,
.opening-hours,
.email-contact,
.contact-details,
.contact-short {
  margin-bottom: 12px;
  font-size: 1.03rem;
  color: #1c2730;
}
.contact-details a,
.email-contact a {
  color: var(--organic-green);
  font-weight: 500;
}
.address-block address {
  font-style: normal;
  color: #546147;
}
.opening-hours strong {
  color: var(--primary);
}

/* ==============
   Footer
   ============== */
footer {
  background: #273246;
  color: #ede8e0;
  padding: 38px 0 10px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  gap: 20px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px 40px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.footer-navigation nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-navigation a {
  color: #e6ded1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  padding: 2px 0;
  transition: color 0.12s;
  border-radius: 12px;
}
.footer-navigation a:hover,
.footer-navigation a:focus {
  color: var(--organic-green);
  background: rgba(232, 232, 224, 0.15);
}
.footer-contact {
  margin-bottom: 10px;
  color: #e5d5be;
}
.contact-short strong {
  color: #fff;
  font-size: 1.06rem;
}
.legal-notice {
  font-size: 0.96rem;
  color: #bec6b7;
  margin-top: 10px;
}
@media (max-width: 900px) {
  .footer-navigation {
    flex-direction: column;
    gap: 16px 0;
  }
}

/* ==============
   Typography Hierarchy
   ============== */
h1 {
  font-size: 2.3rem;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.42rem;
  color: var(--organic-green);
  margin-bottom: 13px;
}
h3 {
  font-size: 1.14rem;
  color: var(--primary);
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.04rem; }
}

strong {
  font-weight: 700;
  color: var(--primary);
}

/* Rich Text Blocks */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #293024;
  background: #f8f7f4;
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 18px;
  font-size: 1.03rem;
}
.text-section ul, .text-section ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
.text-section li {
  margin-bottom: 7px;
}

/* ================
   Cookie Consent Banner
   ================ */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #ede9d9;
  color: #1f220d;
  z-index: 300;
  box-shadow: 0 -2px 18px 0 rgba(36,42,16,0.11);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 32px;
  font-size: 1.06rem;
  animation: slideUpIn 0.5s;
}
@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    padding: 18px 8px;
    font-size: 0.97rem;
    gap: 10px;
  }
}
.cookie-btn {
  background: var(--organic-green);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.11s;
  box-shadow: 0 1px 8px 0 rgba(100, 140, 110, 0.10);
}
.cookie-btn.secondary {
  background: var(--earth-brown);
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--organic-green);
  border: 1.5px solid var(--organic-green);
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: #176d38;
  color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--organic-green);
  color: #fff;
}

@keyframes slideUpIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-backdrop {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,50,70,0.46);
  z-index: 399;
  animation: fadeInModal 0.22s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 330px;
  max-width: 95vw;
  width: 390px;
  transform: translate(-50%,-60%) scale(1.02);
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 8px 44px 0 rgba(40,60,47,0.13);
  z-index: 402;
  padding: 26px 24px 20px 24px;
  font-size: 1.06rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInModal 0.19s;
}
.cookie-modal h2 {
  margin-bottom: 10px;
  color: var(--organic-green);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.02rem;
}
.cookie-toggle {
  width: 42px;
  height: 26px;
  background: #e5eeea;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  margin-right: 11px;
  border: 1px solid #bdbdb7;
  transition: background 0.18s;
  flex-shrink: 0;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle .toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 22px;
  height: 22px;
  background: #b9d8b5;
  border-radius: 50%;
  transition: transform 0.16s, background 0.14s;
}
.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
  background: var(--organic-green);
  transform: translateX(16px);
}
.cookie-category.essential label {
  font-weight: 700;
  color: #287f47;
}
.cookie-category.essential .cookie-toggle {
  pointer-events: none;
  opacity: 0.6;
}
.cookie-modal-action-row {
  display: flex;
  gap: 13px;
  margin-top: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: var(--earth-brown);
  color: #fff;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  font-size: 1.32rem;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--organic-green);
}

/* ==============
   Micro-Interactions, Card Shadows
   ============== */
.card, .testimonial-card, .services ul li, .services-list ul li, .workshop-list ul li {
  transition: box-shadow 0.13s, transform 0.14s;
}
.card:hover, .services ul li:hover, .services-list ul li:hover, .workshop-list ul li:hover {
  box-shadow: 0 6px 32px 0 rgba(100, 140, 110, 0.16);
  transform: translateY(-3px) scale(1.018);
}

/* ============
   Responsive Styles
   ============ */
@media (max-width: 600px) {
  .card-container, .content-grid, .features, .card-grid,
  .footer-navigation, .team, .brand-features {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .container {
    padding: 0 8px;
  }
}

/* ============
   Miscellaneous
   ============ */
::-webkit-scrollbar {
  width: 10px;
  background: #e3e5e1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #b4c8b1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a0b59c;
}

/* Organic Section Shapes (decorative, optional, not disrupting layout) */
.section, .hero, .features, .testimonial-card, .services, .contact-teaser, .card {
  box-shadow: 0 2px 16px 0 rgba(87, 101, 74, 0.07), 0 1.5px 19px 0 rgba(188, 169, 138, 0.04);
}

/* ================
   Utility Classes
   ================ */
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* Ornamental Organic Accent (e.g., green underline for h2/h3) */
h2::after, h3::after {
  content: '';
  display: block;
  width: 46px;
  height: 4px;
  background: var(--organic-green);
  border-radius: 4px 18px 18px 4px;
  margin-top: 7px;
}

/* ================
   Accessibility
   ================ */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Consistent Application of Nature_Organic Aesthetic */
.section, .hero, .card, .testimonial-card, .features li, .gadgets-overview ul li, .workshop-list ul li, .faq-item {
  border-radius: 28px 18px 22px 30px;
}

/* Hide mobile menu overlay by default on desktop */
@media (min-width: 1101px) {
  .mobile-menu {
    display: none;
    pointer-events: none;
  }
}
