@font-face {
    font-family: 'Geist';
    src: url('https://cdn.jsdelivr.net/npm/geist@1.2.0/dist/fonts/geist-sans/Geist-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Geist';
    src: url('https://cdn.jsdelivr.net/npm/geist@1.2.0/dist/fonts/geist-sans/Geist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Geist';
    src: url('https://cdn.jsdelivr.net/npm/geist@1.2.0/dist/fonts/geist-sans/Geist-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Geist';
    src: url('https://cdn.jsdelivr.net/npm/geist@1.2.0/dist/fonts/geist-sans/Geist-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Geist Mono';
    src: url('https://cdn.jsdelivr.net/npm/geist@1.2.0/dist/fonts/geist-mono/GeistMono-Regular.woff2') format('woff2');
    font-weight: 400;
}

:root {
    --bg: #fafafa;
    --bg-dark: #09090b;
    --bg-card: #ffffff;
    --text: #111113;
    --text-muted: #52525b;
    --text-light: #71717a;
    --accent: #dc2626;
    --accent-hover: #b91c1c;
    --border: #e4e4e7;
    --border-light: #f4f4f5;
    --sidebar-w: 300px;
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    font-feature-settings: 'ss01' on, 'ss02' on;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3px;
    font-size: .75rem;
    font-weight: 600;
}

.lang-switcher a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: .35rem .6rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    transition: all .2s;
}

.lang-switcher a:hover {
    color: var(--text);
}

.lang-switcher a.active {
    background: var(--accent);
    color: white;
}

.lang-switcher .flag {
    font-size: .85rem;
    line-height: 1;
}

/* Mobile lang switcher */
.mobile-lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 3px;
    font-size: .75rem;
    font-weight: 600;
}

.mobile-lang-switcher a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: .35rem .6rem;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    border-radius: 6px;
    transition: all .2s;
}

.mobile-lang-switcher a:hover {
    color: white;
}

.mobile-lang-switcher a.active {
    background: var(--accent);
    color: white;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: var(--sidebar-w);
    background: var(--bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 100;
    padding: 1.5rem;
    overflow-y: auto;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.sidebar-avatar {
    position: relative;
    width: 44px; height: 44px;
}

.sidebar-avatar img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 1px; right: 1px;
    width: 10px; height: 10px;
    background: #22c55e;
    border: 2px solid var(--bg);
    border-radius: 50%;
}

.sidebar-cta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: .65rem 1.2rem;
    background: hsla(0, 0%, 12%, 1);
    color: white;
    text-decoration: none;
    border-radius: 9999px;
    transition: all .3s ease-in-out;
    box-shadow:
        inset 0 0.5px hsl(0, 0%, 100%),
        inset 0 -1px 2px hsl(0, 0%, 0%),
        0 4px 10px -4px hsla(0, 0%, 0%, 1);
}

.sidebar-cta:hover {
    background: hsla(0, 80%, 50%, .75);
    box-shadow:
        inset 0 0.5px hsl(0, 0%, 100%),
        inset 0 -1px 2px hsl(0, 0%, 0%),
        0 0 0 .375rem hsla(0, 80%, 50%, .75),
        0 4px 10px -4px hsla(0, 0%, 0%, .5);
    transform: scale(1.05);
}

.sidebar-cta-title { font-weight: 600; font-size: .85rem; }
.sidebar-cta-sub { font-size: .7rem; opacity: .9; }

/* Language in sidebar */
.sidebar-lang {
    display: flex;
    justify-content: center;
    padding: .75rem 0;
}

.sidebar-status {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 0;
    font-size: .8rem;
    color: var(--text-muted);
}

.status-bars {
    display: flex;
    gap: 3px;
}

.status-bars span {
    width: 5px; height: 14px;
    background: var(--accent);
    border-radius: 2px;
}

.status-bars span.inactive { background: var(--border); }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: .75rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: .5rem 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem 0;
    color: var(--text);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    transition: color .15s;
}

.sidebar-nav a:hover { color: var(--accent); }

.nav-badge {
    font-size: .75rem;
    color: var(--accent);
    font-weight: 600;
}

.sidebar-contact {
    margin-top: auto;
    padding-top: 1rem;
}

.contact-block {
    margin-bottom: .75rem;
}

.contact-label {
    display: block;
    font-size: .65rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .15rem;
}

.contact-value {
    color: var(--text);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
}

.contact-value:hover { color: var(--accent); }

.sidebar-footer {
    padding-top: .75rem;
    border-top: 1px solid var(--border);
    font-size: .7rem;
    color: var(--text-light);
}

.sidebar-footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin-right: .75rem;
}

.sidebar-footer a:hover { color: var(--accent); }

/* ===== MOBILE ===== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 70px;
    background: rgba(250,250,250,.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 1rem;
    align-items: center;
    justify-content: space-between;
    z-index: 1001;
    transition: background .3s, border-color .3s;
}

.mobile-header.dark {
    background: rgba(9,9,11,.95);
    border-color: rgba(255,255,255,.1);
}

.mobile-header-profile {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.mobile-header-avatar {
    position: relative;
    width: 44px;
    height: 44px;
}

.mobile-header-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.mobile-header-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid white;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.1); }
}

.mobile-header.dark .mobile-header-status {
    border-color: var(--bg-dark);
}

.mobile-header-info {
    display: flex;
    flex-direction: column;
}

.mobile-header-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--text);
    line-height: 1.2;
    transition: color .3s;
}

.mobile-header-role {
    font-size: .75rem;
    color: var(--text-muted);
    transition: color .3s;
}

.mobile-header.dark .mobile-header-name { color: white; }
.mobile-header.dark .mobile-header-role { color: rgba(255,255,255,.6); }

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* Mobile header lang switcher */
.mobile-header-lang {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px;
    font-size: .7rem;
    font-weight: 600;
}

.mobile-header.dark .mobile-header-lang {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.15);
}

.mobile-header-lang a {
    display: flex;
    align-items: center;
    padding: .3rem .4rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 4px;
    transition: all .2s;
}

.mobile-header.dark .mobile-header-lang a {
    color: rgba(255,255,255,.5);
}

.mobile-header-lang a.active {
    background: var(--accent);
    color: white;
}

.menu-toggle {
    width: 40px; height: 40px;
    background: none; border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 8px;
}

.menu-toggle span {
    width: 100%; height: 2px;
    background: var(--text);
    transition: .25s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); background: white; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); background: white; }

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}

.mobile-nav.active { 
    opacity: 1; 
    visibility: visible;
}

.mobile-nav-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 100px 2rem 2rem;
    overflow-y: auto;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 1.5rem;
}

.mobile-nav-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.mobile-nav-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: .15rem;
}

.mobile-nav-info span {
    color: rgba(255,255,255,.5);
    font-size: .8rem;
}

.mobile-nav-status {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
    color: #22c55e;
    font-size: .75rem;
    font-weight: 600;
}

.mobile-nav-status::before {
    content: '';
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.2); }
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all .2s;
    transform: translateX(-20px);
    opacity: 0;
}

.mobile-nav.active .mobile-nav-links a {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav-links a:nth-child(1) { transition-delay: .1s; }
.mobile-nav-links a:nth-child(2) { transition-delay: .15s; }
.mobile-nav-links a:nth-child(3) { transition-delay: .2s; }
.mobile-nav-links a:nth-child(4) { transition-delay: .25s; }
.mobile-nav-links a:nth-child(5) { transition-delay: .3s; }
.mobile-nav-links a:nth-child(6) { transition-delay: .35s; }

.mobile-nav-links a:hover {
    background: rgba(255,255,255,.05);
    color: var(--accent);
}

.mobile-nav-links a span {
    color: var(--accent);
    margin-right: .25rem;
}

/* Mobile nav language */
.mobile-nav-lang {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 1rem;
}

.mobile-nav-cta {
    margin-top: auto;
    padding-top: 2rem;
}

.mobile-nav-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
}

.mobile-nav-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
}

.mobile-nav-footer a {
    color: rgba(255,255,255,.4);
    text-decoration: none;
    font-size: .8rem;
}

/* ===== MAIN ===== */
.main { margin-left: var(--sidebar-w); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

/* Animated gradient mesh */
.hero-gradient {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(220,38,38,.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(220,38,38,.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 60% 80%, rgba(220,38,38,.06) 0%, transparent 50%);
    animation: gradientMove 20s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-1%, 2%) rotate(-1deg); }
}

