/* ============================================
   Variante 4 — "Synthese"
   V2-Farbwelt (hell, warm, Korall+Mint)
   V3-Tonalität (präzise, code-affin)
   + Bewegtbild-Hero (Slideshow + Partikel)
   ============================================ */

:root {
    --v4-bg: #fefcf8;
    --v4-bg-2: #fff8ef;
    --v4-bg-tint: #fff3e6;
    --v4-bg-dark: #0e1428;
    --v4-bg-dark-2: #1a2238;
    --v4-ink: #1a1f2c;
    --v4-ink-2: #404a5c;
    --v4-muted: #7a8294;
    --v4-line: #f0e4d6;
    --v4-line-dark: rgba(255,255,255,.08);
    --v4-coral: #ff6b6b;
    --v4-coral-2: #ff8e72;
    --v4-mint: #2dd4bf;
    --v4-mint-2: #14b8a6;
    --v4-gold: #d4a574;
    --v4-yellow: #fcd34d;
    --v4-green: #5eff9a;
    --v4-t: cubic-bezier(.2,.7,.2,1);
    --v4-t-bounce: cubic-bezier(.34,1.2,.64,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--v4-ink);
    background: var(--v4-bg);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--v4-ink); text-decoration: none; transition: color .2s var(--v4-t); }
a:hover { color: var(--v4-coral); }
img { max-width: 100%; display: block; }
code { font-family: 'JetBrains Mono', monospace; }

.v4-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }

.v4-mark-coral {
    background: linear-gradient(120deg, transparent 50%, rgba(255,107,107,.35) 50%);
    padding: 0 4px;
}
.v4-mark-mint {
    background: linear-gradient(120deg, transparent 50%, rgba(45,212,191,.35) 50%);
    padding: 0 4px;
}

/* ====== HEADER ====== */
.v4-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100; height: 78px;
    transition: background .35s var(--v4-t), box-shadow .35s var(--v4-t), height .3s var(--v4-t);
}
.v4-header.scrolled {
    background: rgba(254,252,248,.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 30px rgba(0,0,0,.05);
    height: 66px;
}
.v4-header .v4-container {
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px;
}

.v4-brand {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600; font-size: 1.08rem;
    color: #fff;
    transition: color .35s var(--v4-t);
}
.v4-header.scrolled .v4-brand { color: var(--v4-ink); }
.v4-brand em { font-style: normal; color: var(--v4-coral); }
.v4-brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    gap: 4px;
}
.v4-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -.005em;
    line-height: 1;
}
.v4-brand-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    line-height: 1;
    transition: color .35s var(--v4-t);
}
.v4-brand-sub em {
    font-style: normal;
    color: var(--v4-coral);
    font-weight: 600;
    margin-right: 4px;
    letter-spacing: .15em;
}
.v4-header.scrolled .v4-brand-sub { color: rgba(26,31,44,.55); }
.v4-footer .v4-brand-sub { color: rgba(255,255,255,.45); }
.v4-brand-mark {
    display: inline-flex; gap: 3px;
    padding: 7px;
    background: var(--v4-ink);
    border-radius: 10px;
}
.v4-brand-mark span {
    width: 4px; height: 16px;
    border-radius: 2px;
    background: var(--v4-coral);
}
.v4-brand-mark span:nth-child(2) { background: var(--v4-yellow); height: 12px; align-self: center; }
.v4-brand-mark span:nth-child(3) { background: var(--v4-mint); height: 20px; }

.v4-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.v4-nav a {
    font-size: .92rem; font-weight: 500;
    color: rgba(255,255,255,.85);
    padding: 8px 0;
    position: relative;
}
.v4-nav a::after {
    content: ''; position: absolute; left: 0; bottom: 2px;
    width: 0; height: 1px; background: var(--v4-coral);
    transition: width .3s var(--v4-t);
}
.v4-nav a:hover::after { width: 100%; }
.v4-header.scrolled .v4-nav a { color: var(--v4-ink-2); }
.v4-header.scrolled .v4-nav a:hover { color: var(--v4-coral); }

.v4-header-cta {
    background: var(--v4-coral);
    color: #fff !important;
    padding: 11px 22px;
    border-radius: 100px;
    font-weight: 500;
    font-size: .92rem;
    display: inline-flex; align-items: center; gap: 8px;
    transition: transform .3s var(--v4-t-bounce), background .3s var(--v4-t);
}
.v4-header-cta:hover { background: var(--v4-ink); transform: translateY(-2px); }
.v4-header-cta span { transition: transform .3s var(--v4-t); }
.v4-header-cta:hover span { transform: translateX(4px); }

.v4-back {
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    color: rgba(255,255,255,.55);
}
.v4-header.scrolled .v4-back { color: var(--v4-muted); }
.v4-back:hover { color: var(--v4-coral); }

