/* Foamy Waves Buchwelt - Scandinavian Clean Style CSS */
/* CSS RESET & BASE ------------------------------------------------------------- */
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 {
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
body {
  background: #FAFAFA;
  color: #264653;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: 6px;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
ul, ol {
  padding-left: 1.5em;
}
a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E9C46A;
  outline: none;
}
strong {
  font-weight: 700;
}
hr {
  border: none;
  border-bottom: 1px solid #E5E5E5;
  margin: 32px 0;
}

/* FONT-FACE ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Merriweather:wght@700&display=swap');

/* TYPOGRAPHY ------------------------------------------------------------- */
h1, .hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.7rem;
  color: #264653;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #1C2833;
  margin-bottom: 18px;
  line-height: 1.25;
}
h3 {
  font-size: 1.22rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #264653;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  color: #264653;
  font-family: 'Open Sans', Arial, sans-serif;
}
p, li, .content-wrapper ul, .content-wrapper ol {
  font-size: 1.05rem;
  color: #264653;
  margin-bottom: 14px;
}
li {
  margin-bottom: 8px;
}
blockquote {
  font-style: italic;
  color: #789191;
  border-left: 4px solid #E9C46A;
  padding-left: 14px;
  margin-bottom: 16px;
}

/* BUTTONS & CTAS ------------------------------------------------------------- */
.cta, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 2em;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 32px;
  background: #264653;
  color: #fff;
  box-shadow: 0 2px 12px rgba(38, 70, 83, 0.08);
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cta:hover, .cta:focus {
  background: #E9C46A;
  color: #264653;
  box-shadow: 0 4px 18px rgba(38, 70, 83, 0.12);
  outline: none;
}
.cookie-btn {
  background: #264653;
  color: #fff;
}
.cookie-btn.accept {
  background: #2a9d8f;
  color: #fff;
}
.cookie-btn.reject {
  background: #b7b7b7;
  color: #264653;
}
.cookie-btn.settings {
  background: #E9C46A;
  color: #264653;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.93;
  outline: none;
}

button, .mobile-menu-toggle {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-toggle {
  background: #FFFFFF;
  color: #264653;
  border-radius: 8px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(38,70,83,0.09);
  margin-left: 20px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E9C46A;
  color: #264653;
}
.mobile-menu-close {
  background: #fff;
  color: #264653;
  border-radius: 50%;
  font-size: 1.7rem;
  width: 44px;
  height: 44px;
  align-self: flex-end;
  margin: 12px 12px 0 0;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E9C46A;
  color: #264653;
}

/* LAYOUT STRUCTURE ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  margin-top: 0;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(38, 70, 83, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  min-width: 270px;
  flex: 1 1 calc(33.3% - 32px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F7FAFA;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(38,70,83,0.07);
  padding: 20px;
  min-width: 230px;
  margin-bottom: 20px;
  margin-right: 0;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #264653;
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.service-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(38, 70, 83, 0.07);
  padding: 24px 22px 20px 22px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.service-grid > div a {
  margin-top: 12px;
}

.text-section {
  margin-bottom: 32px;
}

.location-map, .opening-hours {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0;
  font-size: 1.03rem;
}

.next-event {
  margin-top: 16px;
  font-size: 1.03rem;
  background: #f1f6f6;
  padding: 16px;
  border-radius: 10px;
  color: #264653;
}

/* HERO ------------------------------------------------------------- */
.hero {
  background: #fffefb;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 6px 32px rgba(38, 70, 83, 0.10);
  margin-bottom: 54px;
  padding-top: 64px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 630px;
  gap: 18px;
}
.hero p {
  font-size: 1.17rem;
  color: #264653;
  margin-bottom: 10px;
}

/* FEATURES ------------------------------------------------------------- */
.features ul, .features ol {
  margin-top: 10px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.features li {
  background: #F3F6F7;
  padding: 20px 18px;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(38,70,83,0.05);
  min-width: 250px;
  flex: 1 1 250px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.05rem;
}
.features li img {
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 8px;
  background: #E9C46A;
  padding: 4px;
}
.features strong {
  color: #264653;
  font-weight: bold;
}

/* FOOTER ------------------------------------------------------------- */
footer {
  background: #264653;
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 64px;
  font-size: 1.01rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0;
}
.footer-nav a {
  color: #E9C46A;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.social-links {
  display: flex;
  gap: 18px;
  margin-bottom: 0;
}
.social-links a img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: filter 0.15s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: brightness(1.2) contrast(1.2);
}
.legal {
  text-align: center;
  color: #b6c1cd;
  margin-top: 8px;
  font-size: 0.92rem;
}

/* HEADER & NAV ------------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(38, 70, 83, 0.07);
  padding: 0;
  position: relative;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
header a img {
  height: 48px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 18px;
}
.main-nav a {
  color: #264653;
  font-weight: 600;
  font-size: 1.03rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
  line-height: 1.4;
}
.main-nav a.cta {
  background: #E9C46A;
  color: #264653;
  font-weight: 700;
  padding: 10px 22px;
  font-size: 1.06rem;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(233,196,106,0.07);
  margin-left: 18px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F6F6;
  color: #2a9d8f;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #264653;
  color: #fff;
}

/* MOBILE NAVIGATION ------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #f7fafb;
  box-shadow: -4px 0 20px rgba(38,70,83,0.16);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.57,.21,.69,.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
  margin-left: 36px;
}
.mobile-nav a {
  color: #264653;
  font-size: 1.23rem;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E9C46A;
  color: #264653;
}
@media (max-width: 1080px) {
  .container {
    max-width: 940px;
  }
}
@media (max-width: 920px) {
  .container {
    max-width: 730px;
  }
  .main-nav {
    gap: 18px;
  }
  .footer-nav {
    gap: 9px;
  }
}
@media (max-width: 900px) {
  .service-grid {
    gap: 16px;
  }
  .features ul, .features ol {
    gap: 16px;
  }
}
@media (max-width: 840px) {
  .main-nav {
    gap: 12px;
    font-size: 0.97rem;
  }
}
@media (max-width: 800px) {
  .main-nav {
    gap: 7px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1, .hero h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .hero {
    padding-top: 32px;
    min-height: 220px;
  }
  .service-grid > div, .card {
    min-width: 180px;
    padding: 18px 12px;
  }
  .footer-nav, .main-nav {
    gap: 7px;
  }
  /* Show burger, hide normal navs */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu {
    display: flex;
  }
}
@media (max-width: 640px) {
  .testimonial-cards {
    flex-direction: column;
    gap: 12px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .service-grid {
    flex-direction: column;
    gap: 16px;
  }
  .features ul, .features ol {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .container {
    max-width: 98vw;
    padding-left: 3vw;
    padding-right: 3vw;
  }
  section, .section {
    padding: 32px 6vw;
  }
  .footer-nav, .social-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}
@media (max-width: 480px) {
  .hero .content-wrapper {
    max-width: 100vw;
    gap: 8px;
  }
  .testimonial-card, .card {
    padding: 13px 7px;
    min-width: unset;
  }
}

/* FLEX DIRECTION SWITCHES FOR MOBILE ------------------------------------------ */
.text-image-section, .content-grid, .card-container, .testimonial-cards, .service-grid, .features ul, .features ol {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .testimonial-cards, .service-grid, .features ul, .features ol, .card-container {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ADDITIONAL ELEMENTS ------------------------------------------------------------- */
.thankyou ul {
  list-style: disc inside;
  margin-bottom: 18px;
}
.thankyou ul li {
  margin-bottom: 7px;
}

.faq .text-section h3 {
  font-size: 1.02rem;
  color: #1C2833;
  margin-bottom: 3px;
}
.legal section, .legal .container, .legal .content-wrapper {
  background: none;
  box-shadow: none;
}
.legal h1, .legal h2 {
  color: #264653;
}
.legal ul {
  list-style: disc inside;
  margin-bottom: 15px;
}

/* ANIMATIONS & MICRO-INTERACTIONS ------------------------------------------ */
.cta, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, transform 0.17s;
}
.cta:active, .cookie-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.96);
}
.service-grid > div, .card, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.16s;
}
.service-grid > div:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(38,70,83,0.11);
  transform: translateY(-4px) scale(1.012);
}