/* Floating shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .4;
    animation: float 15s ease-in-out infinite;
}

.hero-shape-1 {
    width: 400px; height: 400px;
    background: linear-gradient(135deg, rgba(220,38,38,.15), rgba(220,38,38,.05));
    top: 10%; right: 10%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 250px; height: 250px;
    background: linear-gradient(135deg, rgba(220,38,38,.1), transparent);
    bottom: 20%; left: 5%;
    animation-delay: -5s;
}

.hero-shape-3 {
    width: 180px; height: 180px;
    background: rgba(220,38,38,.08);
    top: 60%; right: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}



.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: .6rem 1.2rem;
    position: sticky;
    top: 1rem;
    z-index: 100;
    transition: background .3s, box-shadow .3s;
}
.hero-top.scrolled {
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    border-color: rgba(255, 255, 255, .15);
}

.hero-brand {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
}

/* ===== MINI ANALOG CLOCK ===== */
.mini-clock-wrap {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.mini-clock {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}
.mini-clock-face {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220,38,38,.15) 0%, rgba(220,38,38,.08) 100%);
    border: 2px solid rgba(220,38,38,.4);
    position: relative;
    box-shadow: 0 0 12px rgba(220,38,38,.15), inset 0 0 8px rgba(220,38,38,.05);
}
.mini-dot {
    position: absolute;
    width: 2.5px;
    height: 2.5px;
    border-radius: 50%;
    background: rgba(220,38,38,.6);
}
.mini-dot-12 { top: 3px; left: 50%; transform: translateX(-50%); width: 3px; height: 3px; background: rgba(220,38,38,.9); }
.mini-dot-3 { right: 3px; top: 50%; transform: translateY(-50%); }
.mini-dot-6 { bottom: 3px; left: 50%; transform: translateX(-50%); }
.mini-dot-9 { left: 3px; top: 50%; transform: translateY(-50%); }
.mini-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 2px;
}
.mini-hand-h {
    width: 2.5px;
    height: 11px;
    margin-left: -1.25px;
    background: white;
}
.mini-hand-m {
    width: 1.5px;
    height: 15px;
    margin-left: -.75px;
    background: rgba(255, 255, 255, .6);
}
.mini-hand-s {
    width: .7px;
    height: 16px;
    margin-left: -.35px;
    background: var(--accent);
    box-shadow: 0 0 4px rgba(220,38,38,.5);
}
.mini-clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 4px rgba(220,38,38,.6);
    z-index: 2;
}
.mini-clock-time {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: .7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .05em;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 650px;
}

/* Mobile Hero Photo */
.hero-mobile-photo {
    display: none;
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 1.5rem;
}

.hero-mobile-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.hero-mobile-status {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border: 3px solid white;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.hero-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -.03em;
}