.v4-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.v4-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; margin: 6px auto; transition: all .3s var(--v4-t); }
.v4-header.scrolled .v4-toggle span { background: var(--v4-ink); }
.v4-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.v4-toggle.open span:nth-child(2) { opacity: 0; }
.v4-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ====== BUTTONS ====== */
.v4-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 30px;
    border-radius: 100px;
    font-weight: 600; font-size: .96rem;
    border: 2px solid transparent;
    cursor: pointer; font-family: inherit;
    transition: all .35s var(--v4-t-bounce);
}
.v4-btn-primary {
    background: var(--v4-coral);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255,107,107,.4);
}
.v4-btn-primary:hover {
    background: var(--v4-ink);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(26,31,44,.35);
}
.v4-btn-primary .v4-arrow { transition: transform .3s var(--v4-t); }
.v4-btn-primary:hover .v4-arrow { transform: translateX(6px); }
.v4-btn-ghost {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
}
.v4-btn-ghost:hover { background: #fff; color: var(--v4-ink); border-color: #fff; transform: translateY(-3px); }

/* ====== HERO mit BEWEGTBILD ====== */
.v4-hero {
    position: relative;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
    display: flex; align-items: center;
    padding: 140px 0 100px;
}

/* Slideshow: 4 Layer wechseln im Crossfade */
.v4-hero-stage {
    position: absolute; inset: 0;
    z-index: 0;
}
.v4-hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: v4-slideshow 28s infinite;
    transform: scale(1.08);
}
.v4-slide-1 {
    background-image: url('https://images.unsplash.com/photo-1573164574572-cb89e39749b4?w=2000&q=80&auto=format&fit=crop');
    animation-delay: 0s;
}
.v4-slide-2 {
    background-image: url('https://images.unsplash.com/photo-1581092335397-9583eb92d232?w=2000&q=80&auto=format&fit=crop');
    animation-delay: 7s;
}
.v4-slide-3 {
    background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=2000&q=80&auto=format&fit=crop');
    animation-delay: 14s;
}
.v4-slide-4 {
    background-image: url('https://images.unsplash.com/photo-1542744095-fcf48d80b0fd?w=2000&q=80&auto=format&fit=crop');
    animation-delay: 21s;
}
@keyframes v4-slideshow {
    0%   { opacity: 0; transform: scale(1.08); }
    4%   { opacity: 1; }
    25%  { opacity: 1; transform: scale(1); }
    29%  { opacity: 0; }
    100% { opacity: 0; transform: scale(1); }
}

/* Tönung über den Bildern: warmer Coral/Mint-Gradient + Lesbarkeits-Vignette */
.v4-hero-tint {
    position: absolute; inset: 0;
    z-index: 1;
    background:
        radial-gradient(800px 500px at 20% 30%, rgba(255,107,107,.3), transparent 60%),
        radial-gradient(700px 500px at 80% 70%, rgba(45,212,191,.25), transparent 60%),
        linear-gradient(180deg, rgba(14,20,40,.55) 0%, rgba(14,20,40,.85) 100%);
}

/* Subtile Scan-Linie (sehr dezent) */
.v4-hero-scan {
    position: absolute; inset: 0;
    z-index: 2;
    background: linear-gradient(transparent 50%, rgba(255,255,255,.02) 50%);
    background-size: 100% 3px;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Schwebende Datenpartikel */
.v4-particles {
    position: absolute; inset: 0;
    z-index: 2;
    pointer-events: none;
}
.v4-particles span {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--v4-mint);
    box-shadow: 0 0 12px rgba(45,212,191,.7);
    opacity: 0;
    animation: v4-float 12s linear infinite;
}
.v4-particles span:nth-child(1)  { left: 10%; animation-delay: 0s;    background: var(--v4-coral); box-shadow: 0 0 12px rgba(255,107,107,.7); }
.v4-particles span:nth-child(2)  { left: 22%; animation-delay: 1.5s; }
.v4-particles span:nth-child(3)  { left: 35%; animation-delay: 3s;   background: var(--v4-yellow); box-shadow: 0 0 12px rgba(252,211,77,.7); }
.v4-particles span:nth-child(4)  { left: 48%; animation-delay: 4.5s; }
.v4-particles span:nth-child(5)  { left: 60%; animation-delay: 6s;   background: var(--v4-coral); box-shadow: 0 0 12px rgba(255,107,107,.7); }
.v4-particles span:nth-child(6)  { left: 72%; animation-delay: 7.5s; }
.v4-particles span:nth-child(7)  { left: 85%; animation-delay: 9s;   background: var(--v4-yellow); box-shadow: 0 0 12px rgba(252,211,77,.7); }
.v4-particles span:nth-child(8)  { left: 5%;  animation-delay: 2s;   width: 3px; height: 3px; }
.v4-particles span:nth-child(9)  { left: 30%; animation-delay: 5s;   width: 3px; height: 3px; }
.v4-particles span:nth-child(10) { left: 55%; animation-delay: 8s;   width: 3px; height: 3px; }
.v4-particles span:nth-child(11) { left: 75%; animation-delay: 10.5s; width: 3px; height: 3px; }
.v4-particles span:nth-child(12) { left: 92%; animation-delay: 11.5s; width: 3px; height: 3px; }
@keyframes v4-float {
    0%   { bottom: -10px; opacity: 0; transform: translateX(0); }
    10%  { opacity: .8; }
    50%  { transform: translateX(40px); }
    90%  { opacity: .8; }
    100% { bottom: 110%; opacity: 0; transform: translateX(0); }
}

