/* --------------------------------------------------
   VINTAGE RETRO THEME for GoldenLeaf Reinigung
   Responsive Flexbox Layouts, Mobile Burger Menu, Cookie Banner
-------------------------------------------------- */

/* RESET & BASE STYLES ------------------------------------------- */
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;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f5eec7;
  color: #2d2717;
  line-height: 1.7;
  font-size: 1rem;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #183A1D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #F2B705;
  outline: none;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1em;
}
ul {
  list-style-type: square;
}
ol {
  list-style-type: decimal-leading-zero;
}
section ul li,
section ol li {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* FOCUS INDICATORS */
:focus-visible {
  outline: 2px dashed #F2B705;
  outline-offset: 3px;
}

/* CONTAINER ------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* TYPOGRAPHY  ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  color: #183A1D;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  text-shadow: 1px 2px 0 #e6dae1;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  text-shadow: 1px 1.5px 0 #edd7bd;
}
h3 {
  font-size: 1.28rem;
  margin-bottom: 14px;
  color: #8E5D0C;
}
h4, h5, h6 {
  font-size: 1.08rem;
  color: #644d1f;
}
p {
  margin-bottom: 18px;
}
small {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.2rem;
  }
}

/* VINTAGE PATTERNS & COLORS ------------------------------------------- */
body {
  background-color: #f5eec7;
  background-image:
    repeating-linear-gradient(135deg, rgba(235,219,149,0.1) 0 20px, transparent 20px 50px),
    repeating-linear-gradient(45deg, rgba(242,183,5,0.05) 0 15px, transparent 15px 70px);
}

/* HEADER ------------------------------------------- */
header {
  background: #e8dcaf;
  border-bottom: 4px solid #F2B705;
  box-shadow: 0 4px 18px -8px #b3a16234;
  padding: 0;
  position: relative;
  z-index: 60;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 13px 20px;
}
header img {
  max-height: 40px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
header nav a {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-size: 1rem;
  color: #183A1D;
  padding: 6px 2px;
  border-radius: 3px;
  position: relative;
}
header nav a::after {
  content: "";
  display: block;
  margin: auto;
  width: 0%;
  height: 2px;
  background: #F2B705;
  transition: width .25s;
}
header nav a:hover::after,
header nav a:focus::after {
  width: 70%;
}

/* CTA BUTTONS ------------------------------------------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  background: #F2B705;
  color: #183A1D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  padding: 12px 34px 12px 34px;
  border-radius: 40px;
  border: 2px solid #183A1D;
  box-shadow: 0 2px 8px 0 rgba(227,191,50,0.17);
  text-shadow: 1px 1px 0 #e3be32d1;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  position: relative;
}
.cta-btn:active {
  top: 1px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #e5ac05;
  color: #fff;
  box-shadow: 0 1px 7px 0 #76520f38;
}

/* MOBILE MENU BUTTON ---------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #183A1D;
  color: #FCF9F4;
  font-size: 2.1rem;
  line-height: 1;
  border: none;
  border-radius: 100px;
  width: 41px;
  height: 41px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 180;
  box-shadow: 0 2px 8px #183A1D11;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F2B705;
  color: #183A1D;
}

@media (max-width: 1050px) {
  header nav {
    gap: 18px;
    font-size: 0.97rem;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 10px;
    font-size: .89rem;
  }
}
@media (max-width: 810px) {
  header nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU ------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f5eec7;
  box-shadow: 0 0 70px 2px #183A1D20;
  z-index: 400;
  transform: translateX(-102vw);
  transition: transform 0.4s cubic-bezier(.5, .05, .2, 1);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  margin: 24px 20px 12px 8px;
  background: #183A1D;
  color: #fff;
  border: none;
  font-size: 2.0rem;
  line-height: 1;
  border-radius: 100px;
  width: 45px;
  height: 45px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #F2B705;
  color: #183A1D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px 34px 30px 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
}
.mobile-nav a {
  color: #183A1D;
  padding: 10px 0;
  border-radius: 2px;
  line-height: 1.2;
  font-weight: 500;
  transition: color 0.23s, background 0.13s;
  background: transparent;
  display: flex;
  align-items: center;
  min-width: 170px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F2B705;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 460px) {
  .mobile-nav {
    font-size: 1.19rem;
    padding: 20px 8vw 22px 8vw;
  }
}

/* MAIN LAYOUT --------------------------------------------*/
main {
  padding-top: 14px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,240,0.9);
  border-radius: 18px;
  box-shadow: 0 3px 14px 0 #ebd9981a;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* FLEXBOX LAYOUTS -----------------------------------------*/
.trust-row, .card-container, .client-logos-row, .service-overview, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.trust-row > div,
.client-logos-row > img {
  background: #fff9ea;
  border-radius: 16px;
  padding: 22px 20px;
  min-width: 190px;
  flex: 1 1 230px;
  text-align: center;
  box-shadow: 0 1.5px 8px 0 #ebd99834;
  margin-bottom: 0;
}
.card-container {
  gap: 24px;
}
.card {
  background: #fffdf7;
  border-radius: 13px;
  box-shadow: 0 3px 8px #ebd99823;
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 18px;
}
.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: 10px;
  padding: 20px;
  background: #fffdf7;
  border-radius: 15px;
  box-shadow: 0 1.5px 7px #ebd9983c;
  margin-bottom: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  border: 2px solid #E1BD76;
  max-width: 595px;
}
.testimonial-card p {
  color: #183A1D;
  font-size: 1rem;
  margin-bottom: 9px;
}
.testimonial-card strong {
  color: #867009;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.025em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-overview > div {
  background: #fffbe8;
  border-radius: 12px;
  box-shadow: 0 4px 12px 0 #efc45314;
  flex: 1 1 220px;
  min-width: 200px;
  margin-bottom: 0;
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
}
.service-overview > div h3 {
  color: #79560e;
  font-size: 1.23rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-overview > div p {
  font-size: 0.99rem;
  margin-bottom: 14px;
}
.service-overview > div a {
  color: #183A1D;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.17s;
}
.service-overview > div a:hover,
.service-overview > div a:focus {
  color: #F2B705;
}

/* PROJECT SNAPSHOTS
   (only seen on referenzen.html) */
.project-snapshots {
  margin-top: 38px;
  margin-bottom: 20px;
  background: #fff9ec;
  border-radius: 13px;
  box-shadow: 0 1.5px 7px #ead3802c;
  padding: 22px 18px;
}

/* FAQ Accordion (bueroreinigung.html) */
.faq-accordion > div {
  background: #fffbe8;
  border-radius: 11px;
  margin-bottom: 0 !important;
  padding: 18px 18px;
  box-shadow: 0 1px 6px #ead3802e;
  flex: 1 1 260px;
  min-width: 210px;
}
.faq-accordion h3 {
  color: #856117;
  font-size: 1.08rem;
  margin-bottom: 5px;
}

/* LOCATION SECTION (kontakt.html) */
.location-section {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.location-section ul {
  margin-left: 0;
  margin-bottom: 0;
  padding: 0;
}
.location-section li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.map-embed {
  border-radius: 7px;
  background: #fffbe8;
  padding: 19px 16px;
  min-width: 220px;
  font-size: 0.95rem;
}

/* FOOTER ------------------------------------------- */
footer {
  background: #ebe1b6;
  color: #183A1D;
  padding: 0 0 0 0;
  font-family: 'Open Sans', Arial, sans-serif;
  border-top: 6px double #F2B705;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 44px 0 8px 0;
}
.footer-row > div {
  min-width: 170px;
  flex: 1 1 240px;
  margin-bottom: 20px;
}
.footer-row nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-row nav a {
  color: #795f13;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  margin-bottom: 0px;
  transition: color 0.17s;
}
.footer-row nav a:hover,
.footer-row nav a:focus {
  color: #F2B705;
}
footer img {
  max-height: 44px;
  margin-bottom: 10px;
  margin-right: 10px;
}
.footer-bottom {
  padding: 20px;
  border-top: 1px solid #dabf7a;
  text-align: center;
  background: #f5eec7;
}
footer small {
  color: #7e7b69;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ICONS IN FOOTER & CONTACT */
.footer-row img,
.text-section img,
.location-section img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  filter: sepia(0.6) hue-rotate(-25deg) brightness(1.01);
}

/* COOKIE CONSENT BANNER ------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  min-height: 70px;
  background: #fff7db;
  color: #183A1D;
  box-shadow: 0 -3px 22px -8px #947a381a;
  border-top: 3px solid #F2B705;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px 20px 32px;
  gap: 24px;
  font-size: 1rem;
  animation: cookieBannerIn 0.5s cubic-bezier(.7,0,.3,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  max-width: 530px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 19px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 24px;
  border-radius: 33px;
  border: 1.5px solid #183A1D;
  background: #F2B705;
  color: #183A1D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.21s, color 0.21s, border 0.13s;
  margin-bottom: 0;
  box-shadow: 0 2px 8px 0 #b6922f1f;
}
.cookie-btn.cookie-settings {
  background: #fff7db;
  color: #183A1D;
  border: 1.5px dashed #183A1D;
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: #e4ac1d;
  color: #fff;
}

/* COOKIE MODAL ------------------------------------------ */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 11000;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,58,29,0.15);
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeInBg 0.24s ease;
}
@keyframes fadeInBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fffbe8;
  max-width: 400px;
  padding: 32px 32px 28px 32px;
  border-radius: 24px;
  box-shadow: 0 4px 38px #dec88d77;
  position: relative;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #183A1D;
  animation: modalSlideIn 0.39s cubic-bezier(.5,.26,.13,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(70px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.19rem;
  margin-bottom: 14px;
  color: #8E5D0C;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  background: #e6dfc4;
  border-radius: 15px;
  border: none;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.18s;
}
.cookie-toggle[data-enabled="true"] {
  background: #F2B705;
}
.cookie-toggle .dot {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.22s;
}
.cookie-toggle[data-enabled="true"] .dot {
  left: 23px;
  background: #183A1D;
}
.cookie-modal .cookie-btn {
  margin-top: 12px;
  width: 100%;
  margin-left: 0;
}
.cookie-modal .cookie-btn:last-child {
  margin-top: 6px;
}
.close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fffbe8;
  border: none;
  color: #183A1D;
  font-size: 1.7rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.close-cookie-modal:focus,
.close-cookie-modal:hover {
  background: #F2B705;
  color: #fff;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* VINTAGE RETRO DETAILS ----------------------------------- */
/* Retro line divider */
.vintage-divider {
  border: none;
  border-top: 2px dashed #e5ac05;
  margin: 32px 0;
  width: 80%;
  align-self: center;
}

/* CLASSIC BUTTONS / OUTLINES ------------------------------ */
button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  border: 2px solid #F2B705;
  background: #fff7db;
  color: #183A1D;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 18px;
  cursor: pointer;
  margin-bottom: 0;
  box-shadow: 0 1px 5px #bfa8521a;
  transition: background 0.18s, color 0.17s;
}
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #F2B705;
  color: #fff;
}

/* TEXT SECTION --------------------------------------------*/
.text-section {
  background: #fffdf7;
  border-radius: 13px;
  box-shadow: 0 1.5px 8px #ebd99836;
  padding: 28px 22px 30px 22px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.text-section ul {
  margin-bottom: 10px;
}

/* CLIENT LOGOS ROW --------------------------------------- */
.client-logos-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff9ea;
  border-radius: 13px;
  padding: 12px 15px;
}
.client-logos-row span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #856117;
  font-size: 1.12rem;
  margin-right: 10px;
}