.title-line { display: block; }
.title-accent { color: var(--accent); }
.title-italic { font-style: italic; }

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: .75rem;
    letter-spacing: .08em;
    font-weight: 500;
}
.hero-punch {
    font-size: 1.15rem;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-tech-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.hero-tech-row img {
    border-radius: 3px;
}
.hero-tech-row span {
    font-size: .75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-right: .5rem;
}

.hero-btns {
    display: flex;
    gap: .75rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-family: inherit;
    position: relative;
}

.btn-primary {
    color: white;
    overflow: visible;
    isolation: isolate;
    box-shadow:
        inset 0 0.5px rgba(255,255,255,.15),
        inset 0 -1px 2px rgba(0,0,0,.3),
        0 4px 10px -4px rgba(0,0,0,.4);
}



.btn-primary:hover {
    transform: scale(1.05);
}

.btn-primary:active {
    transform: scale(1);
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    color: white;
    border-radius: 9999px;
}

.btn-secondary:hover {
    transform: scale(1.05);
}

.btn svg {
    width: 16px; height: 16px;
    position: relative;
    z-index: 1;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.proof-rating {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.stars {
    display: flex;
    gap: 2px;
    color: var(--accent);
}

.stars svg { width: 14px; height: 14px; fill: currentColor; }

.rating-value { font-weight: 600; }

.proof-text {
    font-size: .85rem;
    color: var(--text-muted);
}

.proof-text strong { color: var(--text); }

/* Hero Visual - Code Window */
.hero-visual {
    position: relative;
}

.code-window {
    width: 380px;
    background: var(--bg-dark);
    border-radius: 16px;
    box-shadow: 
        0 50px 100px -20px rgba(0,0,0,.25),
        0 30px 60px -30px rgba(0,0,0,.3);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform .4s;
}

.code-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: .9rem 1rem;
    background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28ca42; }

.code-title {
    margin-left: auto;
    font-family: 'Geist Mono', monospace;
    font-size: .7rem;
    color: rgba(255,255,255,.4);
}

.code-body {
    padding: 1.25rem;
    font-family: 'Geist Mono', monospace;
    font-size: .8rem;
    line-height: 1.8;
    color: #e4e4e7;
}

.code-line {
    display: flex;
    gap: .75rem;
}

.line-num {
    color: rgba(255,255,255,.2);
    user-select: none;
    width: 20px;
    text-align: right;
}

.code-body .kw { color: #c586c0; }
.code-body .fn { color: #dcdcaa; }
.code-body .cl { color: #4ec9b0; }
.code-body .str { color: #ce9178; }
.code-body .cm { color: #6a9955; }
.code-body .vr { color: #9cdcfe; }
.code-body .op { color: #d4d4d4; }

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: var(--accent);
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hero Screenshot Mockup */
.hero-screenshot {
    width: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 48px rgba(0,0,0,.25);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform .6s ease;
}
.hero-visual .hero-screenshot {
    width: 480px;
}
.hero-screenshot:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.hero-screenshot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-screenshot-bar span {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.15);
}
.hero-screenshot-bar span:first-child { background: #ff5f57; }
.hero-screenshot-bar span:nth-child(2) { background: #febc2e; }
.hero-screenshot-bar span:nth-child(3) { background: #28c840; }
.hero-screenshot-bar .hero-screenshot-url {
    width: auto; height: auto; border-radius: 6px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.35);
    font-size: .7rem;
    padding: 3px 12px;
    margin-left: 8px;
}
.hero-screenshot img {
    width: 100%;
    display: block;
}

/* Stats floating card */
.hero-stats-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
    border: 1px solid var(--border);
    animation: floatCard 6s ease-in-out infinite;
}

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

.stats-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-item span {
    font-size: .7rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== SECTIONS ===== */
.section {
    padding: 6rem 5rem;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(220,38,38,.08);
    padding: .35rem .75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    letter-spacing: .03em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}

.section-title .accent { color: var(--accent); }

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 550px;
    line-height: 1.7;
}

/* ===== PRICING HIGHLIGHT ===== */
.pricing-highlight {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1f 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    color: white;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pricing-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220,38,38,.15) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-highlight-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.pricing-highlight-content p {
    color: rgba(255,255,255,.7);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
}

.pricing-highlight-price {
    text-align: center;
    padding: 1.5rem 2.5rem;
    background: rgba(255,255,255,.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.1);
}

.pricing-highlight-price .price-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.5);
    margin-bottom: .25rem;
}

.pricing-highlight-price .price-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.pricing-highlight-price .price-value span {
    font-size: 1.5rem;
    font-weight: 500;
}

.pricing-highlight-price .price-note {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    margin-top: .25rem;
}

/* ===== SERVICES ===== */
.services-section { background: var(--bg-card); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    background: var(--bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    transition: all .3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .3s ease;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 48px; height: 48px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon svg {
    width: 22px; height: 22px;
    stroke-width: 1.5;
}

.service-num {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0,0,0,.04);
    line-height: 1;
    font-feature-settings: 'tnum' on;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .75rem;
    line-height: 1.3;
}

.service-card p {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 0;
    font-size: .85rem;
    color: var(--text-muted);
}

.service-features li::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

/* Service Price Badge */
.service-price {
    display: inline-flex;
    align-items: baseline;
    gap: .25rem;
    margin-top: 1rem;
    padding: .5rem .75rem;
    background: rgba(220,38,38,.08);
    border-radius: 8px;
    font-size: .8rem;
    color: var(--accent);
    font-weight: 600;
}

.service-price .from {
    font-weight: 400;
    color: var(--text-muted);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    max-width: 280px;
}

.about-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 16px;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 130px; height: 130px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 40px rgba(220,38,38,.35);
}

.about-badge strong {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge span { font-size: .8rem; }

.about-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all .2s;
}

.about-feature:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.about-feature-icon {
    width: 40px; height: 40px;
    background: rgba(220,38,38,.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.about-feature-icon svg { width: 18px; height: 18px; }

.about-feature strong {
    display: block;
    font-size: .9rem;
    margin-bottom: .15rem;
}

.about-feature span {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ===== TECH STACK ===== */
.tech-section { background: var(--bg-card); }

.stack-categories {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.stack-category-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .75rem;
}

.stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1.25rem .75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: center;
    transition: all .22s ease;
    cursor: default;
}

.stack-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: var(--accent);
    background: var(--bg-card);
}

.stack-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stack-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.stack-logo svg {
    width: 42px;
    height: 42px;
}

.stack-logo-text {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-size: .9rem;
    font-weight: 800;
}

.stack-name {
    font-size: .8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.stack-level {
    font-size: .65rem;
    color: var(--text-light);
    font-weight: 500;
}

/* CRM Specialization Banner */
.crm-specialization {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1f 100%);
    border-radius: 20px;
    color: white;
}

.crm-spec-icon { font-size: 3rem; flex-shrink: 0; }
.crm-spec-content { flex: 1; }
.crm-spec-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.crm-spec-content p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.6; max-width: 600px; }

@media (max-width: 1100px) {
    .stack-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .stack-grid { grid-template-columns: repeat(3, 1fr); }
    .crm-specialization { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .stack-grid { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
    .stack-item { padding: 1rem .5rem .75rem; }
}

/* ===== VERGLEICH ===== */
.vergleich-section {
    background: var(--bg-dark);
    color: white;
}

.vergleich-section .section-tag {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
}

.vergleich-section .section-title { color: white; }
.vergleich-section .section-desc { color: rgba(255,255,255,.55); }

.vergleich-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
}

.vergleich-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.vergleich-table thead tr {
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.vergleich-table th {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    text-align: left;
    vertical-align: middle;
}

.vergleich-feature-col {
    width: 22%;
    color: rgba(255,255,255,.5);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.vergleich-col {
    width: 26%;
    text-align: center !important;
}

.vergleich-col--winner {
    background: rgba(220,38,38,.08) !important;
    border-left: 1px solid rgba(220,38,38,.25);
    border-right: 1px solid rgba(220,38,38,.25);
    text-align: center !important;
}

thead .vergleich-col--winner {
    border-top: 2px solid var(--accent);
}

.vergleich-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}

.vergleich-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.vergleich-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto .5rem;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
}
.vergleich-icon svg {
    width: 26px;
    height: 26px;
    stroke: rgba(255,255,255,.7);
}
.vergleich-col--winner .vergleich-icon {
    background: rgba(220,38,38,.15);
}
.vergleich-col--winner .vergleich-icon svg {
    stroke: var(--accent);
}

.vergleich-name {
    font-size: .85rem;
    font-weight: 700;
    color: white;
    text-align: center;
    line-height: 1.3;
}

.vergleich-name small {
    font-size: .7rem;
    color: rgba(255,255,255,.4);
    font-weight: 400;
}

.vergleich-badge-best {
    font-size: .65rem;
    font-weight: 700;
    background: var(--accent);
    color: white;
    padding: .15rem .55rem;
    border-radius: 100px;
    letter-spacing: .03em;
}

.vergleich-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background .15s;
}

.vergleich-table tbody tr:hover {
    background: rgba(255,255,255,.02);
}

.vergleich-table tbody tr:last-child { border-bottom: none; }

.vergleich-table td {
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,.65);
    text-align: center;
    vertical-align: middle;
    font-size: .85rem;
}

.vergleich-feature {
    text-align: left !important;
    color: white !important;
    font-weight: 600;
    font-size: .88rem !important;
}

.vergleich-check {
    color: #22c55e;
    font-weight: 700;
    margin-right: .3rem;
}

.vergleich-cross {
    color: #ef4444;
    font-weight: 700;
    margin-right: .3rem;
}

.vergleich-neutral {
    color: #f59e0b;
    font-weight: 700;
    margin-right: .3rem;
}

.vergleich-value {
    font-weight: 700;
    font-size: .9rem;
}

.vergleich-value--good { color: #22c55e; }
.vergleich-value--bad  { color: #ef4444; }
.vergleich-value--neutral { color: rgba(255,255,255,.5); }

.vergleich-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 2rem 2.5rem;
    background: rgba(220,38,38,.1);
    border: 1px solid rgba(220,38,38,.25);
    border-radius: 16px;
}

.vergleich-cta p {
    color: rgba(255,255,255,.7);
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .vergleich-cta { flex-direction: column; text-align: center; }
    .vergleich-table td, .vergleich-table th { padding: .85rem .75rem; font-size: .78rem; }
}

/* ===== SCRIPTCASE HINT ===== */
.scriptcase-hint {
    margin-top: 1.5rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: center;
}

.scriptcase-hint-left {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.scriptcase-hint-icon { flex-shrink: 0; margin-top: .2rem; }

.scriptcase-hint-left h3 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: .4rem;
}

.scriptcase-hint-left p {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
    margin: 0;
}

.scriptcase-hint-left strong {
    color: rgba(255,255,255,.85);
}

.scriptcase-hint-tiers {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex-shrink: 0;
}

.scriptcase-tier {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .6rem 1rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    min-width: 300px;
}

.scriptcase-tier--mid {
    border-color: rgba(220,38,38,.2);
    background: rgba(220,38,38,.05);
}

.scriptcase-tier--full {
    border-color: rgba(220,38,38,.35);
    background: rgba(220,38,38,.08);
}

.scriptcase-tier-label {
    font-size: .75rem;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    width: 130px;
    flex-shrink: 0;
}

.scriptcase-tier--mid .scriptcase-tier-label,
.scriptcase-tier--full .scriptcase-tier-label {
    color: rgba(255,255,255,.8);
}

.scriptcase-tier-price {
    font-size: .95rem;
    font-weight: 800;
    color: white;
    flex: 1;
}

.scriptcase-tier-note {
    font-size: .72rem;
    color: rgba(255,255,255,.35);
}

.scriptcase-tier--full .scriptcase-tier-note {
    color: rgba(220,38,38,.7);
}

@media (max-width: 960px) {
    .scriptcase-hint {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .scriptcase-tier { min-width: unset; }
}

@media (max-width: 540px) {
    .scriptcase-hint-left { flex-direction: column; gap: .75rem; }
    .scriptcase-tier {
        flex-wrap: wrap;
        gap: .25rem .75rem;
        padding: .75rem 1rem;
    }
    .scriptcase-tier-label { width: 100%; margin-bottom: .1rem; }
    .scriptcase-tier-price { font-size: 1.1rem; }
    .scriptcase-tier-note { width: 100%; }
}

/* ===== BRANCHEN ===== */
.branchen-section {
    background: var(--bg-card);
}

.branchen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.branchen-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    transition: all .22s ease;
    position: relative;
    overflow: hidden;
}

.branchen-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity .22s;
}

.branchen-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
    border-color: rgba(220,38,38,.2);
}

.branchen-card:hover::before { opacity: 1; }

.branchen-card--featured {
    background: var(--bg-card);
    border-color: rgba(220,38,38,.15);
}

.branchen-card--featured::before { opacity: 1; }

.branchen-card--cta {
    background: linear-gradient(135deg, #0f0f12 0%, #1c1c22 100%);
    border-color: rgba(255,255,255,.07);
    color: white;
}

.branchen-card--cta::before { background: rgba(255,255,255,.2); opacity: 1; }
.branchen-card--cta h3 { color: white; }
.branchen-card--cta p { color: rgba(255,255,255,.6); }

.branchen-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.branchen-icon--red   { background: rgba(220,38,38,.1); color: #dc2626; }
.branchen-icon--blue  { background: rgba(59,130,246,.1); color: #3b82f6; }
.branchen-icon--orange{ background: rgba(249,115,22,.1); color: #f97316; }
.branchen-icon--teal  { background: rgba(20,184,166,.1); color: #14b8a6; }
.branchen-icon--purple{ background: rgba(139,92,246,.1); color: #8b5cf6; }
.branchen-icon--white { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); }

.branchen-content { flex: 1; min-width: 0; }

.branchen-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .6rem;
    flex-wrap: wrap;
}

.branchen-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin: 0;
}

.branchen-badge {
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(220,38,38,.08);
    border: 1px solid rgba(220,38,38,.2);
    padding: .2rem .6rem;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s;
}

.branchen-badge:hover { background: rgba(220,38,38,.15); }

.branchen-content p {
    font-size: .84rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: .9rem;
}

.branchen-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .3rem .5rem;
}

.branchen-list li {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: .18rem .55rem;
    border-radius: 6px;
}

.branchen-list li::before { display: none; }

@media (max-width: 900px) {
    .branchen-grid { grid-template-columns: 1fr; }
}

/* Developer Bar */
.branchen-developer-bar {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.branchen-dev-photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.15);
    flex-shrink: 0;
}

.branchen-dev-facts {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.branchen-dev-fact {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.branchen-dev-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.branchen-dev-label {
    font-size: .7rem;
    color: rgba(255,255,255,.5);
    font-weight: 500;
    white-space: nowrap;
}

.branchen-dev-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,.1);
    flex-shrink: 0;
}

.branchen-dev-cta {
    font-size: .82rem;
    font-weight: 700;
    color: white;
    padding: .6rem 1.2rem;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .3s ease-in-out;
    box-shadow:
        inset 0 0.5px rgba(255,255,255,.15),
        inset 0 -1px 2px rgba(0,0,0,.3),
        0 4px 10px -4px rgba(0,0,0,.4);
}

.branchen-dev-cta:hover { transform: scale(1.05); }

@media (max-width: 768px) {
    .branchen-developer-bar { flex-wrap: wrap; gap: 1rem; padding: 1.25rem; }
    .branchen-dev-facts { flex-wrap: wrap; gap: 1rem; }
    .branchen-dev-divider { display: none; }
}

/* ===== PORTFOLIO ===== */
.portfolio-section {
    background: var(--bg-dark);
    color: white;
}

.portfolio-section .section-tag {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
}

.portfolio-section .section-desc { color: rgba(255,255,255,.6); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s ease;
}

.portfolio-card:hover {
    background: rgba(255,255,255,.05);
    border-color: var(--accent);
    transform: translateY(-4px);
}

.portfolio-preview {
    height: 200px;
    background: linear-gradient(135deg, rgba(255,255,255,.02), rgba(255,255,255,.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

/* Portfolio z obrazkiem */
.portfolio-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.portfolio-card:hover .portfolio-preview img {
    transform: scale(1.05);
}

.portfolio-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.3) 100%);
    pointer-events: none;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-category {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--accent);
    margin-bottom: .4rem;
}

.portfolio-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.portfolio-card p {
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.portfolio-tech span {
    background: rgba(255,255,255,.08);
    padding: .25rem .6rem;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 500;
}

/* Portfolio Link Button */
.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1rem;
    padding: .5rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 9999px;
    font-size: .8rem;
    font-weight: 600;
    transition: all .3s ease-in-out;
    box-shadow:
        inset 0 0.5px rgba(255,255,255,.15),
        inset 0 -1px 2px rgba(0,0,0,.3),
        0 4px 10px -4px rgba(0,0,0,.4);
}

.portfolio-link:hover { transform: scale(1.05); }

.portfolio-live-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .75rem;
    padding: .4rem .9rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 600;
    transition: background .2s, transform .2s;
}
.portfolio-live-link:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.portfolio-link svg {
    width: 14px;
    height: 14px;
}

/* ===== FAQ ===== */
.faq-section { background: var(--bg-card); }

.faq-grid {
    max-width: 700px;
    margin: 0 auto;
}

.faq-details {
    border-bottom: 1px solid var(--border);
    margin: 0;
    padding: 0;
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 0;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    list-style: none;
    transition: color .2s;
    font-family: 'Geist', sans-serif;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.faq-summary::-webkit-details-marker { display: none !important; }
.faq-summary::marker { content: '' !important; display: none !important; }
details > summary { list-style-type: none !important; }
.faq-summary:hover { color: var(--accent); }
.faq-summary > span:first-child { flex: 1; text-align: left; line-height: 1.5; }

.faq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--accent);
    transition: all .3s ease;
    flex-shrink: 0;
    border: 2px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.faq-details[open] .faq-icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(45deg);
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(220,38,38,.3);
}

.faq-details[open] .faq-summary { color: var(--accent); }

.faq-details-body {
    padding: 0 0 1.5rem 0;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: .95rem;
    animation: faqSlide .3s ease;
}

.faq-details-body strong { color: var(--text); }

.faq-details-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@keyframes faqSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .faq-summary { font-size: .95rem; padding: 1.1rem 0; gap: 1rem; }
    .faq-icon { width: 28px; height: 28px; min-width: 28px; font-size: 1rem; }
}

/* FAQ button/answer pattern (subpages) */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--text); text-align: left; transition: color .2s; }
.faq-btn:hover { color: var(--accent); }
.faq-btn span:first-child { flex: 1; line-height: 1.5; }
.faq-item.active .faq-icon { background: var(--accent); color: #fff; transform: rotate(45deg); border-color: var(--accent); box-shadow: 0 2px 8px rgba(220,38,38,.3); }
.faq-item.active .faq-btn { color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 0 1.25rem; color: var(--text-muted); line-height: 1.8; font-size: .95rem; }
.faq-answer strong { color: var(--text); }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
}

.contact-info p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: .75rem;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}

