/* 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,
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;
  background: transparent;
  box-sizing: border-box;
}
html {
  height: 100%;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  color: #25313a;
  background: #f5f3ef;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #25313a;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
  font-weight: 500;
}
a:hover, a:focus {
  color: #bda677;
  outline: none;
}
ul,ol {
  list-style: none;
}
strong {
  font-weight: bold;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #25313a;
  letter-spacing: .01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p { font-size: 1rem; margin-bottom: 14px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Header & Navigation */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(37,49,58,.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}
.logo-link img {
  height: 40px;
  width: auto;
  margin-right: 36px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
}
.main-nav a:hover,
.main-nav a:focus {
  border-bottom: 2.5px solid #bda677;
  color: #bda677;
}
.cta-btn {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  background: #fff;
  color: #25313a;
  border: 2px solid #bda677;
  border-radius: 9px;
  padding: 10px 32px;
  margin-left: 18px;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(189,166,119,0.06);
  transition: background 0.2s cubic-bezier(.4,0,.2,1),
   color 0.19s cubic-bezier(.4,0,.2,1),
   border 0.19s cubic-bezier(.4,0,.2,1),
   transform .14s;
  outline: none;
  position: relative;
}
.cta-btn.primary {
  background: #bda677;
  color: #fff;
  border-color: #bda677;
}
.cta-btn:hover, .cta-btn:focus {
  background: #25313a;
  color: #fff;
  border-color: #25313a;
  transform: translateY(-2px) scale(1.03);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #25313a;
  color: #bda677;
  border-color: #bda677;
}

/* Mobile Nav Styles */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 101;
  background: #f5f3ef;
  color: #25313a;
  border: 2px solid #bda677;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #25313a;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 36px rgba(37,49,58,0.15);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.77,0,.175,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #25313a;
  font-size: 2rem;
  margin: 10px 20px 0 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #bda677;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 30px 32px 0 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  padding: 14px 0 10px 0;
  border-bottom: 2px solid #25313a22;
  color: #25313a;
  transition: color .2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #bda677;
  border-bottom: 2px solid #bda677;
}

/* Hide Desktop Nav on Mobile */
@media (max-width: 1020px) {
  .main-nav,
  .cta-btn.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Show Desktop Nav on Desktop */
@media (min-width: 1021px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
  .cta-btn.primary {
    display: inline-block;
  }
}

/* Main Structure: Sections, Cards, Grids */
main {
  width: 100%;
  background: #f5f3ef;
  min-height: 100vh;
  padding-bottom: 54px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: 0 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(37,49,58,0.09);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  min-width: 270px;
  flex: 1 1 270px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 24px rgba(37,49,58,.16);
  transform: translateY(-4px) scale(1.034);
}
.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: #fff;
  color: #25313a;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(37,49,58,0.11);
  margin-bottom: 20px;
  width: 100%;
  max-width: 520px;
  border-left: 6px solid #bda677;
  transition: box-shadow .22s, border-color .22s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(189,166,119,0.11);
  border-color: #25313a;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(37,49,58,0.09);
  padding: 22px 18px;
}

/* Features Section Multi-Card Flex */
.features ul, .features-angebote ul, .services-list ul,
.services ul, .about-company ul, .facts ul, .facts-kundenstimmen ul, .about-home ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.features ul li,
.features-angebote ul li,
.services-list ul li,
.services ul li,
.about-company ul li,
.facts ul li,
.facts-kundenstimmen ul li,
.about-home ul li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(37,49,58,0.08);
  padding: 20px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  flex: 1 1 228px;
  gap: 12px;
  margin: 0 0 10px 0;
}
.features ul li img,
.features-angebote ul li img {
  width: 38px;
  margin-bottom: 10px;
  background: #f5f3ef;
  padding: 7px;
  border-radius: 7px;
}

