﻿/* === DUNKLES DESIGN-SYSTEM (basierend auf Live-Funk-Player) === */
/* Schrift lokal gehostet (keine Anfrage an Google Fonts) */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-800.woff2') format('woff2');
}

:root {
  --dfb-bg: #0f0f1e;
  --dfb-surface: rgba(22, 24, 40, 0.92);
  --dfb-text: #f1f1f1;
  --dfb-muted: rgba(241, 241, 241, 0.68);
  --dfb-accent: #00b8b8;
  --dfb-accent-soft: rgba(0, 184, 184, 0.14);
  --dfb-accent-border: rgba(0, 184, 184, 0.35);
  --dfb-nav-bg: rgba(12, 14, 24, 0.82);
  --dfb-radius: 14px;
  --dfb-ease: 0.22s ease;
}

body {
	padding-top: 64px;
	padding-bottom: 0;
	background-color: var(--dfb-bg) !important;
	background-image: url('../playerH/img/bg.png') !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-attachment: fixed !important;
	color: var(--dfb-text) !important;
	font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a {
	text-decoration: none;
}

.hide {
	display: none !important;
}

.z-2 {
	z-index: 2000;
}

.rounded {
	border-radius: 5px;
}

.centered {
	display: block;
	margin: auto;
}

.relative {
	position: relative;
}

.top-left {
	position: absolute;
	top: 0px;
	left: 0px;
}

.top-right {
	position: absolute;
	top: 0px;
	right: 0px;
}

.bottom-left {
	position: absolute;
	bottom: 0px;
	left: 0px;
}

.bottom-right {
	position: absolute;
	bottom: 0px;
	right: 0px;
}

.navbar-brand {
	margin-left: 0px !important;
}

.navbar,
.navbar.bg-primary,
.navbar-dark.bg-primary {
  background: var(--dfb-nav-bg) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar-header {
	padding-left: 40px;
}

.btn-group-xs > .btn, .btn-xs {
	padding: 1px 5px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 3px;
}

.divider {
	width: 100%;
	text-align: center;
}

.divider hr {
	margin-left: auto;
	margin-right: auto;
	width: 45%;
}

.fa-2 {
	font-size: 2em !important;
}
.fa-3 {
	font-size: 4em !important;
}
.fa-4 {
	font-size: 7em !important;
}
.fa-xl {
	font-size: 12em !important;
}
.fa-6 {
	font-size: 20em !important;
}

div.no-video-container {
	position: relative;
}

.no-video-icon {
	width: 100%;
	height: 240px;
	text-align: center;
	padding-top: 5rem !important;
}

.no-video-text {
	text-align: center;
	position: absolute;
	bottom: 0px;
	right: 0px;
	left: 0px;
	font-size: 24px;
}

.meetecho-logo {
	padding: 12px !important;
}

.meetecho-logo > img {
	height: 26px;
}

pre {
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
	background-color: #f5f5f5;
}

.bg-gray {
	background-color: #f5f5f5;
} 

.januscon {
	font-weight: bold;
	animation: pulsating 1s infinite;
}
@keyframes pulsating {
	30% {
		color: #FFD700;
	}
}
/* === MODERNIZED NAVBAR (dunkles Theme) === */
.navbar {
	background: rgba(16, 16, 31, 0.95);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .navbar-brand {
	font-weight: bold;
	font-size: 1.25rem;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.nav-link {
	color: #ffffff !important;
	font-weight: 500;
	letter-spacing: 0.5px;
	transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
	color: #ffe082 !important;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
}

.dropdown-menu {
	border-radius: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	background: linear-gradient(135deg, rgba(32, 32, 64, 0.95), rgba(24, 24, 48, 0.95)) !important;
}

.dropdown-item {
	color: #f1f1f1 !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
	background-color: rgba(0, 184, 184, 0.2) !important;
	color: #00b8b8 !important;
}

.navbar-toggler {
	border: none;
}
.navbar-toggler-icon {
	background-color: #ffffff;
	width: 24px;
	height: 2px;
	display: block;
	position: relative;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
	content: "";
	position: absolute;
	width: 24px;
	height: 2px;
	background-color: #ffffff;
	left: 0;
}
.navbar-toggler-icon::before {
	top: -8px;
}
.navbar-toggler-icon::after {
	top: 8px;
}

/* === MODERNIZED FOOTER (dunkles Theme) === */
footer.navbar,
footer.fixed-bottom,
footer {
	background: linear-gradient(135deg, #181830, #10101f) !important;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
	font-size: 0.9rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
	padding: 1rem 0 !important;
}

footer .container {
	background: transparent !important;
}

footer .nav-link {
	color: #ffffff !important;
	transition: color 0.3s ease;
}

footer .nav-link:hover {
	color: #00b8b8 !important;
	transform: translateY(-2px);
}

footer i {
	color: #00b8b8;
}

footer strong {
	color: #00b8b8;
}

footer .fa-file-alt {
	margin-right: 4px;
}
.dropdown-login {
    background: linear-gradient(135deg, rgba(32, 32, 64, 0.95), rgba(24, 24, 48, 0.95)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    width: 280px;
    color: #f1f1f1 !important;
}

.dropdown-login .form-label {
    color: #f1f1f1 !important;
}

.dropdown-login input {
    font-size: 0.9rem;
    background: linear-gradient(135deg, #1f1f32, #17172a) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f1f1f1 !important;
}

.dropdown-login input:focus {
    background: linear-gradient(135deg, #252548, #1d1d3a) !important;
    border-color: rgba(0, 184, 184, 0.4) !important;
    color: #f1f1f1 !important;
    box-shadow: 0 0 0 3px rgba(0, 184, 184, 0.15) !important;
}

.dropdown-login input::placeholder {
    color: rgba(241, 241, 241, 0.5) !important;
}

.dropdown-login hr {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dropdown-login p,
.dropdown-login .small {
    color: #f1f1f1 !important;
}

.dropdown-login .text-muted {
    color: rgba(241, 241, 241, 0.7) !important;
}

.dropdown-login strong {
    color: #f1f1f1 !important;
}
/* Floating Logo Ã¼ber der Navbar */
.navbar-logo {
    position: absolute;
    top: +30px; /* halb Ã¼ber der Navbar */
    left: 0px;
    z-index: 9999;
}

.navbar-floating-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.channel-tree ul {
  list-style-type: none;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px dashed #ccc;
}
.channel-tree li {
  margin: 4px 0;
}
.display-5 {
  font-weight: 600;
  font-size: 2.2rem;
}
.btn-lg {
  padding: 0.6rem 1.5rem;
  font-size: 1.1rem;
}
.card-title i {
  opacity: 0.8;
}
.navbar-nav .nav-link.active {
  background: rgba(0, 184, 184, 0.16);
  color: white !important;
  border-radius: 8px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
/* âœ… Glass Effect (dunkles Theme) */
.glass-navbar {
  background: rgba(16, 16, 31, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease-in-out;
}

/* Alte Unterstrich-Animation entfernt — kollidierte mit Bootstrap-Dropdown-Caret (::after) */
.navbar-nav > .nav-item > .nav-link::after {
  content: none;
  display: none;
}

.navbar-nav > .nav-item > .nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.35em;
  vertical-align: 0.2em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  position: static;
  width: auto;
  height: auto;
  background: none;
  left: auto;
  bottom: auto;
  transition: none;
}

.navbar-nav .nav-link.active {
  background: rgba(0, 184, 184, 0.16);
  color: #fff !important;
  border-radius: 8px;
}
/* Avatar-Kreis oben */
.styled-login img {
  transition: transform 0.3s ease;
}
.styled-login img:hover {
  transform: scale(1.1);
}

/* Glass + Schatten Style */
.styled-login {
  background: linear-gradient(135deg, rgba(32, 32, 64, 0.95), rgba(24, 24, 48, 0.95)) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #f1f1f1 !important;
}

/* Eingeloggt-Button Glow */
.glow-button {
  box-shadow: 0 0 8px rgba(0, 184, 184, 0.35);
  transition: all var(--dfb-ease);
}

.glow-button:hover {
  box-shadow: 0 0 12px rgba(0, 184, 184, 0.5);
}

/* Icon Glow im Login Link */
.login-toggle-glow i {
  text-shadow: 0 0 4px rgba(0, 212, 212, 0.35);
  transition: text-shadow var(--dfb-ease);
}
.login-toggle-glow:hover i {
  text-shadow: 0 0 8px rgba(0, 184, 184, 0.7);
}

/* === MODERNE CARD-DESIGNS (Dunkles Theme) === */
.modern-card {
  background: rgba(22, 24, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  overflow: hidden;
  position: relative;
  color: #f1f1f1;
}

.modern-card:hover {
  border-color: rgba(0, 184, 184, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  background: rgba(26, 28, 48, 0.96);
}

.modern-card .card-title {
  color: #f1f1f1;
}

.modern-card .card-title i {
  display: inline-block;
  color: #00b8b8;
}

.modern-card .card-text {
  color: rgba(241, 241, 241, 0.9);
}

/* Card mit Farbverlauf-Border (dunkles Theme) */
.card-success-gradient,
.card-info-gradient {
  border: 1px solid rgba(0, 184, 184, 0.18);
  background: rgba(22, 24, 40, 0.92);
}

/* Text-Farben fuer Cards */
.modern-card .text-success {
  color: #22c55e !important;
}

.modern-card .text-info {
  color: #00b8b8 !important;
}

.modern-card .text-muted {
  color: rgba(241, 241, 241, 0.6) !important;
}

/* === STATUS BADGES (dunkles Theme) === */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.status-badge.online {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: none;
  animation: none;
}

.status-badge.offline {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: none;
}

.status-badge.error {
  background: rgba(251, 191, 36, 0.14);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: none;
}

.status-badge .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.status-badge.online .status-dot {
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: statusDotPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(25, 135, 84, 0.6);
    transform: scale(1.02);
  }
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.3);
  }
}

@keyframes statusDotPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
  }
  50% {
    opacity: 0.85;
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
}

/* === MODERNERE BUTTONS (dunkles Theme) === */
.modern-btn {
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f1f1f1 !important;
  box-shadow: none;
  border-radius: 12px;
}

.modern-btn:hover {
  background: rgba(0, 184, 184, 0.16) !important;
  border-color: rgba(0, 184, 184, 0.45) !important;
  box-shadow: none;
  color: #fff !important;
}

.modern-btn.btn-primary,
.btn.btn-primary.modern-btn {
  background: linear-gradient(135deg, #00b8b8, #009999) !important;
  border-color: transparent !important;
  color: #041818 !important;
}

.modern-btn.btn-primary:hover,
.btn.btn-primary.modern-btn:hover {
  background: linear-gradient(135deg, #00cfcf, #00a8a8) !important;
  color: #041818 !important;
}

.modern-btn.btn-info,
.btn.btn-info.modern-btn {
  background: var(--dfb-accent-soft) !important;
  border-color: var(--dfb-accent-border) !important;
  color: #5ee7e7 !important;
}

.modern-btn.btn-success {
  background: #12a35a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.modern-btn.btn-success:hover {
  background: #0f8f4e !important;
  box-shadow: none;
}

.modern-btn.btn-outline-primary,
.modern-btn.btn-outline-info {
  background: transparent !important;
  border-color: rgba(0, 184, 184, 0.45) !important;
  color: #5ee7e7 !important;
}

.modern-btn.btn-outline-primary:hover,
.modern-btn.btn-outline-info:hover {
  background: rgba(0, 184, 184, 0.16) !important;
  border-color: rgba(0, 184, 184, 0.65) !important;
  color: #fff !important;
}

.modern-btn > * {
  position: relative;
  z-index: 1;
}

/* === HERO-BEREICH VERBESSERUNGEN (dunkles Theme) === */
.hero-section {
  position: relative;
  padding: 3rem 0;
  animation: fadeInUp 0.8s ease-out;
}

.hero-container {
  background: linear-gradient(135deg, rgba(32, 32, 64, 0.9), rgba(24, 24, 48, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem;
}

.hero-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-title {
  background: linear-gradient(135deg, #00b8b8, #00a2a2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle,
.hero-section p,
.hero-section .lead {
  color: rgba(241, 241, 241, 0.9) !important;
}

/* === PAGE HEADER CONTAINER (fÃ¼r Ãœberschriften auf Unterseiten) === */
.page-header-container {
  background: linear-gradient(135deg, rgba(32, 32, 64, 0.9), rgba(24, 24, 48, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2.5rem 3rem !important;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  overflow: visible;
}

.page-header-container h1,
.page-header-container h2,
.page-header-container h3,
.page-header-container h4 {
  color: #f1f1f1 !important;
  margin: 0;
  padding: 0;
  padding-left: 0;
  padding-right: 0;
}

.page-header-container .border-bottom {
  border-color: rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  margin-top: 0;
}

.page-header-container p,
.page-header-container strong {
  padding-left: 0;
  padding-right: 0;
}

/* Mobile Anpassungen fÃ¼r besseres Padding */
@media (max-width: 768px) {
  .page-header-container {
    padding: 1.5rem 1.75rem !important;
  }
  
  .modern-card .card-body {
    padding: 1.5rem 1.75rem !important;
  }
  
  .hero-container {
    padding: 1.5rem 1.75rem !important;
  }
}

/* === MODERN CARD PADDING VERBESSERUNG === */
.modern-card .card-body {
  padding: 2.5rem 3rem !important;
}

.modern-card p {
  margin-bottom: 1rem;
  line-height: 1.7;
  padding-left: 0;
  padding-right: 0;
}

.modern-card h1,
.modern-card h2,
.modern-card h3,
.modern-card h4,
.modern-card h5,
.modern-card h6 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Sicherstellen, dass Text nicht an den Ecken abschneidet */
.modern-card {
  overflow: visible;
}

.modern-card .card-body {
  overflow: visible;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* === FOOTER VERBESSERUNGEN === */
footer.navbar {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
  padding: 1rem 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .nav-link {
  color: #ffffff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

footer .nav-link:hover {
  color: #ffe082;
  transform: translateY(-2px);
}

footer .nav-link i {
  transition: transform 0.3s ease;
}

footer .nav-link:hover i {
  transform: scale(1.2);
}

/* === SMOOTH SCROLLING === */
html {
  scroll-behavior: smooth;
}

/* === CARD CONTENT ANIMATION === */
.card-body {
  transition: all 0.3s ease;
}

.modern-card:hover .card-body {
  transform: none;
}

/* === COOKIE-BANNER (DSGVO-konform) === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, rgba(32, 32, 64, 0.98), rgba(24, 24, 48, 0.98));
  border-top: 2px solid rgba(0, 184, 184, 0.3);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-banner-text h5 {
  color: #00b8b8;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cookie-banner-text p {
  color: #f1f1f1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-banner-text a {
  color: #00b8b8;
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: #00a2a2;
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-banner-actions {
    width: 100%;
  }
  
  .cookie-banner-actions button {
    flex: 1;
  }
}

/* === STATISTIK ANZEIGEN (dunkles Theme) === */
.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00b8b8, #00a2a2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  transition: all 0.3s ease;
  color: #00b8b8;
}

.modern-card:hover .stat-number {
  transform: none;
}

/* ZusÃ¤tzliche Anpassungen fÃ¼r dunkles Theme */
strong {
  color: #f1f1f1;
}

.text-primary {
  color: #00b8b8 !important;
}

.alert {
  background: linear-gradient(135deg, #1f1f32, #17172a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f1f1;
}

.alert-info {
  background: linear-gradient(135deg, #1f2f32, #171f2a);
  border-color: rgba(0, 184, 184, 0.3);
  color: #f1f1f1;
}

.alert-success {
  background: linear-gradient(135deg, #1f2f28, #171f22);
  border-color: rgba(34, 197, 94, 0.3);
  color: #f1f1f1;
}

.alert-warning {
  background: linear-gradient(135deg, #2f2f1f, #272716);
  border-color: rgba(251, 191, 36, 0.3);
  color: #f1f1f1;
}

.alert-danger {
  background: linear-gradient(135deg, #2f1f1f, #271616);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f1f1f1;
}

.table {
  color: #f1f1f1;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}

.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.form-control {
  background: linear-gradient(135deg, #1f1f32, #17172a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f1f1;
  border-radius: 10px;
}

.form-control:focus {
  background: linear-gradient(135deg, #1f1f32, #17172a);
  border-color: rgba(0, 184, 184, 0.4);
  color: #f1f1f1;
  box-shadow: 0 0 0 3px rgba(0, 184, 184, 0.15);
}

.form-control::placeholder {
  color: rgba(241, 241, 241, 0.4);
}

hr {
  border-color: rgba(255, 255, 255, 0.1);
}

a {
  color: #00b8b8;
  transition: color 0.3s ease;
}

a:hover {
  color: #00a2a2;
}

a.text-info {
  color: #00b8b8 !important;
}

a.text-info:hover {
  color: #00a2a2 !important;
}

.list-group-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f1f1;
}

.border-bottom {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* === ICON ANIMATIONEN === */
.card-icon {
  display: inline-block;
}

/* === STARTSEITE (Home Landing) === */
body.home-page {
  padding-bottom: 0;
}

.home-main {
  position: relative;
}

.home-hero {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: center;
  padding: 2.5rem 0 1.5rem;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0, 184, 184, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(10, 12, 22, 0.15) 0%, rgba(10, 12, 22, 0.55) 100%);
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.7s ease-out both;
}


.home-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.35rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #e8ffff 0%, #00d4d4 45%, #00a2a2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.75s ease-out 0.08s both;
}

.home-hero__lead {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.55;
  color: rgba(241, 241, 241, 0.82) !important;
  animation: fadeInUp 0.75s ease-out 0.16s both;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  animation: fadeInUp 0.75s ease-out 0.24s both;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-cta:hover {
  transform: none;
}

.home-cta--primary {
  background: linear-gradient(135deg, #00b8b8, #009090);
  color: #041818 !important;
  box-shadow: 0 8px 24px rgba(0, 184, 184, 0.28);
}

.home-cta--primary:hover {
  color: #041818 !important;
  box-shadow: 0 10px 28px rgba(0, 184, 184, 0.38);
}

.home-cta--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 184, 184, 0.45);
  color: #e8ffff !important;
}

.home-cta--secondary:hover {
  background: rgba(0, 184, 184, 0.14);
  color: #fff !important;
}

.home-cta--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(241, 241, 241, 0.88) !important;
}

.home-cta--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
}

.home-services,
.home-explore {
  padding: 1.25rem 0 2.5rem;
}

.home-section-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.home-section-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: #f1f1f1;
}

.home-section-head p {
  margin: 0;
  color: rgba(241, 241, 241, 0.65);
  font-size: 0.98rem;
}

.home-service-card .card-body {
  gap: 0.25rem;
}

.home-stat-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(241, 241, 241, 0.75) !important;
}

.home-server-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 1.5rem;
}

.home-server-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 184, 184, 0.22);
  background: rgba(0, 184, 184, 0.06);
  color: rgba(232, 255, 255, 0.95) !important;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-server-link:hover {
  background: rgba(0, 184, 184, 0.14);
  border-color: rgba(0, 184, 184, 0.4);
  color: #fff !important;
}

.home-server-link i {
  opacity: 0.75;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.home-server-empty {
  color: rgba(241, 241, 241, 0.5) !important;
  font-size: 0.85rem;
}

.home-explore__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-explore__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 108px;
  padding: 1rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(32, 32, 64, 0.85), rgba(24, 24, 48, 0.9));
  color: rgba(241, 241, 241, 0.92) !important;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-explore__item i {
  font-size: 1.35rem;
  color: #00b8b8;
}

.home-explore__item span {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.home-explore__item:hover {
  transform: none;
  border-color: rgba(0, 184, 184, 0.35);
  background: rgba(28, 30, 50, 0.95);
  color: #fff !important;
}

@media (max-width: 991px) {
  .home-explore__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .home-hero {
    min-height: auto;
    padding: 1.75rem 0 0.75rem;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-cta {
    width: 100%;
  }

  .home-services,
  .home-explore {
    padding-top: 0.75rem;
  }
}

[data-app-download].is-locked,
[data-app-web-client].is-locked {
  opacity: 0.72;
  cursor: not-allowed;
}

[data-app-download].is-locked:hover,
[data-app-web-client].is-locked:hover {
  transform: none;
}

.home-cta.is-locked:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(241, 241, 241, 0.88) !important;
}

.home-explore__item.is-locked:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.08);
}

/* === APP LANDING (app.html) === */
.app-page .app-main {
  padding-bottom: 1rem;
}

.app-hero {
  padding: 2rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.app-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(0, 184, 184, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 40% at 90% 60%, rgba(13, 110, 253, 0.1), transparent 50%);
  pointer-events: none;
}

.app-hero .container {
  position: relative;
  z-index: 1;
}

.app-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.app-kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 212, 212, 0.95);
}

.app-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #e8ffff 0%, #00d4d4 50%, #00a2a2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-hero__lead {
  margin: 0 0 1.25rem;
  max-width: 34rem;
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(241, 241, 241, 0.85);
}

.app-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.app-hero__bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  color: rgba(241, 241, 241, 0.88);
  font-size: 0.98rem;
}

.app-hero__bullets i {
  color: #00b8b8;
  font-size: 0.85rem;
}

.app-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.app-download-hint {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: rgba(241, 241, 241, 0.62);
}

.app-download-hint a {
  color: #00d4d4;
  font-weight: 600;
}

.app-meta {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(241, 241, 241, 0.45);
}

.app-changelog {
  display: grid;
  gap: 0.85rem;
  max-width: 720px;
  margin: 0 auto;
}

.app-changelog__item {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(12, 16, 32, 0.45);
}

.app-changelog__item.is-current {
  border-color: rgba(0, 184, 184, 0.35);
  background: rgba(0, 184, 184, 0.08);
}

.app-changelog__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

.app-changelog__ver {
  font-weight: 700;
  color: #00d4d4;
  font-size: 1.05rem;
}

.app-changelog__date {
  font-size: 0.8rem;
  color: rgba(241, 241, 241, 0.45);
}

.app-changelog__notes {
  margin: 0;
  color: rgba(241, 241, 241, 0.78);
  line-height: 1.45;
  font-size: 0.95rem;
}

html[data-theme="light"] .app-changelog__item {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .app-changelog__item.is-current {
  background: rgba(0, 184, 184, 0.1);
  border-color: rgba(0, 140, 140, 0.35);
}

html[data-theme="light"] .app-changelog__notes {
  color: rgba(20, 28, 40, 0.82);
}

.app-hero__phone {
  display: flex;
  justify-content: center;
}

.app-phone {
  width: min(100%, 280px);
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(40, 44, 72, 0.95), rgba(18, 20, 32, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 184, 184, 0.12);
}

.app-phone img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top center;
  border-radius: 20px;
  background: #0a0a14;
}

.app-phone--sm {
  width: min(100%, 220px);
  border-radius: 22px;
  padding: 8px;
  overflow: visible;
}

.app-phone--sm img {
  border-radius: 16px;
}

.app-section--shots {
  overflow: visible;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-section {
  padding: 2.25rem 0;
}

.app-shots,
.app-shot,
.app-shot__btn {
  overflow: visible;
}

.app-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.app-feature {
  padding: 1.35rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(32, 32, 64, 0.88), rgba(24, 24, 48, 0.92));
}

.app-feature__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  background: rgba(0, 184, 184, 0.12);
  color: #00b8b8;
  font-size: 1.1rem;
}

.app-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f1f1;
}

.app-feature p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(241, 241, 241, 0.68);
}

.app-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.app-shot {
  margin: 0;
  text-align: center;
}

.app-shot figcaption {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(241, 241, 241, 0.75);
}

.app-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 1rem;
}

.app-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 24, 48, 0.75);
}

.app-step__num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #041818;
  background: linear-gradient(135deg, #00b8b8, #009090);
}

.app-step h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: #f1f1f1;
}

.app-step p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(241, 241, 241, 0.7);
  line-height: 1.5;
}

.app-note {
  max-width: 820px;
  margin: 0 auto;
}

.app-download-band {
  padding: 2.5rem 0 3rem;
}

.app-download-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 184, 184, 0.28);
  background:
    linear-gradient(135deg, rgba(0, 184, 184, 0.12), rgba(24, 24, 48, 0.9));
}

.app-download-band h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: #f1f1f1;
}

.app-download-band p {
  margin: 0;
  color: rgba(241, 241, 241, 0.7);
}

@media (max-width: 991px) {
  .app-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-hero__lead,
  .app-hero__bullets {
    margin-left: auto;
    margin-right: auto;
  }

  .app-hero__bullets li {
    justify-content: center;
  }

  .app-hero__actions {
    justify-content: center;
  }

  .app-hero__phone {
    order: -1;
  }

  .app-phone {
    width: min(100%, 240px);
  }

  .app-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .app-feature-grid {
    grid-template-columns: 1fr;
  }

  .app-download-band__inner {
    flex-direction: column;
    text-align: center;
  }

  .app-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* === SITE-WIDE 2026 MODERNISIERUNG === */
body.home-page {
  padding-bottom: 0;
}

main,
.container.py-5,
body > .container {
  flex: 1 0 auto;
}

/* Footer: nicht mehr fixed — fließt unter dem Inhalt */
footer.fixed-bottom,
footer.site-footer,
.site-footer {
  position: static !important;
  bottom: auto !important;
  margin-top: auto;
  flex-shrink: 0;
  background: rgba(10, 12, 20, 0.88) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  box-shadow: none !important;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  color: rgba(241, 241, 241, 0.82);
  font-size: 0.88rem;
}

.site-footer__links,
.site-footer__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}

.site-footer a {
  color: rgba(226, 232, 240, 0.9) !important;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  color: #00d4d4 !important;
}

.site-footer strong {
  color: #fff;
  font-weight: 700;
}

.site-nav.glass-navbar,
.navbar.glass-navbar,
.navbar.fixed-top {
  background: var(--dfb-nav-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none !important;
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
  min-height: 56px;
}

.site-nav .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav .navbar-brand {
  white-space: nowrap;
  margin-right: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.2;
}

.site-nav .navbar-nav {
  gap: 0.15rem;
  align-items: center !important;
}

.site-nav .nav-item {
  display: flex;
  align-items: center;
}

.site-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.2;
  white-space: nowrap;
  padding: 0.45rem 0.6rem !important;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92) !important;
  background: transparent;
  border: 0;
}

.site-nav .nav-link i {
  font-size: 0.92rem;
  line-height: 1;
  width: 1em;
  text-align: center;
  flex-shrink: 0;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  background: var(--dfb-accent-soft) !important;
  color: #fff !important;
}

.site-nav .nav-link.active,
.site-nav .nav-link.show,
.navbar-nav .nav-link.active {
  background: rgba(0, 184, 184, 0.2) !important;
  color: #5ee7e7 !important;
  box-shadow: inset 0 -2px 0 var(--dfb-accent);
  border-radius: 8px;
}

.site-nav .dropdown-item.active,
.site-nav .dropdown-item:active {
  background: var(--dfb-accent-soft) !important;
  color: #5ee7e7 !important;
}

.site-nav .nav-link.dropdown-toggle::after {
  margin-left: 0.3em;
  opacity: 0.75;
}

.site-nav .theme-toggle-btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0 !important;
  justify-content: center;
  border-radius: 8px;
  color: #5ee7e7 !important;
}

