/* ===================================================
   DuskGlam Bau – Elegant Classic CSS Theme
   Brand: Modern, Vertrauenswürdig & Elegant
   Colors: #222E38 (primary), #8DA28F (secondary), #F6F6F1 (accent)
   Fonts: 'Cormorant Garamond', 'Georgia', serif (display), 'Roboto', Arial, sans-serif (body)
   =================================================== */

/* ====== CSS RESET & BASE ====== */
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 {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F6F6F1;
  color: #222E38;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #222E38;
  text-decoration: underline;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #8DA28F;
}

/* =============================
   TYPOGRAPHY
   ============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  margin-bottom: 12px;
  font-weight: 600;
  color: #222E38;
  line-height: 1.17;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; } /* 40px */
h2 { font-size: 2rem; margin-bottom: 14px; }    /* 32px */
h3 { font-size: 1.5rem; margin-bottom: 10px; }  /* 24px */
h4 { font-size: 1.25rem; margin-bottom: 8px; }  /* 20px */
h5, h6 { font-size: 1rem; margin-bottom: 8px; }  /* 16px */
p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
  color: #222E38;
}
ul, ol {
  margin-left: 24px;
}
li {
  margin-bottom: 7px;
}
strong {
  font-weight: bold;
}

blockquote {
  font-style: italic;
  color: #222E38;
  background: #f5f5f2;
  padding: 16px 32px;
  border-left: 4px solid #8DA28F;
  margin: 20px 0;
  border-radius: 12px;
}

/* =============================
   CONTAINER & SECTIONS
   ============================= */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  background: #fff;
  border-bottom: 1px solid #E3E7E2;
  box-shadow: 0 3px 18px 0 rgba(34,46,56,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}
