/* ========================================
   360Walk — Main Stylesheet
   Colors: Violet #6B21A8, Light #F5F0FF
   Fonts: Plus Jakarta Sans (headings), Inter (body)
   ======================================== */

:root {
    --violet: #6B21A8;
    --violet-light: #8B5CF6;
    --violet-dark: #4C1D95;
    --violet-glow: rgba(139, 92, 246, 0.3);
    --violet-subtle: #F5F0FF;
    --violet-bg: rgba(107, 33, 168, 0.04);
    --text: #1a1a2e;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-alt: #fafafa;
    --border: rgba(0,0,0,0.06);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-violet: 0 8px 32px rgba(107, 33, 168, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --header-h: 72px;
    --max-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }

a { color: var(--violet); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--violet-light); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--violet);
    background: var(--violet-subtle);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--violet);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--violet-light);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-violet);
}

.header-cta svg { width: 16px; height: 16px; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
   HERO
   ======================================== */
.hero {
    padding: calc(var(--header-h) + 80px) 0 100px;
    background: var(--hero-bg, linear-gradient(180deg, var(--violet-subtle) 0%, var(--white) 100%));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: none;
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--white);
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--violet);
    margin-bottom: 20px;
}

.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
    margin-bottom: 20px;
    color: var(--text);
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #1a1a1a;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: var(--violet);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--violet-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-violet);
}

.btn-outline {
    background: var(--white);
    color: var(--violet);
    border: 2px solid rgba(107,33,168,0.2);
}

.btn-outline:hover {
    border-color: var(--violet);
    background: var(--violet-subtle);
    color: var(--violet);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--violet);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero 3D Tour Preview */
.hero-visual {
    position: relative;
    perspective: 1200px;
}

/* Laptop Mockup */
.hero-mockup {
    position: relative;
    cursor: pointer;
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}
.hero-mockup:hover {
    transform: rotateY(-2deg) rotateX(1deg) scale(1.03);
}
.mockup-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: #111;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    border: 3px solid #2a2a2a;
    border-bottom: none;
    box-shadow: 0 -2px 30px rgba(107, 33, 168, 0.15);
}
.mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}
.hero-mockup:hover .mockup-screen img {
    transform: scale(1.05);
    filter: brightness(0.85);
}
.mockup-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(107, 33, 168, 0.4);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    animation: playPulse 2.5s ease-in-out infinite;
}
.mockup-play svg {
    width: 28px;
    height: 28px;
    color: var(--violet);
    margin-left: 3px;
}
.hero-mockup:hover .mockup-play {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 12px rgba(107, 33, 168, 0.15);
}
@keyframes playPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 0 rgba(107, 33, 168, 0.4); }
    50% { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 16px rgba(107, 33, 168, 0); }
}
.mockup-badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}
.mockup-badge svg { width: 14px; height: 14px; }
.hero-mockup:hover .mockup-badge { opacity: 1; }

.mockup-base {
    width: 110%;
    height: 14px;
    margin: 0 auto;
    margin-left: -5%;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 0 0 6px 6px;
    position: relative;
}
.mockup-base::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #3a3a3a;
    border-radius: 2px;
}
.mockup-shadow {
    width: 90%;
    height: 20px;
    margin: 8px auto 0;
    background: radial-gradient(ellipse, rgba(0,0,0,0.15) 0%, transparent 70%);
    filter: blur(4px);
}

/* ========================================
   SECTIONS (general)
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--violet-subtle);
    color: var(--violet);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   VORTEILE (3D Cards)
   ======================================== */
.vorteile {
    background: var(--bg-alt);
}

.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.vorteil-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
}

.vorteil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--violet), var(--violet-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.vorteil-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139,92,246,0.15);
}

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

.vorteil-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--violet-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--violet);
}

.vorteil-icon svg { width: 24px; height: 24px; }

.vorteil-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.vorteil-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   SO FUNKTIONIERT'S (Steps)
   ======================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--violet-subtle), var(--violet-light), var(--violet-subtle));
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--violet);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--violet);
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.step-item:hover .step-number {
    background: var(--violet);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-violet);
}

.step-item h3 {
    margin-bottom: 8px;
}

.step-item p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
}

