/* ===== Design Tokens ===== */
:root {
    --bg: #F3F6F5;
    --bg-soft: #E7ECEA;
    --bg-elevated: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F7FAF9;

    --ink: #1A2B4A;
    --ink-soft: #2E3F5C;
    --ink-muted: #4A5878;
    --ink-faint: #7A859A;

    --line: rgba(26, 43, 74, 0.08);
    --line-bright: rgba(26, 43, 74, 0.15);

    --accent: #2A5560;
    --accent-bright: #3F7682;
    --accent-dim: #1B3D45;
    --accent-soft: rgba(42, 85, 96, 0.12);
    --accent-glow: rgba(42, 85, 96, 0.24);

    --on-accent: #FFFFFF;

    --success: #4A9D6F;
    --error: #C85450;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(26, 43, 74, 0.06);
    --shadow: 0 8px 32px rgba(26, 43, 74, 0.08);
    --shadow-lg: 0 24px 60px rgba(26, 43, 74, 0.12);
    --shadow-glow: 0 0 80px var(--accent-glow);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    --container-max: 1200px;
    --header-h: 76px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }

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

/* ===== Cursor Glow ===== */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 85, 96, 0.10) 0%, transparent 60%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.4s ease;
    opacity: 0;
    mix-blend-mode: multiply;
}
@media (hover: hover) {
    .cursor-glow.active { opacity: 1; }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all var(--transition);
    padding: 18px 0;
}
.header.scrolled {
    background: rgba(243, 246, 245, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}
.logo-mark {
    width: 52px;
    height: 52px;
    display: block;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.logo-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Group that rotates and breathes around the hub */
.lg-constellation {
    transform-origin: 20px 20px;
    transform-box: view-box;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Connection lines — draw from hub to satellite when idle, fully shown on hover */
.lg-lines line {
    stroke: var(--ink);
    stroke-width: 0.55;
    stroke-linecap: round;
    fill: none;
    stroke-dasharray: 100 100;
    stroke-dashoffset: 100;
    opacity: 0;
    animation: linePulse 11s ease-in-out infinite;
    transition: opacity 0.5s ease, stroke-dashoffset 0.5s ease;
}
@keyframes linePulse {
    0%   { stroke-dashoffset: 100; opacity: 0; }
    4%   { opacity: 0.42; }
    14%  { stroke-dashoffset: 0;   opacity: 0.42; }
    22%  { stroke-dashoffset: 0;   opacity: 0.42; }
    28%  { stroke-dashoffset: 0;   opacity: 0; }
    100% { stroke-dashoffset: 100; opacity: 0; }
}
.lg-lines line:nth-child(1)  { animation-delay: -0.0s; }
.lg-lines line:nth-child(2)  { animation-delay: -3.1s; }
.lg-lines line:nth-child(3)  { animation-delay: -6.4s; }
.lg-lines line:nth-child(4)  { animation-delay: -1.6s; }
.lg-lines line:nth-child(5)  { animation-delay: -4.8s; }
.lg-lines line:nth-child(6)  { animation-delay: -8.2s; }
.lg-lines line:nth-child(7)  { animation-delay: -2.3s; }
.lg-lines line:nth-child(8)  { animation-delay: -5.5s; }
.lg-lines line:nth-child(9)  { animation-delay: -9.1s; }
.lg-lines line:nth-child(10) { animation-delay: -7.2s; }

/* Constellation dots */
.lg-dot {
    fill: var(--ink);
    transition: fill 0.4s ease;
}

/* Central focal — petrol accent, gentle breathing */
.lg-hub {
    fill: var(--accent);
    transform-origin: center;
    transform-box: fill-box;
    transition: transform 0.5s ease;
    animation: hubBreath 4s ease-in-out infinite;
}
@keyframes hubBreath {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.08); }
}

/* Hover — full continuous orbit + breathing, lines fade in, hub pulses */
.logo:hover .lg-constellation {
    animation: constellationOrbit 14s linear infinite;
}
@keyframes constellationOrbit {
    0%   { transform: rotate(0deg)   scale(1); }
    25%  { transform: rotate(90deg)  scale(0.93); }
    50%  { transform: rotate(180deg) scale(1); }
    75%  { transform: rotate(270deg) scale(1.06); }
    100% { transform: rotate(360deg) scale(1); }
}
.logo:hover .lg-lines line {
    animation: none;
    opacity: 0.4;
    stroke-dashoffset: 0;
}
.logo:hover .lg-hub {
    animation: hubPulse 1.2s ease-in-out infinite;
}
@keyframes hubPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.25); }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--ink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    color: var(--ink-muted);
    font-size: 14.5px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}
.nav-links a:hover { color: var(--ink); background: rgba(26, 43, 74, 0.05); }