.v4-hero-inner { position: relative; z-index: 3; max-width: 900px; }

.v4-trust-pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px 8px 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    margin-bottom: 32px;
    font-size: .88rem;
}
.v4-flag {
    display: inline-grid; place-items: center;
    width: 28px; height: 28px;
    background: #fff;
    border-radius: 50%;
    font-size: 1rem;
}
.v4-trust-pill strong { color: var(--v4-yellow); }

.v4-hero h1 { color: #fff; margin-bottom: 28px; }
.v4-lead {
    font-size: 1.18rem;
    color: rgba(255,255,255,.92);
    max-width: 720px;
    margin-bottom: 44px;
    font-weight: 300;
}

.v4-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 50px; }

.v4-hero-meta {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .82rem;
}
.v4-hero-meta code { color: rgba(255,255,255,.65); }
.v4-status-dot {
    width: 8px; height: 8px;
    background: var(--v4-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(94,255,154,.5);
    animation: v4-pulse 2s infinite;
}
@keyframes v4-pulse {
    0% { box-shadow: 0 0 0 0 rgba(94,255,154,.5); }
    100% { box-shadow: 0 0 0 14px rgba(94,255,154,0); }
}

.v4-scroll {
    position: absolute; left: 50%; bottom: 26px;
    transform: translateX(-50%);
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 14px;
    z-index: 3;
}
.v4-scroll::after {
    content: ''; position: absolute;
    top: 6px; left: 50%;
    width: 3px; height: 8px;
    background: rgba(255,255,255,.8);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: v4-scroll 1.8s infinite;
}
@keyframes v4-scroll {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* ====== SECTIONS ====== */
.v4-section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.v4-section-tinted { background: var(--v4-bg-tint); }

/* ====== CREDO (Pull-Quote) ====== */
.v4-section-credo {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(45,212,191,.08), transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(255,107,107,.08), transparent 55%),
        var(--v4-bg);
    padding: clamp(100px, 13vw, 180px) 0;
    overflow: hidden;
    position: relative;
}
.v4-credo-bg {
    position: absolute; inset: 0;
    pointer-events: none;
    display: flex; align-items: center; justify-content: center;
}
.v4-credo-quote {
    font-family: 'Space Grotesk', serif;
    font-size: clamp(20rem, 40vw, 36rem);
    line-height: 1;
    color: var(--v4-coral);
    opacity: .055;
    transform: translateY(8%);
    font-weight: 700;
    user-select: none;
}
.v4-credo {
    position: relative; z-index: 1;
    margin: 0;
    max-width: 1080px;
    text-align: center;
}
.v4-credo .v4-tag { margin-bottom: 28px; }
.v4-credo-text {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: clamp(2.2rem, 5.4vw, 4.6rem);
    line-height: 1.15;
    letter-spacing: -.025em;
    color: var(--v4-ink);
    max-width: 1000px;
    margin: 0 auto;
}
.v4-credo-text .v4-mark-mint,
.v4-credo-text .v4-mark-coral {
    padding: 0 8px;
    background-position: 0 78%;
    background-size: 100% 36%;
    background-repeat: no-repeat;
    font-weight: 600;
}
.v4-credo-text .v4-mark-mint {
    background-image: linear-gradient(transparent, rgba(45,212,191,.45));
}
.v4-credo-text .v4-mark-coral {
    background-image: linear-gradient(transparent, rgba(255,107,107,.45));
}
.v4-credo-foot {
    display: inline-flex; align-items: center; gap: 16px;
    margin-top: 44px;
    font-family: 'JetBrains Mono', monospace;
    font-size: .85rem;
    color: var(--v4-muted);
}
.v4-credo-line {
    display: inline-block;
    width: 60px; height: 1px;
    background: linear-gradient(90deg, var(--v4-mint), var(--v4-coral));
}

/* Inhaber-Attribution (Initialen-Bubble + Name) */
.v4-quote-attr {
    display: inline-flex; align-items: center; gap: 16px;
    margin-top: 48px;
    text-align: left;
}
.v4-quote-avatar {
    flex: 0 0 auto;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--v4-coral) 0%, var(--v4-mint) 100%);
    display: grid; place-items: center;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: .03em;
    box-shadow: 0 10px 26px rgba(255,107,107,.32);
    position: relative;
}
.v4-quote-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(255,107,107,.2);
}
.v4-quote-attr-text {
    display: flex; flex-direction: column;
    line-height: 1.4;
}
.v4-quote-attr-text strong {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--v4-ink);
    font-size: 1.02rem;
}
.v4-quote-attr-text > span {
    color: var(--v4-muted);
    font-size: .85rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Dunkle Variante (zweites Zitat vor Menschen-Section) */
.v4-section-credo-dark {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255,107,107,.12), transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(45,212,191,.1), transparent 55%),
        var(--v4-ink);
    color: #fff;
}
.v4-section-credo-dark .v4-credo-quote {
    color: var(--v4-mint);
    opacity: .04;
}
.v4-section-credo-dark .v4-credo-text {
    color: #fff;
}
.v4-section-credo-dark .v4-credo-text .v4-mark-mint {
    background-image: linear-gradient(transparent, rgba(45,212,191,.55));
}
.v4-section-credo-dark .v4-credo-text .v4-mark-coral {
    background-image: linear-gradient(transparent, rgba(255,107,107,.55));
}
.v4-section-credo-dark .v4-quote-attr-text strong { color: #fff; }
.v4-section-credo-dark .v4-quote-attr-text > span { color: rgba(255,255,255,.55); }
.v4-section-credo-dark .v4-quote-avatar {
    box-shadow: 0 12px 32px rgba(45,212,191,.35);
}
.v4-section-credo-dark .v4-quote-avatar::after {
    border-color: rgba(255,255,255,.15);
}

/* Reveal mit kaskadierter Wortbetonung */
.v4-credo.visible .v4-mark-mint {
    animation: v4-credo-pop .9s var(--v4-t-bounce) .3s both;
}
.v4-credo.visible .v4-mark-coral {
    animation: v4-credo-pop .9s var(--v4-t-bounce) .55s both;
}
@keyframes v4-credo-pop {
    0% { transform: translateY(8px) scale(.92); opacity: 0; }
    60% { transform: translateY(-2px) scale(1.04); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .v4-credo-text { font-size: clamp(1.8rem, 8vw, 2.6rem); }
    .v4-credo-foot { flex-direction: column; gap: 10px; }
}

.v4-section-head { max-width: 800px; margin-bottom: 60px; }
.v4-section-sub { font-size: 1.1rem; color: var(--v4-muted); margin-top: 6px; }

.v4-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .8rem;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
    font-weight: 500;
}
.v4-tag-coral { background: rgba(255,107,107,.12); color: var(--v4-coral); }
.v4-tag-mint  { background: rgba(45,212,191,.15); color: var(--v4-mint-2); }
.v4-tag-light { background: rgba(255,255,255,.12); color: #fff; }

/* ====== PILLARS (Philosophie) ====== */
.v4-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.v4-pillar {
    background: #fff;
    border: 1px solid var(--v4-line);
    border-radius: 24px;
    padding: 36px 32px;
    transition: transform .4s var(--v4-t-bounce), box-shadow .4s, border-color .4s;
    position: relative;
    overflow: hidden;
}
.v4-pillar::before {
    content: '';
    position: absolute; left: 0; top: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--v4-coral), var(--v4-mint));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--v4-t);
}
.v4-pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(26,31,44,.1);
    border-color: transparent;
}
.v4-pillar:hover::before { transform: scaleX(1); }
.v4-pillar-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: .88rem;
    color: var(--v4-coral);
    margin-bottom: 18px;
}
.v4-pillar h3 { font-size: 1.4rem; margin-bottom: 14px; }
.v4-pillar p { color: var(--v4-ink-2); margin-bottom: 20px; }
.v4-pillar-code {
    display: block;
    font-size: .76rem;
    color: var(--v4-muted);
    padding: 10px 14px;
    background: var(--v4-bg-tint);
    border-radius: 8px;
    word-break: break-word;
}

