/**
 * Index/Startseite – Seiten-spezifische Styles
 * Ausgelagert aus dem Template für bessere Wartbarkeit
 */

/* Cookie-Banner */
#cookie-gate {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1e293b;
    color: #fff;
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    transform: translateY(0);
}

#cookie-gate-content {
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

#cookie-gate p {
    margin: 0;
    font-size: 0.9rem;
}

#cookie-gate a {
    color: #93c5fd;
    text-decoration: underline;
}

.cookie-gate-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-gate-buttons .btn {
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

body.cookie-banner-visible {
    padding-bottom: 70px;
}

/* Home CTA & Sections */
.home-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--color-primary);
    color: white !important;
    text-decoration: none !important;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: background 0.2s, transform 0.2s;
}

.home-cta:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

.home-features {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.home-example-section {
    max-width: 720px;
    margin: 2.5rem auto;
    padding: 0 1rem;
    text-align: center;
}

.home-example-title {
    font-size: 1.35rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.home-example-intro {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.home-example-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.home-example-preview-img {
    max-width: 100%;
    width: 320px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.home-example-card {
    width: 100%;
    max-width: 320px;
    padding: 1.5rem;
    border-radius: 12px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.home-example-headline {
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.home-example-desc {
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.95;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.home-example-prices {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.home-example-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1e293b;
}

.home-example-price-row span:last-child {
    font-weight: 700;
    color: var(--color-primary);
}

.home-example-footer {
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.95;
}

.home-cta-secondary {
    margin-top: 0;
}

.home-ugly-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
}

.home-chat-img-wrap {
    display: inline-block;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.home-chat-img-wrap img {
    display: block;
    vertical-align: top;
}

.home-chat-img-1 {
    transform: rotate(-4deg);
}

.home-chat-img-2 {
    transform: rotate(3deg);
}

.home-chat-img-3 {
    transform: rotate(-3deg);
}

.home-chat-img-wrap:hover {
    transform: rotate(0deg) scale(1.03) !important;
}

.home-chat-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.home-chat-lightbox.active {
    display: flex;
}

.home-chat-lightbox img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.home-enough-section {
    text-align: center;
    margin-bottom: 2rem;
}

.home-free-hint {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.75rem;
}

.home-enough {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.page-hero h1 {
    font-size: 1.35rem;
}

.home-how-it-works {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.home-how-short {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.35rem;
}

.home-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.home-subtext {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-top: 0.35rem;
}

.home-content-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.home-content-section h2 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.home-content-section h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 1.25rem 0 0.5rem;
}

.home-content-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.home-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.home-card {
    background: var(--color-surface);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.home-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.home-card p {
    margin: 0;
    font-size: 0.9rem;
}

.home-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.home-benefit {
    background: var(--color-surface);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
}

.home-benefit h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
}

.home-benefit p {
    margin: 0;
    font-size: 0.85rem;
}

.home-steps-list {
    margin-top: 1rem;
}

.home-step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.home-step-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.home-step-item h3 {
    margin: 0 0 0.25rem;
}

.home-step-item p {
    margin: 0;
}

.home-usecases {
    margin-top: 1rem;
}

.home-usecase {
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--color-border);
}

.home-usecase h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.home-usecase p {
    margin: 0;
    font-size: 0.9rem;
}

.home-faq {
    margin-top: 1rem;
}

.home-faq-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.home-faq-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--color-primary);
}

.home-faq-item p {
    margin: 0;
    font-size: 0.9rem;
}

.home-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
    padding: 1.25rem;
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
}

.home-trust span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 0.35rem 0.75rem;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
}

.home-cta-section {
    text-align: center;
    padding: 2.5rem 1rem;
    background: linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-surface) 100%);
    border-radius: var(--radius-lg);
    margin: 2rem 1rem;
}

.home-cta-section h2 {
    margin-bottom: 0.5rem;
}

.home-cta-section p {
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .home-cards {
        grid-template-columns: 1fr;
    }
    .home-benefits {
        grid-template-columns: 1fr;
    }
    .home-step-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}
