body {
    background: #f2f2f2;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color:#999
}

img {
    height: auto !important;
    max-width: 100% !important;
}

a {
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

label {
    font-weight: normal;
}

figcaption {
    font-style: italic;
    font-size: 12px;
}

h1 {
    font-size: 21px;
    line-height: inherit;
    margin-top: 0;
    margin-bottom: 20px;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
}

hr {
    border-color: #e0e0e0;
}

.navbar-gaming {
    background: #333;
    margin-bottom: 0;
}

.navbar-gaming .navbar-brand {
    color: #FFF;
}

.navbar-gaming .container-fluid .navbar-collapse .panel {
    border: 0;
}

.navbar-gaming .navbar-nav > li > a:hover, .navbar-gaming .navbar-nav > li > a:focus {
    background-color: #32333B;
    color: #32333B;
}

.navbar-toggler .icon-bar {
    background-color: #EEE;
}

.mobile a {
    color: #fff;
    text-decoration: none;
    line-height: 2
}

.navbar-gaming > .container-fluid > #bs-navbar-collapse-main {
    margin-top: 8px;
    max-height: 550px;
    overflow: scroll;
} 

header .container .community .carousel {
    max-height: 500px;
}

.mobile > .card-body {
    padding: 15px;
}

#nav .community .logo img {
    width: 135px
}

#nav {
    background:#353535;
    border-top:1px solid #222;
    z-index: 200;
    position: fixed;
    width: 100%;
    display: block;
    top: 0;
    -webkit-box-shadow: -1px 4px 5px 0px rgba(0,0,0,0.56);
    -moz-box-shadow: -1px 4px 5px 0px rgba(0,0,0,0.56);
    box-shadow: -1px 4px 5px 0px rgba(0,0,0,0.56);
}
#nav ul {
    margin:0;
    padding:0;
}
#nav li {
    float:left;
    padding:10px 10px;
    position: relative;
}
nav.navbar ul.list-unstyled li {
    display: block;
    text-align: left;
    margin-left: 0;
    line-height: 35px;
    border-bottom: 1px solid #303030;
}
nav.navbar ul.social-icon li {
    float: left;
    padding-right: 10px;
}
nav.navbar ul.social-icon li:last-child {
    float: none;
    padding-right: 0;
}
nav.navbar ul.list-unstyled li a {
    text-decoration: none;
    color:#999;
}
nav.navbar ul.list-unstyled li a:hover {
    text-decoration: none;
    color:#fff;
}
#nav a {
    text-decoration: none;
    color:#999;
    font-size:15px;
}
#nav .container {
    max-width:1140px;
}

#nav .card-body > ul > li > a:after {
    content: " ";
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    width: 0;
    height: 2px;
    margin: 0 auto;
    background-color: #fff;
    transition-property: width, background-color;
    transition-duration: .25s;
    transition-timing-function: ease-in-out;
    z-index: -1;
}

#nav .card-body >ul > li:hover > a:after {
    width: 100%;
    z-index: 1;
}

#nav ul ul {
    position: absolute;
    top: -99999px;
    left: 0;
    opacity: 1;
    z-index: 500;
    background: #353535;
    padding: 2px;
    border-top: none;
    box-shadow: #3a3732 0 2px 4px;
    width: 12rem;
}
#nav ul li:hover>ul{
    opacity: 1;
    position:absolute;
    top:42px;
    left:0;
}

#nav ul li ul li {
    float:none;
}

#nav .container .community {
    background:#353535;
}

