/* ===========================================================
   REAL GRAZ ONLINE — FiveM Server Website
   Dark Navy / Blue theme
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg-0:#040914;
  --bg-1:#070f24;
  --bg-2:#0b1730;
  --bg-3:#0f1f40;
  --panel:#0d1a35;
  --panel-border:rgba(94,179,255,0.14);
  --line:rgba(94,179,255,0.10);
  --blue-1:#1a56db;
  --blue-2:#2e6fef;
  --blue-glow:#5eb3ff;
  --blue-soft:#8fb8f0;
  --text-0:#eaf2ff;
  --text-1:#b7c9e8;
  --text-2:#7c8db3;
  --danger:#ff6b6b;
  --ok:#4ade80;
  --warn:#ffcc66;
  --radius:14px;
  --maxw:1180px;
  --shadow-glow: 0 0 40px rgba(46,111,239,0.18);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}

body{
  margin:0;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(46,111,239,0.16), transparent 60%),
    radial-gradient(ellipse 900px 600px at 110% 10%, rgba(94,179,255,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, var(--bg-0));
  color:var(--text-1);
  font-family:'Inter', system-ui, sans-serif;
  min-height:100vh;
  line-height:1.6;
}

h1,h2,h3,h4,.brand-word{
  font-family:'Rajdhani', 'Inter', sans-serif;
  color:var(--text-0);
  letter-spacing:0.02em;
  margin:0;
}

a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}

/* ---------- Background grid texture ---------- */
.grid-glow{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(94,179,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,179,255,0.05) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
}

/* ---------- Header / Nav ---------- */
header.site{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(4,9,20,0.82);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--panel-border);
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 24px;
  max-width:var(--maxw);
  margin:0 auto;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{
  width:42px;height:42px;border-radius:50%;
  box-shadow:0 0 0 2px rgba(94,179,255,0.25), 0 0 24px rgba(46,111,239,0.35);
}
.brand-text{display:flex;flex-direction:column;line-height:1.1;}
.brand-word{font-size:19px;font-weight:700;color:var(--text-0);}
.brand-sub{font-size:10.5px;letter-spacing:0.28em;color:var(--blue-glow);font-weight:600;}

nav.main-nav{
  display:flex;
  align-items:center;
  gap:2px;
  flex-wrap:wrap;
}
nav.main-nav a{
  position:relative;
  font-size:14.5px;
  font-weight:600;
  color:var(--text-1);
  padding:9px 14px;
  border-radius:8px;
  transition:color .2s ease, background .2s ease;
  white-space:nowrap;
}
nav.main-nav a:hover{color:var(--text-0); background:rgba(94,179,255,0.08);}
nav.main-nav a.active{color:var(--text-0);}
nav.main-nav a.active::after{
  content:"";
  position:absolute;
  left:14px;right:14px;bottom:4px;
  height:2px;
  background:linear-gradient(90deg,var(--blue-glow),var(--blue-1));
  border-radius:2px;
  box-shadow:0 0 8px var(--blue-glow);
}

.nav-toggle{
  display:none;
  background:none;
  border:1px solid var(--panel-border);
  border-radius:8px;
  color:var(--text-0);
  width:42px;height:38px;
  font-size:18px;
  cursor:pointer;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 22px;
  border-radius:10px;
  font-weight:700;
  font-size:14.5px;
  cursor:pointer;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{
  background:linear-gradient(135deg,var(--blue-2),var(--blue-1));
  color:#eaf2ff;
  box-shadow:0 6px 22px rgba(26,86,219,0.4);
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 10px 28px rgba(46,111,239,0.5);}
.btn-ghost{
  background:rgba(94,179,255,0.06);
  border:1px solid var(--panel-border);
  color:var(--text-0);
}
.btn-ghost:hover{background:rgba(94,179,255,0.12); border-color:rgba(94,179,255,0.35);}

/* ---------- Hero ---------- */
.hero{
  padding:96px 0 64px;
  text-align:center;
  position:relative;
}
.hero .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12.5px;
  letter-spacing:0.22em;
  font-weight:700;
  color:var(--blue-glow);
  background:rgba(46,111,239,0.10);
  border:1px solid rgba(94,179,255,0.25);
  padding:8px 16px;
  border-radius:999px;
  margin-bottom:28px;
}
.hero .eyebrow .dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--ok);
  box-shadow:0 0 8px var(--ok);
}
.hero h1{
  font-size:clamp(38px,6vw,68px);
  font-weight:700;
  line-height:1.05;
  margin-bottom:20px;
}
.hero h1 span{
  background:linear-gradient(120deg,var(--blue-glow),var(--blue-1) 60%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero p.lead{
  max-width:640px;
  margin:0 auto 36px;
  font-size:17px;
  color:var(--text-1);
}
.hero-actions{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}

/* ---------- Stats strip ---------- */
.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--panel-border);
  border-radius:var(--radius);
  overflow:hidden;
  margin:56px auto 0;
  max-width:920px;
}
.stat{
  background:var(--panel);
  padding:26px 16px;
  text-align:center;
}
.stat .num{
  font-family:'Rajdhani',sans-serif;
  font-size:32px;
  font-weight:700;
  color:var(--text-0);
}
.stat .lbl{
  font-size:12.5px;
  color:var(--text-2);
  letter-spacing:0.08em;
  margin-top:4px;
}

