/* ============================================================
   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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #3A4752;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #3A4752;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus {
  outline: 2px solid #6D9886;
  outline-offset: 2px;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
  transition: opacity 0.18s;
}
ul, ol {
  list-style: none;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #3A4752;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}
h4 {
  font-size: 1rem;
  font-weight: 700;
}
.subheadline {
  font-size: 1.25rem;
  color: #6D9886;
  margin-bottom: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #3A4752;
}

/* =================================================================
   GENERAL LAYOUT
   ================================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

main {
  padding-top: 32px;
  padding-bottom: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-bottom: 20px;
}

.text-section {
  background: #F2E7C9;
  border-radius: 18px;
  padding: 32px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(106,150,134,0.09);
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 24px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(58,71,82,0.09);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 240px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 36px rgba(109,152,134,0.16);
  transform: translateY(-3px) scale(1.02);
}

ul {
  padding-left: 24px;
  margin-bottom: 18px;
}
ul li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 1em;
  font-size: 1rem;
  color: #3A4752;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #6D9886;
  border-radius: 50%;
  margin-right: 12px;
  position: absolute;
  left: 0;
  top: 5px;
}

/* =================================================================
   HEADER
   ================================================================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(58,71,82,0.09);
  padding: 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  position: relative;
  z-index: 1002;
}
header > a img {
  height: 54px;
  margin-left: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #3A4752;
  padding: 8px 18px;
  border-radius: 8px;
  letter-spacing: .02em;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  background: #F2E7C9;
  color: #6D9886;
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  background: #6D9886;
  color: #fff;
  padding: 12px 26px;
  border-radius: 12px;
  margin-left: 26px;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 10px rgba(109,152,134,0.13);
  border: 2px solid transparent;
  letter-spacing: .04em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #3A4752;
  color: #F2E7C9;
  box-shadow: 0 4px 28px rgba(58,71,82,0.14), 0 0 0 2px #6D9886 inset;
  outline: none;
  border: 2px solid #6D9886;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #3A4752;
  background: none;
  border: none;
  margin-left: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F2E7C9;
}

/* =================================================================
   MOBILE NAVIGATION
   ================================================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #3A4752;
  color: #fff;
  z-index: 2000;
  transform: translateX(105%);
  transition: transform 0.36s cubic-bezier(.77,.2,.05,1), opacity 0.36s;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  padding-top: 38px;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 12px 24px 0 auto;
  padding: 4px 12px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.16s;
  z-index: 2002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #6D9886;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 64px 0 0 0;
  align-items: stretch;
  width: 80vw;
  max-width: 350px;
  margin-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 18px;
  background: none;
  color: #fff;
  border-radius: 10px;
  transition: background 0.16s, color 0.16s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6D9886;
  color: #F2E7C9;
}

/* Hide main nav and cta on small screen */
@media (max-width: 1024px) {
  header nav, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =================================================================
   CARD CONTAINERS & LAYOUTS
   ================================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 16px rgba(58,71,82,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px rgba(109,152,134,0.13);
  transform: translateY(-2px) scale(1.015);
}

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

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-height: 80px;
  background: #F2E7C9;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(58,71,82,0.10);
}
.testimonial-card p {
  flex: 1;
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.testimonial-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 125px;
  gap: 8px;
  font-size: 1.15rem;
  color: #3A4752;
}
.testimonial-card span:first-child {
  color: #6D9886;
  font-weight: bold;
  font-size: 1.1em;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
    gap: 8px;
  }
  .testimonials {
    gap: 14px;
  }
}

/* =================================================================
   FOOTER
   ================================================================= */
footer {
  background: #3A4752;
  color: #fff;
  padding: 38px 0 12px 0;
  font-size: 1rem;
  box-shadow: 0 -2px 16px rgba(58,71,82,0.10);
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}
footer nav a {
  color: #F2E7C9;
  opacity: 0.95;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s, opacity 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: #6D9886;
  color: #fff;
  opacity: 1;
}
footer nav span {
  color: #F2E7C9;
  margin-left: auto;
  font-size: 0.98rem;
}
.contact-info {
  color: #F2E7C9;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  margin: 8px 0 2px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-info img {
  width: 22px;
  vertical-align: middle;
  margin-right: 6px;
  opacity: .85;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}
.social-links img {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(109,152,134,0.13);
  padding: 5px;
  transition: box-shadow 0.15s, transform 0.15s;
  cursor: pointer;
}
.social-links img:hover, .social-links img:focus {
  box-shadow: 0 7px 14px rgba(109,152,134,0.18);
  transform: scale(1.08);
}

/* =================================================================
   MAP PLACEHOLDER ON KONTAKT
   ================================================================= */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.map-placeholder img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6D9886;
  padding: 4px;
}

