/* CSS RESET & NORMALIZE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #2D2D34;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border-radius: 0;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #34623F;
  outline-offset: 2px;
}

/* BRAND VARIABLES */
:root {
  --primary: #34623F;        /* Grün */
  --secondary: #2D2D34;      /* Fast-schwarz */
  --accent: #EDE6D6;         /* Warm-beige */
  --white: #fff;
  --black: #181820;
  --gray: #DEDEDE;
  --danger: #B53D2A;
  --success: #248252;
  --focus: #E49834;
  --shadow: rgba(52, 98, 63, 0.07);
  --card-radius: 18px;
  --section-radius: 28px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--secondary);
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}
strong {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}

/* SPACING & LAYOUT */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--section-radius);
  box-shadow: 0 4px 32px var(--shadow);
}

/* HEADER, NAVIGATION, LOGO */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--white);
  box-shadow: 0 2px 16px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 30;
}
.logo {
  height: 44px;
  width: auto;
  margin-right: 32px;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  color: var(--secondary);
  font-size: 1rem;
  letter-spacing: 0.3px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.main-nav .cta-btn {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 22px;
  border-radius: 10px;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-left: 6px;
  box-shadow: 0 4px 16px rgba(52,98,63,0.09);
  transition: background 0.18s, transform 0.15s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--secondary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  z-index: 51;
  transition: color 0.1s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--secondary);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 380px;
  height: 100vh;
  background: var(--white);
  box-shadow: -8px 0 32px rgba(45,45,52, 0.22);
  z-index: 1001;
  transform: translateX(110%);
  transition: transform 0.4s cubic-bezier(.7,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 24px 24px 40px 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 14px;
  cursor: pointer;
  transition: color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
  padding: 12px 6px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 1050px) {
  .main-header {
    flex-wrap: wrap;
    gap: 18px;
  }
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 13px;
  }
  .main-nav {
    gap: 10px;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}
@media (max-width: 782px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .logo {
    height: 38px;
  }
}
@media (max-width: 540px) {
  .main-header {
    padding: 9px 5vw;
  }
  .mobile-menu {
    width: 98vw;
    max-width: none;
    padding: 20px 12px 30px 10px;
  }
  .logo { height: 32px; }
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 0 0 var(--section-radius) var(--section-radius);
  min-height: 320px;
  padding: 56px 0 44px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.hero h1,
.hero h2 {
  color: var(--white);
}
.hero p {
  color: var(--accent);
  font-size: 1.22rem;
  font-weight: 500;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 1.10rem;
  letter-spacing: 1.1px;
  box-shadow: 0 6px 32px var(--shadow);
  transition: background 0.18s, color 0.13s, transform 0.18s, box-shadow 0.18s;
  margin-top: 4px;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 12px 40px rgba(45,98,63,0.13);
}

/* FEATURES, CARDS & FLEX LAYOUTS */
.features, .services, .about, .about-preview, .contact-info, .contact-form, .map-section, .cta, .legal, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--section-radius);
  box-shadow: 0 2px 24px var(--shadow);
}
.feature-list, .service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
}
.feature-icons {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  margin-top: 6px;
}
.feature-icons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(52,98,63,0.09);
  padding: 20px 18px 8px 18px;
  min-width: 110px;
  border: 2px solid var(--primary);
}
.feature-icons span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: 0 4px 24px var(--shadow);
  position: relative;
  margin-bottom: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover,, .card:focus-within {
  box-shadow: 0 12px 48px rgba(45,98,63,0.17);
  transform: translateY(-3px) scale(1.025);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(45,98,63,0.13);
  border-radius: 16px;
  margin-bottom: 20px;
  border-left: 6px solid var(--primary);
}
.testimonial-text {
  font-size: 1.17rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}
.testimonial-meta {
  font-size: 0.99rem;
  font-weight: 500;
  color: var(--primary);
}
.star-rating {
  font-size: 1.55rem;
  color: var(--focus);
  letter-spacing: 4px;
  user-select: none;
}

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

.link-arrow {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  color: var(--primary);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: color 0.12s;
}
.link-arrow::after {
  content: '\2192';
  display: inline-block;
  margin-left: 6px;
  font-size: 1.07em;
  transition: transform 0.19s;
}
.link-arrow:hover, .link-arrow:focus {
  color: var(--secondary);
}
.link-arrow:hover::after {
  transform: translateX(5px);
}

/* --- CONTACT FORM --- */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.contact-form label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  background: var(--white);
  color: var(--secondary);
  transition: border-color 0.14s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--focus);
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}
.contact-form button[type="submit"] {
  background: var(--primary);
  color: var(--white);
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 1.085rem;
  padding: 13px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 24px var(--shadow);
  transition: background 0.15s, transform 0.15s, color 0.18s;
  cursor: pointer;
}
.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus {
  background: var(--secondary);
  color: var(--accent);
  transform: scale(1.04);
}