/* ========================================
   REFERENZEN (3D Tilt Cards)
   ======================================== */
/* REFERENZEN v4 — Center Carousel */
.ref-section {
    padding: 100px 0 80px;
    background: var(--bg);
    overflow: hidden;
}
.ref-carousel {
    position: relative;
    margin-top: 48px;
    padding: 40px 0 60px;
}
.ref-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    height: 420px;
}
.ref-slide {
    position: absolute;
    width: 520px;
    border-radius: 24px;
    padding: 48px 40px;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    user-select: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.ref-slide.center {
    transform: translateX(0) scale(1);
    z-index: 3;
    opacity: 1;
    filter: none;
}
.ref-slide.left {
    transform: translateX(-480px) scale(0.82);
    z-index: 2;
    opacity: 0.6;
    filter: blur(2px);
}
.ref-slide.right {
    transform: translateX(480px) scale(0.82);
    z-index: 2;
    opacity: 0.6;
    filter: blur(2px);
}
.ref-slide.hidden-left {
    transform: translateX(-900px) scale(0.6);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}
.ref-slide.hidden-right {
    transform: translateX(900px) scale(0.6);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}
.ref-slide-logo {
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 24px;
    transition: transform 0.4s;
}
.ref-slide.center .ref-slide-logo { transform: scale(1.05); }
.ref-slide-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ref-slide h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.ref-slide p {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.ref-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}
.ref-slide-tag svg { width: 14px; height: 14px; }
.ref-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s;
}
.ref-slide-btn svg { width: 18px; height: 18px; }
.ref-slide.center:hover .ref-slide-btn {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.45);
}

/* Arrows */
.ref-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.ref-arrow:hover {
    background: var(--violet);
    color: #fff;
    border-color: var(--violet);
    box-shadow: 0 8px 30px rgba(107,33,168,0.25);
}
.ref-arrow svg { width: 24px; height: 24px; }
.ref-arrow--left { left: max(20px, calc(50% - 380px)); }
.ref-arrow--right { right: max(20px, calc(50% - 380px)); }

/* Dots */
.ref-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.ref-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}
.ref-dot.active {
    background: var(--violet);
    transform: scale(1.3);
}

@media (max-width: 900px) {
    .ref-track { height: 380px; }
    .ref-slide { width: 320px; padding: 32px 28px; }
    .ref-slide.left { transform: translateX(-260px) scale(0.78); }
    .ref-slide.right { transform: translateX(260px) scale(0.78); }
    .ref-slide-logo { width: 100px; height: 100px; padding: 16px; }
    .ref-slide h3 { font-size: 22px; }
    .ref-arrow--left { left: 10px; }
    .ref-arrow--right { right: 10px; }
    .ref-arrow { width: 44px; height: 44px; }
}
@media (max-width: 500px) {
    .ref-slide { width: 280px; }
    .ref-slide.left { transform: translateX(-220px) scale(0.75); opacity: 0.4; }
    .ref-slide.right { transform: translateX(220px) scale(0.75); opacity: 0.4; }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 50%, var(--violet-light) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* orb removed — use animations.css only */

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background: var(--white);
    color: var(--violet);
}

.btn-white:hover {
    background: var(--violet-subtle);
    color: var(--violet);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-contact-info a:hover {
    color: var(--violet);
}

.footer-contact-info svg { width: 16px; height: 16px; }

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-links a, .footer-links p {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: var(--violet);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-light);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-light);
}