.header-background {
    height:500px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

header> .container {
    margin-top: 0px;
    max-width: 100%;
}

header .container .community {
    margin: 0;
    padding: 0;
    border-top: 0;
    position: relative;
}

@media (min-width: 768px) {
    header .container .community .carousel-control {
        width: 10%;
    }
}

header .container .community .carousel-indicators {
    bottom: 0;
    margin-bottom: 50px;
}

header .container .community .gaming-name {
    top: 200px;
    left: 0;
    position: absolute;
    width: 70%;
    margin-left: 15%;
    padding: 10px 0;
    color: #FFF;
    font-size: 27px;
    text-shadow: 0 3px 10px #32333B;
    font-weight: bold;
    text-align: center;
    line-height: 25px;
}

.main-content {
    margin-top:-50px !important;
    position: relative;
    max-width:1140px !important;
    margin-left:auto;
    margin-right:auto;
}


.container {
    margin-top: 15px;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        margin-top: 0;
    }
    .main-content .community .col-lg-3,#nav .container .community .col-lg-3  {
        width:25%;
        float: left;
    }
    .main-content .community .col-lg-9,#nav .container .community .col-lg-9  {
        width:75%;
        float:left;
    }
}

.community {
    background-color: #fff;
    padding: 10px;
}

@media (min-width: 768px) {
    .community {
        padding: 20px;
    }
}

@media (min-width: 992px) {
    .community {
        margin: 20px 10px;
    }
}

@media (min-width: 1200px) {
    .community {
        margin: 30px 0;
    }
}

.panel-default {
    border-color:#e0e0e0;
}

.panel-gaming,
.panel-default {
    border-radius: 0;
}

.panel {
    border:none;
}

.panel-body {
    padding:0px;
}

@media (min-width: 768px) {
    .panel-gaming,
    .panel-default {
        border-radius: 4px;
    }
    .card-body {
        padding:15px;
    }
}

.panel-community > .card-header {
    color: #fff;
    background-color: #353535;
    margin-top: 0;
    line-height: 20px;
    margin-bottom: 0;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-rendering: optimizelegibility;
    border-radius: 3px;
    text-align: center;
}

.panel-community > .card-header:before {
    content:"►";
    color:#fff;
    float:left;
}

.panel-community > .card-body li {
    line-height: 35px;
    border-bottom: 1px solid #e0e0e0;
}

.panel-community > .card-body a {
    color: #333;
    text-decoration: none;
}

.panel-community >.card-body > hr {
    margin-top:5px;
    margin-bottom:5px;
}

.ilch--new-message a.text-danger {
    color: #a94442;
}

#totop {
    display: none;
    text-decoration: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
    overflow: hidden;
    width: 50px;
    height: 50px;
    border: none;
    text-indent: -999px;
    z-index: 100;
    background: url(img/up.png) no-repeat center center rgba(3,3,3,0.5);
    cursor: pointer;
    transition: all 0.4s;
}
#totop:hover {
   background: url(img/up.png) no-repeat center center rgba(51,51,51);
    border-radius:50%
}

.footer .main-content {
    margin-top: 15px !important;
}

.footer .main-content .community a {
    color:#fff;
    text-decoration: none;
}

.footer .main-content .community {
    margin: 0;
    padding: 15px 0;
    border-bottom: 0;
    background:#353535;
    color:#fff;
}

@media (min-width: 768px) {
    .footer .main-content .community{
        margin: 0 10px;
    }
}

@media (min-width: 1200px) {
    .footer .main-content .community {
        margin: 0;
    }
}

.footer .main-content .community ul {
    margin: 0;
    padding: 0;
}

.footer .main-content .community ul li {
    list-style-type: none;
    display: inline;
}

.footer .main-content .community ul li:after {
    content: ' | ';
}

.footer .main-content .community ul li:last-child:after {
    content: '';
}

.footer .main-content .community .row [class*="col-"]  {
    padding: 0 30px;
}

@media (min-width: 768px) {
    .footer .main-content .community .nav {
        text-align: right;
        display: block;
    }
}


/* ================================
   ADDIFLOW CLEAN OVERRIDE
   ================================ */

/* Grundlayout beruhigen */
body {
    background: #f4f6f8;
    color: #1f2937;
}

/* Header entschärfen */
#nav {
    position: relative !important;
    box-shadow: none !important;
    border-top: none !important;
}

/* Header-Höhe reduzieren */
#nav li {
    padding: 8px 12px;
}

/* Gaming-Overlays deaktivieren */
.header-background,
.gaming-name,
.carousel,
.carousel-inner,
.carousel-indicators,
.carousel-control {
    display: none !important;
}

