/* Lucid Sands Beratung – style.css */
/*================ 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #F7F8F9;
  color: #234159;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 24px;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}
a {
  color: #234159;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #C2A86C;
  outline-offset: 2px;
}

/*================ BRAND FONTS =================*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #234159;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; }
p, ul, ol, li { font-size: 16px; color: #26343f; }
strong { font-weight: 700; }
em { font-style: italic; }

/*================= LAYOUT CONTAINERS =================*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(35,65,89,0.07);
}
.section:last-child,
section:last-of-type {
  margin-bottom: 0;
}

/* Banner / Hero Section */
.hero {
  background: #234159;
  color: #fff;
  padding: 56px 0 48px 0;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero .content-wrapper h1,
.hero .content-wrapper p {
  color: #fff;
}
.hero .btn-primary { margin-top: 24px; }

/*================ NAVIGATION ================*/
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(35,65,89,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  min-width: 120px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 6px 2px;
  color: #234159;
  border-bottom: 2px solid transparent;
  transition: border-color 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #C2A86C;
  border-bottom: 2px solid #C2A86C;
}
.btn-primary {
  display: inline-block;
  background: #C2A86C;
  color: #234159;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  padding: 12px 28px;
  box-shadow: 0 2px 6px rgba(35,65,89,0.10);
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #234159;
  color: #fff;
  box-shadow: 0 3px 16px rgba(35,65,89,0.17);
}
.btn-secondary {
  display: inline-block;
  background: #234159;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  padding: 10px 22px;
  border: 2px solid #234159;
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #C2A86C;
  color: #234159;
  border-color: #C2A86C;
}

/* Mobile Burger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: #C2A86C;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1.5rem;
  color: #234159;
  cursor: pointer;
  margin-left: 12px;
  box-shadow: 0 2px 12px rgba(35,65,89,0.09);
  transition: background 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #e3cf9a;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,65,89,0.95);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.75,0,.25,1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  padding: 18px 24px 8px 0;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1002;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #C2A86C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  padding-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 12px 0;
  transition: color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #C2A86C;
}

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

/*================ CARDS & FLEX CONTAINERS ================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 11px rgba(35,65,89,0.09);
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.19s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(35,65,89,0.18);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid, .feature-grid, .service-cards, .service-grid, .feature-icons, .trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F7F8F9;
}
.features .content-wrapper,
.feature-grid,
.service-cards,
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/*================ TESTIMONIALS ================*/
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #e9edf0;
  border-radius: 12px;
}
.testimonials h2 {
  text-align: center;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  background: #fff;
  color: #234159;
  min-width: 260px;
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(35,65,89,0.08);
  font-size: 17px;
  margin-bottom: 0;
  transition: box-shadow 0.17s;
}
.testimonial-card p {
  color: #234159;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
}
.testimonial-card strong {
  color: #C2A86C;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 5px 24px rgba(35,65,89,0.17);
}

/*================== FOOTER ====================*/
footer {
  background: #234159;
  color: #fff;
  padding: 40px 0 0 0;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding-bottom: 16px;
}
footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
footer .footer-nav a {
  color: #C2A86C;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 15px;
  transition: color 0.17s;
}
footer .footer-nav a:hover,
footer .footer-nav a:focus {
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 15px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  opacity: 0.95;
  margin-top: 14px;
}

/*================ CTA & SPECIAL SECTIONS ===============*/
.cta-secondary {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

/* Contact Info in Contact Sections */
.contact.compact ul, .contact.brief ul, .contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.contact.compact li, .contact.brief li, .contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #234159;
}
.contact.compact a.btn-primary, .contact.brief a.btn-primary {
  margin-top: 10px;
}