/* Service Card Styling */
.services-list ul li, .services ul li {
  border-left: 5px solid #bda677;
}
.services-list ul li span, .services ul li span {
  font-family: 'Lato', sans-serif;
  color: #bda677;
  font-size: 1.07rem;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* Team Section */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
}
.team-member {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(37,49,58,0.09);
  padding: 24px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 5px solid #25313a;
}
.team-member h3 {
  color: #25313a;
  margin-bottom: 0;
}
.team-member span {
  color: #bda677;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

/* Responsive Typography & Spacing */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.07rem; }
  .container {
    padding: 0 13px;
  }
  section,
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .features ul, .features-angebote ul,
  .services-list ul, .services ul,
  .about-company ul, .facts ul, .about-home ul, .facts-kundenstimmen ul {
    gap: 14px;
  }
  .team-list {
    gap: 13px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 14px;
    font-size: 15.5px;
  }
  .testimonials-list .testimonial-card {
    max-width: 100%;
  }
  .content-wrapper {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* Visual Hierarchy: Lead Hero & Calls */
.hero, .hero-about, .hero-angebote, .hero-services, .hero-bewertungen,
.hero-kundenstimmen, .hero-contact, .thankyou-message {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(37,49,58,0.05);
  margin-top: 32px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container, .hero-about .container,
.hero-angebote .container, .hero-services .container,
.hero-bewertungen .container, .hero-kundenstimmen .container,
.hero-contact .container, .thankyou-message .container {
  padding-top: 30px;
  padding-bottom: 30px;
}
.hero h1, .hero-about h1, .hero-angebote h1, .hero-services h1,
.hero-bewertungen h1, .hero-kundenstimmen h1, .hero-contact h1,
.thankyou-message h1 {
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .hero, .hero-about, .hero-angebote, .hero-services,
  .hero-bewertungen, .hero-kundenstimmen, .hero-contact,
  .thankyou-message {
    margin-top: 9px;
    border-radius: 10px;
    margin-bottom: 32px;
  }
}

/* Call To Actions (".cta", etc.) */
.cta, .cta-angebote, .cta-services, .cta-bewertungen {
  background: #bda677;
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 24px rgba(189,166,119,0.08);
  margin-bottom: 60px;
}
.cta h2, .cta-angebote h2, .cta-services h2, .cta-bewertungen h2,
.cta p, .cta-angebote p, .cta-services p, .cta-bewertungen p {
  color: #fff;
}

/* Facts Cards */
.facts ul, .facts-kundenstimmen ul, .about-home ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.facts ul li, .facts-kundenstimmen ul li, .about-home ul li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(37,49,58,0.11);
  padding: 18px;
  min-width: 140px;
  font-size: 1.08rem;
  color: #25313a;
  font-weight: 600;
  flex: 1 1 160px;
}

/* Legal/Policy Sections */
.legal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(37,49,58,0.07);
}
.legal h1 {
  font-size: 2rem;
}

/* Footer */
footer {
  background: #25313a;
  color: #fff;
  width: 100%;
  padding: 32px 0 0 0;
}
footer .container {
  border-top: 2px solid #bda677;
  padding-top: 28px;
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #bda677;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  letter-spacing: .01em;
  position: relative;
  transition: color .18s, border-color .2s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #bda677;
}
.footer-contact a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}
.footer-social img {
  width: 26px;
  filter: grayscale(1) brightness(1.5);
  transition: filter .18s;
}
.footer-social img:hover {
  filter: grayscale(0);
}
@media (max-width: 768px) {
  footer .content-wrapper { gap: 15px; }
  .footer-nav, .footer-contact, .footer-social {
    flex-direction: column;
    gap: 7px;
  }
}

/*------------------ Cookie Consent Banner ------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 5000;
  background: #fff;
  color: #25313a;
  border-top: 3px solid #bda677;
  box-shadow: 0 -2px 28px rgba(37,49,58,.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 22px 24px 15px 24px;
  font-size: 1rem;
  animation: cookie-banner-in 0.52s cubic-bezier(.4,0,.2,1);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 10px 10px 10px;
    font-size: 14.5px;
  }
}
@keyframes cookie-banner-in {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-btn-group {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  font-family: 'Lato', Arial, sans-serif;
  background: #bda677;
  border: none;
  color: #fff;
  font-size: 1rem;
  border-radius: 7px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, transform 0.12s;
  box-shadow: 0 2px 10px rgba(189,166,119,0.10);
  outline: none;
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: #25313a;
  color: #bda677;
  transform: scale(1.045);
}
.cookie-btn.secondary {
  background: #fff;
  color: #bda677;
  border: 2px solid #bda677;
  box-shadow: none;
}

/* Cookie Settings Modal Overlay */
.cookie-modal {
  position: fixed;
  z-index: 6000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(37,49,58,0.31);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein 0.44s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #25313a;
  border-radius: 13px;
  box-shadow: 0 12px 42px rgba(37,49,58,0.23);
  padding: 42px 44px 28px 40px;
  min-width: 328px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 540px) {
  .cookie-modal-content {
    padding: 22px 10px 18px 10px;
    min-width: 0;
  }
}
.cookie-modal-content h3 {
  font-size: 1.21rem;
  color: #25313a;
  margin-bottom: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  margin-bottom: 16px;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 22px;
  background: #f5f3ef;
  border: 2px solid #bda677;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
}
.cookie-toggle:checked {
  background: #bda677;
  border-color: #25313a;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(37,49,58,0.16);
  transition: transform 0.22s;
}
.cookie-toggle:checked::before {
  transform: translateX(20px);
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: transparent;
  border: none;
  font-size: 1.45rem;
  color: #25313a;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  color: #bda677;
}

