/* =============================================================
   round360 | theme-bright.css  –  Option 1: Soft Navy (fein abgestimmt)
   Dezent heller und offener als das Original, mit sattem Tiefblau.
   Zum sofortigen Rückgängigmachen: einfach das <link>-Tag für
   theme-bright.css in den HTML-Dateien entfernen/auskommentieren.
   ============================================================= */

/* ── Abgestimmte Design Tokens ───────────────────────────────── */
:root {
    --bg:        #101c34;
    --bg-card:   #172848;
    --bg-nav:    rgba(16, 28, 52, 0.92);
    --border:    #263e6c;
    --blue:      #3b82f6;
    --blue-dk:   #2563eb;
    --blue-glow: rgba(59, 130, 246, 0.20);
    --muted:     #93aed0;
    --light:     #d6e4f5;
}

/* ── Navigation & Dropdown ───────────────────────────────────── */
.nav-burger {
    border-color: rgba(255, 255, 255, 0.26);
}

#mobile-menu {
    background: rgba(16, 28, 52, 0.97);
    border-color: rgba(147, 197, 253, 0.20);
    box-shadow: 0 14px 36px rgba(6, 12, 26, 0.45);
}

.mobile-links li:not(:last-child) {
    border-bottom-color: rgba(147, 197, 253, 0.14);
}

/* ── Hero-Bereich ────────────────────────────────────────────── */
#hero-canvas {
    filter: brightness(0.68) saturate(1.04);
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(16, 28, 52, 0.20) 0%,
        rgba(16, 28, 52, 0.56) 65%,
        rgba(16, 28, 52, 0.82) 100%
    );
}

.btn-hero-outline {
    background: rgba(16, 28, 52, 0.35);
    border-color: rgba(255, 255, 255, 0.72);
}

/* ── Services, Ticker, Stats & CTA (Startseite) ──────────────── */
#services {
    background:
        radial-gradient(ellipse 80% 45% at 50% 0%, rgba(59, 130, 246, 0.10), transparent 70%),
        var(--bg);
}

.service-card,
.stat-card {
    background: linear-gradient(180deg, rgba(28, 49, 88, 0.72) 0%, var(--bg-card) 100%);
    border-color: rgba(147, 197, 253, 0.16);
    box-shadow: 0 8px 26px rgba(6, 12, 26, 0.24);
}

.service-card:hover,
.stat-card:hover {
    border-color: rgba(96, 165, 250, 0.42);
    box-shadow:
        0 16px 36px rgba(6, 12, 26, 0.34),
        0 0 24px rgba(59, 130, 246, 0.14);
}

#ticker {
    background: #142340;
    border-color: rgba(147, 197, 253, 0.16);
}

#ticker::before {
    background: linear-gradient(to right, #142340, transparent);
}

#ticker::after {
    background: linear-gradient(to left, #142340, transparent);
}

#stats {
    background:
        radial-gradient(ellipse 75% 60% at 50% 50%, rgba(59, 130, 246, 0.08), transparent 70%),
        #12203b;
}

#stats .stat-card svg rect[fill="rgba(9,15,30,0.9)"],
#stats .stat-card svg path[fill="rgba(9,15,30,0.9)"] {
    fill: #101c34;
}

#cta-section::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.19), transparent 68%);
}

.btn-cta-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ── Ambient Orbs (Kontakt & Leistungen) ─────────────────────── */
.orb {
    opacity: 0.26;
}

/* ── Kontaktseite ────────────────────────────────────────────── */
.contact-glass {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(147, 197, 253, 0.18);
}

.info-card,
.team-card {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(147, 197, 253, 0.14);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(147, 197, 253, 0.19);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(214, 228, 245, 0.36);
}

.form-group select option {
    background: #101c34;
}

.consent-label input[type="checkbox"] {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.28);
}

#mascot-eye circle[fill="rgba(9,15,30,0.9)"] {
    fill: rgba(16, 28, 52, 0.92);
}

#eye-inner {
    fill: #090f1e;
}

#eye-eyelid {
    fill: rgba(16, 28, 52, 0.95);
}

.team-img-wrap img {
    filter: grayscale(25%) brightness(0.94) contrast(1.04);
}

.team-placeholder svg rect[fill="#090f1e"] {
    fill: #13213d;
}

/* ── Leistungsseiten (leistungen/) ───────────────────────────── */
.pf-topbar {
    background: rgba(16, 28, 52, 0.82);
    border-bottom-color: rgba(147, 197, 253, 0.13);
}

.pf-card,
.pf-glass-block {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(147, 197, 253, 0.15);
}

.pf-card:hover {
    border-color: rgba(96, 165, 250, 0.46);
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.26),
        0 0 32px rgba(59, 130, 246, 0.16),
        0 20px 50px rgba(6, 12, 26, 0.38);
}

.pf-cta-block {
    background: rgba(59, 130, 246, 0.09);
    border-color: rgba(96, 165, 250, 0.26);
    position: relative;
    overflow: hidden;
}

/* =============================================================
   SCI-FI SIGNATURE ELEMENTE AUF ALLEN BESTEHENDEN SEITEN
   (360°-Headlines, Leuchtstreifen, Laser-Divider & Mini-Figur)
   ============================================================= */

