/* ============================================================
   RESET & BASELINE NORMALIZATION
   ============================================================ */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #265254;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #265254;
  text-decoration: none;
  transition: color 0.20s;
}
a:hover, a:focus {
  color: #B0916D;
  outline: none;
}

/* Montserrat for headlines only */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #163130;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 { font-size: 2.25rem; margin-bottom: 28px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.125rem; margin-bottom: 16px; }
h4 { font-size: 1rem; margin-bottom: 12px; }

p, ul, ol, blockquote {
  color: #265254;
  font-size: 1rem;
  margin-bottom: 18px;
}
strong {
  color: #163130;
  font-weight: 600;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 22px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
blockquote {
  border-left: 3px solid #B0916D;
  background: #E8F4F3;
  padding: 20px 24px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #163130;
  font-style: italic;
}
cite {
  font-size: 0.96em;
  color: #B0916D;
  font-style: normal;
  display: block;
  margin-top: 8px;
}

/* ============= BRANDING COLORS ============ */
:root {
  --primary: #265254;
  --secondary: #E8F4F3;
  --accent: #B0916D;
  --white: #fff;
  --gray-light: #F5F7F7;
  --gray-dark: #33585F;
  --text-dark: #163130;
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(38,82,84,0.04);
  padding: 32px 32px 24px 32px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 2px 16px rgba(38,82,84,0.06);
  padding: 24px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 4px 28px rgba(38,82,84,0.13);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.teaser-list article {
  background: var(--secondary);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(38,82,84,0.06);
  padding: 24px 18px 20px 18px;
  min-width: 250px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.teaser-list article:hover {
  box-shadow: 0 4px 28px rgba(176, 145, 109, 0.12);
  transform: translateY(-3px) scale(1.012);
}
.teaser-list h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  color: var(--primary);
}

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

.published-answers, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.published-answers > div, .faq-accordion > div {
  flex: 1 1 320px;
  background: var(--secondary);
  padding: 18px 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(38,82,84,0.05);
}
.faq-accordion h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .teaser-list, .content-grid, .published-answers, .faq-accordion {
    flex-direction: column;
    gap: 16px;
  }
}

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

/* ============================================================
   HEADER & MAIN NAVIGATION
   ============================================================ */
header {
  background: var(--white);
  border-bottom: 1px solid #e7eceb;
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}
header .button.primary {
  margin-left: 20px;
  flex-shrink: 0;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
  vertical-align: middle;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  line-height: 0.9;
  cursor: pointer;
  margin-left: 20px;
  z-index: 120;
 }
 
/* Hide mobile nav by default on desktop */
.mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============================================================
   MOBILE NAVIGATION (BURGER MENU)
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(232,244,243,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(0.7,0.1,0.2,1);
}
.mobile-menu.open {
  transform: translateX(0);
  display: flex;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.3rem;
  color: var(--primary);
  cursor: pointer;
  margin: 20px 24px 0 0;
  z-index: 2200;
  transition: color .18s;
}
.mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  padding: 26px 30px 0 34px;
  gap: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  padding: 16px 0 10px 4px;
  width: 100%;
  color: var(--primary);
  transition: color 0.16s, background 0.16s;
  border-radius: 6px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--accent);
  background: rgba(176,145,109,0.08);
}

/* Disable main nav in mobile, show burger */
@media (max-width: 1024px) {
  header nav, header .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Restore main nav for desktop */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  header nav {
    display: flex;
  }
}

/* ============================================================
   BUTTONS & LINKS
   ============================================================ */
.button, .button.primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 36px;
  padding: 12px 34px;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(38,82,84,0.09);
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}
.button.primary:focus, .button.primary:hover {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 3px 20px rgba(176, 145, 109, 0.13);
  transform: translateY(-1px) scale(1.03);
}
.button.secondary {
  background: var(--secondary);
  color: var(--primary);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--accent);
  color: var(--white);
}

/* ============================================================
   TESTIMONIALS & QUOTES
   ============================================================ */

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--secondary);
  border-radius: 13px;
  padding: 20px 32px 24px 32px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(36,82,84,0.10);
}
.testimonial-card h2 {
  margin-bottom: 6px;
  color: var(--primary);
}
.testimonial-card blockquote {
  background: var(--gray-light);
  border-left: 3px solid var(--accent);
  margin-bottom: 5px;
  color: var(--text-dark);
  font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--secondary);
  border-top: 1px solid #e2e7e8;
  padding: 36px 0 20px 0;
  width: 100%;
  font-size: 0.95rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  transition: color .14s;
}
footer nav a:hover {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 6px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 3px;
}
footer img {
  height: 20px;
  width: 20px;
  opacity: 0.8;
}
footer small {
  margin-top: 10px;
  color: #6d7e7e;
}