/*--- Forms (used on contact page) ---*/
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  border-radius: 7px;
  outline: none;
  border: 2px solid #25313a44;
  background: #fff;
  padding: 10px 14px;
  margin-bottom: 22px;
  width: 100%;
  box-shadow: 0 1px 2px rgba(37,49,58,0.05);
  transition: border-color 0.19s;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: #bda677;
}
label {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: #25313a;
}

/* Geometric/Structured Effects */
.features ul li, .features-angebote ul li,
.services-list ul li, .services ul li, .about-company ul li, .facts ul li, .about-home ul li,
.card, .testimonial-card, .team-member {
  border-radius: 0 14px 14px 0/0 14px 14px 0;
  border-left-width: 6px;
  border-left-style: solid;
  border-image: linear-gradient(180deg, #bda677 0%, #25313a 100%) 1;
  border-image-slice: 1;
}
@media (max-width: 540px) {
  .features ul li, .features-angebote ul li,
  .services-list ul li, .services ul li, .about-company ul li, .facts ul li, .about-home ul li,
  .card, .testimonial-card, .team-member {
    border-radius: 0 7px 7px 0/0 7px 7px 0;
  }
}

/* Micro-Interaction Shadow and Hover */
.features ul li:hover,
.features-angebote ul li:hover,
.services-list ul li:hover,
.card:hover, .card:focus-within,
.team-member:hover, .team-member:focus-within {
  box-shadow: 0 6px 28px rgba(189,166,119,0.15);
  transform: translateY(-4px) scale(1.019);
}

/* Visual Accent Lines */
.features h2, .features-angebote h2,
.services-list h2, .about-company h2,
.facts h2, .facts-kundenstimmen h2,
.about-home h2 {
  border-left: 6px solid #bda677;
  padding-left: 16px;
  margin-left: -8px;
}
@media (max-width: 768px) {
  .features h2, .features-angebote h2,
  .services-list h2, .about-company h2,
  .facts h2, .facts-kundenstimmen h2,
  .about-home h2 {
    border-left-width: 3px;
    padding-left: 8px;
    margin-left: 0;
  }
}

/* Accessibility: High Contrast for Testimonials/Review */
.testimonial-card, .testimonials-list .testimonial-card {
  background: #fff;
  color: #25313a;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(37,49,58,0.14);
}
.testimonial-card span {
  color: #bda677;
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}
.testimonial-card p {
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* Address in Kontakt Page */
address {
  font-family: 'Lato', Arial, sans-serif;
  font-style: normal;
  color: #25313a;
  margin-bottom: 15px;
}

/* Animations for subtle micro-interactions */
.card, .testimonial-card, .feature-item, .team-member {
  transition: box-shadow .19s, transform .16s, border-color .18s;
}
button, .cta-btn, .cookie-btn {
  transition: background 0.14s, color 0.17s, border-color 0.17s, transform 0.13s;
}

/* Utility Spacing for Flex Items */
.card + .card, .testimonial-card + .testimonial-card, .team-member + .team-member {
  margin-left: 20px;
}
@media (max-width: 1000px) {
  .card + .card, .testimonial-card + .testimonial-card, .team-member + .team-member {
    margin-left: 0;
    margin-top: 14px;
  }
}

/* Hide elements visually but keep accessible (for nav, banner reduce motion) */
.visually-hidden { position: absolute!important; width: 1px; height: 1px; padding:0; margin:-1px; overflow: hidden; clip: rect(0,0,0,0); border:0; }

/* Structured/Geometric Fonts for Headings */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

body { font-family: 'Lato', Arial, Helvetica, sans-serif; }
h1,h2,h3 { font-family: 'Playfair Display', serif; }

/*--- END ---*/