/* Content sauber zentrieren */
.main-content {
    margin-top: 20px !important;
    max-width: 1100px !important;
}

/* Boxen moderner wirken lassen */
.community,
.panel,
.panel-default {
    border-radius: 12px !important;
    background: #ffffff;
}

/* Überschriften ruhiger */
h1 {
    font-size: 24px;
    border-bottom: none;
    margin-bottom: 16px;
}

/* Buttons sachlich */
.btn,
.btn-primary {
    border-radius: 6px;
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #fff !important;
}

/* ================================
   REMOVE EMPTY HERO / HEADER SPACE
   ================================ */

/* Typische Ilch-Header-/Slider-Container neutralisieren */
.header,
.header-background,
.header-slider,
.carousel,
.carousel-inner {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Falls ein generischer Hero-Wrapper existiert */
.hero,
.hero-container,
.startpage-header {
    display: none !important;
}

/* Abstand unter dem Header reduzieren */
#nav + .container,
#nav + .container-fluid {
    margin-top: 20px !important;
}
/* =====================================
   STARTSEITE: RECHTES MENÜ AUSBLENDEN
   ===================================== */

/* Rechtes Menü (Sidebar) nur auf Startseite ausblenden */
body.startseite .panel-community,
body.startseite .panel-menu,
body.startseite aside,
body.startseite .col-md-3,
body.startseite .col-lg-3 {
    display: none !important;
}

/* Content auf Startseite über volle Breite ziehen */
body.startseite .col-md-9,
body.startseite .col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
/* =====================================
   STARTSEITE: RECHTES MENÜ AUSBLENDEN
   (Ilch URL-basiert)
   ===================================== */

/* Rechtes Menü auf Startseite ausblenden */
body [href*="startseite.html"] ~ .container .panel-community,
body [href*="startseite.html"] ~ .container .panel-menu,
body [href*="startseite.html"] ~ .container aside,
body [href*="startseite.html"] ~ .container .col-md-3,
body [href*="startseite.html"] ~ .container .col-lg-3 {
    display: none !important;
}

/* Content auf Startseite über volle Breite ziehen */
body [href*="startseite.html"] ~ .container .col-md-9,
body [href*="startseite.html"] ~ .container .col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* ===== Addiflow Header ===== */
#nav {
    background: linear-gradient(90deg, #1e1e1e, #2a2a2a);
    border-bottom: 2px solid #16a085;
}

#nav .ilch_menu_u li a {
    color: #ffffff;
    font-weight: 500;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

#nav .ilch_menu_u li a:hover {
    color: #16a085;
}

/* Logo etwas mehr Präsenz */
#nav .logo img {
    max-height: 42px;
}

/* ===== HEADER / NAV ===== */
#nav {
    background: linear-gradient(90deg, #1f1f1f, #2b2b2b);
    border-bottom: 3px solid #16a085; /* Addiflow-Akzent */
}

/* Menü-Links */
#nav .ilch_menu_u li a {
    color: #eaeaea;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 12px 16px;
    transition: color 0.2s ease;
}

#nav .ilch_menu_u li a:hover,
#nav .ilch_menu_u li.active a {
    color: #16a085;
}

/* Menü-Button (mobil) */
.navbar-dark .navbar-toggler {
    border-color: rgba(22, 160, 133, 0.6);
}

/* Logo niemals verzerren */
#nav .logo img,
.navbar-brand img {
  height: 34px;        /* kannst du auf 28–40 anpassen */
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

:root{
  --accent: #16a085;
}

/* Header ruhig, ohne dauernd Türkis zu schreien */
#nav {
  background: linear-gradient(90deg, #1f1f1f, #2b2b2b);
  border-bottom: 0; /* Linie AUS */
}

/* Menüpunkte: clean */
#nav .ilch_menu_u li a{
  color:#eaeaea;
  font-weight:500;
  padding:12px 16px;
  position:relative;
  transition:color .2s ease;
}

/* Hover = Türkis, aber fein */
#nav .ilch_menu_u li a:hover{
  color: var(--accent);
}

