:root {
    --green-primary: #2e7d32;
    --green-light: #e8f5e9;
    --green-mid: #4caf50;
    --text-dark: #1a1a1a;
    --text-muted: #666;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--text-dark);
    background: #fff;
}

a { transition: color .2s ease, opacity .2s ease, transform .2s ease; }

.navbar-brand {
    font-size: 1.3rem;
    color: var(--green-primary) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #212529;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active { color: var(--green-primary); }
.navbar-light .navbar-nav .nav-link.active { background: transparent; }
.navbar-light .navbar-nav .btn-success,
.navbar-light .navbar-nav .btn-success:hover { color: #fff !important; }

.hero-section {
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.hero-section p {
    font-size: 1.15rem;
    opacity: .92;
}

.object-cover { object-fit: cover; }

@media (max-width: 767px) { .hero-section { min-height: 70vh; } }

.bg-success.text-white { background: var(--green-primary) !important; }

.section-title,
.origintitle {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.stacked-images { height: 320px; position: relative; }
.stacked-img-top {
    position: absolute; top: 0; left: 0; width: 55%; height: 220px; object-fit: cover; z-index: 2;
}
.stacked-img-bottom {
    position: absolute; bottom: 0; right: 0; width: 65%; height: 220px; object-fit: cover; z-index: 1;
}
@media (max-width: 575px) {
    .stacked-images { height: 260px; }
    .stacked-img-top { width: 60%; height: 180px; }
    .stacked-img-bottom { width: 70%; height: 180px; }
}

.leistungen-section { background-color: var(--green-light); }

.leistung-origin-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}
.leistung-origin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12) !important;
}
.leistung-card-img { width: 100%; height: 170px; object-fit: cover; }
.leistung-origin-icon { font-size: 1.5rem; color: var(--text-dark); }
.leistung-origin-title {
    font-size: .95rem; font-weight: 700; color: var(--text-dark); text-decoration: underline; text-underline-offset: 3px;
}
.leistung-origin-title:hover { color: var(--green-primary); }

.leistung-detail-icon {
    width: 56px; height: 56px; border-radius: 50%; background: var(--green-light);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--green-primary);
}

.leistung-list { list-style: none; padding: 0; margin: 0; }
.leistung-list li {
    padding: .35rem 0; color: #444; font-size: .95rem; border-bottom: 1px solid #f0f0f0;
}
.leistung-list li:last-child { border-bottom: none; }
.check-item i { color: var(--green-primary); font-size: 1.3rem; flex-shrink: 0; }

.cta-banner {
    background: linear-gradient(135deg, var(--green-primary), #1b5e20);
    color: #fff;
    border-radius: 16px;
}

.galerie-card-img {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease; background: #fff;
}
.galerie-card-img:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.14); }

.contact-page { background: #fff; }
.contact-card {
    border: 1px solid #d9ead3; border-radius: 16px; box-shadow: 0 10px 28px rgba(0,0,0,.06); overflow: hidden;
}
.contact-card .card-body { padding: 2rem; }
.contact-info-box {
    background: #f4fbf4; border: 1px solid #d9ead3; border-radius: 14px; padding: 1.25rem;
}
.contact-info-item {
    display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.1rem;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
    width: 42px; height: 42px; min-width: 42px; border-radius: 12px; background: #e8f5e9;
    display: flex; align-items: center; justify-content: center; color: var(--green-primary); font-size: 1.1rem;
}
.contact-info-title { font-size: .9rem; font-weight: 700; color: var(--text-dark); margin-bottom: .15rem; }
.contact-info-text,
.contact-info-text a { font-size: .9rem; color: #555; text-decoration: none; }
.contact-info-text a:hover { color: var(--green-primary); }
.contact-form .form-label { font-weight: 600; color: var(--text-dark); margin-bottom: .4rem; }
.contact-form .form-control,
.contact-form .form-check-input { border-color: #cfe6cf; }
.contact-form .form-control { border-radius: 12px; padding: .8rem 1rem; }
.contact-form .form-control:focus {
    border-color: var(--green-primary); box-shadow: 0 0 0 .2rem rgba(46,125,50,.15);
}
.contact-form textarea.form-control { min-height: 180px; resize: vertical; }
.contact-form .btn-success {
    border-radius: 999px; padding: .85rem 1.6rem; font-weight: 700;
}
.contact-form .btn-success:hover { transform: translateY(-1px); }
.turnstile-box {
    background: #f4fbf4; border: 1px solid #d9ead3; border-radius: 14px; padding: 1rem;
}
.contact-form .invalid-feedback { font-size: .85rem; }
.contact-form .is-invalid { border-color: #dc3545; }
.contact-form .is-valid { border-color: var(--green-primary); }
.contact-success {
    background: #f4fbf4; border: 1px solid #d9ead3; border-radius: 16px; padding: 2rem; text-align: center;
}
.contact-success i {
    width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #e8f5e9; color: var(--green-primary); font-size: 1.7rem; margin-bottom: 1rem;
}

.footer-original { background-color: #e8f5e9; border-top: 1px solid #c8e6c9; }
.footer-top { background-color: #e8f5e9; }
.footer-top a { color: #1a1a1a; transition: color .2s; }
.footer-top a:hover { color: var(--green-primary); }
.footer-logo-img { max-width: 280px; width: 100%; height: auto; }
.footer-bottom-bar { background-color: #e8f5e9; border-top: 1px solid #e8f5e9; }
.footer-bottom-bar a:hover { text-decoration: underline !important; }

#scrollTop {
    position: fixed; bottom: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 8px;
    background: var(--green-primary); color: #fff; border: none; font-size: 1.1rem; display: flex;
    align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s, background .2s; z-index: 999;
}
#scrollTop.visible { opacity: 1; visibility: visible; }
#scrollTop:hover { background: #1b5e20; }

.btn-outline-success { color: var(--green-primary); border-color: var(--green-primary); }
.btn-outline-success:hover { background-color: var(--green-primary); border-color: var(--green-primary); color: #fff; }
.btn-success { background-color: var(--green-primary); border-color: var(--green-primary); }
.btn-success:hover { background-color: #1b5e20; border-color: #1b5e20; }

.page-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 5rem 0 3rem;
    overflow: hidden;
    background: center/cover no-repeat;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.72),
        rgba(5, 25, 8, 0.78)
    );
    z-index: 0;
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero h1,
.page-hero .lead {
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
    letter-spacing: .01em;
}

.page-hero-home { background-image: url('/assets/img/hero-home.jpg'); }
.page-hero-ueber-uns { background-image: url('/assets/img/hero-ueber-uns.jpg'); }
.page-hero-leistungen { background-image: url('/assets/img/hero-leistungen.jpg'); }
.page-hero-galerie { background-image: url('/assets/img/hero-galerie.jpg'); }
.page-hero-kontakt { background-image: url('/assets/img/hero-kontakt.jpg'); }

.breadcrumb { display: none !important; }

.about-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(46, 125, 50, 0.12);
  overflow: hidden;
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.10);
  border-color: rgba(46, 125, 50, 0.28);
}
.about-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.13), rgba(76, 175, 80, 0.13));
  color: var(--green-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.about-card:hover .about-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.22), rgba(76, 175, 80, 0.22));
}
.about-card h3 {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.about-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-mid));
}
.about-intro-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-primary);
  font-weight: 700;
  font-size: .85rem;
  border-radius: 999px;
  padding: .3rem 1rem;
  margin-bottom: 1rem;
  letter-spacing: .03em;
}
.about-divider {
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-mid));
  margin: 1rem 0 1.5rem;
}
