:root {
    /* Color Palette */
    --bg-dark: #0b0c0d;
    --bg-card: #141619;
    --primary: #F97316;
    --secondary: #EF4444;
    --accent: #fcd34d;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;

    /* Layout Constants */
    --nav-height: 80px;
    --container-max-width: 1000px;
    --border-radius: 0;

    /* Shadows & Effects */
    --glass-bg: rgba(11, 12, 13, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
    --neon-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

/* Main content spacing */
main {
    padding-top: calc(var(--nav-height) + 70px);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
}

.logo span {
    color: var(--primary);
}

.subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   BLOG / NEWS CARD FIX (Einheitliche Bilder & Formate)
   ========================================================================== */

.news-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(11, 15, 25, 0.9)) !important;
    border: 1px solid var(--glass-border) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.news-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(249, 115, 22, 0.3) !important;
    box-shadow: var(--neon-shadow) !important;
}

/* Bild-Container zwingen */
.news-image-wrapper {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important; /* Festes Format für Handy */
    overflow: hidden !important;
    background: #000 !important;
    flex-shrink: 0 !important;
}

@media (min-width: 992px) {
    .news-card { 
        flex-direction: row !important; 
        min-height: 250px !important;
    }
    .news-image-wrapper { 
        width: 400px !important; 
        height: auto !important; 
        aspect-ratio: auto !important; 
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%) !important; 
    }
}

.news-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* WICHTIG: Bild füllt Container ohne Verzerren */
    object-position: center !important;
    transition: transform 0.6s ease !important;
}

.news-card:hover .news-image {
    transform: scale(1.05) !important;
}

.news-content {
    padding: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 !important;
}

/* Buttons & Text-Effekte */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
}