/* CSS Reset & Normalize */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F5F6FA;
  color: #191C24;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; height: auto; }
a {
  color: #22543D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7EB26D;
}
ul { list-style: none; }

/* Brand Fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Header & Navigation */
header {
  width: 100%;
  background: #fff;
  border-bottom: 3px solid #7EB26D;
  box-shadow: 0 4px 18px rgba(34,84,61,0.09);
  z-index: 100;
  position: sticky;
  top: 0;
}
.main-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-menu a {
  font-weight: 700;
  font-family: 'Roboto Slab', Georgia, serif;
  text-transform: uppercase;
  font-size: 1.125rem;
  color: #22543D;
  letter-spacing: 0.02em;
  position: relative;
  padding: 5px 2px;
}
.main-menu a:hover, .main-menu a:focus {
  color: #7EB26D;
}

.cta-button {
  background: #7EB26D;
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 900;
  border: none;
  border-radius: 36px;
  padding: 14px 32px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px 0 rgba(126,178,109,0.16);
  transition: background 0.18s, box-shadow 0.25s, transform 0.18s;
  cursor: pointer;
  display: inline-block;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: #22543D;
  color: #fff;
  box-shadow: 0 12px 48px 0 rgba(34,84,61,0.20);
  transform: translateY(-2px) scale(1.035);
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: #7EB26D;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #22543D;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #22543D;
  color: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.69,0.12,0.38,1.17);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  padding: 16px 20px 8px 20px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 999999;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7EB26D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 40px 28px 28px 28px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.4rem;
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.06em;
  border-radius: 16px;
  padding: 12px 12px 12px 0;
  width: 100%;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7EB26D;
  color: #22543D;
}

/* Hero Section */
.hero {
  background: #22543D;
  color: #fff;
  padding: 60px 0 50px;
  display: flex;
}
.hero h1 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  color: white;
}
.hero p {
  font-size: 1.18rem;
  color: #F5F6FA;
  margin-bottom: 24px;
  max-width: 600px;
}
.hero .cta-button {
  margin-top: 10px;
}

/* Section / Card Patterns */
.section, .features, .services, .about, .contact, .testimonials, .cta, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(34,84,61,0.07);
}
.features, .about, .testimonials, .services, .legal {
  margin-bottom: 60px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(34,84,61,0.10);
  padding: 28px 24px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  min-height: 150px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 20px 24px;
  background: #F5F6FA;
  border-left: 10px solid #7EB26D;
  border-radius: 20px;
  margin-bottom: 28px;
  box-shadow: 0 6px 24px rgba(34,84,61,0.07);
}
.testimonial-card p, .testimonial-card h3 {
  color: #191C24;
  font-size: 1.1rem;
  line-height: 1.7;
}
.testimonial-card strong {
  color: #22543D;
  font-size: 1rem;
  font-weight: 900;
  font-family: 'Roboto Slab', Georgia, serif;
}
.customer-logos {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid (produkte.html) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 20px;
}
.feature-grid > div {
  flex: 1 1 260px;
  background: #ecfff6;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(34,84,61,0.07);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 220px;
}
.feature-grid strong {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #22543D;
  font-size: 1.2rem;
  font-weight: 900;
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.tabs button {
  background: #fff;
  color: #22543D;
  border: 2px solid #7EB26D;
  border-radius: 99px;
  padding: 10px 28px;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.18s;
  outline: none;
}
.tabs button:hover, .tabs button:focus {
  background: #7EB26D;
  color: #fff;
  border-color: #22543D;
  box-shadow: 0 2px 8px 0 rgba(39,84,61,0.12);
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: #F5F6FA;
  border-radius: 16px;
  overflow: hidden;
}
thead th {
  background: #22543D;
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 14px;
}
tbody td {
  padding: 13px 12px;
  font-size: 1rem;
  border-bottom: 1px solid #dde6e5;
  color: #191C24;
}
tbody tr:last-child td { border-bottom: none; }

/* About/Legal/Contact Info Sections */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  list-style: disc;
  padding-left: 24px;
  color: #22543D;
}
.text-section li {
  margin-bottom: 8px;
  font-size: 1.06rem;
}
.text-section strong {
  font-weight: 900;
  color: #22543D;
}
.contact-information {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-information p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #191C24;
  font-size: 1rem;
}
.map-location p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #22543D;
}

