@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

/* NEUE STYLES FÜR DIE WEBSITE-STRUKTUR (helsystem.de Homepage) */
/* ============================================================= */

/* Header & Navigation für die Webseite */
header {
    background: linear-gradient(90deg, rgba(0,0,0,0.95), rgba(16,16,24,0.95));
    padding: 15px 0;
    border-bottom: 2px solid var(--neon-blue); /* Neon-Cyan Linie */
    box-shadow: 0 0 15px var(--neon-blue), 0 0 25px var(--uv); /* Mehrfarbiger Glüheffekt */
}

header .container { /* Header-Container soll die volle Breite des Headers nutzen */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Passend zum main .container */
    margin: 0 auto;
    padding: 0 20px; /* Nur links/rechts Padding im Header-Container */
}

.logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff; /* Logo-Text in Weiß */
    text-decoration: none;
    padding: 0; /* Standard-Padding entfernen */
}

/* Container für das Logo auf der Startseite */
.logo img {
    max-height: 50px;
}

/* Allgemeiner Navigationsstil für Links im Header */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px; /* Abstand zwischen Navigationselementen */
}

nav ul li a {
    font-weight: normal; /* Normales Gewicht für Navigationslinks */
    font-size: 1.1em;
    padding: 5px 0;
    position: relative; /* Für Underline-Effekt */
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
    animation: neon-cycle 8s linear infinite;
    transition: text-shadow 0.3s ease;
}

nav ul li a:hover {
    text-shadow: 0 0 5px currentColor, 0 0 8px currentColor;
    text-decoration: none; /* Keine Unterstreichung beim Hover, da wir einen eigenen Effekt machen */
}

@keyframes neon-cycle {
    0%, 100% { color: var(--neon-blue); text-shadow: var(--glow-blue); }
    20% { color: var(--neon-green); text-shadow: var(--glow-green); }
    40% { color: var(--neon-yellow); text-shadow: var(--glow-yellow); }
    60% { color: var(--neon-red); text-shadow: var(--glow-red); }
    80% { color: var(--uv); text-shadow: var(--glow-uv); }
}

/* Optional: Underline-Effekt für Navigation */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff00ff; /* Magenta Unterstreichung */
    box-shadow: 0 0 5px #ff00ff;
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
    width: 100%;
}

/* --- --- */
/* Styling für den hervorgehobenen "Ticket erstellen" Button im Header */
/* ACHTUNG: Spezifischerer Selektor, um die allgemeine nav ul li a Regel zu überschreiben */
nav ul li a.highlight-button {
    background-color: transparent;
    color: #ff00ff !important; /* Neon-Magenta */
    font-weight: bold; /* Dickere Schrift */
    padding: 8px 15px; /* Etwas Innenabstand, damit es wie ein Button aussieht */
    border-radius: 5px; /* Leicht abgerundete Ecken */
    text-decoration: none; /* Keine Unterstreichung */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #ff00ff; /* Leuchtender Rand */
    box-shadow: 0 0 5px #ff00ff;
    margin-left: 15px; /* Etwas Abstand zum vorherigen Menüpunkt */
    animation: none; /* Keine Farbrotation für diesen Button */
}

/* Hover-Zustand für den hervorgehobenen Button */
nav ul li a.highlight-button:hover {
    background-color: #ff00ff; /* Füllt den Button */
    color: #000 !important; /* Schwarzer Text beim Hover */
    box-shadow: 0 0 8px #ff00ff;
    text-decoration: none; /* Immer noch keine Unterstreichung */
}

/* Wenn du den underline-Effekt für diesen speziellen Button entfernen möchtest: */
nav ul li a.highlight-button::after {
    display: none; /* Versteckt den Underline-Effekt */
}
/* --- --- */
/* Navigation: Versetzte Startzeiten für die Farb-Animation */
nav ul li:nth-child(1) a { animation-delay: 0s; }
nav ul li:nth-child(2) a { animation-delay: 1.6s; }
nav ul li:nth-child(3) a { animation-delay: 3.2s; }
nav ul li:nth-child(4) a { animation-delay: 4.8s; }
nav ul li:nth-child(5) a { animation-delay: 6.4s; }

/* Hero Section (Startseite) */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('/img/hero-background.jpg') no-repeat center center/cover; /* Platzhalterbild */
    text-align: center;
    padding: 100px 20px;
    color: var(--text);
    margin-bottom: 40px;
    border: 1px solid var(--line);
    box-shadow: 0 0 20px rgba(0,199,255,0.15);
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: var(--glow-uv);
}

.hero .button {
    font-size: 1.2em;
    padding: 15px 30px;
}

/* About Us Section */
.about-us, .services-overview, .contact-cta, .service-detail {
    background: linear-gradient(135deg, rgba(155,92,255,0.1), rgba(0,199,255,0.05)), var(--panel);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,199,255,0.15), 0 0 25px rgba(155,92,255,0.1);
    border: 1px solid var(--line);
    margin-bottom: 40px; /* Abstand zwischen den Sektionen */
}

.about-us h2, .services-overview h2, .contact-cta h2, .service-detail h2 {
    text-align: center;
    margin-bottom: 30px;
}

.about-us p {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

/* Service Grid (Startseite) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsives Grid */
    gap: 30px; /* Abstand zwischen den Kacheln */
    margin-top: 30px;
}

