/*
Level Guide – Minimalist CSS Theme
Author: Senior CSS Developer & UI Designer
Brand: Modern, Minimal, Inspired (see brand guidelines)

COLOR PALETTE:
  Primary: #2C3E5C (deep blue-gray)
  Secondary: #F2C963 (soft gold)
  Accent: #FFFFFF (white)
  Text: #222 (dark for readability)

FONTS:
  Display: 'Montserrat', Arial, sans-serif
  Body: 'Roboto', Arial, sans-serif

--- 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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #fff;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  color: #2C3E5C;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #F2C963;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2C3E5C;
  line-height: 1.1;
}

h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.375rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, blockquote, address {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #222;
}

strong {
  font-weight: 700;
  color: #2C3E5C;
}

address {
  font-style: normal;
  font-size: 1rem;
}

/* Root layout containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  width: 100%;
}

/* Nav & Header -------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  position: relative;
  gap: 12px;
}
.logo img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #222;
  padding: 7px 2px;
  border-radius: 3px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f7f7f7;
  color: #2C3E5C;
}

/* CTA Button -------------------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background 0.22s, color 0.22s, box-shadow 0.26s;
  cursor: pointer;
  box-shadow: 0 1px 16px 0 rgba(44,62,92,0.04);
  outline: none;
  gap: 4px;
  margin-left: 24px;
}
.cta.primary {
  background: #2C3E5C;
  color: #fff;
  border: 2px solid #2C3E5C;
}
.cta.primary:hover, .cta.primary:focus {
  background: #22304A;
  box-shadow: 0 3px 20px 0 rgba(44,62,92,0.09);
  color: #F2C963;
}
.cta.secondary {
  background: #F2C963;
  color: #2C3E5C;
  border: 2px solid #F2C963;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #2C3E5C;
  color: #fff;
  box-shadow: 0 3px 20px 0 rgba(44,62,92,0.07);
}

/* Hamburger Mobile Menu -------------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #2C3E5C;
  cursor: pointer;
  margin-left: 12px;
  z-index: 41;
  padding: 6px 12px;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #F2C963;
  background: #f7f7f7;
  border-radius: 4px;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 99;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.8,0.2,0.2,1);
  box-shadow: 2px 0 14px 0 rgba(44,62,92,0.10);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 38px 28px 32px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #2C3E5C;
  background: none;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 12px;
  cursor: pointer;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F2C963;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  padding: 14px 0;
  color: #222;
  border-radius: 3px;
  transition: color 0.18s, background 0.18s;
  width: 100%;
  display: inline-block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #f7f7f7;
  color: #2C3E5C;
}

/* ----------------- HERO BANNER ------------------ */
.hero {
  background: #f8f9fa;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero .container {
  min-height: 210px;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75em;
  color: #2C3E5C;
}
.hero p {
  font-size: 1.18rem;
  color: #333;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Sections + Flex Container Rules --- */
.section, .features, .calltoaction, .location, .reviews, .recommendations,
.advice, .themenpakete, .community-features, .about, .contact, .privacy, .legal, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

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

/* Flexbox spacing patterns (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(44,62,92,0.06);
  background: #fff;
  padding: 32px 24px;
  flex: 1 1 290px;
}
.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;
  margin-bottom: 20px;
  border-radius: 9px;
  background: #fafbfc;
  box-shadow: 0 2px 12px 0 rgba(44,62,92,0.04);
  flex-direction: row;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #222;
  margin-bottom: 4px;
  border-left: 3px solid #F2C963;
  padding-left: 14px;
  background: none;
}
.testimonial-card cite {
  font-size: 1rem;
  color: #8A8A8A;
  font-style: normal;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(44,62,92,0.11);
  transform: translateY(-2px) scale(1.0125);
}

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

/* ---- Feature Grid ---- */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features .feature {
  flex: 1 1 210px;
  min-width: 240px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 10px 0 rgba(44,62,92,0.04);
  padding: 28px 18px 26px 18px;
  text-align: center;
  transition: box-shadow 0.22s, transform 0.19s;
}
.features .feature:hover {
  box-shadow: 0 7px 32px 0 rgba(44,62,92,0.13);
  transform: translateY(-1px) scale(1.016);
}
.features .feature img {
  height: 38px;
  margin-bottom: 10px;
}
.features .feature h3 {
  font-size: 1.175rem;
  margin-bottom: 0.67em;
  color: #2C3E5C;
}
.features .feature p {
  font-size: 1rem;
  color: #3d3d3d;
  margin-bottom: 0;
}

/* --- Call to Action Section --- */
.calltoaction {
  background: #F9F9FA;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(44,62,92,0.06);
  text-align: center;
  margin-bottom: 60px;
}
.calltoaction h2 {
  margin-bottom: 8px;
}
.calltoaction p {
  margin-bottom: 20px;
}

/* --- Location Section --- */
.location {
  background: #fafbfc;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(44,62,92,0.03);
  margin-bottom: 60px;
}
.location .map-placeholder {
  margin-top: 22px;
  border-radius: 8px;
  background: #E5E8F1;
  min-height: 160px;
}

/* Footer ------------------------- */
footer {
  background: #F7F8FA;
  border-top: 1px solid #e4e7eb;
  font-size: 0.95rem;
  padding: 0;
}
footer .container {
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 32px 18px 22px 18px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 6px;
  justify-content: center;
}
.footer-nav a {
  color: #445C7A;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2C3E5C;
}
footer address {
  font-size: 0.97rem;
  margin-bottom: 3px;
  color: #79889C;
}
footer p {
  color: #8A8A8A;
  font-size: 0.96rem;
}

/* ------------ Reviews/Recommendations ------------*/
.reviews, .recommendations, .advice, .themenpakete, .community-features, .about, .contact, .privacy, .legal, .confirmation {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 10px 0 rgba(44,62,92,0.03);
}
.review-list, .recommendation-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.review, .recommendation {
  background: #FAFAFC;
  border-radius: 8px;
  box-shadow: 0 1px 8px 0 rgba(44,62,92,0.04);
  padding: 21px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.review:hover, .recommendation:hover {
  box-shadow: 0 7px 20px 0 rgba(44,62,92,0.09);
  transform: translateY(-1px) scale(1.012);
}
.review strong {
  color: #2C3E5C;
  font-size: 1.1em;
}

/* --- Lists inside sections --- */
.content-wrapper ul, .content-wrapper ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
.content-wrapper li {
  margin-bottom: 10px;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  color: #222;
}

/* --- CTA Areas in Sections --- */
.cta-area {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* --- Info Note (Kontakt page) --- */
.info-note {
  margin-top: 20px;
  padding: 10px 20px;
  background: #f9fbe8;
  border-radius: 7px;
  color: #666;
  font-size: 0.98rem;
  border-left: 3px solid #F2C963;
  box-shadow: 0 0.5px 3px 0 rgba(242,201,99,0.045);
}

/* --- Confirmation Page --- */
.confirmation {
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(44,62,92,0.03);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 80px;
}
.confirmation .content-wrapper {
  align-items: center;
  gap: 14px;
}

/* --- Section Headings --- */
section > .container > h2,
section > .container > .content-wrapper > h2 {
  margin-bottom: 0.2em;
  color: #2C3E5C;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- Review Filter --- */
.review-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}
.review-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 0;
}
.review-filter li {
  background: #f6f6f8;
  border-radius: 15px;
  padding: 8px 18px;
  color: #2C3E5C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.97rem;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 1.5px solid #ECECEC;
  box-shadow: 0 -2px 16px 0 rgba(44,62,92,0.07);
  z-index: 2100;
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookie-slide-in 0.55s cubic-bezier(0.65,0.2,0.2,1);
}
@keyframes cookie-slide-in {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-text {
  color: #222;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 28px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.2s;
  outline: none;
}
.cookie-btn.accept {
  background: #2C3E5C;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #22304A;
}
.cookie-btn.reject {
  background: #E0E5EC;
  color: #2C3E5C;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F2C963;
  color: #2C3E5C;
}
.cookie-btn.settings {
  background: #fff;
  color: #2C3E5C;
  border: 1.2px solid #F2C963;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fffbe9;
  color: #2C3E5C;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(44,62,92,0.08);
  z-index: 2200;
  display: none; /* toggled with class 'open' */
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 38px 0 rgba(44,62,92,0.15);
  padding: 40px 30px 28px 30px;
  max-width: 98vw;
  min-width: 310px;
  width: 100%;
  max-width: 430px;
  animation: modal-fade-in 0.38s cubic-bezier(0.85,0,0.2,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
@keyframes modal-fade-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  font-size: 1.28rem;
  margin-bottom: 9px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #FAF9EF;
  border-radius: 7px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.cookie-modal-category label {
  font-weight: 500;
  color: #2C3E5C;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #F2C963;
  width: 19px;
  height: 19px;
}
.cookie-modal-footer {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #2C3E5C;
  font-size: 1.65rem;
  cursor: pointer;
  opacity: 0.74;
  transition: opacity 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { opacity: 1; }

/* --- GENERAL MICRO-INTERACTIONS --- */
button, .cta, .cookie-btn {
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, border 0.15s, transform 0.16s;
  outline: none;
}
button:active, .cta:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* -------- RESPONSIVE DESIGN (Mobile First) ---------- */
@media (max-width: 1024px) {
  .container {
    max-width: 93vw;
    padding-left: 12px; padding-right: 12px;
  }
  .main-nav {
    gap: 13px;
  }
  .features .feature-grid {
    gap: 16px;
  }
  .card-container,
  .review-list,
  .recommendation-grid,
  .features .feature-grid {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .hero .content-wrapper h1 { font-size: 2.2rem; }
  .features .feature {
    flex: 1 1 170px;
    padding: 22px 8px;
    font-size: 0.98rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    padding: 15px 10px 14px 10px;
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .cta.primary {
    margin-left: auto;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero, .section, .features, .calltoaction,
  .location, .reviews, .recommendations, .advice, .themenpakete, .community-features, .about, .contact, .privacy, .legal, .confirmation {
    padding: 26px 6px;
  }
  .hero .content-wrapper h1 {
    font-size: 1.65rem;
  }

  .content-grid, .review-list, .recommendation-grid, .features .feature-grid, .card-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px;
    gap: 12px;
  }
  .footer-nav {
    gap: 10px;
  }
  footer .container {
    padding: 22px 6px 13px 6px;
  }
}

@media (max-width: 500px) {
  .container {
    padding-left: 3px;
    padding-right: 3px;
    max-width: 100vw;
  }
  .hero {
    padding: 12px 2px;
  }
  .section, .features, .calltoaction, .location, 
  .reviews, .recommendations, .advice, .themenpakete, 
  .community-features, .about, .contact, 
  .privacy, .legal, .confirmation {
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 0;
  }
  .cta.primary, .cta.secondary, .cookie-btn {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .cta {
    margin-left: 0;
  }
  .mobile-menu {
    padding: 26px 12px 16px 12px;
  }
  .cookie-modal {
    padding: 20px 6px 18px 6px;
    min-width: 96vw;
    width: 100vw;
    max-width: 99vw;
  }
}

/* High contrast for testimonials */
.testimonial-card,
.testimonial-card blockquote {
  background: #fafbfc;
  color: #1a233a;
}

/* Utility classes (for spacing if needed) */
.mt-24 { margin-top: 24px !important; } 
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* Hide elements utility */
.is-hidden { display: none !important; }

/* Focus accessibility styling */
:focus-visible {
  outline: 2px solid #F2C963;
  outline-offset: 2px;
}

/* Hide scrollbar for cookie modal, mobile menu overlay for aesthetics */
.cookie-modal::-webkit-scrollbar,
.mobile-menu::-webkit-scrollbar {
  width: 0; height: 0;
}

/* End of CSS */