/* CSS RESET & BASE TYPOGRAPHY (SCANDINAVIAN CLEAN) */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  background: #FAF8F5;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  hyphens: auto;
  color: #2C3E50;
  background: #FAF8F5;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.025em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #2C3E50;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A18C5F;
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #2C3E50;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, label, input, button, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
}
p {
  margin-bottom: 18px;
}
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  background: #F9F6F0;
  border-left: 4px solid #A18C5F;
  margin-bottom: 18px;
  padding: 14px 18px;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SECTIONS & SPACING */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.05);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(44,62,80,0.12);
}
.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;
}
.features .content-wrapper > ul,
.features ul,
.topics .content-wrapper > ul,
.tips .content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  list-style: none;
  margin: 0;
}
.features .content-wrapper > ul li,
.features ul li,
.topics .content-wrapper > ul li,
.tips .content-wrapper > ul li {
  flex: 1 1 250px;
  min-width: 180px;
  background: #fff;
  border-radius: 11px;
  padding: 18px 14px 14px 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(44,62,80,0.045);
  margin-bottom: 0;
}
.features .content-wrapper > ul li img,
.features ul li img {
  width: 34px;
  height: 34px;
}

/* HEADER / NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 3px 8px rgba(44,62,80,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 24px;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-weight: 500;
  font-size: 1rem;
  color: #2C3E50;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4E8D5;
  color: #A18C5F;
}
.main-nav .cta-primary {
  background: #A18C5F;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 18px;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(161,140,95,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  border: none;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #2C3E50;
  color: #fff;
  box-shadow: 0 6px 22px rgba(44,62,80,0.09);
}
.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #2C3E50;
  cursor: pointer;
  margin-left: 12px;
  display: none;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,62,80,0.96);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  cursor: pointer;
  padding: 6px;
  transition: background 0.16s;
  border-radius: 50%;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(244,232,213,0.12);
}
.mobile-nav {
  margin: 80px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 7px;
  line-height: 1.4;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A18C5F;
  color: #fff;
}

/* HERO SECTIONS */
.hero {
  background: #FAF8F5;
  padding-top: 48px;
  padding-bottom: 30px;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #2C3E50;
  font-size: 2.6rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
}
.hero p {
  font-size: 1.18rem;
  color: #444;
}
.hero .cta-primary {
  margin-top: 10px;
}

.category-filter {
  margin-top: 12px;
  display: flex;
  gap: 15px;
}
.category-filter a {
  padding: 6px 14px;
  background: #F4E8D5;
  border-radius: 6px;
  color: #2C3E50;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.14s;
}
.category-filter a:hover, .category-filter a:focus {
  background: #A18C5F;
  color: #fff;
}
.hero input[type=search] {
  padding: 8px 14px;
  font-size: 1rem;
  border: 1.3px solid #A18C5F;
  border-radius: 6px;
  margin-top: 8px;
  background: #fff;
  color: #2C3E50;
  outline: none;
  transition: border 0.2s;
}
.hero input[type=search]:focus {
  border: 1.7px solid #2C3E50;
}

/* NEWSLETTER SIGNUP */
.newsletter-signup form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 14px;
}
.newsletter-signup label {
  font-weight: 600;
}
.newsletter-signup input[type=email] {
  padding: 9px 12px;
  border: 1.2px solid #A18C5F;
  border-radius: 6px;
  font-size: 1rem;
  margin-right: 8px;
  outline: none;
  background: #fff;
}
.newsletter-signup input[type=email]:focus {
  border: 1.5px solid #2C3E50;
}

/* CTA SECTION */
.cta {
  background: #F4E8D5;
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(161,140,95,0.08);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.cta .cta-primary {
  margin-top: 5px;
}

/* TESTIMONIAL CARDS */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.06);
  min-width: 245px;
  max-width: 350px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
  border-left: 4px solid #A18C5F;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 4px 16px rgba(44,62,80,0.11);
}
.testimonial-card blockquote {
  color: #2C3E50;
  background: none;
  border: none;
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.testimonial-card div {
  color: #666;
  font-size: 0.97rem;
}
.testimonial-card strong {
  color: #2C3E50;
}

/* THANK YOU NAV */
.thank-you-nav {
  display: flex;
  flex-direction: row;
  gap: 23px;
  margin-top: 22px;
  font-size: 1.1rem;
}
.thank-you-nav a {
  color: #A18C5F;
  font-weight: 500;
  transition: color 0.16s;
}
.thank-you-nav a:hover {
  color: #2C3E50;
}

/* FORMS */
form label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 7px;
}
input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  border: 1.1px solid #A18C5F;
  padding: 10px 14px;
  background: #fff;
  color: #2C3E50;
  margin-bottom: 11px;
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border: 1.5px solid #2C3E50;
  outline: none;
}
button, .cta-primary {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  padding: 10px 20px;
  background: #A18C5F;
  color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(161,140,95,0.07);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.16s;
}
button:active, .cta-primary:active {
  transform: scale(0.98);
}
button:hover, button:focus, .cta-primary:hover, .cta-primary:focus {
  background: #2C3E50;
  color: #fff;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 2px solid #F4E8D5;
  box-shadow: 0 -2px 10px rgba(44,62,80,0.03);
  padding: 30px 0 10px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 44px 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  font-size: 1.23rem;
  font-family: 'Merriweather', Georgia, serif;
  color: #A18C5F;
  font-weight: 700;
  gap: 13px;
}
.footer-brand img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  font-size: 1rem;
}
.footer-nav a {
  color: #2C3E50;
  transition: color 0.15s;
  padding: 3px 8px;
  border-radius: 5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #A18C5F;
  background: #F4E8D5;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  color: #444;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 9px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 13px;
  padding-top: 8px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  filter: grayscale(38%) brightness(0.78);
  transition: filter 0.13s, transform 0.14s;
}
.footer-social a:hover img {
  filter: none;
  transform: scale(1.12) rotate(-3deg);
}

