:root {
    --primary-green: #0a2a21;
    --green-dark: #05211b;
    --green-deep: #00221c;
    --accent-orange: #e67e22;
    --accent-gold: #c19a6b;
    --bg-cream: #fdfdf9;
    --bg-beige: #f9f8f3;
    --text-muted: #6c757d;
    --border-light: rgba(10, 42, 33, 0.12);
}

html {
    scroll-behavior: smooth;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: var(--bg-cream);
    color: var(--primary-green);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.display-5,
.hero-headline,
.prolog-headline,
.gegner-headline,
.werkzeug-headline,
.warum-headline,
.bewohner-headline,
.faq-headline,
.cta-headline {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}

/* Section label */
.section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.section-label .num {
    color: var(--accent-orange);
    font-weight: 700;
}

.section-label .line {
    flex: 0 0 2rem;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.6;
}

.section-label .line-long {
    flex: 0 0 3rem;
}

/* Navbar */
.ls-navbar {
    background: var(--bg-cream);
    border-bottom: 1px solid var(--border-light);
    padding: 0.85rem 0;
}

.ls-navbar .navbar-brand {
    padding: 0;
}

.ls-header-logo {
    height: 2rem;
    width: auto;
    display: block;
}

.ls-navbar .nav-link {
    color: var(--primary-green);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
}

.ls-navbar .nav-link:hover {
    color: var(--accent-orange);
}

.ls-navbar .navbar-toggler {
    padding: 0.35rem 0.5rem;
}

.ls-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230a2a21' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-ls-green {
    background: var(--primary-green);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.55rem 1.1rem;
    border-radius: 6px;
}

.btn-ls-green:hover {
    background: var(--green-dark);
    color: #fff;
}

.btn-ls-orange {
    background: var(--accent-orange);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.7rem 1.35rem;
    border-radius: 6px;
}

.btn-ls-orange:hover {
    background: #d35400;
    color: #fff;
}

.btn-ls-outline {
    background: transparent;
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    font-weight: 600;
    padding: 0.7rem 1.35rem;
    border-radius: 6px;
}

.btn-ls-outline:hover {
    background: var(--primary-green);
    color: #fff;
}

.btn-ls-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    width: 100%;
}

.btn-ls-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

/* Hero meta bar */
.hero-meta {
    border-bottom: 1px solid var(--border-light);
    padding: 0.65rem 0;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-meta span:nth-child(2) {
    text-align: center;
}

.hero-meta span:last-child {
    text-align: right;
}

/* Hero */
.hero-section {
    padding: 3.5rem 0 0;
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.hero-headline .dot {
    color: var(--accent-orange);
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--primary-green);
    opacity: 0.85;
    max-width: 32rem;
    margin-bottom: 2rem;
}

.hero-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, #1a3a32 0%, #0a2a21 50%, #4a6741 100%);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: #fff;
}

