/* 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; box-sizing: border-box;
}
html { font-size:16px; }
body { line-height: 1.55; background: #FDFCF7; color: #2C3E50; min-height: 100vh; font-family: 'Open Sans', Arial, sans-serif; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }
:focus { outline: 2px solid #77A384; outline-offset: 2px; }

/* CSS VARIABLES (with fallbacks for brand & nature_organic style) */
:root {
  --color-primary: #2C3E50;
  --color-secondary: #A9A9A9;
  --color-accent: #77A384;
  --color-accent-strong: #3C6E4D;
  --color-bg: #FDFCF7;
  --color-bg-card: #FAFAF6;
  --color-earth: #8E7047;
  --color-earth-light: #E3D6C5;
  --color-success: #488445;
  --color-warning: #E1B65A;
  --color-text: #2C3E50;
  --color-text-muted: #697868;
  --color-error: #BC4749;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 4px 18px rgba(60, 110, 77, 0.08);
  --shadow-card: 0 2px 10px rgba(60, 110, 77, 0.08);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* GENERAL CONTAINERS */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section { display: flex; flex-direction: column; gap: 20px; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.8rem; /* ~45px */
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, li, a, span, small {
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
p { margin-bottom: 16px; }
ul, ol { margin-bottom: 12px; }
strong { font-weight: 600; }
small { font-size: 0.92rem; color: var(--color-text-muted); }

/* LINKS */
a {
  color: var(--color-accent-strong);
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--color-success);
  text-decoration: underline;
}

/* BUTTONS */
.button-primary {
  background: var(--color-accent);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-soft);
  transition: background 0.18s, box-shadow 0.18s, transform 0.16s;
  display: inline-block;
  cursor: pointer;
  margin-top: 10px;
}
.button-primary:hover, .button-primary:focus {
  background: var(--color-accent-strong);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 18px rgba(60,110,77,0.1);
}
.button-secondary {
  background: var(--color-earth);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  border: none;
  margin-top: 8px;
  box-shadow: var(--shadow-soft);
  transition: background 0.16s, box-shadow 0.16s, transform 0.14s;
}
.button-secondary:hover {
  background: var(--color-accent-strong);
  color: #fff;
  box-shadow: 0 6px 14px rgba(60,110,77,0.14);
}
.button-tertiary {
  background: transparent;
  color: var(--color-accent-strong);
  border: 2px solid var(--color-accent-strong);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.button-tertiary:hover {
  background: var(--color-earth-light);
  color: var(--color-primary);
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 4px 18px rgba(44,62,80,0.04), 0 1.5px 5px rgba(135,125,97,0.10);
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px 20px;
  gap: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.main-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-bottom 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent-strong);
  border-bottom: 2px solid var(--color-accent-strong);
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  font-size: 1.8rem;
  line-height: 1.1;
  transition: background 0.15s;
  margin-left: 8px;
  z-index: 151;
  cursor: pointer;
}
.mobile-menu-toggle:hover {
  background: var(--color-accent-strong); }

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(50,60,45,0.93);
  z-index: 2001;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.4,0.2,0.2,1), background 0.22s;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu > nav {
  background: #fff;
  padding: 40px 30px 30px 30px;
  width: 88vw;
  max-width: 370px;
  box-shadow: 0 4px 24px rgba(44,62,80,0.16);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  position: relative;
  z-index: 2011;
}
.mobile-menu-close {
  background: var(--color-earth);
  color: #fff;
  font-size: 1.4rem;
  padding: 9px 15px 6px 15px;
  border-radius: 50%;
  border: none;
  position: absolute;
  top: 15px;
  right: 24px;
  z-index: 2012;
  transition: background 0.16s;
}
.mobile-menu-close:hover {
  background: var(--color-accent-strong);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.16rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 4px;
  border-radius: var(--radius-sm);
  transition: background .16s, color .16s;
}
.mobile-nav a:hover {
  background: var(--color-accent);
  color: #fff;
}

/* MAIN STRUCTURE */
main { min-height: 50vh; }
section { margin-bottom: 60px; padding: 40px 20px; background: transparent; }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 28px 32px 28px;
  min-width: 250px;
  flex: 1 1 290px;
}
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 18px; }

.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;
}

/********  SERVICE CARDS (INDEX) ********/
.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 26px 22px 26px;
  flex: 1 1 310px;
  min-width: 250px;
  margin-bottom: 20px;
  transition: transform 0.12s, box-shadow 0.2s;
  border-left: 6px solid var(--color-earth-light);
}
.service-card:hover {
  transform: translateY(-3px) scale(1.018);
  box-shadow: 0 10px 32px rgba(44,62,80,0.12);
  border-left-color: var(--color-accent);
}

/***** CATEGORY GRID (Fahrzeuge) *****/
.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.category-grid > div {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px 26px 22px 26px;
  flex: 1 1 285px;
  min-width: 240px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-earth);
  transition: box-shadow 0.16s, border-left-color 0.13s, background 0.13s;
}
.category-grid > div:hover {
  background: var(--color-earth-light);
  border-left-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(44,62,80,0.10);
}
.category-grid h3 { color: var(--color-accent-strong); font-size: 1.25rem; }