/* COOKIES CONSENT BANNER ----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #f9f9f9;
  border-top: 1px solid #d8e2e8;
  box-shadow: 0 -4px 18px rgba(38,70,83,0.12);
  z-index: 2090;
  padding: 20px 4vw 16px 4vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.4s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
}
.cookie-banner .cookie-message {
  color: #264653;
  font-size: 1.01rem;
  flex: 1 1 390px;
  text-align: left;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width:630px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 14px 3vw 9px 3vw;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* COOKIES MODAL ------------------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2110;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,70,83,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 44px rgba(38,70,83,0.19);
  width: 100%;
  max-width: 420px;
  padding: 30px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  opacity: 1;
  transform: translateY(0);
  animation: cookie-slide 0.3s;
}
@keyframes cookie-slide {
  0% { opacity: 0; transform: translateY(48px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 9px;
}
.cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.04rem;
  margin-bottom: 7px;
}
.cookie-pref-category label {
  font-weight: 600;
  color: #264653;
}
.cookie-pref-category input[type="checkbox"] {
  accent-color: #264653;
  width: 18px; height: 18px;
}
.cookie-pref-category.essential label {
  color: #919999;
}
.cookie-modal .cookie-btn {
  margin-top: 12px;
  margin-right: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 1.3rem;
  background: none;
  border: none;
  color: #264653;
  cursor: pointer;
}
.cookie-modal-close:hover { color: #E9C46A; }

/* ACCESSIBLE FOCUS STATES --------------------------------------------------- */
:focus {
  outline: 2px dashed #E9C46A;
  outline-offset: 3px;
}
.cta:focus, .cookie-btn:focus, .main-nav a:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #264653;
  outline-offset: 2px;
}

/* OVERRIDES FOR BRAND CONSISTENCY ------------------------------------------- */
body, .legal, .section, section {
  background: #FAFAFA;
}
.card, .testimonial-card {
  background: #fff;
}

/* MISC ------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #F3F6F7;
}
::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 6px;
}

/* HIGH CONTRAST FOR TESTIMONIAL CARDS ON BRIGHT BACKGROUND ----------------- */
.testimonial-card {
  color: #264653;
  background: #F4F8F8;
  border-left: 5px solid #E9C46A;
}

/* ENFORCE SPACING ----------------------------------------------------------- */
.card, .testimonial-card, .service-grid > div, .features li {
  margin-bottom: 20px;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .service-grid, .testimonial-cards {
  gap: 24px;
}
.content-grid, .text-image-section, .feature-item {
  gap: 20px;
}

/* END Foamy Waves Buchwelt Scandinavian Clean Style CSS */
