/* -----------------------------------------------
   RESET & BASE / NORMALIZE
----------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #20232A;
  line-height: 1.55;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #20232A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A8936B;
  outline-offset: 2px;
}

/* -----------------------------------------------
   TYPOGRAPHY
----------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: #20232A;
  font-weight: 600;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }

p { margin-bottom: 16px; font-size: 1rem; }

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
  padding-left: 24px;
}
li {
  margin-bottom: 10px;
  font-size: 1rem;
}
strong {
  font-weight: 600;
}
blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #20232A;
  background: #F4F4F4;
  border-left: 4px solid #A8936B;
  padding: 16px 24px;
  margin: 0 0 12px 0;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(34,34,34,0.03);
  font-style: italic;
}
cite {
  font-size: 0.95rem;
  color: #A8936B;
  font-style: normal;
  letter-spacing: 0.01em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 1rem;
  background: #fff;
}
thead tr {
  background: #F4F4F4;
  font-family: 'Playfair Display', serif;
}
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid #ececec;
  text-align: left;
}
th {
  font-weight: 600;
}
tr:last-child td {
  border-bottom: none;
}

/* -----------------------------------------------
   LAYOUT STRUCTURE
----------------------------------------------- */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 0;
}

/* Section patterns as given */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32,35,42,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 280px;
  flex: 1 1 280px;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(32,35,42,0.13);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(32,35,42,0.08);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  flex-direction: column;
  max-width: 600px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------------------------
   HEADER & NAVIGATION
----------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(33, 35, 42, 0.03);
  width: 100%;
  position: relative;
  z-index: 51;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
  justify-content: flex-start;
}
.main-nav a {
  color: #20232A;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F4F4;
  color: #A8936B;
}
.main-nav a img {
  height: 36px;
  width: auto;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
}

.btn-primary {
  background: #20232A;
  color: #fff !important;
  border-radius: 6px;
  padding: 12px 26px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 2px 10px rgba(32,35,42,0.05);
  cursor: pointer;
  display: inline-block;
  transition: background 0.20s, box-shadow 0.18s, color 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A8936B !important;
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(168, 147, 107, 0.13);
}

/* Hamburger button styling */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-family: inherit;
  font-size: 2.1rem;
  padding: 7px 16px 7px 7px;
  border-radius: 7px;
  color: #20232A;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 102;
  transition: background 0.16s;
  line-height: 1;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F4F4F4;
  color: #A8936B;
}

/* Mobile menu overlay */
.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,35,42,0.97);
  z-index: 105;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.58,.02,.58,1.0);
  will-change: transform;
  pointer-events: none;
  opacity: 1;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  display: block;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  position: absolute;
  top: 24px;
  right: 32px;
  cursor: pointer;
  z-index: 110;
  padding: 5px 9px;
  line-height: 1;
  border-radius: 5px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #A8936B;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-top: 70px;
  padding: 40px 36px 20px 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  padding: 9px 0;
  border-radius: 5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.16s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A8936B;
  background: #fff;
}

/* Hide mobile menu / hamburger on desktop */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

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

/* -----------------------------------------------
   SECTIONS & SPACING
----------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------
   LISTS & ICON LISTS
----------------------------------------------- */
ul {
  list-style: disc;
}
ul li {
  display: flex;
  align-items: center;
  gap: 12px;
}
ul li img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
/* Fix: iconless lists */
ul:not([class]) li img {
  display: none;
}

/* -----------------------------------------------
   MAIN STYLES
----------------------------------------------- */
main {
  flex: 1 0 auto;
}

/* Blog post overview & categories */
.blog-post-overview {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.blog-post-overview article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(32,35,42,0.07);
  padding: 24px 18px 18px 18px;
  margin-bottom: 8px;
  transition: box-shadow 0.18s;
}
.blog-post-overview article:hover {
  box-shadow: 0 6px 20px rgba(168, 147, 107, 0.14);
}
.blog-post-overview h3 {
  margin-bottom: 8px;
}
.category-filters {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 1rem;
  color: #20232A;
}
.category-filters a {
  background: #F4F4F4;
  padding: 7px 14px;
  border-radius: 18px;
  color: #20232A;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.16s;
}
.category-filters a:hover {
  background: #A8936B;
  color: #fff;
}

/* FAQ */
.faq h3 {
  font-size: 1.16rem;
  margin-top: 22px;
  margin-bottom: 6px;
}
.faq p {
  margin-bottom: 8px;
}
.cta-faq {
  margin-top: 32px;
  font-size: 1.06rem;
}
.cta-faq a {
  color: #A8936B;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 1px solid #A8936B;
}
.cta-faq a:hover {
  color: #20232A;
  border-bottom: 1px solid #20232A;
}