.nav-cta {
    background: var(--accent);
    color: var(--on-accent) !important;
    margin-left: 8px;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px var(--accent-glow);
}
.nav-cta:hover {
    background: var(--accent-bright) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: all var(--transition-fast);
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-sans);
}
.btn svg { transition: transform var(--transition); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-bright), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
    z-index: -1;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--accent-glow);
}
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.6);
    color: var(--ink);
    border: 1px solid var(--line-bright);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(26, 43, 74, 0.22);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-block {
    width: 100%;
    padding: 18px 28px;
    font-size: 16px;
}
.btn.is-loading {
    opacity: 0.85;
    cursor: progress;
    pointer-events: none;
}
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btnSpin 0.75s linear infinite;
    vertical-align: middle;
    flex-shrink: 0;
}
@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 100px;
}

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

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.22;
    animation: float 20s ease-in-out infinite;
}
.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -200px;
    right: -150px;
}
.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #1A2B4A 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -10s;
    opacity: 0.10;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.aurora {
    position: absolute;
    inset: -15%;
    will-change: transform, opacity;
}
.aurora-1 {
    background: radial-gradient(ellipse 55% 45% at 28% 30%, rgba(42, 85, 96, 0.14), transparent 65%);
    animation: auroraDrift1 28s ease-in-out infinite alternate;
}
.aurora-2 {
    background: radial-gradient(ellipse 45% 40% at 72% 62%, rgba(26, 43, 74, 0.10), transparent 65%);
    animation: auroraDrift2 36s ease-in-out infinite alternate;
    animation-delay: -8s;
}
.aurora-3 {
    background: radial-gradient(ellipse 40% 50% at 50% 85%, rgba(42, 85, 96, 0.08), transparent 70%);
    animation: auroraDrift3 44s ease-in-out infinite alternate;
    animation-delay: -16s;
}
@keyframes auroraDrift1 {
    0%   { transform: translate(-4%, -3%) rotate(-2deg); opacity: 1; }
    50%  { transform: translate(3%, 5%)  rotate(3deg);   opacity: 0.75; }
    100% { transform: translate(8%, -2%) rotate(-1deg);  opacity: 1; }
}
@keyframes auroraDrift2 {
    0%   { transform: translate(3%, -5%) rotate(0deg);  opacity: 0.85; }
    50%  { transform: translate(-5%, 3%) rotate(-3deg); opacity: 1; }
    100% { transform: translate(5%, 6%)  rotate(2deg);  opacity: 0.7; }
}
@keyframes auroraDrift3 {
    0%   { transform: translate(-4%, 4%) rotate(1deg);  opacity: 0.9; }
    50%  { transform: translate(6%, -5%) rotate(-2deg); opacity: 0.6; }
    100% { transform: translate(-5%, 2%) rotate(3deg);  opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line-bright);
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-soft);
    backdrop-filter: blur(10px);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6.5vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--ink);
}
.text-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 50%, var(--accent) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
    to { background-position: -200% 0; }
}

.hero-subtitle {
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.65;
    color: var(--ink-muted);
    max-width: 680px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--line);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.trust-icon {
    color: var(--accent);
    margin-bottom: 4px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.trust-item:hover .trust-icon {
    transform: translateY(-2px) scale(1.08);
}
.trust-item strong {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.02em;
}
.trust-item span {
    font-size: 13px;
    color: var(--ink-muted);
    white-space: nowrap;
}
.trust-divider {
    width: 1px;
    height: 32px;
    background: var(--line-bright);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faint);
    z-index: 2;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--ink-faint), transparent);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scrollDown 2.5s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { top: -40px; }
    100% { top: 100%; }
}

/* ===== Section base ===== */
section { padding: 120px 0; position: relative; }

.section-head {
    max-width: 760px;
    margin: 0 auto 72px;
    text-align: center;
}
.eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
    padding: 6px 14px;
    background: var(--accent-soft);
    border-radius: 100px;
    border: 1px solid var(--accent-soft);
}
.eyebrow.light {
    color: var(--accent);
    background: var(--accent-soft);
}
.section-head h2,
.ueber-text h2,
.kontakt-content h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--ink);
}
.section-lead {
    font-size: 18px;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* ===== Problem ===== */
.problem {
    background: var(--bg-soft);
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.problem-card {
    background: var(--bg-card);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    transition: all var(--transition);
}
.problem-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(26, 43, 74, 0.12), 0 0 30px var(--accent-glow);
}
.problem-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    transition: all var(--transition);
}
.problem-card:hover .problem-icon {
    background: var(--accent);
    color: var(--on-accent);
    transform: rotate(-5deg) scale(1.05);
}
.problem-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.problem-card p {
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* ===== Leistungen ===== */
.leistungen {
    background: var(--bg);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--line-bright);
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px var(--accent-glow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover .service-num {
    transform: scale(1.08);
    box-shadow: 0 6px 16px var(--accent-glow);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.018em;
    margin-bottom: 10px;
    color: var(--ink);
    line-height: 1.25;
    min-height: 2.5em;
}
.service-card p {
    color: var(--ink-muted);
    margin-bottom: 18px;
    line-height: 1.55;
    font-size: 13.5px;
}
.service-list {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}
.service-list li {
    padding: 5px 0;
    font-size: 13px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}
.service-list li::before {
    content: '';
    width: 12px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

/* ===== Vorgehen ===== */
.vorgehen {
    background: var(--bg-soft);
    overflow: hidden;
}
.process {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}
.process-line {
    position: absolute;
    left: 31px;
    top: 32px;
    bottom: 32px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.35;
}
.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 28px;
    margin-bottom: 48px;
    position: relative;
}
.process-step:last-child { margin-bottom: 0; }

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
    position: relative;
    z-index: 2;
    transition: all var(--transition);
}
.process-step:hover .step-number {
    background: var(--accent);
    color: var(--on-accent);
    transform: scale(1.1);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.step-content {
    background: var(--bg-card);
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    transition: all var(--transition);
}
.process-step:hover .step-content {
    background: var(--bg-card-hover);
    border-color: var(--line-bright);
    box-shadow: var(--shadow);
    transform: translateX(8px);
}
.step-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
    color: var(--ink);
}
.step-content p {
    color: var(--ink-muted);
    margin-bottom: 14px;
    line-height: 1.65;
}
.step-meta {
    display: inline-block;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    padding: 4px 10px;
    background: var(--accent-soft);
    border-radius: 6px;
}

/* ===== Ergebnisse ===== */
.ergebnisse {
    background: var(--bg);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}
.stat-card {
    text-align: center;
    padding: 44px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    transition: all var(--transition);
}
.stat-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(26, 43, 74, 0.12), 0 0 30px var(--accent-glow);
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 60px);
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}
.stat-label {
    font-size: 14.5px;
    color: var(--ink-muted);
    line-height: 1.5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-soft) 100%);
    color: var(--ink);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--line-bright);
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.18;
    filter: blur(40px);
    pointer-events: none;
}
.quote-mark {
    color: var(--accent);
    opacity: 0.55;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.testimonial-card blockquote {
    font-family: var(--font-display);
    font-size: 16.5px;
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: -0.005em;
    margin-bottom: 28px;
    flex: 1;
    position: relative;
    z-index: 1;
    color: var(--ink-soft);
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 1;
    margin-top: auto;
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    color: var(--on-accent);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-display);
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    font-size: 14.5px;
    color: var(--ink);
    line-height: 1.3;
}
.testimonial-author span {
    font-size: 12.5px;
    color: var(--ink-muted);
    line-height: 1.4;
}

