/* ====================================================== */
/* RaumPoetik CSS Reset & Elegant Classic Design Framework */
/* ====================================================== */

/* 1. CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #f6f2ec;
  color: #22313f;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  /* Elegant letter spacing and classic base style */
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #22313f;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #d0ab7a;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 6px;
}
strong, b {
  font-weight: 600;
}

/* 2. TYPOGRAPHY: Elegant Serif & Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #22313f;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.15rem;
}
p {
  margin-bottom: 16px;
  font-size: 1.125rem;
  color: #22313f;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
.text-section, .content-wrapper {
  font-size: 1.125rem;
  color: #22313f;
}
.center {
  text-align: center;
  justify-content: center;
  align-items: center;
}

/* 3. BRAND CONTAINERS & SPACING */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper.center {
  align-items: center;
}
.card-container, .features-grid, .service-list, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.card {
  background: #fff;
  border: 1px solid #ede0d1;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(34,49,63,0.07);
  padding: 24px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(34,49,63,0.12);
  transform: translateY(-2px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
  margin-bottom: 40px;
}

.text-section {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-short {
  margin-top: 24px;
  border-left: 3px solid #d0ab7a;
  padding-left: 20px;
  font-size: 1.05rem;
  color: #22313f;
}

.feature-item, .feature, .service, .project {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ede0d1;
  border-radius: 14px;
  padding: 22px 24px 16px 24px;
  gap: 15px;
  box-shadow: 0 4px 12px 0 rgba(34,49,63,0.06);
  position: relative;
  flex-basis: calc(33.333% - 24px);
  margin-bottom: 20px;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}

.project-result, .service-price {
  margin-top: 10px;
  color: #d0ab7a;
  font-weight: 600;
  font-size: 1.05rem;
}

/* 4. BUTTONS, LINKS, CTC */
.cta, .button, button, .mobile-menu-close {
  font-family: inherit;
  font-size: 1.15rem;
  padding: 12px 30px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-weight: 600;
  background: #22313f;
  color: #fff;
  transition: background 0.24s, transform 0.18s, box-shadow 0.19s;
  box-shadow: 0 2px 6px 0 rgba(34,49,63,0.09);
  letter-spacing: 0.02em;
  margin-top: 8px;
  margin-bottom: 8px;
  outline: none;
}
.cta.primary, .button.primary {
  background: #22313f;
  color: #fff;
  border: 1.6px solid #22313f;
}
.cta.primary:hover, .button.primary:hover, button:hover {
  background: #d0ab7a;
  color: #22313f;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 8px 36px 0 rgba(34,49,63,0.12);
}
.cta.secondary, .button.secondary {
  background: #fff;
  color: #22313f;
  border: 1.5px solid #d0ab7a;
}
.cta.secondary:hover, .button.secondary:hover {
  background: #d0ab7a;
  color: #fff;
}

.main-nav a, .footer-nav a, .mobile-nav a {
  font-size: 1.07rem;
  padding: 5px 16px;
  margin-right: 16px;
  color: #22313f;
  border-radius: 6px;
  transition: color 0.2s, background 0.18s;
}
.main-nav a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  color: #fff;
  background: #d0ab7a;
}

/* 5. HEADER, LOGO, NAVIGATION */
header {
  width: 100%;
  background: #f6f2ec;
  box-shadow: 0 2px 12px 0 rgba(34,49,63,0.07);
  z-index: 20;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  padding: 0 20px;
  min-height: 72px;
  justify-content: space-between;
  position: relative;
  z-index: 21;
}
.logo img {
  height: 42px;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #22313f;
  font-size: 2rem;
  border: none;
  margin-left: 32px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.22s, color 0.22s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ede0d1;
  color: #d0ab7a;
}

/* 6. MOBILE BURGER NAV MENU */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #22313f;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 30px 24px 28px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
  box-shadow: 0 0 80px 0 rgba(34,49,63,0.18);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #d0ab7a;
  color: #22313f;
  font-size: 2rem;
  border: none;
  margin-bottom: 20px;
  padding: 5px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 1px 6px 0 rgba(208,171,122,0.08);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fff;
  color: #22313f;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.13s, color 0.14s;
  font-weight: 500;
}
.mobile-nav a:hover {
  background: #d0ab7a;
  color: #22313f;
}

/* 7. HERO SECTIONS, Landings, and Special Areas */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
section:first-of-type {
  margin-top: 18px;
}