header img {
  height: 54px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #222E38;
  text-decoration: none;
  padding: 4px 2px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
header nav a:hover,
header nav a.active {
  color: #8DA28F;
  background: rgba(141, 162, 143, 0.14);
  text-decoration: none;
}
header nav a.cta {
  background: #222E38;
  color: #fff;
  font-weight: 600;
  border-radius: 22px;
  padding: 6px 22px;
  margin-left: 12px;
  box-shadow: 0 2px 12px 0 rgba(34,46,56,0.07);
  border: none;
  transition: background 0.2s, color 0.2s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #8DA28F;
  color: #222E38;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #222E38;
  padding: 8px 14px;
  margin-left: 12px;
  cursor: pointer;
  z-index: 202;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E3E7E2;
  color: #8DA28F;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: 305px;
  max-width: 90vw;
  background: #fff;
  box-shadow: -8px 0 30px -8px rgba(34,46,56,0.18);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,.2,.6,1);
  z-index: 2222;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 26px 20px 22px;
  min-height: 100vh;
  gap: 34px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #222E38;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  z-index: 2223;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
  padding: 4px 8px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E3E7E2;
  color: #8DA28F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  color: #222E38;
  font-size: 1.2rem;
  padding: 10px 0 8px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a.cta {
  background: #222E38;
  color: #fff;
  font-weight: 600;
  padding: 8px 20px;
  margin-top: 14px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 2px 10px 0 rgba(34,46,56,0.07);
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #8DA28F;
  background: #E3E7E2;
  text-decoration: none;
}

/* Hide main nav on small screens */
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =============================
   SECTION LAYOUTS & FLEXBOX
   ============================= */
.feature-grid,
.team-bios,
.content-grid,
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 14px;
}
.text-section {
  background: #fff;
  border-radius: 16px;
  padding: 24px 30px 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 6px 30px -6px rgba(34,46,56,0.07);
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px -8px rgba(34,46,56,0.07);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 250px;
  max-width: 435px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 18px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 24px -6px rgba(34,46,56,0.08);
  margin-bottom: 24px;
  border: 1px solid #E3E7E2;
  min-width: 272px;
  max-width: 555px;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px 18px 20px;
  box-shadow: 0 4px 24px -8px rgba(34,46,56,0.08);
  min-width: 230px;
  max-width: 340px;
  margin-bottom: 20px;
  border: 1px solid #E3E7E2;
}
/* Responsive stacks */
@media (max-width: 768px) {
  .feature-grid, .team-bios, .content-grid, .faq-list, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card, .feature-item, .card, .text-section {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 26px 6px;
  }
  .content-wrapper {
    gap: 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* =============================
   BUTTONS & CALL TO ACTIONS
   ============================= */
.cta, .btn, button, input[type="submit"] {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  background: #222E38;
  color: #fff;
  padding: 9px 32px;
  border: none;
  border-radius: 26px;
  font-size: 1.17rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  box-shadow: 0 2px 10px 0 rgba(34,46,56,0.06);
  text-decoration: none;
  outline: none;
  display: inline-block;
}
.cta:hover, .btn:hover, button:hover, input[type="submit"]:hover,
.cta:focus, .btn:focus, button:focus, input[type="submit"]:focus {
  background: #8DA28F;
  color: #222E38;
  box-shadow: 0 8px 32px -8px rgba(34,46,56,0.13);
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #222E38;
  color: #fff;
  padding: 0;
  font-size: 1rem;
}
footer p {
color: white;}
footer .container {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 0 0;
  gap: 22px;
  border-bottom: 1px solid #485154;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-top nav a {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  transition: color 0.15s;
}
.footer-top nav a:hover,
.footer-top nav a:focus {
  color: #8DA28F;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  padding: 28px 0;
  justify-content: space-between;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 15px;
  color: #E3E7E2;
}
.footer-contact img {
  height: 16px;
  width: 16px;
  vertical-align: middle;
  margin-right: 6px;
  opacity: 0.82;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
}
.footer-legal a {
  color: #BFC6C2;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-legal a:hover,
.footer-legal a:focus {
  color: #fff;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-social img {
  height: 30px;
  width: 30px;
  border-radius: 25%;
  background: #F6F6F1;
  padding: 5px;
  transition: background 0.15s;
  cursor: pointer;
}
.footer-social img:hover,
.footer-social img:focus {
  background: #8DA28F;
}
@media (max-width: 990px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-social {
    margin-top: 14px;
  }
}

/* =============================
   TESTIMONIAL & REVIEW SECTIONS
   ============================= */
.testimonial-card {
  /* already included above, reinforce contrast */
  background: #fff;
  color: #222E38;
  border: 1px solid #E3E7E2;
  font-style: normal;
  box-shadow: 0 4px 24px -6px rgba(34,46,56,0.10);
}
.testimonial-card p {
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #8DA28F;
  margin-right: 10px;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
}

/* =============================
   FORMS (for Kontakt, Cookie banner, etc.)
   ============================= */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea, select {
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 10px 15px;
  font-size: 1rem;
  border: 1.5px solid #BFC6C2;
  border-radius: 6px;
  background: #F6F6F1;
  margin-bottom: 18px;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #8DA28F;
  outline: none;
}
label {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1rem;
  color: #222E38;
  margin-bottom: 4px;
  display: block;
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #222E38;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3998;
  padding: 18px 8px 18px 12px;
  box-shadow: 0 -4px 30px rgba(34,46,56,0.14);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 20px;
  animation: bannerSlideUp 0.5s cubic-bezier(.6,0,.5,1);
}
@keyframes bannerSlideUp {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  flex: 1 1 200px;
  font-size: 1rem;
  line-height: 1.6;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .btn {
  background: #8DA28F;
  color: #222E38;
  border-radius: 16px;
  border: none;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.20s, color 0.18s;
  padding: 8px 18px;
  cursor: pointer;
}
.cookie-banner button:hover,
.cookie-banner .btn:hover,
.cookie-banner button:focus {
  background: #fff;
  color: #222E38;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    text-align: center;
    align-items: flex-start;
    padding: 12px 8px 16px 10px;
  }
  .cookie-banner .cookie-btn-group {
    justify-content: flex-start;
    gap: 7px;
  }
}

/* Cookie Modal */
.cookie-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(34,46,56,0.38);
  z-index: 3999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBackdrop 0.32s cubic-bezier(.4,0,.3,1);
}
@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #222E38;
  border-radius: 18px;
  box-shadow: 0 8px 42px -8px rgba(34,46,56,0.18);
  max-width: 400px;
  min-width: 240px;
  width: 92vw;
  padding: 34px 34px 24px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPop 0.37s cubic-bezier(.36,1.14,.63,1.23);
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.8) translateY(50px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.35rem;
  color: #222E38;
  margin-bottom: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 14px; top: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #222E38;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
  padding: 2px 8px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #E3E7E2;
  color: #8DA28F;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 8px 0 20px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: #8DA28F;
  width: 19px;
  height: 19px;
}
.cookie-category label span {
  font-weight: 600;
  color: #222E38;
}
.cookie-category .always-on {
  font-size: 0.96em;
  color: #999;
  font-style: italic;
  margin-left: 6px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-actions button {
  padding: 8px 18px;
  font-size: 1rem;
}
@media (max-width: 460px) {
  .cookie-modal {
    padding: 24px 10px 14px 10px;
  }
}

/* =============================
   MICRO-INTERACTIONS & ANIMATIONS
   ============================= */
.card, .feature-item, .testimonial-card, .text-section {
  transition: transform 0.16s, box-shadow 0.19s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .text-section:hover {
  transform: translateY(-4px) scale(1.016);
  box-shadow: 0 10px 42px -10px rgba(34,46,56,0.13);
}

/* =============================
   UTILITY CLASSES
   ============================= */
.hide { display: none !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-20 { gap: 20px !important; }
.gap-32 { gap: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-0 { margin-bottom: 0px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-60 { margin-bottom: 60px !important; }

/* =============================
   ELEGANT SPACING SCHEME
   ============================= */
.section          { margin-bottom: 60px; padding: 40px 20px; }
.card-container   { display: flex; flex-wrap: wrap; gap: 24px; }
.card             { margin-bottom: 20px; position: relative; }
.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; }
.feature-item     { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* =============================
   RESPONSIVE FONT SIZES & LAYOUT
   ============================= */
@media (max-width: 999px) {
  h1 { font-size: 2rem;  }
  h2 { font-size: 1.55rem;}
  h3 { font-size: 1.23rem;}
  .footer-top, .footer-bottom { flex-direction: column; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem;  }
  h3 { font-size: 1.0rem;  }
  .section { padding: 18px 1px; margin-bottom: 44px; }
}

/* =============================
   SCROLLBAR
   ============================= */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: #E3E7E2;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #F6F6F1;
}

/* =============================
   PRINT STYLING
   ============================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-bg { display: none !important; }
  .section { margin-bottom: 28px !important; }
}

/* =============================
   END OF SHEET
   ============================= */