/* =================================================================
   COOKIES BANNER & MODAL PREFERENCES
   ================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #3A4752;
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -8px 44px rgba(58,71,82,0.20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 1rem;
  gap: 14px;
  transition: transform 0.3s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  flex: 1;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 18px;
  border: 2px solid transparent;
  margin: 0 1px;
  transition: background 0.15s, color 0.13s, border 0.13s;
}
.cookie-btn.accept {
  background: #6D9886;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #87c1b0;
  border-color: #F2E7C9;
}
.cookie-btn.reject {
  background: #fff;
  color: #3A4752;
  border: 2px solid #6D9886;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F2E7C9;
  color: #3A4752;
  border: 2px solid #3A4752;
}
.cookie-btn.settings {
  background: #3A4752;
  color: #F2E7C9;
  border: 2px solid #6D9886;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #6D9886;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3050;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(58,71,82,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 40px rgba(58,71,82,0.18);
  max-width: 440px;
  width: 92vw;
  padding: 32px 28px 26px 28px;
  color: #3A4752;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  margin-bottom: 6px;
  font-size: 1.33rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3A4752;
  font-weight: bold;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 700;
  color: #3A4752;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-switch {
  appearance: none;
  background: #E0E0E0;
  width: 38px;
  height: 22px;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #6D9886;
}
.cookie-switch:disabled {
  cursor: default;
  background: #bbb;
  opacity: 0.65;
}
.cookie-switch::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.14s;
  box-shadow: 0 2px 6px rgba(58,71,82,0.12);
}
.cookie-switch:checked::before {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #6D9886;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.15s;
  opacity: 0.7;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  color: #3A4752;
  opacity: 1;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  main {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .section {
    margin-bottom: 32px;
    padding: 24px 7px;
  }
  .content-wrapper {
    margin-bottom: 12px;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section .subheadline {
    font-size: 1.1rem;
  }
  .feature-grid {
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature-item {
    min-width: 0;
    padding: 16px 10px;
  }
  .text-section {
    padding: 14px 7px;
    border-radius: 10px;
  }
  .content-grid {
    gap: 9px;
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* SPECIAL SPACING & CARDS */
@media (max-width: 480px) {
  .feature-item {
    padding: 10px 6px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 8px;
    font-size: .97rem;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
  .cookie-modal {
    padding: 20px 6px 16px 6px;
    font-size: 0.97rem;
  }
}

/* =================================================================
   MISC GEOMETRIC ELEMENTS & BOLD EFFECTS
   ================================================================= */
.hero-section {
  position: relative;
}
.hero-section::before {
  content: '';
  display: block;
  position: absolute;
  left: -58px;
  top: -38px;
  width: 90px;
  height: 90px;
  background: #6D9886;
  opacity: 0.10;
  border-radius: 24px 18px 70px 22px;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-section::before {
    left: -20px;
    top: -25px;
    width: 48px;
    height: 44px;
    border-radius: 16px 12px 28px 16px;
  }
}

/* =================================================================
   FORM ELEMENTS
   ================================================================= */
input, textarea, select {
  border-radius: 8px;
  border: 2px solid #6D9886;
  padding: 9px 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  background: #F2E7C9;
  color: #3A4752;
  box-sizing: border-box;
  transition: border-color 0.16s, background 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #3A4752;
  background: #fff;
  outline: none;
}
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 10px;
  padding: 11px 22px;
  margin-bottom: 0;
  transition: background 0.16s, color 0.15s, box-shadow 0.15s;
  background: #6D9886;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(109,152,134,0.13);
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: #3A4752;
  color: #F2E7C9;
  outline: none;
  box-shadow: 0 4px 24px rgba(109,152,134,0.12);
}

/* =================================================================
   UTILITIES & ACCESSIBILITY
   ================================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* Error/success messages */
.alert {
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 18px;
  font-weight: bold;
  color: #fff;
  background: #6D9886;
  font-size: 1.03rem;
}
.alert--danger {
  background: #da6653;
  color: #fff;
}
.alert--success {
  background: #6D9886;
  color: #fff;
}

/* ===============================================================
   BOLD GEOMETRIC ELEMENTS (DECORATIVE)
   =============================================================== */
.section {
  position: relative;
}
.section::after {
  content: '';
  position: absolute;
  right: -44px; bottom: -24px;
  width: 64px; height: 64px;
  background: #F2E7C9;
  opacity: 0.13;
  border-radius: 36% 62% 34% 66%/60% 30% 70% 40%;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 768px) {
  .section::after {
    right: -16px; bottom: -8px;
    width: 28px; height: 28px;
    border-radius: 34% 66% 34% 66%/32% 70% 30% 68%;
  }
}

/* FOCUS STYLES */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #6D9886;
  outline-offset: 2px;
}

/* To avoid margin collapse for bold spacing */
.section, .content-wrapper, .text-section,
.testimonial-card, .feature-item, .card {
  margin-bottom: 20px;
}

/* Ensure adequate spacing between cards and sections */
.testimonials, .feature-grid, .card-container, .content-grid {
  gap: 24px;
}

/* END OF CSS */
