/* =====================================================
   CSS RESET & BASE
   ===================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  vertical-align: baseline;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #181818;
  background: #fff;
  min-height: 100vh;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1rem;
}
li {
  margin-bottom: 0.5em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.24;
  color: #181818;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1rem; }

p, li, ul, ol {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  margin-bottom: 12px;
}

b, strong {
  font-weight: 600;
}

blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  color: #222;
  border-left: 4px solid #181818;
  padding: 0 0 0 16px;
  margin-bottom: 10px;
  font-style: italic;
}

/* =====================================================
   VARIABLES / PALETTE
   ===================================================== */
:root {
  --color-bg: #fff;
  --color-bg-alt: #F5F5F5;
  --color-primary: #181818;           /* deep black for headlines, accents */
  --color-accent: #444;               /* dark gray accents */
  --color-border: #D1D1D1;
  --color-secondary: #285644;         /* brand, subtle on monochrome */
  --color-brand-accent: #86986A;      /* brand secondary, subtle only */
  --color-highlight: #F1EFE0;         /* brand accent, subtle only for buttons bg */
  --shadow-card: 0 2px 12px rgba(24,24,24,0.07), 0 0.5px 2px rgba(40,86,68,0.11);
  --radius: 12px;
  --focus: 0 0 0 3px rgba(40,86,68,0.17);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #8f7777;
    --color-bg-alt: #706969;
    --color-primary: #fff;
    --color-accent: #F1EFE0;
    --color-border: #363636;
    --color-secondary: #285644;
    --color-brand-accent: #86986A;
    --color-highlight: #252525;
  }
  body { background: var(--color-bg); color: var(--color-primary); }
}

/* =====================================================
   GENERAL LAYOUT STRUCTURE
   ===================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  min-height: 60vh;
  background: var(--color-bg);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.text-section {
  max-width: 640px;
  margin: 0 auto 24px auto;
  align-items: flex-start;
}

/* =====================================================
   FLEXBOX PATTERNS
   ===================================================== */
.feature-grid, .card-container, .service-list, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.content-grid {
  justify-content: space-between;
  gap: 20px;
}

.card-container {
  margin-bottom: 32px;
}
.card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 20px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 270px;
  flex: 1 1 250px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  color: #181818;
  margin-bottom: 20px;
  padding: 20px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(24,24,24,0.05);
  border: 1px solid var(--color-border);
}
.testimonial-card blockquote {
  border-left: 4px solid var(--color-secondary);
  color: #181818;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #444;
  font-weight: 500;
  font-style: normal;
  margin-left: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-alt);
  padding: 24px 20px 22px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-width: 230px;
  flex: 1 1 180px;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid var(--color-border);
}
.feature-item:hover {
  box-shadow: 0 4px 16px 0 rgba(40,86,68,0.13);
  transform: translateY(-4px) scale(1.015);
}

.feature-item img {
  width: 40px;
  height: 40px;
  filter: grayscale(100%) contrast(2) brightness(0.9);
}
.feature-item h3 { color: var(--color-primary); }

.service-list {
  gap: 24px;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--color-bg-alt);
  padding: 22px 22px 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  flex: 1 1 220px;
  min-width: 220px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-item:hover {
  box-shadow: 0 4px 16px 0 rgba(40,86,68,0.16);
  transform: translateY(-4px) scale(1.015);
}
.service-price {
  background: var(--color-highlight);
  color: var(--color-primary);
  border-radius: 6px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 3px 10px;
  font-weight: 600;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 992;
  box-shadow: 0 2px 12px 0 rgba(24,24,24,0.04);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px 0 13px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #181818;
  padding: 6px 10px;
  text-decoration: none;
  border-radius: 5px;
  transition: color 0.2s, background 0.22s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
  background: #EAEAEA;
}
.main-nav .btn-primary {
  margin-left: 8px;
}

.main-nav img {
  height: 36px;
  margin-right: 16px;
  vertical-align: middle;
  filter: grayscale(100%) contrast(1.5);
}

/* Burger toggle Button for Mobile */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 1100;
  padding: 10px 16px;
  font-size: 2rem;
  color: #181818;
  background: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #EAEAEA;
  color: var(--color-secondary);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 2200;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 0 16px 2px rgba(24,24,24,0.17);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.65,0,.35,1);
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2.2rem;
  background: none;
  border: 0;
  color: #181818;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 2240;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #EAEAEA;
  color: var(--color-secondary);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 80px;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  padding-left: 36px;
  padding-right: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #181818;
  padding: 10px 6px 10px 0;
  border-bottom: 1px solid #E0E0E0;
  text-decoration: none;
  border-radius: 0;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:active, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: #F2F2F2;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 7px;
    padding-left: 0 !important;
    flex-wrap: wrap;
  }
  .main-nav .btn-primary {
    margin-left: 0;
  }
  .main-nav a {
    font-size: 0.97rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 4px;
    padding: 12px 0 8px 0;
  }
}
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 821px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}


/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
  background: #fff;
  color: #181818;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 33px;
  padding: 10px 26px;
  box-shadow: 0 3px 22px 0 rgba(24,24,24,0.045);
  border: 1.7px solid #181818;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  cursor: pointer;
  text-decoration: none;
  margin-top: 16px;
  display: inline-block;
  letter-spacing: 0.015em;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #181818;
  color: #fff;
  border-color: #181818;
  box-shadow: 0 4px 22px 0 rgba(40,86,68,0.09);
}

