/* --- 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;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
html:focus-within {
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F5F2ED;
  color: #2A2016;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a {
  color: #3B2F25;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
a:focus {
  outline: 2px solid #7E674A;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 20px;
}
ul:last-child, ol:last-child {margin-bottom: 0;}
img {
  max-width: 100%;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2A2016;
  line-height: 1.2;
  font-weight: bold;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 17px;
}
strong { font-weight: 700; }
.text-section strong { color: #3B2F25; }

/* --- LAYOUT: CONTAINER, SECTION, FLEX WRAPPERS --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px; /* min spacing */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px 0 rgba(62,47,37,0.09);
  position: relative;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 40px 0 rgba(62,47,37,0.15);
  z-index: 2;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(62,47,37,0.09);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  color: #222019;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- MAIN NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 9px 0 rgba(62,47,37,0.06);
  position: relative;
  z-index: 103;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 0 22px 0;
  flex-wrap: wrap;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  letter-spacing: 0.01em;
  color: #3B2F25;
  padding: 6px 9px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #EEE8D6;
  color: #7E674A;
}
.main-nav img {
  height: 39px;
  margin-right: 8px;
}
.cta-primary {
  background: #7E674A;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 8px 22px;
  border-radius: 24px;
  border: none;
  outline: none;
  margin-left: 7px;
  box-shadow: 0 3px 8px 0 rgba(62,47,37,0.07);
  transition: background 0.17s, box-shadow 0.17s, color 0.17s;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #3B2F25;
  color: #F5F2ED !important;
  box-shadow: 0 6px 18px rgba(62,47,37,0.18);
  text-decoration: none;
}

