/* --- 1. DESIGN SYSTEM --- */
:root {
    --bg-color: #f5f5f7;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --accent-blue: #0071e3;

    /* Native System Fonts */
    --font-display: 'Didot', 'Bodoni MT', 'Times New Roman', serif;
    --font-tech: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --shadow-soft: 0 18px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 25px 60px -12px rgba(0, 0, 0, 0.12);
    --glass-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);

    --content-width: 1200px;
    --page-padding: max(5vw, 20px);
    --border-radius: 24px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-tech);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

/* Ambient Noise Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9990;
    mix-blend-mode: overlay;
    opacity: 0.3;
}

/* --- CUSTOM CURSOR (OPTIMIERT) --- */
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: #111;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1),
        height 0.3s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.3s, background-color 0.3s;
}

body:hover #cursor.active {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    mix-blend-mode: difference;
}

@media (hover: none) {
    #cursor {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .marquee-content {
        animation: none;
    }

    .cta-btn::after,
    .service-card::after {
        display: none;
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
    color: #111;
    letter-spacing: -0.01em;
}

p {
    color: #424245;
}

.label {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    display: block;
    font-weight: 600;
}

.section-padding {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.container {
    padding: 0 var(--page-padding);
    max-width: var(--content-width);
    margin: 0 auto;
    position: relative;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem var(--page-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem var(--page-padding);
}

.brand {
    font-family: var(--font-tech);
    font-weight: 700;
    letter-spacing: -0.05em;
    font-size: 1.5rem;
    color: #000;
    text-decoration: none;
    position: relative;
    z-index: 2001;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mail-icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    transition: transform 0.2s;
}

.mail-icon-btn:hover {
    transform: scale(1.1);
}

.mail-icon-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

/* Burger Menu (Hidden on Desktop) */
.burger-icon {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 3000;
    position: fixed;
    top: 1.5rem;
    right: var(--page-padding);
    padding: 10px;
}

.burger-bar {
    width: 24px;
    height: 2px;
    background-color: #111;
    transition: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #111;
    text-decoration: none;
    opacity: 1;
    transform: none;
    transition: none;
}

.mobile-menu-overlay.active .mobile-menu-link {
    opacity: 1;
    transform: none;
}


/* Burger Animation */
.burger-bar {
    transform-origin: center;
}

.burger-icon.active .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-icon.active .burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-icon.active .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Hero */
#hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

#hero-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Note: URL is set inline or via PHP in actual file, handling here generically or expecting override */
    background: linear-gradient(180deg, rgba(240, 242, 245, 0.3) 0%, #f5f5f7 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Canvas für Orbs */
canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
    z-index: 10;
    padding: 0 20px;
}

.hero-text-wrapper {
    position: relative;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    transition: opacity 0.4s ease;
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    margin-bottom: 1.5rem;
    color: #111;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #111 0%, #333 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.25rem;
    max-width: 650px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* Bekannt aus Logo Wall */
.press-logos {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    z-index: 20;
    width: 90%;
    max-width: var(--content-width);
}

.press-logos-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.7;
}

.press-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.press-logo {
    height: 22px;
    width: auto;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.press-logo:hover {
    opacity: 0.9;
    filter: grayscale(0%);
}

/* Press Logo Wrapper Link */
.press-logo-wrapper {
    display: inline-block;
    text-decoration: none;
}

/* Mobile Press Logos Section (below the fold) */
.press-logos-mobile-section {
    display: none;
    background: #fff;
    padding: 2rem var(--page-padding);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.press-logos-mobile-section .press-logos-label {
    display: block;
    margin-bottom: 1rem;
}

.press-logos-mobile-section .press-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.press-logos-mobile-section .press-logo {
    height: 18px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
}

@media(max-width: 900px) {

    /* Hide press-logos in hero on mobile */
    #hero-container .press-logos {
        display: none;
    }

    /* Show mobile press logos section below the fold */
    .press-logos-mobile-section {
        display: block;
    }
}

/* Mobile Orb Nav */
.mobile-orb-nav {
    display: none;
    position: absolute;
    bottom: 12vh;
    left: 50%;
    transform: translateX(-50%);
    gap: 12px;
    z-index: 50;
    pointer-events: auto;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.m-orb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.5);
    /* Slightly clearer background for contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Individual Colors & Border for Inactive State */
.m-orb:nth-child(1) {
    color: #e63946;
    border-color: rgba(230, 57, 70, 0.3);
}

.m-orb:nth-child(2) {
    color: #0071e3;
    border-color: rgba(0, 113, 227, 0.3);
}

.m-orb:nth-child(3) {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.m-orb svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5px;
    opacity: 0.8;
    transition: all 0.3s;
}

.m-orb.active {
    transform: scale(1.1);
    background: #fff;
    border-color: #fff;
}

.m-orb.active svg {
    opacity: 1;
    stroke-width: 2px;
}

/* Active Shadows */
.m-orb:nth-child(1).active {
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.m-orb:nth-child(2).active {
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.4);
}

.m-orb:nth-child(3).active {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Marquee */
.marquee-section {
    padding: 2.5rem 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    position: relative;
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 80s linear infinite;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-right: 5rem;
    color: #e5e5e5;
    display: inline-block;
    font-weight: 400;
    font-style: italic;
    transition: color 0.3s;
}

.marquee-item:hover {
    color: #111;
}

.marquee-item.highlight {
    color: #b0b0b0;
    font-style: normal;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- NEW: APPROACH SECTION HIGH-END INTERACTIVE --- */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.approach-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.approach-step:hover .approach-link {
    color: #111;
}

.approach-step {
    position: relative;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    background: transparent;
}

/* Interaction Logic: Spotlight Effect */
.approach-grid:hover .approach-step {
    opacity: 0.4;
    /* Dim siblings */
    filter: blur(2px);
    /* Blur siblings */
    transform: scale(0.98);
}

.approach-grid .approach-step:hover {
    opacity: 1;
    /* Restore active item */
    filter: blur(0);
    transform: scale(1.02) translateY(-10px);
    background: #fff;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border-radius: 4px;
}

/* ORB HARMONY COLORS */
/* 01: Marke - Red (#e63946) */
.approach-grid .approach-step:nth-child(1):hover {
    border-top-color: #e63946;
}

.approach-step:nth-child(1) .step-domain {
    color: #e63946;
}

/* 02: Führung - Blue (#0071e3) */
.approach-grid .approach-step:nth-child(2):hover {
    border-top-color: #0071e3;
}

.approach-step:nth-child(2) .step-domain {
    color: #0071e3;
}

/* 03: Innovation - Amber (#f59e0b) */
.approach-grid .approach-step:nth-child(3):hover {
    border-top-color: #f59e0b;
}

.approach-step:nth-child(3) .step-domain {
    color: #f59e0b;
}


.step-header {
    display: flex;
    flex-direction: column;
    /* Changed to column for vertical stacking */
    align-items: flex-start;
    /* Left align */
    justify-content: flex-start;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.step-num {
    font-family: var(--font-display);
    font-size: 4rem;
    color: #e5e5e5;
    line-height: 0.8;
    margin-bottom: 0.5rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left bottom;
}

.approach-step:hover .step-num {
    color: #111;
    transform: scale(1.1) translateX(5px);
}

.step-domain {
    font-family: var(--font-tech);
    font-size: 1.8rem;
    /* Larger Desktop Size */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    opacity: 1;
    /* Always visible */
    transform: none;
    transition: all 0.4s ease 0.1s;
    margin-bottom: 5px;
}


.step-headline {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #111;
    line-height: 1.1;
    font-weight: 400;
}

/* Profile Slider System */
.profile-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.profile-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 20px 20px 40px 20px;
}

.profile-slider::-webkit-scrollbar {
    display: none;
}

.profile-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.profile-slide-inner {
    width: 100%;
    max-width: var(--content-width);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slide 1 Styles */
.profile-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.profile-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-soft);
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.profile-image-container:hover img {
    transform: scale(1.03);
}

.quote-big {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #111;
}

.text-block p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
}

.profile-degrees {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.degree-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #444;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.degree-badge:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Degree Badge Color Variants */
.degree-badge.degree-marketing {
    border-color: rgba(230, 57, 70, 0.25);
}

.degree-badge.degree-marketing:hover {
    background: #e63946;
    border-color: #e63946;
}

.degree-badge.degree-digital {
    border-color: rgba(0, 113, 227, 0.25);
}

.degree-badge.degree-digital:hover {
    background: #0071e3;
    border-color: #0071e3;
}

.degree-badge.degree-management {
    border-color: rgba(245, 158, 11, 0.25);
}

.degree-badge.degree-management:hover {
    background: #f59e0b;
    border-color: #f59e0b;
}

.degree-badge.degree-law {
    border-color: rgba(52, 211, 153, 0.25);
}

.degree-badge.degree-law:hover {
    background: #34d399;
    border-color: #34d399;
}


/* --- SLIDES 3-5: EDITORIAL CARDS --- */
.editorial-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    max-width: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 450px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.ec-visual {
    background: linear-gradient(135deg, #f9f9fb 0%, #f0f0f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ec-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--card-accent);
    opacity: 0.15;
    filter: blur(60px);
    border-radius: 50%;
}

.ec-icon-bg {
    font-size: 6rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transform: scale(1);
    transition: transform 0.5s;
}

.editorial-card:hover .ec-icon-bg {
    transform: scale(1.1) rotate(-5deg);
}

.ec-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.ec-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #111;
    letter-spacing: -0.02em;
}

.ec-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    font-weight: 300;
}

.ec-divider {
    width: 40px;
    height: 2px;
    background: var(--card-accent);
    margin: 2rem 0;
}

.ec-quote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: #111;
}

/* Slider Controls */
.slider-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0 20px;
}

.slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-grow: 1;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-dot.active {
    background: #111;
    width: 30px;
    border-radius: 10px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: none;
    font-family: inherit;
    font-size: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #555;
}

.slider-arrow:hover {
    border-color: #111;
    color: #111;
}

/* Scroller (Services/Books) */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    padding: 0 var(--page-padding);
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

.scroll-controls svg {
    transition: transform 0.2s, stroke 0.2s;
}

.scroll-controls svg:hover {
    transform: scale(1.1);
}

.full-bleed-scroller {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    overflow-x: auto;
    padding-bottom: 4rem;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* WICHTIG: Das sorgt dafür, dass beim "Snappen" der Abstand links eingehalten wird */
    scroll-padding-left: max(var(--page-padding), calc((100vw - var(--content-width)) / 2 + var(--page-padding)));
}

.full-bleed-scroller::-webkit-scrollbar {
    display: none;
}

.scroller-inner {
    display: flex;
    gap: 2rem;
    /* WICHTIG: Exakte Berechnung passend zum .container darüber */
    padding-left: max(var(--page-padding), calc((100vw - var(--content-width)) / 2 + var(--page-padding)));
    padding-right: max(var(--page-padding), calc((100vw - var(--content-width)) / 2 + var(--page-padding)));
}

/* Service Cards */
.service-card {
    flex: 0 0 380px;
    min-height: 540px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--glass-gradient);
    border: 1px solid #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent-color, #111);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.service-card:hover::after {
    left: 150%;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #111;
    display: block;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-display);
}

