/* --------------------------------------------------
   CSS RESET & BASELINE NORMALIZATION
-------------------------------------------------- */
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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #FFFFFF;
  color: #29563C;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
imgg {
  max-width: 100%;
  height: auto;
}
a {color: inherit; text-decoration: none; transition: color 0.18s;}
ul, ol { list-style-position: inside; }
strong, b { font-weight: bold; }
section {margin-bottom: 60px; padding: 40px 20px; background: #fff;}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #29563C;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, ul, ol {margin-bottom: 16px;}
hr { border: 0; border-top: 1px solid #E4E1D5; margin: 24px 0; }
:focus { outline: 2px solid #29563C; outline-offset: 2px; }

/* --------------------------------------------------
   BRAND COLORS AS CSS VARIABLES
-------------------------------------------------- */
:root {
  --primary: #29563C;
  --secondary: #E4E1D5;
  --accent: #A95927;
  --bg-light: #FFFFFF;
  --bg-section: #F8F7F4;
  --gray-100: #f7f6f3;
  --gray-200: #eceadc;
  --gray-300: #dedbc7;
  --text: #29563C;
  --text-dark: #19321f;
  --text-light: #6e746c;
  --border: #dedbc7;
  --shadow-main: 0 2px 24px rgba(41,86,60,0.07), 0 1.5px 4px rgba(41,86,60,0.06);
  --radius: 11px;
  --transition-main: 0.19s cubic-bezier(.4,0,.2,1);
}

/* --------------------------------------------------
   CONTAINER & WRAPPER
-------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

/* --------------------------------------------------
   FLEXBOX PATTERNS
-------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-section);
  border-radius: var(--radius);
  box-shadow: var(--shadow-main);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition-main), border-color var(--transition-main);
}
.card:hover {
  box-shadow: 0 4px 28px rgba(41,86,60,0.15),0 2px 10px rgba(41,86,60,0.09);
  border-color: var(--primary);
}
.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;
  padding: 20px;
  background: var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: 0 1px 10px rgba(41,86,60,0.07);
  border: 1px solid var(--border);
  color: var(--text-dark);
  font-size: 1.125rem;
  transition: box-shadow var(--transition-main);
}
.testimonial-card .author {
  font-size: 1rem;
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --------------------------------------------------
   MAIN NAVIGATION
-------------------------------------------------- */
header {background: var(--bg-light); box-shadow: 0 2px 12px rgba(41,86,60,0.03);}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 28px;
  position: relative;
}
.main-nav .logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-left: 28px;
}
.main-nav li { display: flex; }
.main-nav li a {
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 0 5px 0;
  border-radius: 7px;
  line-height: 1.6;
  transition: color .18s, background .18s;
}
.main-nav li a:hover,
.main-nav li a:focus {
  color: var(--accent);
  background: var(--gray-100);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 11px 28px;
  border-radius: var(--radius);
  box-shadow: none;
  border: none;
  cursor: pointer;
  margin-left: 34px;
  letter-spacing: 0.009em;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
  text-decoration: none;
  outline: none;
  min-width: 120px;
  justify-content: center;
  white-space: nowrap;
}
.cta-btn.primary { background: var(--primary); color: #fff; }
.cta-btn.accent { background: var(--accent); color: #fff; }
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(41,86,60,0.15);
}

/* --------------------------------------------------
   MOBILE MENU
-------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: var(--radius);
  padding: 6px 13px 7px 13px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(41,86,60,0.06);
  margin-left: 15px;
  transition: background 0.18s, color 0.18s;
  z-index: 2008;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(228,225,213,0.98);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.68,-0.06,.32,1.33);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  box-shadow: 0 12px 22px rgba(41,86,60,0.11);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 18px 22px 0 0;
  cursor: pointer;
  transition: background .19s;
  z-index: 2160;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--primary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin: 38px 32px 0 32px;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-300);
  width: 100%;
  transition: color .18s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .container { max-width: 96vw; }
  .content-wrapper { max-width: 94vw; }
  .main-nav ul { gap: 11px; }
  .main-nav .logo img { height: 42px; }
  .cta-btn { margin-left: 12px; }
}

@media (max-width: 900px) {
  .main-nav ul {gap: 7px;}
  .cta-btn {padding: 10px 16px; font-size: 0.95rem;}
}

@media (max-width: 800px) {
  .main-nav ul {
    display: none;
  }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 540px) {
  .mobile-menu-close {
    width: 38px; height: 38px; font-size: 1.6rem;
    margin: 14px 12px 0 0;
  }
  .mobile-nav { margin: 23px 17px 0 22px; }
  .mobile-nav a { font-size: 1.07rem; padding: 10px 0; }
}

/* --------------------------------------------------
    HERO SECTION
-------------------------------------------------- */
.hero {
  background: linear-gradient(120deg, #F7F6F3 70%, #e4e1d5 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  min-height: 295px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 36px rgba(41,86,60,0.07);
  margin-bottom: 56px;
  padding-top: 43px;
  padding-bottom: 43px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding: 15px 0;
  max-width: 640px;
}
.hero h1, .hero h2 {
  color: var(--primary);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.3rem;
}
.hero p { color: var(--text-light); font-size: 1.24rem; }
.hero .cta-btn {
  margin-left: 0;
  margin-top: 8px;
  box-shadow: 0 2px 14px rgba(169,89,39,0.09);
  font-size: 1.14rem;
}

@media (max-width: 650px) {
  .hero {border-radius: 0 0 8px 8px; min-height: 160px; padding: 18px 0;}
  .hero h1, .hero h2 { font-size: 1.6rem; }
  .hero .content-wrapper { gap: 14px; }
}

/* --------------------------------------------------
    SERVICE & SECTION STRUCTURES
-------------------------------------------------- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 34px;
}
.service-list > div {
  flex: 1 1 210px;
  background: var(--bg-section);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px 16px 18px 16px;
  box-shadow: var(--shadow-main);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .15s, border-color .15s;
}
.service-list > div:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(41,86,60,0.12);
}
.service-list h3 {
  color: var(--accent); font-size: 1.07rem; margin-bottom: 9px;
}

@media (max-width: 900px) {
  .service-list { gap: 16px; }
  .service-list > div { min-width: 160px; padding: 14px 9px; }
}
@media (max-width: 600px) {
  .service-list { flex-direction: column; gap: 18px; }
}

/* --------------------------------------------------
    SECTIONS, LISTS, FEATURES, ABOUT, TEXTS
-------------------------------------------------- */
ul {
  padding-left: 0;
  list-style: disc inside none;
}
ul li, ol li {
  margin-bottom: 10px;
}
.content-wrapper ul {
  margin-bottom: 16px;
}
.text-section {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 14px 18px;
  margin-bottom: 28px;
}
.text-section p { font-size: 1.06rem; color: var(--text); }

/* Content alignment for grids */
.content-grid, .card-container, .service-list {
  gap: 20px;
}
.text-image-section { gap: 30px; }

@media (max-width: 900px) {
  .content-wrapper { max-width: 98vw!important; }
}
@media (max-width: 768px) {
  .card-container, .content-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 15px; }
  .content-wrapper { padding: 0; }
}

/* --------------------------------------------------
    MAP PLACEHOLDER (KONTAKT PAGE)
-------------------------------------------------- */
.map-placeholder {
  background: var(--gray-300);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.03rem;
  font-style: italic;
  border: 1px dashed var(--primary);
}

/* --------------------------------------------------
    FOOTER
-------------------------------------------------- */
footer {
  padding: 38px 0 0 0;
  background: var(--bg-section);
  color: var(--primary);
  box-shadow: 0 -2px 16px rgba(41,86,60,0.047);
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 22px;
}
.footer-menu a {
  font-size: 1rem;
  color: var(--primary);
  opacity: 0.9;
  transition: color .16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--accent);
}
.newsletter-signup {
  margin-bottom: 26px;
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 21px 23px 19px 23px;
  box-shadow: 0 2px 10px rgba(41,86,60,0.06);
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.newsletter-signup h4 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.newsletter-signup p {
  font-size: 1rem;
  color: var(--text-light);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.social-links span {
  margin-right: 10px;
  color: var(--text-light);
  font-family: 'Roboto', Arial, sans-serif;
}
.social-links a img {
  width: 27px;
  height: 27px;
  display: block;
  border-radius: 6px;
  transition: box-shadow .15s;
  box-shadow: 0 1.5px 4px rgba(41,86,60,0.07);
}
.social-links a:hover img,
.social-links a:focus img {
  box-shadow: 0 5px 15px rgba(169,89,39, 0.19);
}
.footer-note {
  margin: 34px 0 0 0;
  padding-bottom: 18px;
  font-size: 0.99rem;
  color: var(--text-light);
  text-align: left;
}
@media (max-width: 768px) {
  .footer-menu, .social-links, .newsletter-signup {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }
  .newsletter-signup { max-width: 98vw; padding: 17px 10px; }
}
/* --------------------------------------------------
   BUTTONS & INTERACTIVES
-------------------------------------------------- */
button, .cta-btn {
  font-family: 'Roboto', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
  box-shadow: 0 1px 6px rgba(41,86,60,0.03);
}
button:hover, button:focus {
  background: var(--accent);
}
.cta-btn.secondary { background: var(--secondary); color: var(--primary); }
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--primary); color: #fff; }

/* --------------------------------------------------
   ANIMATION & MICRO-INTERACTIONS
-------------------------------------------------- */
.card, .service-list > div, .testimonial-card, .cta-btn, .newsletter-signup, .text-section, .social-links a img {
  transition: box-shadow .16s, background .17s, border-color .16s, color .13s;
}
.cta-btn {transition: background .17s, color .16s, box-shadow .14s;}

/* --------------------------------------------------
   COOKIE BANNER + COOKIE SETTINGS MODAL
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: var(--bg-section);
  border-top: 1.5px solid var(--border);
  box-shadow: 0 -2px 20px rgba(41,86,60,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  z-index: 2700;
  padding: 14px 7px;
  font-size: 1rem;
  color: var(--text-dark);
  animation: cookie-fade-in .6s ease-in;
}
@keyframes cookie-fade-in {0%{transform:translateY(80px);opacity:0;}100%{transform:translateY(0);opacity:1;}}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 11px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cta-btn {
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  box-shadow: 0 1px 6px rgba(41,86,60,0.03);
  cursor: pointer;
  border: none;
}
.cookie-banner .cta-btn {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cta-btn.accent {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--border);
  transition: background .16s;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: var(--bg-section);
  color: var(--accent);
}

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  min-width: 320px;
  width: 95vw;
  max-width: 440px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(41,86,60,0.19),0 1px 6px rgba(41,86,60,0.09);
  z-index: 2800;
  padding: 33px 24px 19px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--text-dark);
  animation: cookie-modal-in .36s cubic-bezier(.46,.14,.28,1.18);
}
@keyframes cookie-modal-in {0%{transform:translate(-50%,-34%) scale(0.83);opacity:0;}100%{transform:translate(-50%,-50%) scale(1);opacity:1;}}
.cookie-modal h2 { font-size: 1.5rem; margin-bottom: 11px; color: var(--primary); }
.cookie-modal section {background: none; padding: 0; margin-bottom: 13px;}
.cookie-modal ul { margin-bottom: 15px; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
}
.cookie-modal .cookie-toggle {
  width: 36px; height: 20px;
  background: var(--gray-200);
  border-radius: 10px;
  position: relative;
  transition: background .15s;
  margin-right: 6px;
}
.cookie-modal .cookie-toggle input { display: none; }
.cookie-modal .cookie-toggle span {
  display:block;
  position:absolute;
  left:3px; top:3px;
  width:14px; height:14px;
  background: var(--primary);
  border-radius: 50%;
  transition: left .14s, background .13s;
}
.cookie-modal .cookie-toggle input:checked + span {
  left: 19px;
  background: var(--accent);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-save {
  background: var(--primary);
  color: #fff;
}
.cookie-modal .cookie-cancel {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--border);
}

@media (max-width: 500px) {
  .cookie-modal { padding: 14px 5px 13px 7px; max-width: 99vw; }
}

/* Hide modal and banner by default, show with class .show */
.cookie-banner, .cookie-modal { display: none; }
.cookie-banner.show { display: flex; }
.cookie-modal.show { display: flex; }

/* --------------------------------------------------
   MISC
-------------------------------------------------- */
::-webkit-input-placeholder { color: var(--text-light); } /* Safari/Chrome */
::-moz-placeholder { color: var(--text-light); }
:-ms-input-placeholder { color: var(--text-light); }
::placeholder { color: var(--text-light); }

a { transition: color .13s, background .12s; }

/* --- TEXT SELECTION --- */
::selection { background: var(--secondary); }

/* --- DISABLED STATE ---  */
[disabled] {
  opacity: 0.5!important;
  pointer-events: none!important;
}

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