/* CSS RESET & BASES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2C3E50;
  background: linear-gradient(135deg, #F4F6F8 0%, #FFFFFF 100%);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #D18A40;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AD6300;
  outline: none;
}
ul, ol { padding-left: 1.5rem; margin-bottom: 16px; }
li { margin-bottom: 6px; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  color: #2C3E50;
  letter-spacing: 0.02em;
  font-weight: 700;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
p {
  margin-bottom: 16px;
}
strong { font-weight: 600; }

/* CONTAINER & LAYOUTS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(44, 62, 80, 0.11);
  padding: 32px 24px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(44, 62, 80, 0.20);
  transform: translateY(-4px) scale(1.02);
}
.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: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: #F4F6F8;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.07);
  color: #222;
  font-size: 1.06rem;
  line-height: 1.6;
  min-width: 210px;
}
.testimonial-card .stars {
  margin-top: 8px;
  color: #D18A40;
  font-size: 1.15rem;
  letter-spacing: 2px;
  font-family: inherit;
}
.testimonial-summary {
  background: #fff;
  border-radius: 17px;
  padding: 24px 16px;
  margin-top: 16px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.09);
  text-align: center;
}
.feature-grid,
.service-list,
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 2px 14px rgba(44, 62, 80, 0.07);
  flex: 1 1 230px;
  min-width: 210px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.16);
  transform: translateY(-2px) scale(1.02);
}
.faqq-section {
  margin-top: 25px;
  gap: 28px;
}
.project-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
  padding: 28px 18px;
  flex: 1 1 270px;
  min-width: 250px;
  margin-bottom: 20px;
}

/***** HEADER *****/
header {
  background: linear-gradient(135deg,#F4F6F8 80%,#D18A40 100%);
  border-bottom: 2px solid #f5ece1;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img[alt="Vitalis Core Renovierung"] {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2C3E50;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a.active {
  background: #F4F6F8;
  color: #AD6300;
}
.cta-primary {
  background: linear-gradient(90deg, #D18A40 0%, #AD6300 100%);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 14px;
  padding: 12px 32px 12px 28px;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(209, 138, 64, 0.13);
  cursor: pointer;
  display: inline-block;
  transition: background 0.24s, box-shadow 0.21s, transform 0.14s;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(100deg, #AD6300 0%, #D18A40 70%);
  box-shadow: 0 8px 24px rgba(209, 138, 64, 0.28);
  color:#fff;
  transform: translateY(-2px) scale(1.02);
  outline: none;
}
.cta-secondary {
  background: none;
  color: #AD6300;
  font-weight: 700;
  border: 2px solid #D18A40;
  border-radius: 14px;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  margin-top: 18px;
  transition: background 0.15s, color 0.15s, border 0.18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F4F6F8;
  color: #AD6300;
  border-color: #AD6300;
  outline:none;
}

/***** MOBILE NAVIGATION *****/
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  color: #2C3E50;
  font-size: 2rem;
  line-height: 1;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 10px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.11);
  transition: background 0.17s, box-shadow 0.21s;
  z-index: 2222 !important;
}
.mobile-menu-toggle:focus { outline: 2px solid #AD6300; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 2100;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.8,0,0.2,1), opacity 0.34s;
  overflow-y: auto;
  box-shadow: -6px 0 24px rgba(44,62,80,0.15);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #2C3E50;
  font-size: 2.2rem;
  padding: 14px 24px 6px 0;
  cursor: pointer;
  margin-bottom: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 30px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2C3E50;
  padding: 15px 7px 10px 7px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F6F8;
  color: #AD6300;
  outline: none;
}
@media (max-width: 991px) {
  header .container nav,
  header .container .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 991px) {
  .mobile-menu {
    display: flex;
  }
}
/* Hide mobile menu on large screens */
@media (min-width: 992px) {
  .mobile-menu {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none!important;
  }
}

/***** HERO SECTION *****/
.hero {
  background: linear-gradient(120deg, #F4F6F8 70%, #D18A40 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 10px 42px -14px rgba(44,62,80,0.09);
  margin-bottom: 60px;
  padding: 64px 0 56px 0;
  display: flex;
  align-items: center;
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.20rem;
  margin-bottom: 22px;
  color: #3a4047;
}

/***** SECTION VARIANTS *****/
.features, .services-overview, .project-summaries, .our-services, .customer-testimonials {
  background: linear-gradient(125deg, #fff 75%, #F4F6F8 100%);
  border-radius: 28px;
  margin-bottom: 40px;
  box-shadow: 0 2px 22px rgba(44,62,80,0.06);
}
.cta {
  background: linear-gradient(to right, #F4F6F8 70%, #D18A40 100%);
  border-radius: 30px;
  box-shadow: 0 4px 32px rgba(209,138,64,0.10);
  margin-bottom: 50px;
  text-align: center;
}
.cta h2 { font-size: 2rem; }

/***** TESTIMONIALS PREVIEW *****/
.testimonials-preview .testimonial-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/***** FOOTER *****/
footer {
  background: #2C3E50;
  color: #fff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -6px 28px -8px rgba(44,62,80,0.12);
  padding-top: 32px;
  margin-top: 60px;
}
footer .container {
  gap: 38px;
}
.footer-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-navigation nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-navigation nav a {
  color:#F4F6F8;
  font-size: 1rem;
  opacity: .90;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 6px;
  margin-bottom: 6px;
  border-radius: 5px;
  transition: background .15s, color .18s;
}
.footer-navigation nav a:hover, .footer-navigation nav a:focus {
  background: #D18A40;
  color: #fff;
}
footer .cta-primary {
  background: linear-gradient(90deg,#D18A40,#AD6300);
  color: #fff!important;
  margin: 0 0 0 10px;
}
.footer-info {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 16px;
}
.footer-info .brand-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #F4F6F8;
}
.footer-info .brand-info img {
  width: 43px; height:43px;
  margin-bottom: 7px;
}
.footer-contact-short {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}
.footer-contact-short img {
  width: 19px;
  height: 19px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-contact-short div {
  display: flex;
  align-items: center;
}
footer a {
  color: #F4F6F8;
  text-decoration: none;
  transition: color .18s;
}
footer a:hover, footer a:focus {
  color: #AD6300;
  outline: none;
}

/***** FAQ *****/
.faq { background: #fff; border-radius: 22px; box-shadow: 0 3px 18px rgba(44,62,80,0.07); }
.faq-tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.faq-tabs button {
  background: #F4F6F8;
  color: #2C3E50;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.faq-tabs button.active, .faq-tabs button:focus, .faq-tabs button:hover {
  background: #D18A40;
  color: #fff;
  outline: none;
}
.faqs h2 {
  font-size: 1.28rem;
  margin-bottom: 4px;
  margin-top:20px;
}
.faqs div {
  margin-bottom: 12px;
}

/***** COOKIE CONSENT BANNER ******/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #222;
  box-shadow: 0 -4px 24px rgba(44,62,80,0.09);
  z-index: 3333;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 20px 18px 20px;
  gap: 24px;
  border-radius: 26px 26px 0 0;
  transition: transform .33s cubic-bezier(.76,0,.26,1), opacity .33s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  background: linear-gradient(90deg, #D18A40, #AD6300);
  color: #fff;
  font-family:'Montserrat',Arial,sans-serif;
  border: none;
  border-radius: 9px;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: linear-gradient(100deg,#AD6300 0%,#D18A40 70%);
  color:#fff;
  outline:none;
}
.cookie-btn.secondary {
  background: none;
  color: #D18A40;
  border: 2px solid #D18A40;
  transition: background 0.13s, color .13s, border-color .13s;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #F4F6F8;
  color: #AD6300;
  border-color: #AD6300;
}

/**** COOKIE PREFERENCES MODAL *****/
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 4000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44, 62, 80, 0.32);
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 32px rgba(44,62,80,0.18);
  padding: 35px 27px 30px 27px;
  width: 94vw;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInModal 0.32s;
  position: relative;
}
@keyframes fadeInModal {
  0% { opacity:0; transform: scale(0.94); }
  100% { opacity:1; transform: scale(1); }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F4F6F8;
  border-radius: 10px;
  padding: 13px 12px;
  font-size: 1.01rem;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 42px; height: 24px;
  border-radius: 22px;
  background: #D18A40;
  outline: none;
  theme-outline: none;
  cursor: pointer;
  transition: background 0.14s;
  position: relative;
}
.cookie-toggle:checked {
  background: #AD6300;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px; left: 3px;
  transition: transform 0.18s cubic-bezier(.86,0,.07,1);
}
.cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal .close-btn {
  position: absolute;
  top: 13px; right: 16px;
  background: none;
  border: none;
  color: #2C3E50;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 3px;
}
.cookie-modal .save-btn {
  background: linear-gradient(90deg, #D18A40 0%, #AD6300 100%);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 8px 14px;
  margin-top: 9px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .save-btn:hover, .cookie-modal .save-btn:focus {
  background: linear-gradient(100deg, #AD6300 0%, #D18A40 70%);
  outline: none;
}
/* Section spacing always respected */
section, .section {
  margin-bottom: 60px;
}

/***** SPECIFIC COMPONENTS *****/
.address-map {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.address-map img {
  width: 24px;
  height: 24px;
}
.opening-hours {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
}
.opening-hours img {
  width: 21px;
  height: 21px;
}
.trust-elements, .trust-signals ul {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 13px;
  margin-bottom: 10px;
}
.trust-elements span, .trust-signals li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  background: #fff;
  border-radius: 9px;
  padding: 6px 10px;
  color: #2C3E50;
}
.trust-elements img, .trust-signals img {
  width: 18px; height: 18px;
}
.contact-infos {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
  margin-top: 18px;
}
.contact-infos div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-infos img {
  width: 20px;
  height: 20px;
}

/***** RESPONSIVENESS *****/
@media (max-width: 1050px) {
  .container { max-width: 96vw; }
  .footer-info {
    flex-direction: column;
    gap: 26px;
  }
  .footer-navigation { flex-direction: column; gap: 10px; align-items:flex-start; }
  .footer-navigation .cta-primary { margin-left: 0; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 11px; }
  .section, section {
    padding: 32px 8px;
    margin-bottom:40px;
    border-radius: 18px;
  }
  .hero { padding: 38px 0 28px 0; }
  .hero h1 { font-size: 1.6rem; }
  .feature-grid,.service-list, .project-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-snippets{
    flex-direction: column;
    gap: 16px;
  }
  .footer-info{
    flex-direction: column;
    gap:14px;
    align-items: flex-start;
  }
  .footer-navigation{flex-direction: column;gap:8px;align-items:flex-start;}
  .footer-navigation nav{gap:11px;}
  .contact-infos{flex-direction:column;gap: 9px;align-items:center;}
  .text-image-section { flex-direction: column; gap: 16px; }
  .testimonial-card{font-size:1rem;}
}
@media (max-width: 415px){
  .cookie-banner { font-size: 0.96rem; flex-direction: column; gap: 10px;  border-radius: 18px 18px 0 0;}
  .footer-info, .footer-contact-short { gap: 6px; }
}

/* Ensure minimum 20px between all content cards/sections on mobile and desktop */
.section > *, section > * {
  margin-bottom: 20px;
}
.section > *:last-child, section > *:last-child {
  margin-bottom: 0 !important;
}
.card + .card, .feature-item + .feature-item, .project-item + .project-item, .testimonial-card + .testimonial-card {
  margin-top: 20px !important;
}

/**** TRANSITIONS & MICROINTERACTIONS ****/
button, .cta-primary, .cta-secondary, .cookie-btn, .faq-tabs button, .save-btn {
  transition: background .17s, color .11s, box-shadow .15s, transform .14s;
}

/**** Miscellaneous / Utility ****/
::-webkit-scrollbar {
  width: 10px; background: #F4F6F8;
}
::-webkit-scrollbar-thumb {
  background: #D18A40; border-radius: 8px;
}
[aria-current="page"] {
  color: #AD6300 !important;
  font-weight: bold;
}

/* Hide outline on mouse, show on keyboard tab only */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #AD6300;
  outline-offset: 2px;
}

/***** END OF STYLE.CSS *****/