@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&amp;family=Playfair+Display:wght@500;600&amp;display=swap');

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.glass {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px -6px rgba(0, 0, 0, 0.12);
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass:hover {
    box-shadow: 0 20px 50px -8px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.glass-tinted {
    background: rgba(15, 118, 110, 0.12);
    border: 1px solid rgba(15, 118, 110, 0.25);
    color: #0f766e;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-tinted:hover {
    background: rgba(15, 118, 110, 0.18);
    transform: translateY(-1px);
}

.service-card {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
               box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-pill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
               inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-radius: 9999px;
    z-index: 1;
    transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-item {
    position: relative;
    z-index: 10;
    padding: 10px 22px;
    font-size: 14.5px;
    font-weight: 500;
    color: #3f3f46;
    border-radius: 9999px;
    transition: color 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.nav-item.active {
    color: #18181b;
    font-weight: 600;
}

.section-header {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: #71717a;
}

.premium-shadow {
    box-shadow: 0 30px 70px -15px rgb(0 0 0 / 0.07),
               0 10px 20px -5px rgb(0 0 0 / 0.04);
}

.apple-text {
    letter-spacing: -0.035em;
}

.glass-input {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 14px 18px;
    font-size: 15px;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-input:focus {
    outline: none;
    border-color: rgba(0, 122, 255, 0.35);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.parallax-bg {
    transition: transform 0.1s ease-out;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(0,122,255,0.08), rgba(0,122,255,0.03));
    color: #007AFF;
    font-size: 22px;
}

.subtle-grain {
    background-image:
        linear-gradient(rgba(0,0,0,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.012) 1px, transparent 1px);
    background-size: 5px 5px;
}

.hero-gradient {
    background: linear-gradient(145deg, #f8f9fb 0%, #f0f1f5 45%, #e8e9ee 100%);
}

nav {
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
               opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
nav.nav-hidden {
    transform: translate(-50%, -120%);
    opacity: 0;
    pointer-events: none;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -30px) scale(1.05); }
}
@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 25px) scale(0.95); }
}
@keyframes floatOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -18px) scale(1.03); }
}
.parallax-orb {
    will-change: transform;
}

.tech-fall-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.tech-fall-icon {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 16px;
    will-change: transform;
    pointer-events: none;
    transition: none;
}

#leistungen .service-card {
    will-change: transform, opacity;
    transition: none;
}

.modal-mockup {
    box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.15);
    border: 1px solid rgba(0,0,0,0.08);
}

/* Intro cards throw-in animation */
.intro-card {
    opacity: 0;
    transform: translateY(60px) scale(0.7) rotate(-8deg);
    transition: none;
}

.intro-card.animate-in {
    animation: throwIn 0.9s cubic-bezier(0.23, 1.0, 0.32, 1) forwards;
}

@keyframes throwIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.7) rotate(-8deg);
    }
    60% {
        opacity: 1;
        transform: translateY(-12px) scale(1.08) rotate(3deg);
    }
    80% {
        transform: translateY(4px) scale(0.98) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

#hero-wrapper {
    transition: max-width 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                width 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                margin-left 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                border-radius 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: max-width, width, margin-left, border-radius;
}

#hero-wrapper.expanded {
    max-width: 100vw !important;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0px; /* starker Hammer-Effekt */
}

.project-card-featured {
    position: relative;
    border: 1.5px solid rgba(15, 118, 110, 0.35) !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.32) 0%, rgba(15, 118, 110, 0.08) 100%);
    box-shadow: 0 24px 60px -18px rgba(15, 118, 110, 0.22),
                0 10px 24px -8px rgba(0, 0, 0, 0.06);
}

.project-card-featured:hover {
    border-color: rgba(15, 118, 110, 0.5) !important;
    box-shadow: 0 28px 70px -16px rgba(15, 118, 110, 0.28),
                0 14px 30px -10px rgba(0, 0, 0, 0.08);
}

.project-card-featured .project-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0f766e, #0d9488);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}

/* ── website.html Subpage ── */

.website-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(244, 244, 247, 0.82);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.website-hero-card {
    background: linear-gradient(145deg, #f8f9fb 0%, #f0f1f5 45%, #e8e9ee 100%);
    box-shadow: 0 40px 100px -20px rgb(0 0 0 / 0.1);
}

.website-mockup-frame {
    background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(255,255,255,0.5));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px -15px rgba(15, 118, 110, 0.2);
}

.website-type-card {
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease;
}

.website-type-card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 118, 110, 0.35);
}

.website-process-step {
    position: relative;
}

.website-process-step::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 52px;
    bottom: -28px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(15, 118, 110, 0.35), rgba(15, 118, 110, 0.05));
}

.website-process-step:last-child::before {
    display: none;
}

.website-faq details {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: background 0.25s ease;
}

.website-faq details[open] {
    background: rgba(255, 255, 255, 0.65);
}

.website-faq summary {
    list-style: none;
    cursor: pointer;
}

.website-faq summary::-webkit-details-marker {
    display: none;
}

.website-pricing-card {
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.1) 0%, rgba(255, 255, 255, 0.35) 60%);
    border: 1.5px solid rgba(15, 118, 110, 0.25);
}