/* LEGAL PAGES SECTION */
.legal {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.04);
  padding: 40px 22px 32px 22px;
}
.legal .content-wrapper {
  align-items: flex-start;
  gap: 13px;
}

/* TEAM PROFILES (UEBER-UNS) */
.team-profiles {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.team-profiles strong {
  font-weight: 700;
  color: #2C3E50;
}

/* CONTACT SECTION */
.contact .content-wrapper > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 1.07rem;
  color: #444;
}
.contact .content-wrapper img {
  width: 20px;
  height: 20px;
}

/* BUTTONS (GENERAL) */
.cta-primary {
  background: #A18C5F;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 11px 26px;
  border-radius: 8px;
  margin-top: 0;
  box-shadow: 0 2px 8px rgba(161,140,95,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #2C3E50;
  color: #fff;
  box-shadow: 0 6px 22px rgba(44,62,80,0.09);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  z-index: 120;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FAF8F5;
  border-top: 2px solid #A18C5F;
  box-shadow: 0 -4px 18px rgba(44,62,80,0.10);
  padding: 24px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  transition: transform 0.30s cubic-bezier(.72,0,.54,1);
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-banner button, .cookie-banner .cta-primary {
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 7px;
}
.cookie-banner .accept {
  background: #A18C5F;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #2C3E50;
  border: 1.2px solid #A18C5F;
}
.cookie-banner .settings {
  background: #F4E8D5;
  color: #2C3E50;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #2C3E50;
  color: #fff;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  border-color: #2C3E50;
  color: #A18C5F;
}
.cookie-banner .settings:hover {
  background: #A18C5F;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL (overlay) */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 130;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,62,80,0.46);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  padding: 32px 30px 26px 30px;
  box-shadow: 0 8px 24px rgba(44,62,80,0.17);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 310px;
  max-width: 96vw;
  transition: transform 0.33s cubic-bezier(.82,0,.6,1);
  transform: translateY(-22px);
}
.cookie-modal h2 {
  margin-bottom: 18px;
  font-size: 1.29rem;
  font-weight: 700;
  color: #2C3E50;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 19px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #F4E8D5;
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  margin-right: 8px;
  transition: background 0.15s;
  border: 1px solid #A18C5F;
}
.cookie-modal .cookie-switch:checked {
  background: #A18C5F;
}
.cookie-modal .cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
  box-shadow: 0 1px 2px rgba(44,62,80,0.10);
}
.cookie-modal .cookie-switch:checked:before {
  transform: translateX(16px);
}
.cookie-modal .category-label {
  font-weight: 500;
  color: #2C3E50;
}
.cookie-modal .essential {
  font-size: 0.98rem;
  color: #666;
  margin-left: 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}
.cookie-modal .cta-primary {
  padding: 8px 21px;
}
.cookie-modal .close-btn {
  background: none;
  border: none;
  color: #2C3E50;
  font-size: 1.65rem;
  position: absolute;
  right: 20px;
  top: 18px;
  cursor: pointer;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1020px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .footer-nav {
    gap: 10px;
  }
}
@media (max-width: 850px) {
  .footer-contact {
    font-size: 0.97rem;
  }
  .footer-brand {
    font-size: 1.09rem;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 96%;
  }
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 2.07rem;
  }
  h2{
    font-size: 1.3rem;
  }
  header .container {
    padding: 8px 6px;
    gap: 14px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding-top: 31px;
    padding-bottom: 17px;
  }
  .section, section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .features .content-wrapper > ul, .features ul {
    gap: 16px;
    flex-direction: column;
  }
  .features .content-wrapper > ul li, .features ul li {
    min-width: 0;
    width: 100%;
    font-size: 0.96rem;
  }
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 13px 11px;
    font-size: 0.99rem;
  }
  .category-filter {
    gap: 8px;
  }
  .thank-you-nav {
    flex-direction: column;
    gap: 15px;
    font-size: 1.05rem;
  }
  .footer-brand img {height: 29px;}
  .footer-social a img {width: 26px; height: 26px;}
  .footer-nav {gap: 8px; font-size: 0.98rem;}
  .newsletter-signup form {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .footer-social {
    gap: 7px;
    padding-top: 4px;
  }
  .contact .content-wrapper > div {
    margin-bottom: 7px;
    font-size: 0.99rem;
  }
}
@media (max-width: 490px) {
  .legal, .cta {
    padding: 17px 3px 14px 3px;
    border-radius: 8px;
  }
  .team-profiles {
    gap: 6px;
  }
  .footer-contact img {
    width: 15px;
    height: 15px;
    margin-right: 6px;
  }
}
/* ANIMATIONS */
.header, .cta-primary, .card, .testimonial-card, .mobile-menu, .cookie-banner {
  will-change: transform, box-shadow, background, opacity;
}

/* MICRO-INTERACTIONS */
.card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .card:focus-within, .testimonial-card:hover, .testimonial-card:focus-within {
  transform: translateY(-2px) scale(1.01);
}
.cta-primary:active {
  transform: scale(0.97);
}

/* Z-INDEX LAYERING */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {z-index: 99;}

/* FOCUS VISIBLE (A11Y) */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 2.5px solid #A18C5F;
  outline-offset: 2px;
}

/* Hide visually but accessible */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
