/* ====== 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F0F8EC;
  color: #2D4634;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #2D4634;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #79A06C;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1.2em;
}
strong, b {
  font-weight: 700;
}


/* ====== BRAND, COLORS & TYPOGRAPHY ====== */
:root {
  --primary: #2D4634;
  --secondary: #79A06C;
  --accent: #F0F8EC;
  --text-dark: #2D4634;
  --text-light: #FAFFF9;
  --earth-brown: #736B5E;
  --earth-sand: #E7DEC8;
  --organic-green: #95B39C;
  --error: #AD4435;
  --shadow: 0 2px 12px 0 rgba(45,70,52,0.07);
  --radius: 18px;
  --radius-card: 22px;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Playfair Display'), local('PlayfairDisplay'), url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--secondary);
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
  color: var(--primary);
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--earth-brown);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 1.1em;
  color: var(--primary);
  line-height: 1.6;
  font-size: 1rem;
}

/* Typography scale responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  p, ul, ol { font-size: 0.96rem; }
}


/* ====== LAYOUT: CONTAINER & WRAPPER ====== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}


/* ====== FLEXBOX PATTERNS & MANDATORY RULES ====== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
  padding: 24px;
}
.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;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
  color: var(--primary);
  min-width: 0;
  font-size: 1.06rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive Flex Directions */
