/* ========================================================
   Radiance Split Baukonzepte – style.css
   Professional Corporate Theme – blue/gray palette, flexbox layouts only
======================================================== */

/* ===== 1. CSS RESET & NORMALIZE ===== */
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 {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23324D;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-text-size-adjust: 100%;
}
a {
  text-decoration: none;
  color: #23324D;
  transition: color 0.2s;
  outline: none;
}
a:hover, a:focus {
  color: #76A77B;
  text-decoration: underline;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #23324D;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.625rem; margin-bottom: 18px; }
h3 { font-size: 1.125rem; margin-bottom: 10px; }
h4 { font-size: 1rem; margin-bottom: 8px; }

strong { font-weight: 600; }
ul, ol {
  margin-left: 22px;
  margin-bottom: 18px;
}
ul {
  list-style: disc outside;
}
ol {
  list-style: decimal outside;
}
li {
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
  font-size: 1.063rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: #23324D;
}

/* ===== 2. CONTAINERS & UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.cta-bg {
  background: #F0ECE6;
  border-radius: 18px;
  padding: 36px 24px;
  box-shadow: 0 2px 16px rgba(35, 50, 77, 0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(35, 50, 77, 0.08);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(35, 50, 77, 0.13);
  transform: translateY(-3px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: #F0ECE6;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(35,50,77,0.06);
  color: #23324D;
  font-size: 1.09rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== 3. HEADER & NAVIGATION ===== */
header {
  background: #23324D;
  padding: 0;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}
header img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  color: #F0ECE6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  opacity: 0.96;
  padding: 5px 3px;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #76A77B;
  background: #23324D22;
}
.cta.primary {
  margin-left: 36px;
  background: #76A77B;
  color: #fff!important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 2px 10px rgba(35,50,77,0.07);
  font-size: 1.13rem;
  cursor: pointer;
  transition: background 0.17s, transform 0.2s;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: #23324D;
  color: #fff;
  transform: translateY(-2px) scale(1.022);
}
.cta {
  background: #23324D;
  color: #fff!important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 17px;
  border: none;
  box-shadow: 0 2px 10px rgba(35,50,77,0.07);
  font-size: 1.02rem;
  cursor: pointer;
  margin-top: 14px;
  transition: background 0.16s, color 0.14s, transform 0.18s;
  display: inline-block;
}
.cta:hover, .cta:focus {
  background: #76A77B;
  color: #fff;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  margin-left: 22px;
  border-radius: 6px;
  padding: 4px 10px;
  line-height: 1;
  transition: background 0.13s, color 0.12s;
  z-index: 1051;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #23324D33;
  color: #76A77B;
}