.site-nav .theme-toggle-btn:hover,
.site-nav .theme-toggle-btn:focus {
  background: rgba(0, 184, 184, 0.16) !important;
  color: #fff !important;
}

.site-nav .dropdown-menu-dark {
  background: rgba(20, 22, 36, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.4rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.site-nav .dropdown-item {
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.page-header-container {
  background: linear-gradient(145deg, rgba(32, 36, 64, 0.92), rgba(18, 20, 36, 0.94));
  border: 1px solid rgba(0, 184, 184, 0.18);
  border-radius: 16px;
  padding: 1.75rem 1.75rem !important;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.page-header-container h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #f1ffff, #00d4d4 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header-container p,
.page-header-container .page-lead {
  margin: 0;
  color: rgba(241, 241, 241, 0.7) !important;
  font-size: 1.02rem;
}

.auth-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
}

.auth-shell .modern-card .card-body {
  padding: 1.75rem !important;
}

.auth-shell .form-label {
  font-weight: 600;
  font-size: 0.88rem;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.server-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.server-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.2rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(32, 32, 64, 0.9), rgba(22, 24, 42, 0.95));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.server-card:hover {
  border-color: rgba(0, 184, 184, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  background: rgba(26, 30, 48, 0.96);
}

.server-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.server-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f1f1;
}

.server-card__url {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: rgba(241, 241, 241, 0.45);
  word-break: break-all;
}

.server-card__desc {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(241, 241, 241, 0.7);
  line-height: 1.45;
}

.server-card__meta {
  min-height: 1.25rem;
  font-size: 0.82rem;
  color: rgba(0, 212, 212, 0.9);
}

.server-card__action {
  margin-top: auto;
}

.log-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.log-entry {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 26, 44, 0.88);
}

.log-entry__name {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

.log-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: rgba(241, 241, 241, 0.65);
}

.log-entry__date {
  font-size: 0.78rem;
  color: rgba(241, 241, 241, 0.45);
}

.log-entry__actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.4rem;
}

.content-section {
  padding-bottom: 2.5rem;
}

.cookie-banner {
  bottom: 0;
  border-radius: 16px 16px 0 0;
  border-top: 1px solid rgba(0, 184, 184, 0.35);
}

.cookie-banner[role="dialog"] {
  outline: none;
}

.cookie-banner-actions .btn {
  min-height: 42px;
}

@media (max-width: 768px) {
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__links,
  .site-footer__stats {
    justify-content: center;
  }

  .site-nav .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(16, 18, 30, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav .navbar-nav {
    align-items: stretch !important;
    gap: 0.2rem;
  }

  .site-nav .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav .theme-toggle-btn {
    width: 100%;
    height: auto;
    padding: 0.45rem 0.6rem !important;
    justify-content: flex-start;
  }
}

/* === RUHIGER / MODERNER LOOK (ohne Spiegel-Hover) === */
.modern-card::before,
.modern-btn::before {
  content: none !important;
  display: none !important;
}

.nav-link:hover,
.nav-link:focus {
  color: #5ee7e7 !important;
  background-color: rgba(0, 184, 184, 0.1);
}

.home-cta {
  border-radius: 14px;
  box-shadow: none;
}

.home-cta--primary {
  background: #00b8b8;
  color: #041818 !important;
  box-shadow: none;
}

.home-cta--primary:hover {
  background: #00a4a4;
  color: #041818 !important;
  box-shadow: none;
}

.home-cta--secondary,
.home-cta--ghost {
  backdrop-filter: blur(8px);
}

.app-feature,
.log-entry,
.server-card,
.home-explore__item,
.app-step {
  background: rgba(20, 22, 36, 0.9);
  box-shadow: none;
}

.app-feature:hover,
.log-entry:hover {
  border-color: rgba(0, 184, 184, 0.28);
}

.app-phone {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #12141f;
}

.page-header-container {
  background: rgba(18, 20, 34, 0.9);
  box-shadow: none;
}

.hero-container {
  background: rgba(18, 20, 34, 0.9);
  box-shadow: none;
}

.stat-number {
  transition: none;
}

.login-toggle-glow i,
.login-toggle-glow:hover i {
  text-shadow: none;
}

footer .nav-link:hover,
footer .nav-link:hover i {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* === NEUE FUNKTIONEN / MODERNER LOOK === */
.site-toast-host {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.site-toast {
  min-width: 180px;
  max-width: min(90vw, 320px);
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  background: rgba(16, 18, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f1f1;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: none;
}

.site-toast--success { border-color: rgba(34, 197, 94, 0.4); }
.site-toast--error { border-color: rgba(239, 68, 68, 0.4); }
.site-toast--info { border-color: rgba(0, 184, 184, 0.4); }

.home-ticker {
  padding: 0 0 1.25rem;
}

.home-ticker__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 16, 28, 0.82);
}

.home-ticker__pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
  color: rgba(241, 241, 241, 0.9);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-ticker__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5ee7e7 !important;
  text-decoration: none;
  margin-left: 0.15rem;
}

.home-news {
  padding: 0.5rem 0 2rem;
}

.home-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-news__card {
  padding: 1.2rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 20, 34, 0.9);
}

.home-news__tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #041818;
  background: #00b8b8;
}

