/* ============================================
   MEDIA MINISTERIUM – CSS
   Dark Premium Theme with #00a0d1 Accent
   Online Audio & Podcast Advertising
   ============================================ */

/* === Local Fonts (DSGVO) === */
/* outfit-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/outfit-v15-latin-300.woff2') format('woff2');
}

/* outfit-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/outfit-v15-latin-regular.woff2') format('woff2');
}

/* outfit-500 - latin */
@font-face {
    font-display: swap;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/outfit-v15-latin-500.woff2') format('woff2');
}

/* outfit-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/outfit-v15-latin-600.woff2') format('woff2');
}

/* outfit-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/outfit-v15-latin-700.woff2') format('woff2');
}

/* outfit-800 - latin */
@font-face {
    font-display: swap;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    src: url('assets/fonts/outfit-v15-latin-800.woff2') format('woff2');
}

/* outfit-900 - latin */
@font-face {
    font-display: swap;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 900;
    src: url('assets/fonts/outfit-v15-latin-900.woff2') format('woff2');
}

/* === Design Tokens === */
:root {
    --color-primary: #00a0d1;
    --color-primary-light: #33b5dd;
    --color-primary-dark: #007fa8;
    --color-primary-subtle: rgba(0, 160, 209, 0.08);
    --color-primary-rgb: 0, 160, 209;
    --color-green: #39FF14;
    --color-green-light: #7FFF00;

    --color-bg: #0a0a0f;
    --color-bg-elevated: #111118;
    --color-bg-card: #16161e;
    --color-bg-card-hover: #1c1c26;
    --color-surface: #1a1a24;

    --color-text: #f0f0f5;
    --color-text-secondary: #a0a0b0;
    --color-text-muted: #606070;

    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(0, 160, 209, 0.3);

    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;

    --shadow-glow: 0 0 40px rgba(0, 160, 209, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-fast);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 64px;
    width: auto;
    transition: height var(--transition-fast), opacity var(--transition-fast);
}

.nav.scrolled .logo-img {
    height: 52px;
}

.nav-logo:hover .logo-img {
    opacity: 0.8;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-links a.active {
    color: var(--color-primary);
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--color-primary) !important;
    color: white !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
    background: var(--color-primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.3);
}

/* === Dropdown Navigation === */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-dropdown-arrow {
    font-size: 0.65rem;
    transition: transform var(--transition-fast);
    display: inline-block;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 0 8px 0;
    min-width: 230px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 200;
    list-style: none;
}

/* Desktop: hover */
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    color: var(--color-text-secondary) !important;
    letter-spacing: 0.3px;
    transition: all var(--transition-fast) !important;
}

.nav-dropdown-menu a:hover {
    color: var(--color-primary) !important;
    background: var(--color-primary-subtle);
    padding-left: 26px !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-fallback-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 15, 0.5) 0%,
            rgba(10, 10, 15, 0.6) 40%,
            rgba(10, 10, 15, 0.85) 80%,
            rgba(10, 10, 15, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--color-border-hover);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-line {
    display: block;
}

.hero-line.accent {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    letter-spacing: 0.3px;
}

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

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--color-primary-rgb), 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-hover);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === Sections === */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 12px;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title .accent {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.7;
}

/* === Why Online Audio Section === */
.section-why {
    background: var(--color-bg-elevated);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.why-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--color-primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.why-icon svg {
    width: 32px;
    height: 32px;
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* === Services Section === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.service-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--color-primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* === How It Works Section (Tabs) === */
.section-process {
    background: var(--color-bg-elevated);
}

.process-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 56px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 6px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.process-tab {
    flex: 1;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.process-tab.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.3);
}

.process-tab:hover:not(.active) {
    color: var(--color-text);
    background: var(--color-bg-card-hover);
}

.process-content {
    display: none;
}

.process-content.active {
    display: block;
    animation: fadeInTab 0.5s ease;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-border-hover), var(--color-primary), var(--color-border-hover), transparent);
    z-index: 0;
}

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