.service-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 700;
}

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

.service-list {
    margin-top: 2rem;
    list-style: none;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.service-list li {
    font-size: 0.9rem;
    padding: 0.4rem 0;
    color: #444;
    display: flex;
    align-items: flex-start;
}

.service-list li::before {
    content: "—";
    color: #ccc;
    margin-right: 10px;
    flex-shrink: 0;
}

.btn-text {
    display: inline-block;
    margin-top: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #111;
    padding-bottom: 3px;
    color: #111;
    text-decoration: none;
}

.service-dots-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
    padding-bottom: 1rem;
}

.service-nav-dot {
    width: 8px;
    height: 8px;
    background: #d1d1d6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s;
}

.service-nav-dot.active {
    background: #1d1d1f;
    width: 24px;
    border-radius: 12px;
}

/* Books */
.book-card {
    flex: 0 0 auto;
    width: min-content;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: center;
    position: relative;
    z-index: 1;
}

.book-cover-wrapper {
    height: 400px;
    width: fit-content;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    perspective: 1000px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s, box-shadow 0.4s;
}

.book-card:hover .book-cover-wrapper {
    transform: translateY(-10px) scale(1.03) rotate(-1deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Bestseller Badge */
.book-bestseller-badge {
    position: absolute;
    top: 12px;
    right: -4px;
    background: #e63946;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: 4px 0 0 4px;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.book-bestseller-badge::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 4px 0;
    border-color: transparent #a82835 transparent transparent;
}

.book-cover-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.02) 30%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.02) 70%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg) translateX(-50%);
    transition: transform 0.8s, opacity 0.5s;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
}

