
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Georgia", serif;
}

:root{
  --bg: #050505;
  --line: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.88);
  --muted: rgba(255,255,255,0.65);
  --gold: #d6b36a;
  --gold2:#ffda79;
  --violet: rgba(180,120,255,0.55);
}

body{
  min-height: 100vh;
  color: var(--text);
}

body.index{
  background: #000;
}

body:not(.index){
  background:
    radial-gradient(1200px 800px at 70% 10%, rgba(214,179,106,0.10), transparent 60%),
    radial-gradient(900px 700px at 20% 90%, rgba(255,218,121,0.06), transparent 55%),
    linear-gradient(180deg, #111118 0%, #09090e 55%, #050507 100%);
}


.container{
  display: flex;
  min-height: 100vh;
}


.sidebar{
  width: 260px;
  background: linear-gradient(180deg, rgba(0,0,0,0.92), rgba(0,0,0,0.98));
  color: #fff;
  padding: 26px 20px;
  text-align: center;

  border-right: 1px solid var(--line);
  box-shadow: 12px 0 40px rgba(0,0,0,0.55);


  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar .logo{
  width: 80px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.sidebar-logo{
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}

.sidebar-logo img{
  width: 140px;
  height: auto;
}

.sidebar-logo h2{
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.sidebar nav a{
  display: block;
  text-decoration: none;

  color: rgba(255,255,255,0.72);
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;

  font-size: 14px;
  letter-spacing: 0.35px;

  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, padding-left 0.18s ease;
  will-change: transform;
}

.sidebar nav a:hover{
  color: #fff;
  padding-left: 16px;
  transform: translateX(3px);
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.sidebar nav a.active{
  color: #fff;
  background: linear-gradient(90deg, rgba(214,179,106,0.18), rgba(255,255,255,0.02));
  box-shadow: inset 0 0 0 1px rgba(214,179,106,0.28);
  position: relative;
}

.sidebar nav a.active::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  bottom:10px;
  width:3px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
}


.content{
  flex: 1;
  position: relative;
  display: block;
  padding: 34px 46px;
}


body:not(.index) .content{
  background:
    radial-gradient(700px 500px at 65% 20%, rgba(255,255,255,0.03), transparent 60%),
    rgba(0,0,0,0.30);
  border-left: 1px solid rgba(255,255,255,0.06);
}


.index .content{
  background: url("../img/bg.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
}

.overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 65% 40%, rgba(214,179,106,0.14), rgba(0,0,0,0) 70%),
    rgba(0,0,0,0.65);
}

.center-content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: gold;
  text-align: center;
}

.center-content .logo{
  width: 300px;
  margin-bottom: 30px;
}

.center-content h1{
  font-size: 42px;
  letter-spacing: 4px;
}

.center-content h2{
  font-size: 18px;
  letter-spacing: 6px;
  margin-top: 10px;
}

.page-hero{
  position: relative;
  z-index: 2;
  width: 100%;
  height: 260px;
  margin: 0;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  border-bottom: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow: hidden;

  box-shadow:
    0 22px 70px rgba(0,0,0,0.60),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

.page-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.82), rgba(0,0,0,0.35), rgba(0,0,0,0.82));
}

.page-hero__inner{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  z-index: 1;
}

.page-hero__line{
  width: 90px;
  height: 1px;
  background: rgba(214,179,106,0.55);
  position: relative;
  overflow: hidden;
}

.page-hero__title{
  color: rgba(255,255,255,0.96);
  font-size: 54px;
  font-weight: 650;
  letter-spacing: 0.6px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.8);
}

body.Geschichte .page-hero,
body.Standort .page-hero,
body.Aufgaben .page-hero,
body.Rangsystem .page-hero,
body.Bezahlung .page-hero,
body.Regeln .page-hero,
body.Fahrzeuge .page-hero,
body.Auftreten .page-hero,
body.Neuanstellungen .page-hero,
body.RP-Förderung .page-hero,
body.Schlusswort .page-hero{
  background-image: url("../img/Titelbild.png");
}

.page-body{
  position: relative;
  z-index: 2;

  max-width: 980px;
  margin: 26px auto 0;

  padding: 28px 30px;
  border-radius: 16px;

  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 26px 90px rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.page-body p{
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255,255,255,0.88);
}

.page-body strong{ color: rgba(255,255,255,0.95); }
.page-body em{ color: var(--gold2); font-style: normal; }

.center-text{
  text-align: center;
  margin: 60px auto;
}

.section-title{
  text-align: center;
  color: #fff;
  font-size: 22px;
  margin: 40px 0 10px;
  position: relative;
}

.section-title::after{
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 10px auto 0;
}


.fancy-list{
  list-style: none;
  padding-left: 0;
  margin: 18px 0 0;
}