/* ====== INFRASTRUKTUR Section ====== */
.v4-section-lancom {
    background-color: var(--v4-bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.v4-section-lancom::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(115deg,
            rgba(14,20,40,.92) 0%,
            rgba(14,20,40,.55) 40%,
            rgba(14,20,40,.45) 60%,
            rgba(14,20,40,.85) 100%),
        url('../img/hardware-stack.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}
.v4-section-lancom::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,107,.12), transparent 70%);
    top: -180px; left: -120px;
    pointer-events: none;
    z-index: -1;
}
.v4-section-lancom h2 { color: #fff; }
.v4-lancom-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative; z-index: 1;
}
.v4-lancom-text p { color: rgba(255,255,255,.78); }
.v4-lancom-text strong { color: #fff; }
.v4-lancom-text em { font-style: italic; color: var(--v4-gold); }
.v4-lancom-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 36px;
}
.v4-lancom-points strong { display: block; margin-bottom: 4px; }
.v4-lancom-points span { color: rgba(255,255,255,.6); font-size: .88rem; }

.v4-lancom-visual { position: relative; }
.v4-lancom-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.v4-lancom-card-head {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px;
    background: rgba(0,0,0,.3);
    border-bottom: 1px solid var(--v4-line-dark);
    font-size: .82rem;
}
.v4-lancom-card-head code { color: var(--v4-mint); }
.v4-lancom-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--v4-green);
    box-shadow: 0 0 10px rgba(94,255,154,.6);
}
.v4-lancom-rows { padding: 12px 24px; }
.v4-lancom-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--v4-line-dark);
    font-size: .95rem;
}
.v4-lancom-row:last-child { border-bottom: 0; }
.v4-lancom-row span { color: rgba(255,255,255,.6); }
.v4-lancom-row strong { font-family: 'Space Grotesk', sans-serif; font-weight: 500; color: #fff; }
.v4-cert-badge {
    background: rgba(94,255,154,.15);
    color: var(--v4-green) !important;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .82rem;
    border: 1px solid rgba(94,255,154,.3);
}
.v4-lancom-badge {
    position: absolute;
    top: -20px; right: -20px;
    background: var(--v4-gold);
    color: var(--v4-ink);
    padding: 12px 18px;
    border-radius: 18px;
    display: inline-flex; align-items: center; gap: 12px;
    box-shadow: 0 16px 40px rgba(212,165,116,.4);
    transform: rotate(3deg);
    z-index: 2;
}
.v4-lancom-badge-l { font-size: 1.6rem; }
.v4-lancom-badge strong { display: block; font-size: 1rem; }
.v4-lancom-badge small { font-size: .76rem; opacity: .8; }

/* ====== HYBRID O365 ⟷ ONPREMISE ====== */
.v4-section-hybrid {
    background: var(--v4-bg);
}
.v4-hybrid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: stretch;
}
.v4-hybrid-col {
    background: #fff;
    border: 1px solid var(--v4-line);
    border-radius: 24px;
    padding: 40px 36px;
    transition: transform .4s var(--v4-t), box-shadow .4s;
}
.v4-hybrid-col:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(26,31,44,.1); }
.v4-hybrid-cloud { border-top: 4px solid var(--v4-mint); }
.v4-hybrid-prem  { border-top: 4px solid var(--v4-coral); }
.v4-hybrid-icon { font-size: 2.4rem; margin-bottom: 16px; }
.v4-hybrid-col h3 { font-size: 1.3rem; margin-bottom: 18px; }
.v4-hybrid-col ul {
    list-style: none; padding: 0; margin: 0;
    color: var(--v4-ink-2);
}
.v4-hybrid-col li {
    padding: 8px 0 8px 22px;
    position: relative;
    border-bottom: 1px solid var(--v4-line);
}
.v4-hybrid-col li:last-child { border-bottom: 0; }
.v4-hybrid-col li::before {
    content: '';
    position: absolute; left: 0; top: 18px;
    width: 8px; height: 8px;
    border-radius: 50%;
}
.v4-hybrid-cloud li::before { background: var(--v4-mint); }
.v4-hybrid-prem  li::before { background: var(--v4-coral); }