/* 1. Logo "round360" – 360°-Drehung beim Hover */
.nav-brand span,
.pf-logo span {
    display: inline-block;
    transition: transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, text-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.nav-brand:hover span,
.pf-logo:hover span {
    color: #00f2ff;
    text-shadow: 0 0 16px rgba(0, 242, 255, 0.65);
    transform: perspective(400px) rotateY(360deg);
}

/* 2. 360°-Dreh-Headline & Cyan-Verlauf für Unterseiten & CTA */
.pf-overview-header h1 span,
.pf-detail-titles h1 span,
.cta-headline span {
    display: inline-block;
    background: linear-gradient(95deg, #3b82f6 0%, #00f2ff 55%, #68f7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.25));
    transform-style: preserve-3d;
    animation: subpage360Flip 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.pf-overview-header h1 span:hover,
.pf-detail-titles h1 span:hover,
.cta-headline span:hover {
    animation-duration: 1.8s;
}

@keyframes subpage360Flip {
    0%, 74% { transform: perspective(600px) rotateY(0deg); }
    90% { transform: perspective(600px) rotateY(360deg); }
    100% { transform: perspective(600px) rotateY(360deg); }
}

/* 3. Animierte Sci-Fi-Laser-Trennlinie (.pf-divider) auf Leistungs-Detailseiten */
.pf-divider {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.5), rgba(59, 130, 246, 0.25), transparent);
    overflow: hidden;
    border-radius: 2px;
}

.pf-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -25%;
    width: 22%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #00f2ff, #ffffff, #00f2ff, transparent);
    box-shadow: 0 0 12px #00f2ff;
    animation: scifiDividerScan 3.6s ease-in-out infinite;
}

@keyframes scifiDividerScan {
    0% { left: -25%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: 105%; opacity: 0; }
}

/* 4. Animierte Sci-Fi-Leuchtstreifen links & rechts (Kopfbereiche & CTA-Blöcke) */
.pf-overview-header,
.mascot-section,
#cta-section {
    position: relative;
}

.subpage-scifi-bg {
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 40px);
    max-width: 1540px;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.pf-cta-block .subpage-scifi-bg {
    width: 100%;
    left: 0;
    transform: none;
}

.pf-overview-header > *:not(.subpage-scifi-bg),
.mascot-section > *:not(.subpage-scifi-bg),
.pf-cta-block > *:not(.subpage-scifi-bg),
#cta-section > *:not(.subpage-scifi-bg) {
    position: relative;
    z-index: 2;
}

.subpage-side-svg {
    width: 145px;
    height: 200px;
    flex-shrink: 0;
    opacity: 0.78;
}

@media (max-width: 1180px) {
    .subpage-side-svg {
        width: 95px;
        height: 150px;
        opacity: 0.45;
    }
}

.subpage-pulse-cyan {
    stroke-dasharray: 70 360;
    stroke-dashoffset: 430;
    filter: drop-shadow(0 0 7px #00f2ff);
    animation: subpageLineFlow 4.4s linear infinite;
}

.subpage-pulse-amber {
    stroke-dasharray: 50 320;
    stroke-dashoffset: 370;
    filter: drop-shadow(0 0 6px #ffaa33);
    animation: subpageLineFlow 5.6s linear infinite reverse;
}

@keyframes subpageLineFlow {
    0% { stroke-dashoffset: 430; }
    100% { stroke-dashoffset: 0; }
}

/* 5. Kleines Sci-Fi-Männchen auf den Buttons der Unterseiten & Kontaktseite */
.btn-mascot-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.pf-cta-block .btn-mascot-wrap {
    margin-top: 1.2rem;
}

.pf-cta-block .pf-cta-btn {
    margin-top: 0;
    padding: 0.9rem 2.2rem;
}

.contact-glass .btn-mascot-wrap {
    display: flex;
    width: 100%;
    margin-top: 0.8rem;
}

.scifi-mini-walker {
    position: absolute;
    top: -50px;
    right: 12px;
    width: 66px;
    height: 74px;
    z-index: 5;
    pointer-events: none;
    transform-origin: 50% 65%;
    animation: walkerFlyAndSitSub 2.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mini-walker-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 8px rgba(0, 242, 255, 0.35));
}

@keyframes walkerFlyAndSitSub {
    0% {
        opacity: 0;
        transform: translate(-120px, -85px) rotate(16deg) scale(0.75);
    }
    55% {
        opacity: 1;
        transform: translate(-10px, -12px) rotate(-5deg) scale(1.04);
    }
    78% {
        transform: translate(2px, 2px) rotate(2deg) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

.walker-jet-trail {
    animation: walkerJetFadeSub 2.1s ease-out forwards;
}

@keyframes walkerJetFadeSub {
    0%, 50% { opacity: 0.95; }
    100% { opacity: 0; }
}

.walker-leg-l {
    transform-origin: 34px 55px;
    animation: walkerLegSwingSub 2.6s ease-in-out infinite;
}

.walker-leg-r {
    transform-origin: 45px 55px;
    animation: walkerLegSwingSub 2.6s ease-in-out infinite reverse;
}

@keyframes walkerLegSwingSub {
    0%, 100% { transform: rotate(-6deg); }
    50% { transform: rotate(7deg); }
}

.walker-torso {
    transform-origin: 40px 55px;
    animation: walkerBreatheSub 3.4s ease-in-out infinite;
}

.walker-head {
    transform-origin: 40px 28px;
    animation: walkerLookAroundSub 5.5s ease-in-out infinite;
}

@keyframes walkerBreatheSub {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1.8px); }
}

@keyframes walkerLookAroundSub {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    30% { transform: translate(-1.5px, -1.5px) rotate(-6deg); }
    65% { transform: translate(1.5px, 0) rotate(5deg); }
}

.btn-mascot-wrap:hover .scifi-mini-walker {
    transform: translateY(-7px) scale(1.06);
    transition: transform 0.28s ease;
}

.btn-mascot-wrap:hover .walker-arm-r {
    transform-origin: 49px 36px;
    animation: walkerWaveSub 0.55s ease-in-out infinite alternate;
}

@keyframes walkerWaveSub {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-28deg); }
}

@media (max-width: 768px) {
    .subpage-side-svg {
        width: 72px;
        height: 150px;
        opacity: 0.35;
    }
}
