/* Waldquelle Artresidenzen - Geometric Structured CSS by Senior CSS Developer */
/* ---- 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,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
  background: #F0E8D9;
}
body {
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #304D40;
  background: #F0E8D9;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #304D40;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.44,1.26,.62,1);
}
a:hover,
a:focus {
  color: #A78A59;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/* ---- Font Imports (Google Fonts) ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(48,77,64,0.04);
  position: relative;
}

/* ---- Headers ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #304D40;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.3rem;
  margin-top: 4px;
  margin-bottom: 8px;
  line-height: 1.1;
  text-transform: none;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.15;
  border-left: 6px solid #A78A59;
  padding-left: 16px;
  background: rgba(240, 232, 217, 0.6);
  border-radius: 0px 12px 12px 0px;
}
h3 {
  font-size: 1.2rem;
  color: #A78A59;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: #304D40;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

/* ---- Main Navigation ---- */
header {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(48,77,64,0.07);
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 0 0 0 8px;
  position: sticky;
  top: 0;
  z-index: 40;
}
header > a img {
  max-height: 48px;
  margin-right: 18px;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.015em;
  font-weight: 600;
  color: #304D40;
  padding: 10px 18px;
  border-radius: 24px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #F0E8D9;
  color: #A78A59;
}
header nav a.primary-cta {
  background: #304D40;
  color: #fff;
  border: 2px solid #304D40;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-left: 12px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(48,77,64,0.06);
  transition: background 0.2s, color 0.2s;
}
header nav a.primary-cta:hover, header nav a.primary-cta:focus {
  background: #A78A59;
  color: #fff;
  border-color: #A78A59;
}
.mobile-menu-toggle {
  display: none;
  margin-left: auto;
  background: #F0E8D9;
  border: none;
  font-size: 2rem;
  padding: 6px 18px;
  line-height: 1;
  border-radius: 14px;
  color: #304D40;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  z-index: 51;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A78A59;
  color: #fff;
}

/* ----- Mobile Navigation Menu ----- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(48,77,64,0.97);
  transform: translateX(-105vw);
  transition: transform 0.38s cubic-bezier(.52,1.52,.51,1), opacity 0.33s cubic-bezier(.52,1.52,.51,1);
  opacity: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 22px 24px 14px 0;
  cursor: pointer;
  z-index: 121;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A78A59;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 30px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 16px 0;
  text-align: center;
  width: 100vw;
  letter-spacing: 0.02em;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A78A59;
  background: rgba(160,142,90,0.18);
}

/* ----- Main ---- */
main {
  width: 100%;
  margin: 0 auto;
  min-height: 60vh;
  padding-top: 20px;
}

/* ----- Cards, Grids, Flex Patterns (Geometric Style) ----- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 260px;
  background: #fff;
  border: 2.5px solid #A78A59;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(48,77,64,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px rgba(48,77,64,0.16);
  transform: translateY(-2.5px) scale(1.016);
  border-color: #304D40;
}
.profile-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.profile-card {
  background: #fff;
  border: 2.5px solid #A78A59;
  border-radius: 20px 20px 8px 8px;
  box-shadow: 0 2px 16px rgba(48,77,64,0.08);
  padding: 24px 22px 15px 22px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.18s, box-shadow 0.21s;
}
.profile-card:hover, .profile-card:focus-within {
  border-color: #304D40;
  box-shadow: 0 4px 18px rgba(48,77,64,0.11);
}
.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: #F0E8D9;
  border-left: 6px solid #A78A59;
  border-radius: 12px 24px 24px 12px;
  margin-bottom: 22px;
  box-shadow: 0 2px 6px rgba(48,77,64,0.07);
  font-size: 1.05rem;
  color: #304D40;
  max-width: 680px;
  transition: box-shadow 0.17s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 6px 28px rgba(48,77,64,0.14);
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-style: italic;
  color: #304D40;
  margin: 0 0 10px 0;
  padding: 0;
}
.testimonial-card em, blockquote em {
  font-style: normal;
  color: #A78A59;
  font-size: 0.99em;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-left: 5px;
}
/* Feature Items & Icon Features */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  border: 2px solid #F0E8D9;
  margin-bottom: 18px;
  min-width: 160px;
  font-size: 1rem;
}
.icon-features,
.icon-list {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
.icon-features img,
.icon-list img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 6px rgba(160,142,90,0.04));
}

/* --- Footer --- */
footer {
  background: #304D40;
  color: #fff;
  padding: 35px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 16px rgba(48,77,64,0.09);
}
footer .container {
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  align-items: stretch;
  justify-content: space-between;
}
.footer-contact {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer-contact strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: #F0E8D9;
}
.footer-contact a {
  color: #F0E8D9;
  text-decoration: underline;
}
.footer-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #F0E8D9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: #A78A59;
  padding: 7px 16px;
  border-radius: 16px;
  margin-bottom: 10px;
  transition: background .16s, color .16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #fff;
  color: #304D40;
}

/* ----- Buttons ----- */
.primary-cta,
button.primary-cta,
input[type="submit"].primary-cta {
  background: #304D40;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 2px solid #304D40;
  border-radius: 16px;
  font-size: 1.06rem;
  padding: 14px 32px;
  margin-top: 10px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 8px rgba(48,77,64,0.07);
  text-transform: uppercase;
  transition: background 0.2s, color 0.22s, transform 0.22s;
  display: inline-block;
}
.primary-cta:hover, .primary-cta:focus {
  background: #A78A59;
  color: #fff;
  border-color: #A78A59;
  transform: translateY(-2px) scale(1.012);
}

