/* KRS Media UG - Styles */

:root {
    --pico-font-size: 106.25%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 2rem;
}

.hero h1 {
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--pico-muted-color);
}

/* Projects Section */
.projects {
    padding: 2rem 0;
}

.projects h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Project Row Layout */
.project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--pico-border-radius);
    background: var(--pico-card-background-color);
    box-shadow: var(--pico-card-box-shadow);
}

.project-row:nth-child(even) {
    direction: rtl;
}

.project-row:nth-child(even) > * {
    direction: ltr;
}

.project-image {
    overflow: hidden;
    border-radius: var(--pico-border-radius);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--pico-border-radius);
    transition: transform 0.3s ease;
}

.project-image:hover img {
    transform: scale(1.02);
}

.project-content h3 {
    margin-bottom: 0.5rem;
}

.project-content h3 a {
    text-decoration: none;
}

.project-content p {
    color: var(--pico-muted-color);
    margin-bottom: 1.5rem;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .project-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .project-row:nth-child(even) {
        direction: ltr;
    }

    .project-image {
        order: -1;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--pico-muted-border-color);
    margin-top: 3rem;
}

footer nav {
    margin-bottom: 1rem;
}

footer nav a {
    margin: 0 1rem;
}

footer small {
    color: var(--pico-muted-color);
}

/* Datenschutz & Impressum */
section {
    margin-bottom: 2rem;
}

section h3 {
    margin-top: 1.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pico-card-background-color);
    border-top: 1px solid var(--pico-muted-border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--pico-muted-color);
}

.cookie-content a {
    color: var(--pico-primary);
}

.cookie-btn {
    white-space: nowrap;
    margin: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
