/* ============================================================
   CSS RESET & BASE STYLES (normalize + base for elegant_classic)
   ============================================================ */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Merriweather', Georgia, serif;
  background: #F3F3F0;
  color: #222F36;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
a {
  color: #222F36;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #8C6C46;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.8em;
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
button {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}
::selection {
  background: #D3B892;
  color: #222F36;
}

/* ============================================================
   BRAND FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Montserrat:wght@700&display=swap');
body, .content-wrapper, .text-section, .feature-item p, .testimonial-card p,
.text-section li, .footer-branding p {
  font-family: 'Merriweather', Georgia, serif;
}
h1, h2, h3, .cta-btn, .main-nav a, .footer-nav a, .mobile-nav a {
  font-family: 'Montserrat', 'Merriweather', serif;
  font-weight: 700;
}

/* ============================================================
   CONTAINERS & LAYOUT SPACING (MOBILE FIRST)
   ============================================================ */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(34,47,54,0.06);
}
.content-wrapper {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
  color: #222F36;
}

/* Card Layouts (with flexbox only) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.feature-item {
  flex: 1 1 250px;
  min-width: 220px;
  background: #F3F3F0;
  border-radius: 14px;
  box-shadow: 0 1px 5px rgba(34,47,54,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 22px 18px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  max-width: 40px;
  margin-bottom: 10px;
}
.feature-item h3 {
  color: #222F36;
  font-size: 1.12rem;
  margin-bottom: 0.1em;
}
.feature-item span {
  color: #8C6C46;
  font-weight: 400;
  font-size: 0.95em;
  margin-left: 2px;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 4px 18px 0 rgba(211,184,146,0.13);
  transform: translateY(-2px) scale(1.015);
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 24px;
  background: #F3F3F0;
  border-left: 6px solid #D3B892;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 1px 8px rgba(34,47,54,0.04);
  font-family: 'Merriweather', serif;
}
.testimonial-card p {
  color: #222F36;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-size: 1em;
  color: #8C6C46;
  font-style: normal;
}

/* Blocks / Utility Sections */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* For cards container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(211,184,146,0.11);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 20px rgba(34,47,54,0.17);
  transform: translateY(-3px) scale(1.018);
}

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

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-size: 2.35rem;
  color: #222F36;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
  font-family: 'Montserrat', serif;
  font-weight: 700;
}
h2 {
  font-size: 1.7rem;
  color: #222F36;
  margin: 24px 0 14px 0;
  font-family: 'Montserrat', serif;
}
h3 {
  font-size: 1.16rem;
  color: #222F36;
  margin: 12px 0 3px 0;
  font-family: 'Montserrat', serif;
}
blockquote {
  font-family: 'Merriweather', serif;
  font-style: italic;
  border-left: 4px solid #D3B892;
  padding-left: 16px;
  margin: 18px 0;
  color: #36312A;
  background: #F3F3F0;
}

p {
  font-size: 1.01rem;
  margin-bottom: 12px;
  color: #222F36;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Note block (such as .note in kontakt.html) */
.note {
  font-size: 0.98rem;
  color: #7B735B;
  background: #F3F3F0;
  border-left: 4px solid #D3B892;
  padding: 10px 16px;
  margin-top: 14px;
  border-radius: 8px;
}

/* ============================================================
   HEADER, NAVIGATION & HERO
   ============================================================ */
header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(34,47,54,.03);
  padding: 0;
  position: relative;
  z-index: 60;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px 18px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 20px;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}
.main-nav a {
  color: #222F36;
  font-size: 1.08rem;
  padding: 4px 4px 2px 4px;
  position: relative;
  letter-spacing: 0.075em;
  border-radius: 2px;
  transition: color 0.21s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #8C6C46;
  background: #F3F3F0;
}
.cta-btn {
  display: inline-block;
  background: #222F36;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  padding: 10px 22px;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(34,47,54,0.09);
  margin-left: 20px;
  transition: background 0.2s, color 0.2s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #8C6C46;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* ============================================================
   MOBILE BURGER MENU & RESPONSIVE NAV
   ============================================================ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  background: #F3F3F0;
  color: #222F36;
  border: none;
  z-index: 122;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 2px 10px rgba(34,47,54,0.09);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #D3B892;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,47,54, 0.96);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.8,.1,.3,1);
  z-index: 124;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 58px;
  padding-left: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 8px 30px rgba(34,47,54,0.15);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F3F3F0;
  color: #222F36;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.70rem;
  border-radius: 50%;
  box-shadow: 0 1px 8px rgba(211,184,146,0.11);
  z-index: 125;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D3B892;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 28px;
}
.mobile-nav a {
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.10em;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 3px;
  min-width: 200px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D3B892;
  color: #222F36;
}

@media (max-width: 1024px) {
  .container {
    max-width: 85vw;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 11px;
  }
  .cta-btn {
    margin-left: 8px;
  }
  .container {
    padding-left: 10px; padding-right: 10px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 6px;
  }
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #fff;
  box-shadow: 0 -1px 15px rgba(34,47,54,0.035);
  margin-top: 60px;
  padding: 28px 0 15px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  justify-content: center;
}
.footer-nav a {
  color: #6F7265;
  font-size: 1rem;
  letter-spacing: 0.07em;
  padding: 3px 8px; border-radius: 2px;
  transition: color 0.18s, background 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #8C6C46;
  background: #F3F3F0;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-branding img {
  height: 38px;
  width: auto;
  margin-right: 8px;
}
.footer-branding p {
  color: #86816F;
  font-size: 0.95rem;
}

