/* -------------------- 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,
main, 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 {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAF7F3;
  color: #46353a;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: none; }
button { background: none; border: none; cursor: pointer; font: inherit; padding: 0; }
:focus { outline: 2px solid #c3b6ff; outline-offset: 2px; }

/* -------------------- FONT IMPORTS -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Merriweather:wght@700&display=swap');

:root {
  --color-primary: #4B2234;
  --color-secondary: #8B5D2E;
  --color-accent: #EFE7DA;
  --color-bg: #FAF7F3;
  --color-pink: #FFF3F8;
  --color-lavender: #F3F5FF;
  --color-lightblue: #E7F5FB;
  --color-green: #E5F7EE;
  --color-yellow: #FFF9E5;
  --color-hover: #dabddd;
  --color-shadow: rgba(200, 160, 200, 0.08);
  --color-border: #ece2f3;

  --font-display: 'Merriweather', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* -------------------- LAYOUT CONTAINERS & FLEXBOX -------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 28px;
  box-shadow: 0 6px 24px var(--color-shadow);
  transition: box-shadow 0.35s;
}

@media (max-width: 600px) {
  .section { padding: 28px 6px; }
}

/* Layout Utilities */
.card-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
  padding: 24px 18px;
}
.card:hover {
  box-shadow: 0 8px 28px var(--color-shadow), 0 1.5px 2.5px #e6e1ef;
}

.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: var(--color-pink);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 6px var(--color-shadow);
  color: #3b2731;
  font-size: 1.1rem;
  transition: background 0.25s;
}
.testimonial-card p {
  margin-right: auto;
}
.testimonial-card span {
  font-size: 0.95em;
  font-style: italic;
  color: #754364;
}
.testimonial-card:hover {
  background: var(--color-lavender);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive Flex Directions */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
}

/* -------------------- TYPOGRAPHY -------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 8px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 10px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, li, span, a, label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #46353a;
  font-weight: 400;
}
p { margin-bottom: 0.65em; }
.subheadline {
  color: #8c6f7b;
  font-size: 1.22rem;
  margin-bottom: 18px;
  font-family: var(--font-body);
  letter-spacing: 0.005em;
}
.text-section { margin-bottom: 24px; }
.text-section ul, .text-section ol {
  margin: 16px 0 16px 18px;
}
.text-section li {
  margin-bottom: 6px;
  padding-left: 2px;
  position: relative;
}
.text-section ul li:before {
  content: '\2022';
  color: var(--color-secondary);
  font-size: 1.12em;
  margin-right: 8px;
  position: absolute;
  left: -16px;
}
.text-section ol {
  counter-reset: section;
}
.text-section ol li {
  counter-increment: section;
}
.text-section ol li:before {
  content: counter(section) '.';
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 1em;
  margin-right: 8px;
  position: absolute;
  left: -18px;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-secondary);
}

/* -------------------- HEADER -------------------- */
header {
  background: var(--color-pink);
  width: 100%;
  box-shadow: 0 2px 8px var(--color-shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 12px 20px;
}
.header-brand {
  display: flex;
  align-items: center;
  min-width: 120px;
}
.header-brand img {
  height: 42px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-weight: 500;
  border-radius: 10px;
  padding: 4px 12px;
  transition: background 0.25s, color 0.25s;
}
nav a:hover, nav a:focus {
  background: var(--color-hover);
  color: var(--color-secondary);
}

.cta-btn {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 14px;
  padding: 12px 22px;
  margin-left: 18px;
  box-shadow: 0 1.5px 7px var(--color-shadow);
  transition: background 0.22s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.cta-btn.primary {
  background: var(--color-primary);
  color: #fff;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff9e8;
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px var(--color-hover);
}

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 1024px) {
  nav {
    gap: 14px;
  }
  .cta-btn {
    margin-left: 8px;
    padding: 11px 16px;
  }
}
@media (max-width: 840px) {
  nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 2.1rem;
    color: var(--color-primary);
    background: none;
    border: none;
    padding: 4px 10px;
    margin-left: 10px;
    z-index: 20;
    transition: background 0.18s, color 0.15s;
    border-radius: 10px;
  }
  .mobile-menu-toggle:active,
  .mobile-menu-toggle:focus {
    background: var(--color-accent);
  }
}

/* -------------------- MOBILE MENU -------------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(249, 240, 255, 0.98);
  z-index: 202;
  padding: 48px 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.75,0,.19,1);
  box-shadow: 2px 0 22px var(--color-shadow);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.0rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  z-index: 210;
  padding: 6px 16px;
  border-radius: 50%;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-hover);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: flex-start;
  margin-top: 36px;
  padding-left: 36px;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: var(--color-primary);
  padding: 12px 0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  width: 100%;
  transition: background 0.2s, color 0.18s, padding 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-hover);
  color: var(--color-secondary);
  padding-left: 10px;
}
@media (min-width: 841px) {
  .mobile-menu,
  .mobile-menu-close {
    display: none !important;
  }
}

/* -------------- MAIN CONTENT SPACING & FLEX --------------- */
main {
  width: 100%;
  padding-bottom: 80px;
}
section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* -------------------- FEATURE GRID STYLES -------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin: 16px 0 0 0;
  align-items: flex-start;
}
.feature-grid li {
  background: var(--color-lavender);
  border-radius: 16px;
  box-shadow: 0 1px 8px var(--color-shadow);
  font-size: 1.02rem;
  color: #523c41;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  min-width: 210px;
  transition: box-shadow 0.2s, background 0.18s;
  margin-bottom: 0;
}
.feature-grid li img {
  height: 32px; width: 32px;
}
.feature-grid li:hover {
  background: var(--color-green);
  box-shadow: 0 4px 24px var(--color-shadow);
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 15px;
  }
  .feature-grid li { min-width: unset; }
}

