/* ==========================================================
   Dobermann DayZ – neues Design
   Schriften lokal eingebunden (keine Verbindung zu Google)
   ========================================================== */
@font-face { font-family: 'Orbitron'; font-weight: 500; font-display: swap; src: url('fonts/orbitron-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Orbitron'; font-weight: 700; font-display: swap; src: url('fonts/orbitron-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Orbitron'; font-weight: 900; font-display: swap; src: url('fonts/orbitron-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url('fonts/roboto-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 500; font-display: swap; src: url('fonts/roboto-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 700; font-display: swap; src: url('fonts/roboto-latin-700-normal.woff2') format('woff2'); }

:root {
  --red: #e63946;
  --red-dark: #b8202d;
  --navy: #1d3557;
  --bg: #0b0d10;
  --surface: rgba(18, 21, 26, 0.78);
  --surface-solid: #14171c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef0f2;
  --muted: #a3a9b1;
  --green: #2ecc71;
  --radius: 16px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(11,13,16,0.82) 0%, rgba(11,13,16,0.92) 60%, rgba(11,13,16,0.97) 100%),
    url('images/bg.gif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: #ff6b75; }

h1, h2, h3 { font-family: 'Orbitron', sans-serif; letter-spacing: .02em; line-height: 1.2; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(11, 13, 16, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(11, 13, 16, 0.92); }

.brand { display: flex; align-items: center; gap: .5rem; color: var(--text); }
.brand img { height: 40px; width: auto; }
.brand h1 { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.brand h1 span { color: var(--red); }

.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  color: var(--muted); font-size: .92rem; font-weight: 500;
  padding: .45rem .8rem; border-radius: 999px;
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(255,255,255,0.07); }

.header-tools { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; min-width: 36px; padding: 0 .55rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: rgba(255,255,255,0.04); color: var(--text);
  font: 500 .85rem 'Roboto', sans-serif; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(255,255,255,0.1); }
.icon-btn.active { border-color: var(--red); background: rgba(230,57,70,0.15); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 1.25rem 5rem;
  background:
    radial-gradient(ellipse at center, rgba(11,13,16,0.15) 0%, rgba(11,13,16,0.7) 75%),
    linear-gradient(180deg, rgba(11,13,16,0.35) 0%, rgba(11,13,16,0.2) 50%, var(--bg) 100%),
    url('images/bgold.gif') center / cover no-repeat;
  overflow: hidden;
}
.hero-inner { max-width: 960px; animation: rise .9s ease-out both; }
.hero-logo { width: min(220px, 50vw); height: auto; margin: 0 auto 1.5rem; display: block; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.hero h2 {
  font-size: clamp(1.6rem, 4.2vw, 2.9rem); font-weight: 900; margin: 0 0 1rem;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0,0,0,.7);
}
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #dfe3e7; max-width: 640px; margin: 0 auto 2rem; text-shadow: 0 2px 12px rgba(0,0,0,.8); }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.badge {
  font: 700 .72rem 'Orbitron', sans-serif; letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 999px;
  background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
}
.badge.red { border-color: var(--red); color: #ff8a92; }

.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 12px;
  font: 700 .85rem 'Orbitron', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 28px rgba(230,57,70,.4); }
.btn-primary:hover { background: #f04a57; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(230,57,70,.55); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; transform: translateY(-2px); }

.scroll-hint {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px;
}
.scroll-hint::after {
  content: ''; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scroll 1.8s infinite;
}

/* ---------- Layout ---------- */
main { padding: 0 clamp(1rem, 4vw, 2rem) 2rem; }
.container { max-width: 1120px; margin: 0 auto; }

.section { padding: clamp(3rem, 7vw, 5rem) 0 0; }
.section-head { margin-bottom: 1.75rem; }
.eyebrow {
  display: inline-block; font: 700 .72rem 'Orbitron', sans-serif; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: .5rem;
}
.section h3 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 700; margin: 0; color: var(--text);
}
.section h3::after {
  content: ''; display: block; width: 56px; height: 3px; margin-top: .8rem;
  background: linear-gradient(90deg, var(--red), transparent); border-radius: 2px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.lead { font-size: 1.12rem; color: #d7dbe0; max-width: 820px; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.25rem; align-items: stretch; }
.about-tags { display: flex; flex-wrap: wrap; gap: .5rem; align-content: center; }
.about-tags span {
  padding: .4rem .8rem; border-radius: 8px; font-size: .88rem; font-weight: 500;
  background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.3); color: #ffc1c6;
}

/* Features */
.feature-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem;
}
.feature-grid li {
  position: relative; display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .2s, border-color .2s, background .2s;
}
.feature-grid li:hover { transform: translateY(-3px); border-color: rgba(230,57,70,0.5); background: rgba(26,29,35,0.9); }
.feature-grid .ico {
  flex: 0 0 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 6px 16px rgba(230,57,70,.35);
}
.feature-grid .ico svg { width: 22px; height: 22px; color: #fff; }
.feature-grid .txt { font-weight: 500; line-height: 1.45; padding-top: .15rem; }

.note {
  display: flex; gap: .9rem; align-items: flex-start;
  margin-top: 1.25rem; padding: 1rem 1.25rem;
  border-radius: 12px; border: 1px solid rgba(46,204,113,0.35);
  background: rgba(46,204,113,0.08);
}
.note svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--green); margin-top: .15rem; }
.note p { margin: 0; }

/* Monetarisierung */
.monetization-intro { font-weight: 700; font-size: 1.05rem; margin: 0 0 1rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.check-list > li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list > li > svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--green); margin-top: .2rem; }
.sub-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .35rem; }
.sub-list li { position: relative; padding-left: 1.2rem; color: var(--muted); }
.sub-list li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.monetization-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.5rem;
  padding: .6rem 1rem; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: var(--text); font-weight: 500;
}
.monetization-link:hover { border-color: var(--red); color: var(--text); }
.monetization-link svg { width: 16px; height: 16px; }

/* Regeln */
.rules-grid {
  list-style: none; margin: 0; padding: 0; counter-reset: rule;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem;
}
.rules-grid li {
  counter-increment: rule; position: relative;
  padding: 1.25rem 1.2rem 1.2rem; min-height: 120px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  border-top: 3px solid var(--red);
  font-weight: 500; line-height: 1.45;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.rules-grid li::before {
  content: counter(rule, decimal-leading-zero);
  display: block; margin-bottom: .5rem;
  font: 900 1.6rem 'Orbitron', sans-serif; color: rgba(230,57,70,0.55);
}
.rules-link { margin-top: 1.25rem; color: var(--muted); }
.rules-link a { font-weight: 700; }

/* Kontakt + Discord */
.two-col { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.25rem; align-items: start; }
.contact-card { display: flex; flex-direction: column; gap: 1rem; }
.contact-row {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1rem; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}
.contact-row svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--red); }
.contact-row a { font-weight: 500; word-break: break-all; }

.embed { width: 100%; border: 0; border-radius: 12px; display: block; background: #1e2124; }

/* Status */
.status-panel { text-align: center; border-color: rgba(230,57,70,0.4); box-shadow: 0 0 0 1px rgba(230,57,70,0.15), 0 20px 50px rgba(0,0,0,.4), 0 0 40px rgba(230,57,70,0.15); max-width: 760px; margin: 0 auto; }
.status-header { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 1rem; }
.status-icon { height: 36px; width: auto; }
.status-header h3 { margin: 0; font-size: 1.35rem; color: var(--red); }
.status-header h3::after { display: none; }
.live { color: var(--green); display: inline-flex; align-items: center; gap: .35rem; }
.live::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46,204,113,.7); animation: pulse 1.8s infinite; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 5rem; padding: 2.5rem 1.25rem;
  text-align: center; font-size: .9rem; color: var(--muted);
  background: rgba(8, 9, 11, 0.9); border-top: 1px solid var(--border);
}
.site-footer img { height: 48px; width: auto; margin-bottom: .75rem; opacity: .85; }
.site-footer p { margin: .25rem 0 0; }