.contact-card:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.contact-card-icon {
    width: 44px; height: 44px;
    background: rgba(220,38,38,.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-card small {
    display: block;
    font-size: .7rem;
    color: var(--text-light);
    margin-bottom: .1rem;
}

.contact-card strong { font-size: .9rem; }

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.form-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.budget-group {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}

.budget-option {
    position: relative;
}

.budget-option input {
    position: absolute;
    opacity: 0;
}

.budget-option label {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 500;
    transition: all .2s;
}

.budget-option input:checked + label {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: .4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: .8rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: .9rem;
    transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin: 1.25rem 0;
}

.checkbox-wrap input {
    width: 18px; height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}

.checkbox-wrap label {
    font-size: .85rem;
    color: var(--text-muted);
}

.checkbox-wrap a { color: var(--accent); }

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
}

.form-message {
    margin-top: 1rem;
    padding: .75rem;
    border-radius: 8px;
    text-align: center;
    font-size: .9rem;
    display: none;
}

.form-message.show { display: block; }
.form-message.success { background: rgba(34,197,94,.1); color: #22c55e; }
.form-message.error { background: rgba(220,38,38,.1); color: var(--accent); }

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    padding: 2rem;
}

.modal.active { opacity: 1; visibility: visible; }

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(.95) translateY(20px);
    transition: transform .3s;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 40px; height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    z-index: 10;
}

.modal-body { padding: 2rem; }

.modal-category {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: .3rem .75rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.modal-body h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.modal-body p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.modal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.modal-tech span {
    background: var(--bg);
    padding: .4rem .9rem;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 500;
}

.modal-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .5rem;
    padding: .6rem 1.2rem;
    color: white;
    text-decoration: none;
    border-radius: 9999px;
    font-size: .85rem;
    font-weight: 600;
    transition: all .3s ease-in-out;
    box-shadow:
        inset 0 0.5px rgba(255,255,255,.15),
        inset 0 -1px 2px rgba(0,0,0,.3),
        0 4px 10px -4px rgba(0,0,0,.4);
}

.modal-link:hover {
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
    padding: 3rem 5rem 2rem;
    background: var(--bg-dark);
    color: white;
}

.footer a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .2s;
}

.footer a:hover { color: white; }

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.footer-heading {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.4);
    margin: 0 0 .5rem 0;
}

.footer-col a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .875rem;
    transition: color .2s;
}

.footer-col a:hover { color: white; }

/* Legacy support for pages still using old footer structure */
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand { font-weight: 700; }

.footer-links a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: .9rem;
    transition: color .2s;
}

.footer-links a:hover { color: white; }

.footer-copy {
    width: 100%;
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .8rem;
    color: rgba(255,255,255,.4);
}

/* ===== EIGENE PRODUKTE ===== */
.produkte-section { background: var(--bg); }

.produkte-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.produkte-featured {
    background: var(--bg-dark);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    transition: transform .3s, box-shadow .3s;
}

.produkte-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.produkte-featured-screenshot {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #0d0d12;
}

.produkte-featured-screenshot img {
    width: 100%;
    display: block;
    border-radius: 16px 16px 0 0;
    transition: transform .5s ease;
}

.produkte-featured:hover .produkte-featured-screenshot img {
    transform: scale(1.02);
}

.produkte-screenshot-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, #09090b);
    pointer-events: none;
}

.produkte-badge-live {
    position: absolute;
    top: 1rem; right: 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.3);
    color: #22c55e;
    padding: .35rem .75rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    backdrop-filter: blur(8px);
}

.produkte-badge-live::before {
    content: '';
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.produkte-featured-body {
    padding: 1.75rem 2rem 2rem;
    color: white;
}

.produkte-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .7rem;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .75rem;
}

.produkte-featured-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .5rem;
    line-height: 1.2;
}

.produkte-featured-title .accent { color: var(--accent); }

.produkte-featured-desc {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.produkte-kpis {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.produkte-kpi {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: .9rem;
    text-align: center;
}

.produkte-kpi-val {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: .25rem;
}

.produkte-kpi-label {
    font-size: .7rem;
    color: rgba(255,255,255,.4);
    font-weight: 500;
}

.produkte-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1.5rem;
}

.produkte-tag {
    padding: .3rem .7rem;
    background: rgba(255,255,255,.07);
    border-radius: 6px;
    font-size: .75rem;
    color: rgba(255,255,255,.6);
    font-weight: 500;
}

.produkte-actions {
    display: flex;
    gap: .75rem;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
    transition: all .3s ease-in-out;
    box-shadow:
        inset 0 0.5px rgba(255,255,255,.15),
        inset 0 -1px 2px rgba(0,0,0,.3),
        0 4px 10px -4px rgba(0,0,0,.4);
}

.btn-demo:hover { transform: scale(1.05); }

.btn-demo-ghost {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.8);
    border-radius: 9999px;
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.15);
    transition: all .3s ease-in-out;
}