/* ===== Über ===== */
.ueber {
    background: var(--bg-soft);
}
.ueber-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 320px;
    margin-left: auto;
    margin-right: 24px;
}
.image-placeholder {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-soft) 100%);
    border-radius: var(--radius-xl);
    display: grid;
    place-items: center;
    color: var(--accent);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.ueber-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: var(--radius-xl);
}
.image-decor {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: var(--radius-xl);
    z-index: 1;
    transition: all var(--transition);
}
.image-wrap:hover .image-decor {
    top: 12px;
    left: 12px;
}

.ueber-text .eyebrow { margin-bottom: 16px; }
.lead-text {
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 20px;
}
.ueber-text p {
    color: var(--ink-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}
.credentials li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink-soft);
    font-size: 15px;
    padding-top: 12px;
}
.credentials span {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Kontakt ===== */
.kontakt {
    background: var(--bg);
    padding-bottom: 160px;
}
.kontakt-card {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-soft) 100%);
    color: var(--ink);
    border-radius: var(--radius-xl);
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.kontakt-card::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(60px);
    animation: float 15s ease-in-out infinite;
}
.kontakt-content {
    position: relative;
    z-index: 1;
}
.kontakt-content h2 { color: var(--ink); }
.kontakt-content p {
    color: var(--ink-muted);
    font-size: 16px;
    margin-top: 12px;
    line-height: 1.65;
}

.kontakt-form {
    background: var(--bg);
    padding: 36px;
    border-radius: var(--radius-lg);
    color: var(--ink);
    position: relative;
    z-index: 1;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(26, 43, 74, 0.12);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}
.form-field { margin-bottom: 18px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--line-bright);
    border-radius: 10px;
    font-size: 15px;
    background: var(--bg-card);
    color: var(--ink);
    transition: all var(--transition-fast);
    font-family: inherit;
}
.form-field select option {
    background: var(--bg-card);
    color: var(--ink);
}
.form-field textarea {
    resize: vertical;
    min-height: 90px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--ink-faint);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-elevated);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-note {
    font-size: 12.5px;
    color: var(--ink-faint);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    color: var(--ink);
}
.form-success svg {
    margin: 0 auto 20px;
    color: var(--accent);
}
.form-success h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.form-success p { color: var(--ink-muted); }

/* ===== Footer ===== */
.footer {
    background: var(--bg-soft);
    color: var(--ink-muted);
    padding: 80px 0 32px;
    border-top: 1px solid var(--line);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 80px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--line);
}
.footer-brand p {
    margin-top: 18px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-muted);
    max-width: 320px;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.footer-cols h4 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a {
    color: var(--ink-muted);
    font-size: 14.5px;
    transition: color var(--transition-fast);
}
.footer-cols a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    font-size: 13px;
    color: var(--ink-faint);
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== Risk-Reversal Banner ===== */
.risk-banner {
    background: linear-gradient(135deg, var(--ink) 0%, #243859 100%);
    color: #FFFFFF;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.risk-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.20;
    filter: blur(60px);
    pointer-events: none;
}
.risk-banner::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-bright) 0%, transparent 70%);
    opacity: 0.10;
    filter: blur(60px);
    pointer-events: none;
}
.risk-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.risk-eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin-bottom: 22px;
    padding: 7px 16px;
    background: rgba(42, 85, 96, 0.20);
    border: 1px solid rgba(63, 118, 130, 0.35);
    border-radius: 100px;
}
.risk-headline {
    font-family: var(--font-display);
    font-size: clamp(34px, 5.2vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 600;
    margin-bottom: 26px;
    color: #FFFFFF;
}
.risk-accent {
    background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.risk-sub {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 56px;
}
.risk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.risk-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
}
.risk-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(63, 118, 130, 0.45);
    transform: translateY(-3px);
}
.risk-item svg {
    color: var(--accent-bright);
    margin-bottom: 8px;
}
.risk-item strong {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}
.risk-item span {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 900px) {
    .risk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .risk-grid { grid-template-columns: 1fr; }
}