.home-news__card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 750;
  color: #fff;
}

.home-news__card p {
  margin: 0 0 0.85rem;
  color: rgba(241, 241, 241, 0.68);
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-news__card a {
  font-weight: 700;
  font-size: 0.9rem;
  color: #5ee7e7 !important;
  text-decoration: none;
}

.page-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.owrx-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.owrx-summary__item {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 20, 34, 0.88);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.owrx-summary__item span {
  font-size: 0.78rem;
  color: rgba(241, 241, 241, 0.55);
  font-weight: 600;
}

.owrx-summary__item strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.owrx-summary__item.is-online strong { color: #86efac; }
.owrx-summary__item.is-offline strong { color: #fca5a5; }

.owrx-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 16, 28, 0.75);
}

.owrx-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
}

.owrx-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.owrx-toolbar__search {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(241, 241, 241, 0.55);
}

.owrx-toolbar__search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  min-width: 0;
}

.owrx-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(241, 241, 241, 0.85);
  cursor: pointer;
  user-select: none;
}

.owrx-select {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0 0.7rem;
  font: inherit;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

#refreshServers.is-busy i {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.app-faq {
  display: grid;
  gap: 0.55rem;
  max-width: 760px;
  margin: 0 auto;
}

.app-faq__item {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 20, 34, 0.9);
  overflow: hidden;
}