@media (max-width: 640px) {
  .footer-contact {
    flex-direction: column;
    gap: 8px;
  }
  footer .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ============================================================
   FORM ELEMENTS (for newsletter/contact etc.)
   ============================================================ */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  padding: 10px 14px;
  border: 1px solid #dbdbdb;
  border-radius: 7px;
  font-size: 1rem;
  background: var(--white);
  transition: border 0.14s;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
}

/* ====== MISC ====== */
.text-section {
  margin-bottom: 24px;
}

/* --- Accordion (FAQ) --- */
.faq-accordion > div {
  cursor: pointer;
  transition: box-shadow 0.16s, background 0.13s;
}
.faq-accordion > div:hover {
  box-shadow: 0 4px 16px rgba(38,82,84,0.10);
  background: #f2faf9;
}
.faq-accordion h3 {
  font-size: 1.08rem;
  color: var(--primary);
}
.published-answers strong {
  color: var(--primary);
}

/* Lists with icons */
li img {
  vertical-align: middle;
  margin-right: 7px;
  height: 24px;
}

/* ============================================================
   RESPONSIVITY
   ============================================================ */
@media (max-width: 1024px) {
  .container {
    max-width: 90vw;
    padding-right: 16px;
    padding-left: 16px;
  }
  .content-wrapper {
    padding: 24px 12px 18px 12px;
  }
  section {
    padding: 24px 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .footer-contact {
    gap: 10px;
    font-size: 0.97rem;
  }
  .section {
    margin-bottom: 40px;
    padding: 24px 10px;
  }
  .testimonial-card, .content-wrapper {
    padding: 16px 10px;
    font-size: 0.99rem;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 4px;
  }
  .card, .teaser-list article { padding: 12px 6px 16px 6px; }
}

/* ============================================================
   COOKIE CONSENT BANNER + MODAL
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -2px 16px rgba(38,82,84,0.09);
  border-top: 1px solid #e3e8e4;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 22px 12px 22px;
  gap: 17px;
  animation: cookieIn .55s cubic-bezier(0.65,0,0.24,1);
}
.cookie-banner.hide {
  display: none !important;
}
@keyframes cookieIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 2px;
  color: var(--text-dark);
  font-size: 1rem;
}
.cookie-banner .cookie-btn-row {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  padding: 9px 18px;
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.15s, color 0.13s;
}
.cookie-btn.accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.reject {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-btn.accept:hover {
  background: var(--accent);
}
.cookie-btn.reject:hover, .cookie-btn.settings:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 320px;
  max-width: 95vw;
  width: 420px;
  padding: 30px 18px 16px 18px;
  background: var(--white);
  color: var(--primary);
  border-radius: 16px;
  box-shadow: 0 6px 42px rgba(38,82,84,0.16);
  z-index: 3200;
  transform: translate(-50%,-60%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.33s cubic-bezier(0.64,0.1,0.35,1);
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translate(-50%, -90%); }
  100% { opacity: 1; transform: translate(-50%, -60%); }
}
.cookie-modal-header {
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 9px;
  color: var(--primary);
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  opacity: 0.8;
  cursor: pointer;
  z-index: 3250;
  transition: color .16s;
}
.cookie-modal-close:hover {
  color: var(--accent);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 1rem;
  background: var(--secondary);
  border-radius: 7px;
  padding: 12px 9px;
}
.cookie-category .cookie-toggle {
  width: 36px; height: 20px;
  border-radius: 999px;
  background: #bfcfcf;
  position: relative;
  margin-left: auto;
  margin-right: 5px;
  transition: background .16s;
  flex-shrink: 0;
}
.cookie-toggle.enabled {
  background: var(--primary);
}
.cookie-toggle-dot {
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(38,82,84,0.06);
  transition: left 0.13s;
}
.cookie-toggle.enabled .cookie-toggle-dot {
  left: 19px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-category .category-desc {
  color: #638080;
  font-size: 0.95em;
  font-weight: 400;
  margin-left: 5px;
}
.cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .cookie-modal {
    width: 96vw;
    min-width: unset;
    padding: 14px 6px 12px 8px;
  }
  .cookie-modal-header {
    font-size: 1rem;
  }
}

.cookie-modal-bg {
  position: fixed;
  left: 0; top:0; width: 100vw; height: 100vh;
  background: rgba(38,82,84,0.21);
  z-index: 3111;
  animation: cookieModalBG 0.3s cubic-bezier(0.65,0,0.32,1);
}
@keyframes cookieModalBG {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ============================================================
   HELPER CLASSES
   ============================================================ */
.d-none { display: none !important; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.gap-16 { gap: 16px; }
/* Utility for margin between cards/sections */
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }

/* Overriding spacing for last section in main */
main > section:last-child {
  margin-bottom: 0;
}

/* No grid or columns anywhere to meet requirements */

/* =============== END OF CSS =============== */
