/* Warmlight Baukonzepte | Style.css (Geometric Structured) */
/*** 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, main, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F2F0ED;
  color: #1B3556;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1B3556;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C5AB80;
  outline: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1B3556;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  font-size: 1rem;
  max-width: 700px;
}
ul, ol {
  padding-left: 20px;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}
strong {
  font-weight: 700;
}

/* --- CONTAINER, FLEX GRIDS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Card Grid Pattern */
.card-container,
.card-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card, .feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(27, 53, 86, 0.08);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2px solid #C5AB80;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover, .feature:hover {
  box-shadow: 0 4px 16px rgba(27, 53, 86, 0.12);
  border-color: #1B3556;
}
.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;
}

/* --- BUTTONS & CTA --- */
.cta-button {
  background: #1B3556;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.06em;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(27,53,86,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #C5AB80;
  color: #1B3556;
  box-shadow: 0 4px 12px rgba(27,53,86,0.13);
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  outline: none;
  background: none;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 2px solid #C5AB80;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(27,53,86,0.02);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo img {
  height: 58px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 14px;
  position: relative;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #C5AB80;
  color: #1B3556;
}
.mobile-menu-toggle {
  display: none;
  background: #1B3556;
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #C5AB80;
  color: #1B3556;
}


/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(27,53,86,0.10);
  z-index: 50;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.36s cubic-bezier(.72, .05, .41, .94), opacity 0.27s;
  padding: 28px 20px 0 32px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #1B3556;
  background: #C5AB80;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  margin-right: 0;
  border: none;
  transition: background 0.1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #1B3556;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.mobile-nav a {
  padding: 16px 0 16px 4px;
  color: #1B3556;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C5AB80;
  color: #fff;
}

