/*
Theme Name: Chrissi Theme
Theme URI: https://chrissi.life
Description: Custom Theme für Chrissi.life - Freizeit- & Alltagsassistenz
Author: Chrissi.life
Version: 1.0
License: GPLv2 or later
Text Domain: chrissi-theme
*/

/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #1b6b4a;
    --color-primary-dark: #145536;
    --color-primary-light: #228b5b;
    --color-mint: #e8f5e9;
    --color-mint-dark: #c8e6c9;
    --color-white: #ffffff;
    --color-dark: #2d2d2d;
    --color-gray: #666666;
    --color-light-gray: #f5f5f5;
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
    --border-radius: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-light);
}

/* ===== Header / Navigation ===== */
.site-header {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.site-logo span {
    color: var(--color-dark);
    font-weight: 400;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.nav-cta:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 70px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(27,107,74,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content .hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-top: 16px;
    font-weight: 400;
    max-width: 600px;
}

.hero-cta {
    display: inline-block;
    margin-top: 28px;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    color: var(--color-primary-dark);
}

/* ===== Section Base ===== */
.section {
    padding: 80px 24px;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 40px;
}

/* ===== About / Vorstellung ===== */
.about-section {
    background: var(--color-light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
}

.about-badge {
    display: inline-block;
    background: var(--color-mint);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ===== Cards / Drei-Spalten ===== */
.cards-section {
    background: var(--color-white);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: var(--color-mint);
    border-radius: var(--border-radius);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
}

.card-body {
    padding: 28px 24px;
}

.card-body ul {
    list-style: none;
    padding: 0;
}

.card-body ul li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(27,107,74,0.1);
}

.card-body ul li:last-child {
    border-bottom: none;
}

.card-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--color-primary);
    color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--color-white);
}

.contact-info .contact-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--color-white);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--color-mint);
}

.contact-image-wrapper {
    display: flex;
    justify-content: center;
}

.contact-image {
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    max-width: 380px;
    width: 100%;
}

.contact-tagline {
    margin-top: 32px;
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

/* ===== Footer ===== */
.site-footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.6);
    padding: 32px 24px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

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

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

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-section {
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-content .hero-subtitle {
        font-size: 1.05rem;
    }

    .section {
        padding: 56px 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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