.feature-list li {
  display: flex;
  align-items: center;
  padding: 8px 0 8px 10px;
  font-size: 1.04rem;
  margin-bottom: 0;
  color: #5c4841;
  border-left: 4px solid var(--color-primary);
  background: var(--color-yellow);
  border-radius: 9px;
  margin-bottom: 14px;
}

/* ------------- CARDS AND TESTIMONIALS -------------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
/* Testimonials already styled above */

/* ------------- FOOTER STYLES ------------------ */
footer {
  background: var(--color-accent);
  box-shadow: 0 -1.5px 16px var(--color-shadow);
  width: 100%;
  padding-top: 26px;
  padding-bottom: 38px;
  margin-top: 30px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
}
.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 6px;
}
footer nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 6px;
}
footer nav a {
  font-size: 1.01rem;
  color: var(--color-primary);
  padding: 3px 9px;
  border-radius: 7px;
  font-family: var(--font-body);
  transition: background 0.18s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-hover);
  color: var(--color-secondary);
}
.footer-contact {
  font-size: 0.97rem;
  color: #7d6251;
  letter-spacing: 0.01em;
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
footer span {
  font-family: var(--font-body);
}

@media (max-width: 600px) {
  footer .container { padding: 0 7px; }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 4px; }
  footer nav { gap: 10px; flex-wrap: wrap; }
}

/* --------- COOKIES CONSENT BANNER & PREFERENCES MODAL ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--color-bg);
  box-shadow: 0 -2px 16px var(--color-shadow);
  border-top: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  z-index: 9999;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(.68,.06,.24,.96), opacity 0.25s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-msg {
  font-size: 1.05rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  margin-right: auto;
}
.cookie-actions {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  border: none;
  border-radius: 9px;
  padding: 9px 15px;
  font-size: 1.01rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 1px 4px var(--color-shadow);
  cursor: pointer;
  transition: background 0.15s, transform 0.14s, color 0.14s;
  margin-left: 0;
}
.cookie-btn.reject {
  background: #b2a3d6;
  color: #261452;
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: var(--color-hover);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.04);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom:0;
  z-index: 10010;
  background: rgba(245, 235, 251, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.33s, visibility 0.33s;
  opacity: 1; visibility: visible;
}
.cookie-modal-overlay.hide {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px var(--color-shadow);
  padding: 34px 30px;
  max-width: 400px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: var(--color-lavender);
  border-radius: 13px;
  padding: 13px 15px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--color-secondary);
  margin-bottom: 0;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 19px; height: 19px;
}
.cookie-category input[disabled] {
  opacity: 0.6;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.38rem;
  color: var(--color-secondary);
  border-radius: 50%;
  padding: 6px 10px;
  z-index: 25;
  transition: background 0.14s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: var(--color-hover);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 18px 7px; }
  .cookie-banner { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* --------- MISC ICONS, DECORATION, ANIMATIONS --------- */
img[alt*='Icon'], img[alt*='icon'], img[alt*='karte'], img[alt*='map'] {
  filter: drop-shadow(0 2px 6px #e0e0f6);
  border-radius: 8px;
}

/* Card micro-interaction */
.card:active {
  box-shadow: 0 2px 10px var(--color-primary);
  border: 1px solid var(--color-hover);
}
/* Buttons animate on active */
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* -------------- PASTEL ATMOSPHERE BG VARIANTS -------------- */
.section:nth-child(odd) {
  background: linear-gradient(120deg, #fff3f8 60%, #e7f5fb 100%);
}
.section:nth-child(even) {
  background: linear-gradient(120deg, #f3f5ff 70%, #fff9e5 100%);
}

/* If needed, override for important contrast areas: testimonials */
.section .testimonial-card {
  background: var(--color-pink);
  color: #402234;
}

/* ------------- MEDIA QUERIES FOR RESPONSIVENESS -------------- */
@media (max-width: 700px) {
  main { padding-bottom: 30px; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.35rem; }
  .section { margin-bottom: 36px; padding: 22px 7px; }
  .testimonial-card { padding: 13px; }
  .feature-grid li { font-size: 0.99rem; padding: 11px 10px; }
  .card { padding: 16px 7px; }
}

/* ----------------- PRINT REDUCTION --------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section { box-shadow: none; background: #fff !important; }
}

/* ----------------- END ----------------- */