/* Utilities: Spacing, Shadows, Color */
.section, .features, .testimonials, .services, .services-overview, .about-story, .contact, .resource-features {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/*================== LISTS ====================*/
ul, ol {
  line-height: 1.7;
  margin-bottom: 18px;
  padding-left: 24px;
}
ul li::marker {
  color: #C2A86C;
}
.features ul,
.about-story ul,
.services-overview ul {
  list-style-type: none;
  padding-left: 0;
}
.features ul li,
.about-story ul li,
.services-overview ul li {
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 12px;
  color: #26343f;
}
.features ul li:before,
.about-story ul li:before,
.services-overview ul li:before {
  content: '\2714';
  color: #C2A86C;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0;
}

/*=================== LINKS ===================*/
a.service-link, .content-wrapper a:not(.btn-primary):not(.btn-secondary) {
  color: #234159;
  border-bottom: 1px dotted #C2A86C;
  padding-bottom: 2px;
  transition: color 0.16s, border-bottom 0.16s;
}
a.service-link:hover,
.content-wrapper a:not(.btn-primary):not(.btn-secondary):hover {
  color: #C2A86C;
  border-bottom: 1px solid #C2A86C;
}

/*================== CUSTOM CLASSES ===============*/
.trust-signals, .feature-icons {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-top: 22px;
}
.trust-signals img, .feature-icons img {
  width: 48px;
  height: auto;
  opacity: 0.90;
  filter: grayscale(10%);
}
.map-address, .opening-hours {
  margin-top: 10px;
  margin-bottom: 16px;
}
.map-address h3, .opening-hours h3 {
  font-size: 1.15rem;
  margin-bottom: 0px;
}
.next-steps {
  background: #edf0f3;
  color: #234159;
  border-radius: 7px;
  padding: 18px 18px 8px 18px;
  margin: 18px 0 18px 0;
  box-shadow: 0 1px 9px rgba(35,65,89,0.07);
}
.next-steps p {
  font-weight: 600;
  margin-bottom: 8px;
}
.next-steps ul {
  margin-bottom: 0;
}

/*================ COOKIE CONSENT BANNER ===============*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #234159;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 20px 14px 20px;
  box-shadow: 0 -2px 16px rgba(35,65,89,0.15);
  z-index: 1100;
  font-size: 16px;
  transition: transform 0.38s cubic-bezier(.7,0,.3,1);
}
.cookie-banner.hidden { transform: translateY(120%); pointer-events: none; opacity: 0; }
.cookie-banner .cookie-banner__text {
  flex: 2 1 auto;
  min-width: 220px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner__btn,
.cookie-banner__settings {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  padding: 9px 18px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner__btn.accept {
  background: #C2A86C;
  color: #234159;
}
.cookie-banner__btn.accept:hover,
.cookie-banner__btn.accept:focus {
  background: #dcc893;
  color: #234159;
}
.cookie-banner__btn.reject {
  background: #fff;
  color: #234159;
  border: 1px solid #C2A86C;
}
.cookie-banner__btn.reject:hover,
.cookie-banner__btn.reject:focus {
  background: #e9edf0;
}
.cookie-banner__settings {
  background: none;
  color: #C2A86C;
  text-decoration: underline;
  padding: 7px 10px;
  border: none;
}
.cookie-banner__settings:hover,
.cookie-banner__settings:focus {
  color: #fff;
  text-decoration: underline dotted;
}

/* Cookie Modal Popup */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1200;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35,65,89,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  color: #234159;
  border-radius: 12px;
  min-width: 320px; max-width: 98vw;
  min-height: 240px;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 6px 54px rgba(35,65,89,0.14);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.27rem;
  margin-bottom: 10px;
  color: #234159;
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #234159;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  color: #C2A86C;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #234159;
  width: 19px;
  height: 19px;
  margin-right: 8px;
}
.cookie-category .cookie-toggle-label {
  font-weight: 600;
  color: #234159;
}
.cookie-category .desc {
  color: #678;
  font-size: 0.96em;
  font-weight: 400;
  margin-left: 4px;
}
.cookie-category.essential .cookie-toggle-label {
  color: #234159;
}
.cookie-modal__footer {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal__btn {
  background: #C2A86C;
  color: #234159;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 20px;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal__btn:hover, .cookie-modal__btn:focus {
  background: #234159;
  color: #fff;
}

/*================= RESPONSIVE STYLES =================*/
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 14px;
  }
  .main-nav {
    display: none;
  }
}
@media (max-width: 870px) {
  .content-grid, .feature-grid, .service-cards, .service-grid, .features .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card, .feature-item, .testimonial-card {
    min-width: 95%;
  }
}
@media (max-width: 768px) {
  .section, .features, .testimonials, .services, .services-overview, .about-story, .contact, .resource-features {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 36px 0 30px 0;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }
  .content-wrapper, .feature-grid, .service-cards, .service-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card-container {
    gap: 14px;
  }
  .card, .feature-item, .testimonial-card {
    min-width: 98%;
  }
  .features {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  footer {
    padding: 24px 0 0 0;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
  .btn-primary, .btn-secondary {
    padding: 10px 12px;
    font-size: 15px;
  }
  .footer-brand {
    font-size: 13px;
  }
  .features ul li,
  .about-story ul li,
  .services-overview ul li {
    margin-bottom: 8px;
    font-size: 15px;
  }
}

/*================== ANIMATIONS & MICROINTERACTIONS ===============*/
.btn-primary, .btn-secondary, .cookie-banner__btn {
  transition: background 0.14s, color 0.14s, box-shadow 0.15s;
}
.cookie-banner, .cookie-modal {
  animation: fadeInSoft 0.56s cubic-bezier(.7,0,.3,1);
}
@keyframes fadeInSoft {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu {
  box-shadow: 8px 0 18px 0 rgba(35,65,89,0.12);
}
.mobile-menu.active {
  animation: slideInMenu 0.34s cubic-bezier(.75,0,.25,1);
}
@keyframes slideInMenu {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/*================== MISC: FORMS, ERRORS (if any) ===================*/
input, textarea, select {
  border: 1px solid #bfc8d2;
  border-radius: 5px;
  padding: 10px 12px;
  margin-top: 8px;
  margin-bottom: 18px;
  color: #234159;
  font-size: 16px;
  transition: border-color 0.16s;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: #C2A86C;
  outline: none;
}
label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #234159;
  display: block;
}

/*================== TOOLTIPS & STATUS MESSAGES ===================*/
.status-success {
  background: #ebfce6;
  color: #17702a;
  border-left: 4px solid #2db74e;
  padding: 10px 18px;
  border-radius: 7px;
}
.status-error {
  background: #fdeaea;
  color: #ab3131;
  border-left: 4px solid #ab3131;
  padding: 10px 18px;
  border-radius: 7px;
}

/*================ ENSURE NO OVERLAPPING OF ELEMENTS ===============*/
.section, .features, .testimonials, .services, .services-overview, .about-story, .contact, .resource-features, footer, .cookie-banner, .cookie-modal {
  box-sizing: border-box;
  margin-bottom: 60px;
  margin-top: 0;
}

/* End of style.css – ALL LAYOUTS ARE FLEXBOX, NO GRID APPLIED */
