:root {
    --glp-green: #97BF0D;
    --glp-dark: #2C3E50;
    --glp-light: #F8F9FA;
    --text-main: #333333;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    padding-top: 80px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--glp-dark);
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--glp-green);
}

.sub-heading {
    margin: 40px 0 20px 0;
    font-size: 1.5rem;
    color: var(--glp-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    height: 80px;
    border-bottom: 3px solid var(--glp-green);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--glp-dark);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--glp-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--glp-green);
}

.nav-links a.active-link {
    border-bottom: 2px solid var(--glp-green);
    padding-bottom: 5px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--glp-dark);
    display: block;
    transition: all 0.3s ease-in-out;
}

header {
    height: 80vh;
    background: linear-gradient(rgba(234, 222, 230, 0.1), rgba(234, 222, 230, 0.4)), url('../images/adliswil.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

section {
    padding: 100px 10%;
}

#themen, #kanton, .link-box {
    background-color: var(--glp-light);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.intro-text {
    max-width: 900px;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.card {
    background: var(--glp-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--glp-green);
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.text-block .card {
    margin-top: 40px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--glp-dark);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.goal-card {
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
    border-top: 4px solid var(--glp-green);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.goal-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--glp-dark);
}

.goal-card h4 {
    color: var(--glp-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
    min-height: 2.8em;
}

.goal-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.btn, .btn-small {
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
    color: var(--white);
    background-color: var(--glp-green);
}

.btn {
    padding: 1rem 2.5rem;
    font-weight: 700;
}

.btn-small {
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn:hover, .btn-small:hover {
    background-color: #86ab0b;
    transform: translateY(-2px);
}

.image-column {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.topics-list {
    list-style: none;
}

.topics-list li {
    margin-bottom: 1.5rem;
    padding-left: 35px;
    position: relative;
}

.topics-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--glp-green);
    font-weight: 800;
}

.contact-info {
    background: var(--glp-dark);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
}

.contact-info h2 { color: var(--white); }
.contact-info h2::after { left: 50%; transform: translateX(-50%); }

.contact-info a {
    color: var(--glp-green);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin: 15px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 1.25rem;
    color: var(--glp-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.news-card .btn-small {
    align-self: flex-start;
    margin-top: auto;
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #eee;
}

@media (max-width: 1200px) {
    .goals-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    section { padding: 80px 5%; }
    .goals-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 1.5rem 0; }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
}

@media (max-width: 600px) {
    .goals-grid, .news-grid { grid-template-columns: 1fr; }
    .hero-content { padding: 0 5%; }
}