/* ===== Methoden-Vergleich ===== */
.compare {
    background: var(--bg);
}
.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.compare-col {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: all var(--transition);
}
.compare-col:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.compare-col-self {
    background: linear-gradient(135deg, var(--ink) 0%, #243859 100%);
    border: 1px solid var(--accent-dim);
    color: #FFFFFF;
    box-shadow: 0 16px 40px rgba(26, 43, 74, 0.18);
    transform: translateY(-8px);
}
.compare-col-self:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 50px rgba(26, 43, 74, 0.25);
}
.compare-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--on-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    box-shadow: 0 4px 12px var(--accent-glow);
    white-space: nowrap;
}
.compare-head {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.compare-col-self .compare-head {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}
.compare-head h4 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 4px;
}
.compare-col-self .compare-head h4 { color: #FFFFFF; }
.compare-sub {
    font-size: 13px;
    color: var(--ink-muted);
}
.compare-col-self .compare-sub { color: rgba(255, 255, 255, 0.55); }
.compare-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.compare-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    font-size: 13.5px;
}
.compare-list li span {
    color: var(--ink-muted);
    flex-shrink: 0;
}
.compare-col-self .compare-list li span { color: rgba(255, 255, 255, 0.55); }
.compare-list li strong {
    color: var(--ink);
    font-weight: 600;
    text-align: right;
    font-family: var(--font-display);
    letter-spacing: -0.005em;
}
.compare-col-self .compare-list li strong { color: #FFFFFF; }
.compare-yes {
    color: var(--accent-bright) !important;
}
.compare-no {
    color: var(--ink-faint) !important;
}
.compare-col-self .compare-no { color: rgba(255, 255, 255, 0.4) !important; }
@media (max-width: 900px) {
    .compare-grid { grid-template-columns: 1fr; max-width: 480px; }
    .compare-col-self { transform: none; }
    .compare-col-self:hover { transform: translateY(-4px); }
}

/* ===== Case-Study ===== */
.case-study {
    background: var(--bg-soft);
}
.case-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--bg) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    padding: 56px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.case-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.14;
    filter: blur(50px);
    pointer-events: none;
}
.case-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 1;
}
.case-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.case-meta-item span {
    font-size: 11.5px;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.case-meta-item strong {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--ink);
    letter-spacing: -0.015em;
}
.case-body { position: relative; z-index: 1; }
.case-block {
    margin-bottom: 28px;
}
.case-block:last-child { margin-bottom: 36px; }
.case-block h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.case-block p {
    color: var(--ink-soft);
    line-height: 1.65;
    font-size: 15.5px;
}
.case-block ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.case-block ul li {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
    padding-left: 22px;
    position: relative;
}
.case-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 12px;
    height: 1px;
    background: var(--accent);
}
.case-block ul li strong {
    color: var(--ink);
    font-weight: 600;
}
.case-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 1;
}
.case-result {
    text-align: center;
    padding: 16px 8px;
}
.case-result strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 600;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    line-height: 1.1;
}
.case-result span {
    font-size: 12.5px;
    color: var(--ink-muted);
    line-height: 1.4;
}
@media (max-width: 800px) {
    .case-card { padding: 36px 28px; }
    .case-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .case-results { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Insights ===== */
.insights {
    background: var(--bg);
}
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.insight-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all var(--transition);
}
.insight-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-dim);
    box-shadow: var(--shadow);
}
.insight-meta {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    align-self: flex-start;
    padding: 4px 10px;
    background: var(--accent-soft);
    border-radius: 100px;
}
.insight-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.insight-card p {
    color: var(--ink-muted);
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
}
.insight-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 13.5px;
    align-self: flex-start;
    transition: gap 0.3s ease, color 0.3s ease;
}
.insight-link:hover {
    gap: 12px;
    color: var(--accent-dim);
}
@media (max-width: 960px) {
    .insights-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq {
    background: var(--bg-soft);
}
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item[open] {
    border-color: var(--accent-dim);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 600;
    color: var(--ink);
    list-style: none;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer {
    padding: 0 28px 24px;
}
.faq-answer p {
    color: var(--ink-soft);
    line-height: 1.65;
    font-size: 15px;
}
@media (max-width: 600px) {
    .faq-item summary { padding: 18px 22px; font-size: 15px; }
    .faq-answer { padding: 0 22px 20px; }
}

/* ===== Kontakt: Calendar + Trust ===== */
.kontakt-calendar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(42, 85, 96, 0.08);
    border: 1px solid rgba(42, 85, 96, 0.2);
    border-radius: var(--radius);
    margin: 28px 0 24px;
    color: var(--ink) !important;
    transition: all var(--transition);
}
.kontakt-calendar:hover {
    background: rgba(42, 85, 96, 0.14);
    border-color: var(--accent);
    transform: translateY(-2px);
}
.kontakt-calendar svg {
    color: var(--accent);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.kontakt-calendar:hover svg { transform: scale(1.1); }
.kontakt-calendar strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 2px;
}
.kontakt-calendar span {
    font-size: 13px;
    color: var(--ink-muted);
}
.kontakt-trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.kontakt-trust li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: var(--ink-muted);
    line-height: 1.4;
}
.kontakt-trust li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
}
.kontakt-trust li strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 1px;
    font-family: var(--font-display);
    letter-spacing: -0.005em;
}