.service-item {
    background: linear-gradient(135deg, rgba(0,199,255,0.1), rgba(155,92,255,0.1));
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 8px rgba(0,199,255,0.15);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-item:hover {
    transform: translateY(-5px); /* Leichter Schwebe-Effekt */
    box-shadow: 0 0 15px var(--neon-blue), 0 0 25px var(--uv);
    border-color: var(--neon-blue);
}
.service-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
}
.service-item:nth-child(1) h3 { color: var(--neon-blue); text-shadow: var(--glow-blue); }
.service-item:nth-child(2) h3 { color: var(--neon-green); text-shadow: var(--glow-green); }
.service-item:nth-child(3) h3 { color: var(--neon-yellow); text-shadow: var(--glow-yellow); }
.service-item:nth-child(4) h3 { color: var(--neon-red); text-shadow: var(--glow-red); }
.service-item p {
    font-size: 1em;
    line-height: 1.5;
    color: var(--muted);
}

/* Contact CTA Section */
.contact-cta {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(41,231,107,0.1), rgba(0,199,255,0.05)), var(--panel);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(41,231,107,0.2), 0 0 25px rgba(0,199,255,0.1);
    border: 1px solid var(--line);
    margin-bottom: 40px;
}

.contact-cta h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

.contact-cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text);
}

.contact-cta .button {
    font-size: 1.1em;
    padding: 12px 25px;
    background-color: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    box-shadow: var(--glow-green);
}
.contact-cta .button:hover {
    background-color: var(--neon-green);
    color: #000;
    box-shadow: 0 0 10px var(--neon-green);
}

/* Service Details (für leistungen.php) */
.service-detail {
    margin-bottom: 30px;
    text-align: left; /* Text linksbündig */
}

.service-detail h2 {
    text-align: left; /* Überschrift linksbündig */
    font-size: 1.5em; /* etwas kleiner */
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid currentColor;
}

.service-detail:nth-of-type(1) h2 { color: var(--neon-blue); text-shadow: var(--glow-blue); }
.service-detail:nth-of-type(2) h2 { color: var(--neon-green); text-shadow: var(--glow-green); }
.service-detail:nth-of-type(3) h2 { color: var(--neon-yellow); text-shadow: var(--glow-yellow); }
.service-detail:nth-of-type(4) h2 { color: var(--neon-red); text-shadow: var(--glow-red); }
.service-detail:nth-of-type(5) h2 { color: var(--neon-pink); text-shadow: var(--glow-pink); }


.service-detail p, .service-detail ul {
    line-height: 1.6;
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.service-detail ul {
    list-style: disc; /* Normale Aufzählungszeichen */
    padding-left: 25px;
}

.service-detail ul li {
    background-color: transparent; /* Entfernt Hintergrund von Listenelementen */
    padding: 5px 0;
    margin-bottom: 0;
    border-radius: 0;
    word-wrap: normal;
}


/* Downloads Section (downloads.php) */
.downloads ul {
    list-style: square; /* Quadratische Aufzählungszeichen */
    padding-left: 20px;
    margin-top: 20px;
}

.downloads ul li a {
    font-weight: normal; /* Normale Schrift für Download-Links */
    font-size: 1.1em;
    display: block; /* Jeder Link in eigener Zeile */
    padding: 8px 0;
    border-bottom: 1px dashed #333; /* Gestreifte Linie */
}
.downloads ul li:last-child a {
    border-bottom: none; /* Keine Linie beim letzten Element */
}


/* Impressum & DSGVO (dsgvo-impressum.php) */
.legal-content h2, .legal-content h3 {
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p, .legal-content ul, .legal-content ol {
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 20px;
}
.legal-content ul, .legal-content ol {
    padding-left: 25px;
}
.legal-content li {
    margin-bottom: 8px;
    background-color: transparent; /* Entfernt Hintergrund von Listenelementen */
    padding: 0;
    border-radius: 0;
}


/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.cookie-consent-banner .consent-content {
    background: linear-gradient(135deg, rgba(155,92,255,0.15), rgba(0,199,255,0.1)), var(--panel);
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    text-align: center;
    border: 1px solid var(--line);
    box-shadow: 0 0 20px rgba(155,92,255,0.25), 0 0 30px rgba(0,199,255,0.15);
}


.cookie-consent-banner .consent-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cookie-consent-banner .consent-links {
    margin-top: 15px;
    font-size: 0.9em;
}

body.no-scroll {
    overflow: hidden;
}

/* Responsive Design Anpassungen */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    .hero h1 {
        font-size: 2.0em;
    }
    .hero p {
        font-size: 1.1em;
    }
    .service-grid {
        grid-template-columns: 1fr; /* Eine Spalte auf kleinen Bildschirmen */
    }
    .container, .form-wrapper {
        padding: 20px;
        margin: 20px auto;
    }
    .about-us, .services-overview, .contact-cta, .service-detail {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .button-group {
        flex-direction: column;
    }
    .button-group button, .button-group a.button {
        width: 100%;
    }
}

/* --- ts/style.css --- */
/* Schriftart „Ubuntu“ global einbinden */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

/* Globale Grundeinstellungen */
body, html {
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dunkler Hintergrund für Dark Mode */
    color: #f0f0f0; /* Helle Standardschriftfarbe */
    font-family: 'Ubuntu', sans-serif; /* Schriftart auf Ubuntu setzen */
    height: 100%; /* Für Full-Height Layouts */
    display: flex;
    flex-direction: column;
}

/* Überschriften-Stil */
h1, h2, h3, h4, h5, h6 { /* Alle Überschriften hinzugefügt */
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: 25px; /* Etwas mehr Abstand nach oben */
}

/* Link-Stil */
a {
    color: #4aa3ff; /* Helle Blautöne */
    font-weight: bold;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    color: #6cb8ff; /* Hellere Farbe beim Hover */
}

/* Gemeinsamer Haupt-Layout-Container */
/* Für die Webseite wird dieser eher als flexibler Inhaltspuffer genutzt, nicht als umschließende "Karte" für die ganze Seite */
.container {
    max-width: 1200px; /* Breite für Webseiten-Inhalt */
    margin: 0 auto; /* Zentrierung */
    padding: 20px; /* Allgemeines Padding für Inhalt */
    flex-grow: 1; /* Lässt den Container den verfügbaren Platz ausfüllen */
    /* Hintergrund, Border, Box-Shadow vom Ticketsystem-Container hier bewusst entfernt,
       da der Hauptinhalt der Webseite meist direkt auf dem Body-Hintergrund liegt.
       Bei Bedarf können diese für spezifische Sektionen oder Cards wieder hinzugefügt werden. */
}

/* Logo zentrieren und Abstand definieren (aus Ticketsystem beibehalten) */
.logo-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}
.logo-container img {
    max-width: auto;
    height: 40;
}

/* Beschriftungen für Formulare (aus Ticketsystem beibehalten) */
label {
    display: block;
    margin: 15px 0 5px;
    color: #e0e0e0;
}

/* Eingabefelder und Auswahlmenüs (aus Ticketsystem beibehalten) */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px;
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 5px;
    box-sizing: border-box; /* Stellt sicher, dass Padding nicht die Breite erhöht */
}