/* FOOTER */
footer {
  background: var(--secondary);
  color: var(--accent);
  padding: 30px 0 12px 0;
  border-radius: var(--section-radius) var(--section-radius) 0 0;
  box-shadow: 0 -2px 20px var(--shadow);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--accent);
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--focus);
}
.footer-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.footer-info img {
  height: 32px;
  width: auto;
}

/* GENERAL TEXT BLOCK */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}

/* LEGAL PAGE STYLES */
.legal, .confirmation {
  background: var(--accent);
  border-radius: var(--section-radius);
  box-shadow: 0 2px 24px var(--shadow);
}
.legal .text-section, .confirmation .text-section {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 20px 16px;
  box-shadow: 0 0px 8px rgba(45,45,52,0.05);
}

/* MAP SECTION */
.map-section img {
  margin-top: 18px;
  border-radius: 14px;
  max-width: 500px;
}

/* ================= RESPONSIVE FLEX LAYOUTS ================= */
@media (max-width: 950px) {
  .container { max-width: 100%; }
  .feature-icons { gap: 18px; }
  .about-preview, .features, .services, .about, .cta, .testimonials, .legal, .confirmation {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 670px) {
  .section, .features, .services, .about, .about-preview, .contact-info, .contact-form, .map-section, .cta, .legal, .confirmation {
    padding: 20px 4vw;
    margin-bottom: 32px;
    border-radius: 16px;
  }
  .hero {
    padding: 32px 0 24px 0;
    min-height: 180px;
    border-radius: 0 0 18px 18px;
  }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.1rem; }
}
@media (max-width: 700px) {
  .feature-icons { gap: 9px; }
  .card-container, .content-grid, .feature-list, .service-list {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .main-header { flex-direction: row; }
  .card-container, .content-grid {
    gap: 14px;
  }
  .footer-nav, .footer-info {
    gap: 8px;
    flex-direction: column;
  }
}
@media (max-width: 500px) {
  .testimonial-card, .card {
    padding: 10px 9px;
    border-radius: 12px;
  }
}

/* TABLET+ DESKTOP FLEX LAYOUTS (ROW ARRANGEMENT) */
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  .card-container, .content-grid, .feature-list, .service-list {
    flex-direction: row;
  }
}

/* ================= HOVERS, TRANSITIONS, MICRO-INTERACTIONS ================= */
button, .cta-btn, .main-nav a, .mobile-nav a, .footer-nav a, .link-arrow {
  transition: background 0.18s, color 0.16s, transform 0.14s, box-shadow 0.15s;
}

/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--secondary);
  color: var(--accent);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2030;
  box-shadow: 0 -4px 20px rgba(45,98,63,0.13);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: slideInUp 0.5s;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow);
  transition: background 0.13s, color 0.13s, transform 0.13s;
}
.cookie-banner .accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--success);
  color: var(--accent);
}
.cookie-banner .reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #93291a;
}
.cookie-banner .settings {
  background: var(--focus);
  color: var(--secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--accent);
  color: var(--primary);
}
@keyframes slideInUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45,45,52,0.46);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.28s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--accent);
  color: var(--secondary);
  border-radius: 18px;
  padding: 32px 24px 24px 24px;
  width: 96vw;
  max-width: 420px;
  box-shadow: 0 4px 44px rgba(45,98,63,0.26);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popUp 0.32s;
}
@keyframes popUp {
  from { transform: scale(0.82); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--danger);
}
.cookie-modal h2 {
  font-size: 1.32rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  padding: 9px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 6px rgba(45,98,63,0.09);
}
.cookie-category .toggle {
  margin-left: 18px;
  /* Custom toggle style below */
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  appearance: none;
  width: 36px;
  height: 22px;
  border-radius: 12px;
  background: var(--gray);
  position: relative;
  outline: none;
  transition: background 0.12s;
  cursor: pointer;
}
.cookie-category input[type="checkbox"]:checked {
  background: var(--primary);
}
.cookie-category input[type="checkbox"]:before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 4px rgba(52,98,63,0.16);
  transition: left 0.14s;
}
.cookie-category input[type="checkbox"]:checked:before {
  left: 17px;
  background: var(--white);
}
.cookie-category[aria-disabled="true"] input[type="checkbox"] {
  background: #b0b0b0;
  pointer-events: none;
}
.cookie-category[aria-disabled="true"] {
  opacity: 0.7;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-modal-actions .save {
  background: var(--primary);
  color: var(--white);
}
.cookie-modal .cookie-modal-actions .save:hover { background: var(--success); }
.cookie-modal .cookie-modal-actions .cancel {
  background: var(--danger);
  color: var(--white);
}
.cookie-modal .cookie-modal-actions .cancel:hover { background: #93291a; }

/* =============== UTILITIES =============== */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center !important; }

/* HIGH CONTRAST DARK TEXT FOR TESTIMONIALS BACKGROUND */
.testimonials, .testimonial-card {
  background: var(--accent);
  color: var(--secondary);
}

/* =============== END CSS =============== */