.footer-legal a:hover {
    color: var(--violet);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-mockup { transform: rotateY(-5deg) rotateX(2deg); }
    .vorteile-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .header-cta { display: none; }
    .mobile-toggle { display: flex; }
    
    .header-nav.open {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        z-index: 9998;
        padding: 120px 24px 60px;
    }
    .header-nav.open::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 160px;
        height: 52px;
        background: url('/img/logo-dark.png') center/contain no-repeat;
    }
    .header-nav.open .nav-link {
        font-size: 22px;
        padding: 14px 32px;
        color: var(--text);
        border-radius: 12px;
    }
    .site-header:has(.header-nav.open) .mobile-toggle {
        position: fixed;
        top: 22px;
        right: 20px;
        z-index: 9999;
    }
    .site-header:has(.header-nav.open) .header-logo {
        display: none;
    }

    .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
    section { padding: 60px 0; }
    .vorteile-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .steps-grid::before { display: none; }
    .hero-stats {
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
        padding: 16px 0;
        border-top: 1px solid var(--border);
        margin-top: 24px;
    }
    .hero-stat { text-align: center; flex: 1; }
    .hero-stat-number { font-size: 24px !important; }
    .hero-stat-label { font-size: 11px !important; }
    .hero-mockup { transform: none; }
    .hero-mockup:hover { transform: none; }
    .mockup-play { width: 56px; height: 56px; }
    .mockup-play svg { width: 22px; height: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* (trusted-by removed) */

/* Tour Lightbox */
.tour-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.tour-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.tour-frame {
    width: 92vw;
    height: 85vh;
    max-width: 1400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(107,33,168,0.3);
}
.tour-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.tour-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}
.tour-close:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}
.tour-close { font-size: 22px; line-height: 1; }

/* Anfrage Modal */
/* Anfrage: fullscreen page takeover approach (iOS safe) */
.anfrage-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
}
.anfrage-overlay.active {
    display: block;
}
.anfrage-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
}
.anfrage-scroll {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.anfrage-modal {
    background: #fff;
    border-radius: 24px;
    width: calc(100% - 40px);
    max-width: 560px;
    margin: 40px auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
@keyframes modalIn {
    from { transform: translateY(30px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.anfrage-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f3f0f8;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.anfrage-close:hover { background: #e0d8ee; color: #333; }
.anfrage-header {
    text-align: center;
    margin-bottom: 28px;
}
.anfrage-logo {
    height: 36px;
    margin-bottom: 16px;
}
.anfrage-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.anfrage-header p {
    font-size: 14px;
    color: #777;
}
.anfrage-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.anfrage-field {
    margin-bottom: 16px;
}
.anfrage-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.anfrage-field input,
.anfrage-field select,
.anfrage-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0dce8;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: #faf8ff;
    transition: all 0.3s;
    outline: none;
    color: #1a1a2e;
}
.anfrage-field input:focus,
.anfrage-field select:focus,
.anfrage-field textarea:focus {
    border-color: #6B21A8;
    box-shadow: 0 0 0 3px rgba(107,33,168,0.1);
}
.anfrage-field textarea { resize: vertical; }
.anfrage-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #7B2D8E, #6B21A8);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 8px;
}
.anfrage-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107,33,168,0.3);
}
.anfrage-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.anfrage-submit svg { width: 18px; height: 18px; }
.anfrage-success {
    text-align: center;
    padding: 20px 0;
}
.anfrage-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.anfrage-success h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.anfrage-success p {
    font-size: 15px;
    color: #666;
}
@media (max-width: 600px) {
    .anfrage-modal { padding: 28px 20px 32px; border-radius: 20px; width: calc(100% - 20px); margin: 10px auto; }
    .anfrage-row { grid-template-columns: 1fr; }
}

/* Danke Page */
.danke-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}
.danke-card {
    max-width: 600px;
    text-align: center;
}
.danke-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}
.danke-card h1 {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--text);
}
.danke-card > p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.danke-next {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: left;
}
.danke-next h3 {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text);
}
.danke-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.danke-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.danke-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B2D8E, #6B21A8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}
.danke-step strong {
    display: block;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 2px;
}
.danke-step span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   LEISTUNGEN PAGE
   ======================================== */

/* Page Hero (reusable) */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
}
.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--violet-subtle);
    color: var(--violet);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}