.app-faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

.app-faq__q::after {
  content: '+';
  float: right;
  color: #00b8b8;
  font-weight: 800;
}

.app-faq__item.is-open .app-faq__q::after {
  content: '–';
}

.app-faq__a {
  display: none;
  padding: 0 1rem 1rem;
  color: rgba(241, 241, 241, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

.app-faq__item.is-open .app-faq__a {
  display: block;
}

.app-faq__a p {
  margin: 0;
}

@media (max-width: 991px) {
  .home-news__grid,
  .owrx-summary {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .home-news__grid,
  .owrx-summary {
    grid-template-columns: 1fr;
  }

  .owrx-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.65rem;
  }

  .owrx-toolbar__search {
    flex: 1 1 auto;
    width: 100%;
  }

  .owrx-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
  }

  .owrx-toolbar__actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.45rem;
    align-items: center;
  }

  .owrx-toolbar__actions .owrx-select {
    width: 100%;
    min-width: 0;
  }

  .owrx-toolbar__actions .btn {
    min-width: 42px;
    justify-content: center;
  }

  .owrx-btn-label {
    display: none;
  }

  .page-header-row {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.85rem;
  }

  .page-header-actions,
  .page-header-row .btn-row {
    width: 100%;
  }

  .page-header-actions .btn,
  .page-header-row .btn-row .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .forum-topic-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-topic-row__stat {
    align-self: flex-end;
  }

  .pm-chat {
    min-height: 0;
  }

  .pm-chat__messages {
    max-height: none;
    min-height: 42vh;
    height: min(52vh, 420px);
  }

  .pm-chat__compose {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding: 0.55rem 0 0.15rem;
    background: linear-gradient(180deg, transparent, rgba(10, 12, 20, 0.92) 28%);
  }

  .pm-chat__compose .form-control {
    min-height: 44px;
    font-size: 16px; /* iOS Zoom vermeiden */
  }

  .pm-compose {
    grid-template-columns: 1fr !important;
  }

  .community-toolbar {
    margin-bottom: 0.75rem;
  }

  .owrx-shelf__actions {
    width: 100%;
  }

  .owrx-shelf__actions .btn {
    flex: 1 1 auto;
  }
}

