/* ========================================================================
   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, 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;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: #F5F3ED;
  color: #1E2D3C;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, nav, section {
  display: block;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
table { width: 100%; border-collapse: collapse; border-spacing: 0; }
th, td { padding: 8px 12px; text-align: left; }
button { background: none; border: none; cursor: pointer; font: inherit; }
input, select, textarea, button { font-family: inherit; font-size: inherit; box-sizing: border-box; }

/* ========================================================================
   BRAND FONTS
   ======================================================================== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

:root {
  --brand-primary: #1E2D3C;
  --brand-accent: #C0A16B;
  --brand-secondary: #F5F3ED;
  --brand-brown: #8E735B;
  --brand-forest: #476923;
  --brand-green-accent: #406A41;
  --brand-dark-text: #1E2D3C;
  --brand-light-bg: #FFFDF8;
  --brand-shadow: 0 4px 24px rgba(30,45,60,0.08);
  --radius-lg: 32px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --gap-lg: 40px;
  --gap-md: 24px;
  --gap: 20px;
  --gap-sm: 12px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', Arial, Helvetica, sans-serif;
}

/* ========================================================================
   LAYOUT: STRUCTURE & SPACING
   ======================================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section,
.hero,
.features,
.about,
.services,
.testimonials,
.contact-quick,
.contact-form-section,
.features-team,
.features-steps,
.features-digital,
.services-prozess,
.key-features,
.legal,
.contact-expose,
.contact-info,
.contact-virtual,
.contact-sell,
.thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-light-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--brand-shadow);
}
/* Remove box-shadow for hero section for more organic openness */
.hero {
  box-shadow: none;
  background: linear-gradient(120deg, #f5f3ed 80%, #d3e2d2 100%);
}
/* Slight difference for sections in secondary context */
.features-team, .features-steps, .features-digital {
  background: #EEF2DD;
  box-shadow: 0 2px 12px rgba(64, 106, 65, 0.10);
}

/* Card containers & grids */
.card-container, .feature-grid, .features, .features-team, .features-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--brand-shadow);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  background: #F8F6F2;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(192,161,107,0.10);
  padding: 24px 20px 20px 20px;
  min-width: 230px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover {
  box-shadow: 0 4px 24px rgba(192,161,107,0.18);
  transform: translateY(-2px) scale(1.03);
}

/* Testimonial cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #FFF;
  box-shadow: 0 2px 12px rgba(64,106,65,0.13);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.testimonial-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--brand-dark-text);
}
.testimonial-stars {
  color: var(--brand-accent);
  font-size: 17px;
  letter-spacing: 1.5px;
}

/* Contact list */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.contact-list a {
  color: var(--brand-forest);
  font-weight: bold;
  text-decoration: underline dotted #A0B184 1px;
  transition: color 0.2s;
}
.contact-list a:hover { color: var(--brand-accent); }

/* Pricing table */
.pricing-table {
  margin-top: 10px;
  background: #F0ECDC;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  box-shadow: 0 2px 8px rgba(192,161,107,0.07);
  padding: 14px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pricing-table table {
  background: transparent;
  width: 100%;
  font-size: 16px;
}
.pricing-table th {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--brand-forest);
}
.pricing-table td {
  border-bottom: 1px solid #E0DAC8;
  padding: 10px 0;
  color: var(--brand-dark-text);
}

/* Cookie banner & modal styles */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9998;
  background: #FFF;
  color: var(--brand-dark-text);
  border-top: 1px solid #E5E2D7;
  box-shadow: 0 -2px 24px rgba(30,45,60,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  animation: bannerIn 0.6s cubic-bezier(.48,.29,0,1.01);
}
@keyframes bannerIn { from { transform: translateY(40px); opacity:0; } to { transform: translateY(0); opacity:1; } }

