/* -------------------------------------------------- */
/* CSS RESET & BASE STYLES */
/* -------------------------------------------------- */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222E3A;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:before, *:after {
  box-sizing: inherit;
}

a {
  color: #B12B5D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #222E3A;
  text-decoration: underline;
}

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

ul,ol {
  margin: 16px 0 16px 24px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: #222E3A;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 1.875rem; margin-bottom: 20px;}
h3 { font-size: 1.25rem; margin-bottom: 12px;}
.lead {
  font-size: 1.25rem;
  color: #222E3A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 16px;
}
p {
  margin-bottom: 12px;
}

/* -------------------------------------------------- */
/* LAYOUT CONTAINERS & SPACING */
/* -------------------------------------------------- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 700px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Cards & Flex Grids */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(34,46,58,0.06);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 300px;
  min-width: 270px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 32px rgba(34,46,58,0.12);
  transform: translateY(-2px) scale(1.01);
}
/* Features */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(34,46,58,0.05);
  padding: 32px 18px 26px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.feature img {
  width: 48px;
  margin-bottom: 8px;
  opacity: 0.93;
}
.feature:hover {
  box-shadow: 0 6px 32px rgba(34,46,58,0.09);
  z-index: 2;
}

/* Utility Flex Containers */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: #F0EDE7;
  border-radius: 16px;
  padding: 44px 18px;
  margin-top: 28px;
  box-shadow: 0 2px 12px rgba(34,46,58,0.06);
}

/* -------------------------------------------------- */
/* HEADER, NAVIGATION & FOOTER */
/* -------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(34,46,58,0.07);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 14px 16px;
}

header img {
  height: 42px;
  width: auto;
}

nav.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
nav.main-nav a {
  color: #222E3A;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
  transition: color 0.19s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: #B12B5D;
}
av.main-nav a.active:after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: #B12B5D;
  margin-top: 2px;
}
.btn-primary {
  background: #B12B5D;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 7px;
  padding: 12px 32px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(177,43,93,0.12);
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #222E3A;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 28px rgba(34,46,58,0.14);
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #B12B5D;
  cursor: pointer;
  z-index: 110;
  padding: 5px 0 3px 8px;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #222E3A;
}

/* Footer */
footer {
  background: #222E3A;
  color: #fff;
  padding: 0;
  margin-top: 72px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 40px 8px 30px 8px;
}
footer img {
  width: 38px;
  margin-bottom: 3px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.83;
  font-weight: 400;
}
.footer-nav a:hover {
  opacity: 1;
  color: #B12B5D;
  text-decoration: underline;
}
.footer-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.97rem;
  opacity: 0.92;
  justify-content: center;
  align-items: center;
}

/* -------------------------------------------------- */
/* TESTIMONIALS */
/* -------------------------------------------------- */
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 32px 24px 32px;
  box-shadow: 0 2px 20px rgba(34,46,58,0.08);
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.17s;
  font-size: 1.01rem;
  color: #222E3A;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(34,46,58,0.13);
  transform: translateY(-2px);
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0.78;
  font-size: 0.98rem;
}
.testimonial-footer strong {
  color: #B12B5D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

/* -------------------------------------------------- */
/* CONTACT DETAILS & FORMS (KONTAKT) */
/* -------------------------------------------------- */
.contact-details {
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
  font-size: 1.05rem;
  color: #222E3A;
}
.contact-details img {
  width: 22px;
  margin-bottom: 3px;
  opacity: 0.8;
}

.contact-form-mockup {
  background: #F0EDE7;
  border-radius: 11px;
  padding: 22px 18px 26px 18px;
  min-width: 220px;
  margin-bottom: 20px;
}
.contact-form-mockup ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form-mockup li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  background: #fff;
  border-radius: 7px;
  padding: 10px 12px;
}
.contact-form-mockup img { width: 18px; }

/* -------------------------------------------------- */
/* FEATURE SECTIONS, COMMUNITY, TOOLS */
/* -------------------------------------------------- */
.community-section, .tool-section, .benefit-icons, .opening-hours {
  margin-top: 18px;
  padding: 18px 16px;
  background: #F0EDE7;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(34,46,58,0.07);
  font-size: 1.04rem;
}
.benefit-icons ul, .tool-section ul {
  margin-bottom: 0;
}