.theme-toggle-btn {
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.app-shot__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(0, 0, 0, 0.86);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
}

.shot-lightbox[hidden] {
  display: none !important;
}

.shot-lightbox img {
  max-width: min(420px, 92vw);
  max-height: 78vh;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.shot-lightbox__cap {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.shot-lightbox__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.home-news__grid--page {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* === LIGHT THEME === */
html[data-theme="light"] body {
  background-color: #eef3f6 !important;
  background-image: none !important;
  color: #15202b !important;
}

html[data-theme="light"] .site-nav.glass-navbar,
html[data-theme="light"] .navbar.glass-navbar,
html[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .navbar-brand,
html[data-theme="light"] .nav-link,
html[data-theme="light"] .site-nav .nav-link {
  color: #0f172a !important;
}

html[data-theme="light"] .site-nav .nav-link:hover,
html[data-theme="light"] .nav-link:hover {
  background: rgba(0, 150, 150, 0.1) !important;
  color: #0f766e !important;
}

html[data-theme="light"] .site-nav .theme-toggle-btn {
  color: #0f766e !important;
}

html[data-theme="light"] .dropdown-menu,
html[data-theme="light"] .site-nav .dropdown-menu-dark {
  background: #fff !important;
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .dropdown-item {
  color: #0f172a !important;
}

html[data-theme="light"] .dropdown-item:hover {
  background: rgba(0, 150, 150, 0.1) !important;
  color: #0f766e !important;
}

html[data-theme="light"] .modern-card,
html[data-theme="light"] .home-news__card,
html[data-theme="light"] .server-card,
html[data-theme="light"] .app-feature,
html[data-theme="light"] .app-step,
html[data-theme="light"] .log-entry,
html[data-theme="light"] .home-explore__item,
html[data-theme="light"] .page-header-container,
html[data-theme="light"] .owrx-summary__item,
html[data-theme="light"] .owrx-toolbar,
html[data-theme="light"] .home-ticker__row,
html[data-theme="light"] .app-faq__item {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #15202b;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .home-hero__title,
html[data-theme="light"] .page-header-container h1,
html[data-theme="light"] .app-hero h1 {
  background: linear-gradient(135deg, #0f766e, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .home-hero__lead,
html[data-theme="light"] .page-lead,
html[data-theme="light"] .home-section-head p,
html[data-theme="light"] .home-news__card p,
html[data-theme="light"] .app-feature p,
html[data-theme="light"] .server-card__desc,
html[data-theme="light"] .text-white,
html[data-theme="light"] .card-text,
html[data-theme="light"] .form-label {
  color: #334155 !important;
}

html[data-theme="light"] .text-white-50,
html[data-theme="light"] .text-muted {
  color: #64748b !important;
}

html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] .home-news__card h3,
html[data-theme="light"] .server-card__name,
html[data-theme="light"] .home-section-head h2 {
  color: #0f172a !important;
}

html[data-theme="light"] footer.site-footer,
html[data-theme="light"] footer.fixed-bottom,
html[data-theme="light"] .site-footer {
  background: #ffffff !important;
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #334155;
}

html[data-theme="light"] .site-footer a {
  color: #0f766e !important;
}

html[data-theme="light"] .form-control,
html[data-theme="light"] .owrx-select,
html[data-theme="light"] .owrx-toolbar__search {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .owrx-toolbar__search input {
  color: #0f172a !important;
}

html[data-theme="light"] .modern-btn {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .home-cta--ghost,
html[data-theme="light"] .home-cta--secondary {
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .home-hero::before,
html[data-theme="light"] .app-hero::before {
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(13, 148, 136, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(238, 243, 246, 0.2), rgba(238, 243, 246, 0.85));
}

html[data-theme="light"] .navbar-toggler-icon,
html[data-theme="light"] .navbar-toggler-icon::before,
html[data-theme="light"] .navbar-toggler-icon::after {
  background-color: #0f172a;
}

html[data-theme="light"] .styled-login,
html[data-theme="light"] .dropdown-login {
  background: #fff !important;
  color: #0f172a;
}

.scroll-top-btn {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 99990;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(16, 18, 30, 0.92);
  color: #5ee7e7;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.scroll-top-btn[hidden] {
  display: none !important;
}

html[data-theme="light"] .scroll-top-btn {
  background: #fff;
  color: #0f766e;
  border-color: rgba(15, 23, 42, 0.12);
}

.owrx-shelf {
  margin: 1.25rem 0 1.5rem;
}

.owrx-shelf__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.owrx-shelf__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.owrx-shelf__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 750;
  color: rgba(241, 241, 241, 0.92);
}

.owrx-shelf__head .owrx-shelf__title {
  margin-bottom: 0;
}

.server-card.is-favorite {
  border-color: rgba(250, 204, 21, 0.35);
}

button.modern-btn.is-on,
.modern-btn.is-on {
  color: #facc15 !important;
  border-color: rgba(250, 204, 21, 0.45) !important;
}

.home-favs {
  padding: 0.25rem 0 1.5rem;
}

.home-fav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-fav-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.28);
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a !important;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
}

.home-fav-chip--more {
  border-color: rgba(0, 184, 184, 0.3);
  background: rgba(0, 184, 184, 0.08);
  color: #5ee7e7 !important;
}

.home-fav-chip--recent {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1 !important;
}

.home-favs--recent {
  padding-top: 0;
}

.home-news__date {
  color: rgba(241, 241, 241, 0.55);
  font-size: 0.82rem;
}

.home-news__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}

.home-news__text {
  color: rgba(241, 241, 241, 0.78);
  margin-bottom: 0.65rem;
}

.home-news__link {
  color: #5ee7e7 !important;
  font-weight: 600;
  text-decoration: none;
}

html[data-theme="light"] .home-news__date {
  color: #64748b;
}

html[data-theme="light"] .home-news__title {
  color: #0f172a;
}

html[data-theme="light"] .home-news__text {
  color: #334155;
}

html[data-theme="light"] .home-fav-chip--recent {
  color: #334155 !important;
  background: #f8fafc;
  border-color: #e2e8f0;
}

html[data-theme="light"] .owrx-shelf__title {
  color: #0f172a;
}

html[data-theme="light"] .home-fav-chip {
  color: #92400e !important;
  background: #fffbeb;
  border-color: #fde68a;
}

/* === Community === */
.community-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.community-summary__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 36, 0.85);
}

.community-summary__item span {
  color: rgba(241, 241, 241, 0.65);
  font-weight: 600;
}

.community-summary__item strong {
  font-size: 1.35rem;
  color: #fff;
}

.community-summary__item.is-online strong {
  color: #4ade80;
}

.community-section { margin-bottom: 1.5rem; }

.community-online-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.community-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.3rem 0.75rem 0.3rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.1);
  color: #bbf7d0 !important;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.community-card {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 36, 0.88);
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.community-card:hover {
  border-color: rgba(0, 184, 184, 0.35);
  background: rgba(24, 28, 46, 0.95);
}

.community-card.is-online { border-color: rgba(34, 197, 94, 0.28); }

.community-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00b8b8, #0f766e);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.community-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-avatar--sm { width: 28px; height: 28px; }
.community-avatar--lg { width: 112px; height: 112px; border-width: 3px; }

.community-avatar__letter {
  color: #041818;
  font-weight: 800;
  font-size: 1.1rem;
}

.community-avatar--lg .community-avatar__letter { font-size: 2.4rem; }

.community-card__body { min-width: 0; flex: 1; }

.community-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.35rem;
}

.community-card__top strong { color: #fff; font-size: 1rem; }

.community-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(241, 241, 241, 0.55);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.community-card__bio {
  margin: 0;
  color: rgba(241, 241, 241, 0.75);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.community-card__bio.is-empty {
  color: rgba(241, 241, 241, 0.4);
  font-style: italic;
}

.community-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #facc15;
  color: #1c1917;
  font-size: 0.72rem;
  font-weight: 750;
}

.community-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 650;
  color: rgba(241, 241, 241, 0.45);
}

.community-status.is-on { color: #4ade80; }

.community-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.member-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 36, 0.9);
}

.member-hero__text { flex: 1; min-width: 220px; }

.member-hero__text h1 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}

