:root {
  --bg: #010901;
  --bg-alt: #050914;
  --panel: #050914;
  --panel-soft: #050914cc;
  --border: rgba(255, 255, 255, 0.10);
  --accent: #a855f7;
  --accent-strong: #d946ef;
  --cyan: #06ffd2;
  --text: #f9fafb;
  --muted: #9ca3af;
  --danger: #ef4444;
  --success: #22c55e;
}

/* Grundlayout */
body {
  background:
    radial-gradient(circle at top, #050822 0, #010901 45%),
    #010901;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* Container an OverHost angepasst (OK auch für Legal-Pages) */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero-Bereich wie bei deinen Rechtstexten */
.hero {
  padding: 5rem 0 2rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 700;
}

.hero-copy p {
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Gradient-Text */
.gradient {
  background: linear-gradient(135deg, var(--cyan), var(--accent-strong));
  -webkit-background-clip: text;
  color: transparent;
}

/* Bereich für Inhalte */
.offers {
  padding: 1rem 0 4rem;
}

@media (max-width: 768px) {
    .oh-header {
        flex-direction: column;
        align-items: center;
    }

    .oh-nav {
        display: none;  /* Standardmäßig ausblenden */
        flex-direction: column;
        gap: 1rem;
    }

    .hamburger-menu.active + .oh-nav {
        display: flex;  /* Menü anzeigen, wenn der Hamburger-Button aktiv ist */
    }

    .hamburger-menu {
        display: block;
        background-color: transparent;
        border: none;
        color: #fff;
        font-size: 30px;
    }
}

.oh-logo:hover {
    color: #fff; /* Bei Hover soll der Text weiß werden */
}
.dropdown-content {
    background-color: var(--panel);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    z-index: 1;
    padding: 10px 15px;
}

.dropdown-content a {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--cyan);
    color: var(--text);
    border-radius: 8px;
}

.btn-primary {
    background-color: var(--cyan);
    border: none;
    color: var(--text);
    padding: 0.65rem 1.4rem;
    font-size: 0.95rem;
    border-radius: 999px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: filter 150ms ease, background-color 150ms ease;
}

.btn-primary:hover {
    filter: brightness(1.05); /* Helligkeit beim Hover */
}
.btn-primary-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn-primary-ghost:hover {
    filter: brightness(1.05);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: 1px solid rgba(52, 211, 153, 0.7); /* emerald-400-ish */
    color: #6ee7b7; /* emerald-300-ish */
    background: transparent;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn-secondary:hover {
    background-color: rgba(52, 211, 153, 0.1);
    border-color: #6ee7b7;
}

/* Plexi-Card wie auf /agb, /impressum etc. */
.card {
  background: var(--panel-soft);
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  padding: 2rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* Buttons im OverHost-Stil (für Marketing-Seiten) */
.btn-oh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-oh-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-oh:hover,
.btn-oh-ghost:hover {
  filter: brightness(1.05);
}


/* Header / Footer Hilfsklassen für OverHost-Website */
.oh-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(1, 9, 1, 0.96), rgba(1, 9, 1, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.oh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.oh-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: transparent;
    background: linear-gradient(135deg, #a855f7, #06ffd2);
    -webkit-background-clip: text;
    background-clip: text;
    transition: color 0.3s ease-in-out;
}

.oh-logo img {
  height: 30px;
  width: auto;
}

.oh-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.oh-nav a:hover .mr-2 {
    transform: scale(1.2);  /* Icons leicht vergrößern bei Hover */
    transition: transform 0.3s ease-in-out;
}

.oh-nav a {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.oh-nav a:hover {
    background-color: rgba(6, 255, 210, 0.2);
    transform: scale(1.05);  /* Leichtes Wachsen beim Hover */
}

.oh-subnav {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(5, 9, 20, 0.9);
}

.oh-subnav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
}

.oh-subnav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.oh-subnav-link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(6, 255, 210, 0.6);
}

.oh-subnav-link.active,
.oh-subnav-link.is-active {
  color: #fff;
  border-bottom-color: var(--cyan);
}

.oh-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(1, 9, 1, 0.96);
  margin-top: 2rem;
}

.oh-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.oh-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.85rem;
}

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

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

/* ===========================
   WemX Client-Panel Styles
   (nur innerhalb .app scopen)
   =========================== */

.app {
  color: var(--text);
}

/* Panel / Cards im Client-Panel */
.app .card,
.app .panel,
.app .box,
.app .table-wrapper {
  background: var(--panel-soft);
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
}

/* Buttons im Client-Bereich */
.app .btn,
.app button[type="submit"],
.app input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.app .btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6); /* wie Website-Tarife */
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.75);
}