/* -----------------------------------------------
   FOOTER
----------------------------------------------- */
footer {
  background: #fff;
  box-shadow: 0 -2px 6px rgba(32,35,42,0.07);
  padding: 38px 0 100px 0;
  margin-top: 58px;
  font-size: 1rem;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-container .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.footer-container a img {
  width: 42px;
  min-width: 42px;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #A8936B;
  font-size: 0.98rem;
  padding: 3px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F4F4F4;
  color: #20232A;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 6px;
}
.footer-social a img {
  width: 29px;
  height: 29px;
  opacity: 0.74;
  border-radius: 50%;
  transition: opacity 0.15s, box-shadow 0.16s;
  background: #F4F4F4;
  padding: 3px;
}
.footer-social a:hover img,
.footer-social a:focus img {
  opacity: 1;
  box-shadow: 0 2px 6px #A8936B33;
}
footer span, footer a {
  color: #20232A;
}
footer img[alt='Telefon'],
footer img[alt='E-post'] {
  display: inline-block;
  width: 19px;
  margin-right: 6px;
  vertical-align: middle;
}

/* -----------------------------------------------
   COOKIE BANNER
----------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #222;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: center;
  padding: 30px 16px 30px 16px;
  box-shadow: 0 -3px 20px rgba(32,35,42,0.10);
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: all 0.36s cubic-bezier(.63,.05,.43,.98);
  font-size: 1rem;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-message {
  flex: 1 1 320px;
  max-width: 580px;
  color: #fff;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.15s, color 0.2s, box-shadow 0.14s;
  margin-left: 0;
}
.cookie-btn.accept {
  background: #A8936B;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #20232A;
}
.cookie-btn.reject {
  background: #F4F4F4;
  color: #20232A;
}
.cookie-btn.reject:hover {
  background: #A8936B;
  color: #fff;
}
.cookie-btn.settings {
  background: none;
  color: #A8936B;
  border: 1px solid #A8936B;
}
.cookie-btn.settings:hover {
  background: #A8936B;
  color: #fff;
}

/* Cookie modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 10001;
  background: rgba(32,35,42,0.63);
  align-items: center;
  justify-content: center;
}
.cookie-modal.visible {
  display: flex !important;
}
.cookie-modal-content {
  background: #fff;
  color: #20232A;
  border-radius: 17px;
  padding: 38px 32px 30px 32px;
  box-shadow: 0 8px 38px rgba(32,35,42,0.19);
  max-width: 430px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-title {
  font-size: 1.35rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #20232A;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #20232A;
  border-radius: 6px;
  cursor: pointer;
  padding: 3px 9px 3px 3px;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F4F4;
}
.cookie-category {
  background: #F4F4F4;
  border-radius: 7px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
  color: #20232A;
}
.cookie-category input[type="checkbox"] {
  width: 28px;
  height: 28px;
  accent-color: #A8936B;
}
.cookie-category input[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* -----------------------------------------------
   RESPONSIVE DESIGN (MOBILE-FIRST)
----------------------------------------------- */
@media (max-width: 900px) {
  .container, .footer-container {
    max-width: 99vw;
    padding: 0 12px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .testimonial-card {
    max-width: 95vw;
    font-size: 0.98rem;
    padding: 16px;
  }
  .section {
    padding: 32px 6px;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .footer-container .content-wrapper {
    gap: 17px;
  }
  header, .footer-container {
    padding: 0;
  }
  .content-grid, .card-container {
    flex-direction: column !important;
    gap: 18px;
  }
  .testimonial-card, .card {
    min-width: 0;
    max-width: 99vw;
    font-size: 0.96rem;
    padding: 15px 9px 15px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section {
    padding: 22px 2px;
    margin-bottom: 36px;
  }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.06rem; }
  p, li { font-size: 0.99rem; }
  .blog-post-overview article {
    padding: 15px 8px 11px 8px;
  }
  .blog-post-overview {
    gap: 13px;
  }
  .mobile-menu nav, .mobile-nav {
    gap: 16px;
    padding: 28px 18px 10px 18px;
    margin-top: 44px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 10px 22px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner-message {
    font-size: 0.97rem;
    line-height: 1.6;
  }
  .cookie-modal-content {
    padding: 20px 7px 13px 7px;
    max-width: 99vw;
  }
  .cookie-category {
    flex-direction: column;
    gap: 9px;
    padding: 9px 7px;
  }
  .cookie-modal-header {
    gap: 9px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.08rem; }
  .container, .footer-container {
    padding: 0 2px;
  }
  .category-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.96rem;
  }
}

/* -----------------------------------------------
   MICRO-INTERACTIONS & HOVER ANIMATION
----------------------------------------------- */
.btn-primary, .cookie-btn {
  box-shadow: 0 2px 6px rgba(32,35,42,0.07);
  transition: box-shadow 0.16s, background 0.16s, color 0.16s, transform 0.13s;
}
.btn-primary:active, .cookie-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 4px rgba(32,35,42,0.09);
}
.card:hover, .blog-post-overview article:hover {
  box-shadow: 0 6px 24px rgba(168, 147, 107, 0.11);
}
.footer-social a img {
  transition: opacity 0.14s, box-shadow 0.16s;
}

/* -----------------------------------------------
   OTHER UTILS
----------------------------------------------- */
::-webkit-input-placeholder { color: #AAA; }
::-moz-placeholder { color: #AAA; }
:-ms-input-placeholder { color: #AAA; }
::placeholder { color: #AAA; }

/* Hide empty elements for spacing */
[hidden] { display: none !important; }

/* Utility classes for spacing */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

/* -----------------------------------------------
   END
----------------------------------------------- */