.btn-demo-ghost:hover {
    background: rgba(255,255,255,.15);
    color: white;
    transform: scale(1.03);
    border-color: rgba(255,255,255,.3);
}

/* Right column - other products */
.produkte-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.produkte-side-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: .5rem;
}

.produkte-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all .22s;
}

.produkte-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transform: translateX(4px);
}

.produkte-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.produkte-card-body { flex: 1; }

.produkte-card-name {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .2rem;
}

.produkte-card-desc {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: .5rem;
}

.produkte-card-meta {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.produkte-card-tag {
    font-size: .7rem;
    padding: .2rem .55rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text-muted);
    font-weight: 500;
}

.produkte-card-arrow {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: .2rem;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: all .2s;
}

.produkte-card:hover .produkte-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.produkte-cta-card {
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(220,38,38,.06), rgba(220,38,38,.02));
    border: 1px dashed rgba(220,38,38,.25);
    border-radius: 16px;
    text-align: center;
}

.produkte-cta-card p {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: .75rem;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .produkte-intro { grid-template-columns: 1fr; gap: 2rem; }
}

    
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content { grid-template-columns: 1fr; }
    .hero-visual { margin-top: 2rem; }
    .hero-visual .hero-screenshot { width: 100%; transform: none; }
    .hero-visual .hero-screenshot:hover { transform: none; }
    .hero-visual .hero-stats-card { display: none; }
    .pricing-highlight { grid-template-columns: 1fr; text-align: center; }
    .pricing-highlight-content p { margin: 0 auto; }
}

@media (max-width: 900px) {
    .hero-top {
        position: sticky;
        top: 0;
        margin: 0;
        border-radius: 0;
        padding: .4rem .8rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: .4rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .hero-top .hero-brand { font-size: .7rem; }
    .hero-trust-badges { gap: .6rem; }
    .trust-badge { font-size: .55rem; }
    .mini-clock-wrap { display: flex; }
    .mini-clock { width: 26px; height: 26px; }
    .mini-clock-time { font-size: .6rem; }
    .sidebar { display: none; }
    .main { margin-left: 0; }
    .mobile-header { display: flex; }
    .mobile-nav { display: block; }
    
    .hero { padding: 5rem 1.5rem 3rem; }
    .hero-mobile-photo { display: block; }
    .section { padding: 4rem 1.5rem; }
    
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { order: -1; max-width: 400px; margin: 0 auto; }
    
    .portfolio-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    
    .footer { padding: 2rem 1.5rem; }
    .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links a { margin: 0 .75rem; }
    
    .pricing-highlight { padding: 2rem 1.5rem; }
    .pricing-highlight-price .price-value { font-size: 2.5rem; }
}

@media (max-width: 600px) {
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .hero-proof { flex-direction: column; gap: 1rem; align-items: flex-start; }

    .services-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .budget-group { flex-direction: column; }
}

@media (max-width: 768px) {
    .services-section .services-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 30vh;
    }

    .services-section .service-card {
        position: sticky;
        border-radius: 20px;
        box-shadow: 0 -4px 24px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
        margin-bottom: -12px;
    }

    .services-section .service-card:nth-child(1) { top: 70px; z-index: 1; }
    .services-section .service-card:nth-child(2) { top: 85px; z-index: 2; }
    .services-section .service-card:nth-child(3) { top: 100px; z-index: 3; }
    .services-section .service-card:nth-child(4) { top: 115px; z-index: 4; }

    .services-section .service-card:hover {
        transform: none;
        box-shadow: 0 -4px 24px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
    }
}

/* ===== BEWERTUNGEN ===== */
.bewertungen-section { background: var(--bg-card); }

.bewertungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bewertung-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    transition: box-shadow .2s, border-color .2s;
}

.bewertung-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

.bewertung-quote {
    font-size: 3rem;
    line-height: 1;
    color: var(--accent);
    opacity: .2;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: Georgia, serif;
}

.bewertung-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
}

.bewertung-stars svg {
    width: 16px; height: 16px;
    fill: #f59e0b;
}

.bewertung-text {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.bewertung-author {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.bewertung-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    color: var(--accent);
    flex-shrink: 0;
}

.bewertung-author-info strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
}

.bewertung-author-info span {
    font-size: .78rem;
    color: var(--text-muted);
}

.bewertung-source {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: .75rem;
    color: var(--text-light);
}

.bewertung-source a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.bewertungen-cta {
    text-align: center;
    padding: 1.5rem;
    background: rgba(220,38,38,.04);
    border: 1px dashed rgba(220,38,38,.2);
    border-radius: 12px;
    font-size: .85rem;
    color: var(--text-muted);
}

.bewertungen-cta a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

/* ===== STICKY CONTACT BUTTONS ===== */
.sticky-contact {
    position: fixed;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    z-index: 500;
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    transition: transform .2s, box-shadow .2s, width .25s ease;
    white-space: nowrap;
    color: white;
    overflow: hidden;
    font-weight: 600;
    font-size: .78rem;
}

.sticky-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.sticky-btn svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
}

.sticky-btn-wa {
    background: #25d366;
}

.sticky-btn-tel {
    background: var(--accent);
}

.sticky-btn-anfrage {
    background: var(--bg-dark);
    border: 1px solid var(--border);
}

.sticky-btn-label {
    max-width: 0;
    overflow: hidden;
    transition: max-width .3s ease;
    white-space: nowrap;
    opacity: 0;
}

.sticky-btn:hover .sticky-btn-label {
    max-width: 100px;
    opacity: 1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .2s;
    z-index: 500;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.back-to-top svg {
    width: 18px; height: 18px;
}

/* ===== KONTAKT DATUM PICKER ===== */
.date-slots { margin-bottom: 1.25rem; }

.date-slots-label {
    display: block;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: .5rem;
}

.day-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-bottom: .25rem;
}

.day-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .65rem .5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
    gap: .15rem;
}

.day-btn:hover {
    border-color: var(--accent);
    background: rgba(220,38,38,.04);
}

.day-btn--active {
    background: var(--accent);
    border-color: var(--accent);
}

.day-btn-day {
    font-weight: 700;
    font-size: .9rem;
    color: var(--text);
    line-height: 1;
}

.day-btn-date {
    font-size: .72rem;
    color: var(--text-muted);
}

.day-btn--active .day-btn-day,
.day-btn--active .day-btn-date { color: white; }

#wunschuhrzeit {
    width: 100%;
    padding: .75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: .9rem;
    color: var(--text);
    cursor: pointer;
    transition: border-color .2s;
    margin-bottom: .25rem;
}

#wunschuhrzeit:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}

@media (max-width: 600px) {
    .day-picker { grid-template-columns: repeat(2, 1fr); }
    .sticky-contact { right: .5rem; }
    .sticky-btn { width: 36px; height: 36px; border-radius: 10px; }
    .sticky-btn svg { width: 16px; height: 16px; }
    .back-to-top { right: .5rem; width: 36px; height: 36px; border-radius: 10px; }
    .back-to-top svg { width: 16px; height: 16px; }
}

.date-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-bottom: .75rem;
}

.date-slot {
    position: relative;
}

.date-slot input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}

.date-slot label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .6rem .4rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-size: .78rem;
    transition: all .15s;
    text-align: center;
    line-height: 1.3;
}

.date-slot label .slot-day {
    font-weight: 700;
    font-size: .85rem;
    color: var(--text);
}

.date-slot label .slot-date {
    color: var(--text-muted);
    font-size: .72rem;
}



