:root {
    --ap-primary: #4B99D3;
    --ap-dark: #1A1A1A;
    --ap-light: #E3E3E3;
}

.ap-hero {
    position: relative;
    background: url('../img/neu/mes-rosswag.png') center/cover no-repeat;
    min-height: 56vh;
    display: flex;
    align-items: center;
    color: #fff;
}

.ap-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.ap-hero .ap-hero-inner {
    position: relative;
    z-index: 1;
}

.ap-tagline {
    font-weight: 700;
    letter-spacing: .3px;
}

.ap-subline {
    opacity: .95;
}

.ap-cta .btn {
    padding: .75rem 1.25rem;
    border-radius: .5rem;
}

.ap-cta .btn-primary {
    background: var(--ap-primary);
    border-color: var(--ap-primary);
}

.ap-cta .btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.ap-cta .btn-outline-light:hover {
    background: #fff;
    color: #000;
}

.ap-section {
    padding: 4rem 0;
}

.ap-muted {
    color: #5f6b7a;
}

.ap-card {
    background: #fff;
    border: 1px solid #e8eaee;
    border-radius: .75rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    padding: 1.25rem;
    height: 100%;
}

.ap-card h5 {
    font-weight: 600;
}

.ap-badge {
    background: var(--ap-light);
    color: #333;
    border-radius: 999px;
    padding: .35rem .75rem;
    font-size: .9rem;
    display: inline-block;
    margin: .25rem;
}

.ap-icon {
    width: 64px;
    /* vorher 48px */
    height: 64px;
    /* vorher 48px */
    border-radius: 14px;
    /* leicht angepasst für größeres Quadrat */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(75, 153, 211, 0.18);
    color: var(--ap-primary);
    flex-shrink: 0;
}

/* Skalierung für FontAwesome Icons */
.ap-icon i {
    font-size: 30px;
    /* vorher automatisch (~16px) */
    line-height: 1;
}

/* SVG oder IMG innerhalb des Wrappers skalieren */
.ap-icon img,
.ap-icon svg {
    width: 38px;
    /* größer als ursprüngliche 28px */
    height: 38px;
    display: block;
}

/* Sprite-Referenzen: <svg class="ap-icon-svg"><use href="img/icons/icons.svg#icon-factory"/></svg> */
.ap-icon .ap-icon-svg {
    width: 38px;
    height: 38px;
    display: block;
    fill: currentColor;
    /* falls direkt Pfade ohne fill gesetzt würden */
}

/* Testimonials */
.ap-quote {
    font-style: italic;
    color: #333;
}

.ap-quote-card {
    border-left: 4px solid var(--ap-primary);
    padding-left: 1rem;
}

/* Screens */
.ap-screens .carousel-item {
    height: 32rem;
}

.ap-screens .container-carousel {
    height: 100%;
}

.ap-screens img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* CTA band */
.ap-cta-band {
    background: var(--ap-dark);
    color: #fff;
    padding: 3rem 0;
}

.ap-cta-band .btn-primary {
    background: var(--ap-primary);
    border-color: var(--ap-primary);
}

/* Small helpers */
.ap-list-tight li {
    margin-bottom: .35rem;
}

.ap-kicker {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .85rem;
    color: var(--ap-primary);
    font-weight: 700;
}

/* Reusable monitor frame for screenshots */
.ap-monitor {
    position: relative;
    aspect-ratio: 3 / 2;
    background: #f6f8fa;
    border-radius: 12px;
    overflow: hidden;
}

.ap-monitor .ap-monitor-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    z-index: 2;
}

/* Clip-Wrapper für den sichtbaren Bildschirmbereich */
.ap-monitor .ap-monitor-screen-wrap {
    position: absolute;
    /* exakt passend zum SVG-Ausschnitt (x=73,y=57,w=1054,h=566 bei 1200x800) */
    /* top: 57/800 = 7.125% | right/left: 73/1200 = 6.083% | bottom: 177/800 = 22.125% */
    inset: 7.125% 6.083% 22.125% 6.083%;
    overflow: hidden;
    border-radius: 18px;
    z-index: 1;
}

.ap-monitor .ap-monitor-screen {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
}