@media (max-width: 768px) {
  .container {
    max-width: 96vw;
    padding: 0 7px;
  }
  .content-grid,
  .feature-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* Flexible card grid for reference/projects */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-list > div {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  flex: 1 1 225px;
  min-width: 220px;
  max-width: 320px;
  padding: 24px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2px solid transparent;
}
.feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 4px 18px 0 rgba(45,70,52,0.13);
  border-color: var(--secondary);
  transform: translateY(-3px) scale(1.018);
}
.service-price {
  background: var(--accent);
  color: var(--secondary);
  border-radius: 13px;
  padding: 6px 14px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.97em;
  display: inline-block;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.team-list > div {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px 24px;
  min-width: 208px;
  max-width: 250px;
}
@media (max-width: 768px) {
  .feature-grid > div, .service-list > div, .team-list > div {
    max-width: 100%;
    min-width: 172px;
    padding: 17px 13px;
  }
}

/* Project Highlight Cards */
.project-summary {
  background: var(--earth-sand);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

/* FAQ and Article spacing */
.faq-list > h3, .faq-list > p {
  margin-bottom: 13px;
  font-size: 1.07rem;
}
.faq-list > h3 {
  color: var(--secondary);
  margin-top: 18px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* Address map (Kontakt Seite) */
.address-map {
  background: var(--secondary);
  color: var(--text-light);
  border-radius: var(--radius-card);
  padding: 13px 20px;
  margin-top: 15px;
  font-style: italic;
  font-size: 1.02rem;
}

/* Contact details */
.contact-details p {
  margin-bottom: 8px;
  font-size: 1.03rem;
}
.contact-snippet {
  color: var(--earth-brown);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Footer Navigation */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 11px;
}
.footer-nav a {
  color: var(--secondary);
  background: var(--accent);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 1rem;
  transition: background 0.13s, color 0.15s;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-nav a:hover {
  background: var(--secondary);
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}
.footer-social img {
  width: 24px;
  height: 24px;
  filter: grayscale(0%) contrast(1.3);
  opacity: 0.9;
  transition: filter 0.2s, opacity 0.2s;
}
.footer-social a:hover img {
  filter: brightness(0.8) sepia(0.23) hue-rotate(-30deg);
  opacity: 1;
}

/* HEADER & NAV */
header {
  background: #fff;
  box-shadow: 0 2px 7px rgba(45, 70, 52, 0.06);
  position: sticky;
  top: 0;
  z-index: 21;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 9px;
  padding: 7px 13px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
header img[alt="Glimora Breeze"] {
  height: 40px;
  width: auto;
  border-radius: 10px;
  margin-right: 7px;
}
.cta.primary {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 17px;
  padding: 10px 30px;
  font-size: 1.1rem;
  margin-left: 18px;
  letter-spacing: 0.01em;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 2px 9px 0 rgba(121, 160, 108, 0.12);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
}

@media (max-width: 980px) {
  .main-nav, .cta.primary {
    display: none;
  }
}

/* ====== MOBILE BURGER MENU ====== */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: block;
    font-size: 2rem;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 47%;
    padding: 8px 16px;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.18s;
    position: relative;
    z-index: 1002;
  }
  .mobile-menu-toggle:focus {
    background: var(--primary);
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 94vw;
  max-width: 370px;
  background: var(--primary);
  color: #fff;
  box-shadow: 4px 0 40px rgba(45, 70, 52, 0.18);
  z-index: 1501;
  transform: translateX(-110%);
  transition: transform 0.38s cubic-bezier(.79,.21,.54,1.02);
  padding: 32px 22px 22px 26px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin-top: 4px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-size: 1.13rem;
  padding: 10px 0;
  border-radius: 9px;
  font-weight: 400;
  transition: background 0.14s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--text-light);
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Overlay for mobile menu on open state */
body.menu-open {
  overflow: hidden; /* Prevent body scroll when menu is open */
}
.mobile-menu.open:after {
  /* darken background but only for the rest of screen (pseudo for illustration) */
  display: none;
}

/* Ensure z-index above everything for opened menus */
.mobile-menu,
.mobile-menu-toggle,
.mobile-menu-close { z-index: 1501; }


/* ====== BUTTONS, LINKS, MICRO-INTERACTIONS ====== */
button, .cta {
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.14s, transform 0.13s;
}
button:focus, .cta:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.cta.secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: 14px;
  font-size: 1.03rem;
  padding: 8px 21px;
  font-weight: 500;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--secondary);
  color: var(--accent);
}


/* ====== SECTION & CARD SPACING ====== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 28px 6px;
    margin-bottom: 32px;
  }
}
.card {
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-card);
  background: #fff;
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Layout Verification Spacing */
section, .card, .testimonial-card, .feature-grid > div, .service-list > div, .project-summary {
  margin-bottom: 20px;
}


/* ====== ORGANIC/NATURAL DECORATIVE TOUCHES ====== */
section, .card, .project-summary, .testimonial-card, .feature-grid > div, .service-list > div, .address-map {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.feature-grid > div, .service-list > div, .card {
  border-left: 7px solid var(--secondary);
  border-top: 1.5px solid var(--earth-brown);
}
section, .project-summary, .testimonial-card, .address-map {
  /* Faux natural texture effect (subtle) using bg svg texture or tiny pattern */
  background-image: url('data:image/svg+xml;utf8,<svg opacity=".03" viewBox="0 0 350 44" xmlns="http://www.w3.org/2000/svg"><ellipse rx="20" ry="5" cx="15" cy="34" fill="%2379A06C" /><ellipse rx="14" ry="4" cx="90" cy="17" fill="%2379A06C" /><ellipse rx="10" ry="3" cx="240" cy="38" fill="%2379A06C" /><ellipse rx="8" ry="2.7" cx="310" cy="25" fill="%2379A06C" /></svg>');
  background-size: 280px auto;
  background-repeat: no-repeat;
  background-position: right bottom;
}

/* Organic shape images/icons */
.feature-grid img, .service-list img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 10px;
  box-shadow: 0 3px 10px 0 rgba(121,160,108,0.11);
}


/* ====== TESTIMONIALS ====== */
.testimonial-card {
  background: #fff;
  color: var(--primary);
  border-left: 5px solid var(--secondary);
  position: relative;
  font-style: italic;
  font-size: 1.07rem;
  margin-bottom: 20px;
  margin-top: 4px;
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: 650;
}
.testimonial-card span {
  font-style: normal;
  font-size: 0.96rem;
  color: var(--earth-brown);
  margin-left: 6px;
}
@media (max-width: 700px) {
  .testimonial-card {
    padding: 14px 12px;
    font-size: 0.99rem;
  }
}

/* Ensure testimonial readability */
.testimonial-card p, .testimonial-card span {
  color: #2D4634;
}


/* ====== FORMS (if added in future) ====== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 9px;
  border: 1.5px solid var(--secondary);
  padding: 9px 13px;
  margin-bottom: 13px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 12px 22px 12px;
  z-index: 2001;
  font-size: 1rem;
  box-shadow: 0 -4px 28px 0 rgba(45,70,52,0.09);
  animation: fadeInCookie 0.6s cubic-bezier(0.57,0.19,0.38,0.71);
}
@keyframes fadeInCookie {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  max-width: 650px;
  flex: 1 1 0%;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  outline: none;
  border: none;
  padding: 9px 19px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 0;
}
.cookie-accept {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 1px 5px #2d46341a;
  font-weight: 700;
}
.cookie-accept:hover {
  background: #5f8355;
}
.cookie-reject {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-reject:hover {
  background: #fff;
  color: var(--primary);
}
.cookie-settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-settings:hover {
  background: var(--secondary);
  color: #fff;
  border-color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  background: rgba(45,70,52,0.32);
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: fadeInCookieModal 0.34s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  min-width: 300px;
  max-width: 97vw;
  background: #fff;
  color: var(--primary);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 32px 0 rgba(45,70,52,0.12);
  padding: 32px 20px 25px 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  bottom: 0;
  animation: slideUpCookieModal 0.41s cubic-bezier(.8,.21,.48,0.98);
}
@keyframes slideUpCookieModal {
  from { transform: translateY(100px); }
  to   { transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--secondary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.cookie-category label {
  font-weight: 500;
  color: var(--primary);
  font-size: 1.05rem;
}
.cookie-category .toggle {
  appearance: none;
  width: 37px;
  height: 21px;
  background: #e4ebe1;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
  margin-right: 8px;
}
.cookie-category .toggle:checked {
  background: var(--secondary);
}
.cookie-category .toggle:before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 2px;
  transition: transform 0.13s;
  box-shadow: 0 0 2px #aaa5;
}
.cookie-category .toggle:checked:before {
  transform: translateX(16px);
}
.cookie-category .toggle[disabled], .cookie-category .toggle[aria-disabled=true] {
  background: var(--earth-sand);
  opacity: 0.42;
  cursor: not-allowed;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 16px;
}
.cookie-modal-footer button {
  padding: 7px 19px;
  border-radius: 9px;
}
.cookie-modal-close {
  position: absolute;
  right: 23px;
  top: 13px;
  font-size: 1.68rem;
  background: none;
  border: none;
  color: var(--earth-brown);
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: var(--secondary);
}

@media (max-width: 520px) {
  .cookie-modal {
    max-width: 100vw;
    padding: 18px 6vw 18px 6vw;
  }
}


/* ====== MISC: TABLES, LISTS, QUOTES, HR ====== */
table { border-collapse: collapse; width: 100%; margin-bottom: 1.4em; }
th, td { padding: 9px 6px; border-bottom: 1px solid var(--earth-sand); }
hr {
  height: 1px;
  border: none;
  background: var(--earth-sand);
  margin: 20px 0;
}
blockquote {
  border-left: 4px solid var(--secondary);
  background: #fff;
  color: var(--primary);
  margin: 12px 0;
  padding: 14px 24px;
  border-radius: 13px;
  font-size: 1.06em;
  font-style: italic;
  box-shadow: 0 1px 7px rgba(45, 70, 52, 0.07);
}


/* ====== RESPONSIVE ====== */
@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.17rem; }
}

footer {
  background: var(--earth-sand);
  padding: 24px 0 0 0;
  margin-top: 10px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0px -1px 16px 0 rgba(45,70,52,0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  gap: 9px;
}

/* Hydrated organic shapes */
.section, section {
  border-radius: 38px 94px 36px 33px/44px 39px 39px 81px;
}
@media (max-width: 650px) {
  .section, section {
    border-radius: 22px 43px 21px 17px/24px 23px 15px 33px;
  }
}

/* Scrollbar customization for organic appearance */
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 30px;
}


/* ====== FOCUS & ACCESSIBILITY ====== */
:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ====== PRINT STYLES ====== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .section, .content-wrapper, .container {
    box-shadow: none !important;
    background: none !important;
    color: #2D4634 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

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