/* Speziell für input[type="file"] (aus Ticketsystem beibehalten) */
input[type="file"] {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

/* Button-Stil (aus Ticketsystem beibehalten) */
button, a.button { /* a.button hinzugefügt, um Konsistenz zu gewährleisten */
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px; /* Standard-Abstand nach oben */
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none; /* Für Links, die wie Buttons aussehen */
    display: inline-block; /* Für Links, um nebeneinander zu sein */
    text-align: center; /* Textzentrierung im Button */
    transition: background-color 0.2s ease; /* Sanfter Übergang */
}
button:hover, a.button:hover {
    background-color: #5aa0f0;
    text-decoration: none;
}

/* Fehlermeldungen (aus Ticketsystem beibehalten) */
.error {
    color: #ff6b6b;
    background-color: #3a1e1e;
    border: 1px solid #ff6b6b;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Erfolgsmeldungen (aus Ticketsystem beibehalten) */
.success {
    color: #6eff6e;
    background-color: #1e3a1e;
    border: 1px solid #6eff6e;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Tabellenstil (aus Ticketsystem beibehalten) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    font-size: 15px;
}

/* Tabellenzellen (aus Ticketsystem beibehalten) */
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #333;
    color: #f0f0f0;
}

/* Tabellenkopf (aus Ticketsystem beibehalten) */
th {
    background-color: #2c2c2c;
    font-size: 16px;
    color: #ffffff;
}

/* Status-Indikator-Kreise (aus Ticketsystem beibehalten) */
.status-indikator {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
.status-offen {
    background-color: #ff4d4d; /* Rot */
}
.status-in_bearbeitung {
    background-color: #ffd11a; /* Gelb */
}
.status-geschlossen {
    background-color: #33cc33; /* Grün */
}

/* Für Buttons am oberen Rand des Containers (z.B. Dashboard) */
.header-buttons, .top-buttons {
    text-align: right;
    margin-bottom: 20px;
    margin-top: 10px;
}

.header-buttons .button, .top-buttons .button {
    margin-left: 10px;
    margin-top: 0; /* Überschreibt den generellen button margin-top */
}

/* Anpassung für Aktionen in Tabellenzeilen (aus Ticketsystem beibehalten) */
td.actions {
    white-space: nowrap; /* Verhindert Umbruch bei Action-Buttons */
}
td.actions .button {
    margin-top: 0; /* Keine doppelten margins */
    margin-left: 5px; /* Abstand zwischen den Action-Buttons */
    padding: 6px 12px; /* Kleinere Buttons in der Tabelle */
    font-size: 0.9em;
}

/* Button Group (für Buttons nebeneinander am Ende von Formularen) */
.button-group {
    margin-top: 20px; /* Abstand zum oberen Element */
    display: flex; /* Buttons nebeneinander */
    gap: 15px; /* Abstand zwischen den Buttons */
    flex-wrap: wrap; /* Erlaubt Umbruch auf kleineren Bildschirmen */
}
.button-group button, .button-group a.button {
    margin-top: 0; /* Überschreibt den allgemeinen button margin-top */
}
/* Style für "Zurück" Buttons in Button Groups */
.button-group .button[style*="background-color: #555"] { /* Spezieller Selektor, um den Override zu treffen */
    background-color: #555 !important;
}
.button-group .button[style*="background-color: #555"]:hover {
    background-color: #777 !important;
}


/* Für Listen von Kommentaren und Protokollen (aus Ticketsystem beibehalten) */
ul {
    list-style: none; /* Entfernt die Standardaufzählungszeichen */
    padding: 0;
    margin-top: 15px;
}
ul li {
    background-color: #2a2a2a; /* Hintergrund für einzelne Einträge */
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    word-wrap: break-word; /* Lange Texte umbrechen */
}
ul li em {
    color: #bbb; /* Farbe für Datum/Uhrzeit */
    font-size: 0.9em;
    display: block; /* Datum in eigener Zeile */
    margin-top: 5px;
}

/* Footer-Styling (aus Ticketsystem beibehalten) */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px; /* Abstand zum Hauptinhalt */
    color: #888;
    font-size: 0.9em;
    background-color: #1e1e1e; /* Oder passend zum Hintergrund */
    border-top: 1px solid #2a2a2a;
    width: 100%; /* Stellt sicher, dass der Footer die volle Breite einnimmt */
    box-sizing: border-box; /* Padding wird in die Breite eingerechnet */
}
footer .container {
    max-width: 1200px; /* Passend zum Hauptcontainer */
    margin: 0 auto;
    padding: 0; /* Kein zusätzliches Padding im Footer-Container */
}

/* Styling für den Lösch-Button (aus Ticketsystem beibehalten) */
.delete-button {
    display: inline-flex; /* Macht es einfacher, das Symbol zu zentrieren */
    justify-content: center;
    align-items: center;
    width: 30px; /* Quadratisch */
    height: 30px; /* Quadratisch */
    background-color: #dc3545; /* Rot */
    color: white;
    border: none;
    border-radius: 4px; /* Leicht abgerundete Ecken */
    text-decoration: none; /* Keine Unterstreichung */
    font-size: 1.2em; /* Größe des Symbols */
    line-height: 1; /* Zeilenhöhe anpassen für bessere Zentrierung */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.delete-button:hover {
    background-color: #c82333; /* Dunkleres Rot beim Hover */
}

/* Spezifischer Wrapper für Formularseiten (aus Ticketsystem beibehalten) */
.form-wrapper {
    max-width: 700px; /* Die gewünschte Breite für das Formular */
    margin: 40px auto; /* Zentriert den Wrapper und gibt vertikalen Abstand */
    background-color: #1e1e1e; /* Hintergrundfarbe wie dein .container */
    padding: 30px; /* Polsterung innen */
    border-radius: 10px; /* Abgerundete Ecken */
    box-shadow: 0 0 15px rgba(0,0,0,0.4); /* Schatten */
    flex-grow: 1; /* Damit es den verfügbaren Platz ausfüllt */
}

/* Container: Admin Dashboard */
.admin-dashboard {
    width: 100%;
    margin: 10px auto; /* weniger Abstand oben */
    padding: 10px; /* kompakterer Innenabstand */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    /* kein Hintergrund, damit das Seitenbild durchscheint */
}

.admin-dashboard table th,
.admin-dashboard table td {
    padding: 8px 10px;
}

.admin-dashboard .filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px; /* Tabelle näher an Filter */
    align-items: center;
}

.admin-dashboard .filter-form select,
.admin-dashboard .filter-form button {
    margin-top: 0;
}

.admin-dashboard table .button {
    padding: 6px 10px;
    margin-top: 0;
}

/* ============================================================= */
/* NEUE STYLES FÜR DIE WEBSITE-STRUKTUR (helsystem.de) */
/* ============================================================= */

/* Header & Navigation für die Webseite */
header {
    background-color: #1e1e1e; /* Dunklerer Hintergrund für den Header */
    padding: 15px 0;
    border-bottom: 1px solid #2a2a2a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header .container { /* Header-Container soll die volle Breite des Headers nutzen */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Passend zum main .container */
    margin: 0 auto;
    padding: 0 20px; /* Nur links/rechts Padding im Header-Container */
}

.logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff; /* Logo-Text in Weiß */
    text-decoration: none;
    padding: 0; /* Standard-Padding entfernen */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px; /* Abstand zwischen Navigationselementen */
}