.member-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
  color: rgba(241, 241, 241, 0.65);
  font-size: 0.9rem;
}

.member-bio {
  color: rgba(241, 241, 241, 0.82);
  margin-bottom: 1rem;
}

.community-toolbar { margin-bottom: 1rem; }

html[data-theme="light"] .community-summary__item,
html[data-theme="light"] .community-card,
html[data-theme="light"] .member-hero {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .community-summary__item span,
html[data-theme="light"] .community-card__meta,
html[data-theme="light"] .member-hero__meta { color: #64748b; }

html[data-theme="light"] .community-summary__item strong,
html[data-theme="light"] .community-card__top strong,
html[data-theme="light"] .member-hero__text h1 { color: #0f172a; }

html[data-theme="light"] .community-card__bio,
html[data-theme="light"] .member-bio { color: #334155; }

@media (max-width: 576px) {
  .community-summary { grid-template-columns: 1fr; }
}

/* === Forum + PM === */
.forum-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.forum-cat-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 22, 36, 0.85);
  color: rgba(241, 241, 241, 0.85);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}

.forum-cat-chip.is-on {
  border-color: rgba(0, 184, 184, 0.45);
  background: rgba(0, 184, 184, 0.14);
  color: #5ee7e7;
}

.forum-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.forum-topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 36, 0.88);
  text-decoration: none !important;
  color: inherit !important;
}

.forum-topic-row:hover {
  border-color: rgba(0, 184, 184, 0.35);
}

.forum-topic-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.forum-topic-row__cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: #5ee7e7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.forum-topic-row__main strong {
  color: #fff;
  font-size: 1.02rem;
}

.forum-topic-row__meta {
  color: rgba(241, 241, 241, 0.5);
  font-size: 0.82rem;
}

.forum-topic-row__stat {
  text-align: center;
  color: #fff;
  font-weight: 750;
  flex-shrink: 0;
}

.forum-topic-row__stat small {
  display: block;
  font-weight: 500;
  color: rgba(241, 241, 241, 0.5);
  font-size: 0.72rem;
}

.forum-posts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.forum-post {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 36, 0.88);
}

.forum-post__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.65rem;
  color: rgba(241, 241, 241, 0.55);
  font-size: 0.85rem;
}

.forum-post__head a {
  color: #5ee7e7 !important;
  text-decoration: none;
}

.forum-post__pm {
  margin-left: auto;
  color: rgba(241, 241, 241, 0.55) !important;
}

.forum-report-btn,
.pm-report-btn {
  border: 0;
  background: transparent;
  color: rgba(241, 241, 241, 0.45);
  padding: 0.15rem 0.35rem;
  cursor: pointer;
  line-height: 1;
}

.forum-report-btn:hover,
.pm-report-btn:hover {
  color: #f0ad4e;
}

.forum-post__head .forum-report-btn {
  margin-left: 0.35rem;
}

.dfb-session-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dfb-session-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 20, 36, 0.72);
}

.dfb-session-row.is-current {
  border-color: rgba(0, 184, 184, 0.55);
  background: rgba(0, 184, 184, 0.12);
}

.dfb-session-row__title {
  color: #f1f1f1;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.dfb-session-row.is-current .dfb-session-row__title {
  color: #ffffff;
}

.dfb-session-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  color: rgba(241, 241, 241, 0.72);
  font-size: 0.875rem;
}

.dfb-session-row.is-current .dfb-session-row__meta {
  color: rgba(241, 241, 241, 0.88);
}

.dfb-session-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  vertical-align: middle;
  color: #062a2a !important;
  background: #00d4d4;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ts-tree,
.ts-channel__kids {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ts-channel {
  margin: 0.35rem 0;
}

.ts-channel__name {
  color: #00d4d4;
  font-weight: 600;
}

.ts-channel__kids {
  margin-left: 0.85rem;
  padding-left: 0.85rem;
  border-left: 1px dashed rgba(255, 255, 255, 0.18);
}

.ts-client {
  color: rgba(241, 241, 241, 0.9);
  margin: 0.2rem 0;
}

.ts-client-list li {
  color: rgba(241, 241, 241, 0.9);
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ts-client-list li:last-child {
  border-bottom: 0;
}

html[data-theme="light"] .ts-channel__name {
  color: #0d8f8f;
}

html[data-theme="light"] .ts-channel__kids {
  border-left-color: rgba(15, 23, 42, 0.15);
}

html[data-theme="light"] .ts-client,
html[data-theme="light"] .ts-client-list li {
  color: #15202b;
}

html[data-theme="light"] .dfb-session-row {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .dfb-session-row.is-current {
  background: rgba(0, 184, 184, 0.1);
  border-color: rgba(0, 148, 148, 0.35);
}

html[data-theme="light"] .dfb-session-row__title {
  color: #0f172a;
}

html[data-theme="light"] .dfb-session-row__meta {
  color: #64748b;
}

.forum-post__body {
  color: rgba(241, 241, 241, 0.88);
  line-height: 1.55;
  word-break: break-word;
}

.pm-compose {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 0.55rem;
}

.pm-inbox {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pm-thread-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 36, 0.88);
  text-decoration: none !important;
  color: inherit !important;
}

.pm-thread-row.has-unread {
  border-color: rgba(0, 184, 184, 0.35);
}

.pm-thread-row__preview {
  margin: 0.25rem 0 0;
  color: rgba(241, 241, 241, 0.55);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pm-thread-row__time {
  color: rgba(241, 241, 241, 0.45);
  font-size: 0.78rem;
  white-space: nowrap;
}

.pm-unread-badge {
  display: inline-flex;
  margin-left: 0.4rem;
  min-width: 1.25rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: #00b8b8;
  color: #041818;
  font-size: 0.72rem;
  font-weight: 800;
  justify-content: center;
}

.nav-community-toggle {
  position: relative;
}

.nav-community-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-notify-dot {
  position: absolute;
  top: -2px;
  right: -8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid rgba(12, 14, 24, 0.95);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35);
}

.nav-unread {
  display: inline-flex;
  margin-left: 0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-unread--menu {
  margin-left: 0.45rem;
  vertical-align: middle;
}

#messagesMenuItem {
  display: flex;
  align-items: center;
}

.pm-chat {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 420px;
}

.pm-chat__messages {
  flex: 1;
  max-height: 55vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 14, 24, 0.65);
}

.pm-bubble {
  max-width: min(560px, 92%);
  align-self: flex-start;
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  padding: 0;
  border: none;
  background: transparent;
}

.pm-bubble.is-mine {
  align-self: flex-end;
  flex-direction: row-reverse;
  background: transparent;
  border: none;
}

.pm-bubble__inner {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(32, 36, 56, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-bubble.is-mine .pm-bubble__inner {
  background: rgba(0, 184, 184, 0.16);
  border-color: rgba(0, 184, 184, 0.3);
}

.pm-msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0, 184, 184, 0.35);
}

.pm-msg-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 184, 184, 0.18);
  color: #7dd3fc;
  font-weight: 700;
  font-size: 0.85rem;
}