.date-slot input:checked + label {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.date-slot input:checked + label .slot-day,
.date-slot input:checked + label .slot-date,
.date-slot input:checked + label .slot-time {
    color: white;
}

@media (max-width: 600px) {
    .date-slots-grid { grid-template-columns: repeat(2, 1fr); }
    .sticky-contact { right: .5rem; }
    .sticky-btn { width: 36px; height: 36px; border-radius: 10px; }
    .sticky-btn svg { width: 16px; height: 16px; }
    .back-to-top { right: .5rem; width: 36px; height: 36px; border-radius: 10px; }
    .back-to-top svg { width: 16px; height: 16px; }
}


/* ===== COOKIE BANNER STYLES ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e4e4e7;
    box-shadow: 0 -10px 40px rgba(0,0,0,.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    font-family: 'Geist', 'Inter', -apple-system, sans-serif;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text h4 {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: .35rem;
    color: #18181b;
}

.cookie-text p {
    font-size: .85rem;
    color: #71717a;
    margin: 0;
    line-height: 1.5;
}

.cookie-text a {
    color: #dc2626;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: .65rem 1.25rem;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    border: none;
}

.cookie-btn-accept {
    background: #dc2626;
    color: white;
}

.cookie-btn-accept:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: #f4f4f5;
    color: #18181b;
    border: 1px solid #e4e4e7;
}

.cookie-btn-reject:hover {
    border-color: #18181b;
}

.cookie-btn-settings {
    background: transparent;
    color: #71717a;
    border: 1px solid transparent;
}

.cookie-btn-settings:hover {
    color: #18181b;
}

.cookie-btn-save {
    background: #dc2626;
    color: white;
    width: 100%;
}

.cookie-btn-save:hover {
    background: #b91c1c;
}

/* Settings Panel */
.cookie-settings-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    border-top: 1px solid #e4e4e7;
    background: #fafafa;
}

.cookie-settings-panel.open {
    max-height: 300px;
}

.cookie-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e4e4e7;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-setting:last-of-type {
    border-bottom: none;
}

.cookie-setting-info strong {
    display: block;
    font-size: .9rem;
    color: #18181b;
    margin-bottom: .15rem;
}

.cookie-setting-info span {
    font-size: .8rem;
    color: #71717a;
}

.cookie-setting-buttons {
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

.cookie-toggle.disabled {
    cursor: not-allowed;
    opacity: .6;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #e4e4e7;
    border-radius: 26px;
    transition: .3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.cookie-toggle input:checked + .toggle-slider {
    background: #dc2626;
}

.cookie-toggle input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

/* Hide chat bubble when cookie banner is visible */
.cookie-banner.show ~ .ms-chat,
body:has(.cookie-banner.show) .ms-chat {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1rem;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
        padding: .85rem 1.25rem;
        font-size: .95rem;
    }

    .cookie-setting {
        padding: 1rem;
    }

    .cookie-setting-buttons {
        padding: 1rem;
    }
}

/* Portfolio mobile card */
.portfolio-card--mobile .portfolio-preview {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0 0;
    gap: 0;
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.mobile-frame-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(220,38,38,.15) 0%, transparent 65%);
    pointer-events: none;
}

.mobile-frame {
    position: relative;
    width: 130px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 2px rgba(255,255,255,.08);
    overflow: hidden;
    z-index: 1;
    transform: translateY(8px);
}

.mobile-frame img {
    width: 100%;
    display: block;
    border-radius: 22px;
}

/* ===== FÜR WEN – STICKY STACK ===== */
.fuer-wen-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.fuer-wen-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.fuer-wen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.fuer-wen-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(220,38,38,.08);
    color: var(--accent);
}

.fuer-wen-icon svg {
    width: 26px;
    height: 26px;
}

.fuer-wen-card h3 {
    font-size: 1rem;
    margin-bottom: .5rem;
    font-weight: 600;
}

.fuer-wen-card p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

@media (max-width: 1200px) {
    .fuer-wen-stack { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .fuer-wen-stack {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 30vh;
    }

    .fuer-wen-card {
        position: sticky;
        border-radius: 20px;
        padding: 1.75rem 1.5rem;
        box-shadow: 0 -4px 24px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
        margin-bottom: -12px;
        transform-origin: top center;
        transition: transform .2s ease-out;
    }

    .fuer-wen-card:nth-child(1) { top: 70px; z-index: 1; background: var(--bg-card); }
    .fuer-wen-card:nth-child(2) { top: 85px; z-index: 2; background: var(--bg-card); }
    .fuer-wen-card:nth-child(3) { top: 100px; z-index: 3; background: var(--bg-card); }
    .fuer-wen-card:nth-child(4) { top: 115px; z-index: 4; background: var(--bg-card); }

    .fuer-wen-card:hover {
        transform: none;
        box-shadow: 0 -4px 24px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
    }
}

/* ===== ABLAUF – STICKY STACK ===== */
.ablauf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ablauf-step {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.ablauf-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.ablauf-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(220,38,38,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform .4s ease, background .4s ease;
}

.ablauf-step:hover .ablauf-icon {
    transform: scale(1.15) rotate(-5deg);
    background: rgba(220,38,38,.15);
}

.ablauf-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ablauf-num {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .5rem;
}

.ablauf-step h3 { font-size: 1rem; margin-bottom: .5rem; }
.ablauf-step p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

.ablauf-connector {
    position: absolute;
    right: -1.2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.ablauf-connector svg {
    width: 20px;
    height: 20px;
    stroke: var(--border);
    fill: none;
    stroke-width: 2;
    animation: ablaufPulse 2s ease-in-out infinite;
}

.ablauf-step:last-child .ablauf-connector { display: none; }

@keyframes ablaufPulse { 0%, 100% { opacity: .4; transform: translateX(0); } 50% { opacity: 1; transform: translateX(3px); } }
@keyframes ablaufFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.ablauf-step:nth-child(1) .ablauf-icon { animation: ablaufFloat 3s ease-in-out infinite; }
.ablauf-step:nth-child(2) .ablauf-icon { animation: ablaufFloat 3s ease-in-out infinite .5s; }
.ablauf-step:nth-child(3) .ablauf-icon { animation: ablaufFloat 3s ease-in-out infinite 1s; }
.ablauf-step:nth-child(4) .ablauf-icon { animation: ablaufFloat 3s ease-in-out infinite 1.5s; }

@media (max-width: 900px) {
    .ablauf-grid { grid-template-columns: 1fr 1fr; }
    .ablauf-step:nth-child(2) .ablauf-connector { display: none; }
}

@media (max-width: 768px) {
    .ablauf-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 30vh;
    }

    .ablauf-step {
        position: sticky;
        border-radius: 20px;
        padding: 1.75rem 1.5rem;
        box-shadow: 0 -4px 24px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
        margin-bottom: -12px;
        transform-origin: top center;
    }

    .ablauf-step:nth-child(1) { top: 70px; z-index: 1; }
    .ablauf-step:nth-child(2) { top: 85px; z-index: 2; }
    .ablauf-step:nth-child(3) { top: 100px; z-index: 3; }
    .ablauf-step:nth-child(4) { top: 115px; z-index: 4; }

    .ablauf-step:hover {
        transform: none;
        box-shadow: 0 -4px 24px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
    }

    .ablauf-connector { display: none; }

    .ablauf-step .ablauf-icon { animation: none !important; }
}

/* ===== Chat Widget ===== */
.ms-chat { position: fixed; bottom: 24px; left: 24px; z-index: 9999; font-family: 'Geist', sans-serif; }

.ms-chat-bubble {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(220,38,38,.4), 0 0 0 0 rgba(220,38,38,.4);
    transition: transform .2s, box-shadow .2s;
    animation: msChatPulse 3s ease-in-out infinite;
}
.ms-chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(220,38,38,.5);
    animation: none;
}
.ms-chat-bubble-active { animation: none !important; }
@keyframes msChatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(220,38,38,.4), 0 0 0 0 rgba(220,38,38,.3); }
    50% { box-shadow: 0 4px 20px rgba(220,38,38,.4), 0 0 0 10px rgba(220,38,38,0); }
}
.ms-chat-bubble-close { display: none; }
.ms-chat-bubble-active .ms-chat-bubble-icon { display: none; }
.ms-chat-bubble-active .ms-chat-bubble-close { display: block; }

.ms-chat-window {
    position: absolute; bottom: 72px; left: 0;
    width: 380px; height: 500px;
    background: #fff; border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.05);
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.96);
    transition: opacity .25s, transform .25s, visibility .25s;
    overflow: hidden;
}
.ms-chat-window-open {
    opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}