/* =====================================================
   COOKIE CONSENT BANNER
   ===================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #181818;
  box-shadow: 0 -2px 16px 0 rgba(24,24,24,0.14);
  border-top: 1px solid #EAEAEA;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3000;
  animation: cookieBannerEnter 0.4s cubic-bezier(.7,0,.2,1) both;
}
@keyframes cookieBannerEnter {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  max-width: 990px;
  width: 100%;
}
.cookie-btns {
  display: flex;
  gap: 13px;
}
.cookie-banner .btn-accept, .cookie-banner .btn-reject, .cookie-banner .btn-settings {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 28px;
  padding: 8px 17px;
  border: none;
  cursor: pointer;
  outline: none;
  background: #181818;
  color: #fff;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
  border: 1.3px solid #181818;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #181818;
  border: 1.3px solid #181818;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-settings:hover {
  background: #222;
  color: #fff;
}
.cookie-banner .btn-accept:hover {
  background: #285644;
  color: #fff;
}
.cookie-banner .btn-settings {
  background: #F1EFE0;
  color: #181818;
  border: 1.3px solid #86986A;
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(40,55,53,0.19);
  z-index: 3500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
  transition: background 0.22s;
  visibility: visible;
}
.cookie-modal-content {
  background: #fff;
  color: #181818;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -16px 40px 10px rgba(24,24,24,0.15);
  width: 100%;
  max-width: 440px;
  padding: 32px 28px 28px 28px;
  z-index: 3600;
  animation: modalEnter 0.35s cubic-bezier(.6,0,.3,1) both;
}
@keyframes modalEnter {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.cookie-modal-content label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #181818;
  margin-left: 10px;
  flex: 1;
}
.cookie-modal-content .category-toggle {
  /* Switch-styled toggle */
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  width: 34px;
  height: 20px;
}
.category-toggle input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 34px; height: 20px;
}
.category-toggle .slider {
  width: 34px; height: 20px;
  background: #E5E5E5;
  border-radius: 20px;
  box-shadow: 0 1.5px 3px 0 rgba(24,24,24,0.07);
  position: relative;
  transition: background .2s;
}
.category-toggle input:checked + .slider {
  background: #285644;
}
.category-toggle .slider:before {
  content: "";
  position: absolute;
  left: 3px; top: 2.2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 0.5px 2px #28564415;
}
.category-toggle input:checked + .slider:before {
  transform: translateX(14px);
}
.category-hint {
  font-size: 0.92rem;
  margin-left: 44px;
  color: #666;
  margin-top: -10px;
  margin-bottom: 10px;
}
.cookie-modal-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .btn-accept, .cookie-modal .btn-reject, .cookie-modal .btn-cancel {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 28px;
  padding: 8px 19px;
  cursor: pointer;
  border: 1.3px solid #181818;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .btn-cancel {
  background: #fff;
  color: #181818;
  border: 1.3px solid #181818;
}
.cookie-modal .btn-cancel:hover {
  background:#222; color:#fff;
}
.cookie-modal .btn-accept {
  background: #285644;
  color: #fff;
  border: 1.3px solid #285644;
}
.cookie-modal .btn-accept:hover {
  background: #181818;
}
.cookie-modal .btn-reject {
  background: #fff;
  color: #181818;
  border: 1.3px solid #181818;
}
.cookie-modal .btn-reject:hover {
  background: #222; color: #fff;
}

/* Hide modal by default */
.cookie-modal:not(.active) {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}


/* =====================================================
   FOOTER
   ===================================================== */
footer {
  width: 100vw;
  background: #0c0c0c;
  color: #fff;
  padding: 37px 0 20px 0;
  border-top: 2px solid #222;
  margin-top: 40px;
  box-shadow: 0 -2px 18px 0 rgba(24,24,24,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
footer img {
  width: 72px;
  margin-bottom: 14px;
  filter: grayscale(100%) contrast(1.2);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.footer-nav a {
  color: #EAEAEA;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  padding: 5px 8px;
  transition: color 0.17s, background 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #222;
  text-decoration: underline;
}


/* =====================================================
   RESPONSIVE BREAKPOINTS (MOBILE-FIRST)
   ===================================================== */
@media (max-width: 768px) {
  html { font-size: 15px; }

  .container { padding: 0 12px; }
  .section {
    margin-bottom: 36px;
    padding: 27px 0 27px 0;
  }
  .feature-grid, .card-container, .service-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 14px 12px;
    font-size: 1rem;
  }
  .card { min-width: 180px; padding: 15px 10px 13px 10px; }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .cookie-banner-content { padding: 15px 10px; gap: 10px; }
  .cookie-modal-content { padding: 22px 9px 15px 9px; }
}

/* =====================================================
   UTILITY CLASSES / AESTHETICS
   ===================================================== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: #666; }

hr {
  border: 0;
  border-top: 1.5px solid #D1D1D1;
  margin: 22px 0;
}

/* Inline icons on Kontakt etc. */
li img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 9px;
  width: 20px;
  height: 20px;
  filter: grayscale(90%) contrast(2.3);
}

/* Focus accessibility */
:focus-visible {
  outline: var(--focus);
}

/* =====================================================
   MICRO-INTERACTIONS & TRANSITIONS
   ===================================================== */
a, button, .btn-primary, .feature-item, .service-item, .card {
  transition: color 0.2s, background 0.2s, box-shadow 0.33s, border 0.18s,transform 0.2s;
}

/* Subtle card hover pop */
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 18px 0 rgba(40,86,68,0.17);
  transform: translateY(-5px) scale(1.01);
}

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar {
  width: 10px;
  background: #eeeeee;
}
::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 20px;
}

/* =====================================================
   PRINT (optional - clean)
   ===================================================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .btn-primary, a { background: none !important; color: #111 !important; }
}

/* =====================================================
   END CSS - Vivid Dusk Gartenfreude Monochrome Sophisticated
   ===================================================== */