/* Zweizeiliger Listeneintrag: 2. Zeile bündig zum 1. Wort nach dem Gedankenstrich */
.v4-li-stack {
    display: inline-flex;
    flex-direction: column;
    vertical-align: top;
    line-height: 1.5;
}
.v4-li-stack > span:first-child {
    color: var(--v4-ink-2);
}
.v4-li-stack > span + span {
    color: var(--v4-muted);
    font-size: .94em;
    margin-top: 2px;
}

.v4-hybrid-bridge {
    text-align: center;
    align-self: center;
    padding: 0 14px;
    position: relative;
}
.v4-bridge-symbol {
    display: inline-block;
    font-size: 2.4rem;
    color: var(--v4-coral);
    background: var(--v4-bg);
    padding: 8px 14px;
    z-index: 2;
    position: relative;
}
.v4-bridge-line {
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--v4-mint), var(--v4-coral));
    z-index: 1;
}
.v4-hybrid-bridge small {
    display: block;
    margin-top: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: .76rem;
    color: var(--v4-muted);
    line-height: 1.7;
}

/* Vendor-Pills unter der Hybrid-Section */
.v4-hybrid-vendors {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.v4-vendor-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    color: var(--v4-mint-2);
    margin-right: 6px;
}
.v4-vendor {
    background: #fff;
    border: 1px solid var(--v4-line);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--v4-ink);
    transition: all .3s var(--v4-t);
}
.v4-vendor:hover {
    border-color: var(--v4-coral);
    color: var(--v4-coral);
    transform: translateY(-2px);
}
.v4-vendor-accent {
    background: var(--v4-ink);
    color: #fff;
    border-color: var(--v4-ink);
}
.v4-vendor-accent:hover {
    background: var(--v4-coral);
    border-color: var(--v4-coral);
    color: #fff;
}