/* UTILITY: SPACING & GAPS --------------------------------- */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* MICROINTERACTIONS & TRANSITIONS -------------------------- */
.card, .service-overview > div, .project-snapshots {
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover, .service-overview > div:hover, .project-snapshots:hover {
  box-shadow: 0 6px 26px -6px #b6922f41;
  transform: translateY(-3px) scale(1.018);
}
.testimonial-card {
  transition: box-shadow 0.19s, border 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 25px -4px #F2B70533;
  border: 2.5px solid #F2B705;
}

/* RETRO CHECKMARK ICON SIZING */
ul li img {
  width: 24px;
  height: 24px;
  margin-right: 7px;
  vertical-align: middle;
  margin-bottom: 2px;
}

/* RESPONSIVE DESIGN ---------------------------------------- */
@media (max-width: 990px) {
  .trust-row, .card-container, .service-overview, .client-logos-row, .footer-row, .location-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .trust-row > div, .service-overview > div {
    min-width: 0;
    width: 100%;
  }
  .footer-row > div, .location-section .map-embed {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .section, section {
    padding: 26px 6vw;
    margin-bottom: 38px;
  }
  .content-wrapper {
    padding: 0;
    gap: 18px;
  }
  .faq-accordion {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .project-snapshots, .testimonial-card, .text-section, .service-overview > div {
    padding: 15px 6vw;
  }
  header .container {
    gap: 7px;
    padding: 17px 12px 10px 12px;
  }
  .footer-row {
    padding: 32px 0 4px 0;
    gap: 13px;
  }
  .footer-bottom {
    padding: 12px 2vw;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.13rem; }
  h2 { font-size: 1.05rem; }
  .section, section {
    padding: 13px 3vw;
  }
  .content-wrapper { gap: 13px; }
  .cta-btn { font-size: 0.97rem; padding: 10px 20px; }
  .testimonial-card, .text-section { padding: 10px 3vw; }
  .footer-row { gap: 4px; padding: 18px 0 3px 0; }
}

/* PRINT ------------------------------------------ */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000 !important; }
  .section { box-shadow: none !important; border: none !important; padding: 8px 0 !important; }
  .card, .testimonial-card { box-shadow: none !important; border: none !important; background: #fff !important; }
}

/* END */