/* --- HERO SECTIONS --- */
.hero, .thankyou-hero {
  background: linear-gradient(107deg, #F2F0ED 65%, #C5AB80 100%);
  border-bottom: 2px solid #C5AB80;
  padding: 60px 0 35px 0;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.thankyou-hero {
  background: #C5AB80;
}
.hero .content-wrapper, .thankyou-hero .content-wrapper {
  align-items: flex-start;
  gap: 6px;
  max-width: 580px;
  margin: 0 auto;
}
.hero h1, .thankyou-hero h1 {
  color: #1B3556;
  font-size: 2.5rem;
  letter-spacing: 0.04em;
}
.hero p, .thankyou-hero p {
  color: #1B3556;
  font-size: 1.2rem;
  margin-bottom: 22px;
}

/* --- FEATURES & CARDS --- */
.features, .feature-grid {
  display: flex;
  flex-direction: column;
}
.feature-grid {
  flex-direction: row;
  gap: 24px;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(27, 53, 86, 0.06);
  border: 2px solid #C5AB80;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
  max-width: 370px;
  flex: 1 1 290px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}
.feature h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #F2F0ED;
  padding: 44px 0;
}
.testimonials .content-wrapper {
  align-items: stretch;
  gap: 0;
}
.testimonial-card {
  background: #fff;
  border: 2px solid #C5AB80;
  border-radius: 16px;
  box-shadow: 0 2px 7px rgba(27, 53, 86, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  max-width: 550px;
  width: 100%;
  position: relative;
  transition: box-shadow 0.16s, border-color 0.15s;
  min-height: 140px;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  border-color: #1B3556;
  box-shadow: 0 4px 14px rgba(27,53,86,0.11);
}
.testimonial-card .stars {
  font-size: 1.3rem;
  color: #C5AB80;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.07em;
}
.testimonial-card p {
  color: #1B3556;
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: #3d3d3d;
  font-size: 0.98rem;
  font-style: italic;
}

/* --- FOOTER --- */
footer {
  background: #1B3556;
  color: #fff;
  padding: 36px 0 24px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #C5AB80;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 7px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.footer-logo img {
  height: 38px;
  width: auto;
}

/* --- SECTION SPACING & UTILITIES --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.text-section {
  margin-bottom: 24px;
}
.content-grid {
  gap: 20px;
}
.card {
  margin-bottom: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- CONTACT DETAILS STYLES --- */
.contact-details, .text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details p, .text-section p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.contact-details img, .text-section img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}

/* --- OL & UL FOR PROCESS/LISTS --- */
ol, ul {
  margin-bottom: 16px;
}
ol {
  list-style-type: decimal;
  padding-left: 24px;
}
ul {
  list-style-type: disc;
  padding-left: 22px;
}

/* --- SHADOWS & BORDER RADIUS UTILITY --- */
.card, .feature, .testimonial-card {
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(27,53,86,0.06);
}

/* --- VISUAL HIERARCHY & SPACING --- */
.section h2, .content-wrapper h2 {
  margin-top: 10px;
  margin-bottom: 14px;
  font-size: 2rem;
  color: #1B3556;
}
.section p, .content-wrapper p {
  margin-bottom: 12px;
}

/* --- FORMS (if any in future) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #C5AB80;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #fff;
  width: 100%;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1B3556;
  outline: none;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 120;
  background: #fff;
  border-top: 2.5px solid #C5AB80;
  box-shadow: 0 -2px 12px rgba(27,53,86,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 18px 28px;
  font-size: 1rem;
  transition: transform 0.22s cubic-bezier(.77, .17, .38, .96), opacity 0.16s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner .cookie-btn {
  background: #1B3556;
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .cookie-btn.reject {
  background: #C5AB80;
  color: #1B3556;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  border: 1.5px solid #1B3556;
  color: #1B3556;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #C5AB80;
  color: #1B3556;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: #fff;
  border-radius: 18px;
  z-index: 130;
  min-width: 320px;
  max-width: 90vw;
  width: 420px;
  box-shadow: 0 8px 32px rgba(27,53,86,0.28);
  padding: 36px 32px 28px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.28s cubic-bezier(.77, .17, .38, .96);
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal .cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.34rem;
  color: #1B3556;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal .cookie-modal-close {
  background: #C5AB80;
  color: #1B3556;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #1B3556;
  color: #fff;
}
.cookie-modal .cookie-modal-content {
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  background: #F2F0ED;
  padding: 9px 14px 9px 8px;
  border-radius: 10px;
}
.cookie-modal label {
  font-weight: 500;
  font-size: 1rem;
  user-select: none;
}
.cookie-modal input[type='checkbox'] {
  width: 21px;
  height: 21px;
  border: 1.5px solid #C5AB80;
  border-radius: 5px;
  accent-color: #1B3556;
}
.cookie-modal .essential {
  opacity: 0.66;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  padding: 12px 26px;
  font-size: 1rem;
}

/* Overlay for modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(27,53,86,0.19);
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  transition: opacity 0.19s;
}
.cookie-modal.open ~ .cookie-modal-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* --- ANIMATION/MICRO-INTERACTION --- */
.cta-button, .main-nav a, .card, .feature, .testimonial-card, .mobile-menu, .cookie-btn, .cookie-modal, .mobile-menu-toggle {
  transition: all 0.14s cubic-bezier(.6, .05, .3, 1);
}

/* --- MEDIA QUERIES FOR RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 720px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  footer .container {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    height: 72px;
    padding-left: 10px;
    padding-right: 12px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-button {
    padding: 12px 18px;
    font-size: 1rem;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .hero, .thankyou-hero {
    padding-top: 34px;
    padding-bottom: 20px;
    min-height: unset;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .card, .testimonial-card {
    min-width: unset;
    padding: 20px 12px;
  }
  .feature-grid {
    flex-direction: column;
  }
  .footer-nav {
    flex-direction: column;
    gap: 11px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
  .footer-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
  .testimonials .content-wrapper {
    align-items: flex-start;
    gap: 8px;
  }
  .testimonial-card {
    max-width: 100%;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  header .container {
    height: 62px;
  }
  .logo img {
    height: 38px;
  }
  .cookie-modal {
    width: 95vw;
    padding-right: 10px;
    padding-left: 10px;
  }
}

/* --- ACCESSIBILITY & UTILITY CLASSES --- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- GEOMETRIC STRUCTURE / DECORATIVE ANGULAR ELEMENTS --- */
.hero, .thankyou-hero {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.feature, .testimonial-card, .card {
  border-radius: 16px 32px 16px 16px / 16px 24px 16px 32px;
  border-width: 2.5px;
}
.cta-button {
  border-radius: 32px 10px 32px 10px / 24px 32px 10px 32px;
}

/* --- GENERAL Z-INDEX LAYERING --- */
header { z-index: 20; }
.mobile-menu, .mobile-menu-close { z-index: 50; }
.cookie-banner { z-index: 120; }
.cookie-modal, .cookie-modal-overlay { z-index: 130; }

/* --- FOCUS VISIBLE --- */
a:focus-visible, .cta-button:focus-visible, .cookie-btn:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2.5px solid #C5AB80;
  outline-offset: 2.5px;
}

/* Ensure minimal spacing everywhere */
.card:not(:last-child), .feature:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* ------------------------------------ */
/* END OF GEOMETRIC STRUCTURED CSS      */
/* ------------------------------------ */