/* ======================
   CSS RESET & NORMALIZE
   ====================== */
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, 
main, 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;
}
html {
  line-height: 1.15;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F6F3EE;
  color: #26452A;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
img, picture {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}

/* ============================
   BRAND COLORS & CUSTOM PROPS
   ============================ */
:root {
  --color-primary: #26452A;
  --color-secondary: #9E7B4F;
  --color-accent: #F6F3EE;
  --color-bg: #F6F3EE;
  --color-light: #fff9f3;
  --color-neutral: #e9e4da;
  --color-shadow: rgba(38, 69, 42, 0.10);
  --color-shadow-deep: rgba(38, 69, 42, 0.20);
  --color-text: #26452A;
  --color-text-contrast: #3a2312;
  --color-link: #7A5834;
  --color-error: #b23d17;
  --color-success: #469549;
}

/* ===================================
   TYPOGRAPHY (Brand: Display & Body)
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Merriweather:wght@700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h1 { font-size: 2.4rem; margin-top: 0; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-top: 0; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-top: 0; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 9px; }
.subheadline {font-size: 1.25rem; font-weight: 400; margin-bottom: 20px; color: var(--color-secondary);}

p, ul, ol {
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
}
a {
  color: var(--color-link);
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-secondary);
}

/* ============
   CONTAINER
   ============ */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

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

.text-section, .text-image-section {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: 28px;
  box-shadow: 0 3px 20px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* SPACING utility: always 20px or more between wrappers */
.section:not(:last-child) {
  margin-bottom: 70px;
}

/* ========================
   HEADER & TOP NAVIGATION
   ======================== */
header {
  width: 100%;
  padding: 0;
  background: var(--color-bg);
  box-shadow: 0 2px 8px var(--color-shadow);
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
}
header img[alt="Schatten-Glut"] {
  width: 156px;
  min-width: 120px;
  margin-right: 18px;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
nav a {
  font-size: 1.05rem;
  padding: 5px 12px;
  border-radius: 15px;
  color: var(--color-primary);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: background 0.16s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

.cta.primary {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #fff;
  background: var(--color-secondary);
  border: none;
  box-shadow: 0 2px 8px var(--color-shadow);
  border-radius: 18px;
  padding: 12px 32px;
  font-size: 1.2rem;
  margin-left: 30px;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.16s, transform 0.14s;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px var(--color-shadow-deep);
}

.cta.secondary {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  background: #fff;
  border: 2px solid var(--color-secondary);
  border-radius: 16px;
  padding: 11px 28px;
  font-size: 1.02rem;
  margin-top: 15px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 5px 15px var(--color-shadow);
}

@media (max-width: 1100px) {
  header .container {
    min-height: 70px;
    gap: 14px;
  }
  nav {
    gap: 14px;
  }
}

/* ========================
   MOBILE NAVIGATION MENU
   ======================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 23px;
  right: 20px;
  z-index: 51;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.2rem;
  line-height: 1;
  box-shadow: 0 2px 7px var(--color-shadow);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.12s;
}
.mobile-menu-toggle:active {
  transform: scale(0.98);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #F6F3EE;
  box-shadow: 0 0 38px var(--color-shadow-deep);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.5,.2,.2,1);
  padding: 0 0 0 0;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.0rem;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1102;
  box-shadow: 0 1px 12px var(--color-shadow-deep);
  cursor: pointer;
}
.mobile-nav {
  margin-top: 85px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-left: 42px;
}
.mobile-nav a {
  font-size: 1.3rem;
  padding: 12px 0;
  color: var(--color-primary);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border-radius: 14px;
  transition: background 0.2s, color 0.18s;
  min-width: 220px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
@media (max-width: 1023px) {
  header nav, header .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 799px) {
  .mobile-nav {
    padding-left: 18px;
    gap: 20px;
  }
}

/* ====================
   SECTIONS & LAYOUTS
   ==================== */
main {
  margin-top: 0;
  margin-bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: 28px;
  box-shadow: 0 3px 20px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card-container, .feature-list, .feature-grid, .service-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 0;
}

.card-container { gap: 24px; }
.content-grid { gap: 20px; justify-content: space-between; }
.feature-grid, .feature-list, .service-list { gap: 24px; }

.card, .service, .feature {
  background: #fff;
  border-radius: 22px;
  padding: 26px 22px 24px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 250px;
  max-width: 350px;
  flex: 1 1 280px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover, .service:hover, .feature:hover {
  box-shadow: 0 8px 28px var(--color-shadow-deep);
  transform: translateY(-3px) scale(1.03);
}
.feature img, .service img {
  width: 46px;
  height: 46px;
  margin-bottom: 7px;
  border-radius: 14px;
  background: var(--color-accent);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 6px;
}
.price {
  margin-top: auto;
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 1.08rem;
}
@media (max-width:1000px) {
  .card, .service, .feature { max-width: 100%; min-width: 0; flex: 1 1 90%; }
}
@media (max-width: 600px) {
  .card-container, .feature-list, .feature-grid, .service-list, .content-grid {
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .card, .service, .feature {
    max-width: 100%;
    min-width: 0;
    align-items: flex-start;
    padding: 20px 15px 19px 15px;
  }
}

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

.text-section {
  padding: 0 0 0 0;
  margin-bottom: 28px;
}
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
  font-size: 1rem;
}
.text-section img {
  width: 28px;
  height: 28px;
}

.map-static {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  color: #7A5834;
  font-size: 1.05rem;
}

/* =====================
   TESTIMONIALS & QUOTES
   ===================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 15px var(--color-shadow);
  margin-bottom: 20px;
  color: var(--color-text-contrast);
  font-style: italic;
  transition: box-shadow .14s, transform .14s;
  border-left: 6px solid var(--color-secondary);
}
.testimonial-card strong {
  font-weight: 700;
  color: var(--color-secondary);
  font-style: normal;
  min-width: 160px;
}
.testimonial-card p {
  margin-bottom: 0;
  font-style: italic;
  font-size: 1.03rem;
  line-height: 1.6;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 25px var(--color-shadow-deep);
  transform: scale(1.015) translateY(-2px);
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 10px;
    font-size: 0.97rem;
  }
  .testimonial-card strong { min-width: 80px; }
}

/* =====================
   FEATURE & SERVICE CARDS
   ===================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============
   FOOTER SECTION
   =============== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 38px 0 18px 0;
  box-shadow: 0 -3px 18px var(--color-shadow);
  font-size: 1rem;
  border-radius: 32px 32px 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 24px;
}
.footer-nav, .footer-contact, .footer-legal, .footer-brand, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 130px;
}
.footer-nav a, .footer-legal a {
  color: #fff;
  opacity: 0.91;
  font-size: 0.98rem;
  padding: 2px 0;
  border-radius: 9px;
  transition: background 0.15s, color 0.12s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--color-secondary);
  background: #fff2e3;
}
.footer-contact img, .footer-brand img {
  width: 24px;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
}
.footer-social {
  flex-direction: row;
  gap: 12px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: brightness(96%) contrast(94%);
  transition: filter 0.18s;
}
.footer-social a:hover img {
  filter: brightness(74%) contrast(108%);
}
.footer-brand {
  align-items: center;
  gap: 7px;
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  color: var(--color-secondary);
}
.footer-brand span {
  font-size: 0.99rem;
  color: #fff;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav, .footer-contact, .footer-brand, .footer-social {
    flex-direction: row;
    gap: 16px;
    margin-bottom: 7px;
  }
}
@media (max-width: 620px) {
  footer .container, .footer-nav, .footer-contact, .footer-social, .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===================
   BUTTONS, LINKS
   =================== */
button, .cta, .cta.secondary, .cta.primary {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 18px;
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: background 0.16s, color 0.17s, box-shadow 0.15s, transform 0.13s;
  user-select: none;
}
button:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1002;
  background: #fff9f3;
  color: var(--color-text-contrast);
  box-shadow: 0 -2px 24px var(--color-shadow-deep);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border-radius: 32px 32px 0 0;
  transition: transform 0.3s cubic-bezier(.65,.05,.36,1), opacity 0.35s;
  opacity: 1;
  transform: translateY(0);
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1;
  padding-right: 18px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}
.cookie-btn {
  font-size: 1.05rem;
  padding: 9px 22px;
  border-radius: 13px;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  border: none;
  transition: background 0.14s, color 0.14s, box-shadow 0.18s, transform 0.13s;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-btn.accept {
  background: var(--color-success);
}
.cookie-btn.reject {
  background: var(--color-error);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 4px 18px var(--color-shadow-deep);
  transform: translateY(-1px) scale(1.03);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 7px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-banner-text {
    padding-right: 2px;
  }
}

/* ===============
   COOKIE MODAL
   =============== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 1105;
  background: rgba(38,69,42,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s cubic-bezier(.43,.19,1,1);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff9f3;
  border-radius: 24px;
  box-shadow: 0 6px 32px var(--color-shadow-deep);
  min-width: 320px;
  max-width: 95vw;
  padding: 38px 28px 31px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalAppear 0.34s cubic-bezier(.55,.26,.73,.98);
}
@keyframes modalAppear {
  from {transform: scale(0.91) translateY(40px); opacity: 0;}
  to   {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 13px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.04rem;
  padding: 8px 0;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-secondary);
  border-radius: 8px;
  margin-right: 7px;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: var(--color-primary);
}
.cookie-category.essential label {
  font-weight: 700;
  color: var(--color-primary);
}
.cookie-category label {
  font-weight: 600;
  color: var(--color-secondary);
}
.cookie-modal-actions {
  margin-top: 19px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* ================================
   RESPONSIVE GENERAL STYLES
   ================================ */
@media (max-width: 800px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
  .section {
    padding: 30px 7px;
    margin-bottom: 48px;
  }
}
@media (max-width: 450px) {
  h1 { font-size: 1.24rem; }
  h2 { font-size: 1rem; }
  .section {
    padding: 16px 3px;
    border-radius: 12px;
  }
}

/* ===========================
   ACCESSIBILITY & UTILITIES
   =========================== */
.sr-only {
  position: absolute;
  left: -999em;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[tabindex]:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #a89367; opacity: 1; }
::-moz-placeholder          { color: #a89367; opacity: 1; }
:-ms-input-placeholder      { color: #a89367; opacity:1; }
::placeholder              { color: #a89367; opacity: 1; }

/* ================
   MISC STYLES
   ================ */
.map-static img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 2px 7px var(--color-shadow);
}

ul {
  padding-left: 24px;
}

li {
  margin-bottom: 9px;
}

/* ===================
   TRANSITIONS & HOVERS
   =================== */
a, .cta, button, .card, .service, .feature, .testimonial-card {
  transition: all 0.13s cubic-bezier(.49,.18,.39,.84);
}

/* END OF CSS */
