/* ===== 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;
  scroll-behavior: smooth;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #26322a;
  background-color: #F5F5F7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
:focus {
  outline: 2px solid #B6DA91; /* organic green */
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #696a6a; }
::-moz-placeholder { color: #696a6a; }
:-ms-input-placeholder { color: #696a6a; }
::placeholder { color: #696a6a; }

/* ===== BRAND & PALETTE ===== */
:root {
  --color-primary: #1C1C25;
  --color-secondary: #D4AF37;
  --color-accent: #F5F5F7;
  --color-green: #B6DA91;
  --color-earth1: #C2B280;
  --color-earth2: #7B6B43;
  --color-brown: #60492C;
  --color-text-dark: #26322a;
  --color-text-light: #fff;
  --border-radius-main: 22px;
  --shadow-main: 0 6px 24px 0 rgba(51,84,43,0.08);
  --shadow-subtle: 0 1px 3px 0 rgba(60,50,36,0.07);
  --container-width: 1200px;
}

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900|Lato:400,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #23341a;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4 { font-size: 1.12rem; }

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.10rem; }
}

p, li, address, span {
  color: #38541b;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
strong { color: #60492C; font-weight: bold; }

body, .container {
  width: 100%;
}
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 18px;
}

/* ===== HEADER ===== */
header {
  width: 100%;
  background: #f3f6ee;
  box-shadow: var(--shadow-main);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  flex-wrap: wrap;
  gap: 16px;
}
header img {
  height: 56px;
  border-radius: 12px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Lato', Arial, sans-serif;
  padding: 7px 0;
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.17s;
  color: #46623e;
  border-radius: 11px;
}
nav a:hover, nav a:focus {
  color: var(--color-green);
  background: #ecf3e7;
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg,#B6DA91 70%, #D4AF37 100%);
  color: var(--color-primary);
  font-family: 'Playfair Display',serif;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 30px;
  font-size: 1.13rem;
  box-shadow: 0 2px 8px 0 rgba(51,84,43,.09);
  letter-spacing: 0.04em;
  transition: background 0.22s, color 0.11s, box-shadow 0.22s;
  border: 2px solid var(--color-green);
  margin-left: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#D4AF37 10%, #B6DA91 90%);
  color: #253414;
  box-shadow: 0 4px 19px 0 rgba(51,84,43,0.13);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: var(--color-primary);
  font-size: 2.1rem;
  border-radius: 16px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(145, 163, 106,.13);
  cursor: pointer;
  z-index: 52;
  margin-left: 14px;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 44px 26px 32px 26px;
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 88vw;
  max-width: 330px;
  background: #F3F6EE;
  box-shadow: -12px 0 24px 0 rgba(51,84,43,.17);
  z-index: 1001;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.6,0.06,0.15,0.99);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 2rem;
  background: none;
  color: var(--color-brown);
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 3;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: bold;
  color: #253414;
  padding: 12px 0;
  border-radius: 11px;
  transition: background 0.15s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-green);
  color: #1C1C25;
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  nav {
    display: flex !important;
  }
}

/* ===== MAIN & LAYOUT ===== */
main {
  padding-top: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius-main);
  background: #F3F9EE;
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-wrapper.text-section {
  align-items: flex-start;
  text-align: left;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  justify-content: flex-start;
}
.card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.21s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(77, 144, 65,0.14);
  transform: translateY(-2px) scale(1.018);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.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;
  }
  .section {
    padding: 22px 4px;
  }
  .card {
    padding: 18px 11px;
    min-width: 160px;
  }
}

/* Specific for features (index, luxusfahrzeuge, ueber-uns) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 8px;
}
.feature-grid > div {
  background: #FAF9F6;
  padding: 24px 18px 18px 18px;
  border-radius: 18px 40px 18px 40px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  gap: 15px;
  border: 1.5px solid #e9ecd0;
  margin-bottom: 20px;
  transition: box-shadow 0.12s, border 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px 0 rgba(77, 144, 65,0.12);
  border-color: var(--color-green);
}
.feature-grid img {
  width: 40px; height: 40px;
  margin-bottom: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list > div {
  background: #fafff6;
  border-left: 6px solid var(--color-green);
  border-radius: 14px;
  box-shadow: 0 2px 7px 0 rgba(60,50,36,0.07);
  padding: 22px 18px;
  margin-bottom: 14px;
  transition: box-shadow 0.17s, background 0.18s;
}
.faq-list > div:hover, .faq-list > div:focus-within {
  background: #F3F6EE;
  box-shadow: 0 5px 22px rgba(120,164,89,0.09);
}
.faq-list h3 {
  margin-bottom: 8px;
  color: #5E7B48;
}


/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9FDF6;
  border-radius: 20px 36px 20px 36px;
  box-shadow: 0 4px 20px 0 rgba(77, 144, 65, 0.10);
  margin-bottom: 20px;
  margin-top: 10px;
  flex: 1 1 280px;
  max-width: 650px;
}
.testimonial-card p {
  color: #1C1C25;
  font-size: 1.10rem;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  margin-left: 14px;
  color: #547447;
  font-size: 1rem;
  font-style: italic;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px;
  }
  .testimonial-card span {
    margin-left: 0;
  }
}

/* ===== LISTS, ADDITIONAL LAYOUT ===== */
ul, ol {
  margin-left: 32px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
}
ul li strong, ol li strong {
  color: #324223;
}
ul > li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  margin-right: 12px;
  margin-left: -18px;
  vertical-align: middle;
}
@media (max-width: 600px) {
  ul, ol { margin-left: 12px; }
}

