:root {
    --bg: #faf9f6;
    --ink: #1a1c22;
    --ink-soft: #5c5f6a;
    --accent: #0e7a5f;
    --accent-soft: #e3f1ec;
    --line: #e6e4dd;
    --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
}

h1, h2, h3 { font-family: 'Sora', sans-serif; letter-spacing: -0.02em; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: 0.2s; }

.scroll-progress {
    position: absolute;
    bottom: -1px; left: 0;
    height: 2px;
    width: 0;
    background: var(--accent);
    transition: width 0.1s linear;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(14, 122, 95, 0.3); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { box-shadow: 0 10px 30px rgba(26, 28, 34, 0.3); }

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
}
.slides { height: 100%; }
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide-bg { position: absolute; inset: 0; z-index: -1; }
.slide[data-theme="a"] .slide-bg { background: linear-gradient(135deg, #dff0ea 0%, #faf9f6 55%), radial-gradient(circle at 80% 20%, rgba(14,122,95,0.18), transparent 50%); }
.slide[data-theme="b"] .slide-bg { background: linear-gradient(135deg, #ece8f6 0%, #faf9f6 55%), radial-gradient(circle at 75% 30%, rgba(94,71,183,0.15), transparent 50%); }
.slide[data-theme="c"] .slide-bg { background: linear-gradient(135deg, #f6ece3 0%, #faf9f6 55%), radial-gradient(circle at 80% 25%, rgba(196,116,45,0.15), transparent 50%); }

.slide-content { padding-top: 68px; }
.slide-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 18px;
}
.slide h1 {
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
}
.slide h1 em { font-style: normal; color: var(--accent); }
.slide[data-theme="b"] h1 em { color: #5e47b7; }
.slide[data-theme="b"] .slide-kicker { color: #5e47b7; }
.slide[data-theme="c"] h1 em { color: #c4742d; }
.slide[data-theme="c"] .slide-kicker { color: #c4742d; }
.slide-sub {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 480px;
    margin-bottom: 32px;
}
.slide.active .slide-kicker,
.slide.active h1,
.slide.active .slide-sub,
.slide.active .btn {
    animation: slideUp 0.7s ease both;
}
.slide.active h1 { animation-delay: 0.1s; }
.slide.active .slide-sub { animation-delay: 0.2s; }
.slide.active .btn { animation-delay: 0.3s; }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}

.slider-nav {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 5;
}
.slider-arrow {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.slider-arrow:hover { background: var(--accent); color: #fff; transform: scale(1.06); }
.slider-dots, .testimonial-dots { display: flex; gap: 10px; }
.slider-dots button, .testimonial-dots button {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(26, 28, 34, 0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}
.slider-dots button.active, .testimonial-dots button.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* Sections */
.section { padding: 110px 0; }
.section-tint { background: #f1efe9; }
.kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}
.center { text-align: center; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 22px; }

/* Über uns Split */
.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}
.split-text p { color: var(--ink-soft); margin-bottom: 16px; }
.about-facts {
    display: flex;
    gap: 36px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.about-facts b {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent);
}
.about-facts span { color: var(--ink-soft); font-size: 0.85rem; }

.split-visual { position: relative; height: 380px; }
.visual-card {
    position: absolute;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(26, 28, 34, 0.12);
}
.vc-1 {
    width: 70%; height: 75%;
    top: 0; right: 0;
    background: linear-gradient(135deg, #0e7a5f, #17a583);
}
.vc-2 {
    width: 45%; height: 50%;
    bottom: 0; left: 0;
    background: linear-gradient(135deg, #f0ede5, #fff);
    border: 1px solid var(--line);
}
.vc-3 {
    width: 26%; height: 26%;
    top: 52%; right: 8%;
    background: linear-gradient(135deg, #e8b64c, #d99a2b);
}

/* Leistungen */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 48px;
}
.service {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    transition: transform 0.25s, box-shadow 0.25s;
}
.service:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(26, 28, 34, 0.08); }
.service-num {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--accent);
    display: block;
    margin-bottom: 14px;
}
.service h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service p { color: var(--ink-soft); font-size: 0.94rem; }

/* Galerie-Karussell */
.carousel { margin-top: 48px; overflow: hidden; }
.carousel-track {
    display: flex;
    gap: 22px;
    padding: 8px 24px;
    cursor: grab;
    user-select: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.carousel-track.dragging { cursor: grabbing; transition: none; }
.carousel-item {
    flex: 0 0 320px;
    height: 380px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.carousel-item figcaption {
    width: 100%;
    padding: 18px 22px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.45));
}
.ci-1 { background: linear-gradient(160deg, #0e7a5f, #073f31); }
.ci-2 { background: linear-gradient(160deg, #5e47b7, #2e2260); }
.ci-3 { background: linear-gradient(160deg, #c4742d, #6e3e13); }
.ci-4 { background: linear-gradient(160deg, #2274a5, #113a54); }
.ci-5 { background: linear-gradient(160deg, #b4436c, #5c1f37); }
.ci-6 { background: linear-gradient(160deg, #4f6d7a, #263640); }
.carousel-controls {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Testimonials */
.testimonial-slider { max-width: 680px; margin: 40px auto 0; text-align: center; }
.testimonial-track { position: relative; min-height: 210px; }
.testimonial {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s, transform 0.5s;
    pointer-events: none;
}
.testimonial.active { opacity: 1; transform: none; pointer-events: auto; }
.testimonial p {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.15rem, 2.6vw, 1.5rem);
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 24px;
}
.testimonial footer b { display: block; }
.testimonial footer span { color: var(--ink-soft); font-size: 0.88rem; }
.testimonial-dots { justify-content: center; margin-top: 28px; }

/* Kontakt */
.section-contact { padding-bottom: 130px; }
.contact-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    background: var(--accent-soft);
    border-radius: 28px;
    padding: 64px 56px;
}
.contact-box p { color: var(--ink-soft); }
.contact-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.link-plain { color: var(--ink-soft); font-size: 0.92rem; text-decoration: none; }
.link-plain:hover { color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 0.88rem;
}
.footer-inner a { color: var(--ink-soft); text-decoration: none; }
.footer-inner a:hover { color: var(--accent); }

/* Scroll-Reveal */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split-visual { height: 300px; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-box { grid-template-columns: 1fr; padding: 44px 30px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav.open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: rgba(250, 249, 246, 0.98);
        padding: 22px 24px;
        border-bottom: 1px solid var(--line);
        gap: 16px;
    }
    .carousel-item { flex: 0 0 260px; height: 320px; }
}