.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-banner .cookie-btn {
  border-radius: var(--radius-sm);
  font-size: 15px;
  padding: 7px 18px;
  font-family: var(--font-body);
  outline: none;
  border: none;
  box-shadow: 0 1px 3px 0 rgba(30,45,60,0.05);
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.22s;
}
.cookie-banner .cookie-btn.accept {
    background: var(--brand-forest);
    color: #fff;
    font-weight: 700;
}
.cookie-banner .cookie-btn.accept:hover {
    background: #324E1F;
}
.cookie-banner .cookie-btn.reject {
    background: #E5E2D7;
    color: var(--brand-dark-text);
}
.cookie-banner .cookie-btn.reject:hover {
    background: #C0A16B;
}
.cookie-banner .cookie-btn.settings {
    background: transparent;
    color: var(--brand-forest);
    border: 1px solid var(--brand-forest);
}
.cookie-banner .cookie-btn.settings:hover {
    background: #EBF6E5;
    color: var(--brand-brown);
    border-color: var(--brand-brown);
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(64,106,65,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalOverlayIn .5s;
}
@keyframes modalOverlayIn { from { opacity:0; } to { opacity:1; } }

.cookie-modal {
  background: #FFF;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 32px rgba(64,106,65,0.17);
  padding: 36px 22px 26px 22px;
  width: 100%;
  max-width: 420px;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalIn .5s cubic-bezier(.38,.95,0,1);
}
@keyframes modalIn { from { transform:scale(.93) translateY(44px); opacity:0; } to { transform:scale(1) translateY(0); opacity:1; } }

.cookie-modal h3 {
  font-size: 20px;
  font-family: var(--font-display);
  color: var(--brand-forest);
  margin-bottom: 0.2em;
}
.cookie-modal label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 16px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.cookie-modal .desc {
  color: #5B6B61;
  font-size: 15px;
  margin-bottom: 6px;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}
.cookie-modal .close-btn {
  background: none;
  border: none;
  color: #DDD;
  position: absolute;
  top: 12px;
  right: 13px;
  font-size: 22px;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  transition: color .15s;
  z-index:1;
}
.cookie-modal .close-btn:hover {color:var(--brand-brown);}

/* ========================================================================
   TYPOGRAPHY
   ======================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--brand-dark-text);
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.13;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--brand-forest);
}
h3 {
  font-size: 1.28rem;
  color: var(--brand-brown);
}
h4, h5 {
  font-size: 1.08rem;
  font-family: var(--font-body);
}
p, ul, ol, li, table, td, th {
  color: var(--brand-dark-text);
  font-size: 1rem;
  font-family: var(--font-body);
  line-height: 1.7;
  font-weight: 400;
}
p {
  margin-bottom: 9px;
  margin-top: 0;
}
ul, ol {
  margin-bottom: 8px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 5px;
  font-weight: 400;
}
strong, b { font-weight: bold; }
em, i { font-style: italic; }

/* Brand Accent in content */
.feature-price {
  font-size: 15px;
  color: var(--brand-accent);
  font-weight: bold;
  background: #faf8f2;
  border-radius: 8px;
  padding: 3px 11px;
  letter-spacing: 0.08em;
}

/* ========================================================================
   HEADER & NAVIGATION
   ======================================================================== */
header {
  background: #f8f7f3;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(30,45,60,.05);
  border-bottom: 1px solid #ece7df;
}
header .container { flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; }
.logo img { height: 36px; }
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--brand-dark-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E5E2D7;
  color: var(--brand-forest);
}

.cta.primary {
  background: var(--brand-forest);
  color: #fff;
  font-weight: 900;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 26px;
  border-radius: var(--radius-md);
  transition: background 0.2s, transform 0.18s, box-shadow 0.16s;
  box-shadow: 0 3px 8px 0 rgba(80,130,80,0.10);
  text-align: center;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: #324E1F;
  transform: scale(1.035);
  box-shadow: 0 6px 18px 0 rgba(64,106,65,0.15);
}
.cta.secondary {
  background: #F0ECDC;
  color: var(--brand-forest);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  transition: background 0.14s, color 0.14s, box-shadow 0.10s;
  border: none;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--brand-accent);
  color: #fff;
}

/* ========================================================================
   BURGER MENU: MOBILE NAV
   ======================================================================== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E9F2E5;
  color: var(--brand-forest);
  width: 44px;
  height: 44px;
  margin-left: 8px;
  border-radius: 50%;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 1002;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-accent);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 370px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 32px rgba(64,106,65,0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.44s cubic-bezier(.7,0,.26,1), box-shadow 0.18s;
  will-change: transform;
  padding: 38px 24px 18px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -8px 0 24px rgba(64,106,65,0.22);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.2rem;
  color: #A0B184;
  background: none;
  border: none;
  padding: 7px 14px;
  border-radius: 50%;
  transition: background 0.15s, color 0.12s;
  z-index: 1;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #EBF6E5;
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.mobile-nav a {
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--brand-dark-text);
  padding: 12px 0;
  border-bottom: 1px solid #EEEDDE;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-forest);
  background: #F6F8F2;
}

/* Overlay for mobile menu (optional, implement if desired) */
.mobile-menu-backdrop {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(64,106,65,0.14);
  z-index: 1999;
}

