:root{
    --brand-primary: #2f6bff;
    --brand-dark: #0d1321;
    --brand-ink: #101828;
    --brand-muted: #667085;
    --brand-surface: #f4f6fb;
    --brand-border: rgba(16, 24, 40, 0.08);
    --brand-shadow: 0 20px 45px rgba(16, 24, 40, 0.12);
}
body{
    color: var(--brand-ink);
    background: var(--brand-surface);
}
h1, h2, h3, h4, h5{
    letter-spacing: -0.02em;
}
.section-pad{
    padding: clamp(3rem, 5vw, 5.5rem) 0;
}
.nav-logo {
    height: 52px;
    width: auto;
}
.navbar{
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brand-border);
}
.navbar .nav-link{
    font-weight: 500;
    color: var(--brand-ink);
}
.navbar .nav-link:hover,
.navbar .nav-link:focus{
    color: var(--brand-primary);
}
.dropdown .btn{
    border-radius: 999px;
}
.btn{
    border-radius: 999px;
    padding: 0.55rem 1.3rem;
    font-weight: 600;
}
.btn-primary{
    background: linear-gradient(120deg, #2f6bff, #5d88ff);
    border: none;
    box-shadow: 0 10px 24px rgba(47, 107, 255, 0.25);
}
.btn-outline-light{
    border-width: 2px;
}
.hero-carousel{
    position: relative;
    min-height: 70vh;
    background: #0b1220;
    overflow: hidden;
}
.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item{
    height: 70vh;
}
.hero-slide{
    position:absolute; inset:0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.04);
}

/* Overlay: unten dunkler für Buttons */
.hero-overlay{
    position:absolute; inset:0;
    background:
            radial-gradient(900px 500px at 20% 30%, rgba(11,18,32,.2), rgba(11,18,32,.9)),
            linear-gradient(180deg, rgba(11,18,32,.25), rgba(11,18,32,.92));
    pointer-events:none;
}
[dir="rtl"] .hero-overlay{
    background:
            radial-gradient(900px 500px at 80% 30%, rgba(11,18,32,.2), rgba(11,18,32,.9)),
            linear-gradient(180deg, rgba(11,18,32,.25), rgba(11,18,32,.92));
}

/* Buttons unten links/rechts je nach dir */
.hero-cta{
    position:absolute;
    left:0; right:0; bottom: 3.4rem;
    z-index: 3;
}
.hero-caption{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    padding: 4.5rem 0 0;
    z-index: 3;
    pointer-events: none;
}
.hero-caption-text{
    max-width: 620px;
    color: #f8fafc;
    margin: 0;
    padding: 1.25rem 1.5rem;
    text-shadow: 0 6px 18px rgba(11, 18, 32, 0.85);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.hero-caption-word{
    display: inline-block;
    animation: hero-word-fade 6s ease-in-out infinite;
    animation-delay: calc(var(--word-index) * 0.25s);
}
@keyframes hero-word-fade{
    0%{
        opacity: 0;
        transform: translateY(6px);
    }
    12%{
        opacity: 1;
        transform: translateY(0);
    }
    78%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: translateY(-4px);
    }
}
[dir="rtl"] .hero-caption{
    text-align: right;
}
@media (max-width: 991px){
    .hero-carousel{
        min-height: 65vh;
    }
    .hero-carousel .carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item{
        height: 65vh;
    }
    .hero-caption{
        padding-top: 3.75rem;
    }
}
@media (max-width: 575px){
    .hero-carousel{
        min-height: 60vh;
    }
    .hero-carousel .carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item{
        height: 60vh;
    }
    .hero-caption{
        padding-top: 3.25rem;
    }
}
.feature-card{
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--brand-shadow);
}
.soft-card{
    border-radius: 24px;
    border: 1px solid var(--brand-border);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}
.img-cover{
    object-fit: cover;
}
.card{
    border-radius: 24px;
}
.card .badge{
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
}
.list-group-item{
    border-color: transparent;
    padding-left: 0;
}
.anchor-offset{
    scroll-margin-top: 90px;
}
.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #833AB4, #C13584, #E1306C, #FD1D1D);
    border: none;
    color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.btn-instagram:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(195, 53, 132, 0.3);
    color: white;
}
.btn-linkedin {
    background-color: #0A66C2;
    border: none;
    color: white;
}
.btn-linkedin:hover {
    background-color: #004182;
    color: white;
}
.btn-instagram i.bi-instagram {
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}
.btn-linkedin i.bi-linkedin {
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}
.obj-cover{ object-fit: cover; }
.gallery-tile .ratio{
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid rgba(255,255,255,0.6);
}
.gallery-tile:hover .ratio{
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.18)!important;
}
.nav-pills .nav-link{
    border-radius: 999px;
    padding: .6rem 1.1rem;
    border: 1px solid transparent;
}
.nav-pills .nav-link.active{
    background: var(--brand-ink);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.18);
}
.nav-pills .nav-link:not(.active){
    color: var(--brand-ink);
    background: #ffffff;
    border-color: var(--brand-border);
}