.hero-image-caption small {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.hero-image-caption strong {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Stats row */
.stats-row {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Ticker */
.ls-ticker {
    background: var(--primary-green);
    color: #fff;
    overflow: hidden;
    padding: 0.85rem 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ls-ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 40s linear infinite;
}

.ls-ticker-track span {
    white-space: nowrap;
    padding-right: 2rem;
}

.ls-ticker .diamond {
    color: var(--accent-orange);
    margin: 0 0.75rem;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Prolog */
.section-prolog {
    background: var(--bg-beige);
    padding: 6rem 0;
}

.prolog-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--green-dark);
}

.prolog-body {
    font-size: 1.15rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.prolog-body-secondary {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.prolog-quote {
    background: rgba(255, 255, 255, 0.7);
    border-left: 2px solid var(--accent-gold);
    padding: 1.5rem 1.75rem;
}

.prolog-quote p {
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 0.75rem;
}

.prolog-quote cite {
    font-style: normal;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

/* Pillars - dark section */
.section-pillars {
    background: var(--green-deep);
    color: #fff;
    padding: 6rem 0;
}

.section-pillars .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.section-pillars .section-label .num {
    color: var(--accent-orange);
}

.pillars-intro {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    max-width: 22rem;
    margin-left: auto;
    text-align: right;
}

.pillar-card {
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pillar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.pillar-num {
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-weight: 700;
}

.pillar-icon {
    width: 1.25rem;
    height: 1.25rem;
    opacity: 0.7;
}

.pillar-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.75rem;
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pillar-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    flex: 1;
    margin-bottom: 1.5rem;
}

.pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pillar-tag {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}

/* Gegner grid */
.section-gegner {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.gegner-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    max-width: 28rem;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.gegner-item {
    padding: 2rem 1.75rem;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    height: 100%;
}

.gegner-item:nth-child(3n) {
    border-right: none;
}

.gegner-item:nth-last-child(-n+3) {
    border-bottom: none;
}

.gegner-num {
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.gegner-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.gegner-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Werkzeugkammer */
.section-werkzeuge {
    padding: 6rem 0;
    background: #f9f9f7;
}

.werkzeug-headline {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
}

.werkzeug-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 22rem;
    margin-left: auto;
    text-align: right;
}

.tool-card {
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tool-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.tool-num {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tool-icon {
    width: 1.1rem;
    height: 1.1rem;
}

.tool-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tool-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 1.25rem;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.tool-tag {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    border-radius: 3px;
}

/* Warum */
.section-warum {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.warum-headline {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 3rem;
}

.warum-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 0 0 2.5rem;
}

.warum-item {
    padding: 0 1rem 2rem;
}

.warum-icon {
    width: 1.35rem;
    height: 1.35rem;
    margin-bottom: 1rem;
    display: block;
}

.warum-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.warum-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Bewohner */
.section-bewohner {
    padding: 6rem 0;
    background: var(--bg-beige);
}

.bewohner-headline {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.bewohner-intro {
    color: var(--text-muted);
    max-width: 36rem;
    margin-bottom: 3rem;
}

.role-list {
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.5);
}

.role-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.role-item:last-child {
    border-bottom: none;
}

.role-num {
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-weight: 700;
    flex: 0 0 2rem;
}

.role-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 1.5rem;
}

.role-content {
    flex: 1;
    min-width: 0;
}

.role-title {
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.role-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.role-badge {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

/* FAQ */
.section-faq {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.faq-headline {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
}

.faq-list {
    border-top: 1px solid var(--border-light);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: var(--primary-green);
}

.faq-question:hover {
    color: var(--accent-orange);
}

.faq-q-num {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex: 0 0 1.5rem;
    padding-top: 0.15rem;
}

.faq-q-text {
    flex: 1;
    font-weight: 700;
    font-size: 1rem;
}

.faq-toggle {
    font-size: 1.25rem;
    font-weight: 300;
    flex: 0 0 1.5rem;
    text-align: right;
    line-height: 1;
}

.faq-answer {
    display: none;
    padding: 0 0 1.5rem 2.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-item.is-open .faq-toggle {
    transform: rotate(0);
}

/* CTA */
.section-cta {
    padding: 6rem 0 4rem;
    background: var(--bg-cream);
}

.cta-box {
    background: var(--green-deep);
    color: #fff;
    padding: 3.5rem 3rem;
    border-radius: 4px;
}

.cta-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.cta-end {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-align: right;
}

.cta-headline {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cta-headline .dot {
    color: var(--accent-orange);
}

.cta-text {
    color: rgba(255, 255, 255, 0.75);
    max-width: 28rem;
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Site footer */
.ls-site-footer {
    padding: 2rem 0 3rem;
    background: var(--bg-cream);
}

.ls-site-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
}

.ls-footer-logo {
    height: 1.65rem;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.ls-site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ls-site-footer .footer-links a {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
}

.ls-site-footer .footer-links a:hover {
    color: var(--primary-green);
}

/* Legal pages */
.legal-page {
    padding: 4rem 0 5rem;
}

.legal-page h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.legal-page .legal-intro {
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 40rem;
}

.legal-page h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}

.legal-page h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal-page ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-page a {
    color: var(--primary-green);
}

.legal-page a:hover {
    color: var(--accent-orange);
}

.legal-box {
    background: var(--bg-beige);
    border-left: 2px solid var(--accent-gold);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.legal-box p:last-child {
    margin-bottom: 0;
}

.legal-page .legal-source {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Lucide icons (local SVG files) */
.ls-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex-shrink: 0;
    object-fit: contain;
}

.btn-ls-green .ls-icon,
.btn-ls-orange .ls-icon,
.btn-ls-ghost .ls-icon {
    filter: brightness(0) invert(1);
}

.section-pillars .pillar-icon {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 991.98px) {
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .gegner-item {
        border-right: none;
    }

    .gegner-item:nth-last-child(-n+3) {
        border-bottom: 1px solid var(--border-light);
    }

    .gegner-item:last-child {
        border-bottom: none;
    }

    .pillars-intro,
    .werkzeug-intro {
        text-align: left;
        margin-left: 0;
        margin-top: 1rem;
    }

    .role-item {
        flex-wrap: wrap;
    }

    .role-badge {
        width: 100%;
        padding-left: 3.75rem;
        margin-top: 0.25rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-meta span {
        text-align: left !important;
        display: block;
        margin-bottom: 0.25rem;
    }

    .hero-meta .row {
        flex-direction: column;
    }
}
