@charset "utf-8";

/* =========================
   CRYSIS / HUD THEME (clean)
   - Desktop: max-width 1200px
   - Mobile: 100% width
   - Footer sticks to bottom
   ========================= */

:root{
  --container: 1200px;
  --gap: 12px;
  --pad: 16px;

  --bg0:#040509;
  --bg1:#0b0e14;

  --panel:#0f131b;
  --panel2:#0b0f16;

  --stroke: rgba(255,255,255,.10);

  --text: rgba(255,255,255,.90);
  --muted: rgba(255,255,255,.62);

  --accent:#ff2a2a;
  --accent2:#ff4d4d;

  --shadow: 0 20px 55px rgba(0,0,0,.88);
  --shadow2: 0 10px 26px rgba(0,0,0,.72);

  /* style.css is inside /css -> go up one */
  --bg-image: url("../Bilder/back_2016.jpg");
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font: 13px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  overflow-x:hidden;

  background:
    linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.7)),
    var(--bg-image);
  background-position: top center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;

  /* full height layout */
  min-height: 100vh;
  display:flex;
  flex-direction:column;
}

/* HUD overlays */
body::before{
  content:"";
  position:fixed; inset:0;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity:.20;
  pointer-events:none;
}
body::after{
  content:"";
  position:fixed; inset:0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,.02) 0px,
      rgba(255,255,255,.02) 1px,
      transparent 2px,
      transparent 6px
    ),
    radial-gradient(900px 520px at 18% 30%, rgba(255,42,42,.12), transparent 62%),
    radial-gradient(900px 520px at 82% 70%, rgba(255,42,42,.10), transparent 60%);
  opacity:.55;
  pointer-events:none;
}

/* =========================
   MAIN WRAPPER (new + legacy)
   ========================= */
.layout, .overley, .page{
  width: min(var(--container), calc(100% - 24px));
  margin: 0 auto;
  padding: 14px 0 22px;
  display:flex;
  flex-direction:column;
  gap: var(--gap);
  position:relative;
  z-index:1;
  flex: 1; /* allows footer-bottom */
}

/* =========================
   PANELS (header/nav/main/footer)
   ========================= */
.site-header, .site-nav, .site-main, .site-footer,
.head, .navi_back, .site, .footneu, .foot{
  position:relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 40%),
    linear-gradient(0deg, rgba(0,0,0,.55), transparent 55%),
    var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow:hidden;
  border-radius: 6px;
}

/* inner bevel */
.site-header::before, .site-nav::before, .site-main::before, .site-footer::before,
.head::before, .navi_back::before, .site::before{
  content:"";
  position:absolute; inset:0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-left: 1px solid rgba(255,255,255,.04);
  border-right: 1px solid rgba(0,0,0,.65);
  border-bottom: 1px solid rgba(0,0,0,.80);
  pointer-events:none;
}

/* corner HUD brackets (subtle) */
.site-header::after, .site-nav::after, .site-main::after, .site-footer::after,
.head::after, .navi_back::after, .site::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(var(--accent), var(--accent)) left 10px top 10px / 22px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left 10px top 10px / 2px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right 10px top 10px / 22px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right 10px top 10px / 2px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left 10px bottom 10px / 22px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left 10px bottom 10px / 2px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right 10px bottom 10px / 22px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right 10px bottom 10px / 2px 22px no-repeat;
  opacity:.18;
  filter: drop-shadow(0 0 10px rgba(255,42,42,.25));
  pointer-events:none;
}

.site-nav, .navi_back{
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 55%),
    var(--panel2);
}

.site-main, main, .site{
  padding: var(--pad);
  color: rgba(255,255,255,.86);
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  flex: 1; /* fill height */
}

.site-footer, footer{
  padding: 12px 14px;
  color: var(--muted);
}