/* Unterstreichung beim Hover */
#nav .ilch_menu_u li a::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:6px;
  height:2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .2s ease;
}
#nav .ilch_menu_u li a:hover::after{
  transform: scaleX(1);
}

/* aktive Seite (falls ilch active-Klasse setzt) */
#nav .ilch_menu_u li.active a{
  color: var(--accent);
}
#nav .ilch_menu_u li.active a::after{
  transform: scaleX(1);
}

:root{
  --addiflow-accent: #17c7c2; /* dein Türkis */
  --header-bg: #1f1f1f;
  --header-bg2: #2a2a2a;
  --text: #eaeaea;
}

/* Header / Menü-Leiste */
#nav{
  background: linear-gradient(90deg, var(--header-bg), var(--header-bg2)) !important;
  border-bottom: 2px solid var(--addiflow-accent);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* Menü UL */
#nav .ilch_menu_u{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 16px 0;
}

/* Menü Links */
#nav .ilch_menu_u > li > a{
  color: var(--text) !important;
  font-weight: 600;
  letter-spacing: .2px;
  text-decoration: none !important;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all .15s ease-in-out;
}

/* Hover / Active Feeling */
#nav .ilch_menu_u > li > a:hover{
  color: #0b0b0b !important;
  background: var(--addiflow-accent);
  box-shadow: 0 8px 18px rgba(23,199,194,.25);
}

/* Breadcrumbs etwas cleaner */
.main-content .breadcrumb a{
  color: var(--addiflow-accent) !important;
  text-decoration: none;
}
.main-content .breadcrumb a:hover{
  text-decoration: underline;
}

/* Footer optional eleganter */
.footer{
  background: #151515 !important;
  color: #d7d7d7 !important;
  border-top: 1px solid rgba(23,199,194,.25);
}
.footer a{
  color: #d7d7d7 !important;
}
.footer a:hover{
  color: var(--addiflow-accent) !important;
}

/* =========================
   HEADER FINAL CLEAN
   ========================= */

#nav {
    background: #1f1f1f !important;
    border-bottom: none !important;
    box-shadow: none !important;
    position: relative !important;
}

/* Menü im Header optisch zurücknehmen */
#nav .ilch_menu_u {
    justify-content: center;
    padding: 10px 0;
}

#nav .ilch_menu_u li a {
    color: #d1d5db !important;
    background: transparent !important;
}

#nav .ilch_menu_u li a:hover {
    color: #17c7c2 !important;
}

/* ===== Addiflow Farbschema ===== */

:root {
    --af-dark: #2f2f2f;
    --af-dark-soft: #3a3a3a;
    --af-light: #f5f7f8;
    --af-border: #e1e1e1;
    --af-accent: #20c5b5; /* Türkis */
}

/* Hintergrund */
body {
    background: var(--af-light);
}

/* Header & Footer einheitlich */
header,
.footer {
    background: var(--af-dark);
    color: #fff;
}

/* Footer Text */
.footer a {
    color: #d0d0d0;
}
.footer a:hover {
    color: var(--af-accent);
}

/* Sidebar Menü */
.panel-community {
    border: 1px solid var(--af-border);
}

.panel-community .card-header {
    background: var(--af-dark);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Menü-Links */
.panel-community ul li a {
    display: block;
    padding: 8px 6px;
    color: #333;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.panel-community ul li a:hover {
    background: #f0fafa;
    border-left-color: var(--af-accent);
    color: #000;
}

/* Aktiver Menüpunkt */
.panel-community ul li.active a {
    border-left-color: var(--af-accent);
    font-weight: 600;
    color: #000;
}

/* Content Card */
.card-default {
    border: 1px solid var(--af-border);
    box-shadow: none;
}

/* Warnbox etwas ruhiger */
.alert-danger {
    background: #fdecec;
    border-color: #f5c2c2;
    color: #7a1f1f;
}

.panel-community ul li.active a {
    border-left: 4px solid #20c5b5;
    background: #f3fbfa;
    font-weight: 600;
}

.card-default .card-body {
    max-width: 820px;
    line-height: 1.6;
}

.panel-community .card-header {
    border-bottom: 2px solid #20c5b5;
}
