/* RESET & BASE STYLES */
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, menu, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  color: #2C2A4A;
  background: #FFFDFC;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
ul, ol { list-style: inside disc; margin-left: 1em; }
a { text-decoration: none; color: #2C2A4A; transition: color 0.2s; }
a:focus { outline: 2px solid #B89D55; outline-offset: 2px; }
button, .cta-btn {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}
img { max-width: 100%; display: block; border: 0; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  letter-spacing: 0.01em;
  color: #2C2A4A;
  font-weight: 700;
  margin-bottom: 0.6em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, li {
  font-size: 1rem;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #3a384d;
  margin-bottom: 0.7em;
}
strong, b {
  color: #2C2A4A;
  font-weight: 700;
}

@media (min-width: 480px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.5rem; }
  p, ul, li { font-size: 1.1rem; }
}

/* CONTAINER UTILS */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  max-width: 1120px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  align-items: flex-start;
}

/************** HEADER & NAV *************/
header {
  width: 100%;
  background: #F8F6F3;
  box-shadow: 0 2px 12px 0 rgba(44,42,74,0.06);
  border-bottom: 1px solid #ede8de;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 40px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(184, 157, 85, 0.10);
  background: #fff;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2C2A4A;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
nav a.active, nav a:focus, nav a:hover {
  background: #B89D55;
  color: #FFFDFC;
}
.cta-btn {
  background: #B89D55;
  color: #FFFDFC;
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 28px;
  margin-left: 10px;
  font-size: 1.1rem;
  box-shadow: 0 3px 18px rgba(184,157,85,0.13);
  transition: background 0.18s, transform 0.13s, box-shadow 0.14s;
  border: none;
  outline: none;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #947b37;
  color: #FFFDFC;
  box-shadow: 0 7px 32px rgba(184,157,85,0.18);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #B89D55;
  background: #FFFDFC;
  border: 1px solid #B89D55;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-left: auto;
  transition: background 0.15s, box-shadow 0.2s;
  box-shadow: 0 1px 6px rgba(44,42,74,.04);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B89D55;
  color: #FFFDFC;
  box-shadow: 0 3px 12px rgba(184,157,85,.12);
}

/* Hide mobile menu toggle by default (desktop) */
.mobile-menu-toggle { display: none; }

/******* MOBILE NAV OVERLAY ******/
.mobile-menu {
  position: fixed;
  z-index: 10002;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFDFC;
  box-shadow: 0 0 48px 8px rgba(44,42,74,0.15);
  transform: translateX(-110vw);
  transition: transform 0.33s cubic-bezier(.6,.11,.08,1.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 28px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: #B89D55;
  color: #FFFDFC;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(44,42,74,0.13);
  border: none;
  transition: background 0.18s;
  z-index: 10;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #947b37;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 50px 0 0 28px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #2C2A4A;
  border-radius: 16px;
  padding: 12px 22px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #B89D55;
  color: #FFFDFC;
}

/******* MAIN & LAYOUT **********/
main {
  width: 100%;
  display: block;
  background: #FFFDFC;
  min-height: 70vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFDFC;
  border-radius: 28px;
  box-shadow: 0 2px 18px 0 rgba(184,157,85,.045);
  position: relative;
  overflow: visible;
  border: 1px solid #f3ead7;
}

/* Cards & Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F8F6F3;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(184,157,85,.08);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/******* Features Grid (/) ******/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FAF7F3;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(184,157,85,.09);
  padding: 28px 22px 28px 22px;
  gap: 15px;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 310px;
  transition: box-shadow 0.17s, transform 0.16s;
  margin-bottom: 20px;
  border: 1px solid #f5ead5;
}
.feature-item img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFFDFC;
  box-shadow: 0 1px 8px 0 rgba(184,157,85,0.09);
}
.feature-item h3 {
  color: #2C2A4A;
  font-size: 1.22rem;
}
.price-tag {
  background: #B89D55;
  color: #FFFDFC;
  border-radius: 12px;
  padding: 5px 15px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
  align-self: flex-end;
  box-shadow: 0 0 10px 0 rgba(184,157,85,0.12);
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 7px 24px 0 rgba(184,157,85,.19);
  transform: translateY(-3px) scale(1.02);
}

/********* Testimonial Cards *********/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFFDFC;
  border-left: 6px solid #B89D55;
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(44,42,74,0.07);
  padding: 20px 26px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #2C2A4A;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}
.testimonial-card p{
  color: #2C2A4A;
  margin: 0 0 8px 0;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #9b8937;
  font-weight: 600;
  margin-left: 8px;
}

/********* Map Snippet (kontakt.html) *********/
.map-snippet {
  background: #FAF7F3;
  border-radius: 14px;
  border-left: 4px solid #B89D55;
  padding: 18px 14px;
  margin: 12px 0;
  box-shadow: 0 1px 8px 0 rgba(184,157,85,0.09);
  font-size: 1rem;
}

/******** BUTTONS & INTERACTIVES ********/
button, .cta-btn {
  transition: background 0.16s, transform 0.12s, box-shadow 0.13s, color 0.12s;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #B89D55;
}

/************* FOOTER ***********/
footer {
  width: 100%;
  background: #F8F6F3;
  border-top: 1px solid #e8e5df;
  padding: 30px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
footer img {
  height: 36px;
  margin-bottom: 8px;
}
footer nav {
  gap: 8px;
  margin-bottom: 4px;
}
footer a {
  color: #2C2A4A;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
footer a:hover, footer a:focus { background: #B89D55; color: #FFFDFC; }
footer small { color: #9a977c; margin-top: 4px;  font-size: 0.99rem; }

/********* COOKIE CONSENT BANNER *********/
.cookie-consent-banner {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe7;
  box-shadow: 0 -2px 20px 0 rgba(44,42,74,0.11);
  border-top: 2px solid #B89D55;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 10px 18px 10px;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.91,-0.07,.23,1.32), opacity 0.25s;
}
.cookie-consent-banner.hidden {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-btn {
  background: #B89D55;
  color: #FFFDFC;
  border-radius: 30px;
  padding: 7px 22px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 18px 0 rgba(184,157,85,.11);
  transition: background 0.18s, box-shadow 0.16s, transform 0.12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #947b37;
  color: #FFFDFC;
  box-shadow: 0 6px 24px 0 rgba(184,157,85,.19);
  transform: translateY(-2px) scale(1.03);
}
.cookie-settings-btn {
  background: #2C2A4A;
  color: #FFFDFC;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #463f7b;
}

/******* COOKIE PREFS MODAL (hidden by default) */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%) scale(0.9);
  z-index: 10010;
  min-width: 310px;
  max-width: 92vw;
  background: #FFFDFC;
  border-radius: 22px;
  box-shadow: 0 8px 48px 0 rgba(44,42,74,0.19), 0 2px 18px 0 rgba(184,157,85,0.11);
  padding: 34px 24px 22px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.24s cubic-bezier(.81,.01,.17,1.13);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -54%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
}
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 42px;
  height: 24px;
  background: #f0ecd9;
  border-radius: 15px;
  cursor: pointer;
  margin-left: 8px;
  border: 1px solid #d9cda0;
  transition: background 0.15s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  left: 3px; top: 3px;
  height: 18px; width: 18px;
  border-radius: 50%;
  background: #B89D55;
  transition: left 0.2s, background 0.18s;
}
.cookie-toggle input:checked + .slider {
  left: 21px;
  background: #2C2A4A;
}
.cookie-modal .modal-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  right: 16px;
  top: 12px;
  background: #B89D55;
  color: #FFFDFC;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  font-size: 1.43rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.16s;
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus {
  background: #947b37;
}

/******* Accessibility color class for contrast */
.text-dark {
  color: #2C2A4A !important;
  background: none !important;
}
.bg-accent {
  background: #F8F6F3;
}


/********* MEDIA QUERIES: Responsive Layouts *********/
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
  .feature-grid, .card-container, .content-grid { gap: 16px; }

  section { padding: 32px 8px; margin-bottom: 36px; }
  .feature-item { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    min-width: unset;
    max-width: 100%;
    align-self: stretch;
  }
  nav { gap: 12px; }
  .testimonial-card { flex-direction: column; gap: 8px; padding: 16px 13px; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 10px; }
  nav { display: none; } 
  .mobile-menu-toggle { display: flex; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { padding: 15px 10px; }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  section { padding: 26px 4px; margin-bottom: 26px; }
  footer .container { gap: 4px; }
}
@media (max-width: 550px) {
  .container { padding: 0 2vw; }
  .feature-item { padding: 16px 5px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.14rem; margin-bottom: 12px; }
}

/********* MICRO-INTERACTIONS & HOVER STATES ******/
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(44,42,74,0.10);
  transform: translateY(-2px) scale(1.01);
}
.card .cta-btn {
  margin-top: 8px;
}

/********* UTILITY CLASSES **********/
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

/******** GENERIC FORM ELEMENTS (contact forms, toggles) *******/
input, textarea, select {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  border: 1px solid #EDD9B3;
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
  padding: 9px 12px;
  background: #f9f7f3;
  color: #2C2A4A;
  margin-bottom: 11px;
  transition: border 0.12s, background 0.12s;
}
input:focus, textarea:focus {
  border-color: #B89D55;
  background: #fffbe7;
}
label { display: block; font-weight: 600; margin-bottom: 5px; }

/***** ICONS IN TEXT *****/
.text-section img[alt] {
  vertical-align: middle;
  width: 23px; height: 23px;
  margin-right: 7px;
  margin-bottom: 3px;
  display: inline;
  border-radius: 6px;
  background: #efe5c9;
  padding: 4px;
  box-shadow: 0 1px 7px 0 rgba(44,42,74,0.07);
}

/* Accessibility: hide visually but not from screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
