/* IT Warehouse AG - Global Styles */
/* Version 2.0 - Dark Tech Theme */

/* ===== LOCAL FONTS (DSGVO-konform) ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/Inter-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
}

:root {
    --orange: #E87A1E;
    --orange-light: #f5a04e;
    --orange-glow: rgba(232, 122, 30, 0.3);
    --dunkelblau: #1A3A5C;
    --hellblau: #8CCED9;
    --navy: #162D4D;
    --bg: #0d1a2d;
    --bg-gradient: linear-gradient(135deg, #0d1a2d 0%, #1a2f5a 50%, #152642 100%);
    --surface: #162540;
    --surface-light: #1e3358;
    --text: #f0f4f8;
    --text-muted: #9ea4ab;
    --border: rgba(140, 206, 217, 0.15);
    --success: #10b981;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 40px;
    backdrop-filter: blur(20px);
    background: rgba(13, 26, 45, 0.9);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

header.scrolled {
    padding: 12px 40px;
    background: rgba(13, 26, 45, 0.98);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s;
}

.logo:hover .logo-img {
    opacity: 0.85;
}

.logo-container {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,248,252,0.95) 100%);
    padding: 8px 16px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.logo-hexagons {
    display: grid;
    grid-template-columns: repeat(2, 18px);
    gap: 2px;
}

.hexagon {
    width: 18px;
    height: 21px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-orange { background: var(--orange); }
.hex-hellblau { background: var(--hellblau); }
.hex-gray { background: #B3B3B3; }
.hex-navy { background: var(--navy); }

.logo-text-container { margin-left: 8px; }

.logo-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dunkelblau);
    letter-spacing: 0.5px;
}

.logo-divider {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, transparent 0%, var(--hellblau) 50%, transparent 100%);
    margin: 0 12px;
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--hellblau);
    font-weight: 600;
}

/* Navigation */
nav {
    display: flex;
    gap: 8px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}

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

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

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-content a {
    display: block;
    padding: 10px 20px;
    border-radius: 0;
}

.nav-dropdown-content a:hover {
    background: rgba(232, 122, 30, 0.1);
    color: var(--orange);
}

.header-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--orange-glow);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--orange-glow);
}

/* ===== BUTTONS ===== */
.btn {
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #fff;
    box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--orange-glow);
}

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

.btn-secondary:hover {
    border-color: var(--hellblau);
    background: rgba(140, 206, 217, 0.1);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ===== SECTIONS ===== */
section {
    padding: 120px 40px;
    position: relative;
}

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

.section-label {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 40px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-gradient);
    z-index: 0;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(140, 206, 217, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 206, 217, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--orange);
    top: 10%;
    left: 10%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--hellblau);
    top: 60%;
    right: 15%;
    animation-delay: -4s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--dunkelblau);
    bottom: 20%;
    left: 30%;
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 122, 30, 0.1);
    border: 1px solid rgba(232, 122, 30, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--orange);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* ===== CARDS ===== */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--hellblau));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(232, 122, 30, 0.2), rgba(140, 206, 217, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(232, 122, 30, 0.05);
    border-color: rgba(232, 122, 30, 0.3);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange), var(--hellblau));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 24px;
    transition: all 0.3s;
}

.trust-badge:hover {
    background: rgba(232, 122, 30, 0.05);
    border-color: rgba(232, 122, 30, 0.3);
    transform: translateY(-3px);
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hellblau), var(--dunkelblau));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--surface-light);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 122, 30, 0.1);
}

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

/* ===== FOOTER ===== */
footer {
    background: var(--surface);
    padding: 80px 40px 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
}

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

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb span {
    color: var(--text);
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 160px 40px 80px;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(140, 206, 217, 0.1) 0%, transparent 70%);
}

.page-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* ===== FEATURE LIST ===== */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(232, 122, 30, 0.05);
}

.feature-item .check {
    color: var(--success);
    font-size: 1.25rem;
    font-weight: bold;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--dunkelblau) 0%, var(--navy) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232, 122, 30, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 122, 30, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SAVINGS CALCULATOR ===== */
.calculator-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 48px;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.calc-label i {
    color: var(--orange);
}

.calc-slider-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.calc-slider {
    flex: 1;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--surface-light);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(232, 122, 30, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(232, 122, 30, 0.6);
}

.calc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(232, 122, 30, 0.4);
}

.calc-value-display {
    min-width: 160px;
    text-align: right;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
}

.calc-value-display span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
}

.calc-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.calc-result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
}

.calc-result-card:hover {
    border-color: var(--hellblau);
    transform: translateY(-4px);
}

.calc-result-card.primary {
    background: linear-gradient(135deg, rgba(232, 122, 30, 0.1), rgba(232, 122, 30, 0.05));
    border-color: var(--orange);
}

.calc-result-icon {
    margin-bottom: 16px;
    color: var(--hellblau);
}

.calc-result-card.primary .calc-result-icon {
    color: var(--orange);
}

.calc-result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.2;
}

.calc-result-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.calc-result-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.calculator-cta {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.calculator-cta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.calculator-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1024px) {
    .calculator-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .calculator-results {
        grid-template-columns: 1fr;
    }

    .calc-slider-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .calc-value-display {
        justify-content: center;
    }

    .calculator-inputs {
        padding: 24px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 80px 20px; }
    .page-hero { padding: 120px 20px 60px; }
    .page-hero h1 { font-size: 2rem; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    nav { display: none; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .trust-badges { flex-direction: column; align-items: center; }
}