/* ===== Active section in nav ===== */
.nav-links a.is-current {
    color: var(--ink);
    background: rgba(42, 85, 96, 0.10);
}
.nav-links a.nav-cta.is-current {
    /* CTA always petrol — no special active state needed */
}

/* ===== Intro Overlay ===== */
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.intro-overlay.is-exiting {
    pointer-events: none;
}
.intro-overlay.is-removed {
    display: none;
}
body.intro-active {
    overflow: hidden;
}
.intro-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.intro-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}
.intro-content > * { pointer-events: auto; }

.intro-logo-wrap {
    width: min(40vmin, 340px);
    height: min(40vmin, 340px);
    margin-bottom: 56px;
    position: relative;
    transform-origin: center center;
    will-change: transform, opacity;
}
.intro-logo-wrap::before {
    content: '';
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at center,
        rgba(42, 85, 96, 0.08) 0%,
        rgba(42, 85, 96, 0.03) 35%,
        transparent 65%);
    filter: blur(22px);
    pointer-events: none;
    z-index: 0;
}
.intro-logo-wrap.is-flying {
    transition: transform 1.05s cubic-bezier(0.65, 0.02, 0.32, 1);
}
.intro-logo {
    width: 100%;
    height: 100%;
    overflow: visible;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 24px rgba(26, 43, 74, 0.10));
}
.intro-lines line {
    stroke: var(--ink);
    stroke-width: 0.45;
    stroke-linecap: round;
    fill: none;
    stroke-dasharray: 100 100;
    stroke-dashoffset: 100;
    opacity: 0;
    animation: introLineDraw 9s ease-in-out infinite;
}
@keyframes introLineDraw {
    0%   { stroke-dashoffset: 100; opacity: 0; }
    4%   { opacity: 0.6; }
    14%  { stroke-dashoffset: 0;   opacity: 0.6; }
    24%  { stroke-dashoffset: 0;   opacity: 0.6; }
    30%  { stroke-dashoffset: 0;   opacity: 0; }
    100% { stroke-dashoffset: 100; opacity: 0; }
}
.intro-lines line:nth-child(1)  { animation-delay: 0s; }
.intro-lines line:nth-child(2)  { animation-delay: -0.9s; }
.intro-lines line:nth-child(3)  { animation-delay: -1.8s; }
.intro-lines line:nth-child(4)  { animation-delay: -2.7s; }
.intro-lines line:nth-child(5)  { animation-delay: -3.6s; }
.intro-lines line:nth-child(6)  { animation-delay: -4.5s; }
.intro-lines line:nth-child(7)  { animation-delay: -5.4s; }
.intro-lines line:nth-child(8)  { animation-delay: -6.3s; }
.intro-lines line:nth-child(9)  { animation-delay: -7.2s; }
.intro-lines line:nth-child(10) { animation-delay: -8.1s; }

.intro-dot {
    fill: var(--ink);
    transform-origin: 20px 20px;
    transform-box: view-box;
    transition: transform 0.85s cubic-bezier(0.7, 0.05, 0.25, 1), opacity 0.6s ease;
}
.intro-hub {
    fill: var(--accent);
    transform-origin: center;
    transform-box: fill-box;
    animation: introHubPulse 3.4s ease-in-out infinite;
}
@keyframes introHubPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}

