/* --- CSS RESET and 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.7;
  background: #232626;
  color: #e3e5e4;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #8CBA58;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3F1EB;
}
ul {
  margin-left: 32px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F3F1EB;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 18px; }
h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 12px; }
h4 { font-size: 1rem; margin-bottom: 10px; }
p, li, span, table, tbody, th, td, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #c7c9c8;
  font-size: 1rem;
}
strong { color: #F3F1EB; }
em, i { color: #8CBA58; }

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(45, 49, 50, 0.88);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15), 0 1.5px 8px rgba(46,62,61,0.15);
}

/* --- HEADER --- */
header {
  background: #232626;
  border-bottom: 2px solid #414A4C;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
  padding: 12px 20px;
}
header img {
  height: 46px;
  min-width: 120px;
  filter: grayscale(0.1) brightness(1.1) contrast(1.4);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8CBA58;
  font-size: 0.98rem;
  padding: 6px 9px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #226644;
  color: #F3F1EB;
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  text-transform: uppercase;
  background: linear-gradient(93deg, #8CBA58 80%, #226644 100%);
  color: #232626;
  border-radius: 9px;
  padding: 13px 26px;
  margin-left: 16px;
  border: 1px solid #404B3E;
  box-shadow: 0 3px 10px rgba(34,102,68, 0.07);
  transition: background 0.2s, color 0.2s, transform 0.12s;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F3F1EB;
  color: #226644;
  border: 1px solid #8CBA58;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 12px rgba(35,38,38, 0.16);
}

/* --- HERO SECTIONS --- */
.hero,
.about-hero {
  background: linear-gradient(108deg, #232626 75%, #37413f 100%);
  padding: 60px 0 60px 0;
  border-radius: 0 0 24px 24px;
  margin-bottom: 54px;
  min-height: 280px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}
.hero .container, .about-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper, .about-hero .content-wrapper {
  max-width: 660px;
  gap: 18px;
}
.hero h1, .about-hero h1 {
  color: #F3F1EB;
  margin-bottom: 7px;
}
.hero p, .about-hero p {
  color: #d2d6d0;
  margin-bottom: 22px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* --- FLEX SPACING PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232928;
  border-radius: 14px;
  box-shadow: 0 1.5px 7.5px rgba(60,65,60,0.08);
  flex: 1;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(34,102,68,0.16);
  transform: translateY(-4px) scale(1.012);
}
.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;
  background: #F3F1EB;
  color: #232626;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(34,54,44,0.08);
  padding: 20px;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 530px;
  position: relative;
  border-left: 4px solid #8CBA58;
  font-size: 1.06rem;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.testimonial-card p {
  color: #232626;
}
.testimonial-card > div { color: #8CBA58; font-size: 1.25rem; }
.testimonial-card span {
  color: #40464C;
  font-size: 0.97rem;
  font-weight: 700;
  margin-top: 10px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 36px rgba(70,140,90, 0.16);
  border-left: 4px solid #226644;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FEATURE GRID (for LEISTUNGEN) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 8px;
}
.feature-grid > div {
  background: #232928;
  border-radius: 14px;
  box-shadow: 0 1.5px 7.5px rgba(60,65,60,0.09);
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 350px;
  padding: 28px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  position: relative;
  border: 1px solid #323733;
  transition: box-shadow 0.15s, border-color 0.13s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px 0 rgba(35,100,67, 0.10);
  border: 1px solid #8CBA58;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: grayscale(0.15) contrast(1.2);
}

/* --- BADGES or MAP-SNIPPET --- */
.badges, .map-snippet {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #8CBA58;
}
.map-snippet img, .badges img {
  width: 32px;
  height: 32px;
  filter: contrast(1.1) grayscale(0.2);
}

/* --- PRICING TABLES --- */
.pricing_table table {
  width: 100%;
  border-collapse: collapse;
  background: #232928;
  color: #c7c9c8;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.96rem;
}
.pricing_table th, .pricing_table td {
  padding: 12px 17px;
  border-bottom: 1px solid #323733;
}
.pricing_table th {
  background: #414A4C;
  color: #F3F1EB;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
}
.pricing_table tr:last-child td {
  border-bottom: none;
}

.service_package_list ul {
  margin-left: 22px;
  margin-bottom: 6px;
}

/* --- CTA SECTION --- */
.cta {
  background: linear-gradient(95deg, #232928 80%, #226644 120%);
  border-radius: 18px;
  box-shadow: 0 3px 13px rgba(34,102,68, 0.09);
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta p {
  color: #F3F1EB;
  font-size: 1.13rem;
  margin-bottom: 14px;
}

/* --- TEXT SECTION --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul {
  margin: 8px 0 8px 0;
}
.text-section ul li {
  margin-bottom: 7px;
}
.text-section img {
  margin-right: 8px;
  float: left;
}

hr {
  border: none;
  border-top: 1.5px solid #404B3E;
  margin: 18px 0;
}

/* --- FOOTER --- */
footer {
  background: #232626;
  border-top: 2px solid #414A4C;
  padding: 30px 0 20px 0;
  margin-top: 46px;
}
footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #8CBA58;
  font-size: 0.99rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #F3F1EB; }
footer small {
  color: #C0C5C6;
  font-size: 0.97rem;
}
footer span {
  color: #8CBA58;
  font-size: 0.97rem;
}

/* --- MOBILE NAVIGATION (BURGER MENU + SLIDE MENU) --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 101;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #232928;
  color: #8CBA58;
  font-size: 2.2rem;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(50,80,70,0.10);
  border: 1.5px solid #414A4C;
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #8CBA58;
  color: #232928;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: rgba(35,38,38, 0.97);
  box-shadow: 0 0 80px 0 #232928;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.66,0,0.34,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0.98;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  color: #8CBA58;
  font-size: 2rem;
  background: #232928;
  border-radius: 50%;
  border: 1.5px solid #414A4C;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #8CBA58;
  color: #232928;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 26px;
  margin-top: 120px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #F3F1EB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1.5px solid #393d3c;
  width: 210px;
  display: block;
  transition: color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8CBA58;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #2e312e;
  color: #F3F1EB;
  z-index: 700;
  box-shadow: 0 -2px 24px rgba(34,100,67,0.20);
  padding: 22px 20px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 64px;
  font-size: 1rem;
  line-height: 1.5;
  transition: transform 0.4s cubic-bezier(0.66,0,0.34,1);
  transform: translateY(130%);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner-message {
  flex: 1 1 auto;
  color: #F3F1EB;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 20px;
  margin: 0 0 0 0;
  border-radius: 7px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid #8CBA58;
  background: #232928;
  color: #8CBA58;
  transition: background 0.19s, color 0.13s, border 0.13s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #8CBA58;
  color: #232928;
  border: 1.5px solid #8CBA58;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F3F1EB;
  color: #226644;
  border-color: #226644;
}
.cookie-btn.reject {
  background: #232928;
  color: #8CBA58;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #414A4C;
  color: #F3F1EB;
  border-color: #F3F1EB;
}
.cookie-btn.settings {
  background: #2e312e;
  color: #F3F1EB;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #8CBA58;
  color: #232928;
  border-color: #8CBA58;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,38,38, 0.96);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.24s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #232928;
  color: #F3F1EB;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(34,100,67,0.16);
  padding: 44px 32px 32px 32px;
  min-width: 320px;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.07rem;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  color: #8CBA58;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.15s, color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #8CBA58;
  color: #232928;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
}
.cookie-category .always {
  background: #8CBA58;
  color: #232928;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.99em;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

/* --- UTILITY --- */
::-webkit-scrollbar {
  width: 8px; background: #232626;
}
::-webkit-scrollbar-thumb {
  background: #8CBA58;
  border-radius: 5px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container { max-width: 980px; }
  .feature-grid { gap: 16px; }
}
@media (max-width: 992px) {
  .container { max-width: 820px; }
  header .container, .footer .container, .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid { gap: 14px; }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; padding: 0 8px; }
  header .container { flex-direction: row; }
  .main-nav, .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid > div {
    min-width: unset; max-width: unset; width: 100%;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    min-width: unset;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
    padding: 18px 9px;
  }
  .section {
    padding: 24px 4vw;
    border-radius: 13px;
  }
  .hero, .about-hero {
    padding: 32px 0 40px 0;
    border-radius: 0 0 14px 14px;
    min-height: 148px;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.95rem;
  }
  .cta .content-wrapper { gap: 13px; }
  .mobile-menu {
    padding-top: 0;
  }
  .mobile-nav {
    margin-top: 86px;
    margin-left: 19px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.20rem; }
  .hero p, .about-hero p, .cta p, p, li, span { font-size: 0.97rem; }
  .container { padding: 0 3px; }
  .cta-btn { font-size: 0.98rem; padding: 11px 13px; }
  header img { height: 38px; min-width: 88px; }
}

/* --- ACCESSIBLE FOCUS STYLES --- */
a:focus, button:focus, .cta-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #8CBA58;
  outline-offset: 1px;
  z-index: 5000;
}

/* --- TABLES MOBILE --- */
@media (max-width: 565px) {
  .pricing_table table, .pricing_table th, .pricing_table td {
    font-size: 0.88rem;
    padding-left: 3vw; padding-right: 3vw;
  }
}

/* --- MICRO-INTERACTIONS --- */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.11s, border-color 0.13s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-1.5px) scale(1.014);
}

/* --- SPECIALS --- */
.text-section ul {
  margin-bottom: 10px; margin-left: 30px;
}
.text-section li { margin-bottom: 5px; }

/* --- CONTACT ICONS --- */
.text-section img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  filter: grayscale(0.2) contrast(1.16);
}

/* --- STYLE OVERRIDES / MISC --- */
::-moz-selection { background: #8CBA58; color: #232928; }
::selection { background: #8CBA58; color: #232928; }

/* --- PRINT SUPPORT --- */
@media print {
  header, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, .cta { display: none !important; }
}