/* -------------------------------------------------- */
/* COOKIE CONSENT BANNER & MODAL */
/* -------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2222;
  background: #222E3A;
  color: #fff;
  width: 100%;
  box-shadow: 0 -2px 16px rgba(34,46,58,0.13);
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1.01rem;
  animation: banner-slidein 0.5s cubic-bezier(.6,-0.28,.74,.05);
}
@keyframes banner-slidein {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-btn {
  background: #fff;
  color: #222E3A;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 30px;
  cursor: pointer;
  font-size: 1rem;
  margin: 0 2px;
  box-shadow: 0 2px 10px rgba(34,46,58,0.09);
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
.cookie-btn.accept {
  background: #B12B5D;
  color: #fff;
}
.cookie-btn.accept:hover { background: #222E3A; }
.cookie-btn.settings { background: #F0EDE7; color: #222E3A; }
.cookie-btn.settings:hover { background: #B12B5D; color: #fff; }
.cookie-btn.reject {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #fff;
  color: #B12B5D;
}

.cookie-modal-backdrop {
  display: none;
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34,46,58,0.44);
  z-index: 3333;
  justify-content: center;
  align-items: center;
  animation: fadein 0.25s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #222E3A;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(34,46,58,0.16);
  padding: 32px 24px 28px 24px;
  max-width: 98vw;
  width: 410px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.04rem;
  animation: modal-slidein 0.4s cubic-bezier(.6,-0.28,.74,.05);
}
@keyframes modal-slidein {
  from { transform: translateY(80px) scale(0.98); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h3 { font-size: 1.1rem; margin-bottom: 4px; }
.cookie-modal label {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500;
  margin-bottom: 7px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #B12B5D;
  width: 19px; height: 19px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}
.cookie-modal .cookie-category-always {
  opacity: 0.66;
  font-size: 0.98em;
  font-style: italic;
}

/* -------------------------------------------------- */
/* MOBILE NAVIGATION MENU (SLIDE IN) */
/* -------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 2px 0 40px rgba(34,46,58,0.18);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.6,-0.28,.74,.05);
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  pointer-events: none;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #B12B5D;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2100;
  opacity: 0.98;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 50px auto 0 auto;
  width: min(88vw, 360px);
  align-items: flex-start;
}
.mobile-nav a {
  color: #222E3A;
  font-size: 1.12rem;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: transparent;
  border-radius: 6px;
  padding: 12px 8px;
  width: 100%;
  display: block;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover {
  background: #F0EDE7;
  color: #B12B5D;
}

/* Touch target for mobile nav links */
.mobile-nav a {
  min-height: 44px;
}

/* Overlay style while menu open */
body.menu-open {
  overflow: hidden;
}

/* -------------------------------------------------- */
/* RESPONSIVE DESIGN (MOBILE FIRST) */
/* -------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
  }
  .feature-grid {
    gap: 20px;
  }
  .section { padding: 32px 5vw; }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .testimonial-slider {
    gap: 14px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.23rem; }
  .lead { font-size: 1.10rem; }
  .btn-primary, .cookie-btn { padding: 10px 20px; font-size: 0.97rem; }
  .container {
    width: 97%;
    padding: 0 4vw;
  }
  header .container {
    padding: 14px 4vw 14px 4vw;
    flex-wrap: wrap;
  }
  nav.main-nav {
    display: none;
  }
  .btn-primary {
    order: 2;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section { padding: 28px 2vw; margin-bottom: 38px; }

  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature {
    width: 100%;
    min-width: unset;
    padding: 22px 12px 18px 12px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px 13px 18px 13px;
    font-size: 0.98rem;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .cta-section {
    padding: 24px 4vw;
    border-radius: 10px;
    margin-top: 12px;
  }
  .contact-details {
    flex-direction: column;
    gap: 20px;
    font-size: 0.99rem;
  }
  footer .container {
    padding: 28px 3vw 22px 3vw;
    gap: 12px;
  }
  .footer-nav {
    gap: 12px;
    margin-bottom: 5px;
    font-size: 0.96rem;
  }
  .footer-info {
    font-size: 0.96rem;
    gap: 6px;
    flex-direction: column;
    text-align: center;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .container { padding: 0 1vw; }
  header img { height: 34px; }
  .section { padding: 18px 0; }
  .cta-section { padding: 14px 3vw; }
}

/* -------------------------------------------------- */
/* MICRO-INTERACTIONS, SHADOWS, EFFECTS */
/* -------------------------------------------------- */
.card, .feature, .testimonial-card, .cta-section, .community-section, .tool-section, .cookie-modal {
  transition: box-shadow 0.19s, transform 0.15s, background 0.15s;
}
.card:active, .feature:active, .testimonial-card:active {
  transform: scale(0.99);
}

input, button, select, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

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

/* -------------------------------------------------- */
/* MISC STYLES FROM HTML CLASSES */
/* -------------------------------------------------- */
.opening-hours, .address-block, .phone-email {
  background: #F0EDE7;
  border-radius: 7px;
  padding: 12px 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(34,46,58,0.05);
}

.address-block br, .phone-email br { display: block; }

/* Utility for hiding visually (JS can use this) */
.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/* -------------------------------------------------- */
/* OVERRIDES/ACCESSIBILITY */
/* -------------------------------------------------- */
:focus {
  outline: 2px solid #B12B5D;
  outline-offset: 1px;
}

@media (hover: hover) {
.btn-primary:hover,
.btn-primary:focus { background: #222E3A; color: #fff; }
}

/* -------------------------------------------------- */
/* END OF STYLE.CSS */
/* -------------------------------------------------- */
