/* ==================================================
   NATURE_ORGANIC THEME FOR STARLIT ENGINE BERATUNG
   Modern, natural, organic, mobile-first
   Flexbox-only layouts – NO GRID PROPERTIES!
   ================================================== */

/* 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, 
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 {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  background: #F5F7FA;
  color: #25321A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #19314A;
  text-decoration: none;
  transition: color 0.2s;
}

a:focus {
  outline: 2px solid #6ABA4B;
  outline-offset: 2px;
}

a:hover {
  color: #7E892D;
}

/* BRAND COLORS - CSS VARS with fallbacks */
:root {
  --color-primary: #19314A;
  --color-primary-dark: #112437;
  --color-secondary: #F5F7FA;
  --color-accent: #D69F23;
  --color-green: #6ABA4B;
  --color-earth: #B8A07E;
  --color-brown: #61481C;
  --color-bg: #F5F7FA;
  --color-white: #FFF;
  --color-text: #25321A;
  --color-muted: #87987c;
  --shadow-soft: 0 3px 14px rgba(34,51,17,0.12);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #19314A;
  font-weight: 700;
  letter-spacing: .01em;
}
h1 { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.16; }
h2 { font-size: 1.6rem; margin-bottom: 16px; line-height: 1.18; }
h3 { font-size: 1.18rem; margin-bottom: 12px; font-weight: 600; }
.subtitle { font-size: 1.1rem; color: var(--color-muted); margin-bottom: 20px; font-weight: 400; }
p { margin-bottom: 16px; max-width: 800px; }
strong { color: var(--color-text); font-weight: 700; }
ul, ol { margin-left: 22px; margin-bottom: 20px; }
ul li, ol li { margin-bottom: 8px; }

.text-section ul, .service-comparisons ul {
  padding-left: 1.2em;
  list-style: none;
}
.text-section ul li:before, .service-comparisons ul li:before {
  content: '\2713  ';
  color: var(--color-green);
  margin-right: 6px;
  font-weight: bold;
}

/* LAYOUT STRUCTURE */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