nav ul li a {
    color: #f0f0f0; /* Navigationslinks in Hellgrau */
    font-weight: normal; /* Normales Gewicht für Navigationslinks */
    font-size: 1.1em;
    padding: 5px 0;
    position: relative; /* Für Underline-Effekt */
}

nav ul li a:hover {
    color: #4aa3ff; /* Blauer Hover-Effekt */
    text-decoration: none; /* Keine Unterstreichung beim Hover, da wir einen eigenen Effekt machen */
}

/* Optional: Underline-Effekt für Navigation */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #4aa3ff;
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
    width: 100%;
}


/* Hero Section (Startseite) */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/hero-background.jpg') no-repeat center center/cover; /* Platzhalterbild */
    text-align: center;
    padding: 100px 20px;
    color: white;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero .button {
    font-size: 1.2em;
    padding: 15px 30px;
}

/* About Us Section */
.about-us, .services-overview, .contact-cta, .service-detail {
    background-color: #1e1e1e; /* Hintergrund wie der Ticketsystem-Container */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    margin-bottom: 40px; /* Abstand zwischen den Sektionen */
}

.about-us h2, .services-overview h2, .contact-cta h2, .service-detail h2 {
    text-align: center;
    margin-bottom: 30px;
}

.about-us p {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

/* Service Grid (Startseite) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsives Grid */
    gap: 30px; /* Abstand zwischen den Kacheln */
    margin-top: 30px;
}

.service-item {
    background-color: #2a2a2a; /* Etwas hellerer Hintergrund für Kacheln */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
    transform: translateY(-5px); /* Leichter Schwebe-Effekt */
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.service-item h3 {
    color: #4aa3ff; /* Blaue Überschriften für Service-Items */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.service-item p {
    font-size: 1em;
    line-height: 1.5;
    color: #ccc;
}

/* Contact CTA Section */
.contact-cta {
    text-align: center;
    padding: 50px 20px;
    background-color: #2a2a2a; /* Hintergrund für den CTA-Bereich */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    margin-bottom: 40px;
}

.contact-cta h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: white;
}

.contact-cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.contact-cta .button {
    font-size: 1.1em;
    padding: 12px 25px;
    background-color: #4aa3ff; /* Primärfarbe für den CTA-Button */
}
.contact-cta .button:hover {
    background-color: #6cb8ff;
}


/* Downloads Section (downloads.php) */
.downloads ul {
    list-style: square; /* Quadratische Aufzählungszeichen */
    padding-left: 20px;
    margin-top: 20px;
}

.downloads ul li a {
    font-weight: normal; /* Normale Schrift für Download-Links */
    font-size: 1.1em;
    display: block; /* Jeder Link in eigener Zeile */
    padding: 8px 0;
    border-bottom: 1px dashed #333; /* Gestreifte Linie */
}
.downloads ul li:last-child a {
    border-bottom: none; /* Keine Linie beim letzten Element */
}