.ms-chat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; background: var(--bg-dark, #09090b); color: #fff;
    border-radius: 16px 16px 0 0; flex-shrink: 0;
}
.ms-chat-header-info { display: flex; align-items: center; gap: 10px; }
.ms-chat-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent, #dc2626); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
}
.ms-chat-header-title { font-weight: 600; font-size: 14px; }
.ms-chat-header-sub { font-size: 11px; color: #a1a1aa; }
.ms-chat-close {
    background: none; border: none; color: #a1a1aa; cursor: pointer; padding: 4px;
    border-radius: 6px; transition: color .15s, background .15s;
}
.ms-chat-close:hover { color: #fff; background: rgba(255,255,255,.1); }

.ms-chat-messages {
    flex: 1; overflow-y: auto; padding: 16px;
    display: flex; flex-direction: column; gap: 10px;
    background: #fafafa;
}
.ms-chat-messages::-webkit-scrollbar { width: 4px; }
.ms-chat-messages::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 4px; }

.ms-chat-msg { display: flex; }
.ms-chat-msg-bot { justify-content: flex-start; }
.ms-chat-msg-user { justify-content: flex-end; }

.ms-chat-msg-text {
    max-width: 85%; padding: 10px 14px;
    border-radius: 14px; font-size: 13.5px; line-height: 1.5;
    word-break: break-word;
}
.ms-chat-msg-bot .ms-chat-msg-text {
    background: #fff; color: var(--text, #18181b);
    border: 1px solid #e4e4e7; border-bottom-left-radius: 4px;
}
.ms-chat-msg-user .ms-chat-msg-text {
    background: var(--accent, #dc2626); color: #fff;
    border-bottom-right-radius: 4px;
}

/* Quick replies */
.ms-chat-quickreplies {
    display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0;
}
.ms-chat-qr {
    background: #fff; color: var(--accent, #dc2626);
    border: 1px solid var(--accent, #dc2626); border-radius: 20px;
    padding: 6px 14px; font-size: 12.5px; font-family: inherit;
    cursor: pointer; transition: all .15s; white-space: nowrap;
}
.ms-chat-qr:hover {
    background: var(--accent, #dc2626); color: #fff;
}

/* Typing animation */
.ms-chat-typing .ms-chat-msg-text {
    display: flex; align-items: center; gap: 4px; padding: 12px 18px;
}
.ms-chat-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #a1a1aa;
    animation: msChatBounce .6s infinite alternate;
}
.ms-chat-dot:nth-child(2) { animation-delay: .2s; }
.ms-chat-dot:nth-child(3) { animation-delay: .4s; }
@keyframes msChatBounce { to { opacity: .3; transform: translateY(-3px); } }

.ms-chat-input {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px; border-top: 1px solid #e4e4e7;
    background: #fff; border-radius: 0 0 16px 16px; flex-shrink: 0;
}
.ms-chat-input input {
    flex: 1; border: 1px solid #e4e4e7; border-radius: 10px;
    padding: 10px 14px; font-size: 13.5px; font-family: inherit;
    outline: none; transition: border-color .15s; background: #fafafa;
}
.ms-chat-input input:focus { border-color: var(--accent, #dc2626); }
.ms-chat-input input::placeholder { color: #a1a1aa; }
.ms-chat-input button {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--accent, #dc2626); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
    flex-shrink: 0;
}
.ms-chat-input button:hover { background: var(--accent-hover, #b91c1c); }

/* Mobile */
@media (max-width: 480px) {
    .ms-chat { bottom: 16px; left: 16px; right: 16px; }
    .ms-chat-window {
        width: auto; left: 0; right: 0;
        height: 70vh; max-height: 500px;
        position: fixed; bottom: 80px; left: 16px; right: 16px;
    }
    .ms-chat-bubble { width: 50px; height: 50px; }
}


/* ===== SOFORTLÖSUNGEN ===== */
.sofort-section { background: var(--bg-card); }

.sofort-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.sofort-card {
    padding: 2rem 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: all .22s ease;
}

.sofort-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: var(--accent);
}

.sofort-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1f 100%);
    color: white;
}

.sofort-card.featured .sofort-label {
    background: var(--accent);
    color: white;
}

.sofort-card.featured .sofort-preis {
    color: white;
}

.sofort-card.featured .sofort-zeit {
    color: rgba(255,255,255,.5);
}

.sofort-card.featured p {
    color: rgba(255,255,255,.7);
}

.sofort-card.featured ul li {
    color: rgba(255,255,255,.7);
}

.sofort-label {
    display: inline-block;
    align-self: flex-start;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .3rem .7rem;
    border-radius: 6px;
    background: var(--border-light);
    color: var(--text-muted);
}

.sofort-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.sofort-preis {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.sofort-card > p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.sofort-card ul {
    list-style: none;
    padding: 0;
    margin: .5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.sofort-card ul li {
    font-size: .8rem;
    color: var(--text-muted);
    padding-left: 1.2rem;
    position: relative;
}

.sofort-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.sofort-zeit {
    font-size: .75rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: auto;
    padding-top: .5rem;
    border-top: 1px solid var(--border);
}

.sofort-card.featured .sofort-zeit {
    border-top-color: rgba(255,255,255,.12);
}

@media (max-width: 900px) {
    .sofort-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .sofort-grid { grid-template-columns: 1fr; }
}

/* ===== STACK ROW (simplified) ===== */
.stack-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stack-row .stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1.25rem 1.5rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: center;
    transition: all .22s ease;
    cursor: default;
    min-width: 120px;
}

.stack-row .stack-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: var(--accent);
}

@media (max-width: 600px) {
    .stack-row { gap: 1rem; }
    .stack-row .stack-item { min-width: 90px; padding: 1rem .75rem .75rem; }
}

/* ===== BUDGET PICKER ===== */
.budget-picker {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.budget-btn {
    flex: 1;
    min-width: 80px;
    padding: .65rem .75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
}

.budget-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}

.budget-btn--active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

@media (max-width: 480px) {
    .budget-picker { gap: .35rem; }
    .budget-btn { min-width: 70px; padding: .55rem .5rem; font-size: .72rem; }
}

/* ===== TIME PICKER ===== */
.time-picker {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.time-btn {
    padding: .5rem .7rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 600;
    font-family: 'Geist Mono', monospace;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .18s ease;
}

.time-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}

.time-btn--active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

@media (max-width: 480px) {
    .time-btn { padding: .4rem .55rem; font-size: .7rem; }
}

/* ===== TIME PICKER HOUR + MIN ===== */
.time-minutes {
    margin-top: .25rem;
}

.time-hour--active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.time-min {
    font-size: .72rem;
    padding: .4rem .6rem;
    opacity: .8;
}

.time-min--active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    opacity: 1;
}

/* ===== TIME INPUT ===== */
.time-input {
    width: 100%;
    padding: .7rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: 'Geist Mono', monospace;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    transition: border-color .2s;
}

.time-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* ===== CASE STUDIES ===== */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.case-study-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-study-card--schnell {
    border-color: var(--accent);
    border-width: 2px;
    position: relative;
}

.case-study-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.case-study-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .3rem .7rem;
    border-radius: 6px;
    background: var(--border-light);
    color: var(--text-muted);
}

.case-study-badge--schnell {
    background: var(--accent);
    color: white;
}

.case-study-kunde {
    font-size: .75rem;
    color: var(--text-light);
}

.case-study-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.case-study-problem,
.case-study-solution {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.case-study-problem strong,
.case-study-solution strong {
    color: var(--text);
}

.case-study-metrics {
    display: flex;
    background: var(--bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin: 1rem 0;
}

.case-study-metric {
    flex: 1 1 0;
    text-align: center;
    min-width: 0;
    padding: .9rem .5rem;
    position: relative;
}

.case-study-metric + .case-study-metric {
    border-left: 1px solid var(--border);
}

.case-study-metric strong {
    display: block;
    font-size: .8rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: .25rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-study-metric span {
    font-size: .65rem;
    color: var(--text-muted);
    display: block;
    line-height: 1.35;
}

.case-study-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.case-study-tech {
    font-size: .72rem;
    color: var(--text-light);
}

.case-study-link {
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.case-study-link:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .case-study-metric strong { font-size: .78rem; }
    .case-study-footer { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
@media (max-width: 768px) {
    .case-studies-grid { grid-template-columns: 1fr; }
    .case-study-metrics { flex-direction: column; }
    .case-study-metric { text-align: left; display: flex; align-items: center; gap: .75rem; padding: .75rem .85rem; }
    .case-study-metric + .case-study-metric { border-left: none; border-top: 1px solid var(--border); }
    .case-study-metric strong { font-size: .9rem; margin-bottom: 0; min-width: 90px; overflow: visible; }
    .case-study-metric span { font-size: .75rem; }
}

/* ===== HERO VIDEO ===== */
.hero-video-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-dark);
    aspect-ratio: 1 / 1;
    max-width: 400px;
    cursor: pointer;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(220, 38, 38, .9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, background .2s;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.hero-video-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(220, 38, 38, 1);
}

.hero-video-label {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: .72rem;
    font-weight: 600;
    color: white;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(8px);
    padding: .4rem .8rem;
    border-radius: 8px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-video-wrap { max-width: 280px; margin: 0 auto; }
}

/* ===== GLOW BUTTON (Hero CTA) ===== */
.btn-glow {
    --glow-color: 0, 80%, 50%;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 2rem;
    background-color: transparent;
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    transform-origin: center;
    transform: scale(calc(1 + (var(--active, 0) * 0.05)));
    transition: transform .3s ease-in-out;
}

.btn-glow::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background-color: hsla(0, 0%, 12%, 1);
    border-radius: 9999px;
    box-shadow:
        inset 0 0.5px hsl(0, 0%, 100%),
        inset 0 -1px 2px 0 hsl(0, 0%, 0%),
        0px 4px 10px -4px hsla(0, 0%, 0%, calc(1 - var(--active, 0))),
        0 0 0 calc(var(--active, 0) * 0.375rem) hsla(var(--glow-color), .75);
    transition: all .3s ease-in-out;
    z-index: 0;
}

.btn-glow::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background-color: hsla(var(--glow-color), .75);
    background-image:
        radial-gradient(at 51% 89%, hsla(0, 70%, 65%, 1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(0, 60%, 55%, 1) 0px, transparent 50%),
        radial-gradient(at 22% 91%, hsla(0, 60%, 55%, 1) 0px, transparent 50%);
    background-position: top;
    opacity: var(--active, 0);
    border-radius: 9999px;
    transition: opacity .3s ease-in-out;
    z-index: 2;
}

.btn-glow:is(:hover, :focus-visible) { --active: 1; }
.btn-glow:active { transform: scale(1); }

.btn-glow-border {
    --size_border: calc(100% + 2px);
    overflow: hidden;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: var(--size_border);
    height: var(--size_border);
    background-color: transparent;
    border-radius: 9999px;
    z-index: -10;
}

.btn-glow-border::before {
    content: "";
    position: absolute;
    top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: left;
    transform: rotate(0deg);
    width: 100%;
    height: 2rem;
    background-color: hsla(0, 80%, 60%, .8);
    mask: linear-gradient(transparent 0%, white 120%);
    animation: glowRotate 2s linear infinite;
}

@keyframes glowRotate { to { transform: rotate(360deg); } }

.btn-glow-sparkle {
    position: relative;
    z-index: 10;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.sparkle-path {
    fill: white;
    stroke: white;
    transform-origin: center;
}

.btn-glow:is(:hover, :focus) .sparkle-path {
    animation: sparklePulse 1.5s linear .5s infinite;
}

@keyframes sparklePulse {
    0%, 34%, 71%, 100% { transform: scale(1); }
    17% { transform: scale(1.2); }
    49% { transform: scale(1.15); }
    83% { transform: scale(1.25); }
}

.btn-glow-text {
    position: relative;
    z-index: 10;
    font-family: 'Geist', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

/* ===== HERO BACKGROUND UPGRADE ===== */
.hero-gradient {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(220,38,38,.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(220,38,38,.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 60% 80%, rgba(220,38,38,.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(0,0,0,.04) 0%, transparent 60%) !important;
    animation: gradientPulse 8s ease-in-out infinite !important;
}

@keyframes gradientPulse {
    0%, 100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { opacity: .85; transform: translate(2%, -1%) scale(1.02) rotate(.5deg); }
    50% { opacity: 1.1; transform: translate(-1%, 2%) scale(.98) rotate(-.5deg); }
    75% { opacity: .9; transform: translate(1%, -1%) scale(1.01) rotate(.3deg); }
}





@media (max-width: 600px) {
    .btn-glow { padding: .85rem 1.5rem; }
    .btn-glow-text { font-size: .82rem; }
}





/* ===== ANIMATED BORDER — ALL ACTION BUTTONS ===== */
@property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.btn-primary,
.btn-secondary,
.branchen-dev-cta,
.portfolio-link,
.btn-demo {
    --border-angle: 0deg;
    position: relative;
    overflow: visible;
    border: 2px solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-image:
        linear-gradient(hsla(0, 0%, 12%, 1), hsla(0, 0%, 12%, 1)),
        conic-gradient(from var(--border-angle), transparent 60%, hsla(0, 80%, 55%, .9) 80%, transparent 100%);
    animation: borderSpin 3s linear infinite;
}

@keyframes borderSpin {
    to { --border-angle: 360deg; }
}

.btn-primary:hover,
.branchen-dev-cta:hover,
.portfolio-link:hover,
.btn-demo:hover {
    background-image:
        linear-gradient(hsla(0, 80%, 50%, 1), hsla(0, 65%, 42%, 1)),
        conic-gradient(from var(--border-angle), transparent 30%, white 50%, transparent 70%);
    box-shadow:
        0 0 0 .3rem hsla(0, 80%, 50%, .3),
        0 4px 20px -4px rgba(220,38,38,.5);
    color: white !important;
    background-color: #dc2626;
}

.btn-secondary:hover {
    background-image:
        linear-gradient(hsla(0, 0%, 22%, 1), hsla(0, 0%, 18%, 1)),
        conic-gradient(from var(--border-angle), transparent 40%, hsla(0, 80%, 55%, 1) 50%, transparent 60%);
    box-shadow:
        0 0 0 .3rem hsla(0, 80%, 50%, .2),
        0 4px 20px -4px rgba(220,38,38,.3);
    color: white;
}



/* ===== HERO PHOTO BACKGROUND ===== */
.hero-photo-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/34804023/pexels-photo-34804023.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    opacity: .14;
    mask-image: linear-gradient(to right, black 0%, black 25%, transparent 65%);
    -webkit-mask-image: linear-gradient(to right, black 0%, black 25%, transparent 65%);
}

/* ===== TRUST BADGES (hero top bar) ===== */
.hero-trust-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .03em;
    text-transform: uppercase;
    animation: trustFadeIn 1s ease-out both;
}
.trust-badge:nth-child(1) { animation-delay: .3s; }
.trust-badge:nth-child(2) { animation-delay: .6s; }
.trust-badge:nth-child(3) { animation-delay: .9s; }

@keyframes trustFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: trustPulse 2s ease-in-out infinite;
}
.trust-badge:nth-child(2) .trust-dot { animation-delay: .5s; }
.trust-badge:nth-child(3) .trust-dot { animation-delay: 1s; }
.trust-badge:nth-child(4) { animation-delay: 1.2s; }
.trust-badge:nth-child(5) { animation-delay: 1.5s; }
.trust-dot-gold {
    background: #eab308 !important;
    animation-name: trustPulseGold !important;
}
@keyframes trustPulseGold {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(234, 179, 8, .4); }
    50% { opacity: .7; box-shadow: 0 0 0 4px rgba(234, 179, 8, 0); }
}

@keyframes trustPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, .4); }
    50% { opacity: .7; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.trust-divider {
    color: rgba(255,255,255,.15);
    font-size: .7rem;
    margin: 0 .2rem;
}

.trust-tech {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .65rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: .7;
}
.trust-tech img {
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hero-trust-badges { display: none; }
}

/* ===== HERO FLOATING CARDS ===== */
.hero-float-row {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    pointer-events: none;
    opacity: .7;
}

.hero-float-card img,
.hero-float-card svg {
    flex-shrink: 0;
}

.hero-float-card svg {
    stroke: var(--text-muted);
}

.hero-float-1 {
    top: 8%; right: 4%;
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-float-2 {
    top: 75%; right: 2%;
    animation: heroFloat 7s ease-in-out -1.5s infinite;
}

.hero-float-3 {
    bottom: 5%; right: 18%;
    animation: heroFloat 5.5s ease-in-out -3s infinite;
}

.hero-float-4 {
    top: 5%; left: 42%;
    animation: heroFloat 8s ease-in-out -2s infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    30% { transform: translateY(-12px) scale(1.03); }
    60% { transform: translateY(6px) scale(.98); }
}

@media (max-width: 768px) {
    .hero-float-row {
        position: relative;
        inset: auto;
        display: flex;
        justify-content: center;
        gap: .6rem;
        flex-wrap: wrap;
        margin-top: 1.5rem;
    }
    .hero-float-card {
        position: static;
        animation: none;
        opacity: .85;
        font-size: .65rem;
        padding: .4rem .7rem;
    }
}


/* Ensure button text always visible */
.btn-primary,
.btn-secondary,
.branchen-dev-cta,
.portfolio-link,
.btn-demo {
    color: white !important;
}

.btn-primary:hover,
.btn-secondary:hover,
.branchen-dev-cta:hover,
.portfolio-link:hover,
.btn-demo:hover {
    color: white !important;
}

.hero-name-tag {
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}
.hero-name-tag strong {
    font-weight: 700;
    color: var(--text);
    font-size: .85rem;
}

/* ===== PROZESS / WIE ES FUNKTIONIERT ===== */
.prozess-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    counter-reset: step;
}

.prozess-step {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: border-color .3s, transform .3s;
}
.prozess-step:hover {
    border-color: rgba(220,38,38,.3);
    transform: translateY(-4px);
}

.prozess-number {
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .1em;
    margin-bottom: 1rem;
}

.prozess-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220,38,38,.08);
    border-radius: 50%;
    color: var(--accent);
}

.prozess-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.prozess-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .prozess-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .prozess-grid {
        grid-template-columns: 1fr;
    }
}
