/* ===================================================
   LANDINGPAGE
   =================================================== */

/* #main ist flex-column → die drei Blöcke stapeln sich */

/* --- Card 1: Was OpenVuture ist (eigene Card über volle Breite) --- */
.home-intro {
    background: var(--color-surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--s5) var(--s6) var(--s4);
    margin-bottom: var(--s4);
}

.home-intro h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: var(--s3);
}

.home-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 760px;
}

.home-intro strong { color: var(--color-text); }

.home-intro__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--s3);
    padding: 11px 22px;
    border-radius: var(--r-pill);
    background: var(--color-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.home-intro__more:hover {
    background: var(--color-accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(75, 45, 152, 0.4);
}

/* --- Card 2: Leistungen (freistehende Cards, wie im Shop) --- */
.home-services {
    margin-bottom: var(--s4);
}

.home-services > h2 {
    font-size: clamp(22px, 3vw, 28px);
    margin: var(--s2) 0 var(--s4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--s3);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: var(--s1);
    padding: var(--s3);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

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

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--r-md);
    background: var(--color-accent-muted);
    color: var(--color-accent-light);
    margin-bottom: var(--s1);
}

.service-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.service-card__desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    flex: 1;
}

.service-card__more {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent-light);
    margin-top: var(--s1);
}

/* Shop-Karte über das Akzent-Icon hervorgehoben (siehe unten) */


/* --- Card 3: Berichte aus der Werkstatt (läuft in den Footer) --- */
.home-werkstatt {
    min-height: 0; /* füllt per flex:1 bis zum Footer, ohne Überdehnung */
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s2);
    flex-wrap: wrap;
    margin-bottom: var(--s4);
}

.section-head h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 28px);
}

.werkstatt-latest {
    display: flex;
    gap: var(--s4);
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.werkstatt-latest:hover {
    transform: translateY(-3px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-md);
}

.werkstatt-latest__img {
    flex: 0 0 38%;
    max-width: 320px;
}

.werkstatt-latest__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.werkstatt-latest__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: var(--s4);
}

.werkstatt-latest__date {
    font-size: 12px;
    color: var(--color-text-faint);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.werkstatt-latest__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.werkstatt-latest__excerpt {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.werkstatt-latest__more {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent-light);
    margin-top: auto;
}

.werkstatt-empty {
    color: var(--color-text-muted);
    background: var(--color-surface-alt);
    border: 1px dashed var(--color-border);
    border-radius: var(--r-lg);
    padding: var(--s4);
}

@media (max-width: 600px) {
    .werkstatt-latest { flex-direction: column; }
    .werkstatt-latest__img { flex-basis: auto; max-width: none; aspect-ratio: 16 / 9; }
}
