/* --- 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #fff;
  color: #2C3E4F;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
img {
  max-width: 100%; height: auto; display: block;
  border: 0;
}
button, input, select, textarea {
  font: inherit;
}

/* --- TYPOGRAPHY SCALE --- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  color: #2C3E4F;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem; /* 32px */
  font-weight: 600;
  color: #2C3E4F;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem; /* 20px */
  font-weight: 500;
  color: #2C3E4F;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #2C3E4F;
  margin-bottom: 8px;
}
p, li, .text-section {
  color: #2C3E4F;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
subheadline, .subheadline {
  color: #7D9773;
  font-size: 1.125rem;
  margin-bottom: 24px;
}

strong {
  font-weight: 600;
}

/* --- CONTAINERS & LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(44,62,79,0.05);
  border-radius: 14px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(44,62,79,0.06);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(44,62,79,0.12);
}
.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: center;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: #F3F5EF;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(44,62,79,0.05);
  color: #2C3E4F;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #2C3E4F;
  margin-bottom: 4px;
  text-align: center;
}
.testimonial-card span, .testimonial-card div {
  font-size: 1rem;
  color: #7D9773;
  font-style: italic;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO SECTION --- */
.hero {
  display: flex;
  align-items: center;
  background: #F3F5EF;
  min-height: 320px;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 2px 12px 0 rgba(44,62,79,0.04);
  margin-bottom: 60px;
  padding: 54px 0 48px 0;
}
.hero h1 {
  color: #2C3E4F;
  margin-bottom: 18px;
}
.hero .subheadline {
  color: #7D9773;
  margin-bottom: 24px;
}
.hero .cta {
  margin-top: 10px;
}

/* --- BUTTONS, LINKS --- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(44,62,79,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.17s;
  outline: none;
}
.cta.primary {
  background: #2C3E4F;
  color: #fff;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #1B2530;
  color: #F3F5EF;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 32px 0 rgba(44,62,79,0.16);
}
.cta.secondary {
  background: #7D9773;
  color: #fff;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #5a6e52;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 32px 0 rgba(44,62,79,0.13);
}

nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2C3E4F;
  transition: background 0.11s, color 0.12s;
}
nav a.active,
nav a:hover,
nav a:focus {
  background: #F3F5EF;
  color: #7D9773;
}

footer nav a {
  font-size: 0.98rem;
  padding: 6px 10px;
  color: #7D9773;
}
footer nav a:hover,
footer nav a:focus {
  background: transparent;
  color: #2C3E4F;
  text-decoration: underline;
}

.text-section a {
  color: #2C3E4F;
  text-decoration: underline;
  word-break: break-all;
  transition: color 0.18s;
}
.text-section a:hover,
.text-section a:focus {
  color: #7D9773;
}

/* --- HEADER --- */
header {
  background: #fff;
  width: 100%;
  box-shadow: 0 2px 12px 0 rgba(44,62,79,0.04);
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 14px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
header a img {
  height: 40px;
}
header .cta {
  margin-left: 18px;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #F3F5EF;
  padding: 48px 0 28px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
footer img[alt="Fixel Radiance Touren"] {
  height: 36px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
footer .text-section {
  font-size: 0.97rem;
  color: #2C3E4F;
}
footer .social-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 4px;
}
footer .social-links a {
  display: flex;
  align-items: center;
  background: transparent;
}
footer .social-links a img {
  width: 28px; height: 28px;
  filter: grayscale(0.4);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}
footer .social-links a:hover img,
footer .social-links a:focus img {
  filter: grayscale(0.0);
  opacity: 1;
}

/* --- GENERIC SPACING & WHITE SPACE --- */
main, section {
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
}
li + li, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}
.content-wrapper > * + * {
  margin-top: 0;
}

.text-section {
  background: none;
  padding: 0;
  margin-bottom: 12px;
  line-height: 1.7;
}

.section:last-child, section:last-child {
  margin-bottom: 0;
}

/* --- FLEX PATTERNS --- */
.card-container,
.content-grid,
.features,
.text-image-section,
.card-grid,
.card-content,
.feature-item {
  display: flex;
}
.card-container, .content-grid, .features, .card-grid {
  flex-wrap: wrap;
  gap: 24px;
}
.card-content {
  flex-direction: column;
  justify-content: center;
}
.text-image-section {
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- LIST ICONS --- */
ul li img {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
}
ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #2C3E4F;
  font-size: 1.02rem;
}
ul li:last-child {
  margin-bottom: 0;
}

/* Distinctive styling for star ratings */
.testimonial-card span {
  font-weight: 500;
}
.testimonial-card span:contains('★★★★★') {
  color: #FFB100;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #2C3E4F;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 8px;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s;
  z-index: 102;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F3F5EF;
  color: #7D9773;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.53,.21,.29,.97), opacity 0.29s ease;
  box-shadow: 0 0 40px 0 rgba(44,62,79,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #2C3E4F;
  align-self: flex-end;
  margin: 26px 22px 0 0;
  cursor: pointer;
  z-index: 1250;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #7D9773;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 36px 32px;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.275rem;
  color: #2C3E4F;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.1s, color 0.12s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F3F5EF;
  color: #7D9773;
}

@media (max-width: 1020px) {
  .container { max-width: 98vw; }
}

@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 8px;
  }
  nav {
    gap: 7px;
  }
}
@media (max-width: 800px) {
  .container { padding: 0 14px; }
  .section, section { padding: 32px 12px; }
}
@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    padding: 34px 0 28px 0;
    border-radius: 0 0 22px 22px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }
  .cta { font-size: 1.01rem; padding: 12px 18px; }
  .container { padding: 0 7px; }
  section, .section { padding: 22px 7px; border-radius: 11px; }
  .card, .testimonial-card { padding: 14px 10px; border-radius: 10px; }
}

