/* Grundkonfiguration */
:root {
    --primary-color: #90E05C; /* Tiefblau - Vertrauen */
    --accent-color: #FC9C00;  /* Cyan - Innovation */
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-alt: #f8f9fa;
    --transition: all 0.3s ease;
    --gtk-green: #90E05C;
    --gtk-bg-dark: #121417;     /* Weiches Anthrazit statt Schwarz */
    --gtk-bg-card: #1c1f24;    /* Etwas helleres Grau für Karten */
    --gtk-text-muted: #a0aec0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary-color);
    
    /* Diese Zeilen beheben dein Problem: */
    text-decoration: none; /* Entfernt die Unterstreichung */
    display: inline-block; /* Sorgt für stabileres Abstandsverhalten */
}

/* Falls das Logo beim Drüberfahren (Hover) auch nicht unterstrichen werden soll: */
.logo:hover {
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 150px 0; /* Etwas mehr Abstand für das Bild */
    
    /* Hintergrund-Bild Einstellungen */
    background-image: 
        linear-gradient(rgba(4, 52, 58, 0.251), rgb(33, 37, 41)), /* Dunkles Overlay für Lesbarkeit */
        url('images/bg_1.png'); /* HIER den Pfad zu deinem Bild einfügen */
    
    background-size: cover;       /* Bild füllt den ganzen Bereich aus */
    background-position: center;  /* Bild wird mittig zentriert */
    background-repeat: no-repeat; /* Bild wird nicht gekachelt */
    background-attachment: fixed; /* Optional: Parallax-Effekt beim Scrollen */

    color: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-btns a {
    margin: 0 10px;
}

/* Services Grid */
.services {
    padding: 80px 0;
    background: var(--bg-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--accent-color);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Status Section */
.status-section {
    padding: 60px 0;
}

.status-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 10px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.badge-success { background: #e6fcf5; color: #0ca678; }
.badge-warning { background: #fff9db; color: #f08c00; }
.badge-failure { background: #ffdbdb; color: #f00000; }
.badge-offline { background: #d4d4d4; color: #161616; }

/* Footer */
footer {
    background: var(--primary-color);
    color: #fff;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    list-style: none;
    display: flex;
}

.footer-links li {
    margin-left: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .navbar .container { flex-direction: column; }
    nav ul { margin-top: 20px; }
    nav ul li { margin: 0 10px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { margin-top: 20px; }
}

/* Dropdown Logik */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Der Pfeil im Menüpunkt */
.arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

/* Das eigentliche Dropdown-Fenster */
.dropdown-content {
    display: none; /* Standardmäßig versteckt */
    position: absolute;
    background-color: #fff;
    min-width: 240px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    top: 100%; /* Direkt unter dem Header */
    left: 0;
    list-style: none;
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
    border-top: 3px solid var(--accent-color);
}

/* Styling der Links im Dropdown */
.dropdown-content li {
    margin: 0 !important; /* Reset für die Navbar-Abstände */
}

.dropdown-content li a {
    color: var(--text-dark);
    padding: 12px 20px;
    display: block;
    font-weight: 500;
    transition: background 0.2s ease;
}

.dropdown-content li a:hover {
    background-color: var(--bg-alt);
    color: var(--accent-color);
}

/* Zeige das Menü beim Hovern */
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* Kleiner Einblend-Effekt */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}




/* News Spezifisch */
.news-hero {
    /* Höhe und Polsterung */
    padding: 300px 0;
    
    /* Hintergrundbild mit neutralem Dunkel-Verlauf */
    background-image: 
        linear-gradient(rgba(33, 37, 41, 0.7), rgba(33, 37, 41, 0.7)), 
        url(https://media.istockphoto.com/id/1434531595/de/foto/unbeschwerte-junge-frauen-in-der-stadt-mit-smartphone.jpg?s=612x612&w=0&k=20&c=J7blY1Q12QqCm6YpyCMXcC-noVNJfg-vJ2T0wgjbitM=); /* Name deines Bildes hier einfügen */
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Text-Styling */
    text-align: center;
    color: #ffffff;
    border-bottom: 4px solid var(--accent-color); /* Akzentlinie am unteren Rand */
}

.news-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff; /* Sicherstellen, dass Text weiß ist */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Leichter Schatten für bessere Lesbarkeit */
}

.news-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}
.news-container {
    padding: 60px 20px;
}

/* Altes News Grid */
/*.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
*/

/* Horizontaler News-Feed */
.news-grid {
    display: flex; /* Karten nebeneinander */
    align-items: stretch; /* Alle Karten gleich hoch */
    min-height: 450px; /* Verhindert das "Hüpfen" der Seite beim Filtern */
    gap: 30px;
    overflow-x: auto; /* Aktiviert horizontales Scrollen */
    padding: 20px 5px 40px 5px; /* Platz für Schatten und Scrollbar */
    scroll-snap-type: x mandatory; /* "Einrast"-Effekt beim Scrollen */
    scrollbar-width: thin; /* Schlanke Scrollbar für Firefox */
    scrollbar-color: var(--accent-color) transparent;
}

/* Scrollbar-Styling für Chrome, Safari, Edge */
.news-grid::-webkit-scrollbar {
    height: 8px;
}

.news-grid::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.news-grid::-webkit-scrollbar-track {
    background: #eee;
}

/* Anpassung der Karten für den Slider */
.news-card {
    flex: 0 0 350px; /* Karten schrumpfen nicht, Breite fix auf 350px */
    margin-bottom: 20px; /* Platz für den Schatten */
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s ease; /* Sanfter Übergang */
    scroll-snap-align: start; /* Karte rastet am Rand ein */
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

/* Auf mobilen Geräten Karten etwas schmaler machen */
@media (max-width: 480px) {
    .news-card {
        flex: 0 0 280px;
    }
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-image {
    position: relative;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

/* Farben für Unternehmensteile */
.tag-production { background: #495057; } /* Fahrzeugbau */
.tag-connect { background: #6c757d; }    /* Connect */
.tag-services { background: #adb5bd; color: #212529; } /* Dienste */

.news-content {
    padding: 25px;
}

.date {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.news-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.read-more {
    text-decoration: none;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Container für die Filter-Buttons */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap; /* Zeilenumbruch auf Mobilgeräten */
}

/* Die bestehenden Buttons verfeinert */
.filter-btn {
    background: var(--bg-light);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

/* Hover-Effekt */
.filter-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Zustand für den gerade gewählten Filter */
.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}



/* Wartungsseiten-inhalt*/

/* Wartungsseite Spezifisch */
.maintenance-body {
    background-color: var(--bg-alt);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.maintenance-container {
    max-width: 600px;
    padding: 20px;
}

.maintenance-box {
    background: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    margin: 30px 0;
}

.maintenance-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.maintenance-box h1 {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 20px;
}

.maintenance-box p {
    color: #666;
    margin-bottom: 30px;
}

/* Status Indikator mit Puls-Effekt */
.status-indicator {
    background: #f1f3f5;
    padding: 15px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.pulse {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color); /* Nutzt dein Grün */
    border-radius: 50%;
    position: relative;
}

.pulse::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.maintenance-footer {
    font-size: 0.8rem;
    color: #999;
}

/* Wartungsseiten-inhalt ende */

/* --- Styles für die Artikel-Detailseiten --- */
.article-body {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.article-header {
    text-align: center;
    padding: 80px 0 40px;
    background-color: var(--bg-alt);
    margin-bottom: 40px;
}

.article-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.article-meta-light {
    color: #d4d4d4;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.article-content img {
    width: 100%;
    border-radius: 12px;
    margin: 30px 0;
}

.article-content h2 {
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.back-to-news {
    display: inline-block;
    margin-top: 40px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

/* Styles für die Artikelseiten Ende */

/* Styles für Fahrzeugbau Anfang */

/* Spezielle Ergänzung für Produkt-Karten (ZAGRO Stil) */
.product-card {
    padding: 0 !important; /* Entfernt das Padding der normalen Card */
    display: flex;
    flex-direction: column;
}

.product-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Responsive Fix für die Info-Sektion */
@media (max-width: 768px) {
    .status-section .container {
        grid-template-columns: 1fr !important;
    }
}

/* Styles für Statistik */

/* Statistik Sektion */
.stats-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    transition: var(--transition);
}

.stat-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color); /* Das Geis-Grün */
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-subtext {
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

/* Kleiner Effekt beim Drüberfahren */
.stat-item:hover {
    transform: translateY(-5px);
}


.clickable { cursor: pointer; }
.clickable:hover .stat-number { color: var(--accent-color); }

.details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: #fdfdfd;
    border-radius: 15px;
    margin-top: 20px;
}

.details-content.open {
    max-height: 800px; /* Genug Platz für das Diagramm */
    padding: 40px;
    border: 1px solid #eee;
}

.details-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.chart-container {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.details-text { flex: 2; min-width: 300px; }

.details-text blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 20px;
    color: var(--text-dark);
}

.stats-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #888;
    transition: 0.3s;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .tab-display { grid-template-columns: 1fr; }
}

/* Style für Statistik Ende */

/* --- Styles für Fahrzeugbau Ende --- */

/* --- Styles für die GTK Anfang --- */

/* ==========================================================
   GTK MOBILFUNK - CLEAN LIGHT DESIGN
   ========================================================== */

:root {
    --gtk-green: #90E05C;
    --gtk-bg-fresh: #F5F5F7;    /* Sehr helles, modernes Grau */
    --gtk-text-dark: #1D1D1F;   /* Edles Anthrazit statt Schwarz */
}

/* Diese Klasse im Body der telekom.html nutzen */
.telekom-body {
    background-color: var(--gtk-bg-fresh) !important;
    color: var(--gtk-text-dark);
}

.tele-hero-clean {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(144, 224, 92, 0.1), transparent 50%);
}

.headline-bold {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--gtk-text-dark);
    text-transform: uppercase;
}

/* Karten im sauberen Look */
.white-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.white-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--gtk-green);
}

.white-card.featured {
    border: 2px solid var(--gtk-green);
}

/* Button - Modern & Clean */
.btn-gtk-clean {
    background: var(--gtk-text-dark);
    color: #ffffff !important;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    border: none;
    transition: 0.2s;
}

.btn-gtk-clean:hover {
    background: var(--gtk-green);
    color: var(--gtk-text-dark) !important;
}