.v4-hybrid-foot {
    margin: 36px auto 0;
    max-width: 760px;
    text-align: center;
    color: var(--v4-ink-2);
    font-size: 1rem;
    line-height: 1.7;
}
.v4-hybrid-foot strong { color: var(--v4-ink); }
.v4-hybrid-foot em {
    font-style: normal;
    background: var(--v4-bg-tint);
    padding: 2px 8px;
    border-radius: 6px;
    color: var(--v4-coral);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: .92rem;
}

/* ====== LEISTUNGEN ====== */
.v4-svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.v4-svc {
    background: #fff;
    border-radius: 20px;
    padding: 30px 26px;
    border: 1px solid var(--v4-line);
    transition: all .35s var(--v4-t);
}
.v4-svc:hover {
    border-color: var(--v4-coral);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255,107,107,.12);
}
.v4-svc-num {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .82rem;
    color: var(--v4-coral);
    margin-bottom: 14px;
}
.v4-svc h3 { font-size: 1.05rem; margin-bottom: 8px; }
.v4-svc p { font-size: .9rem; color: var(--v4-muted); margin: 0; }

/* ====== LEISTUNGEN: Bürobild als atmosphärischer Hintergrund ====== */
#leistungen.v4-section-tinted {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--v4-bg-tint);
}
#leistungen.v4-section-tinted::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/buerohg.png');
    background-size: cover;
    background-position: center 25%;       /* oberer Bildteil priorisiert */
    background-repeat: no-repeat;
    filter: saturate(.92);
    opacity: .82;
    z-index: -2;
    /* Unteren Bildteil weich ausblenden – schneidet die 5 Werte-Bullets weg */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 62%, transparent 88%);
    mask-image: linear-gradient(to bottom, black 0%, black 62%, transparent 88%);
}
#leistungen.v4-section-tinted::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,250,245,.1) 0%, rgba(255,243,230,.4) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Cards mit Glassmorphism, deutlich transparent – beim Hover voll opak */
#leistungen .v4-svc {
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    border-color: rgba(255,255,255,.5);
}
#leistungen .v4-svc:hover {
    background: rgba(255,255,255,.96);
    border-color: var(--v4-coral);
}

/* Stagger-Animation: längeres, sanftes Einblenden */
#leistungen .v4-svc.v4-reveal {
    transition: opacity .9s var(--v4-t), transform .9s var(--v4-t);
    transform: translateY(40px);
}
#leistungen .v4-svc.v4-reveal.visible {
    transform: none;
}

/* Section-Headline mit dezentem Highlight für Kontrast */
#leistungen .v4-section-head h2,
#leistungen .v4-section-head .v4-tag,
#leistungen .v4-section-head .v4-section-sub {
    text-shadow: 0 1px 3px rgba(255,255,255,.5);
}

/* ====== MENSCHEN ====== */
.v4-people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.v4-person {
    margin: 0;
    background: #fff;
    border-radius: 28px;
    padding: 16px 16px 28px;
    border: 1px solid var(--v4-line);
    transition: transform .4s var(--v4-t-bounce), box-shadow .4s;
}
.v4-person:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(26,31,44,.12); }
.v4-person-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 22px;
}
.v4-person-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s var(--v4-t);
}
.v4-person:hover .v4-person-img img { transform: scale(1.06); }

/* Portrait-Ausschnitt aus dem Bürobild – fokussiert auf den Inhaber am Laptop */
.v4-person-img img.v4-portrait-inhaber {
    object-position: 50% 42%;
    transform: scale(2);
    transform-origin: 50% 42%;
}
.v4-person:hover .v4-person-img img.v4-portrait-inhaber {
    transform: scale(2.08);
}
.v4-person figcaption { padding: 0 12px; }
.v4-person-role {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    color: var(--v4-mint-2);
    margin-bottom: 8px;
}
.v4-person strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.18rem;
    margin-bottom: 8px;
}
.v4-person span { color: var(--v4-muted); font-size: .94rem; }