/* ---------- Impressum & Datenschutz ---------- */
.legal-links { margin-top: .9rem !important; }
.legal-links a { color: var(--text); font-weight: 500; border-bottom: 1px solid rgba(230,57,70,.6); padding-bottom: 1px; }
.legal-links a:hover { color: var(--red); }

.legal-modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.legal-modal[hidden] { display: none; }
.legal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.legal-dialog {
  position: relative; width: 100%; max-width: 820px; max-height: min(88vh, 900px);
  display: flex; flex-direction: column;
  background: var(--surface-solid); border: 1px solid var(--border); border-top: 3px solid var(--red);
  border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: rise .3s ease-out both;
}
.legal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }
.legal-head h2 { margin: 0; font-size: 1.1rem; }
.legal-body { overflow-y: auto; padding: 1.25rem 1.5rem 2rem; color: #cfd4da; font-size: .95rem; line-height: 1.7; overflow-wrap: anywhere; }
.legal-body h3 { font-size: 1.25rem; color: var(--red); margin: 1.5rem 0 .75rem; }
.legal-body h3:first-child { margin-top: .25rem; }
.legal-body h4 { font-family: 'Orbitron', sans-serif; font-size: 1rem; color: var(--text); margin: 1.75rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.legal-body h5 { font-family: 'Roboto', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); margin: 1.25rem 0 .35rem; }
.legal-body p { margin: 0 0 .75rem; }
.legal-body ul { margin: 0 0 .75rem; padding-left: 1.25rem; }
.legal-body li { margin-bottom: .35rem; }
@media (max-width: 520px) { .legal-head, .legal-body { padding-left: 1rem; padding-right: 1rem; } }


/* ---------- Unsere Server ---------- */
.server-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.server-card {
  --accent: var(--red);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.5rem 1.4rem 1.6rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.server-card.pve { --accent: var(--green); }
.server-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px var(--accent); }
.server-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%);
}
.server-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; position: relative; }
.server-no { font: 900 2.4rem/1 'Orbitron', sans-serif; color: var(--accent); opacity: .9; }
.server-map { font: 700 .72rem 'Orbitron', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.server-name { position: relative; margin: 0; font: 700 1.1rem/1.3 'Orbitron', sans-serif; color: var(--text); }
.server-tags { position: relative; display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font: 700 .7rem 'Orbitron', sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 6px; border: 1px solid; }
.tag.pvp { color: #ff8a92; border-color: rgba(230,57,70,.5); background: rgba(230,57,70,.12); }
.tag.pve { color: #7ee2a8; border-color: rgba(46,204,113,.5); background: rgba(46,204,113,.12); }
.tag.van { color: #ffd27a; border-color: rgba(255,190,70,.5); background: rgba(255,190,70,.12); }
.tag.fp  { color: #9cc4ff; border-color: rgba(100,160,255,.5); background: rgba(100,160,255,.12); }
.server-text { position: relative; margin: 0; color: #cfd4da; line-height: 1.6; }
.server-hint { margin-top: 1.1rem; color: var(--muted); }

/* ---------- Animationen ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,204,113,.7); } 70% { box-shadow: 0 0 0 8px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1rem 1rem;
    background: rgba(11, 13, 16, 0.97); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .3s, opacity .3s;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: .8rem 1rem; border-radius: 10px; font-size: 1rem; }
  .about-grid, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .brand h1 { font-size: 1rem; }
  .brand img { height: 34px; }
  body { background-attachment: scroll; }
}