/* Footer */
footer {
  background: #22543D;
  color: #fff;
  padding: 34px 0 24px 0;
  width: 100%;
  margin-top: 48px;
}
.footer-menu {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
.footer-menu a {
  color: #fff;
  font-weight: 700;
  font-family: 'Roboto Slab', Georgia, serif;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus { color: #7EB26D; }
footer p {
  text-align: center;
  opacity: 0.85;
  font-size: 0.99rem;
}

/* Section Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 900;
  color: #22543D;
  line-height: 1.13;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #7EB26D;
  font-weight: 900;
}
h4, h5, h6 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #191C24;
}

/* Review/Testimonials: High Contrast, No Overlay */
.testimonials {
  background: #F5F6FA;
  border-radius: 30px;
  box-shadow: 0 6px 32px rgba(34,84,61,0.10);
  color: #191C24;
}
.testimonials h2 {
  color: #22543D;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #191C24;
  color: #fff;
  width: 100vw;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 12px 22px 12px;
  box-shadow: 0 -4px 32px 0 rgba(34,84,61,0.14);
  gap: 24px;
  animation: cookieBannerIn 0.5s cubic-bezier(0.8,0,0.2,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}
.cookie-banner button {
  background: #7EB26D;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 11px 26px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(34,84,61,0.06);
  transition: background 0.13s, color 0.13s, transform 0.19s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #22543D;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #22543D;
  border: 2px solid #7EB26D;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #7EB26D;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 340px;
  max-width: 96vw;
  background: #fff;
  color: #191C24;
  transform: translate(-50%, -55%) scale(0.96);
  border-radius: 22px;
  box-shadow: 0 8px 44px rgba(34,84,61,0.19);
  z-index: 10000;
  padding: 40px 30px 32px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
  animation: cookieModalIn 0.25s cubic-bezier(0.8,0,0.2,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translate(-50%,-65%) scale(0.7); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  color: #22543D;
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0 17px;
}
.cookie-category {
  background: #F5F6FA;
  border-radius: 10px;
  padding: 17px 20px 13px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-category label {
  font-size: 1rem;
  color: #22543D;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: bold;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7EB26D;
  width: 22px; height: 22px;
}
.cookie-modal .close-modal {
  position: absolute; top: 14px; right: 20px;
  background: none; border: none; font-size: 1.7rem;
  color: #22543D; cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover { color: #7EB26D; }
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}
.cookie-modal button {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  font-weight: 900;
  padding: 10px 22px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  background: #7EB26D;
  color: #fff;
  transition: background 0.14s, color 0.13s, transform 0.16s;
}
.cookie-modal button.reject {
  background: #fff;
  color: #22543D;
  border: 2px solid #7EB26D;
}
.cookie-modal button.reject:hover {
  background: #7EB26D;
  color: #fff;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #22543D;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}

/* Responsive Design */
@media (max-width: 1150px) {
  .container { max-width: 980px; }
  .header-flex { gap: 14px; }
}
@media (max-width: 950px) {
  .container { max-width: 99vw; }
  .main-menu { gap: 18px; }
}
@media (max-width: 850px) {
  .main-menu { gap: 8px; }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.45rem; }
  .feature-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .header-flex {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .header-flex { gap: 4px; min-height: 64px; }
  .main-menu { display: none; }
  .cta-button { padding: 11px 20px; font-size: 1rem; }
  .mobile-menu-toggle {
    display: flex;
    z-index: 2002;
  }
  .container { padding-left: 7px; padding-right: 7px; }
  .section, .features, .services, .about, .contact, .testimonials, .cta, .legal {
    padding: 18px 5px 21px 5px;
    margin-bottom: 30px;
    border-radius: 10px;
  }
  .content-wrapper { gap: 14px; }
  .card-container, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .tabs { flex-direction: column; gap: 7px; }
  .footer-menu { flex-direction: column; gap: 12px; }
  .testimonial-card { padding: 16px 14px; border-radius: 14px; }
  .customer-logos { gap: 12px; }
}
@media (max-width: 530px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.3rem !important; }
  .footer-menu { font-size: 0.8rem; }
  .feature-grid > div { min-width: 0; padding: 10px 6px; }
  .tabs button { padding: 8px 10px; }
}

/* Animations & Microinteractions */
.cta-button, .tabs button, .main-menu a, .mobile-nav a, .cookie-banner button, .cookie-modal button {
  transition: background 0.2s, color 0.18s, box-shadow 0.16s, transform 0.18s;
}
.card, .testimonial-card, .feature-grid > div {
  transition: box-shadow 0.3s cubic-bezier(0.76,0.01,0.32,1);
}
.card:hover, .testimonial-card:hover, .feature-grid > div:hover {
  box-shadow: 0 10px 36px 0 rgba(34,84,61,0.14);
  transform: translateY(-2px) scale(1.02);
}

/* Miscellaneous */
::-webkit-scrollbar {
  width: 12px;
  background: #F5F6FA;
}
::-webkit-scrollbar-thumb {
  background: #7EB26D;
  border-radius: 100px;
}
::-webkit-input-placeholder { color: #b7bfcc; }
::-moz-placeholder { color: #b7bfcc; }
:-ms-input-placeholder { color: #b7bfcc; }
::placeholder { color: #b7bfcc; }

/* Geometric/Tech Accents (Example Dots) */
.hero::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: repeating-radial-gradient(circle,#7EB26D 0, #7EB26D 4px, transparent 5px, transparent 20px);
  opacity: 0.07;
  pointer-events: none;
}
@media (max-width:768px){ .hero::after{ display: none;} }

/* Utility classes for spacing */
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* END CSS */
