:root{
  --bg: #0b0b0f;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);
  --brand: #111111;
  --shadow: 0 16px 60px rgba(0,0,0,0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.07), transparent 60%),
              radial-gradient(1200px 600px at 80% 0%, rgba(255,255,255,0.05), transparent 55%),
              var(--bg);
  color: var(--text);
}

a{ color: var(--text); text-decoration:none; }
a:hover{ opacity: 0.92; }

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px 50px;
}

.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(11,11,15,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}
.brand{
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.brand{
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 16px;
}

.brand-logo{
  height: 26px;
  width: 26px;
  object-fit: contain;
  filter: brightness(1.1);
}

.nav{
  display:flex;
  align-items:center;
  gap: 12px;
}
.nav a{
  color: var(--muted);
  font-size: 14px;
}
.nav a.btn{ color: var(--text); }

.footer{
  border-top: 1px solid var(--border);
  background: rgba(11,11,15,0.65);
}
.footer-inner{
  max-width: 1100px;
  margin:0 auto;
  padding: 18px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
}
.footer-links a{
  color: var(--muted);
  margin-left: 12px;
  font-size: 14px;
}
.muted{ color: var(--muted); }
.small{ font-size: 13px; }
.grad{
  background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card.inner{
  margin-top: 12px;
  box-shadow: none;
  background: rgba(255,255,255,0.05);
}

.flash{
  margin-bottom: 14px;
  display: grid;
  gap: 8px;
}
.flash-item{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.92);
  color: #0b0b0f;
  font-weight: 700;
  cursor:pointer;
  transition: transform .06s ease, opacity .15s ease;
}
.btn:hover{ opacity: 0.95; }
.btn:active{ transform: translateY(1px); }
.btn.ghost{
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.btn.full{ width: 100%; }

/* Hero / Landing */
.hero{ padding-top: 18px; }
.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 13px;
}
.hero-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.hero h1{
  font-size: 48px;
  line-height: 1.06;
  margin: 14px 0 10px;
}
.lead{ color: var(--muted); font-size: 16px; max-width: 58ch; }
.actions{ display:flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.chips{ margin-top: 16px; display:flex; gap: 10px; flex-wrap: wrap; }
.chip{
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
}

.code{
  margin: 12px 0 6px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.88);
  overflow:auto;
  font-size: 13px;
  line-height: 1.35;
}

/* Layout grids */
.grid1{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

/* Pricing */
.pricing h2{ margin: 22px 0 6px; }
.price-num{
  font-size: 34px;
  font-weight: 900;
  margin: 8px 0 10px;
}
.price ul{ margin: 10px 0 14px; padding-left: 18px; color: var(--muted); }
.price.highlight{
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}

/* Forms */
.form label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 6px;
}
input[type="text"], input[type="password"], input[type="file"], input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28);
  color: var(--text);
  outline: none;
}
input::placeholder{ color: rgba(255,255,255,0.42); }

/* Auth / legal center */
.center{
  min-height: calc(100vh - 140px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.auth{ width: 420px; }
.auth h2{ margin: 0 0 12px; }
.auth-links{ margin-top: 12px; }

.legal{ width: min(760px, 95vw); }

/* Dashboard */
.dash-header{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.dash-meta{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.82);
}
.badge.ok{ border-color: rgba(0,255,160,0.25); }
.badge.warn{ border-color: rgba(255,190,0,0.25); }

/* Responsive */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 900px){
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .grid1{ grid-template-columns: 1fr; }
  .dash-header{ flex-direction: column; align-items: flex-start; }
}
/* Passwort Toggle */
.pw-wrap{
  position: relative;
}

.pw-wrap input{
  padding-right: 44px; /* Platz für das Auge */
}

.pw-toggle{
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  border-radius: 10px;
  padding: 6px 9px;
  cursor: pointer;
  font-size: 14px;
}

.pw-toggle:hover{
  background: rgba(255,255,255,0.12);
}
