/* Home Landing Page */

.home-container {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px 60px;
}

.home-hero {
    padding: 30px 0 40px;
}

.home-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.home-hero-image-wrap {
    width: 100%;
    max-width: 420px;
}

/* .home-hero-image | Änderungsprotokoll: 2026-07-04 | agent | @skill-css-rules, @skill-change-provenance | Regatta-Foto statt SVG-Illustration */
.home-hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.home-hero-content {
    text-align: center;
    width: 100%;
}

.home-hero-title {
    margin-bottom: 20px;
    color: var(--color-text-primary);
    font-weight: 800;
}

.home-hero-description,
.home-hero-intro {
    color: var(--color-text-secondary);
    max-width: 760px;
    margin: 0 auto 16px;
    font-size: var(--font-size-large);
}

.home-cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 16px 32px;
    font-size: var(--font-size-large);
    font-weight: 700;
    text-decoration: none;
}

.home-section {
    margin-top: 48px;
}

.home-section-title {
    text-align: center;
    margin-bottom: 28px;
    color: var(--color-text-primary);
}

.home-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.home-feature-card {
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
}

.home-feature-card-title {
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.home-feature-card-description {
    color: var(--color-text-secondary);
}

.home-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.home-stat-tile {
    margin: 0;
}

.home-top-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 640px;
    margin: 0 auto;
}

.home-top-cities {
    max-width: none;
    margin: 0;
}

.home-top-cities-title {
    text-align: center;
    margin-bottom: 16px;
}

.home-top-cities-table {
    border-radius: 12px;
}

/* .home-top-boat-classes | Änderungsprotokoll: 2026-07-05 | Auto | @skill-css-rules, @skill-change-provenance | Top-Bootsklassen-Tabelle neben Top-Orte */
.home-top-boat-classes {
    max-width: none;
    margin: 0;
}

.home-top-boat-classes-title {
    text-align: center;
    margin-bottom: 16px;
}

.home-top-boat-classes-table {
    border-radius: 12px;
}

/* .home-countries-by-club-count | Änderungsprotokoll: 2026-07-05 | Auto | @skill-css-rules, @skill-change-provenance | Länderliste neben Top-Orte und Top-Bootsklassen */
.home-countries-by-club-count {
    max-width: none;
    margin: 0;
}

.home-countries-by-club-count-title {
    text-align: center;
    margin-bottom: 16px;
}

.home-countries-by-club-count-table {
    border-radius: 12px;
}

/* .home-stats-filter-link | Änderungsprotokoll: 2026-07-05 | Auto | @skill-css-rules, @skill-change-provenance | Statistik-Tabellen verlinken auf Suche mit voreingestelltem Filter */
.home-stats-filter-link {
    color: var(--color-link);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.home-stats-filter-link:hover {
    color: var(--color-link-hover);
}

.home-stats-filter-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.home-bottom-cta {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-surface);
}

.home-bottom-cta-description {
    max-width: 640px;
    margin: 0 auto 8px;
    color: var(--color-text-secondary);
}

/* .home-hobby-notice | Änderungsprotokoll: 2026-07-05 | agent | @skill-css-rules, @skill-change-provenance | Private-Homepage-Hinweis Startseite */
.home-hobby-notice {
    text-align: left;
    padding: 24px 0 0;
    border: none;
    border-top: 1px dashed var(--color-border);
    border-radius: 0;
    background: transparent;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.home-hobby-notice-title {
    margin-bottom: 10px;
    color: var(--color-text-primary);
    font-size: var(--font-size-large);
    font-weight: 600;
}

.home-hobby-notice-description {
    margin: 0 auto;
    max-width: none;
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.75;
}

@media (min-width: 600px) {
    .home-container {
        padding: 0 20px 60px;
    }

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

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

    .home-top-stats-grid {
        max-width: none;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .home-top-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-container {
        max-width: 1200px;
        padding: 0 0 80px;
    }

    .home-hero-layout {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .home-hero-image-wrap {
        flex: 0 0 42%;
        max-width: none;
    }

    .home-hero-content {
        flex: 1;
        text-align: left;
    }

    .home-hero-description,
    .home-hero-intro {
        margin-left: 0;
    }

    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1440px) {
    .home-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