.page-hero-badge svg { width: 16px; height: 16px; }
.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 16px;
}
.page-hero > .container > p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services Grid */
.services-section {
    padding: 0 0 80px;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(107, 33, 168, 0.15);
}
.service-card--featured {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
    background: linear-gradient(135deg, var(--violet-subtle) 0%, var(--white) 100%);
    border-color: rgba(107, 33, 168, 0.12);
    grid-column: 1 / -1;
}
.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--violet);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.service-icon-wrap svg { width: 26px; height: 26px; }
.service-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
}
.service-card h3 {
    font-size: 20px;
    margin: 16px 0 8px;
}
.service-card > p,
.service-content > p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}
.service-features li svg {
    width: 16px;
    height: 16px;
    color: var(--violet);
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Process Timeline */
.process-section {
    padding: 80px 0;
    background: var(--bg-alt);
}
.process-timeline {
    max-width: 700px;
    margin: 48px auto 0;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--violet), var(--violet-light));
    border-radius: 2px;
}
.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 40px;
    position: relative;
}
.process-step:last-child { padding-bottom: 0; }
.process-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--violet);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(107, 33, 168, 0.3);
}
.process-detail h3 {
    font-size: 20px;
    margin-bottom: 6px;
    margin-top: 4px;
}
.process-detail p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Tech Grid */
.tech-section {
    padding: 80px 0;
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.tech-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.tech-icon {
    width: 52px;
    height: 52px;
    background: var(--violet-subtle);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--violet);
}
.tech-icon svg { width: 24px; height: 24px; }
.tech-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
.tech-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-alt);
}
.faq-list {
    max-width: 760px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:hover {
    border-color: rgba(107, 33, 168, 0.15);
}
.faq-item.open {
    border-color: var(--violet);
    box-shadow: 0 4px 20px rgba(107, 33, 168, 0.08);
}
.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.3s;
}
.faq-toggle:hover { color: var(--violet); }
.faq-toggle svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s;
}
.faq-item.open .faq-toggle svg {
    transform: rotate(180deg);
    color: var(--violet);
}
.faq-item.open .faq-toggle { color: var(--violet); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), padding 0.3s;
    padding: 0 24px;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}
.faq-answer strong {
    color: var(--text);
}

@media (max-width: 600px) {
    .service-card--featured {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .tech-grid { grid-template-columns: 1fr; }
    .process-timeline::before { left: 24px; }
    .process-number { width: 48px; height: 48px; min-width: 48px; font-size: 18px; }
    .page-hero { padding: 120px 0 40px; }
    .faq-toggle { font-size: 15px; padding: 16px 18px; }
    .faq-answer { padding: 0 18px; }
    .faq-item.open .faq-answer { padding: 0 18px 16px; }
}

/* ========================================
   BRANCHEN PAGE
   ======================================== */
.branchen-section {
    padding: 0 0 80px;
}
.branchen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.branche-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 360px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
    text-decoration: none;
    color: #fff;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.branche-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.branche-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.branche-icon svg { width: 22px; height: 22px; }
.branche-text h2 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 8px;
    padding-right: 60px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.branche-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 14px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.branche-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.branche-tag {
    padding: 4px 12px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}
.branche-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.4s;
}
.branche-link svg { width: 16px; height: 16px; }
.branche-card:hover .branche-link {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .branchen-grid { grid-template-columns: 1fr; }
    .branche-card { min-height: 280px; padding: 28px; }
    .branche-text h2 { font-size: 22px; }
    .branche-link { opacity: 1; transform: none; }
}

/* ========================================
   BRANCHEN DETAIL PAGE
   ======================================== */
.branche-hero {
    height: 50vh;
    min-height: 320px;
    max-height: 480px;
    margin-top: var(--header-h);
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    display: flex;
    align-items: flex-end;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-left: 16px;
    margin-right: 16px;
    overflow: hidden;
}
.branche-hero .container {
    padding-bottom: 32px;
}
.branche-back {
    display: none;
}
.branche-hero-badge {
    display: none;
}
.branche-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: #fff;
    margin: 0;
    text-align: left;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.branche-hero h1 .gradient-text-white {
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: none;
    filter: none;
}
.branche-hero p {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* Branche Intro (below hero) */
.branche-intro {
    padding: 60px 0 0;
    text-align: center;
}
.branche-intro .section-badge {
    margin-bottom: 16px;
}
.branche-intro h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    margin-bottom: 16px;
}
.branche-intro p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .branche-hero {
        height: 35vh;
        min-height: 220px;
        margin-top: var(--header-h);
        margin-left: 8px;
        margin-right: 8px;
        border-radius: 0 0 16px 16px;
    }
    .branche-hero .container { padding-bottom: 24px; }
    .branche-hero h1 { font-size: 24px; }
}

/* Intro Grid */
.branche-intro {
    padding: 60px 0 0;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}
.intro-text .section-badge { margin-bottom: 16px; }
.intro-text h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }
.intro-text p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.intro-text strong { color: var(--text); }
.intro-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
    .intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .intro-image { order: -1; }
}