/* ---------- Sections generic ---------- */
section{padding:72px 0;}
.section-head{
  text-align:center;
  max-width:640px;
  margin:0 auto 48px;
}
.section-head .kicker{
  font-size:12.5px;
  letter-spacing:0.24em;
  color:var(--blue-glow);
  font-weight:700;
  margin-bottom:12px;
  display:block;
}
.section-head h2{font-size:clamp(28px,4vw,40px); font-weight:700;}
.section-head p{color:var(--text-2); margin-top:12px; font-size:15.5px;}

/* ---------- Cards / grid ---------- */
.card-grid{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(3,1fr);
}
.card{
  background:linear-gradient(180deg, var(--panel), rgba(13,26,53,0.5));
  border:1px solid var(--panel-border);
  border-radius:var(--radius);
  padding:28px;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover{
  transform:translateY(-4px);
  border-color:rgba(94,179,255,0.35);
  box-shadow:var(--shadow-glow);
}
.card .icon{
  width:46px;height:46px;
  border-radius:11px;
  background:rgba(46,111,239,0.14);
  border:1px solid rgba(94,179,255,0.25);
  display:flex;align-items:center;justify-content:center;
  font-size:20px;
  margin-bottom:16px;
}
.card h3{font-size:18px; font-weight:600; margin-bottom:8px;}
.card p{font-size:14.5px; color:var(--text-2); margin:0;}

/* ---------- Team ---------- */
.team-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.team-card{
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:var(--radius);
  padding:24px 20px;
  text-align:center;
  transition:transform .2s ease, border-color .2s ease;
}
.team-card:hover{transform:translateY(-4px); border-color:rgba(94,179,255,0.35);}
.team-avatar{
  width:76px;height:76px;
  border-radius:50%;
  margin:0 auto 16px;
  background:linear-gradient(135deg,var(--blue-1),var(--bg-3));
  display:flex;align-items:center;justify-content:center;
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  font-size:22px;
  color:var(--text-0);
  border:2px solid rgba(94,179,255,0.3);
}
.team-card h3{font-size:16.5px; margin-bottom:2px;}
.team-role{
  font-size:12.5px;
  color:var(--blue-glow);
  font-weight:600;
  letter-spacing:0.06em;
  margin-bottom:10px;
}
.team-card p.desc{font-size:13.5px; color:var(--text-2);}
.team-tag{
  display:inline-block;
  margin-top:4px;
  font-size:11px;
  padding:3px 10px;
  border-radius:999px;
  background:rgba(46,111,239,0.12);
  color:var(--blue-soft);
  border:1px solid rgba(94,179,255,0.2);
}

/* ---------- Social ---------- */
.social-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.social-card{
  display:flex;
  align-items:center;
  gap:18px;
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:var(--radius);
  padding:24px;
  transition:transform .2s ease, border-color .2s ease;
}
.social-card:hover{transform:translateY(-4px); border-color:rgba(94,179,255,0.35);}
.social-icon{
  width:52px;height:52px;
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-size:24px;
  flex-shrink:0;
}
.social-icon.discord{background:rgba(88,101,242,0.16); color:#8ea1ff; border:1px solid rgba(88,101,242,0.3);}
.social-icon.tiktok{background:rgba(255,255,255,0.08); color:#eaf2ff; border:1px solid rgba(255,255,255,0.15);}
.social-icon.youtube{background:rgba(255,60,60,0.14); color:#ff8a8a; border:1px solid rgba(255,60,60,0.28);}
.social-icon.instagram{background:rgba(225,48,108,0.14); color:#ff9ecb; border:1px solid rgba(225,48,108,0.28);}
.social-icon.twitch{background:rgba(145,70,255,0.16); color:#c6a4ff; border:1px solid rgba(145,70,255,0.3);}
.social-icon.tebex{background:rgba(94,179,255,0.14); color:var(--blue-glow); border:1px solid rgba(94,179,255,0.3);}
.social-card h3{font-size:16.5px; margin-bottom:4px;}
.social-card p{font-size:13px; color:var(--text-2); margin:0;}
.social-card .go{margin-left:auto; color:var(--text-2); font-size:18px;}

/* ---------- Accordion (Regelwerk) ---------- */
.accordion{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.acc-item{
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:var(--radius);
  overflow:hidden;
}
.acc-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 24px;
  cursor:pointer;
  user-select:none;
}
.acc-header:hover{background:rgba(94,179,255,0.05);}
.acc-title{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:16.5px;
  font-weight:600;
  color:var(--text-0);
}
.acc-num{
  font-family:'Rajdhani',sans-serif;
  font-size:13px;
  font-weight:700;
  color:var(--blue-glow);
  background:rgba(46,111,239,0.14);
  border:1px solid rgba(94,179,255,0.25);
  width:32px;height:32px;
  border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.acc-icon{
  font-size:18px;
  color:var(--text-2);
  transition:transform .25s ease;
  flex-shrink:0;
}
.acc-item.open .acc-icon{transform:rotate(180deg); color:var(--blue-glow);}
.acc-item.open .acc-header{border-bottom:1px solid var(--panel-border);}

.acc-body{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}
.acc-body-inner{
  padding:6px 24px 26px 70px;
  font-size:14.5px;
  color:var(--text-1);
}
.acc-body-inner ol,.acc-body-inner ul{padding-left:20px; margin:10px 0;}
.acc-body-inner li{margin-bottom:8px;}
.acc-body-inner p{margin:10px 0;}
.acc-body-inner strong{color:var(--text-0);}

/* ---------- FAQ ---------- */
.faq-list{display:flex;flex-direction:column;gap:12px;max-width:820px;margin:0 auto;}

/* ---------- Impressum form-style ---------- */
.impressum-box{
  max-width:760px;
  margin:0 auto;
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:var(--radius);
  padding:40px;
}
.impressum-box h3{
  font-size:17px;
  color:var(--blue-glow);
  margin-bottom:14px;
  margin-top:32px;
  letter-spacing:0.04em;
  border-bottom:1px solid var(--panel-border);
  padding-bottom:8px;
}
.impressum-box h3:first-child{margin-top:0;}
.field-row{
  display:flex;
  gap:6px;
  padding:10px 0;
  border-bottom:1px dashed rgba(94,179,255,0.12);
  font-size:14.5px;
  flex-wrap:wrap;
}
.field-row:last-child{border-bottom:none;}
.field-label{
  color:var(--text-2);
  min-width:190px;
  font-weight:600;
}
.field-value{
  color:var(--text-0);
  font-weight:500;
  background:rgba(94,179,255,0.06);
  border:1px dashed rgba(94,179,255,0.3);
  border-radius:6px;
  padding:2px 10px;
  flex:1;
}
.impressum-note{
  margin-top:28px;
  font-size:13px;
  color:var(--text-2);
  background:rgba(255,204,102,0.06);
  border:1px solid rgba(255,204,102,0.25);
  padding:14px 18px;
  border-radius:10px;
}
.impressum-note strong{color:var(--warn);}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(135deg, rgba(26,86,219,0.18), rgba(94,179,255,0.06));
  border:1px solid rgba(94,179,255,0.25);
  border-radius:20px;
  padding:56px 40px;
  text-align:center;
}
.cta-banner h2{font-size:clamp(24px,3.5vw,34px); margin-bottom:14px;}
.cta-banner p{color:var(--text-1); max-width:520px; margin:0 auto 28px;}

/* ---------- Footer ---------- */
footer.site{
  border-top:1px solid var(--panel-border);
  margin-top:40px;
  padding:48px 0 28px;
  background:var(--bg-0);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:32px;
  margin-bottom:36px;
}
.footer-brand p{font-size:13.5px; color:var(--text-2); max-width:280px; margin-top:12px;}
.footer-col h4{font-size:13px; color:var(--text-0); letter-spacing:0.08em; margin-bottom:14px;}
.footer-col a{
  display:block;
  font-size:13.5px;
  color:var(--text-2);
  padding:6px 0;
  transition:color .2s ease;
}
.footer-col a:hover{color:var(--blue-glow);}
.footer-bottom{
  border-top:1px solid var(--panel-border);
  padding-top:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-size:12.5px;
  color:var(--text-2);
}
.footer-bottom .madeby{
  color:var(--text-2);
}
.footer-bottom .madeby span{
  color:var(--blue-glow);
  font-weight:700;
}

/* ---------- Page header banner (sub pages) ---------- */
.page-banner{
  padding:64px 0 44px;
  text-align:center;
  border-bottom:1px solid var(--panel-border);
  background:radial-gradient(ellipse 700px 300px at 50% -10%, rgba(46,111,239,0.16), transparent 70%);
}
.page-banner .kicker{
  font-size:12.5px;
  letter-spacing:0.24em;
  color:var(--blue-glow);
  font-weight:700;
  display:block;
  margin-bottom:14px;
}
.page-banner h1{font-size:clamp(30px,4.5vw,46px);}
.page-banner p{color:var(--text-2); max-width:560px; margin:14px auto 0; font-size:15px;}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .card-grid{grid-template-columns:repeat(2,1fr);}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .social-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .stats{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:760px){
  .nav-toggle{display:block;}
  nav.main-nav{
    position:absolute;
    top:100%;left:0;right:0;
    background:var(--bg-1);
    border-bottom:1px solid var(--panel-border);
    flex-direction:column;
    align-items:stretch;
    padding:10px;
    display:none;
  }
  nav.main-nav.open{display:flex;}
  nav.main-nav a{padding:12px 14px;}
  .card-grid{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:1fr 1fr;}
  .social-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .impressum-box{padding:26px;}
  .field-label{min-width:140px;}
}
@media (max-width:480px){
  .team-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .acc-body-inner{padding-left:24px;}
  .acc-num{display:none;}
}
