:root{
  --bg:#0b0f14;
  --bg2:#0e141d;
  --card:rgba(255,255,255,.03);
  --card2:rgba(255,255,255,.05);
  --txt:#e9eef6;
  --muted:rgba(233,238,246,.70);
  --muted2:rgba(233,238,246,.55);
  --gold:#d4af37;
  --gold2:#f0d98a;
  --line:rgba(233,238,246,.10);
  --shadow:0 16px 50px rgba(0,0,0,.45);
  --r:18px;
  --r2:24px;
  --max:1180px;
  --pad:22px;

  /* Header-Höhe (Desktop) */
  --header-h:120px;
  /* Header-Höhe (Mobile) */
  --header-h-m:52px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--txt);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(212,175,55,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(124,92,255,.16), transparent 55%),
    radial-gradient(900px 500px at 60% 110%, rgba(55,212,138,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}

.wrap{max-width:var(--max); margin:0 auto; padding:28px 18px 54px}
.site-main{min-height:70vh}

/* =========================
   HEADER (kompakt + modern)
   ========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid rgba(233,238,246,.08);
  background:rgba(11,15,20,.70);
  backdrop-filter:saturate(140%) blur(10px);
}

.site-header__inner{
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 6px 18px;              /* -> reduziert Header-Höhe */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Brand: nur Logo (Text aus) */
.brand__text,
.brand__name,
.brand__tag{
  display:none !important;
}

.brand{
  display:flex;
  align-items:center;
  flex: 0 0 auto;
}

/* Logo = Header-Höhe (minus etwas Padding) */
.brand__logo{
  height: calc(var(--header-h) - 12px);
  width:auto;
  object-fit:contain;
  padding:0;
  border:none;
  background:transparent;
  border-radius:0;
  display:block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

/* Nav */
.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
}

.nav__link{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
  transition: all .15s ease;
}
.nav__link:hover{
  color:var(--txt);
  background:rgba(255,255,255,.03);
  border-color:rgba(233,238,246,.12);
}

/* Mobile: kompakter + Nav darunter */
@media (max-width: 860px){
  .site-header__inner{
    min-height: var(--header-h-m);
    padding: 6px 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .brand__logo{
    height: calc(var(--header-h-m) - 12px);
  }
  .nav{
    justify-content:flex-start;
    width:100%;
    gap:6px;
  }
  .nav__link{padding:9px 10px}
}

/* Generic UI */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border:1px solid rgba(233,238,246,.10);
  box-shadow: var(--shadow);
  border-radius: var(--r2);
}
.pad{padding:var(--pad)}
.hr{height:1px; background:rgba(233,238,246,.10); margin:22px 0}

.kicker{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(212,175,55,.12);
  border:1px solid rgba(212,175,55,.22);
  color:var(--gold2);
  font-weight:800;
  letter-spacing:.2px;
  font-size:.86rem;
}
.h1{
  font-size: clamp(30px, 4vw, 46px);
  line-height:1.08;
  margin:14px 0 0;
  letter-spacing:-.4px;
}
.p{
  margin:12px 0 0;
  color:var(--muted);
  font-size:1.05rem;
  line-height:1.55;
}
.small{color:var(--muted2); font-size:.95rem; line-height:1.5}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(233,238,246,.14);
  background:rgba(255,255,255,.03);
  font-weight:800;
  font-size:.86rem;
  color:var(--muted);
}
.badge.gold{
  background:rgba(212,175,55,.12);
  border-color:rgba(212,175,55,.24);
  color:var(--gold2);
}
.badge.good{background:rgba(55,212,138,.10); border-color:rgba(55,212,138,.25); color:#bff4d9}
.badge.bad{background:rgba(255,90,120,.10); border-color:rgba(255,90,120,.25); color:#ffd1db}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(233,238,246,.14);
  background:rgba(255,255,255,.03);
  color:var(--txt);
  font-weight:850;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover{transform: translateY(-1px); border-color:rgba(233,238,246,.22); background:rgba(255,255,255,.05)}
.btn:active{transform: translateY(0)}
.btn.primary{
  background: linear-gradient(135deg, rgba(212,175,55,.95), rgba(240,217,138,.95));
  border-color: rgba(212,175,55,.45);
  color:#101114;
  box-shadow: 0 14px 30px rgba(212,175,55,.18);
}
.btn.primary:hover{background: linear-gradient(135deg, rgba(240,217,138,.98), rgba(212,175,55,.98))}

/* Hero */
.hero{
  position:relative;
  padding: 26px 0 8px;
}
.hero__panel{
  position:relative;
  overflow:hidden;
}
.hero__panel:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(900px 380px at 15% 10%, rgba(212,175,55,.20), transparent 55%),
    radial-gradient(700px 320px at 90% 0%, rgba(124,92,255,.18), transparent 55%);
  pointer-events:none;
}
.hero__grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.35fr .9fr;
  gap:16px;
  padding:26px;
}
.hero__cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.hero__bullets{display:flex; flex-direction:column; gap:10px}
.bullet{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px 14px;
  border-radius:16px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(233,238,246,.10);
}
.bullet__icon{width:34px; height:34px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:rgba(212,175,55,.14); border:1px solid rgba(212,175,55,.22); color:var(--gold2); font-weight:900}
.bullet__title{font-weight:900}
.bullet__text{color:var(--muted); font-size:.96rem; margin-top:4px; line-height:1.45}