.step-number {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 2px solid var(--color-border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    transition: all var(--transition-medium);
}

.process-step:hover .step-number {
    border-color: var(--color-primary);
    background: var(--color-primary-subtle);
    box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.2);
    transform: scale(1.05);
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

/* === About / Stats Section === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 32px;
}

.about-content .section-tag::after {
    left: 0;
    transform: none;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 300;
}

.about-text strong {
    color: var(--color-text);
    font-weight: 600;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 4px;
}

/* About visual - floating cards */
.about-visual {
    position: relative;
}

.about-float-scene {
    position: relative;
    height: 480px;
    perspective: 800px;
    transform-style: preserve-3d;
}

.about-float-card {
    position: absolute;
    width: 220px;
    height: 170px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    transform-style: preserve-3d;
}

.about-float-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card 1 – top-left */
.about-float-card:nth-child(1) {
    top: 20px;
    left: 10%;
    z-index: 2;
    animation: float-1 6s ease-in-out infinite;
}

/* Card 2 – top-right */
.about-float-card:nth-child(2) {
    top: 30px;
    right: 5%;
    z-index: 3;
    animation: float-2 7s ease-in-out infinite;
}

/* Card 3 – bottom-left */
.about-float-card:nth-child(3) {
    bottom: 60px;
    left: 5%;
    z-index: 4;
    animation: float-3 8s ease-in-out infinite;
}

/* Card 4 – bottom-center/right */
.about-float-card:nth-child(4) {
    bottom: 30px;
    right: 15%;
    z-index: 5;
    width: 240px;
    height: 185px;
    animation: float-4 6.5s ease-in-out infinite;
}

@keyframes float-1 {

    0%,
    100% {
        transform: rotateY(18deg) rotateX(-6deg) translateZ(10px) translateY(0);
    }

    50% {
        transform: rotateY(18deg) rotateX(-6deg) translateZ(10px) translateY(-12px);
    }
}

@keyframes float-2 {

    0%,
    100% {
        transform: rotateY(-14deg) rotateX(8deg) translateZ(30px) translateY(0);
    }

    50% {
        transform: rotateY(-14deg) rotateX(8deg) translateZ(30px) translateY(-16px);
    }
}

@keyframes float-3 {

    0%,
    100% {
        transform: rotateY(10deg) rotateX(-4deg) translateZ(20px) translateY(0);
    }

    50% {
        transform: rotateY(10deg) rotateX(-4deg) translateZ(20px) translateY(-14px);
    }
}

@keyframes float-4 {

    0%,
    100% {
        transform: rotateY(-8deg) rotateX(6deg) translateZ(40px) translateY(0);
    }

    50% {
        transform: rotateY(-8deg) rotateX(6deg) translateZ(40px) translateY(-18px);
    }
}

.about-float-card:hover {
    z-index: 100 !important;
    transform: scale(1.12) rotateY(0) rotateX(0) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(0, 160, 209, 0.3);
    animation-play-state: paused;
}

.about-float-scene:hover .about-float-card:not(:hover) {
    opacity: 0.5;
    filter: blur(1px);
    animation-play-state: paused;
}

/* === Reach Section (Lifestyle) === */
.section-reach {
    background: var(--color-bg);
    overflow: hidden;
}

.reach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.reach-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

.reach-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.reach-card:hover img {
    transform: scale(1.08);
}

.reach-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: background var(--transition-medium);
}

.reach-card:hover .reach-card-overlay {
    background: linear-gradient(0deg, rgba(0, 160, 209, 0.5) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
}

.reach-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.reach-card p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 300;
}

/* === Contact Section === */
.section-contact {
    background: var(--color-bg-elevated);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-content .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-content .section-tag::after {
    left: 0;
    transform: none;
}

.contact-icons-row {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.contact-icon-btn {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
}

.contact-icon-btn svg {
    width: 26px;
    height: 26px;
}

.contact-icon-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.3);
}

.phone-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--color-surface);
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.phone-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--color-border);
}

.contact-icon-btn:hover .phone-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

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

.form-group label {
    position: absolute;
    left: 20px;
    top: 16px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: var(--color-bg);
    padding: 0 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 160, 209, 0.1);
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    background: var(--color-bg-card);
    padding: 0 0.5rem;
    color: var(--color-primary);
}

.error-msg {
    display: none;
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-group.has-error input {
    border-color: #ff4d4d;
}

/* Privacy Checkbox */
.form-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    padding: 0 4px;
}

.form-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-bg);
}

.form-checkbox-group label {
    flex: 1;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    cursor: pointer;
    font-weight: 300;
}