/* --- BURGER MENU (mobile nav) --- */
.mobile-menu-toggle {
  display: none;
  background: #7E674A;
  color: #fff;
  font-size: 2.3rem;
  border: none;
  border-radius: 8px;
  padding: 6px 13px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #3B2F25;
  color: #F5F2ED;
}
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #3B2F25;
  color: #fff;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.71,.1,.2,.95);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 20px 17px 0 0;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #EEE8D6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 33px 33px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.32rem;
  background: none;
  border-radius: 7px;
  padding: 8px 4px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7E674A;
  color: #FFC074;
}
@media (max-width:1080px) {
  .main-nav {gap: 18px;}
}
@media (max-width: 930px) {
  .main-nav { gap: 8px; }
  .main-nav img { height: 30px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 2px; }
  .main-nav > a { font-size: 1rem; }
  .cta-primary { padding: 6px 12px; font-size: 1rem; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- HERO & PROMOS --- */
.hero {
  background: linear-gradient(to bottom right, #F5F2ED 67%, #EEE8D6 97%);
  padding: 56px 0 24px 0;
  margin-bottom: 30px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #3B2F25;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.07;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 26px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #5D4731;
}

/* --- FEATURES --- */
.features {
  background: #EEE8D6;
  border-radius: 22px;
  padding: 40px 0;
  margin-bottom: 48px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 22px;
  margin-top: 20px;
}
.feature {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 13px 0 rgba(62,47,37,0.08);
  padding: 26px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 245px;
  min-width: 180px;
  gap: 15px;
  transition: box-shadow 0.19s;
}
.feature img {
  height: 48px;
  margin-bottom: 4px;
}
.feature h3 {
  color: #3B2F25;
  font-weight: 700;
  font-size: 1.13rem;
  margin-bottom: 8px;
}
.feature p {
  text-align: center;
  color: #7E674A;
  font-size: 1.01rem;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 7px 24px rgba(62,47,37,0.17);
  z-index: 2;
}

/* --- TRUST/BADGES --- */
.trust ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin: 20px 0 26px 0;
  list-style: disc inside none;
  padding-left: 21px;
}
.trust .badges {
  display: flex;
  gap: 28px;
  margin-top: 13px;
}
.trust .badges span {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #3B2F25;
  background: #fff6ed;
  border-radius: 7px;
  padding: 7px 17px;
  font-size: 1.09rem;
  box-shadow: 0 3px 9px 0 rgba(62,47,37,0.09);
  gap: 7px;
}
.trust .badges img {
  height: 23px;
  margin-right: 6px;
}

/* --- TESTIMONIALS --- */
.testimonials-preview {
  background: #F5F2ED;
  padding: 34px 0 20px 0;
}
.testimonial-card blockquote {
  margin: 0 0 0 0;
  font-size: 1.12rem;
  color: #322919;
  font-style: italic;
}
.testimonial-card cite {
  font-size: 1.01rem;
  color: #7E674A;
  font-weight: 500;
  margin-left: 18px;
  font-style: normal;
}
.testimonials-preview h2 {
  margin-bottom: 22px;
}

/* --- CTA BAR --- */
.cta {
  background: #7E674A;
  color: #fff;
  border-radius: 19px;
  margin-bottom: 56px;
  padding: 36px 0 33px 0;
  text-align: center;
  box-shadow: 0 2px 16px 0 rgba(62,47,37,0.11);
}
.cta p {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 22px;
  letter-spacing: 0.005em;
}
.cta .cta-primary {
  font-size: 1.13rem;
  padding: 13px 33px;
  background: #fff;
  color: #3B2F25 !important;
  font-weight: 700;
  box-shadow: 0 4px 14px 0 rgba(62,47,37,0.13);
}
.cta .cta-primary:hover,
.cta .cta-primary:focus {
  background: #7E674A;
  color: #FFF !important;
  border: 2px solid #fff;
}

/* --- FOOTER --- */
footer {
  background: #3B2F25;
  color: #fff;
  padding: 40px 0 24px 0;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.footer-nav img {
  height: 32px;
  margin-right: 11px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  font-weight: 600;
  padding: 4px 6px;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #7E674A;
}
.footer-contact {
  font-size: 1.03rem;
  color: #EEE8D6;
  margin-top: 8px;
  line-height: 1.4;
}

/* --- PRICE TABLE --- */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 30px 0 30px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  box-shadow: 0 2px 18px 0 rgba(62,47,37,0.11);
}
thead { background: #EEE8D6; }
th, td {
  padding: 15px 13px;
  text-align: left;
}
th {
  color: #3B2F25;
  font-weight: 700;
}
td {
  color: #6D5E49;
  font-weight: 500;
  border-bottom: 1px solid #F5F2ED;
}
tbody tr:last-child td { border-bottom: none; }
tr:hover td {
  background: #FCFAF6;
  transition: background 0.18s;
}

/* --- DLS & FAQ --- */
dl {
  margin-top: 14px;
  margin-bottom: 22px;
}
dt {
  font-weight: 700;
  margin-top: 13px;
  color: #3B2F25;
}
dd {
  margin-left: 0;
  margin-bottom: 12px;
  color: #4F3F2C;
}

/* --- BRAND GRID --- */
.brand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 23px;
}
.brand-grid > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 7px 0 rgba(62,47,37,0.07);
  padding: 17px 18px;
  font-family: 'Montserrat', Arial, Helvetica,sans-serif;
  color: #332816;
  width: 230px;
  min-height: 65px;
  font-size: 1.05rem;
  transition: box-shadow 0.16s;
}
.brand-grid > div:hover {
  box-shadow: 0 3px 17px 0 rgba(62,47,37,0.14);
}

/* --- TEXT SECTIONS --- */
.text-section {
  max-width: 850px;
  font-size: 1.1rem;
}
.text-section h2, .text-section h3 {
  color: #3B2F25;
}
.text-section ul, .text-section ol {
  margin-bottom: 8px;
}
.address-block, .email-block, .map-block, .phone-block, .opening-hours {
  margin-bottom: 15px;
  padding: 8px 10px;
  background: #EEE8D6;
  border-radius: 7px;
  font-size: 1rem;
}

/* --- SERVICE LIST (Leistungen) FLEX --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 99999;
  background: #3B2F25;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px 18px 24px;
  box-shadow: 0 -4px 28px 0 rgba(60,40,20,0.19);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  animation: slideUp 0.55s cubic-bezier(.6,.12,.26,1.13) 1;
}
@keyframes slideUp {
  from { opacity:0; transform: translateY(80px);} 
  to { opacity:1; transform: translateY(0);}
}
.cookie-consent-banner .cookie-text {
  flex: 1 1 auto;
  margin-right: 18px;
  color: #fff;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 17px;
  border: none;
  padding: 9px 19px;
  font-size: 1.01rem;
  margin: 0;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #7E674A;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background:#fff;
  color: #3B2F25;
}
.cookie-btn.reject {
  background: #fff;
  color: #7E674A;
  border: 2px solid #7E674A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #7E674A;
  color: #fff;
}
.cookie-btn.settings {
  background: #eee8d6;
  color: #3B2F25;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #7E674A;
  color: #fff;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 99998;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,18,8,0.7);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.22s cubic-bezier(.6,.12,.26,1.13) 1;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from {opacity: 0;} to {opacity:1;}
}
.cookie-modal {
  background: #fff;
  color: #2A2016;
  border-radius: 18px;
  box-shadow: 0 8px 44px 0 rgba(60,40,20,0.24);
  max-width: 430px;
  min-width: 310px;
  padding: 36px 29px 25px 29px;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  position: relative;
  animation:modalIn 0.32s cubic-bezier(.76,.06,.24,.98);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@keyframes modalIn {
  from{transform: translateY(75px); opacity:0.3;} to{transform: none; opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #3B2F25;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 1.06rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7E674A;
  width: 1.12em;
  height: 1.12em;
  border-radius: 3px;
  margin-right: 1px;
}
.cookie-category .always-on {
  font-size: 0.98rem;
  color: #AE8147;
  font-weight: 600;
  margin-left:7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.cookie-modal-close {
  position: absolute;
  top: 17px; right: 19px;
  background: none;
  border: none;
  color: #7E674A;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {color: #3B2F25;}

/* --- RESPONSIVE DESIGN --- */
@media (max-width:995px) {
  .feature-grid {gap:18px 10px;}
  .feature {width: 180px;}
}
@media (max-width: 900px) {
  .brand-grid > div, .feature {width: 100%; min-width: unset;}
  .content-wrapper {gap:18px;}
  .container {padding-left:8px; padding-right:8px;}
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container, .brand-grid, .service-list {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .section {
    margin-bottom: 35px;
    padding: 22px 8px;
  }
  .footer-nav {flex-direction: column; align-items: flex-start; gap: 6px;}
  .testimonial-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .cta .cta-primary {padding:12px 18px;}
}
@media (max-width: 520px) {
  body {font-size: 15px;}
  h1 {font-size: 1.5rem;}
  h2 {font-size: 1.2rem;}
  .testimonial-card, .feature, .brand-grid > div, .cookie-modal {padding:15px 10px;}
  .hero h1,.cta p {font-size: 1.23rem;}
}

/* --- UTILITY & MICRO-INTERACTIONS --- */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-thumb {
  background: #EEE8D6;
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: #F5F2ED;
}
button {
  font-family: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid #7E674A;
  outline-offset: 1px;
}

/* --- VISUAL HIERARCHY & HIGHLIGHTS --- */
section {
  margin-bottom: 60px;
}
blockquote {
  font-weight: 500;
  color: #322919;
  font-size: 1.09rem;
  background: none;
  border-left: 4px solid #7E674A;
  padding-left: 15px;
}
strong {
  letter-spacing: 0.02em;
}

/* --- SPACING ENFORCEMENTS (mandatory) --- */
.card, .feature, .testimonial-card, .text-section, .brand-grid > div {
  margin-bottom: 20px;
}
.card-container, .content-grid, .feature-grid, .brand-grid, .service-list {
  gap: 20px;
}

/* --- Z-INDEX MANAGEMENT (special overlays, banners) --- */
.mobile-menu,
.cookie-consent-banner,
.cookie-modal-overlay {
  z-index: 99999;
}

/* --- END OF CSS --- */
