/* Gestalterischer Feinschliff für die öffentliche Startseite.
   Die Animationen und Skripte der Ausgangsseite werden weiter verwendet. */
:root {
    --wh-edge: 8px;
    --wh-border: #d9dee4;
}
.hero {
    background: linear-gradient(110deg, #0b1727, #132a41);
}
.hero::before {
    opacity: .38;
}
.hero .hero-badge {
    gap: .7rem;
    padding: 0;
    margin-bottom: 1.35rem;
    color: var(--color-accent-on-dark);
    background: transparent;
    backdrop-filter: none;
    font-size: .79rem;
    letter-spacing: .12em;
}
.hero .hero-badge::before {
    content: "";
    width: 1.15rem;
    height: 1px;
    background: currentColor;
}
.hero h1 {
    font-size: clamp(2.4rem, 4.1vw, 4.45rem);
    font-weight: 670;
    line-height: 1.04;
    letter-spacing: -.055em;
    margin-bottom: 1.5rem;
}
.hero p {
    max-width: 50ch;
    margin-bottom: 1.85rem;
    color: #dce5ed;
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.65;
}
.hero .hero-buttons {
    gap: .75rem;
}
.hero .hero-buttons a, .contact .contact-buttons a {
    border-radius: var(--wh-edge);
    box-shadow: none;
}
.hero .hero-buttons .btn-primary-custom {
    background: var(--color-accent);
}
.hero .hero-buttons .btn-primary-custom:hover {
    background: var(--color-accent-hover);
}
.hero .hero-buttons .btn-secondary-custom {
    border-color: #b6c1ca;
}
.hero-image, .about-image, .about-image img {
    border-radius: var(--wh-edge);
    box-shadow: none;
}
.hero-floating {
    border-radius: var(--wh-edge);
    background: #14283d;
    border: 1px solid #5d6d7b;
    box-shadow: none;
    backdrop-filter: none;
}
.hero-statistics {
    column-gap: 1.4rem;
}
.hero .hero-statistic {
    border: 0;
    border-top: 1px solid #637383;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    padding: 1.1rem 0;
}
.hero-statistic .counter {
    letter-spacing: -.045em;
    font-weight: 660;
    margin-bottom: .3rem;
}
.section-header h2, .expertise h2, .partners h2, .contact h2 {
    font-weight: 680;
    letter-spacing: -.045em;
}
.section-header .section-tag, .partners .section-tag {
    border-radius: 0;
    padding-inline: 0;
    background: transparent;
}
.services .service-card, .reference-card, .expertise-grid article {
    border-radius: var(--wh-edge);
    box-shadow: none;
}
.reference-card, .expertise-grid article {
    border: 1px solid var(--wh-border);
}
.services .service-overlay {
    padding: clamp(1.15rem, 2.3vw, 1.85rem);
}
.services .service-overlay h3 {
    font-weight: 680;
    letter-spacing: -.025em;
}
.services .service-overlay p {
    color: #f1f3f5;
}
.contact .contact-card {
    border-radius: var(--wh-edge);
}
@media (hover: hover) {
    .services .service-card:hover, .references .reference-card:hover, .expertise .expertise-grid article:hover {
        box-shadow: 0 9px 22px rgba(7, 22, 40, .12);
    }
}
@media (max-width: 575px) {
    .hero h1 {
        font-size: clamp(2.05rem, 8.15vw, 2.95rem);
    }
    .hero-statistics {
        column-gap: 1rem;
    }
    .hero-statistic .counter {
        font-size: clamp(1.55rem, 7.4vw, 2.45rem);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero::before {
        animation: none;
    }
}

/* Die Kennzahlen bleiben vollständig innerhalb des Bildrahmens. */
.hero-card-1 { left: 18px; }
.hero-card-2 { right: 18px; }
.hero-card-3 { left: 18px; }
.hero .hero-floating { padding: .8rem 1rem; }
@media (min-width: 993px) {
    .hero { padding-top: 105px; }
    .hero-image img { height: clamp(500px, 43vw, 650px); }
}
@media (max-width: 575px) {
    .hero { padding-top: 74px; }
    .hero .hero-buttons a { min-height: 48px; padding: .8rem 1rem; }
}