/* Detail Grid */
.branche-detail { padding: 80px 0; }
.detail-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
}
.detail-image {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.detail-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.detail-text h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }
.detail-text h3 { font-size: 18px; margin: 24px 0 8px; color: var(--violet); }
.detail-text h3:first-of-type { margin-top: 0; }
.detail-text p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
@media (max-width: 768px) {
    .detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .detail-image { position: static; flex-direction: row; }
    .detail-image img { width: calc(50% - 8px); }
}

/* Branche Form */
.branche-form-section { padding: 80px 0; background: var(--bg-alt); }
.branche-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.branche-form-info h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.branche-form-info > p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.branche-form-highlights { display: flex; flex-direction: column; gap: 14px; }
.bfh-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}
.bfh-item svg { width: 20px; height: 20px; color: var(--violet); flex-shrink: 0; }
.branche-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
@media (max-width: 768px) {
    .branche-form-grid { grid-template-columns: 1fr; gap: 32px; }
    .branche-form-wrap { padding: 24px; }
}

.branche-benefits { padding: 80px 0; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.benefit-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(107, 33, 168, 0.15);
}
.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--violet-subtle);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    margin-bottom: 16px;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-card h3 { font-size: 18px; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.branche-usecases { padding: 0 0 80px; }
.usecases-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}
.usecase-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--violet-subtle);
    border: 1px solid rgba(107, 33, 168, 0.1);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--violet);
    transition: all 0.3s;
}
.usecase-pill:hover {
    background: var(--violet);
    color: #fff;
    transform: translateY(-2px);
}
.usecase-pill svg { width: 16px; height: 16px; }

.branche-ref { padding: 80px 0; background: var(--bg-alt); }
.branche-ref-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.branche-ref-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.branche-ref-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.branche-ref-item:hover img { transform: scale(1.06); }
.branche-ref-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}
.branche-ref-overlay h4 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.branche-ref-overlay span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
}
.branche-ref-overlay span svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .branche-ref-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .branche-hero { padding: 120px 0 60px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .branche-ref-grid { grid-template-columns: 1fr; }
    .usecase-pill { padding: 10px 18px; font-size: 13px; }
}

/* ========================================
   KONTAKT PAGE
   ======================================== */
.kontakt-section {
    padding: 0 0 80px;
}
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.kontakt-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.kontakt-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}
.kontakt-info-card:hover {
    border-color: rgba(107, 33, 168, 0.15);
    box-shadow: var(--shadow-sm);
}
.kontakt-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--violet-subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
}
.kontakt-info-icon svg { width: 20px; height: 20px; }
.kontakt-info-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
}
.kontakt-info-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.kontakt-info-card a {
    color: var(--violet);
    text-decoration: none;
    font-weight: 500;
}
.kontakt-info-card a:hover { text-decoration: underline; }
.kontakt-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.kontakt-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.kontakt-form-wrap h2 {
    font-size: 24px;
    margin-bottom: 8px;
}
.kontakt-form-wrap > p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .kontakt-form-wrap {
        padding: 24px;
        order: -1;
    }
}

/* ========================================
   REFERENZEN PAGE
   ======================================== */
.ref-hero {
    padding: 140px 0 60px;
    text-align: center;
}
.ref-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--violet-light);
    background: rgba(107,33,168,0.06);
    color: var(--violet);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.ref-hero-badge svg { width: 16px; height: 16px; }
.ref-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}
.ref-hero > .container > p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
}
.ref-counter {
    display: flex;
    justify-content: center;
    gap: 48px;
}
.ref-counter-item {
    display: flex;
    flex-direction: column;
}
.ref-counter-item strong {
    font-size: 32px;
    font-weight: 800;
    color: var(--violet);
}
.ref-counter-item span {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filter */
.ref-filter-section {
    padding: 0 0 40px;
    position: relative;
    z-index: 2;
}
.ref-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    overflow: visible;
}
.ref-filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}
.ref-filter-btn svg { width: 16px; height: 16px; }
.ref-filter-btn:hover {
    border-color: var(--violet);
    color: var(--violet);
}
.ref-filter-btn.active {
    background: var(--violet);
    color: #fff;
    border-color: var(--violet);
}