main {
  background: var(--color-bg);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

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

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.5px solid #E6E8E2;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(33, 60, 30, 0.18);
  transform: translateY(-3px) scale(1.012);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 22px;
  background: var(--color-white);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px rgba(26, 85, 56, 0.108);
  border-left: 7px solid var(--color-green);
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 280px;
}
.star-rating {
  font-size: 1.18rem;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.testimonial-card p {
  color: #24351D;
}
.testimonial-card strong {
  color: var(--color-primary);
}

/* Organic shapes for visual flourishes: SVG blobs (if used in code) */
.organic-shape {
  z-index: 0;
  position: absolute;
  opacity: 0.10;
  pointer-events: none;
}

/* ========== NAVIGATION & HEADER ========== */
header {
  background: linear-gradient(135deg,#F5F7FA 70%, #EDEAE0 96%);
  box-shadow: 0 3px 10px 0 rgba(45,72,41,0.04);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 54px;
  border-radius: 9px;
  background: rgba(222,238,211,0.2);
  box-shadow: 0 2px 7px rgba(125,135,85,0.08);
  padding: 7px;
}

nav.main-navigation {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-navigation a {
  color: #25321A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  padding: 6px 9px;
  border-radius: 9px;
  transition: background 0.17s, color 0.17s;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: #EBF4E0;
  color: var(--color-green);
}
/* Primary CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--color-green);
  color: #FFF !important;
  border: none;
  padding: 13px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 28px 28px 18px 28px / 32px 24px 28px 28px;
  box-shadow: 0 2px 10px rgba(105, 171, 72, 0.11);
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  margin-left: 16px;
  gap: 10px;
  margin-bottom: 0;
  line-height: 1.22;
  transition: box-shadow 0.14s, background 0.18s, transform 0.11s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #7E892D;
  box-shadow: 0 4px 14px rgba(111,181,77,0.18);
  color: #FFF;
  transform: translateY(-2px) scale(1.016);
  outline: none;
}

/* BURGER/MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-green);
  cursor: pointer;
  z-index: 1101;
  margin-left: 0.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 6px 8px;
  transition: background 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EEF3E6;
  color: #7E892D;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,247,250,0.96);
  box-shadow: 0 4px 25px rgba(60,61,33,0.19);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  transform: translateX(-110vw);
  transition: transform 0.33s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.25rem;
  color: var(--color-brown);
  align-self: flex-end;
  margin: 22px 30px 10px 0;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E9F5DC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 36px 38px 16px 44px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: #273A26;
  padding: 9px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 11px;
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E6F3E0;
  color: var(--color-green);
  outline: none;
}

@media (min-width: 900px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  nav.main-navigation {
    display: flex !important;
  }
  .btn-primary {
    margin-left: 20px;
  }
}
@media (max-width: 899px) {
  nav.main-navigation,
  .btn-primary {
    display: none !important;
  }
}

/* ================= SECTION, FEATURE, AND CARD STYLES ================= */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 240px;
  min-width: 210px;
  background: #FCFEF9;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(26, 85, 56, 0.06);
  padding: 22px 18px 20px 18px;
  border: 1.2px solid #EAEBE7;
  transition: box-shadow .16s, transform .15s;
}
.feature-item img {
  height: 46px;
  width: auto;
}
.feature-item h3 {
  color: var(--color-green);
  margin-bottom: 5px;
  font-size: 1.08rem;
  letter-spacing: .02em;
  font-weight: 600;
}
.feature-item:hover {
  box-shadow: 0 8px 26px rgba(34,81,31,0.12);
  border-color: #D9E9CA;
  transform: translateY(-2px) scale(1.04);
}

/* SERVICE LISTS (dienstleistungen.html) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
}
.service-item {
  background: #FCFEF9;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border-left: 7px solid var(--color-accent);
  padding: 22px 22px 18px 22px;
  flex: 1 1 320px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow .15s, transform .14s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.service-item h3 {
  font-size: 1.067rem;
  color: var(--color-brown);
  font-weight: 700;
  margin-bottom: 5px;
}
.service-item span {
  color: var(--color-green);
  font-weight: 600;
}
.service-item:hover {
  box-shadow: 0 8px 26px rgba(186,148,35,0.12);
  border-left: 7px solid #7E892D;
  transform: translateY(-2px) scale(1.04);
}

/* TEAM PROFILES & BADGES */
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.team-member {
  background: #F5F7FA;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(34,81,31,0.06);
  padding: 18px 22px;
  flex: 1 1 240px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: box-shadow .13s, transform .13s;
}
.team-member img { height: 54px; border-radius: 50%; margin-bottom: 3px; }
.team-member h3 { margin-bottom: 5px; color: var(--color-green); }
.team-member:hover {
  box-shadow: 0 6px 22px rgba(61,91,31,0.12);
  transform: translateY(-2px) scale(1.03);
}

.trust-badges, .highlighted-features, .expertise-icons, .security-expertise-icons, .value-propositions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  margin-bottom: 0;
}
.trust-badges img, .highlighted-features img, .expertise-icons img, .security-expertise-icons img, .value-propositions img {
  height: 38px;
  border-radius: 50%;
  background: #E7ECD9;
  padding: 7px;
  box-shadow: 0 1px 3px rgba(172,183,130,0.08);
}

/* TIMELINE STEPS (ablauf.html) */
.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.timeline-step {
  flex: 1 1 210px;
  min-width: 180px;
  background: #F5F7FA;
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(34,51,17,0.08);
  padding: 22px 20px 18px 20px;
  border-left: 6px solid #E4CD8B;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow .14s, border-left-color .14s;
}
.timeline-step img { height: 40px; margin-bottom: 6px; }
.timeline-step h3 { color: var(--color-green); margin-bottom: 3px; }
.timeline-step:hover {
  box-shadow: 0 8px 22px rgba(216,159,35,0.14);
  border-left-color: #D69F23;
}

/* FAQ / ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #FCFEF9;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(229,211,190,0.10);
  padding: 20px 18px 14px 22px;
  border-left: 6px solid var(--color-green);
  margin-bottom: 20px;
  transition: box-shadow .13s, border-left-color .13s;
}
.faq-item h3 {
  font-size: 1.01rem;
  color: var(--color-brown);
  font-weight: 600;
  margin-bottom: 8px;
}
.faq-item:hover {
  box-shadow: 0 4px 15px rgba(154,183,77,0.13);
  border-left-color: #7E892D;
}

/* PRICING TABLE (preise.html) */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  background: #F5F7FA;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 9px rgba(182,176,126,0.11);
  font-size: 1rem;
}
.pricing-table th,
.pricing-table td {
  padding: 18px 13px;
  text-align: left;
}
.pricing-table thead {
  background: #EBE7DE;
  color: #19314A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.pricing-table tr {
  border-bottom: 1.5px solid #ECEDE6;
}
.pricing-table tr:last-child { border-bottom: none; }
.pricing-table td {
  color: #25321A;
  background: #F5F7FA;
}
.pricing-table td:nth-child(2) {
  color: var(--color-green);
  font-weight: 600;
  font-size: 1.02rem;
}