/* Impressum & DSGVO (dsgvo-impressum.php) */
.legal-content h2, .legal-content h3 {
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p, .legal-content ul, .legal-content ol {
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 20px;
}
.legal-content ul, .legal-content ol {
    padding-left: 25px;
}
.legal-content li {
    margin-bottom: 8px;
    background-color: transparent; /* Entfernt Hintergrund von Listenelementen */
    padding: 0;
    border-radius: 0;
}


/* Responsive Design Anpassungen */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1.1em;
    }
    .service-grid {
        grid-template-columns: 1fr; /* Eine Spalte auf kleinen Bildschirmen */
    }
    .container, .form-wrapper {
        padding: 20px;
        margin: 20px auto;
    }
    .about-us, .services-overview, .contact-cta, .service-detail {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .button-group {
        flex-direction: column;
    }
    .button-group button, .button-group a.button {
        width: 100%;
    }
}
/* Ticket system dark theme */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

/* Globale Grundeinstellungen */
body, html {
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dunkler Hintergrund für Dark Mode */
    color: #f0f0f0; /* Helle Standardschriftfarbe */
    font-family: 'Ubuntu', sans-serif; /* Schriftart auf Ubuntu setzen */
    height: 100%; /* Für Full-Height Layouts */
    display: flex;
    flex-direction: column;
}

/* Überschriften-Stil */
h1, h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

/* Link-Stil */
a {
    color: #4aa3ff; /* Helle Blautöne */
    font-weight: bold;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    color: #6cb8ff; /* Hellere Farbe beim Hover */
}

/* Spezifische Anpassung für den Login-Container */
.login-container { /* Wird für index.php und admin/login.php verwendet */
    max-width: 400px; /* Kleinere Breite für Login-Formulare */
    margin: 80px auto; /* Zentrierung und Standard-Vertikalabstand */
    padding: 20px; /* Etwas weniger Padding */
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Gemeinsamer Haupt-Layout-Container (für Dashboard, etc.) */
.container {
    max-width: 1300px; /* Maximale Breite, zuletzt auf diesen Wert gesetzt */
    margin: 40px auto; /* Zentrierung vertikal und horizontal, etwas weniger top-margin */
    background-color: #1e1e1e; /* Kartenhintergrund */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4); /* Leichter Schatten für Tiefe */
    flex-grow: 1; /* Lässt den Container den verfügbaren Platz ausfüllen */
}

/* Logo zentrieren und Abstand definieren */
.logo-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}
.logo-container img {
    max-width: auto; /* Ändere diesen Wert, um die Breite anzupassen */
    height: 80px;     /* 'auto' sorgt dafür, dass das Seitenverhältnis korrekt bleibt */
}
/* Beschriftungen für Formulare */
label {
    display: block;
    margin: 15px 0 5px;
    color: #ff00ff; /* Neon-Magenta Beschriftungen */
    text-shadow: 0 0 5px #ff00ff;
}

/* Eingabefelder und Auswahlmenüs */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px;
    background: #000;
    color: #0ff;
    border: 2px solid #0ff;
    border-radius: 5px;
    box-shadow: 0 0 5px #0ff;
    box-sizing: border-box; /* Stellt sicher, dass Padding nicht die Breite erhöht */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: #ff00ff;
    box-shadow: 0 0 8px #ff00ff;
    outline: none;
}