/* remove legacy fixed inner widths */
.head_inhalt, .navi_inhalt, .site_inhalt, .foot_inhalt{
  width: 100% !important;
  max-width: 100% !important;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1,h2,h3,h4,h5,h6{
  margin: 0 0 10px;
  line-height:1.15;
  letter-spacing:.4px;
  text-shadow: 0 10px 20px rgba(0,0,0,.65);
}
p{ margin: 0 0 12px; color: rgba(255,255,255,.80); }

hr{
  border:0;
  height:1px;
  margin: 14px 0;
  background: linear-gradient(90deg, transparent, rgba(255,42,42,.95), transparent);
  box-shadow: 0 10px 18px rgba(0,0,0,.6);
}

::selection{ background: rgba(255,42,42,.35); }

/* =========================
   LINKS (quiet)
   ========================= */
a{
  color: var(--accent);
  text-decoration:none;
}
a:hover{
  color:#fff;
}

/* =========================
   NAVIGATION (HUD tabs desktop)
   ========================= */
.main-nav{
  padding: 12px 14px;
}

#Navigation{
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
}
#Navigation li{ list-style:none; }

#Navigation a{
  display:inline-flex;
  align-items:center;
  padding: 10px 16px;

  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;

  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(0,0,0,.25);

  transition: background .12s ease, border-color .12s ease, color .12s ease;
}

#Navigation a:hover{
    transform: translateY(-1px);
  border-color: rgba(255,42,42,.45);
  box-shadow:
    0 1px 0 rgba(255,255,255,.07) inset,
    0 0 0 2px rgba(255,42,42,.10),
    0 0 22px rgba(255,42,42,.16),
    0 8px 16px rgba(0,0,0,.58);
  background:
    linear-gradient(180deg, rgba(255,42,42,.16), rgba(255,42,42,.04)),
    rgba(0,0,0,.30);
}

#Navigation a.active{
  border-color: rgba(255,42,42,.55);
  background:
    linear-gradient(180deg, rgba(255,42,42,.22), rgba(255,42,42,.05)),
    rgba(0,0,0,.25);
  color:#fff;
}

/* =========================
   BUTTONS (keep hover)
   ========================= */
button, .button_a, input[type=submit], input[type=button], a.button, .button, .btn{
  appearance:none;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    rgba(0,0,0,.30);
  color: rgba(255,255,255,.92);
  padding: 5px 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor:pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, var(--shadow2);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;

  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease, background .12s ease;
}

button:hover, .button_a, input[type=submit]:hover, input[type=button]:hover, a.button:hover, .button:hover, .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,42,42,.45);
  box-shadow:
    0 1px 0 rgba(255,255,255,.07) inset,
    0 0 0 2px rgba(255,42,42,.10),
    0 0 22px rgba(255,42,42,.16),
    0 16px 34px rgba(0,0,0,.58);
  background:
    linear-gradient(180deg, rgba(255,42,42,.16), rgba(255,42,42,.04)),
    rgba(0,0,0,.30);
}

.btn.primary, .primary{
  border-color: rgba(255,42,42,.60);
  background:
    linear-gradient(180deg, rgba(255,42,42,.24), rgba(255,42,42,.06)),
    rgba(0,0,0,.30);
}
.btn.info{
  border-color: rgba(255,42,42,.45);
  background: rgba(255,42,42,.10);
}
.btn.danger{
  border-color: rgba(255,255,255,.18);
  background: rgba(0,0,0,.30);
}

/* =========================
   INPUTS
   ========================= */
input[type=text], input[type=email], input[type=password], select, textarea{
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.38);
  color: rgba(255,255,255,.90);
  padding: 10px 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset;
  transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
  
}

input[type=text], input[type=email], input[type=password], select{
	max-width:300px;
	width:100%;
}

textarea{
  width:100%;
  min-height: 120px;
  resize: vertical;
}

input:focus, select:focus, textarea:focus{
  outline:none;
  border-color: rgba(255,42,42,.60);
  box-shadow:
    0 0 0 3px rgba(255,42,42,.18),
    0 0 18px rgba(255,42,42,.10);
  background: rgba(0,0,0,.48);
}

/* =========================
   TABLES (quiet, no hover highlight)
   ========================= */