/* CONTACT INFO */
.contact-info {
  background: #FCFEF9;
  border-radius: 13px;
  box-shadow: 0 2px 11px rgba(124,171,56,0.05);
  padding: 20px 20px 14px 23px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-green);
}
.contact-info a {
  color: var(--color-accent);
  font-weight: 600;
  transition: color 0.15s;
}
.contact-info a:hover { color: #7E892D; }
.map-location {
  background: #F2F4ED;
  border-radius: 11px;
  padding: 16px 14px 13px 17px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  margin-top: 0;
  border-left: 5px solid #B8A07E;
}
.map-location img { height: 38px; }

/* CTA/CTA SECTIONS (usually a single button) */
.content-wrapper .btn-primary {
  margin-top: 8px;
  align-self: flex-start;
}

/* FOOTER STYLES */
footer {
  background: linear-gradient(104deg,#F3F5ED 65%, #E5E2D7 100%);
  color: #25321A;
  box-shadow: 0 -2px 10px rgba(137,170,77,0.045);
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 80px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-navigation a {
  color: #25321A;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.footer-navigation a:hover {
  color: var(--color-green);
  background: #ECF3E6;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.footer-brand img {
  height: 34px;
  border-radius: 10px;
  background: #EEF3E7;
  padding: 5px;
  box-shadow: 0 2px 9px rgba(125,135,95,0.06);
}
.footer-brand span {
  font-size: 1rem;
  color: #796849;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ================ COOKIE BANNER ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: #F3F5ED;
  color: #25321A;
  box-shadow: 0 -2px 12px rgba(172,183,116,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px 24px 18px;
  font-size: 1.02rem;
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
  transform: translateY(0);
}
.cookie-banner.hidden {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  max-width: 640px;
  margin-right: 33px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 22px / 32px 22px 22px 22px;
  padding: 10px 20px;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, transform 0.14s;
}
.cookie-btn.accept {
  background: var(--color-green);
  color: #fff;
  box-shadow: 0 3px 12px rgba(86,180,51,0.14);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #7E892D;
  color: #fff;
  transform: translateY(-1px) scale(1.028);
}
.cookie-btn.reject {
  background: #E7ECD9;
  color: #19314A;
  border: 1.2px solid #B8A07E;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #CFBE95;
  color: #fff;
  border-color: #AE9147;
}
.cookie-btn.settings {
  background: #FFF;
  color: var(--color-accent);
  border: 1.2px solid #D69F23;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #F9EFD1;
  color: #B88C21;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 9px 16px 9px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
    margin-bottom: 13px;
  }
}

/* COOKIE BANNER MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 3501;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(67,80,27,0.21);
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.23s cubic-bezier(0.77,0,0.175,1);
}
.cookie-modal[hidden] {
  display: none;
  pointer-events: none;
  opacity: 0;
}
.cookie-modal .modal-box {
  background: #F7FBF2;
  border-radius: 18px;
  max-width: 420px;
  width: 96vw;
  box-shadow: 0 18px 36px rgba(63,93,31,0.14);
  padding: 28px 30px 30px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #B8A07E;
  cursor: pointer;
  border-radius: 9px;
  transition: background 0.16s;
  z-index: 1;
}
.modal-close:hover, .modal-close:focus {
  background: #EAEBE7;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.category-toggle {
  margin-left: auto;
  cursor: pointer;
  background: #EDF5E3;
  border-radius: 19px;
  width: 52px;
  height: 31px;
  border: none;
  position: relative;
  transition: background 0.14s;
  appearance: none;
  outline: none;
}
.category-toggle[aria-checked="true"] {
  background: var(--color-green);
}
.category-toggle:before {
  content: '';
  display: block;
  width: 23px;
  height: 23px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(61,81,11,0.10);
  position: absolute;
  top: 4px; left: 6px;
  transition: left 0.18s;
}
.category-toggle[aria-checked="true"]:before {
  left: 23px;
}
.cookie-category label {
  font-weight: 650;
  color: #26341C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  margin-right: 7px;
}
.cookie-category .category-desc {
  font-family: 'Roboto', Arial, sans-serif;
  color: #75705C;
  font-size: 0.92rem;
  margin-left: 8px;
}
.cookie-category .always-on {
  color: var(--color-green);
  font-size: 0.93rem;
  font-weight: 600;
  margin-left: 10px;
}

/* ================== RESPONSIVE =================== */
@media (max-width: 1000px) {  
  .feature-grid, .team-profiles, .content-grid, .timeline {
    gap: 16px;
  }
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) { 
  .container { max-width: 99vw; }
  header .container, footer .container { flex-direction: column; gap: 13px; align-items: flex-start;}
  .footer-navigation { gap: 13px; }
  .footer-brand { margin-bottom: 8px; }
  nav.main-navigation, .btn-primary { display: none !important; }
}
@media (max-width: 768px) {
  .content-wrapper, .feature-grid, .team-profiles, .timeline, .content-grid {
    flex-direction: column !important;
    align-items: stretch;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .timeline {
    gap: 8px;
  }
  .feature-item, .team-member, .timeline-step, .service-item {
    min-width: 96px;
    width: 100%;
    margin-bottom: 14px;
  }
  .card {
    padding: 18px 10px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .pricing-table th,
  .pricing-table td {
    padding: 8px 5px;
    font-size: 0.92rem;
  }
}

/* Animation for mobile menu */
@media (max-width: 899px) {
  .mobile-menu {
    display: flex;
  }
}

/* Utility */
.hidden,
[hidden] {
  display: none !important;
}
