/* =======================================
   RESET & BASE STYLES
   ======================================= */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #EFEFEA;
  color: #2D3D4F;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.content-wrapper img {
  width: 100px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2D3D4F;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #B1812F;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
strong, b {
  font-weight: 600;
}

/* =======================================
   TYPOGRAPHY & HEADINGS
   ======================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #223046;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 18px;
}
@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem;    }
  h3 { font-size: 1.25rem; }
}
p {
  margin-bottom: 18px;
  color: #2D3D4F;
  font-size: 1rem;
}
.text-section ul,
.text-section ol {
  margin-bottom: 16px;
  color: #2D3D4F;
}

/* =======================================
   LAYOUT CONTAINERS & SECTIONS
   ======================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 18px;
  transition: box-shadow 0.25s;
}
@media (min-width: 992px) {
  .section {
    padding: 60px 0;
    margin-bottom: 80px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.text-section {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

/* Flex patterns */
.card-container, .content-grid,
.feature-grid, .service-cards, .blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .feature-grid, .service-cards, .blog-cards {
    flex-direction: column;
    gap: 16px;
  }
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(45,61,79,0.04);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 375px;
  flex: 1 1 320px;
  padding: 28px 26px 22px 26px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .service-card:hover, .blog-card:hover {
  box-shadow: 0 4px 24px rgba(45,61,79,0.12);
  transform: translateY(-4px) scale(1.02);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}

/* =======================================
   NAVIGATION & HEADER
   ======================================= */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(45,61,79,0.06);
  z-index: 50;
  position: relative;
}
.logo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  position: relative;
}
.logo-nav img {
  height: 44px;
  width: auto;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
@media (max-width: 992px) {
  .main-nav {
    gap: 13px;
  }
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2D3D4F;
  padding: 4px 8px;
  transition: color 0.18s;
}
.main-nav a:hover, .footer-nav a:hover {
  color: #B1812F;
}

.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #B1812F;
  color: #fff;
  padding: 10px 28px;
  border-radius: 23px;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(188,144,67,.07);
  letter-spacing:0.01em;
  margin-left: 16px;
  transition: background 0.18s, box-shadow 0.2s, transform 0.2s;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #BC9043;
  color: #fff;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 18px rgba(188,144,67,.14);
  outline: none;
}

/* =======================================
   MOBILE NAVIGATION
   ======================================= */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #2D3D4F;
    cursor: pointer;
    margin-left: auto;
    padding: 0 12px;
    z-index: 101;
    transition: color 0.2s;
  }
  .mobile-menu-toggle:hover {
    color: #B1812F;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 0 30px rgba(34,48,70,0.10);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.47,1.34,.41,.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 20px 28px;
  gap: 20px;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #2D3D4F;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B1812F;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #2D3D4F;
  padding: 8px 0;
  border-radius: 4px;
  transition: color 0.24s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B1812F;
  background: #EFEFEA;
  outline: none;
}

/* ==========================
   SECTION AND CARD PATTERNS
   ========================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 7px;
}
.feature-item {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(45,61,79,0.04);
  padding: 22px 18px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  max-width: 295px;
  min-width: 190px;
  flex: 1 1 175px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.feature-item img {
  height: 42px;
  width: auto;
}
.feature-item h3 {
  margin-bottom: 6px;
  font-size: 1.12rem;
  color: #223046;
}
.feature-item p {
  font-size: .98rem;
}

/* Service cards */
.service-cards {
  flex-wrap: wrap;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(45,61,79,0.07);
  padding: 28px 26px 22px 26px;
  min-width: 260px;
  max-width: 370px;
  flex: 1 1 300px;
  margin-bottom: 20px;
}
.service-card h3 {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  align-items: center;
  gap: 11px;
}
.service-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #EFEFEA;
  color: #B1812F;
  font-size: .94rem;
  font-weight: 500;
  border-radius: 9px;
  padding: 3px 10px;
  margin-left: 12px;
}

.blog-cards {
  flex-wrap: wrap;
}
.blog-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(45,61,79,0.07);
  padding: 24px 22px 19px 22px;
  min-width: 260px;
  max-width: 370px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: .99rem;
}
.blog-tags span {
  background: #EFEFEA;
  color: #B1812F;
  border-radius: 8px;
  padding: 5px 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ==========================
   TESTIMONIALS
   ========================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(45,61,79,0.07);
  margin-bottom: 20px;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  font-style: italic;
  color: #223046;
  font-size: 1.02rem;
  margin-bottom: 7px;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #B1812F;
  font-size: 1rem;
}
@media (min-width: 600px) {
  .testimonial-card {
    flex-direction: row;
    gap: 32px;
  }
}

