:root {
    --primary-color: #2c7873;
    --primary-dark: #1e5552;
    --secondary-color: #f4a261;
    --secondary-light: #f7b77d;
    --light-color: #fafafa;
    --light-gray: #f0f0f0;
    --dark-color: #1a1a1a;
    --gray-color: #666;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: Georgia, "Times New Roman", Times, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #fff 0%, var(--light-gray) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-pattern {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.highlight {
    color: var(--secondary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--secondary-color);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-illustration {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-illustration svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 120, 115, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 120, 115, 0.4);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.4);
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(44, 120, 115, 0.1), rgba(244, 162, 97, 0.1));
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.section-icon svg,
.section-icon img {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.section h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.projekt {
    background: white;
}

.projekt-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.projekt-text p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 1.25rem;
}

.projekt-text strong {
    color: var(--primary-color);
}

.projekt-stats {
    display: grid;
    gap: 1rem;
}

.stat-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.aktionen {
    background: linear-gradient(180deg, var(--light-gray) 0%, white 100%);
}

.aktion-grid {
    display: grid;
    gap: 1.5rem;
}

.aktion-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.aktion-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.aktion-date {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    color: white;
}

.date-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-year {
    font-size: 0.75rem;
    opacity: 0.8;
}

.aktion-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.aktion-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.aktion-location {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.unterstuetzung {
    background: white;
}

.unterstuetzung-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.unterstuetzung-content p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 1.25rem;
}

.unterstuetzung-content strong {
    color: var(--primary-color);
}

.unterstuetzung-content .btn {
    margin-top: 1.5rem;
}

.kontakt {
    background: linear-gradient(180deg, var(--light-gray) 0%, #fff 100%);
}

.kontakt-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.kontakt-content p {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.kontakt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.kontakt-link:hover {
    background: var(--primary-color);
    color: white;
}

.kontakt-link svg {
    width: 24px;
    height: 24px;
}

/* Kontaktformular */
.kontakt-form {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 120, 115, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.kontakt-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

/* Erfolgsmeldung */
.form-success {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-success p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.form-success .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
}

.footer-inner {
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-to-top svg,
.scroll-to-top img {
    width: 24px;
    height: 24px;
    color: white;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Bücher Section */
.buecher {
    background: white;
}

.section-intro {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.buch-card {
    background: var(--light-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.buch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.buch-cover {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.buch-cover img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
}

.buch-placeholder {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
}

.buch-info {
    padding: 1rem;
}

.buch-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.buch-verlag {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-bottom: 0.25rem;
}

.buch-thema {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

.buch-hinweis {
    text-align: center;
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* Über uns Section */
.ueber-uns {
    background: linear-gradient(180deg, var(--light-gray) 0%, white 100%);
}

.ueber-uns-content {
    max-width: 800px;
    margin: 0 auto;
}

.ueber-uns-content p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 1.25rem;
}

.ueber-uns-list {
    margin: 1.5rem 0 2rem 1.5rem;
    list-style: disc;
}

.ueber-uns-list li {
    font-size: 1.05rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.ueber-uns-cta {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: 2rem;
}

.ueber-uns-cta p {
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 400;
    transition: var(--transition);
}

details[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-color);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--primary-dark);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

.footer-legal {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Legal Pages (Impressum, Datenschutz) */
.legal-page {
    padding-top: 100px;
    padding-bottom: 4rem;
    min-height: 100vh;
    background: #f0f0f0;
    display: block;
}

.legal-page .legal-section {
    background: #f0f0f0;
    padding: 0;
    min-height: auto;
}

.legal-page .container {
    max-width: 800px;
    display: block;
    visibility: visible;
    opacity: 1;
}

.legal-page .legal-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
    display: block;
    visibility: visible;
    opacity: 1;
}

.legal-page .breadcrumb {
    margin-bottom: 1rem;
}

.legal-page .breadcrumb a {
    color: #2c7873;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
}

.legal-page .breadcrumb a:hover {
    color: #1e5552;
    text-decoration: underline;
}

.legal-page h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: #2c7873;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-page .legal-grid > div {
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.legal-page .legal-grid h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c7873;
    margin-bottom: 0.75rem;
    margin-top: 0;
    text-align: left;
}

.legal-page .legal-grid p {
    color: #1a1a1a;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.legal-page .legal-grid a {
    color: #2c7873;
    text-decoration: underline;
}

.legal-page .legal-text h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c7873;
    margin: 2rem 0 0.75rem;
    text-align: left;
}

.legal-page .legal-text h2:first-of-type {
    margin-top: 0;
}

.legal-page .legal-text p {
    color: #1a1a1a;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-page .legal-text a {
    color: #2c7873;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-illustration {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-illustration svg {
        max-width: 300px;
    }

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

    .projekt-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        padding: 100px 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .aktion-card {
        flex-direction: column;
        text-align: center;
    }

    .aktion-date {
        width: 100%;
        height: auto;
        padding: 1rem;
        flex-direction: row;
        gap: 0.5rem;
    }

    .projekt-stats {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .section h2 {
        font-size: 1.75rem;
    }

    .buch-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-nav {
        gap: 1rem;
    }

    .footer-nav a {
        font-size: 0.85rem;
    }
}

/* Modal fuer Buchcover */
.buch-cover {
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-info {
    text-align: center;
    color: white;
    margin-top: 1rem;
}

.modal-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.modal-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .modal-content img {
        max-height: 70vh;
    }
    
    .modal-close {
        top: -35px;
        font-size: 1.5rem;
    }
}
