:root {
    --green: #4b6b3c;
    --green-soft: #eef3ea;
    --green-pill: #e3eddd;
    --bg: #f6f7f3;
    --text: #263125;
    --accent: #0ba86b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* Layout-Grundgerüst */

.page-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem 2.5rem;
}

/* Header & Branding */

header {
    padding: 1.2rem 1rem 0.6rem;
}

.brand {
    font-size: 0.85rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #4b5a3e;
}

.brand strong {
    display: block;
    font-size: 1.2rem;
    letter-spacing: .18em;
}

.brand-line-top {
    display: block;
    font-weight: 600;
}

.brand-line-bottom {
    display: block;
    font-size: 0.8rem;
    letter-spacing: .08em;
}

/* Navigation */

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.pill {
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: var(--green-pill);
    color: #23301f;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
}

.pill.is-primary {
    background: var(--green);
    color: #ffffff;
}

.pill:hover {
    filter: brightness(0.96);
}

/* Hero-Bereich */

.hero {
    margin: 0.4rem 0 1.8rem 0;
}

.hero-inner {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #12201a;
    min-height: 220px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* Bild liegt direkt im /public/ Ordner */
    background-image: url('hero_wanderticket_header.png');
    background-size: cover;
    background-position: center center;
    filter: brightness(0.88);
}

.hero-overlay {
    position: relative;
    inset: 0;
    padding: 1.9rem 1.5rem 1.8rem;
    background: linear-gradient(
        145deg,
        rgba(0, 0, 0, 0.55),
        rgba(0, 40, 20, 0.85)
    );
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-title {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
}

.hero-text {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    max-width: 30rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Buttons */

.btn {
    border-radius: 999px;
    padding: 0.55rem 1.35rem;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #f4f7f3;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Content-Karten */

.card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.4rem 1.45rem 1.2rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 14px 35px rgba(0,0,0,0.04);
}

h1, h2 {
    margin-top: 0;
}

h1 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

h2 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.card p {
    margin: 0 0 0.6rem 0;
    font-size: 0.95rem;
}

.card ul {
    margin: 0.25rem 0 0.6rem 1.1rem;
    padding: 0;
    font-size: 0.95rem;
}

.card li {
    margin-bottom: 0.3rem;
}

/* Footer */

footer {
    text-align: center;
    font-size: 0.8rem;
    color: #6b7a68;
    padding: 1.25rem 1rem 1.75rem;
}

footer a {
    color: #4b6b3c;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Desktop-Anpassungen */

@media (min-width: 768px) {
    header {
        padding-top: 1.8rem;
    }

    .hero-inner {
        min-height: 260px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .page-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
}