/* ======================
   CONTACT & FOOTER
   ====================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 15px 0 20px 0;
  font-size: 1.05rem;
  color: #2D3D4F;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.00rem;
}
@media (min-width: 700px) {
  .contact-info {
    flex-direction: row;
    gap: 28px;
  }
}

footer {
  background: #FFFFFF;
  border-top: 1px solid #EFEFEA;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 15px 0 12px 0;
}
.footer-nav a {
  color: #2D3D4F;
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.93;
  transition: color 0.18s;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 10px;
  font-size: .99rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin: 20px 0 13px 0;
}
.footer-social img {
  height: 26px;
  opacity: .94;
  transition: opacity 0.15s;
  cursor: pointer;
}
.footer-social img:hover {
  opacity: 1;
}
.footer-copy {
  font-size: .93rem;
  color: #86898d;
  margin-top: 10px;
  padding-bottom: 6px;
}

@media (max-width: 600px) {
  .footer-nav, .footer-contact, .footer-social {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========================
   BUTTONS & INTERACTIONS
   ======================== */
button {
  font-family: 'Montserrat', Arial, sans-serif;
}
button, .cta-button {
  box-shadow: none;
  border: none;
  cursor: pointer;
  transition: all 0.17s cubic-bezier(0.4,0.0,0.2,1);
}
button[disabled], .cta-button[disabled] {
  opacity: .68;
  pointer-events: none;
}

/* =============================
   FORMS (Simple, for Kontakt)
   ============================= */
input[type="text"], input[type="email"], textarea {
  background: #EFEFEA;
  border: 1px solid #dddddd;
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 14px;
  width: 100%;
  transition: border-color 0.16s;
}
input:focus, textarea:focus {
  border-color: #B1812F;
  outline: none;
}
label {
  color: #2D3D4F;
  font-size: 0.95rem;
  font-weight: 500;
}

/* =======================================
   COOKIE CONSENT BANNER & SETTINGS MODAL
   ======================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: #ffffff;
  border-top: 1px solid #EFEFEA;
  box-shadow: 0 -2px 20px 0 rgba(188,144,67,0.04);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 18px 24px 12px 24px;
  gap: 12px;
  animation: cookieFadeIn 0.35s;
}
@keyframes cookieFadeIn {
  0% { transform: translateY(56px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: #2D3D4F;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 4px;
}
.cookie-btn {
  background: #B1812F;
  color: #fff;
  border-radius: 16px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.16s, box-shadow 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #BC9043;
  outline: none;
}
.cookie-btn.secondary {
  background: #EFEFEA;
  color: #BC9043;
  border: 1px solid #BC9043;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #fff8ef;
  color: #B1812F;
}


/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom:0;
  z-index: 1200;
  background: rgba(44,58,80,.13);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModalBg 0.32s;
}
@keyframes fadeModalBg {
  from { background: rgba(44,58,80,.00); }
  to {   background: rgba(44,58,80,.13); }
}
.cookie-modal__content {
  background: #fff;
  padding: 36px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(45,61,79,0.18);
  min-width: 300px;
  max-width: 98vw;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 13px;
  animation: cookiePopupPop 0.33s cubic-bezier(.61,1.14,.47,.98);
}
@keyframes cookiePopupPop {
  from { transform: scale(.94) translateY(28px); opacity: 0; }
  to {   transform: scale(1); opacity: 1;   }
}
.cookie-modal__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #B1812F;
  cursor: pointer;
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2D3D4F;
  font-size: 1.16rem;
  margin-bottom: 8px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 8px 0;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-toggle label {
  font-size: 1rem;
  font-weight: 500;
  color: #2D3D4F;
}
/* Toggle-switch styles */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #EFEFEA;
  border-radius: 20px;
  transition: background 0.15s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #B1812F;
}
.cookie-slider::before {
  position: absolute;
  content: "";
  left: 3px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
}
.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(16px);
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  align-items: center;
}
@media (max-width: 500px) {
  .cookie-banner {
    padding: 14px 12px 6px 12px;
    font-size: .98rem;
  }
  .cookie-modal__content {
    padding: 22px 8px 18px 8px;
  }
}

/* ===== Scrollbar minimalist for clean look ===== */
::-webkit-scrollbar { width: 7px; background: #f0f0ef; }
::-webkit-scrollbar-thumb { background: #EFEFEA; border-radius: 6px; }

/* =======================================
   MISC. UTILITY & GENERAL SPACING
   ======================================= */
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

.section + .section, .section + footer, .section + .cookie-banner {
  margin-top: 60px;
}
.content-wrapper > * + * {
  margin-top: 12px;
}

/* =======================================
   RESPONSIVE BREAKPOINTS
   ======================================= */
@media (max-width: 800px) {
  .container { padding: 0 10px; }
  .feature-grid, .service-cards, .blog-cards { gap:16px; }
  .footer-nav { gap: 9px; }
}

@media (max-width: 600px) {
  .container { max-width: 98vw; }
  .section { padding: 28px 6px; margin-bottom: 30px; }
  .testimonial-card, .service-card, .feature-item, .blog-card {
    min-width: 150px;
    max-width: 100%;
    padding: 18px 10px 16px 11px;
  }
  .card {
    min-width: 140px;
    max-width: 100%;
    padding: 14px 10px 14px 10px;
  }
  .text-section {
    width: 100%;
    padding: 0 2px;
  }
}

/* =======================================
   END
   ======================================= */
