/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #232336;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F5F5DC;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #374259;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #9CB380;
  outline: none;
  text-decoration: underline;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #232336;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.18;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #374259;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

p, ul, ol, li, dl, dt, dd {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #353553;
  margin-bottom: 12px;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}
dt {
  font-weight: 700;
  color: #374259;
  margin-bottom: 4px;
}
dd {
  margin-bottom: 10px;
}
strong {
  font-weight: 800;
}

/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(55,66,89,0.08);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* FLEXBOX PATTERNS (no grid, only flex!) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(55,66,89,0.07);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(55,66,89,0.14);
  transform: translateY(-4px) scale(1.02);
}
.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: #FFFEFA;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(55,66,89,0.08);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 0;
  border-left: 5px solid #9CB380;
}
.testimonial-card p {
  color: #232336;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #9CB380;
  font-weight: 700;
  font-style: italic;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Feature grid for / */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  background: #FFF;
  border-radius: 18px;
  flex: 1 1 220px;
  min-width: 220px;
  box-shadow: 0 2px 10px rgba(55,66,89,0.07);
  padding: 28px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.17s, box-shadow 0.17s;
}
.feature-grid > div:hover {
  background: #F5F5DC;
  box-shadow: 0 8px 24px rgba(55,66,89,0.16);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img {
  width: 40px;
  margin-bottom: 10px;
}

/* Hero Section */
.hero {
  padding: 48px 0 48px 0;
  background: #374259;
  color: #fff;
  width: 100%;
}
.hero .container {
  flex-direction: column;
}
.hero .content-wrapper {
  color: #fff;
  align-items: flex-start;
  gap: 16px;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
}
.hero .subheadline {
  color: #F5F5DC;
  font-weight: 400;
}

/* Call-to-action (CTA) Section */
.cta {
  background: #9CB380;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(55,66,89,0.08);
}
.cta h2, .cta a {
  color: #374259;
}
.cta .btn-primary {
  background: #374259;
  color: #fff;
}

/* Navigation Styles */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(55,66,89,0.07);
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
header img {
  max-height: 58px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #374259;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  font-size: 1rem;
}
.main-nav a:hover,
.main-nav a.active {
  background: #9CB380;
  color: #fff;
  text-decoration: none;
}
.btn-primary {
  background: #9CB380;
  color: #232336;
  padding: 13px 28px;
  font-size: 1.1rem;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(156,179,128,0.08);
  margin-left: 16px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #374259;
  color: #fff;
  box-shadow: 0 4px 18px rgba(55,66,89,0.18);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #374259;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s, transform 0.13s;
  margin-top: 12px;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #9CB380;
  color: #374259;
  box-shadow: 0 2px 13px rgba(156,179,128,0.09);
  transform: scale(1.02);
}

/* Hamburger & Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: #9CB380;
  color: #232336;
  border: none;
  font-size: 2rem;
  border-radius: 9px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
  margin-left: 20px;
  position: relative;
  z-index: 1010;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #374259;
  color: #fff;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #374259;
  color: #fff;
  z-index: 1200;
  padding: 20px 28px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  box-shadow: 2px 0 24px rgba(55,66,89,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 38px;
  z-index: 1300;
  transition: color 0.1s;
  padding: 4px 12px;
  border-radius: 6px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #9CB380;
  background: rgba(255,255,255,0.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 12px 8px;
  color: #fff;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: #9CB380;
  color: #232336;
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none!important;
  }
}

/* Footer */
footer {
  background: #232336;
  color: #f4f6ef;
  padding: 64px 0 40px 0;
  margin-top: 60px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -2px 10px rgba(55,66,89,0.06);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #9CB380;
  font-weight: 600;
  transition: color 0.13s;
  font-size: 1rem;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F5F5DC;
}
.footer-contact {
  flex: 2 1 400px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.footer-contact img {
  width: 22px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-contact a {
  color: #F5F5DC;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.16s;
}
.footer-contact a:hover {
  color: #9CB380;
}
.footer-brand {
  flex: 1 1 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}
.footer-brand img {
  width: 65px;
}
@media (max-width: 990px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer-brand {
    align-items: flex-start;
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  footer {
    padding: 40px 0 24px 0;
  }
  .footer-brand img {
    width: 46px;
  }
}

/* -- RESPONSIVENESS & FLEX ADJUSTMENTS -- */
@media (max-width: 950px) {
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  .feature-grid > div {
    flex-basis: calc(50% - 18px);
    min-width: 170px;
  }
  .card-container {
    gap: 18px;
  }
  .content-grid {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  .content-wrapper,
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-grid > div {
    flex-basis: 100%;
    min-width: 120px;
    padding: 22px 12px 15px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- UTILITY --- */
.text-section {
  gap: 12px;
}
.confirmation-message {
  background: #9CB380;
  color: #fff;
  padding: 18px 16px;
  border-radius: 9px;
  font-weight: 700;
  margin-bottom: 18px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 18px;
}
.contact-info img {
  width: 22px;
  vertical-align: middle;
  margin-right: 7px;
}

/* --- FORMS & LISTS (future proofing) --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.06rem;
  padding: 10px;
  border-radius: 7px;
  border: 1.5px solid #9CB380;
  margin-bottom: 12px;
  transition: border 0.14s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #374259;
  outline: none;
  box-shadow: 0 0 6px 0 #3742592a;
}

/* --- Cookie Consent Banner & Modal --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #374259;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  z-index: 2000;
  box-shadow: 0 -2px 16px rgba(55,66,89,0.12);
  animation: slideUpCookie 0.32s cubic-bezier(0.77,0,0.175,1);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 2 1 60%;
  font-size: 1rem;
  color: #F5F5DC;
}
.cookie-banner .cookie-actions {
  flex: 1 1 40%;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-banner .btn-cookie {
  padding: 10px 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  box-shadow: 0 1px 8px rgba(55,66,89,0.07);
}
.btn-cookie--accept {
  background: #9CB380;
  color: #232336;
}
.btn-cookie--accept:hover {
  background: #fff;
  color: #374259;
}
.btn-cookie--reject {
  background: #F5F5DC;
  color: #374259;
  border: 1px solid #9CB380;
}
.btn-cookie--reject:hover {
  background: #FFEEDA;
  color: #9CB380;
  border-color: #374259;
}
.btn-cookie--settings {
  background: transparent;
  color: #F5F5DC;
  border: 1.2px solid #fff;
}
.btn-cookie--settings:hover {
  background: #9CB380;
  color: #232336;
  border-color: #9CB380;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 9px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 5px;
  }
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,35,54,0.83);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.16s;
}
.cookie-modal.is-hidden {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-dialog {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 8px 36px rgba(55,66,89,0.19);
  padding: 34px 28px 26px 28px;
  min-width: 300px;
  max-width: 94vw;
  color: #232336;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInScaleCookie 0.29s cubic-bezier(0.77,0,0.175,1);
}
@keyframes fadeInScaleCookie {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-dialog h2 {
  color: #374259;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.cookie-modal-dialog .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.cookie-modal-dialog .cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #9CB380;
}
.cookie-modal-dialog .cookie-category label {
  font-size: 1.05rem;
  color: #232336;
}
.cookie-modal-dialog .btn-cookie-close {
  background: transparent;
  border: none;
  color: #374259;
  font-size: 2.1rem;
  position: absolute;
  top: 18px;
  right: 28px;
  cursor: pointer;
  z-index: 10;
}
.cookie-modal-dialog .btn-cookie-modal-action {
  margin-top: 18px;
  padding: 11px 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  background: #9CB380;
  color: #232336;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 2px 9px rgba(156,179,128,0.06);
}
.cookie-modal-dialog .btn-cookie-modal-action:hover {
  background: #374259;
  color: #fff;
}
@media (max-width: 480px) {
  .cookie-modal-dialog {
    padding: 14px 7px 18px 7px;
  }
  .cookie-modal-dialog .btn-cookie-close {
    top: 7px;
    right: 10px;
  }
}

/* --- MISC COMPONENTS & UTILITIES --- */
del, s { color: #b12727; }
ins { color: #246e2a; }

/* --- CLEAN MARGINS BETWEEN FLEX ITEMS (not overlapping) --- */
.feature-grid > div,
.card,
.testimonial-card {
  margin-right: 0;
  margin-bottom: 20px;
}

/* --- ICONS & DECORATIONS --- */
img[alt*='Icon'],
img[alt*='logo'],
img[alt*='Quantum Veil Raumvision'],
img[alt*='Standort'],
img[alt*='Telefon'],
img[alt*='E-Mail'],
img[alt*='Öffnungszeiten'] {
  user-select: none;
}

/* --- GEOMETRIC & HIGH CONTRAST BOLDNESS --- */
.section, .card, .feature-grid > div, .testimonial-card, .cta {
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(55,66,89, 0.06);
}
hr {
  border: none;
  border-top: 2px solid #374259;
  margin: 30px 0;
}

/* --- HOVER AND MICRO-INTERACTIONS --- */
.btn-primary, .btn-secondary, .cookie-banner .btn-cookie, .cookie-modal-dialog .btn-cookie-modal-action {
  transition: background 0.17s, color 0.17s, box-shadow 0.13s, transform 0.11s;
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(55,66,89,0.12);
  transform: translateY(-2px) scale(1.02);
}

/* --- ACCESSIBLE FOCUS STATE --- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-banner .btn-cookie:focus, .cookie-modal-dialog .btn-cookie-modal-action:focus {
  outline: 2.5px solid #9CB380;
  outline-offset: 2px;
}

/* -- END -- */