/* ====== REFERENZEN ====== */
.v4-section-refs { background: var(--v4-bg-2); }
.v4-refs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
/* Bei ungerader Karten-Anzahl: letzte Karte in normaler Breite, zentriert */
.v4-refs-grid > .v4-ref:nth-child(odd):last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
    justify-self: center;
}
.v4-ref {
    display: flex; align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--v4-line);
    transition: transform .4s var(--v4-t), box-shadow .4s;
    color: var(--v4-ink);
}
.v4-ref:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(26,31,44,.12);
}
.v4-ref-static { cursor: default; }
.v4-ref-static:hover { transform: none; box-shadow: none; }
.v4-ref-img {
    flex: 0 0 40%;
    overflow: hidden;
    position: relative;
}
.v4-ref-img img {
    width: 100%; height: 100%; object-fit: cover;
    min-height: 240px;
    transition: transform 1.2s var(--v4-t);
}
.v4-ref:not(.v4-ref-static):hover .v4-ref-img img { transform: scale(1.05); }
.v4-ref-body {
    flex: 1;
    padding: 28px 30px;
    display: flex; flex-direction: column;
}
.v4-ref-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: .76rem;
    color: var(--v4-mint-2);
    margin-bottom: 10px;
}
.v4-ref h3 { font-size: 1.2rem; margin-bottom: 10px; }
.v4-ref p { color: var(--v4-muted); font-size: .94rem; flex: 1; }
.v4-ref-link {
    display: inline-block;
    margin-top: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: .85rem;
    color: var(--v4-coral);
    font-weight: 600;
}
.v4-ref-static .v4-ref-link { color: var(--v4-muted); }

.v4-refs-foot {
    margin-top: 40px;
    text-align: center;
    color: var(--v4-muted);
    font-size: 1.05rem;
}
.v4-refs-foot strong { color: var(--v4-ink); }

/* ====== COVERAGE ====== */
.v4-section-coverage {
    background: var(--v4-ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.v4-section-coverage::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,107,.12), transparent 70%);
    bottom: -300px; right: -200px;
}
.v4-section-coverage h2 { color: #fff; }
.v4-coverage {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative; z-index: 1;
}
.v4-coverage p { color: rgba(255,255,255,.78); }
.v4-coverage strong { color: #fff; }
.v4-coverage-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.v4-coverage-stats > div {
    padding: 28px 0;
    border-top: 1px solid var(--v4-line-dark);
}
.v4-coverage-stats strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 500;
    color: var(--v4-coral);
    margin-bottom: 4px;
}
.v4-coverage-stats span {
    font-family: 'JetBrains Mono', monospace;
    font-size: .82rem;
    color: rgba(255,255,255,.6);
}

/* ====== CONTACT ====== */
.v4-section-contact {
    background:
        radial-gradient(ellipse at top, rgba(255,107,107,.08), transparent 60%),
        var(--v4-bg);
}
.v4-contact-card {
    background: #fff;
    border-radius: 32px;
    padding: 70px 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(26,31,44,.1);
    border: 1px solid var(--v4-line);
    text-align: center;
}
.v4-contact-card > p {
    color: var(--v4-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.v4-contact-rows {
    display: flex; flex-direction: column; gap: 12px;
    text-align: left;
}
.v4-contact-row {
    display: grid;
    grid-template-columns: 140px 1fr 30px;
    align-items: center;
    padding: 22px 26px;
    background: var(--v4-bg-tint);
    border-radius: 16px;
    transition: all .3s var(--v4-t);
    color: var(--v4-ink);
}
.v4-contact-row:hover {
    background: var(--v4-ink);
    color: #fff;
    transform: translateX(8px);
}
.v4-contact-static:hover { background: var(--v4-bg-tint); color: var(--v4-ink); transform: none; cursor: default; }
.v4-cr-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: .82rem;
    color: var(--v4-muted);
}
.v4-contact-row:hover .v4-cr-label { color: rgba(255,255,255,.6); }
.v4-contact-static:hover .v4-cr-label { color: var(--v4-muted); }
.v4-cr-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
}
.v4-cr-arrow {
    text-align: right;
    opacity: 0;
    transition: opacity .3s var(--v4-t);
}
.v4-contact-row:hover .v4-cr-arrow { opacity: 1; }
.v4-contact-static .v4-cr-arrow { display: none; }

/* ====== FOOTER ====== */
.v4-footer {
    background: var(--v4-ink);
    color: rgba(255,255,255,.6);
    padding: 80px 0 0;
}
.v4-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}
.v4-footer h5 {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .82rem;
    margin: 0 0 16px;
}
.v4-footer p { font-size: .9rem; margin: 0 0 .6em; }
.v4-footer a { color: rgba(255,255,255,.7); }
.v4-footer a:hover { color: var(--v4-coral); }
.v4-footer .v4-brand { color: #fff; margin-bottom: 16px; }
.v4-footer-bottom {
    border-top: 1px solid var(--v4-line-dark);
    padding: 22px 0;
    font-size: .82rem;
}
.v4-footer-bottom .v4-container {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.v4-footer-bottom code { color: rgba(255,255,255,.4); }

/* ====== LEGAL PAGE (Datenschutz/Impressum) ====== */
.v4-legal-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}
.v4-legal {
    padding-top: 140px;
    padding-bottom: 80px;
    background: var(--v4-bg);
}
.v4-legal h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--v4-ink);
    letter-spacing: -.02em;
}
.v4-legal-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: .82rem;
    color: var(--v4-mint-2);
    margin: 0 0 50px;
}
.v4-legal h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 48px 0 14px;
    color: var(--v4-ink);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--v4-line);
}
.v4-legal h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    margin: 28px 0 10px;
    color: var(--v4-ink);
}
.v4-legal p {
    margin: 0 0 14px;
    color: var(--v4-ink-2);
    line-height: 1.7;
}
.v4-legal ul, .v4-legal ol {
    margin: 0 0 18px;
    padding-left: 22px;
    color: var(--v4-ink-2);
    line-height: 1.7;
}
.v4-legal li { margin-bottom: 6px; }
.v4-legal a {
    color: var(--v4-coral);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.v4-legal a:hover { color: var(--v4-mint-2); }
.v4-legal strong { color: var(--v4-ink); }
.v4-legal address {
    font-style: normal;
    background: var(--v4-bg-tint);
    border-left: 4px solid var(--v4-coral);
    padding: 16px 22px;
    border-radius: 8px;
    margin: 12px 0 24px;
    line-height: 1.7;
}
.v4-legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    color: var(--v4-mint-2);
    font-family: 'JetBrains Mono', monospace;
    font-size: .92rem;
}
.v4-legal-toc {
    background: var(--v4-bg-tint);
    border-radius: 12px;
    padding: 22px 28px;
    margin: 0 0 40px;
}
.v4-legal-toc strong {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    color: var(--v4-mint-2);
    margin-bottom: 10px;
}
.v4-legal-toc ol {
    margin: 0;
    padding-left: 18px;
    font-size: .94rem;
}
.v4-legal-toc a { text-decoration: none; }
.v4-legal-toc a:hover { text-decoration: underline; }

