/* GLP Aarau Website Styles */
/* Based on grunliberale.ch color scheme */

:root {
    --glp-green: #84B414;
    --glp-dark-green: #6a9010;
    --glp-light-green: #a0c850;
    --glp-blue: #009ee0;
    --glp-dark-blue: #0080b8;
    --glp-gray: #58595B;
    --glp-light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    border-bottom: 4px solid var(--glp-green);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

header:hover {
    box-shadow: 0 5px 15px rgba(132, 180, 20, 0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--glp-gray);
    font-weight: 600;
}

.logo .city {
    color: var(--glp-green);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--glp-green);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--glp-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--glp-green) 0%, var(--glp-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out;
}

.hero .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: rotate(0deg) scale(1.02);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Vision Images Section */
.vision-images {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--glp-light-gray) 100%);
}

.vision-images h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--glp-gray);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.vision-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.vision-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.vision-card:hover img {
    transform: scale(1.05);
}

.vision-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(132, 180, 20, 0.95) 0%, rgba(132, 180, 20, 0.8) 100%);
    color: var(--white);
    padding: 2rem;
    transform: translateY(calc(100% - 70px));
    transition: transform 0.3s;
}

.vision-card:hover .vision-overlay {
    transform: translateY(0);
}

.vision-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.vision-overlay p {
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s 0.1s;
}

.vision-card:hover .vision-overlay p {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid transparent;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--glp-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(132, 180, 20, 0.3);
}

.btn-primary:hover {
    background-color: var(--glp-dark-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(132, 180, 20, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--glp-green);
    border-color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Themen Section */
.themen {
    padding: 4rem 0;
    background-color: var(--white);
}

.themen h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--glp-gray);
}

.thema-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.thema-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--glp-green);
    position: relative;
    overflow: hidden;
}

.thema-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(132, 180, 20, 0.05) 0%, transparent 70%);
    transition: transform 0.5s;
}

.thema-card:hover::before {
    transform: scale(1.1);
}

.thema-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(132, 180, 20, 0.2);
    border-top-width: 8px;
}

.thema-card h3 {
    color: var(--glp-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.thema-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hashtags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hashtags li {
    background: linear-gradient(135deg, var(--glp-green) 0%, var(--glp-dark-green) 100%);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hashtags li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(132, 180, 20, 0.3);
}

/* Visual Break with Illustrations */
.visual-break {
    padding: 3rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--glp-light-gray) 50%, var(--white) 100%);
}

.visual-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.illu-full {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.illu-full:hover {
    transform: scale(1.02);
}


/* Wahlaufruf Section */
.wahlaufruf {
    background: linear-gradient(135deg, var(--glp-light-green) 0%, var(--glp-blue) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wahlaufruf::before {
    content: '🗳️';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wahlaufruf h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.wahlaufruf-content {
    position: relative;
    z-index: 1;
}

.wahlaufruf-content ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
}

.wahlaufruf-content li {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: var(--white);
    border-left: 5px solid var(--glp-green);
    font-size: 1.1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.wahlaufruf-content li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Profile Pages */
.profile-hero {
    background: linear-gradient(135deg, var(--glp-green) 0%, var(--glp-blue) 100%);
    color: var(--white);
    padding: 3rem 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.profile-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.profile-image img:hover {
    transform: scale(1.05) rotate(2deg);
}

.profile-intro h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.position {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Profile Vision Banner */
.profile-vision {
    padding: 0;
    margin-bottom: 3rem;
}

.vision-banner {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 0;
}

.vision-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.vision-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(132, 180, 20, 0.95) 0%, transparent 100%);
    color: var(--white);
    padding: 3rem;
    text-align: center;
}

.vision-banner-overlay h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.vision-banner-overlay p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.profile-content {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.profile-detail {
    margin-bottom: 2.5rem;
}

.profile-detail h3 {
    color: var(--glp-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.detail-list {
    list-style: none;
}

.detail-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glp-light-gray);
}

.detail-list li:last-child {
    border-bottom: none;
}

.sidebar-card {
    background: var(--glp-light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    color: var(--glp-green);
    margin-bottom: 1rem;
}

.simple-list {
    list-style: none;
}

.simple-list li {
    padding: 0.5rem 0;
}

/* Kandidaten Liste */
.kandidaten-intro {
    background: linear-gradient(135deg, var(--glp-green) 0%, var(--glp-blue) 100%);
    color: var(--white);
    padding: 4rem 0 0;
    overflow: hidden;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.kandidaten-intro h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.kandidaten-intro .lead {
    font-size: 1.2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.intro-image {
    flex: 1;
    min-width: 300px;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
    transform: translateY(20px);
}

.intro-illustration {
    margin-top: 2rem;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.intro-illustration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--glp-blue) 0%, transparent 100%);
    z-index: 1;
}

.intro-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.8;
}

.kandidaten-liste {
    padding: 4rem 0;
    background-color: var(--white);
}

.section-title {
    font-size: 2rem;
    color: var(--glp-gray);
    margin: 3rem 0 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--glp-green);
}

.kandidaten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.kandidat-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.kandidat-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 10px 30px rgba(132, 180, 20, 0.2);
}

.kandidat-card:nth-child(even):hover {
    transform: translateY(-10px) rotate(1deg);
}

.kandidat-nummer {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--glp-blue);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
}

.kandidat-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--glp-green);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 10;
}

.kandidat-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.kandidat-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--glp-green);
    font-size: 1.3rem;
}

.kandidat-card .beruf {
    padding: 0 1.5rem;
    font-size: 0.9rem;
    color: var(--glp-gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.kandidat-card .beschreibung {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.kandidat-links {
    padding: 0 1.5rem 1.5rem;
}

.kandidat-links a {
    display: inline-block;
    color: var(--glp-blue);
    text-decoration: none;
    font-weight: 600;
    margin-right: 1rem;
}

.kandidat-links a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--glp-gray) 0%, var(--glp-green) 100%);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 0;
    position: relative;
}

footer a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
}

footer a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1.1rem;
    }

    .hero-image img {
        transform: rotate(0deg);
    }

    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-text {
        order: 1;
    }

    .intro-image {
        order: 2;
    }

    .kandidaten-intro h1 {
        font-size: 2rem;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .vision-card {
        margin-bottom: 1rem;
    }

    .vision-card img {
        height: 250px;
    }

    .vision-overlay {
        transform: translateY(0);
    }

    .vision-overlay p {
        opacity: 1;
    }

    .thema-grid {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-intro h1 {
        font-size: 2rem;
    }

    .vision-banner {
        height: 250px;
    }

    .vision-banner-overlay h2 {
        font-size: 1.5rem;
    }

    .vision-banner-overlay p {
        font-size: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .kandidaten-intro h1 {
        font-size: 2rem;
    }

    .intro-illustration {
        height: 200px;
    }

    .kandidaten-grid {
        grid-template-columns: 1fr;
    }

    .profile-image img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