table{ width:100%; border-collapse:collapse; }
th,td{
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
th{
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  color: rgba(255,255,255,.88);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}

/* =========================
   BOXES / IMAGES
   ========================= */
.box,.box1,.shaddow_console, .border, option{
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  box-shadow: var(--shadow2);
  padding: 12px;
}

option {
	background: rgba(0, 0, 0, .85);
}


.image{ opacity:.85; transition: opacity .2s ease; }
.image:hover{ opacity:1; }

/* =========================
   HEADER + SLIDER
   ========================= */
.site-header{ padding: 12px 14px 14px; }

.header-wrap{ display:flex; flex-direction:column; gap:12px; }
.header-top{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  align-items:flex-start;
}

.brand-title{
  font-weight: 950;
  letter-spacing:.14em;
  text-transform: uppercase;
  font-size: 14px;
}
.brand-sub{
  margin-top: 4px;
  color: rgba(255,255,255,.60);
  font-size: 12px;
}

.header-panel{
  flex:1;
  display:flex;
  justify-content:flex-end;
}

.userbox{
  text-align:right;
  margin-right: 10px;
}
.userbox-label{ color: rgba(255,255,255,.60); font-size: 11px; }
.userbox-name{ font-weight: 900; letter-spacing:.06em; }

.actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap: 8px;
  align-items:center;
}

/* slider wrapper */
.header-slider{ padding-top: 6px; }
#sliderFrame{ width:100% !important; max-width: 1170px; margin:0 auto; }
#slider{ width:100% !important; }

/* =========================
   FORMS (grid)
   ========================= */
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.form-field span{
  display:block;
  font-size: 11px;
  color: rgba(255,255,255,.62);
  margin-bottom: 6px;
  letter-spacing:.06em;
  text-transform: uppercase;
}
.form-field input{ width: 100%; }
.form-check{
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  padding-top: 4px;
}
.form-actions{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  padding-top: 6px;
}

/* =========================
   RESPONSIVE (base)
   ========================= */
@media (max-width: 720px){
  .form-grid{ grid-template-columns: 1fr; }
  #sliderFrame{ max-width: 100%; }
}

/* =========================
   MOBILE NAV – FULL WIDTH BUTTON + DROPDOWN
   ========================= */

.nav-toggle{
  display:none; /* desktop hidden */
}

.nav-toggle__icon{
  width:24px;
  height:2px;
  background:#fff;
  position:relative;
  border-radius:2px;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after{
  content:"";
  position:absolute;
  left:0;
  width:24px;
  height:2px;
  background:#fff;
  border-radius:2px;
}
.nav-toggle__icon::before{ top:-8px; }
.nav-toggle__icon::after{ top: 8px; }

@media (max-width: 720px){
  .main-nav{ padding: 14px; }

  .nav-toggle{
    display:flex;
    width:100%;
    align-items:center;
    justify-content:space-between;
    gap:12px;

    padding:16px 18px;

    font-size:14px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;

    color:#fff;

    border-radius:8px;
    border:1px solid rgba(255,42,42,.45);

    background:
      linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.60));

    box-shadow:
      0 0 0 1px rgba(255,42,42,.15) inset,
      0 0 25px rgba(255,42,42,.08);

    cursor:pointer;
    transition: all .2s ease;
  }

  .nav-toggle:hover{
    border-color: rgba(255,42,42,.80);
    box-shadow:
      0 0 0 1px rgba(255,42,42,.18) inset,
      0 0 30px rgba(255,42,42,.25);
  }

  #Navigation{
    display:none;
    flex-direction:column;
    gap:14px;
    margin-top:24px;
    align-items:center;
  }
  #Navigation.is-open{ display:flex; }

  #Navigation li{ width:100%; }

  #Navigation a{
    width:100%;
    text-align:center;
    justify-content:center;
    padding:16px 0;
    font-size:13px;
    letter-spacing:.12em;
  }
}

/* =========================
   MOBILE ACCOUNT TOGGLE
   ========================= */