/* Grids */
.grid3{display:grid; grid-template-columns:repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns:repeat(2, 1fr); gap:14px}
.tile{
  padding:18px;
  border-radius:20px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(233,238,246,.10);
  transition: transform .12s ease, border-color .12s ease;
}
.tile:hover{transform: translateY(-2px); border-color:rgba(233,238,246,.18)}
.tile__icon{font-size:1.15rem; opacity:.95}
.tile__title{margin:10px 0 0; font-weight:900; font-size:1.08rem}
.tile__desc{margin:8px 0 0; color:var(--muted); line-height:1.55}

/* Steps */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.step{position:relative}
.step__num{
  width:34px; height:34px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(124,92,255,.16);
  border:1px solid rgba(124,92,255,.22);
  font-weight:900;
}
.step__title{margin:10px 0 0; font-weight:900}
.step__desc{margin:8px 0 0; color:var(--muted); line-height:1.55}

/* Forms */
.form{display:block}
.field{margin-top:12px}
label{display:block; font-weight:850; color:var(--muted); margin-bottom:7px}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(233,238,246,.14);
  background:rgba(0,0,0,.18);
  color:var(--txt);
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(212,175,55,.42);
  box-shadow: 0 0 0 4px rgba(212,175,55,.10);
}
textarea{resize:vertical}
.notice{
  border-radius:18px;
  padding:14px 14px;
  border:1px solid rgba(255,210,80,.22);
  background:rgba(255,210,80,.08);
  color:var(--txt);
}

/* Footer */
.site-footer{
  border-top:1px solid rgba(233,238,246,.08);
  background: rgba(11,15,20,.72);
}
.site-footer__inner{
  max-width:var(--max); margin:0 auto;
  padding:18px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr; padding:18px}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
}

/* Motion */
@media (prefers-reduced-motion: reduce){
  .btn,.tile{transition:none}
  .btn:hover,.tile:hover{transform:none}
}

/* Tables (admin + kunden) */
.section__title{
  margin:0;
  font-size:1.15rem;
  font-weight:900;
  letter-spacing:-.2px;
}
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(233,238,246,.10);
  background:rgba(0,0,0,.10);
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(233,238,246,.08);
  vertical-align:top;
  text-align:left;
}
.table thead th{
  font-size:.88rem;
  color:var(--muted);
  font-weight:900;
  background:rgba(255,255,255,.02);
}
.table tbody tr:hover td{
  background:rgba(255,255,255,.02);
}
.table tbody tr:last-child td{border-bottom:none}
/* Dropdowns überall lesbar (dark theme) */
select{
  background: rgba(0,0,0,.28) !important;   /* dunkler Hintergrund */
  color: var(--txt) !important;             /* helle Schrift */
  border: 1px solid rgba(233,238,246,.14);
  border-radius: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Fokus bleibt "SiRa-goldig" */
select:focus{
  border-color: rgba(212,175,55,.42) !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,.10) !important;
  outline: none;
}

/* Wichtig für die Dropdown-Liste selbst (Optionen) */
select option{
  background: #0b0f14;   /* richtig dunkel */
  color: #e9eef6;        /* gut lesbar */
}

/* Optional: wenn Browser eigene Styles reinfunken */
select optgroup{
  background: #0b0f14;
  color: #e9eef6;
}

/* Hilft bei einigen Browsern/OS-Themes */
select{ color-scheme: dark; }