/* === 4. MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1100;
  background: #23324Ded;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.68, -0.01, 0.34, 1.1);
  pointer-events: none;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  margin: 24px 22px 10px 0;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1103;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #76A77B;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.13s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #76A77B33;
  color: #76A77B;
}

/* HIDE/SHOW FOR RESPONSIVE NAV */
@media (max-width: 1068px) {
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1069px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ===== 5. HERO / HEADLINES / SECTION HEADS ===== */
.hero {
  background: linear-gradient(91deg, #23324D 83%, #76A77B1b 100%);
  color: #fff;
  padding: 44px 0 56px 0;
  margin-bottom: 42px;
}
.hero h1, .hero h2 {
  color: #fff;
}
.hero .cta.primary {
  margin-top: 18px;
  background: #76A77B;
  color: #fff;
}

/* ===== 6. FEATURES/USP ===== */
section ul, section ol {
  margin-left: 0px;
  padding-left: 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
section ul li, section ol li {
  background: #FAFAFB;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,50,77,0.045);
  padding: 24px 16px;
  min-width: 225px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  color: #23324D;
  font-size: 1rem;
}
section ul li img, section ol li img {
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
}

/* ===== 7. PROJECT/TEAM/TESTIMONIAL CARDS ===== */
.project-summary-card {
  background: #F0ECE6;
  border-radius: 12px;
  padding: 25px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(35,50,77,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  color: #23324D;
}
.project-summary-card img {
  width: 40px;
  margin-bottom: 0;
}

/* ===== 8. TESTIMONIALS & RATING ===== */
.testimonial-card {
  background: #F0ECE6;
  color: #23324D;
  border-left: 5px solid #76A77B;
  margin-bottom: 20px;
  font-size: 1.08rem;
  transition: box-shadow 0.18s, border 0.19s;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-style: italic;
  color: #567;
  margin-left: 10px;
}
.star-rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #23324D;
  background: #E4EBF7;
  border-radius: 10px;
  padding: 9px 20px;
  margin-top: 16px;
  font-size: 1.12rem;
}
.star-rating-summary img {
  height: 28px;
}

/* ===== 9. TIMELINE, METRICS, CALLOUTS ===== */
.timeline, .project-success-metrics {
  background: #E4EBF7;
  color: #23324D;
  border-radius: 10px;
  padding: 21px 20px;
  margin-bottom: 24px;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ===== 10. FAQ ACCORDION ===== */
.faq-section {
  background: #FAFAFB;
  border-radius: 15px;
  padding: 28px 20px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item h3 {
  margin-bottom: 6px;
  color: #23324D;
  font-size: 1.08rem;
  cursor: pointer;
}
.faq-item p {
  color: #567;
  font-size: 1rem;
  margin-bottom: 0;
}

.contact-prompt {
  margin-top: 28px;
  background: #E4EBF7;
  border-radius: 10px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-prompt .cta {
  align-self: flex-start;
}

/* ===== 11. FOOTER ===== */
footer {
  background: #23324D;
  color: #fff;
  padding: 50px 0 30px 0;
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #F0ECE6;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.91;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #76A77B;
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
}
.footer-brand img {
  width: 34px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #F0ECE6;
  opacity: 0.96;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 20px; margin-right: 8px; vertical-align: middle; display: inline;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* ===== 12. FORMS AND CONTACT ===== */
.contact-section p {
  font-size: 1.07rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-section img {
  width: 22px;
  margin-right: 8px;
}

/* ===== 13. LEGAL PAGES (privacy, terms, cookie) ===== */
.legal-section {
  background: #FAFAFB;
  border-radius: 16px;
  padding: 38px 24px;
  color: #23324D;
  font-size: 1.07rem;
  box-shadow: 0 2px 12px rgba(35,50,77,0.045);
}
.legal-section a {
  color: #76A77B;
  font-weight: 600;
}
.legal-section h1 {
  font-size: 2rem;
}
.legal-section h2 {
  font-size: 1.22rem;
  margin-top: 16px;
}
.legal-section h2, .legal-section h3 {
  color: #23324D;
}

/* ===== 14. THANK-YOU PAGE ===== */
.thanks-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 70px 0 60px 0;
}
.thanks-section .container {
  align-items: center;
}
.thanks-section h1 {
  color: #23324D;
  font-size: 2.2rem;
  margin-bottom: 24px;
}
.thanks-section .cta.primary {
  margin-top: 26px;
}

/* ===== 15. COOKIE CONSENT BANNER ===== */
.cookie-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23324D;
  color: #fff;
  padding: 26px 18px 22px 18px;
  z-index: 2000;
  box-shadow: 0 -2px 16px rgba(35,50,77,0.11);
  font-size: 0.99rem;
  transition: transform 0.36s, opacity 0.22s;
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 10px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, color 0.13s, box-shadow 0.14s;
}
.cookie-btn.accept-all {
  background: #76A77B;
  color: #fff;
}
.cookie-btn.accept-all:hover, .cookie-btn.accept-all:focus {
  background: #5b805a;
}
.cookie-btn.reject-all {
  background: #F0ECE6;
  color: #23324D;
}
.cookie-btn.reject-all:hover, .cookie-btn.reject-all:focus {
  background: #e9e1d6;
  color: #23324D;
}
.cookie-btn.settings {
  background: none;
  color: #F0ECE6;
  border: 1.5px solid #F0ECE6;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #23324D;
  border-color: #76A77B;
  color: #76A77B;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: rgba(35, 50, 77, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 13px;
  max-width: 380px;
  width: 92vw;
  padding: 30px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 6px 32px rgba(35,50,77,0.19);
  color: #23324D;
  position: relative;
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.23rem;
  margin-bottom: 9px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 1.03rem;
}
.cookie-category label {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.cookie-category input[type='checkbox'] {
  appearance: none;
  width: 21px;
  height: 21px;
  border: 2px solid #76A77B;
  border-radius: 5px;
  background: #F0ECE6;
  outline: none;
  transition: background 0.16s, border-color 0.1s;
  margin-right: 4px;
  cursor: pointer;
}
.cookie-category input[type='checkbox']:checked {
  background: #76A77B;
  border-color: #23324D;
  box-shadow: 0 1px 5px rgba(35,50,77,0.11);
}
.cookie-essential {
  opacity: 0.68;
}
.cookie-modal .cookie-btns {
  justify-content: flex-end;
  padding-top: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #23324D;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #76A77B;
}

/* ===== 16. FLEX/RESPONSIVE SECTION (MANDATORY LAYOUTS) ===== */
/* Used by USPs, services, project overviews, features, cards, etc.  */
.card-container, .feature-list, .services-list, .content-grid, .text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.text-image-section {
  align-items: center;
  gap: 30px;
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 9px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 12px;
  }
  header .container {
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 8px 8px 12px 8px;
  }
  .main-nav, .cta.primary {
    display: none!important;
  }
  .hero {
    padding: 28px 0 34px 0;
  }
  .section {
    padding: 20px 3px;
    margin-bottom: 32px;
  }
  .card, .project-summary-card {
    min-width: 90vw;
    padding: 20px 10px;
  }
  .card-container, .content-grid, .feature-list, .services-list, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 9px;
  }
  .testimonial-card, .project-summary-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 9px;
    font-size: 1.05rem;
  }
  .footer-brand {
    font-size: 0.98rem;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ===== 17. TRANSITIONS & MICRO-INTERACTIONS ===== */
.cta, .cta.primary, .cookie-btn {
  transition: background 0.19s, color 0.14s, box-shadow 0.20s, transform 0.15s;
}
.card:active, .card:focus-within {
  box-shadow: 0 4px 24px rgba(35,50,77,0.16);
  transform: translateY(-1px) scale(1.011);
}

footer a, .footer-brand, .footer-contact {
  transition: color 0.15s, opacity 0.20s;
}

input, select, textarea {
  border: 1.2px solid #d0d7df;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1rem;
  margin-bottom: 16px;
  outline: none;
  background: #F7F9FA;
  transition: border 0.16s, box-shadow 0.16s;
}
input:focus, select:focus, textarea:focus {
  border-color: #76A77B;
  box-shadow: 0 1px 10px #76A77B22;
}

/* ===== 18. HELPER CLASSES ===== */
.text-center {
  text-align: center;
}
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ===== 19. FONTS & TYPOGRAPHY ===== */
@media (min-width: 900px) {
  h1 { font-size: 2.65rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.22rem; }
}

/* ===== 20. PRINT & ACCESSIBILITY ===== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}

/* ===== 21. Z-INDEX LAYERING ===== */
header { z-index: 1030; position: relative; }
.mobile-menu { z-index: 1100; }
.cookie-banner { z-index: 2000; }
.cookie-modal { z-index: 2100; }

/* ========= END OF FILE ========= */