/* ====== REVEAL ====== */
.v4-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--v4-t), transform .8s var(--v4-t);
}
.v4-reveal.visible { opacity: 1; transform: none; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
    .v4-pillars { grid-template-columns: 1fr; gap: 20px; }
    .v4-svc-grid { grid-template-columns: 1fr 1fr; }
    .v4-people-grid { grid-template-columns: 1fr 1fr; }
    .v4-refs-grid { grid-template-columns: 1fr; }
    .v4-lancom-grid, .v4-coverage { grid-template-columns: 1fr; gap: 50px; }
    .v4-hybrid { grid-template-columns: 1fr; }
    .v4-hybrid-bridge { transform: rotate(90deg); padding: 20px 0; }
    .v4-bridge-line { transform: rotate(0deg); }
    .v4-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .v4-toggle { display: block; }
    .v4-back, .v4-header-cta { display: none; }
    .v4-nav {
        position: fixed; top: 78px; left: 16px; right: 16px;
        background: #fff;
        padding: 22px;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0,0,0,.15);
        transform: translateY(-130%);
        transition: transform .4s var(--v4-t);
    }
    .v4-nav.open { transform: translateY(0); }
    .v4-nav ul { flex-direction: column; gap: 0; }
    .v4-nav a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--v4-line); color: var(--v4-ink); }

    .v4-svc-grid, .v4-people-grid { grid-template-columns: 1fr; }
    .v4-lancom-points { grid-template-columns: 1fr; }
    .v4-coverage-stats { grid-template-columns: 1fr 1fr; }
    .v4-cta { flex-direction: column; align-items: stretch; }
    .v4-btn { justify-content: center; }
    .v4-contact-card { padding: 40px 24px; }
    .v4-contact-row { grid-template-columns: 1fr; gap: 8px; }
    .v4-contact-row:hover { transform: none; }
    .v4-ref { flex-direction: column; }
    .v4-ref-img { flex: 0 0 220px; }
    .v4-ref-img img { min-height: 220px; }
    .v4-footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .v4-trust-pill { font-size: .8rem; padding: 6px 14px 6px 6px; }
    .v4-lancom-badge { top: -10px; right: 0; transform: rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .v4-reveal { opacity: 1; transform: none; }
    .v4-hero-slide { opacity: 1; transform: none; }
    .v4-hero-slide:not(:first-child) { display: none; }
}