/* Speziell für input[type="file"] */
input[type="file"] {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

/* Button-Stil */
button, a.button { /* a.button hinzugefügt, um Konsistenz zu gewährleisten */
    background-color: #ff00ff;
    color: #000;
    border: 2px solid #ff00ff;
    padding: 10px 20px;
    margin-top: 20px; /* Standard-Abstand nach oben */
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none; /* Für Links, die wie Buttons aussehen */
    display: inline-block; /* Für Links, um nebeneinander zu sein */
    text-align: center; /* Textzentrierung im Button */
    box-shadow: 0 0 5px #ff00ff;
    font-weight: bold;
    text-transform: uppercase;
}
button:hover, a.button:hover {
    background-color: #0ff;
    border-color: #0ff;
    color: #000;
    box-shadow: 0 0 8px #0ff;
    text-decoration: none;
}

/* Fehlermeldungen */
.error {
    color: #ff6b6b;
    background-color: #3a1e1e;
    border: 1px solid #ff6b6b;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Erfolgsmeldungen */
.success {
    color: #6eff6e;
    background-color: #1e3a1e;
    border: 1px solid #6eff6e;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Tabellenstil */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    font-size: 15px;
}

/* Tabellenzellen */
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #333;
    color: #f0f0f0;
}

/* Tabellenkopf */
th {
    background-color: #2c2c2c;
    font-size: 16px;
    color: #ffffff;
}

/* Status-Indikator-Kreise (allgemein, aber spezifische Historie-Stile überschreiben diese) */
.status-indikator {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle; /* Hinzugefügt für bessere Ausrichtung */
}
.status-offen {
    background-color: #ff4d4d; /* Rot */
}
.status-in_bearbeitung {
    background-color: #ffd11a; /* Gelb */
}
.status-geschlossen {
    background-color: #33cc33; /* Grün */
}
/* *** NEUE REGEL HIER HINZUGEFÜGT FÜR geschlossene_kunde *** */
.status-geschlossen_kunde {
    background-color: #33cc33; /* Grün, wie status-geschlossen */
}

/* Für Buttons am oberen Rand des Containers (z.B. Dashboard) */
.header-buttons, .top-buttons {
    text-align: right;
    margin-bottom: 20px;
    margin-top: 10px;
}

.header-buttons .button, .top-buttons .button {
    margin-left: 10px;
    margin-top: 0; /* Überschreibt den generellen button margin-top */
}

/* Anpassung für Aktionen in Tabellenzeilen */
td.actions {
    white-space: nowrap; /* Verhindert Umbruch bei Action-Buttons */
}
td.actions .button {
    margin-top: 0; /* Keine doppelten margins */
    margin-left: 5px; /* Abstand zwischen den Action-Buttons */
    padding: 6px 12px; /* Kleinere Buttons in der Tabelle */
    font-size: 0.9em;
}

/* Button Group (für Buttons nebeneinander am Ende von Formularen) */
.button-group {
    margin-top: 20px; /* Abstand zum oberen Element */
    display: flex; /* Buttons nebeneinander */
    gap: 15px; /* Abstand zwischen den Buttons */
    flex-wrap: wrap; /* Erlaubt Umbruch auf kleineren Bildschirmen */
}
.button-group button, .button-group a.button {
    margin-top: 0; /* Überschreibt den allgemeinen button margin-top */
}
/* Style für "Zurück" Buttons in Button Groups */
.button-group .button[style*="background-color: #555"] { /* Spezieller Selektor, um den Override zu treffen */
    background-color: #555 !important;
}
.button-group .button[style*="background-color: #555"]:hover {
    background-color: #777 !important;
}


/* --- Ticket-Historie Verbesserungen (admin/ticket_manage.php) --- */
/* Dies überschreibt die allgemeine ul/li Formatierung für die Ticket-Historie */
.ticket-historie {
    list-style: none; /* Entfernt die Standard-Aufzählungszeichen */
    padding: 0;
    margin: 20px 0;
    border-top: 1px solid #444; /* Trennlinie oben für die Historie */
}

.ticket-historie li {
    background-color: #2b2b2b; /* Leicht dunklerer Hintergrund für jeden Eintrag */
    border: 1px solid #3a3a3a; /* Dezenter Rahmen */
    margin-bottom: 15px; /* Mehr Abstand zwischen den Einträgen */
    padding: 15px;
    border-radius: 5px; /* Abgerundete Ecken */
    line-height: 1.6; /* Zeilenhöhe für bessere Lesbarkeit */
    word-wrap: break-word; /* Lange Wörter umbrechen */
}

.historie-zeitpunkt {
    font-size: 0.9em;
    color: #bbb; /* Hellerer Grauton für den Zeitstempel */
    margin-bottom: 5px;
    display: block; /* Zeitstempel in eigener Zeile */
}

.ticket-historie li strong {
    color: #e0e0e0; /* Hellerer Text für wichtige Hervorhebungen */
}

.ticket-historie li em {
    color: #aaa; /* Etwas dunklerer Text für kursive Notizen */
}

/* Status-Indikatoren: Kreis mit Farbe und Text (spezifisch für Historie) */
/* Die allgemeinen .status-indikator-Regeln oben sind weiterhin gültig,
   aber diese hier sind spezifischer für die Historie-Liste. */
.ticket-historie .status-offen {
    background-color: #dc3545; /* Rot */
}
.ticket-historie .status-in_bearbeitung {
    background-color: #ffc107; /* Gelb */
}
.ticket-historie .status-geschlossen {
    background-color: #28a745; /* Grün */
}
/* *** NEUE REGEL HIER HINZUGEFÜGT FÜR geschlossene_kunde IM HISTORIE-BEREICH *** */
.ticket-historie .status-geschlossen_kunde {
    background-color: #28a745; /* Grün */
}

/* Spezifische Formatierung für den Kommentar/Notiz im Log-Eintrag */
.ticket-historie li .kommentar-text {
    display: block; /* Kommentartext in eigener Zeile */
    margin-top: 8px; /* Abstand nach oben */
    padding-left: 10px; /* Einrückung */
    border-left: 3px solid #555; /* Vertikale Linie als Trenner */
    color: #ccc; /* Hellerer Text für den Kommentar */
}

/* Stil für den Kommentartyp (wenn nur Kommentar, kein Statuswechsel) */
.ticket-historie li.kommentar-only {
    /* Optional: Hintergrundfarbe leicht anpassen, wenn es nur ein Kommentar ist */
    /* background-color: #333; */
}

/* Optische Trennung zwischen den Event-Typen innerhalb eines Eintrags (optional) */
.ticket-historie li p {
    margin-bottom: 5px;
}
.ticket-historie li p:last-child {
    margin-bottom: 0;
}


/* Footer-Styling */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px; /* Abstand zum Hauptinhalt */
    color: #888;
    font-size: 0.9em;
    background-color: #1e1e1e; /* Oder passend zum Hintergrund */
    border-top: 1px solid #2a2a2a;
}