/* ============================================================
   RESPONSIVE SECTIONS / MOBILE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: 20px 6px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    padding: 20px 0;
    gap: 12px;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
    padding: 22px 12px 10px 14px;
  }
  .testimonial-card {
    padding: 14px 10px;
    font-size: 98%;
  }
  .footer-nav {
    gap: 8px;
  }
  .footer-branding img {
    height: 30px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* Subtle shadow on sections/cards for classic elegance */
@media (min-width: 769px) {
  .section {
    box-shadow: 0 2px 20px rgba(211,184,146, 0.08), 0 1.5px 14px rgba(34,47,54,0.028);
  }
}

/* Responsive typography scale */
@media (max-width: 600px) {
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 0.98rem; }
  .cta-btn, .main-nav a, .mobile-nav a { font-size: 1.04rem; }
}

/* ============================================================
   BUTTONS, LINKS, FORM ELEMENTS
   ============================================================ */
button,
input[type=submit],
input[type=button] {
  font-family: 'Montserrat', serif;
  font-size: 1.01rem;
  background-color: #222F36;
  color: #fff;
  border-radius: 18px;
  padding: 9px 21px;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34,47,54,0.08);
}
button:hover, button:focus,
input[type=submit]:hover,input[type=button]:hover {
  background: #8C6C46;
  color: #fff;
}

input, textarea, select {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  border: 1px solid #D3B892;
  border-radius: 7px;
  padding: 11px;
  margin-bottom: 12px;
  outline: none;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #8C6C46;
}
::placeholder {
  color: #ABA595;
  opacity: 1;
  font-style: italic;
}

/* ============================================================
   MICRO-INTERACTIONS: TRANSITIONS & HOVER
   ============================================================ */
a, .cta-btn, .main-nav a, .footer-nav a, .mobile-nav a, .feature-item, .card, button, .section, .testimonial-card {
  transition: color 0.20s, background 0.2s, box-shadow 0.19s, transform 0.19s;
}
.section:hover {
  box-shadow: 0 3px 24px rgba(211,184,146, 0.10);
}

/* Section fade-in animation/effect */
.section, .feature-item, .testimonial-card {
  opacity: 1;
  animation: fadedown 0.8s cubic-bezier(.15,.7,.5,1) 0.03s both;
}
@keyframes fadedown {
  0% { opacity: 0; transform: translateY(-26px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   COOKIE BANNER & CONSENT POPUP
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #222F36;
  border-top: 3px solid #D3B892;
  box-shadow: 0 -2px 18px rgba(211,184,146, 0.11);
  z-index: 170;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 16px 18px 16px;
  font-family: 'Merriweather', serif;
  font-size: 1.03rem;
  animation: cookieSlideUp 0.5s cubic-bezier(.61,0,.43,1) 0.05s;
}
@keyframes cookieSlideUp {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner strong {
  font-family: 'Montserrat', serif;
  font-weight: bold;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}
.cookie-btn {
  font-family: 'Montserrat', serif;
  font-size: 1.03rem;
  border-radius: 14px;
  padding: 8px 18px;
  font-weight: 700;
  border: none;
  outline: none;
  background: #222F36;
  color: #fff;
  margin: 0 3px;
  box-shadow: 0 1px 5px rgba(34,47,54,0.06);
  transition: background 0.16s, color 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #8C6C46;
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: #F3F3F0;
  color: #222F36;
  border: 1px solid #D3B892;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #D3B892;
  color: #222F36;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 97vw;
  max-width: 410px;
  background: #fff;
  color: #222F36;
  border-radius: 18px;
  border: 3px solid #D3B892;
  box-shadow: 0 6px 44px rgba(34,47,54,0.21);
  z-index: 174;
  transform: translate(-50%, -54%) scale(0.93);
  opacity: 0;
  pointer-events: none;
  padding: 32px 24px 20px 24px;
  animation: popFadeIn .43s cubic-bezier(.5,0,0,1) forwards;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -54%) scale(1);
}
@keyframes popFadeIn {
  0% { opacity: 0; transform: translate(-50%,-90%) scale(0.77); }
  100% { opacity: 1; transform: translate(-50%, -54%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-family: 'Merriweather', serif;
  font-size: 0.98rem;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #DDD8CF;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: #D3B892;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s;
  box-shadow: 0 1px 5px #d3b89221;
}
.cookie-toggle:checked:before {
  left: 21px;
}
.cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 14px;
  border: none;
  background: #F3F3F0;
  color: #222F36;
  font-size: 1.2rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #D3B892;
  color: #fff;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 8px 10px 8px;
  }
}

/* ============================================================
   GENERAL UTILITIES FOR SPACING (DO NOT REMOVE)
   ============================================================ */
.mb-20 { margin-bottom: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.gap-16 { gap: 16px !important; }

/* ============================================================
   SPECIAL: SECTION MINIMUMS TO PREVENT OVERLAPPING
   ============================================================ */
.section, .features-grid, .card-container, .content-grid, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* ============================================================
   ACCESSIBILITY & HIGH CONTRAST FOR TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: #F3F3F0;
  color: #222F36;
  border-left: 6px solid #D3B892;
  box-shadow: 0 1.5px 8px rgba(34,47,54,0.055);
}
.testimonial-card p { color: #222F36; }
.testimonial-card span { color: #8C6C46; }

.title-accent {
  color: #D3B892;
  font-weight: bold;
}

/* Hide scrollbars on mobile menu/modal */
.mobile-menu, .cookie-modal { scrollbar-width: none; }
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  display: none;
}

/* ============================================================
   PRINT STYLES - basic only
   ============================================================ */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  main { padding: 0 !important; background: #fff; color: #222F36; }
  .section, .container { box-shadow: none !important; border: none !important; background: #fff !important; }
}

/* ============================================================
   END OF STYLE.CSS (ALL FLEXBOX, NO CSS GRID)
   ============================================================ */