@media (max-width: 700px) {
  .content-wrapper { gap: 12px; }
  ul li { font-size: 0.98rem; }
}
@media (max-width: 600px) {
  .footer .container, footer .container { padding: 0 6px; }
}
@media (max-width: 540px) {
  .mobile-nav { padding: 24px 12px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  section, .section { padding: 14px 2px; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
  header nav {
    display: flex !important;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #2C3E4F;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  z-index: 1500;
  box-shadow: 0 -2px 24px 0 rgba(44,62,79,0.21);
  padding: 28px 24px 20px 24px;
  border-radius: 16px 16px 0 0;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.29s, transform 0.4s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner strong {
  color: #F3F5EF;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 14px;
}
.cookie-banner .cookie-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  margin-top: 0;
  box-shadow: 0 1px 5px 0 rgba(44,62,79,0.08);
  transition: background 0.16s, color 0.15s, transform 0.18s;
}
.cookie-banner .cookie-btn.accept {
  background: #7D9773;
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: #5a6e52;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #2C3E4F;
  border: 1px solid #E2E6E0;
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: #F3F5EF;
}
.cookie-banner .cookie-btn.settings {
  background: #2C3E4F;
  color: #fff;
  border: 1px solid #7D9773;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #1B2530;
  border: 1px solid #2C3E4F;
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7px 14px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner-buttons { flex-direction: column; gap: 7px; }
}

/* --- COOKIE MODAL / SETTINGS --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1800;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44,62,79,0.25);
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 0;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
  animation: fadeInOverlay 0.2s;
}
@keyframes fadeInOverlay {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 36px 28px;
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(44,62,79,0.18);
  max-width: 390px;
  min-width: 290px;
  color: #2C3E4F;
  font-size: 1.11rem;
  animation: modalPopupIn 0.21s cubic-bezier(.53,.21,.29,.97);
}
@keyframes modalPopupIn {
  0% { transform: translateY(60px) scale(0.94); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #2C3E4F;
  font-weight: 500;
}
.cookie-modal .switch {
  display: inline-block;
  width: 44px; height: 24px;
  position: relative;
}
.cookie-modal .switch input {
  display: none;
}
.cookie-modal .slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E6EBE0;
  border-radius: 24px;
  transition: background 0.22s;
}
.cookie-modal .switch input:checked + .slider {
  background: #7D9773;
}
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  background: #2C3E4F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.12s, color 0.13s, transform 0.14s;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #7D9773;
  color: #fff;
  transform: scale(1.04);
}
.cookie-modal .category-desc {
  font-size: 0.98rem;
  color: #7D9773;
  margin-bottom: 8px;
}

/* --- MICRO-INTERACTIONS --- */
a, .cta, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.16s;
}
.card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(44,62,79,0.14);
  transform: translateY(-2px) scale(1.012);
}

/* ---- FORM STYLES (if needed in texts) ---- */
input, textarea, select {
  border-radius: 9px;
  border: 1px solid #E2E6E0;
  padding: 10px 14px;
  font-size: 1rem;
  color: #2C3E4F;
  margin-bottom: 16px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #7D9773;
  border-color: #7D9773;
}

/* --- UTILITY CLASSES & OVERRIDES --- */
.hide { display: none !important; }
.visible { display: block; }

hr {
  border: none;
  height: 1px;
  background: #E6EBE0;
  margin: 28px 0;
}

::-webkit-input-placeholder { color: #a2adb2; }
::-moz-placeholder          { color: #a2adb2; }
:-ms-input-placeholder      { color: #a2adb2; }
::placeholder              { color: #a2adb2; }

/* --- END OF CSS --- */