/* Exit phases — particles contract first, then logo flies to the header */
.intro-overlay.is-exiting .intro-lines line {
    animation: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.intro-overlay.is-exiting .intro-hub {
    animation: none;
    transform: scale(1.25);
    transition: transform 0.4s ease;
}
.intro-overlay.is-finishing {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Text */
.intro-text {
    text-align: center;
    transition: opacity 0.5s ease;
}
.intro-overlay.is-exiting .intro-text {
    opacity: 0;
}
.intro-eyebrow {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 22px;
    opacity: 0;
    animation: introFadeUp 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.intro-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 10px;
    opacity: 0;
    animation: introFadeUp 1s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.intro-sub {
    display: block;
    font-size: 11.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0;
    opacity: 0;
    animation: introFadeUp 1s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.intro-overlay { cursor: pointer; }
.intro-overlay.is-exiting { cursor: default; }
@keyframes introFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
    .intro-logo-wrap { margin-bottom: 40px; }
    .intro-eyebrow { margin-bottom: 18px; }
    .intro-sub { margin-bottom: 28px; }
}

/* ===== Legal Pages (Impressum / Datenschutz) ===== */
.legal-main {
    padding-top: 120px;
}
.legal {
    padding: 40px 0 120px;
    background: var(--bg);
}
.legal-container {
    max-width: 820px;
}
.legal h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: var(--ink);
    margin: 16px 0 40px;
}
.legal h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 40px 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.legal h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin: 24px 0 8px;
}
.legal p {
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 14px;
    font-size: 15.5px;
}
.legal ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 14px;
}
.legal ul li {
    color: var(--ink-soft);
    line-height: 1.65;
    font-size: 15px;
    padding: 3px 0;
}
.legal a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-meta {
    color: var(--ink-faint);
    font-size: 13px;
    margin-top: 32px;
    font-style: italic;
}
.legal-note {
    margin-top: 32px;
    padding: 18px 22px;
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    font-size: 14px;
    color: var(--ink-soft);
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 100;
    background: var(--bg-card);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(26, 43, 74, 0.18), 0 4px 12px rgba(26, 43, 74, 0.08);
    max-width: 880px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cookie-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 22px 26px;
}
.cookie-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: -0.005em;
}
.cookie-text {
    font-size: 13.5px;
    color: var(--ink-muted);
    line-height: 1.55;
}
.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 11px 18px;
    font-size: 13.5px;
}
.cookie-btn-deny {
    padding: 11px 18px;
}
@media (max-width: 720px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
    .cookie-inner { grid-template-columns: 1fr; padding: 18px 20px; gap: 16px; }
    .cookie-actions { flex-direction: row; }
    .cookie-actions .btn { flex: 1; }
}

/* ===== Floating CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px 14px 18px;
    background: var(--accent);
    color: var(--on-accent) !important;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.005em;
    box-shadow: 0 14px 36px rgba(42, 85, 96, 0.35), 0 2px 10px rgba(26, 43, 74, 0.12);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
}
.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.floating-cta.tucked {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}
.floating-cta:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(42, 85, 96, 0.45), 0 4px 12px rgba(26, 43, 74, 0.18);
}
.floating-cta svg { transition: transform 0.3s ease; }
.floating-cta:hover svg { transform: translateX(3px); }
.floating-cta .fc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--on-accent);
    box-shadow: 0 0 10px var(--on-accent);
    animation: ctaPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes ctaPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(1.25); }
}
@media (max-width: 600px) {
    .floating-cta {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px 12px 14px;
        font-size: 13.5px;
    }
}

/* ===== Section-specific CTAs ===== */
.section-cta {
    text-align: center;
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.section-cta-text {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--ink-soft);
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    line-height: 1.4;
}
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 15.5px;
    transition: gap 0.3s ease, color 0.3s ease;
}
.btn-link:hover {
    gap: 14px;
    color: var(--accent-dim);
}
.btn-link svg { transition: transform 0.3s ease; }
.btn-link:hover svg { transform: translateX(4px); }

/* ===== ROI Calculator ===== */
.calculator {
    background: var(--bg-soft);
}
.calc-card {
    max-width: 920px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-soft) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    padding: 56px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.calc-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.14;
    filter: blur(40px);
    pointer-events: none;
}
.calc-input { position: relative; z-index: 1; }
.calc-input label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.calc-value {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
    display: block;
    margin-bottom: 24px;
    font-variant-numeric: tabular-nums;
}
.calc-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: grab;
    height: 32px;
}
.calc-range:active { cursor: grabbing; }
.calc-range::-webkit-slider-runnable-track {
    height: 6px;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--fill, 0%), var(--line-bright) var(--fill, 0%), var(--line-bright) 100%);
    border-radius: 3px;
}
.calc-range::-moz-range-track {
    height: 6px;
    background: var(--line-bright);
    border-radius: 3px;
}
.calc-range::-moz-range-progress {
    height: 6px;
    background: var(--accent);
    border-radius: 3px;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(42, 85, 96, 0.30);
    margin-top: -8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.calc-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(42, 85, 96, 0.30);
    cursor: grab;
}
.calc-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--ink-faint);
    font-variant-numeric: tabular-nums;
}
.calc-output { position: relative; z-index: 1; }
.calc-output-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.calc-amount {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}
.calc-min { font-size: clamp(20px, 2.2vw, 28px); margin-bottom: 4px; }
.calc-max { font-size: clamp(38px, 4.4vw, 54px); margin-bottom: 12px; }
.calc-sep { font-size: 13px; color: var(--ink-faint); display: block; margin: 0 0 4px; letter-spacing: 0.1em; text-transform: uppercase; }
.calc-percent {
    font-size: 13.5px;
    color: var(--ink-muted);
    display: block;
    margin-bottom: 28px;
}
.calc-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--on-accent) !important;
    font-weight: 600;
    font-size: 14.5px;
    transition: all var(--transition);
    box-shadow: 0 6px 18px var(--accent-glow);
}
.calc-cta:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--accent-glow);
}
.calc-cta svg { transition: transform 0.3s ease; }
.calc-cta:hover svg { transform: translateX(4px); }
@media (max-width: 800px) {
    .calc-card {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        gap: 36px;
    }
}