/* Bento Grid */
.ref-gallery {
    padding: 0 0 80px;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-flow: dense;
}
.bento-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.bento-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.bento-large {
    grid-column: span 2;
    min-height: 320px;
}
.bento-medium {
    min-height: 280px;
}
.bento-small {
    min-height: 240px;
}
.bento-bg {
    position: absolute;
    inset: 0;
}
.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}
.bento-logo {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 16px;
    transition: transform 0.3s;
}
.bento-item:hover .bento-logo { transform: scale(1.08); }
.bento-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.bento-cat {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
    display: block;
}
.bento-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 4px;
}
.bento-large .bento-text h3 { font-size: 28px; }
.bento-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.bento-play {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}
.bento-play svg { width: 22px; height: 22px; }
.bento-item:hover .bento-play {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}
@keyframes bentoIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.ref-more {
    text-align: center;
    margin-top: 48px;
}
.ref-more p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-large { grid-column: span 2; min-height: 260px; }
    .bento-medium, .bento-small { min-height: 220px; }
    .ref-counter { gap: 28px; }
}
@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large { grid-column: auto; min-height: 240px; }
    .bento-content { padding: 24px; }
    .bento-text h3, .bento-large .bento-text h3 { font-size: 20px; }
    .ref-counter { gap: 20px; }
    .ref-counter-item strong { font-size: 26px; }
    .ref-filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px 8px;
        gap: 8px;
        scrollbar-width: none;
    }
    .ref-filters::-webkit-scrollbar { display: none; }
    .ref-filter-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ========================================
   BLOG
   ======================================== */

/* Blog Hero */
.blog-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--bg-alt);
}
.blog-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin: 16px 0 12px;
}
.blog-hero > .container > p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-listing { padding: 60px 0 80px; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--violet);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card-meta svg { width: 14px; height: 14px; }
.blog-card-body h2 {
    font-size: 20px;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    line-height: 1.3;
}
.blog-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}
.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--violet);
    margin-top: 16px;
}
.blog-card-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.blog-card:hover .blog-card-link svg { transform: translateX(4px); }

/* Blog Article */
.blog-article-hero {
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    padding: 60px 0 48px;
}
.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s;
}
.blog-back-link:hover { color: white; }
.blog-back-link svg { width: 16px; height: 16px; }
.blog-article-category {
    display: inline-block;
    background: var(--violet);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.blog-article-hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    color: white;
    max-width: 800px;
    line-height: 1.25;
    margin-bottom: 16px;
}
.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.blog-article-meta span { display: flex; align-items: center; gap: 6px; }
.blog-article-meta svg { width: 16px; height: 16px; }

/* Article Content */
.blog-article-content { padding: 60px 0 80px; }
.container-narrow { max-width: 740px; margin: 0 auto; }
.blog-lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 40px;
    border-left: 3px solid var(--violet);
    padding-left: 20px;
}
.blog-article-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin: 40px 0 12px;
    color: var(--text);
}
.blog-article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.blog-article-content strong { color: var(--text); }
.blog-article-content ul {
    margin: 0 0 20px 0;
    padding-left: 24px;
}
.blog-article-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.blog-article-content li strong { color: var(--text); }
.blog-article-cta {
    margin-top: 48px;
    padding: 36px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    text-align: center;
}
.blog-article-cta h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 8px;
}
.blog-article-cta p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-article-hero { min-height: 320px; padding-top: 100px; }
    .blog-article-cta { padding: 24px; }
}

/* ========================================
   LEGAL PAGES (Impressum, Datenschutz)
   ======================================== */
.legal-page {
    padding: 140px 0 80px;
}
.legal-page h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 4px;
}
.legal-updated {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 40px 0 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text);
}
.legal-page h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.legal-page h3 {
    font-size: 17px;
    margin: 24px 0 8px;
    color: var(--violet);
}
.legal-page p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.legal-page strong { color: var(--text); }
.legal-page a { color: var(--violet); text-decoration: underline; }
.legal-page a:hover { opacity: 0.8; }
.legal-page ul {
    margin: 0 0 16px 0;
    padding-left: 24px;
}
.legal-page li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.legal-page li strong { color: var(--text); }