.form-checkbox-group label a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.form-checkbox-group label a:hover {
    color: var(--color-primary-light);
}

.form-checkbox-group .error-msg {
    display: none;
    width: 100%;
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 0;
    margin-left: 32px;
}

.form-checkbox-group.has-error .error-msg {
    display: block;
}

.form-checkbox-group.has-error input[type="checkbox"] {
    outline: 2px solid #ff4d4d;
    outline-offset: 1px;
}

.contact-form .btn {
    margin-top: 8px;
    padding: 16px 32px;
    font-size: 1rem;
}

/* === Partners / Platforms Section === */
.section-platforms {
    background: var(--color-bg);
    padding: 80px 0;
}

.platforms-marquee {
    display: flex;
    gap: 48px;
    align-items: center;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.platforms-track {
    display: flex;
    gap: 48px;
    align-items: center;
    animation: marquee 30s linear infinite;
}

.platform-item {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-muted);
    white-space: nowrap;
    letter-spacing: 1px;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.platform-item:hover {
    opacity: 1;
    color: var(--color-primary);
}

.platform-item.stat-item {
    color: var(--color-primary);
    opacity: 0.9;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(0, 160, 209, 0.4);
    letter-spacing: 0.5px;
}

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

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

/* === Footer === */
.footer {
    background: var(--color-bg);
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer-brand .logo-text {
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 280px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* === Scroll Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for service cards */
.service-card.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.service-card.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.service-card.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.service-card.reveal:nth-child(5) {
    transition-delay: 0.4s;
}

.service-card.reveal:nth-child(6) {
    transition-delay: 0.5s;
}

/* Stagger for why cards */
.why-card.reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.why-card.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

/* Stagger for process steps */
.process-step.reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.process-step.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.process-step.reveal:nth-child(4) {
    transition-delay: 0.45s;
}

/* Stagger for reach cards */
.reach-card.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reach-card.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reach-card.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* === Legal Pages (Impressum, Datenschutz) === */
.legal-page {
    padding: 140px 0 80px;
    min-height: 80vh;
}

.legal-page h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-page h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--color-text);
}

.legal-page h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.legal-page p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 300;
    max-width: 750px;
}

.legal-page ul {
    margin: 12px 0 20px 24px;
    color: var(--color-text-secondary);
    font-weight: 300;
    line-height: 1.8;
}

.legal-page a {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.legal-page a:hover {
    color: var(--color-primary-light);
}

.legal-back {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

/* === Cookie Consent Banner === */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cookie-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 32px;
}

.cookie-banner h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 800px;
}

.cookie-banner p a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.cookie-banner p a:hover {
    color: var(--color-primary-light);
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.cookie-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    margin-top: 2px;
    transition: all var(--transition-fast);
}

.cookie-option input[type="checkbox"]:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.cookie-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.cookie-option input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-option-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 2px;
}

.cookie-option-text span {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

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

.cookie-btn-accept:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
}

.cookie-btn-selected {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.cookie-btn-selected:hover {
    background: var(--color-primary-subtle);
}

.cookie-btn-reject {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.cookie-btn-reject:hover {
    border-color: var(--color-text-secondary);
    color: var(--color-text);
}

/* Cookie settings corner button */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
}

.cookie-settings-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-settings-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-steps::before {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .reach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-fallback-image {
        display: block;
    }

    .hero-bg video {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-elevated);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right var(--transition-medium);
        border-left: 1px solid var(--color-border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-cta {
        text-align: center;
        width: 100%;
    }

    /* Mobile: disable hover, use JS .open class only */
    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        background: var(--color-surface);
        border: none;
        border-radius: var(--radius-sm);
        padding: 4px 0 4px 16px;
        min-width: unset;
        box-shadow: none;
        margin-top: 8px;
    }

    .nav-dropdown-menu a {
        font-size: 0.95rem !important;
        padding: 8px 12px !important;
    }

    .nav-dropdown-menu a:hover {
        padding-left: 16px !important;
    }

    .section {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-tabs {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .about-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .reach-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .contact-form-wrapper {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .reach-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
    }

    .about-float-scene {
        height: 350px;
        perspective: 600px;
    }

    .about-float-card {
        width: 160px;
        height: 125px;
    }

    .about-float-card:nth-child(4) {
        width: 175px;
        height: 135px;
    }
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        padding: 20px 16px;
    }

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

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}