/* Styling für den Lösch-Button (hinzugefügt für admin/dashboard.php) */
.delete-button {
    display: inline-flex; /* Macht es einfacher, das Symbol zu zentrieren */
    justify-content: center;
    align-items: center;
    width: 30px; /* Quadratisch */
    height: 30px; /* Quadratisch */
    background-color: #dc3545; /* Rot */
    color: white;
    border: none;
    border-radius: 4px; /* Leicht abgerundete Ecken */
    text-decoration: none; /* Keine Unterstreichung */
    font-size: 1.2em; /* Größe des Symbols */
    line-height: 1; /* Zeilenhöhe anpassen für bessere Zentrierung */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.delete-button:hover {
    background-color: #c82333; /* Dunkleres Rot beim Hover */
}

/* Spezifischer Wrapper für Formularseiten (z.B. ticket_admin_erstellen.php) */
.form-wrapper {
    max-width: 700px; /* Die gewünschte Breite für das Formular */
    margin: 40px auto; /* Zentriert den Wrapper und gibt vertikalen Abstand */
    background-color: #1e1e1e; /* Hintergrundfarbe wie dein .container */
    padding: 30px; /* Polsterung innen */
    border-radius: 10px; /* Abgerundete Ecken */
    box-shadow: 0 0 15px rgba(0,0,0,0.4); /* Schatten */
    flex-grow: 1; /* Damit es den verfügbaren Platz ausfüllt */
}

/* === Cyberpunk / Neon Theme – Add-On =============================== */
/* Font */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

:root{
  --surface:#0d0f14;
  --panel:#12141b;
  --line:#1d2230;
  --text:#e6e7ee;
  --muted:#a7adbd;

  --uv:#9b5cff;
  --neon-blue:#00c7ff;
  --neon-red:#ff3b5c;
  --neon-yellow:#ffd166;
  --neon-green:#29e76b;

  /* zusätzliche Neonfarben für Download-Links */
  --neon-orange:#ff8c00;
  --neon-pink:#ff00ff;
  --neon-cyan:#00fff2;
  --neon-lime:#c0ff00;
  --neon-teal:#00ffc3;

  --glow-uv: 0 0 10px rgba(155,92,255,.6), 0 0 22px rgba(155,92,255,.35);
  --glow-blue: 0 0 10px rgba(0,199,255,.55), 0 0 20px rgba(0,199,255,.28);
  --glow-red: 0 0 10px rgba(255,59,92,.5), 0 0 20px rgba(255,59,92,.25);
  --glow-yellow: 0 0 10px rgba(255,209,102,.45), 0 0 18px rgba(255,209,102,.22);
  --glow-green: 0 0 10px rgba(41,231,107,.5), 0 0 20px rgba(41,231,107,.25);

  /* Glow-Effekte für zusätzliche Neonfarben */
  --glow-orange: 0 0 10px rgba(255,140,0,.5), 0 0 20px rgba(255,140,0,.25);
  --glow-pink: 0 0 10px rgba(255,0,255,.5), 0 0 20px rgba(255,0,255,.25);
  --glow-cyan: 0 0 10px rgba(0,255,242,.5), 0 0 20px rgba(0,255,242,.25);
  --glow-lime: 0 0 10px rgba(192,255,0,.5), 0 0 20px rgba(192,255,0,.25);
  --glow-teal: 0 0 10px rgba(0,255,195,.5), 0 0 20px rgba(0,255,195,.25);

  --radius: 14px;
}

html,body{
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(155,92,255,.08), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(0,199,255,.06), transparent 60%),
    linear-gradient(180deg, #0a0c11 0%, #0d0f14 100%);
  color:var(--text);
  font-family: Ubuntu, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Subtiles Grid */
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.03) 0 1px, transparent 1px 64px);
  mask: linear-gradient(0deg, transparent, #000 15% 85%, transparent);
}

/* Headings & Links */
h1,h2,h3{
  color:var(--uv);
  text-shadow: var(--glow-uv);
  letter-spacing:.3px;
}
a{
  color:var(--neon-blue);
  text-decoration:none;
  transition: all .15s ease;
}
a:hover, a:focus{
  text-shadow: var(--glow-blue);
  outline:none;
}

