:root{
  --bg: #070A0F;
  --box: rgba(255,255,255,.06);
  --box2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.10);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --muted2: rgba(255,255,255,.45);

  --blue: #39BEF6;
  --blue2: #0093C2;

  --radius: 22px;
  --radius2: 16px;

  --shadow: 0 18px 70px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
  radial-gradient(1200px 600px at 20% 15%, rgba(57,190,246,.16), transparent 60%),
  radial-gradient(900px 500px at 75% 70%, rgba(0,147,194,.10), transparent 60%),
  var(--bg);

  color:var(--text);
  overflow-x:hidden;
}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:34px 18px 70px;
  flex:1 0 auto;
}

/* HEADER */

.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(16px);
  background:rgba(7,10,15,.55);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.header-inner{
  max-width:1120px;
  margin:0 auto;
  padding:16px 18px;

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

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
}

.logo-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--blue);
  box-shadow:0 0 0 6px rgba(57,190,246,.10);
}

.logo-text{
  font-weight:700;
  letter-spacing:.3px;
}

.header-nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.header-link{
  appearance:none;
  border:1px solid transparent;
  background:transparent;
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  padding:10px 12px;
  border-radius:999px;
  transition:.18s ease;
  cursor:pointer;
}

.header-link:hover{
  color:var(--text);
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.08);
}

.header-link.active{
  color:var(--text);
  background:rgba(57,190,246,.12);
  border-color:rgba(57,190,246,.18);
}

.header-login{
  color:var(--text);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.10);
}

.header-login:hover{
  background:rgba(255,255,255,.09);
}

/* HERO */

.hero{
  padding:36px 0 24px;
}

.hero-box{
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--shadow);
  border-radius:var(--radius);
  padding:28px 26px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  overflow:hidden;
}

.hero-left{
  flex:1;
  min-width:260px;
}

.hero-right{
  width:220px;
  flex:0 0 auto;
}

.hero-top{
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
  letter-spacing:.15em;
}

.hero-title{
  margin:0;
  font-size:clamp(34px,5vw,58px);
  line-height:1.05;
  letter-spacing:-0.02em;
}

.hero-subtitle{
  margin:10px 0 22px;
  color:var(--muted);
  font-size:16px;
}

.hero-image{
  width:220px;
  height:220px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
}

.hero-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* SOCIAL */

.socials{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.social{
  text-decoration:none;
  color:var(--text);
  font-weight:600;
  font-size:14px;

  padding:12px 14px;
  border-radius:999px;

  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);

  transition:.18s ease;
}

.social:hover{
  transform:translateY(-1px);
  border-color:rgba(57,190,246,.25);
  background:rgba(57,190,246,.08);
}

/* NEWS */

.news{
  margin-top:18px;
}

.news-head h2{
  margin:0;
  font-size:18px;
}

.news-head p{
  margin:6px 0 14px;
  color:var(--muted);
  font-size:14px;
}

.news-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

.news-item{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:18px;

  transition:.18s ease;
}

.news-item:hover{
  transform:translateY(-2px);
  border-color:rgba(57,190,246,.18);
}

.news-open{
  width:100%;
  text-align:left;
  cursor:pointer;
}

.news-date{
  color:var(--muted2);
  font-size:12px;
  margin:0 0 8px;
}

.news-title{
  margin:0 0 8px;
  font-size:16px;
  color:var(--text);
}

.news-text{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.news-read-more{
  display:block;
  margin-top:10px;
  font-weight:700;
  font-size:13px;
  color:var(--text);
}

/* NEWS BUTTON */

.news-more{
  margin-top:12px;
}

.news-more-btn{
  display:inline-block;
  text-decoration:none;
  color:var(--text);
  font-size:13px;
  font-weight:700;

  padding:12px 14px;
  border-radius:999px;

  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);

  transition:.18s ease;
}

.news-more-btn:hover{
  background:rgba(255,255,255,.07);
}

/* FOOTER */

.footer{
  margin-top:auto;
  border-top:1px solid rgba(255,255,255,.06);
  background:rgba(7,10,15,.55);
  backdrop-filter:blur(16px);
}

.footer-inner{
  max-width:1120px;
  margin:0 auto;
  padding:18px;

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

.footer-copy{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

.footer-links{
  display:flex;
  gap:14px;
}

.footer-links a{
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
}

.footer-links a:hover{
  color:var(--text);
}

/* MODAL */

.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:100;
}

.modal.open{
  display:block;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
}

.modal-box{
  position:relative;
  width:min(820px,92%);
  max-height:85vh;
  overflow-y:auto;

  margin:0 auto;
  top:50%;
  transform:translateY(-50%);

  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);

  background:rgba(10,12,18,.92);
  backdrop-filter:blur(16px);

  box-shadow:0 20px 90px rgba(0,0,0,.65);
  padding:18px;
}

.modal-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.modal-close{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);

  width:40px;
  height:40px;
  border-radius:14px;
  cursor:pointer;
}

/* MOBILE */

@media (max-width:800px){

.hero-box{
flex-direction:column;
align-items:flex-start;
}

.hero-right{
width:100%;
}

.hero-image{
width:160px;
height:160px;
}

.news-grid{
grid-template-columns:1fr;
}

}

/* NEWS POPUP größer + scrollbar */

#newsModal{
  z-index: 9999;
}

#newsModal .modal-box{
  width: 900px !important;
  max-width: 95vw !important;
  height: auto !important;
  max-height: 85vh !important;
  overflow: hidden !important;
}

#newsModalContent{
  display: block !important;
  margin-top: 10px;
  max-height: 65vh !important;
  overflow-y: auto !important;
  white-space: pre-wrap !important;
  line-height: 1.7 !important;
  padding-right: 8px;
}adding-right: 6px;
}