.app .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.85);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.app .btn-outline,
.app .btn-secondary {
  background: rgba(15, 23, 42, 0.9);           /* dunkle, ruhige Fläche */
  border-color: rgba(148, 163, 184, 0.35);     /* dezente Linie */
  color: #e5e7eb;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.65);
}

.app .btn-outline:hover,
.app .btn-secondary:hover {
  background: rgba(15, 23, 42, 1);             /* etwas heller statt neon */
  border-color: rgba(191, 219, 254, 0.85);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.85);
  transform: translateY(-1px);
}

/* Inputs & Selects */
.app input[type="text"],
.app input[type="email"],
.app input[type="password"],
.app input[type="number"],
.app select,
.app textarea {
  background: rgba(5, 9, 20, 0.96);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  color: var(--text);
}

.app input:focus,
.app select:focus,
.app textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(6, 255, 210, 0.45);
}

/* Tabellen */
.app table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.app table thead tr {
  background: rgba(5, 9, 20, 0.95);
}

.app table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0.9rem;
}

.app table tbody tr {
  background: rgba(5, 9, 20, 0.8);
}

.app table tbody tr:nth-child(even) {
  background: rgba(5, 9, 20, 0.9);
}

.app table tbody tr:hover {
  background: rgba(5, 9, 20, 1);
}

.app table tbody td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.oh-card {
  background: var(--panel-soft);
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
}

.app .ticket-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.app .ticket-badge-open {
  background: rgba(34, 197, 94, 0.08);   /* success */
  border-color: rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
}

.app .ticket-badge-closed {
  background: rgba(248, 113, 113, 0.08); /* danger */
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

.ticket-card {
    background: var(--panel);
    border-radius: 1.25rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.ticket-table {
    background: var(--panel);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

.ticket-row:hover {
    background-color: rgba(5, 9, 20, 0.9);
}

/* Allgemeine Input- und Select-Felder */
.input-field, .select-field, .textarea-field {
    background-color: rgba(5, 9, 20, 0.96); /* Dunkler Hintergrund */
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.875rem;
    width: 100%; /* Vollständig ausfüllen */
}

.input-field:focus, .select-field:focus, .textarea-field:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 1px rgba(6, 255, 210, 0.45); /* Hellerer Fokus-Effekt */
}

.department-card {
    background-color: var(--panel); /* Darker background to match the theme */
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.department-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.textarea-field {
    background-color: rgba(5, 9, 20, 0.96);
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 12px;
    color: var(--text);
    font-size: 0.875rem;
    width: 100%;
    min-height: 150px;
    resize: vertical; /* Vertikal vergrößern */
}

/* Struktur der Formularelemente */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Form-Titel */
h2, label {
    font-weight: 700;
    color: var(--text);
}

.group:hover, .group:focus, .group.active {
    text-color: var(--cyan);  /* Helleres Blau für den aktiven Tab */
    border-bottom: 2px solid var(--cyan);
}

/* Hover-Effekte für die Menüelemente */
.group:hover {
    color: var(--cyan);
    border-bottom: 2px solid var(--cyan);
    transform: scale(1.05); /* Kleinere Vergrößerung für interaktive Wirkung */
}

/* Für Icons in der Navigation */
.group .mr-2 {
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Icons im Hover-Zustand leicht vergrößern */
.group:hover .mr-2 {
    transform: scale(1.2);
}