.book-card:hover .book-cover-wrapper::after {
    transform: skewX(-25deg) translateX(0%);
    opacity: 1;
}

.book-cover-wrapper img {
    height: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.book-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #111;
    height: 3rem;
    overflow: hidden;
    font-family: var(--font-display);
}

.book-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    height: 4.5em;
    overflow: hidden;
    margin-bottom: 1rem;
    max-width: 250px;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #fafafa 0%, #fff 40%, #f5f5f7 100%);
    text-align: center;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.03) 0%, transparent 60%);
    animation: cta-glow 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cta-glow {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: translate(10%, 5%);
        opacity: 1;
    }
}

.cta-btn {
    background: #111;
    color: #fff;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-btn-pulse {
    animation: btn-pulse 3s ease-in-out infinite;
}

@keyframes btn-pulse {

    0%,
    100% {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 6px rgba(17, 17, 17, 0.05);
    }
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.cta-btn:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 4px;
}

.cta-btn:hover {
    transform: scale(1.05);
    background: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: none;
}

.cta-btn:hover::after {
    left: 150%;
}

.cta-social-proof {
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Footer */
footer {
    background: #f9f9fb;
    padding: 6rem 0 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 4rem;
    max-width: var(--content-width);
    padding: 0 var(--page-padding);
    margin: 0 auto;
}

.qual-list {
    list-style: none;
}

.qual-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #555;
}