/********* LIST ICONS *********/
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
ul li img, ol li img {
  width: 28px;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 2px 9px rgba(135,125,97,0.07);
  background: var(--color-earth-light);
  object-fit: cover;
}

/********* TESTIMONIALS *********/
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px 20px 30px;
  margin-bottom: 20px;
  min-width: 230px;
  flex: 1;
  border-left: 5px solid var(--color-accent);
  position: relative;
}
.testimonial-card p {
  color: #274120;
  font-size: 1.12rem;
  font-family: var(--font-body);
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: var(--color-success);
  font-weight: 600;
  font-size: 1rem;
  font-style: normal;
}

/********* FOOTER *********/
footer {
  background: #203124;
  color: #f9f8ee;
  padding: 36px 0 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
footer nav a {
  color: #e8efe4;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 3px 0;
  transition: color 0.14s;
}
footer nav a:hover {
  color: var(--color-accent);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 6px;
}
.social-links a:hover img {
  filter: brightness(0.8) sepia(20%) hue-rotate(44deg);
  transform: scale(1.06);
}
.legal-disclaimer { margin-top: 18px; width: 100%; }
.legal-disclaimer small { color: #94b49b; }

/********* COOKIE BANNER *********/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -3px 24px rgba(44,62,80,0.13);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  z-index: 5020;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 14px 18px 14px;
  gap: 32px;
  animation: bannerIn 0.7s cubic-bezier(.5,.2,.2,1);
  transition: transform 0.37s cubic-bezier(.4,.2,.2,1), opacity 0.22s;
}
@keyframes bannerIn {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  max-width: 680px;
  color: var(--color-text);
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: 16px;
}
.cookie-banner .button-primary, .cookie-banner .button-tertiary, .cookie-banner .button-secondary {
  margin-top: 0;
  font-size: 1rem;
  padding: 10px 18px;
}

/****** Cookie Modal (Settings) ******/
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(44,62,50,0.45);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background 0.3s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 40px rgba(44, 62, 80, 0.18);
  min-width: 320px;
  max-width: 95vw;
  padding: 38px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.3s cubic-bezier(.5,.2,0.2,1);
  position: relative;
}
@keyframes modalIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.cookie-modal .close-modal {
  position: absolute;
  right: 22px;
  top: 18px;
  background: var(--color-earth);
  color: #fff;
  font-size: 1.32rem;
  border-radius: 50%;
  padding: 7px 13px 6px 13px;
  cursor: pointer;
  border: none;
  transition: background 0.16s;
}
.cookie-modal .close-modal:hover {
  background: var(--color-accent-strong);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px 0 14px 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--color-accent-strong);
  width: 21px;
  height: 21px;
}
.cookie-modal .category-desc {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}
.cookie-modal .button-group {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

/********* FEATURE & ITEM LISTS *********/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/********* BUTTON and CARD MICROINTERACTIONS *********/
.service-card, .category-grid > div, .card, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.12s, border-left-color 0.14s;
}
.service-card:active, .category-grid > div:active, .card:active, .testimonial-card:active {
  transform: scale(0.97);
}

/********* MISC ELEMENTS (FAQ, Contact, Events) *********/
ul a {
  text-decoration: underline;
  transition: color 0.14s;
}
ul a:hover { color: var(--color-earth); text-decoration: underline; }

/***** RESPONSIVE DESIGN: Mobile First *****/
@media (max-width: 768px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  header > .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  .button-primary, .button-secondary {
    padding-left: 22px;
    padding-right: 22px;
    font-size: 1rem;
  }
  .section {
    margin-bottom: 40px;
    padding: 26px 6px;
  }
  .content-wrapper { gap: 16px; }
  .category-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .service-card, .card, .testimonial-card, .category-grid > div {
    min-width: unset;
    padding: 18px 12px 16px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 10px 14px 10px;
  }
  .cookie-banner__actions {
    margin-left: 0;
    gap: 10px;
  }
  .mobile-menu > nav {
    min-width: 0;
    padding-left: 18px;
    padding-right: 12px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 10px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.08rem; }
}
@media (max-width: 450px) {
  .cookie-modal { padding: 20px 6px 18px 10px; }
  .category-grid, .content-grid, .card-container {
    gap: 10px;
  }
}

/******* ORGANIC DECORATIVE SHAPES *******/
/* Optional - use on hero or cards for nature accents */
.organic-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50% 36% 48% 60%/70% 40% 60% 50%;
  background: var(--color-accent);
  opacity: 0.13;
}
/* Add a .organic-shape as a background decorative shape in cards if desired */

/******* UTILITY CLASSES ******/
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }

/******* PRINT OPTIMIZATION ******/
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, header, footer { display:none !important; }
  section, main, body { background: #fff !important; color: #111 !important; }
}