/* ===== ADDRESS / CONTACT ===== */
address {
  margin-top: 16px;
  font-style: normal;
  color: #253414;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.65;
}
address a {
  color: #46623e;
  text-decoration: underline;
  word-break: break-word;
}

/* ===== FOOTER ===== */
footer {
  width: 100%;
  background: #E2E2D4;
  box-shadow: 0 -3px 15px 0 rgba(60,50,36,0.07);
  padding: 44px 0 12px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-nav a {
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  color: #4F5738;
  transition: color 0.13s;
  border-radius: 8px;
  padding: 5px 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-green);
  color: #fff;
}
.footer-brand img {
  height: 56px;
  border-radius: 20px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ===== BUTTONS & INTERACTION ===== */
button, .btn, .btn-primary {
  cursor: pointer;
  outline: none;
  border: none;
}
.btn {
  display: inline-block;
  background: var(--color-green);
  color: var(--color-primary);
  padding: 8px 20px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(51,84,43,.09);
  transition: background 0.19s, color 0.13s;
}
.btn:hover, .btn:focus {
  background: var(--color-secondary);
  color: #1C1C25;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  width: 100vw;
  background: #232C1C;
  color: #fff;
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -6px 32px 0 rgba(66,103,40,0.12);
  animation: fadeInUp 0.45s;
  gap: 16px;
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}
.cookie-btn {
  background: var(--color-green);
  color: var(--color-primary);
  border: none;
  border-radius: 22px;
  padding: 8px 26px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.reject {
  background: #B2A27E;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #7B6B43;
}
.cookie-btn.settings {
  background: #46623e;
  color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-green);
  color: #1C1C25;
}
@media (max-width: 520px) {
  .cookie-banner {
    padding: 14px 6px 10px 6px;
    gap: 8px;
  }
  .cookie-actions {
    gap: 8px;
  }
}
@keyframes fadeInUp {
  0% { transform: translateY(60%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ===== COOKIE MODAL (SETTINGS OVERLAY) ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41,60,22,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 200ms cubic-bezier(0.65,0.35,0.4,1) 1;
}
.cookie-modal {
  background: #f3f6ee;
  box-shadow: 0 10px 42px 0 rgba(77, 144, 65,0.16);
  border-radius: 20px;
  padding: 28px 22px 18px 22px;
  min-width: 90vw;
  max-width: 390px;
  color: #1C1C25;
  z-index: 1302;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position:relative;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 14px;
  background: none;
  font-size: 2rem;
  color: #60492C;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-secondary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.06rem;
}
.toggle-switch {
  display: inline-flex;
  align-items: center;
}
.toggle-switch input[type="checkbox"] {
  display: none;
}
.toggle-slider {
  width: 40px;
  height: 22px;
  background: #D4AF37;
  border-radius: 11px;
  position: relative;
  transition: background 0.16s;
  cursor: pointer;
  margin-right: 10px;
}
.toggle-switch input[type="checkbox"]:checked + .toggle-slider {
  background: var(--color-green);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px 0 rgba(50,50,50,0.12);
  transition: left 0.15s cubic-bezier(0.62,0.2,0.22,1.2);
}
.toggle-switch input[type="checkbox"]:checked + .toggle-slider::before {
  left: 21px;
}
.cookie-modal .cookie-btn {
  margin-top: 8px;
  width: 100%;
}

/* ===== ORGANIC, NATURE SHAPE DECORATION HINTS ===== */
.section, .feature-grid>div, .card, .testimonial-card {
  border-radius: 22px 44px 15px 46px / 28px 48px 12px 41px;
}

/* Decorative leaf accent (for future, optional) */
.organic-leaf {
  position: absolute;
  width: 45px;
  height: 45px;
  right: -17px;
  top: -20px;
  z-index: 0;
  pointer-events: none;
}

/* subtle paper texture background */
body, .section {
  background-image: url('assets/paper-noise-light.png');
  background-repeat: repeat;
  background-size: 420px auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section {
    padding: 14px 2px;
    margin-bottom: 40px;
  }
 .container, .content-wrapper { padding: 0 3px; }
}
@media (max-width:420px) {
  body { font-size: 15px; }
  .section { padding: 6px 1px; }
}

/* ===== MICRO-INTERACTIONS ANIMATIONS ===== */
.btn-primary, .cookie-btn, .btn {
  transition: background 0.12s, color 0.13s, box-shadow 0.17s, transform 0.11s;
  will-change: background, color, box-shadow, transform;
}
.btn-primary:active, .cookie-btn:active, .btn:active {
  transform: scale(0.98);
}
.card, .feature-grid>div, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.15s, border 0.13s;
}

/* Animations for mobile menu */
.mobile-menu {
  animation: none;
}
.mobile-menu.open {
  animation: menuSlideIn 0.4s cubic-bezier(0.65,0,0.36,1);
}
@keyframes menuSlideIn {
  0% { transform: translateX(110%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== UTILITY CLASSES ===== */
.mt-3 { margin-top: 22px; }
.mb-2 { margin-bottom: 16px; }
.mt-1 { margin-top: 7px; }
.ml-3 { margin-left: 30px; }
.gap-2 { gap: 14px; }
.text-center { text-align: center; }

/* ===== --- END of CSS --- ===== */