.qual-year {
    font-variant-numeric: tabular-nums;
    color: #999;
}

.footer-bottom {
    text-align: center;
    padding: 5rem var(--page-padding) 3rem;
    color: #a1a1a6;
    font-size: 0.8rem;
}

.footer-bottom a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: #111;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    width: 90%;
    max-width: 550px;
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 1);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

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

.close-modal {
    background: none;
    border: none;
    font-family: inherit;
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover {
    color: #000;
}

#success-message {
    display: none;
    text-align: center;
    color: #0071e3;
}

#contact-form-container {
    transition: opacity 0.3s;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #e1e1e1;
    border-radius: 16px;
    font-family: var(--font-tech);
    font-size: 1rem;
    background: #fbfbfd;
    margin-bottom: 1rem;
    transition: border-color 0.2s, background 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-textarea {
    height: 140px;
    resize: none;
}

.hp-field {
    display: none;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Aktuelles Preview */
.aktuelles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.aktuelles-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.aktuelles-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.aktuelles-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.aktuelles-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.aktuelles-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.aktuelles-type {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.aktuelles-type.blog {
    background: #e8f4fd;
    color: #0071e3;
}

.aktuelles-type.gastkommentar {
    background: #fef3e8;
    color: #f59e0b;
}

.aktuelles-type.bericht {
    background: #fde8e8;
    color: #e63946;
}

.aktuelles-type.interview {
    background: #f3e8fd;
    color: #9333ea;
}

.aktuelles-date {
    font-size: 0.75rem;
    color: #999;
}

.aktuelles-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    color: #111;
}

.aktuelles-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Termin Cards (shared component) */
.termin-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.termin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.12);
}

.termin-card--past {
    opacity: 0.65;
}

.termin-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color, #0891b2), #22d3ee);
}