/* Hide desktop nav on mobile */
@media (max-width: 992px) {
  .main-nav { display: none !important; }
  .cta.primary { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
  .cta.primary { display: inline-block; }
}

/* Make sure header children are responsive */
@media (max-width: 700px) {
  header .container { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .logo img { height: 30px; }
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer {
  background: #E9F2E5;
  padding: 38px 0 20px 0;
  border-top: 1px solid #EEE;
  margin-top: 60px;
}
footer .container {
  gap: 27px;
  flex-direction: column;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--brand-brown);
  text-decoration: underline dotted #C0A16B 1px;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--brand-forest); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #859471;
}
.footer-brand img {
  height: 28px;
  border-radius: 7px;
  background: var(--brand-forest);
  padding: 2px;
}

/* ========================================================================
   SECTIONS, CARDS, UI ELEMENTS (NATURE ORGANIC FEEL)
   ======================================================================== */
.hero h1,
.hero h2 { color: var(--brand-forest); }
.hero p,
.hero a { font-size: 1.13rem; }

.icons-row {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: start;
  margin-top: 16px;
  margin-bottom: 4px;
}
.icons-row img {
  height: 46px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(192,161,107,0.07);
  background: #eeeadb;
}

.service-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 0 0 0;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #EEF2DD;
  border-radius: var(--radius-sm);
  padding: 14px 14px 7px 18px;
  font-size: 15px;
  color: var(--brand-dark-text);
}
.process-steps h3 { color: var(--brand-forest); font-size: 1.12rem; }

.key-features ul {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 16px;
}
.key-features {
  background: #F9F8F6;
  border-radius: 12px;
  padding: 14px 18px 11px 18px;
  margin: 10px 0 14px 0;
}

/* Organic Button Shapes */
.cta.primary, .cta.secondary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  border-radius: 32px 20px 24px 36px;
}

/* Card Shadow & Borders */
.card, .feature-item, .testimonial-card {
  box-shadow: 0 2px 14px 0 rgba(64,106,65,0.08);
  border-radius: 24px 14px 14px 44px;
  border: 1px solid #e9e6dc;
}

/* Organic section background patterns (subtle SVG noise effect) */
.section, .about, .features, .testimonials, .services, .services-prozess, .features-steps, .features-digital, .legal {
  background-image: url('data:image/svg+xml,%3Csvg opacity=".06" width="80" height="80" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cellipse cx="40" cy="40" rx="37" ry="27" fill="%23406A41" /%3E%3Cellipse cx="12" cy="69" rx="7" ry="4" fill="%23C0A16B"/%3E%3Cellipse cx="70" cy="16" rx="5.5" ry="3.5" fill="%238E735B"/%3E%3C/svg%3E');
  background-repeat: repeat;
  background-size: 180px 120px;
}

/* Section hierarchy spacing */
.section + .section,
.about + .about,
.features + .features,
.testimonials + .testimonials,
.services + .services,
.contact-quick + .contact-quick {
  margin-top: 32px;
}

/* ========================================================================
   MICROS & INTERACTIVITY
   ======================================================================== */
.card, .feature-item, .cta.primary, .cta.secondary, .testimonial-card, .mobile-menu, .cookie-btn {
  transition: box-shadow 0.21s, transform 0.17s, background 0.18s, color 0.16s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(64,106,65,0.14);
  transform: translateY(-2px) scale(1.017);
}
.feature-item:hover {
  transform: translateY(-2px) scale(1.027);
  background: #F2ECD4;
}
a:focus-visible, .cta:focus-visible, button:focus-visible {
  outline: 3px solid #C0A16B;
  outline-offset: 2px;
}

/* ========================================================================
   RESPONSIVE DESIGN – MOBILE-FIRST
   ======================================================================== */
@media (max-width: 1280px) {
  .container { padding: 0 13px; }
}
@media (max-width: 1020px) {
  .feature-grid, .features, .features-team, .features-steps {
    flex-direction: column;
    gap: 17px;
  }
  .footer-nav { gap: 14px; }
}
@media (max-width: 920px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.42rem; }
}
@media (max-width: 768px) {
  .container, .section { padding: 0 7px; }
  .hero, .section { padding: 24px 0; }
  .feature-grid { flex-direction: column; gap: 18px; }
  .feature-item, .card, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  header .container { flex-direction: row; gap: 6px; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.14rem; }
  .hero p { font-size: 1rem; }
  .mobile-menu { width: 94vw; max-width: 420px; padding: 32px 10px 12px 10px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
  .icons-row { gap: 15px; }
  .footer-brand { gap: 7px; }
}
@media (max-width: 500px) {
  .feature-item, .card, .testimonial-card { padding: 12px 7px 11px 7px; }
  .section, .container { padding: 0 2px !important; }
  .hero, .section { padding: 9px 0 16px 0; }
  .footer-brand img { height: 20px; }
}

/* ========================================================================
   MISC: GENERAL OVERRIDES
   ======================================================================== */
::-webkit-input-placeholder { color: #979989; }  /* WebKit browsers */
:-moz-placeholder { color: #979989; opacity: 1; }  /* Mozilla Firefox 4 to 18 */
::-moz-placeholder { color: #979989; opacity: 1; }  /* Mozilla Firefox 19+ */
:-ms-input-placeholder { color: #979989; }  /* Internet Explorer 10+ */
::-ms-input-placeholder { color: #979989; }  /* Microsoft Edge */

[tabindex='-1']:focus { outline: none !important; }

/* ========================================================================
   PRINT
   ======================================================================== */
@media print {
  * { color: #333 !important; box-shadow: none !important; background: none !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay { display: none !important; }
}