/* ===== Multi-step form ===== */
.form-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}
.form-progress-step {
    flex: 1;
    height: 4px;
    background: var(--line-bright);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.form-progress-step::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-progress-step.is-active::after,
.form-progress-step.is-done::after {
    transform: translateX(0);
}
.form-progress-label {
    font-size: 12.5px;
    color: var(--ink-faint);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}
.form-step {
    display: none;
    animation: stepFade 0.4s ease;
}
.form-step.is-active { display: block; }
@keyframes stepFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.form-step-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -0.015em;
}
.form-step-sub {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}
.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}
.form-actions .btn { flex: 1; }
.btn-secondary {
    background: transparent;
    color: var(--ink-muted) !important;
    border: 1px solid var(--line-bright);
    flex: 0 0 auto !important;
    padding: 14px 20px;
}
.btn-secondary:hover {
    background: var(--bg);
    color: var(--ink) !important;
    border-color: var(--ink-faint);
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .container { padding: 0 24px; }
    section { padding: 90px 0; }

    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(360px, 80vw);
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 100px 32px 32px;
        transform: translateX(100%);
        transition: transform var(--transition);
        border-left: 1px solid var(--line);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { width: 100%; padding: 14px 18px; font-size: 16px; }
    .nav-cta { margin: 12px 0 0 !important; text-align: center; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card h3 { min-height: auto; }

    .ueber-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .image-wrap { margin: 0 auto; }

    .kontakt-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 32px;
    }
    .kontakt-form { padding: 28px; }

    .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
    .testimonial-card { padding: 32px 28px; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    section { padding: 72px 0; }
    .hero { padding: 120px 0 80px; }
    .services-grid { grid-template-columns: 1fr; }
    .hero-trust {
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px;
    }
    .trust-divider { width: 60px; height: 1px; }

    .form-row { grid-template-columns: 1fr; gap: 18px; }
    .form-row .form-field { margin-bottom: 0; }

    .process-step {
        grid-template-columns: 56px 1fr;
        gap: 16px;
    }
    .step-number { width: 56px; height: 56px; font-size: 20px; }
    .process-line { left: 27px; }
    .step-content { padding: 24px 22px; }

    .footer-cols { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .section-head { margin-bottom: 56px; }

    .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
    .hero-actions .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--on-accent);
}

/* ===== Netzwerk ===== */
.netzwerk {
    background: var(--bg);
    overflow: hidden;
}
.network-wrap {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    aspect-ratio: 800 / 620;
    background:
        radial-gradient(ellipse at center, rgba(42, 85, 96, 0.06) 0%, transparent 60%),
        var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.network-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 30% 30%, rgba(42, 85, 96, 0.08), transparent 65%),
        radial-gradient(ellipse 50% 40% at 70% 70%, rgba(26, 43, 74, 0.06), transparent 65%);
    pointer-events: none;
    animation: auroraDrift1 32s ease-in-out infinite alternate;
}

.network-svg {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

.customer-aura {
    animation: auraPulse 4s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}
@keyframes auraPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.15); }
}

/* ----- Connections ----- */
.conn {
    stroke: rgba(26, 43, 74, 0.38);
    stroke-width: 1.4;
    stroke-linecap: round;
    fill: none;
    stroke-dasharray: 100 100;
    stroke-dashoffset: 100;
    transition: stroke 0.3s ease, stroke-width 0.3s ease, opacity 0.3s ease,
                stroke-dashoffset 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.conn-secondary {
    stroke: rgba(26, 43, 74, 0.32);
    stroke-width: 1.2;
}
/* Lines draw outward from the customer hub when section enters viewport */
.netzwerk.is-drawn .conn-primary {
    stroke-dashoffset: 0;
}
.netzwerk.is-drawn .conn-secondary {
    stroke-dashoffset: 0;
    transition-delay: 0.55s;
}
.conn.is-highlighted {
    stroke: var(--accent);
    stroke-width: 2;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 6px var(--accent-glow));
}
.network-svg.has-hover .conn:not(.is-highlighted) { opacity: 0.22; }

/* ----- Nodes (base) ----- */
.node {
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.node circle {
    transition: fill 0.3s ease,
                stroke 0.3s ease,
                stroke-width 0.3s ease,
                r 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.3s ease;
}
.node-icon {
    font-family: var(--font-display);
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    letter-spacing: -0.02em;
}
.node-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    text-anchor: middle;
    fill: var(--ink-muted);
    pointer-events: none;
    transition: fill 0.3s ease;
    letter-spacing: 0;
}
.network-svg.has-hover .node:not(.is-highlighted):not(.node-customer) { opacity: 0.28; }
.network-svg .node-customer { opacity: 1 !important; }
.node.is-highlighted .node-label { fill: var(--ink); }

/* ----- Customer node ----- */
.node-customer circle:nth-of-type(1) {
    fill: var(--accent);
    opacity: 0.18;
    animation: customerPulse 2.4s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}
@keyframes customerPulse {
    0%, 100% { transform: scale(1); opacity: 0.18; }
    50%      { transform: scale(1.18); opacity: 0; }
}
.node-customer circle:nth-of-type(2) {
    fill: var(--accent);
    stroke: var(--accent-bright);
    stroke-width: 2;
}
.node-customer .node-icon {
    fill: var(--on-accent);
    font-size: 20px;
}
.node-customer:hover circle:nth-of-type(2) {
    filter: drop-shadow(0 0 14px var(--accent));
}