.termin-date {
    background: #0f172a;
    color: white;
    border-radius: 12px;
    padding: 10px 14px;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
}

.termin-day {
    font-size: 1.5rem;
    font-weight: 800;
}

.termin-month {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.termin-type {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748b;
    font-weight: 600;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
}

.termin-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.termin-speaker {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 4px;
}

.termin-location {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}

.termin-link {
    font-size: 0.85rem;
    color: var(--accent-color, #0891b2);
    font-weight: 600;
    text-decoration: none;
}

.termin-link:hover {
    text-decoration: underline;
}

/* Termine Preview Grid (index page) */
.termine-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-inner {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    height: 100%;
}

/* --- RESPONSIVE --- */
.mobile-portrait-inline {
    display: none;
}

@media(max-width: 900px) {

    /* Hide Desktop Nav, Show Burger */
    .desktop-nav {
        display: none;
    }

    .burger-icon {
        display: flex;
    }

    /* Hide Canvas completely on Mobile */
    #orbCanvas {
        display: none !important;
    }

    .hero-title {
        font-size: 14vw;
    }

    .hero-sub {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-text-wrapper {
        height: auto;
        min-height: 300px;
    }

    .profile-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .profile-slide-inner {
        height: 100%;
        align-items: flex-start;
        padding-top: 1rem;
    }

    .mobile-intro-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .mobile-intro-row .label {
        margin-bottom: 0;
        margin-top: 5px;
    }

    .mobile-portrait-inline {
        display: none !important;
    }

    .profile-image-container {
        display: block !important;
        order: -1;
        width: 100%;
        aspect-ratio: auto;
        height: 350px;
        border-radius: 12px;
    }

    .profile-image-container img {
        object-position: top center;
    }

    .text-block {
        order: 2;
    }

    .quote-big {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .text-block p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    /* Mobile Orbit: List Layout */
    .orbit-system {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 0;
    }

    .orbit-lines {
        display: none;
    }

    .orbit-node {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        width: 100%;
        height: auto;
        display: block;
    }

    .node-lens {
        width: 100%;
        height: 70px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0 20px;
        gap: 15px;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .lens-icon {
        font-size: 1.8rem;
        margin: 0;
    }

    .lens-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .lens-title {
        font-size: 1rem;
    }

    /* Show details by default on mobile */
    .node-detail-card {
        position: relative;
        opacity: 1;
        visibility: visible;
        width: 100%;
        transform: none !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 5px 0 15px 0;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.03);
        background: #fbfbfd;
    }

    .detail-list li {
        font-size: 0.85rem;
    }

    /* Mobile Editorial */
    .editorial-card {
        grid-template-columns: 1fr;
        min-height: auto;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .ec-visual {
        padding: 1.5rem;
        height: auto;
        flex: 0 0 120px;
        min-height: 0;
    }

    .ec-icon-bg {
        font-size: 3rem;
    }

    .ec-content {
        padding: 1.5rem;
        flex: 1;
    }

    .ec-title {
        font-size: 1.5rem;
    }

    .profile-slider {
        padding: 0 0 20px 0;
        margin: 0;
    }

    .profile-slide {
        padding: 0 5px;
    }

    .slider-nav-container {
        margin-top: 0.5rem;
    }

    .service-card {
        flex: 0 0 85vw;
        min-height: auto;
        padding: 2rem;
        scroll-snap-align: center;
    }

    .book-card {
        flex: 0 0 65vw;
        width: auto;
        scroll-snap-align: center;
    }

    .book-cover-wrapper {
        height: 280px;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .scroller-inner {
        gap: 1rem;
        padding-left: var(--page-padding);
        padding-right: var(--page-padding);
    }

    .mobile-orb-nav {
        display: flex;
    }

    .scroll-controls {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tilt-card {
        transform: none !important;
    }

    .step-domain {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    /* Aktuelles Mobile */
    .aktuelles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .aktuelles-image {
        height: 150px;
    }

    .aktuelles-content {
        padding: 1.2rem;
    }

    .aktuelles-title {
        font-size: 1.1rem;
    }

    .termine-preview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}