.pm-bubble__meta {
  font-size: 0.75rem;
  color: rgba(241, 241, 241, 0.5);
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pm-bubble:not(.is-mine) .pm-bubble__meta {
  justify-content: flex-start;
}

.pm-bubble__body {
  color: rgba(241, 241, 241, 0.92);
  word-break: break-word;
}

.pm-ticks {
  color: rgba(148, 163, 184, 0.9);
  font-weight: 600;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.pm-ticks.is-read {
  color: #38bdf8;
}

.pm-ticks small {
  letter-spacing: 0;
  font-weight: 600;
  margin-left: 0.2rem;
  color: #7dd3fc;
}

.pm-chat__compose {
  display: flex;
  gap: 0.55rem;
  align-items: flex-end;
}

.pm-chat__compose .form-control { flex: 1; }

html[data-theme="light"] .forum-topic-row,
html[data-theme="light"] .forum-post,
html[data-theme="light"] .pm-thread-row,
html[data-theme="light"] .forum-cat-chip {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

html[data-theme="light"] .forum-topic-row__main strong,
html[data-theme="light"] .forum-post__body,
html[data-theme="light"] .pm-bubble__body { color: #0f172a; }

html[data-theme="light"] .pm-chat__messages {
  background: #f8fafc;
}

html[data-theme="light"] .pm-bubble {
  background: #fff;
}

@media (max-width: 768px) {
  .pm-compose {
    grid-template-columns: 1fr;
  }
}

/* === VISUAL UNIFY: Unterseiten, Motion, Light === */

.content-section {
  padding-top: 1.25rem;
  padding-bottom: 2.75rem;
}

.page-header-container {
  animation: fadeInUp 0.55s ease-out both;
}

.page-header-container + .modern-card,
.page-header-container + .owrx-toolbar,
.page-header-container + .row {
  animation: fadeInUp 0.55s ease-out 0.08s both;
}

.auth-shell {
  max-width: 520px;
  padding-top: 1.25rem;
}

.auth-shell .page-header-container {
  text-align: center;
}

.auth-shell .page-header-container h1 {
  font-size: clamp(1.75rem, 4vw, 2.15rem);
}

.dfb-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dfb-accent) !important;
}

.dfb-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--dfb-muted);
  line-height: 1.55;
}

.dfb-list li + li {
  margin-top: 0.25rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Bootswatch Primary → Teal siteweit */
.btn-primary:not(.modern-btn):not(.home-cta) {
  background: #00b8b8 !important;
  border-color: #00a8a8 !important;
  color: #041818 !important;
}

.btn-primary:not(.modern-btn):not(.home-cta):hover {
  background: #00cfcf !important;
  border-color: #00b8b8 !important;
  color: #041818 !important;
}

.bg-primary {
  background-color: #0d9488 !important;
}

.text-primary {
  color: #00d4d4 !important;
}

.badge.bg-primary {
  background-color: #0f766e !important;
}

.home-cta,
.app-hero__actions .btn,
.auth-shell .modern-btn.btn-primary,
.auth-shell .home-cta {
  transition: transform var(--dfb-ease), background var(--dfb-ease), border-color var(--dfb-ease), box-shadow var(--dfb-ease);
}

.home-cta:hover,
.app-hero__actions .home-cta:hover {
  transform: translateY(-2px);
}

.home-hero__inner,
.app-hero__copy,
.app-hero__phone {
  animation: fadeInUp 0.7s ease-out both;
}

.app-hero__phone {
  animation-delay: 0.12s;
}

.server-card {
  transition: border-color var(--dfb-ease), transform var(--dfb-ease), box-shadow var(--dfb-ease), background var(--dfb-ease);
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__inner,
  .home-hero__title,
  .home-hero__lead,
  .home-hero__actions,
  .app-hero__copy,
  .app-hero__phone,
  .page-header-container,
  .page-header-container + .modern-card,
  .page-header-container + .owrx-toolbar,
  .page-header-container + .row,
  .status-badge.online .status-dot {
    animation: none !important;
  }

  .server-card:hover,
  .home-cta:hover {
    transform: none;
  }
}

/* Light-Mode Feinschliff */
html[data-theme="light"] {
  --dfb-bg: #eef3f6;
  --dfb-surface: #ffffff;
  --dfb-text: #15202b;
  --dfb-muted: #475569;
  --dfb-nav-bg: rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .site-nav .nav-link.active,
html[data-theme="light"] .navbar-nav .nav-link.active {
  background: rgba(13, 148, 136, 0.12) !important;
  color: #0f766e !important;
  box-shadow: inset 0 -2px 0 #0d9488;
}

html[data-theme="light"] .modern-card:hover,
html[data-theme="light"] .server-card:hover {
  border-color: rgba(13, 148, 136, 0.35) !important;
  background: #fff !important;
}

html[data-theme="light"] .status-badge.online {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.28);
}

html[data-theme="light"] .status-badge.offline {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.25);
}

html[data-theme="light"] .status-badge.error {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.28);
}

html[data-theme="light"] .badge.bg-success {
  background-color: #16a34a !important;
}

html[data-theme="light"] .badge.bg-danger {
  background-color: #dc2626 !important;
}

html[data-theme="light"] .badge.bg-warning {
  background-color: #f59e0b !important;
  color: #1f2937 !important;
}

html[data-theme="light"] .badge.bg-secondary {
  background-color: #64748b !important;
}

html[data-theme="light"] .badge.bg-info {
  background-color: #0d9488 !important;
}

html[data-theme="light"] .logbook-table,
html[data-theme="light"] .logbook-table.table,
html[data-theme="light"] .table {
  color: #15202b !important;
}

html[data-theme="light"] .logbook-table thead th,
html[data-theme="light"] .table thead th {
  color: #0f766e !important;
  border-bottom-color: rgba(13, 148, 136, 0.25) !important;
}

html[data-theme="light"] .logbook-table tbody tr:hover,
html[data-theme="light"] .table tbody tr:hover {
  background: rgba(13, 148, 136, 0.06) !important;
}

html[data-theme="light"] .logbook-table td,
html[data-theme="light"] .logbook-table th,
html[data-theme="light"] .table td,
html[data-theme="light"] .table th {
  color: #15202b !important;
}

html[data-theme="light"] .nav-tabs-custom {
  background: rgba(248, 250, 252, 0.95);
  border-bottom-color: rgba(13, 148, 136, 0.25);
}

html[data-theme="light"] .nav-tabs-custom .nav-link {
  color: #475569 !important;
}

html[data-theme="light"] .nav-tabs-custom .nav-link:hover,
html[data-theme="light"] .nav-tabs-custom .nav-link.active {
  color: #0f766e !important;
  background: rgba(13, 148, 136, 0.08) !important;
}

html[data-theme="light"] .alert-info {
  background: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.25);
  color: #134e4a;
}

html[data-theme="light"] .dfb-card-title {
  color: #0f766e !important;
}

html[data-theme="light"] .dfb-list {
  color: #475569;
}

html[data-theme="light"] .modern-btn.btn-primary,
html[data-theme="light"] .btn.btn-primary.modern-btn,
html[data-theme="light"] .btn-primary {
  background: #0d9488 !important;
  border-color: #0d9488 !important;
  color: #fff !important;
}

html[data-theme="light"] .modern-btn.btn-info {
  background: rgba(13, 148, 136, 0.1) !important;
  border-color: rgba(13, 148, 136, 0.3) !important;
  color: #0f766e !important;
}

html[data-theme="light"] .forum-topic-row__meta,
html[data-theme="light"] .forum-topic-row__cat,
html[data-theme="light"] .owrx-shelf__title {
  color: #64748b !important;
}

html[data-theme="light"] .forum-cat-chip.is-on {
  background: rgba(13, 148, 136, 0.12);
  border-color: rgba(13, 148, 136, 0.35);
  color: #0f766e;
}

html[data-theme="light"] .app-changelog__ver {
  color: #0f766e;
}

/* Empty States */
.dfb-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 2rem 1.25rem;
  border-radius: 16px;
  border: 1px dashed rgba(0, 184, 184, 0.28);
  background: rgba(14, 16, 28, 0.45);
  width: 100%;
}

.dfb-empty__art {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
  color: #5ee7e7;
  font-size: 1.65rem;
}

.dfb-empty__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 184, 184, 0.28);
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 184, 184, 0.18), transparent 62%);
}

.dfb-empty__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 750;
  color: #f1f1f1;
}

.dfb-empty__text {
  margin: 0;
  max-width: 28rem;
  color: rgba(241, 241, 241, 0.65);
  font-size: 0.95rem;
  line-height: 1.45;
}

.dfb-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

html[data-theme="light"] .dfb-empty {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(13, 148, 136, 0.28);
}

html[data-theme="light"] .dfb-empty__title {
  color: #0f172a;
}

html[data-theme="light"] .dfb-empty__text {
  color: #475569;
}

html[data-theme="light"] .dfb-empty__art {
  color: #0f766e;
}

@media (max-width: 576px) {
  .owrx-toolbar__actions {
    margin-left: 0;
  }

  .dfb-empty {
    padding: 1.5rem 1rem;
  }

  .dfb-empty__actions .btn {
    width: 100%;
  }
}

/* === MODERN QUIET: gleiche Farben, kein Glanz/Spiegel === */