/* 8. CARDS, FEATURE GRID, SERVICES */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 320px;
  background: #fff;
  border: 1px solid #ede0d1;
  border-radius: 14px;
  padding: 22px 24px 16px 24px;
  gap: 9px;
  box-shadow: 0 2px 12px 0 rgba(34,49,63,0.06);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.15s, transform 0.18s;
}
.feature:hover {
  box-shadow: 0 8px 32px 0 rgba(34,49,63,0.13);
  transform: translateY(-4px) scale(1.027);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.service {
  flex: 1 1 300px;
  min-width: 240px;
  max-width: 420px;
  background: #fff;
  border: 1px solid #ede0d1;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(34,49,63,0.10);
  margin-bottom: 20px;
  padding: 22px 24px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.service:hover {
  box-shadow: 0 8px 33px 0 rgba(34,49,63,0.10);
  transform: translateY(-2px) scale(1.015);
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.project {
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 420px;
  background: #fff;
  border: 1px solid #ede0d1;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(34,49,63,0.07);
  margin-bottom: 20px;
  padding: 24px 24px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.project:hover {
  box-shadow: 0 8px 28px 0 rgba(34,49,63,0.13);
  transform: translateY(-2px) scale(1.012);
}

/* 9. TESTIMONIAL CARD STYLES & HIGHLIGHT */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  align-items: flex-start;
}

.testimonial-card {
  background: #fff;
  border-left: 5px solid #d0ab7a;
  border-radius: 10px;
  box-shadow: 0 4px 36px 0 rgba(34,49,63,0.06);
  padding: 24px 30px 18px 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 430px;
  min-width: 230px;
}
.testimonial-card p{
  color: #22313f;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 4px;
}
.testimonial-meta {
  color: #22313f;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  margin-bottom: 0;
}
.stars {
  color: #d0ab7a;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 0;
}

/* 10. FOOTER DESIGN */
footer {
  background: #22313f;
  color: #f6f2ec;
  padding: 38px 0 30px 0;
  position: relative;
  margin-top: 30px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 0 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
.footer-nav a {
  color: #f6f2ec;
  font-size: 1rem;
  opacity: 0.87;
  transition: color 0.15s, text-decoration 0.15s;
  padding: 0 4px;
  border-radius: 5px;
}
.footer-nav a:hover {
  color: #d0ab7a;
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.98rem;
  font-weight: 400;
}
.footer-brand img {
  height: 32px;
  width: auto;
  opacity: 0.93;
}

/* 11. COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 20px 20px 20px;
  background: #fff;
  box-shadow: 0 -2px 24px 0 rgba(34,49,63,0.10);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1.06rem;
  border-top: 2px solid #d0ab7a;
  animation: fadeInUp 0.6s;
}
@keyframes fadeInUp {
  0% {transform: translateY(70px) scale(0.95); opacity: 0;}
  100% {transform: none; opacity: 1;}
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 6px;
}
.cookie-banner__button, .cookie-banner button {
  padding: 9px 26px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1rem;
  background: #22313f;
  color: #fff;
  border: 1.4px solid #22313f;
  transition: background 0.16s, color 0.12s;
  cursor: pointer;
}
.cookie-banner__button.accept, .cookie-banner button.accept {
  background: #d0ab7a;
  color: #22313f;
  border-color: #d0ab7a;
}
.cookie-banner__button.reject, .cookie-banner button.reject {
  background: #fff;
  color: #22313f;
  border-color: #d0ab7a;
}
.cookie-banner__button.settings, .cookie-banner button.settings {
  background: #ede0d1;
  color: #22313f;
  border-color: #ede0d1;
}
.cookie-banner__button:hover, .cookie-banner button:hover {
  background: #22313f;
  color: #fff;
}

.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1300;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,49,63,0.45);
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.4s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal__content {
  background: #fff;
  padding: 40px 26px 30px 26px;
  border-radius: 18px;
  box-shadow: 0 10px 60px 0 rgba(34,49,63,0.23);
  max-width: 402px;
  min-width: 310px;
  min-height: 312px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.8rem;
  background: transparent;
  color: #22313f;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: color 0.15s, opacity 0.12s;
}
.cookie-modal__close:hover {
  color: #d0ab7a;
  opacity: 1;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #d0ab7a;
  width: 19px;
  height: 19px;
}
.cookie-category--essential {
  font-weight: 600;
  color: #22313f;
}

/* 12. RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
  }
  .feature, .service, .project {
    flex-basis: calc(50% - 24px);
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .card-container, .features-grid, .service-list, .project-list {
    gap: 18px;
  }
  .feature, .service, .project {
    flex-basis: 100%;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {font-size: 2rem;}
  h2 {font-size: 1.45rem;}
  .container {
    padding: 0 6px;
  }
  header .container {
    flex-direction: row;
    padding: 0 8px;
  }
  section,
  .section {
    padding: 28px 6px;
    margin-bottom: 32px;
  }
  .features-grid, .service-list, .project-list {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .feature, .service, .project {
    min-width: 0;
    max-width: 99vw;
    padding: 16px 11px 11px 14px;
    font-size: 1rem;
  }
  .testimonials {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 17px 12px 11px 15px;
    max-width: 100vw;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta.primary {
    padding: 9px 18px;
    font-size: 1rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}
@media (max-width: 480px) {
  h1 {font-size: 1.32rem;}
  h2 {font-size: 1.15rem;}
  .cookie-modal__content {
    min-width: 95vw;
    max-width: 97vw;
    padding: 20px 6px 14px 10px;
  }
}

/* 13. ELEGANT EFFECTS & MICRO-INTERACTIONS */
button:active, .cta:active, .button:active {
  transform: scale(0.98);
}
.cta:focus, .button:focus, .cookie-banner__button:focus {
  outline: 2px solid #d0ab7a;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #ede0d1;
  padding: 10px 14px;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  border-color: #d0ab7a;
  outline: none;
}

/* ===== General Utility Classes ===== */
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-32 { margin-bottom: 32px !important; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }

/* ===== NO OVERLAPPING: ensure min spacing everywhere ===== */
section, .section, .feature, .service, .project, .testimonial-card, .card {
  margin-bottom: 20px;
}

/* ======= END RaumPoetik Elegant Classic CSS ======= */