.fancy-list li{
  position: relative;
  padding: 14px 16px 14px 52px;
  margin: 12px 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  line-height: 1.75;

  transition: transform 0.18s ease, background 0.18s ease, border 0.18s ease;
}

.fancy-list li::before{
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(214,179,106,0.20);
  border: 1px solid rgba(214,179,106,0.35);
  color: rgba(255,218,121,0.95);
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}

.fancy-list li:hover{
  transform: translateY(-2px);
  background: rgba(214,179,106,0.06);
  border-color: rgba(214,179,106,0.22);
}


.image-row{
  display: flex;
  gap: 20px;
  margin: 30px 0 30px 270px; 
  align-items: flex-start;
  flex-wrap: wrap;
}

.location-image{
  max-width: 500px;
  width: 100%;
  height: auto;

  border: 1px solid rgba(214,179,106,0.35);
  padding: 6px;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);

  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.location-image:hover{
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.05);
}


.rank-header{
  text-align: center;
  margin: 50px auto 20px;
  color: #fff;
}

.rank-header h3{
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
}

.rank-header p{
  font-size: 15px;
  color: #ccc;
}

.table-wrapper{
  max-width: 980px;
  margin: 26px auto 0;
  overflow-x: auto;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
  padding: 8px 10px;
}

.rank-table{
  width: 100%;
  border-collapse: collapse;
  color: #eaeaea;
  font-size: 16px;
}

.rank-table thead th{
  text-align: center;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(214,179,106,0.35);
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}

.rank-table tbody td{
  text-align: center;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.rank-table td:first-child,
.rank-table th:first-child{
  width: 70px;
}

.rank-table tbody tr{
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-table tbody tr:hover{
  background: rgba(214,179,106,0.06);
  transform: translateY(-1px);
}


@keyframes fadeUp{
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes softPop{
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmerLine{
  0%   { transform: translateX(-120%); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

.page-hero{ animation: softPop 0.7s ease-out both; }
.page-body, .table-wrapper{ animation: fadeUp 0.8s ease-out both; animation-delay: 0.10s; }
.page-hero__title{ animation: fadeUp 0.9s ease-out both; animation-delay: 0.15s; }

.page-hero__line::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: shimmerLine 1.2s ease-out 0.25s both;
}

.center-content .logo,
.center-content h1,
.center-content h2{ animation: fadeUp 0.9s ease-out both; }
.center-content .logo{ animation-delay: 0.10s; }
.center-content h1{ animation-delay: 0.18s; }
.center-content h2{ animation-delay: 0.26s; }

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

.footer{
  margin-top: 0;
  padding: 0;
  width: 100%;
}

.footer__inner{
  width: 100%;
  margin: 0;
  padding: 18px 26px;

  border-top: 1px solid rgba(180,120,255,0.18);

  background:
    radial-gradient(900px 220px at 15% 50%, rgba(180,120,255,0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));

  box-shadow:
    0 -18px 60px rgba(0,0,0,0.55),
    0 0 50px rgba(180,120,255,0.10);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer__brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo{
  width: 56px;
  height: auto;
  display: block;
  margin-right: 16px;

  filter: drop-shadow(0 0 12px rgba(160,120,255,0.55));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer__logo:hover{
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 0 18px rgba(180,120,255,0.75));
}

body:not(.index) .page-body{
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

body:not(.index):not(.Geschichte):not(.Standort):not(.Aufgaben):not(.Rangsystem):not(.Bezahlung):not(.Regeln):not(.Fahrzeuge):not(.Auftreten):not(.RP-Förderung):not(.Schlusswort){
  background:
    radial-gradient(1200px 800px at 70% 10%, rgba(214,179,106,0.10), transparent 60%),
    linear-gradient(180deg, #050505, #000);
}

.rules-wrapper{
  max-width: 980px;
  margin: 0 auto;
}

.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__center{
  flex: 1;
  display: flex;
  justify-content: center;
}

.footer__discord{
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 12px 22px;
  border-radius: 16px;

  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 14px;

  color: #fff;

  background:
    linear-gradient(135deg, rgba(114,137,218,0.95), rgba(88,101,242,0.95));

  box-shadow:
    0 10px 30px rgba(0,0,0,0.45),
    0 0 30px rgba(114,137,218,0.35);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer__discord:hover{
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.6),
    0 0 55px rgba(114,137,218,0.65);
}

.discord-svg{
  width: 22px;
  height: 22px;
  fill: #fff;

  filter: drop-shadow(0 0 10px rgba(114,137,218,0.8));
  animation: discordPulse 2.8s ease-in-out infinite;
}

@keyframes discordPulse{
  0%{
    filter: drop-shadow(0 0 8px rgba(114,137,218,0.6));
  }
  50%{
    filter: drop-shadow(0 0 18px rgba(114,137,218,0.95));
  }
  100%{
    filter: drop-shadow(0 0 8px rgba(114,137,218,0.6));
  }
}

.discord-text{
  font-size: 14px;
}