/* ----- Warengruppe nodes (middle ring) ----- */
.node-group circle {
    fill: var(--bg-card);
    stroke: var(--accent);
    stroke-width: 1.8;
}
.node-group .node-icon {
    fill: var(--accent);
    font-size: 13px;
}
.node-group:hover circle,
.node-group.is-highlighted circle {
    fill: var(--bg-elevated);
    stroke-width: 2.4;
    r: 35;
    filter: drop-shadow(0 0 14px var(--accent-glow));
}

/* ----- Vendor nodes (outer ring — mix of Lieferant and Hersteller) ----- */
.node-vendor circle {
    fill: var(--bg-card);
    stroke-width: 1.5;
}
.node-vendor.is-lieferant circle {
    stroke: var(--accent);
}
.node-vendor.is-hersteller circle {
    stroke: rgba(26, 43, 74, 0.4);
}
.node-vendor .node-icon {
    font-size: 13px;
}
.node-vendor.is-lieferant .node-icon {
    fill: var(--accent);
}
.node-vendor.is-hersteller .node-icon {
    fill: var(--ink-soft);
}
.node-vendor:hover circle,
.node-vendor.is-highlighted circle {
    fill: var(--bg-elevated);
    stroke: var(--accent);
    stroke-width: 2.2;
    r: 23;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}
.node-vendor:hover .node-icon,
.node-vendor.is-highlighted .node-icon {
    fill: var(--accent);
}

/* ----- Tooltip ----- */
.network-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 260px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--line-bright);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 20px 50px rgba(26, 43, 74, 0.18),
                0 0 30px rgba(42, 85, 96, 0.15);
    pointer-events: none;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.96);
    transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    will-change: transform, opacity;
}
.network-tooltip.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}
.tt-type {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(42, 85, 96, 0.28);
    padding: 3px 8px;
    border-radius: 100px;
    margin-bottom: 10px;
}
.tt-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.015em;
    line-height: 1.25;
}
.tt-divider {
    height: 1px;
    background: var(--line);
    margin: 12px 0 10px;
}
.tt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0;
    font-size: 13px;
}
.tt-label {
    color: var(--ink-faint);
    font-weight: 500;
}
.tt-row > span:last-child {
    color: var(--ink);
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ----- Legend ----- */
.network-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 500;
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.legend-customer {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}
.legend-group {
    background: var(--bg-card);
    border: 1.5px solid var(--accent);
}
.legend-lieferant {
    background: var(--accent);
    border: 1.5px solid var(--accent);
}
.legend-hersteller {
    background: var(--bg-card);
    border: 1.5px solid rgba(26, 43, 74, 0.4);
}
.legend-hint {
    margin-left: 4px;
    padding-left: 28px;
    border-left: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--ink-faint);
    font-style: italic;
}

@media (max-width: 720px) {
    .network-wrap { border-radius: var(--radius-lg); }
    .node-label { font-size: 11px; }
    .network-tooltip {
        min-width: 220px;
        max-width: 88vw;
        font-size: 12.5px;
        padding: 14px 16px;
    }
    .tt-name { font-size: 15px; }
    .network-legend {
        gap: 16px;
        margin-top: 20px;
    }
    .legend-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .conn, .customer-aura, .node-customer circle:nth-of-type(1) {
        animation: none !important;
    }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: rgba(26, 43, 74, 0.20);
    border-radius: 5px;
    border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(26, 43, 74, 0.35); }
html { scrollbar-color: rgba(26, 43, 74, 0.20) var(--bg); }

/* ============================================================
   Vorab-Sperre (Pre-Launch PIN) — gate.php / render_gate_form()
   ============================================================ */
.pin-gate {
    min-height: calc(100vh - var(--header-h));
    display: grid;
    place-items: center;
    padding: 60px 24px;
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(63, 118, 130, 0.30), transparent 60%),
        linear-gradient(160deg, var(--accent-dim) 0%, var(--ink) 70%);
    color: #fff;
}
.pin-card {
    width: 100%;
    max-width: 420px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    padding: 44px 36px 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.pin-mark {
    display: inline-flex;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    color: #fff;
}
.pin-mark svg { width: 100%; height: 100%; }
.pin-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.pin-text {
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
    margin: 0 0 24px;
}
.pin-form { display: flex; gap: 10px; }
.pin-input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    font-size: 17px;
    letter-spacing: 0.32em;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}
.pin-input::placeholder { color: rgba(255, 255, 255, 0.45); letter-spacing: 0.1em; }
.pin-input:focus { border-color: var(--accent-bright); background: rgba(255, 255, 255, 0.16); }
.pin-input.is-error { border-color: var(--error); }
.pin-btn {
    flex: none;
    padding: 13px 22px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-dim);
    background: #fff;
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.pin-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); }
.pin-error { color: #ffd9d7; font-size: 13.5px; margin: 14px 0 0; }
@media (max-width: 460px) {
    .pin-form { flex-direction: column; }
    .pin-input { letter-spacing: 0.2em; }
}