/* Panels / Tables */
.container, .form-wrapper, .table-panel{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)) , var(--panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

table{
  width:100%;
  border-collapse:collapse;
}
th, td{
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
th{
  color:#d6d8e5;
  font-weight:600;
  border-bottom: 1px solid rgba(0,199,255,.25);
}

/* Neon Buttons – text-only with icon */
.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:0; margin:0;
  background:transparent; border:none;
  color:var(--text);
  font-weight:600;
  cursor:pointer;
  text-decoration:none;
}
/* Icons inherit button color */
.btn svg, .btn i{ font-style:normal; color:inherit; }
/* Generic icon container */
.icon{
  width:1em;
  height:1em;
  vertical-align:-0.125em;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
/* Spacing for icons inside buttons */
.btn .icon{ margin-right:.35rem; }
.btn:hover{ transform:translateY(-1px); }

.btn--edit{ color:var(--neon-blue); text-shadow:var(--glow-blue); }
.btn--edit:hover{ filter:brightness(1.15); }

.btn--delete{ color:var(--neon-red); text-shadow:var(--glow-red); }
.btn--delete:hover{ filter:brightness(1.15); }

.btn--success{ color:var(--neon-green); text-shadow:var(--glow-green); }
.btn--success:hover{ filter:brightness(1.15); }

.btn--danger{ color:var(--neon-red); text-shadow:var(--glow-red); }
.btn--ghost{ color:var(--muted); }
.btn--ghost:hover{ color:var(--neon-blue); text-shadow:var(--glow-blue); }

.actions .sep{ color:rgba(255,255,255,.25); padding:0 .35rem; }

/* Admin Dashboard Logo */
.dashboard-banner{
  display:block;
  margin:0 auto 10px;
  width:12%;
  max-height:80px;
}

/* Status – text badges (keine Balken) */
.status{
  font-weight:700;
  text-transform:lowercase;
  letter-spacing:.2px;
}
.status--offen{ color:var(--neon-red); text-shadow:var(--glow-red); }
.status--inbearbeitung{ color:var(--neon-yellow); text-shadow:var(--glow-yellow); }
.status--erledigt, .status--geschlossen{ color:var(--neon-green); text-shadow:var(--glow-green); }

/* Forms */
label{ color:#d1d5e6; font-weight:600; }
input[type="text"], input[type="email"], input[type="password"], select, textarea{
  width:100%;
  color:var(--text);
  background:#0f1219;
  border:1px solid #1f2432;
  border-radius:10px;
  padding:12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus{
  outline:none;
  border-color: rgba(0,199,255,.55);
  box-shadow: 0 0 0 3px rgba(0,199,255,.12);
}

/* Row hover */
tbody tr:hover{ background: rgba(255,255,255,.02); }

/* Utility */
.glow{ text-shadow: var(--glow-uv); }

/* Downloads – farbige Neon-Links */
.download-list li:nth-child(1) a { color: var(--neon-blue); text-shadow: var(--glow-blue); }
.download-list li:nth-child(2) a { color: var(--neon-green); text-shadow: var(--glow-green); }
.download-list li:nth-child(3) a { color: var(--neon-yellow); text-shadow: var(--glow-yellow); }
.download-list li:nth-child(4) a { color: var(--neon-red); text-shadow: var(--glow-red); }
.download-list li:nth-child(5) a { color: var(--uv); text-shadow: var(--glow-uv); }
.download-list li:nth-child(6) a { color: var(--neon-orange); text-shadow: var(--glow-orange); }
.download-list li:nth-child(7) a { color: var(--neon-pink); text-shadow: var(--glow-pink); }
.download-list li:nth-child(8) a { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }
.download-list li:nth-child(9) a { color: var(--neon-lime); text-shadow: var(--glow-lime); }
.download-list li:nth-child(10) a { color: var(--neon-teal); text-shadow: var(--glow-teal); }

/* Abrechnung page container */
/* Abrechnung page container */
.abrechnung-wrapper{
  background:rgba(15,18,25,0.8);
  border:1px solid var(--neon-blue);
  box-shadow:0 0 10px var(--neon-blue);
  max-width:100%;
  overflow-x:auto;
}

/* Abrechnung filters */
.abrechnung-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:15px;
  align-items:center;
}

/* Abrechnung table */
.abrechnung-table {
  width:100%;
  border-collapse:collapse;
}
.abrechnung-table th,
.abrechnung-table td {
  padding:8px;
  border-bottom:1px solid #333;
}
.abrechnung-table th {
  text-align:left;
  color:var(--neon-blue);
  text-shadow:var(--glow-blue);
}

/* Abrechnung description column */
.abrechnung-table .beschreibung{ width:200px; }
.abrechnung-table .beschreibung .scroll-text{
  width:200px;
  overflow:hidden;
}
.abrechnung-table .beschreibung .scroll-text span{
  display:inline-block;
  white-space:nowrap;
  /* Animation duration is set via JS for consistent speed */
  animation:scroll-left linear infinite;
  animation-duration:var(--scroll-duration,20s);
}

@keyframes scroll-left{
  from{transform:translateX(100%);}
  to{transform:translateX(-100%);}
}

/* Abrechnung action icons */
.icon-btn{
  background:none;
  border:none;
  color:var(--text);
  font-size:1.1rem;
  cursor:pointer;
  padding:0;
  text-decoration:none;
}
.icon-btn + .icon-btn{ margin-left:5px; }
.abrechnung-table .aktion{ white-space:nowrap; }

/* Abrechnung heading */
.abrechnung-wrapper h1{
  font-family:'Ubuntu',sans-serif;
  font-size:1.6rem;
  color:var(--neon-blue);
  text-shadow:var(--glow-blue);
}

/* Abrechnung - Summe der offenen Beträge */
.offen-betrag{
  font-family:'Ubuntu',sans-serif;
  font-size:1.2rem;
  margin-left:10px;
  color:var(--neon-green);
  text-shadow:var(--glow-green);
}

/* Rechnungszugriff: Layout Container */
.flex{
  display:flex;
  gap:20px;
}
.flex .left{flex:1;}
.flex .right{flex:1;}

/* Rechnungszugriff: Tabellen */
.flex table{width:100%;border-collapse:collapse;margin-top:10px;}
.flex th,.flex td{padding:6px;border-bottom:1px solid #333;}

/* Rechnungszugriff: Select2 Dropdown */
.select2-container--default .select2-selection--single{
  background:#111;
  border:1px solid var(--neon-blue);
  color:var(--neon-blue);
  text-shadow:0 0 5px var(--neon-blue);
}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;}
.select2-container--default .select2-results>.select2-results__options{background:#111;}
.select2-results__option{background:#111;}
.select2-results__option--highlighted{background:#222;}
.select2-results__option:nth-child(6n+1){color:#0ff;text-shadow:0 0 5px #0ff;}
.select2-results__option:nth-child(6n+2){color:#f0f;text-shadow:0 0 5px #f0f;}
.select2-results__option:nth-child(6n+3){color:#ff0;text-shadow:0 0 5px #ff0;}
.select2-results__option:nth-child(6n+4){color:#0f0;text-shadow:0 0 5px #0f0;}
.select2-results__option:nth-child(6n+5){color:#f80;text-shadow:0 0 5px #f80;}
.select2-results__option:nth-child(6n){color:#08f;text-shadow:0 0 5px #08f;}

/* 2FA Verwaltung: Neon-Links und textbasierte Buttons */
.neon-link{
  color:var(--neon-blue);
  text-shadow:var(--glow-blue);
  animation:neon-cycle 8s linear infinite;
  text-decoration:none;
}
.neon-link:hover{ text-shadow:0 0 5px currentColor,0 0 8px currentColor; }
.link-button{
  background:none;
  border:none;
  padding:0;
  font:inherit;
  cursor:pointer;
}
.top-links a{ margin-right:25px; }

/* Admin-Liste: Abstand & Icons */
.action-links a,
.action-links .link-button{ margin-right:20px; }
.action-links form{ display:inline; }

/* Neon link colour variants */
.neon-link.link-edit{ color:var(--neon-blue); text-shadow:var(--glow-blue); }
.neon-link.link-delete{ color:var(--neon-red); text-shadow:var(--glow-red); }
.neon-link.link-create{ color:var(--neon-green); text-shadow:var(--glow-green); }
.neon-link.link-reset{ color:var(--neon-yellow); text-shadow:var(--glow-yellow); }
.neon-link.link-activate{ color:var(--neon-green); text-shadow:var(--glow-green); }
.neon-link.link-back{ color:var(--uv); text-shadow:var(--glow-uv); }
