/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── BASE ── */
:root {
    --green:   #5AB031;
    --green-d: #478926;
    --dark:    #0c0c0c;
    --card:    #141414;
    --border:  #1f1f1f;
    --text:    #b0b0b0;
    --muted:   #888888;
}

body {
    background: var(--dark);
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 6%;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
    background: rgba(12,12,12,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 6%;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo-full {
    height: 120px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.nav-logo-small {
    height: 50px;
    width: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

nav.scrolled .nav-logo-full  { display: none; }
nav.scrolled .nav-logo-small { display: block; opacity: 1; }

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600 !important;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s !important;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.13) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 6% 80px;
    position: relative;
    overflow: hidden;
}

/* ── HERO SLIDESHOW ── */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    filter: brightness(0.72);
}

.hero-slide--active {
    opacity: 1;
}

/* video inside a slide */
.hero-slide--video {
    background: #000;
    filter: brightness(0.72);
}

.hero-slide--video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* dot navigation */
.hero-dots {
    position: absolute;
    bottom: 36px;
    left: 6%;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.hero-dot--active {
    background: #fff;
    transform: scale(1.4);
}

/* colour/glow overlay on top of the image */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(34,197,94,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(34,197,94,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* keep text content above the slideshow and gradient overlay */
.hero > *:not(.hero-slideshow):not(.hero-dots) {
    position: relative;
    z-index: 2;
}

/* hero: alles weiß, grüne Akzente */
.hero, .hero * { color: #fff; }
.hero h1 em,
.hero-label,
.stat-num       { color: var(--green); }

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.25);
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 32px;
    width: fit-content;
}

.hero-label::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.00em;
    max-width: 820px;
    margin-bottom: 28px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}

.hero h1 em {
    font-style: normal;
    color: var(--green);
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    letter-spacing: 0.00em;
}

.btn-abo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    width: 260px;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-decoration: none;
    letter-spacing: 0.02em;
    margin-top: 8px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}


.btn-abo:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.hero-sub {
    font-size: 1.15rem;
    color: #ffffff;
    max-width: 520px;
    margin-bottom: 48px;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 0px 22px rgba(66, 66, 66, 0.1);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    width: 260px;
    background: linear-gradient(135deg, rgba(90,176,49,0.85) 0%, rgba(71,137,38,0.9) 100%);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 32px;
    border-radius: 100px;
    border: 1px solid rgba(120, 210, 70, 0.45);
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 1px 0 rgba(180, 255, 120, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s, transform 0.2s, background 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(105,196,60,0.9) 0%, rgba(85,155,45,0.95) 100%);
    box-shadow:
        inset 0 1px 0 rgba(200, 255, 140, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    justify-content: center;
    width: 260px;
    background: transparent;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 16px 32px;
    border-radius: 100px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.btn-outline:hover { border-color: #555; transform: translateY(-2px); }

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 4px;
    letter-spacing: 0.03em;
}

/* ── HEADINGS always white ── */
h1, h2, h3, h4 { color: #fff; }

/* ── SECTION BASE ── */
section { padding: 100px 6%; }

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-sub {
    color: var(--muted);
    font-size: 1rem;
    max-width: 520px;
    line-height: 1.7;
}

.section-head { margin-bottom: 60px; }

/* ── SERVICES ── */
#leistungen { background: #0e0e0e; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.service-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    transition: border-color 0.3s;
    cursor: default;
    min-height: 280px;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.45);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(90,176,49,0.35);
}

.service-card:hover::before {
    opacity: 0;
}

.service-card:hover .service-img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.service-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(55%);
    transition: transform 0.5s ease, filter 0.4s ease;
}

.service-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 28px 28px 28px;
    align-self: flex-end;
    width: 100%;
    letter-spacing: -0.01em;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    margin-top: auto;
    z-index: 2;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ── ABOUT ── */
#ueber-uns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    padding: 0;
}

.about-image {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background-image: url("asset/img_jb/garten_2.jpg");
    background-size: cover;
    background-position: center;
    position: absolute;
    inset: 0;
}

.about-badge {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: var(--dark);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: 8px;
}

.about-badge strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
}

.about-badge span {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.about-content {
    padding: 80px 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content .section-sub { max-width: 100%; margin-bottom: 28px; }

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--muted);
}

.about-list li::before {
    content: "✓";
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── PROCESS ── */
#ablauf { background: #0e0e0e; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 60px;
}

.process-step {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 36px 28px;
}

.step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(34,197,94,0.15);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── CONTACT ── */
#kontakt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px; height: 44px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-text strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.contact-item-text a,
.contact-item-text span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item-text a:hover { color: var(--green); }

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--border);
    color: #888;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.social-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: #444;
    color: #ccc;
}

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    padding: 14px 16px;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }

.form-group select option { background: #1a1a1a; }

.form-submit {
    width: 260px;
    background: linear-gradient(135deg, rgba(90,176,49,0.85) 0%, rgba(71,137,38,0.9) 100%);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 16px;
    border: 1px solid rgba(120, 210, 70, 0.45);
    border-radius: 100px;
    cursor: pointer;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 1px 0 rgba(180, 255, 120, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s, transform 0.2s, background 0.3s;
}

.form-submit:hover {
    background: linear-gradient(135deg, rgba(105,196,60,0.9) 0%, rgba(85,155,45,0.95) 100%);
    box-shadow:
        inset 0 1px 0 rgba(200, 255, 140, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.foot-logo { height: 80px; width: auto; display: block; }

footer p { font-size: 0.8rem; color: var(--muted); }

.foot-links { display: flex; gap: 24px; list-style: none; }
.foot-links a { font-size: 0.8rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.foot-links a:hover { color: var(--text); }

.divider { border: none; border-top: 1px solid var(--border); }

/* ── TOAST ── */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.88rem;
    padding: 14px 24px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 9999;
    white-space: nowrap;
}

.toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast--success { border-color: rgba(34,197,94,0.4); color: var(--green); }
.toast--error   { border-color: rgba(239,68,68,0.4);  color: #f87171; }

/* ── MOBILE ── */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero { padding: 120px 5% 60px; }
    .hero-stats { gap: 28px; }
    .services-grid { grid-template-columns: 1fr; }
    #ueber-uns { grid-template-columns: 1fr; }
    .about-image { min-height: 280px; }
    .about-content { padding: 48px 5%; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    #kontakt { grid-template-columns: 1fr; gap: 48px; padding: 60px 5%; }
    .form-row { grid-template-columns: 1fr; }
    section { padding: 60px 5%; }
    footer { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
    .process-steps { grid-template-columns: 1fr; }
}