.account-toggle{
  display:none; /* desktop hidden */
}

.account-toggle__icon{
  width:22px;
  height:2px;
  background:#fff;
  position:relative;
}
.account-toggle__icon::before,
.account-toggle__icon::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background:#fff;
}
.account-toggle__icon::before{ top:-7px; }
.account-toggle__icon::after{ top: 7px; }

/* default (desktop): menu is visible normally */
.account-menu{
  display:contents;
}

@media (max-width: 720px){

  .header-panel{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }

  .account-toggle{
    display:flex;
    width:100%;
    align-items:center;
    justify-content:space-between;
    gap:12px;

    padding:14px 16px;

    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;

    color:#fff;

    border-radius:8px;
    border:1px solid rgba(255,42,42,.45);
    background:
      linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.60));

    cursor:pointer;
  }

  .account-menu{
    display:none;
    margin-top:6px;
  }
  .account-menu.is-open{ display:block; }

  .actions{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:16px;
  }

  .actions .btn{
    width:100%;
    justify-content:center;
    padding: 12px 14px; /* etwas größer auf mobile */
  }

  .userbox{
    text-align:center;
    margin: 6px 0 0;
  }
  .userbox-label{ font-size: 11px; }
  
  input[type=text], input[type=email], input[type=password], select{
	max-width:200px;
	}
}

/* =========================
   DESKTOP HEADER FIX
   Welcome/Username links neben Buttons
   ========================= */

@media (min-width: 721px){

  .header-panel{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:20px;
  }

  .userbox{
    text-align:right;
    margin:0;
    order:0;
  }

  .actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:10px;
    order:1;
  }
}

.prog-wrap{
  width:100%;
  height:20px;
  position:relative;
  overflow:hidden;
  background: rgba(0,0,0,.40);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    inset 0 0 12px rgba(0,0,0,.7);
}

/* Füllung */
.prog-bar{
  height:100%;
  transition: width .3s ease;

  background:
    linear-gradient(
      180deg,
      rgba(255,42,42,.50),
      rgba(255,42,42,.25)
    ),
    rgba(0,0,0,.30);

  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset,
    0 0 0 1px rgba(255,42,42,.18),
    0 0 14px rgba(255,42,42,.18);
}

/* Prozentanzeige */
.prog-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;

  font-weight:900;
  font-size:12px;
  letter-spacing:.06em;
  color:#fff;

  text-shadow:
    0 2px 6px rgba(0,0,0,.9),
    0 0 8px rgba(255,42,42,.35);

  pointer-events:none;
}

/*Admin Kleine Icon-Buttons */
.actions-wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.actions-top,
.actions-bottom{
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.icon-btn{
  width: 34px;
  height: 30px;
  padding: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
}

.icon-btn.danger{ color:#ff4040; }
.icon-btn.ok{ color:#7CFC00; }
.icon-btn.warn{ color:#ffd36a; }

.actions-mail{
  width: 200px;
  padding: 2px 6px;
  height: 28px;
  border-radius: 6px;
}

.admin-nav{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:10px 0;
}

.admin-nav a{
    padding:8px 14px;
    border-radius:8px;
    text-decoration:none;
    background:linear-gradient(to bottom,#2b2f34,#1b1e22);
    color:#ddd;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.5px;
    border:1px solid #3a3f45;
    transition:all .2s ease;
}

.admin-nav a:hover{
    transform: translateY(-1px);
  border-color: rgba(255,42,42,.45);
  box-shadow:
    0 1px 0 rgba(255,255,255,.07) inset,
    0 0 0 2px rgba(255,42,42,.10),
    0 0 22px rgba(255,42,42,.16),
    0 8px 16px rgba(0,0,0,.58);
  background:
    linear-gradient(180deg, rgba(255,42,42,.16), rgba(255,42,42,.04)),
    rgba(0,0,0,.30);
}

.admin-nav a.active{
    background:linear-gradient(to bottom,#ffd36a,#e5b84c);
    color:#000;
    border-color:#caa037;
}

main {
  overflow-x: auto;
}