/* ----- Forms (if needed) ----- */
input, textarea, select {
  border: 2px solid #A78A59;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  color: #304D40;
  width: 100%;
  background: #fdfaf6;
  margin-bottom: 18px;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #304D40;
  outline: none;
}

/* ---- Modal, Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #304D40;
  color: #fff;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding: 24px 24px;
  box-shadow: 0 -3px 32px rgba(48,77,64,0.16);
  z-index: 3000;
  gap: 22px;
  justify-content: center;
  font-size: 1rem;
  animation: slideUpBanner 0.7s cubic-bezier(.42,1.2,.68,1);
}
@keyframes slideUpBanner {
  0% { transform: translateY(150px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.17s, color 0.14s;
  font-weight: 600;
  margin-right: 6px;
}
.cookie-banner button.accept {
  background: #A78A59;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #fff;
  color: #A78A59;
}
.cookie-banner button.reject {
  background: #fff;
  color: #A78A59;
  border: 2px solid #A78A59;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #A78A59;
  color: #fff;
}
.cookie-banner button.settings {
  background: #F0E8D9;
  color: #A78A59;
  border: 2px solid #A78A59;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #A78A59;
  color: #fff;
}
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(48,77,64,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3200;
  animation: fadeInModal 0.35s cubic-bezier(.44,1.26,.62,1);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  min-width: 320px;
  max-width: 430px;
  border-radius: 20px;
  padding: 36px 30px 30px 30px;
  box-shadow: 0 4px 44px rgba(48,77,64,0.26);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  animation: modalPopIn 0.34s cubic-bezier(.67,1.36,.31,1.03);
}
@keyframes modalPopIn {
  0% { transform: scale(0.87) translateY(60px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-dialog h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: #304D40;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: #F0E8D9;
  border-radius: 12px;
  padding: 11px 16px;
  margin-bottom: 9px;
  font-size: 1.06rem;
  color: #304D40;
  font-family: 'Montserrat', Arial, sans-serif;
  justify-content: space-between;
}
.cookie-category.essential {
  background: #A78A59;
  color: #fff;
  font-weight: 700;
}
.cookie-toggle {
  margin-left: auto;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #304D40;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-close:hover, .cookie-close:focus {
  color: #A78A59;
}

/* ----- Responsive Layout ----- */
@media (max-width: 1140px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .footer .content-wrapper {
    gap: 28px;
  }
  .profile-cards, .card-container, .footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  main {
    padding-top: 2px;
  }
  .header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav {
    display: none;
  }
  .section {
    padding: 24px 5px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .profile-cards, .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    padding: 13px 14px;
    font-size: 1rem;
    border-radius: 12px;
    margin-bottom: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-menu {
    gap: 12px;
    flex-direction: column;
    margin-top: 18px;
    justify-content: flex-start;
    align-items: flex-start;
  }
  footer .content-wrapper {
    gap: 26px;
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.45rem;
    margin-bottom: 8px;
  }
  h2 {
    font-size: 1.12rem;
    padding-left: 10px;
  }
  .primary-cta {
    padding: 13px 16px;
    font-size: 0.95rem;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
}

/* ---- Animations & Micro-interactions ---- */
.card, .profile-card, .testimonial-card, .primary-cta {
  will-change: transform, box-shadow;
}
.card:active, .profile-card:active {
  transform: scale(0.98);
}
.primary-cta:active {
  transform: scale(0.97);
}

/* ---- Utility Classes ---- */
.bg-primary {
  background: #304D40 !important;
  color: #fff !important;
}
.bg-accent {
  background: #F0E8D9 !important;
}
.text-primary {
  color: #304D40 !important;
}
.text-secondary {
  color: #A78A59 !important;
}
.text-accent {
  color: #F0E8D9 !important;
}
.margin-top-32 {
  margin-top: 32px!important;
}
.margin-bottom-20 {
  margin-bottom: 20px!important;
}

/* ---- Geometric Decorative Elements ---- */
.section::before {
  content: '';
  display: block;
  position: absolute;
  top: -16px; left: -18px;
  width: 50px; height: 50px;
  background: #A78A59;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
  border-radius: 12px 0 0 0;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: -20px; bottom: -16px;
  width: 40px; height: 34px;
  background: #304D40;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
  opacity: 0.07;
  z-index: 1;
  pointer-events: none;
  border-radius: 0 0 12px 0;
}

/* ---- Misc ---- */
::-webkit-scrollbar {
  width: 10px;
  background: #F0E8D9;
}
::-webkit-scrollbar-thumb {
  background: #A78A59;
  border-radius: 6px;
}
::-webkit-selection, ::selection {
  background: #A78A59;
  color: #fff;
}

/* ---- Accessibility/Contrast ---- */
.testimonial-card, .profile-card blockquote, .testimonial-card blockquote {
  color: #23271a;
  background: #F0E8D9;
  border-left: 6px solid #A78A59;
}
.testimonial-card em {
  color: #304D40;
}

/* ---- End of CSS ---- */