/* Flächen: flach, klare Kante, wenig Tiefe */
.modern-card,
.server-card,
.app-feature,
.app-step,
.log-entry,
.home-explore__item,
.home-news__card,
.forum-topic-row,
.pm-thread-row,
.community-card,
.owrx-summary__item,
.owrx-toolbar,
.page-header-container,
.dfb-empty,
.app-changelog__item,
.app-faq__item,
.pm-bubble__inner {
  background: rgba(18, 20, 34, 0.92) !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.modern-card,
.server-card,
.app-feature,
.app-step,
.log-entry,
.home-news__card,
.forum-topic-row,
.community-card,
.page-header-container {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px;
}

.modern-card:hover,
.server-card:hover,
.app-feature:hover,
.log-entry:hover,
.forum-topic-row:hover,
.community-card:hover,
.home-news__card:hover {
  border-color: rgba(0, 184, 184, 0.4) !important;
  background: rgba(22, 24, 40, 0.96) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Page-Header: flach, Teal-Akzentlinie statt Glanz */
.page-header-container {
  background: rgba(16, 18, 30, 0.94) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  border-left: 3px solid var(--dfb-accent) !important;
  padding: 1.35rem 1.4rem !important;
  margin-bottom: 1.25rem;
}

.page-header-container h1 {
  background: none !important;
  -webkit-text-fill-color: #f4f7fa !important;
  color: #f4f7fa !important;
  font-size: clamp(1.55rem, 3.5vw, 1.95rem);
  letter-spacing: -0.025em;
}

.page-header-container .page-lead,
.page-header-container p {
  color: rgba(241, 241, 241, 0.62) !important;
  font-size: 0.98rem;
}

/* Buttons: solide Teal-Fläche, kein Verlauf/Glow */
.home-cta--primary,
.modern-btn.btn-primary,
.btn.btn-primary.modern-btn,
.btn-primary:not(.home-cta--secondary):not(.home-cta--ghost) {
  background: #00b8b8 !important;
  border: 1px solid #00a8a8 !important;
  color: #041818 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.home-cta--primary:hover,
.modern-btn.btn-primary:hover,
.btn.btn-primary.modern-btn:hover,
.btn-primary:hover {
  background: #00c4c4 !important;
  border-color: #00b8b8 !important;
  color: #041818 !important;
  transform: none !important;
  box-shadow: none !important;
}

.home-cta--secondary,
.home-cta--ghost,
.modern-btn {
  box-shadow: none !important;
}

.home-cta:hover,
.app-hero__actions .home-cta:hover {
  transform: none !important;
}

/* Navbar: matt, kein Glow am Login */
.site-nav.glass-navbar,
.navbar.glass-navbar,
.navbar.fixed-top,
.navbar.bg-primary {
  background: rgba(12, 14, 22, 0.94) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.glow-button,
.glow-button:hover {
  box-shadow: none !important;
}

.login-toggle-glow i,
.login-toggle-glow:hover i {
  text-shadow: none !important;
}

.site-nav .nav-link.active,
.navbar-nav .nav-link.active {
  box-shadow: inset 0 -2px 0 var(--dfb-accent);
  background: rgba(0, 184, 184, 0.12) !important;
}

/* Hero: Text klar, kein schwebendes Logo */
.home-hero__title,
.app-hero h1 {
  background: none !important;
  -webkit-text-fill-color: #f6fcfc !important;
  color: #f6fcfc !important;
}

.home-hero__title::after,
.app-hero h1::after {
  content: '';
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 0.85rem auto 0;
  border-radius: 2px;
  background: var(--dfb-accent);
}

.app-hero h1::after {
  margin-left: 0;
}

.hero-logo {
  animation: none !important;
  filter: none !important;
}

.hero-container {
  background: rgba(18, 20, 34, 0.94) !important;
  box-shadow: none !important;
}

/* Formulare: scharfer Fokus-Ring statt Glow */
.form-control,
.owrx-select,
.owrx-toolbar__search {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  border-radius: 10px;
}

.form-control:focus,
.owrx-select:focus,
.owrx-toolbar__search:focus-within {
  border-color: rgba(0, 184, 184, 0.65) !important;
  box-shadow: 0 0 0 2px rgba(0, 184, 184, 0.18) !important;
  outline: none;
}

/* Status: Punkt ohne Leuchtkranz */
.status-badge .status-dot,
.status-badge.online .status-dot {
  box-shadow: none !important;
}

.status-badge.online .status-dot {
  animation: statusDotSoft 2.4s ease-in-out infinite;
}

@keyframes statusDotSoft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.status-badge {
  border-radius: 999px;
  letter-spacing: 0.01em;
}

/* Footer matt */
.site-footer,
footer.site-footer,
footer.fixed-bottom {
  background: rgba(10, 12, 18, 0.96) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
}

/* Empty-State: ruhiger */
.dfb-empty {
  border-style: solid !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dfb-empty__ring {
  background: rgba(0, 184, 184, 0.08);
  border-color: rgba(0, 184, 184, 0.28);
}

/* Typo etwas klarer */
body {
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.home-section-head h2,
.owrx-shelf__title,
.dfb-card-title {
  letter-spacing: -0.02em;
}

/* Light: gleiche Logik, gleiche Markenfarben */
html[data-theme="light"] .modern-card,
html[data-theme="light"] .server-card,
html[data-theme="light"] .app-feature,
html[data-theme="light"] .app-step,
html[data-theme="light"] .log-entry,
html[data-theme="light"] .home-news__card,
html[data-theme="light"] .forum-topic-row,
html[data-theme="light"] .community-card,
html[data-theme="light"] .page-header-container,
html[data-theme="light"] .owrx-toolbar,
html[data-theme="light"] .owrx-summary__item,
html[data-theme="light"] .dfb-empty,
html[data-theme="light"] .app-changelog__item,
html[data-theme="light"] .app-faq__item {
  background: #ffffff !important;
  box-shadow: none !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] .page-header-container {
  border-left: 3px solid #0d9488 !important;
}

html[data-theme="light"] .page-header-container h1,
html[data-theme="light"] .home-hero__title,
html[data-theme="light"] .app-hero h1 {
  background: none !important;
  -webkit-text-fill-color: #0f172a !important;
  color: #0f172a !important;
}

html[data-theme="light"] .home-hero__title::after,
html[data-theme="light"] .app-hero h1::after {
  background: #0d9488;
}

html[data-theme="light"] .site-nav.glass-navbar,
html[data-theme="light"] .navbar.glass-navbar,
html[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .home-cta--primary,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .modern-btn.btn-primary {
  background: #0d9488 !important;
  border-color: #0f766e !important;
  color: #fff !important;
}

/* Forum unread + reactions + notifications */
.forum-topic-row.is-unread {
  border-color: rgba(0, 184, 184, 0.4) !important;
  background: rgba(0, 184, 184, 0.08) !important;
}

.forum-topic-row.is-unread strong {
  font-weight: 800;
}

.forum-unread-pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 184, 184, 0.2);
  color: #5ee7e7;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.forum-react {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.forum-react__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 34px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(241, 241, 241, 0.85);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
}

.forum-react__btn.is-on {
  border-color: rgba(0, 184, 184, 0.45);
  background: rgba(0, 184, 184, 0.14);
  color: #5ee7e7;
}

.forum-react__emoji {
  font-size: 1rem;
  line-height: 1;
}

.notify-dropdown {
  min-width: min(340px, 92vw);
  padding: 0.4rem 0;
}

.notify-dropdown__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notify-dropdown__list {
  max-height: 360px;
  overflow: auto;
}

.notify-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
  text-decoration: none !important;
  color: inherit !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notify-item:hover {
  background: rgba(0, 184, 184, 0.1);
}

.notify-item.is-unread {
  background: rgba(0, 184, 184, 0.08);
}

.notify-item strong {
  font-size: 0.9rem;
  color: #fff;
}

.notify-item span {
  font-size: 0.82rem;
  color: rgba(241, 241, 241, 0.7);
  line-height: 1.35;
}

.notify-item small {
  font-size: 0.72rem;
  color: rgba(241, 241, 241, 0.45);
}

.nav-notify-toggle {
  position: relative;
}

.site-nav .nav-notify-toggle .nav-unread {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.3rem;
  font-size: 0.65rem;
  line-height: 1.1rem;
}

html[data-theme="light"] .forum-topic-row.is-unread,
html[data-theme="light"] .notify-item.is-unread {
  background: rgba(13, 148, 136, 0.08) !important;
}

html[data-theme="light"] .forum-react__btn {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

html[data-theme="light"] .notify-item strong {
  color: #0f172a;
}

html[data-theme="light"] .notify-item span {
  color: #475569;
}


/* Mesh-Styles: siehe css/demo-mesh.css */

/* Skip-Link (A11y) – global, nicht nur Startseite */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10000;
  padding: 0.55rem 0.9rem;
  background: #00b8b8;
  color: #041016;
  font-weight: 700;
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.15s ease;
  text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
  color: #041016;
}
