:root{
  --bg: #0b1020;
  --fg: #e8edf7;
  --muted:#aab4c6;
  --card: rgba(255,255,255,0.06);
  --stroke: rgba(255,255,255,0.10);
  --accent:#6aa4ff;
  --accent2:#a78bfa;
  --success:#22c55e;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--fg); background: var(--bg);
  display:grid; min-height:100dvh; place-items:center; padding: clamp(16px, 3vw, 48px);
  position:relative; overflow-x:hidden;
}
body::before, body::after{
  content:""; position:absolute; inset:auto; width:80vmax; height:80vmax; border-radius:50%; filter: blur(80px); opacity:.35; pointer-events:none;
  transform: translateZ(0);
}
body::before{ background: radial-gradient(55% 55% at 40% 40%, var(--accent), transparent 60%); top:-30vmax; left:-25vmax; }
body::after { background: radial-gradient(55% 55% at 60% 60%, var(--accent2), transparent 60%); bottom:-35vmax; right:-25vmax; }

.wrap{ width:min(1080px, 100%); }

header{
  display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:clamp(24px,3.2vw,36px);
}
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit; }
.logo{
  width:40px; height:40px; border-radius:12px; display:grid; place-content:center; background:linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.15);
}
.logo svg{ width:24px; height:24px; }
.logo img {
  width: 48px;   /* oder 64px, je nach Look */
  height: auto;
  display: block;
}
.logo img {
  width: 48px;       /* Logo-Größe */
  height: auto;      /* Höhe automatisch anpassen */
  display: block;
  color: var(--bg);   /* dunkles Blau aus der Website */
  border-radius: 12px;     /* Ecken abrunden, wirkt wie Icon */
  padding: 6px;            /* Luft um das Logo */
  box-shadow: 0 4px 12px rgba(0,0,0,0.4); /* leichter Schatten */
}


.brand .name{ font-weight:700; letter-spacing:.3px }
.status{ font-size:14px; color:var(--muted); opacity:.9 }

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid var(--stroke); border-radius:24px; padding: clamp(20px, 4vw, 40px);
  backdrop-filter: blur(8px); box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.hero{ display:grid; gap:18px; text-align:center; }
.kicker{ font-size:14px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
h1{ margin:0; font-size:clamp(28px, 6vw, 54px); line-height:1.08; }
.lead{ margin:0 auto; max-width:68ch; color:var(--muted); font-size:clamp(16px, 2.2vw, 18px); }

.cta{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:8px }
.btn{ --p:12px; padding:12px 18px; border-radius:14px; border:1px solid var(--stroke); background:transparent; color:var(--fg);
  text-decoration:none; font-weight:600; display:inline-flex; align-items:center; gap:10px; transition: transform .12s ease, background .2s ease, border-color .2s ease; }
.btn:hover{ transform: translateY(-1px); border-color:rgba(255,255,255,.25) }
.btn svg{ width:18px; height:18px }
.btn.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color:#0b1020; border: none;
  box-shadow: 0 12px 30px rgba(107, 144, 255, .35);
}

.features{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:16px; margin-top:24px }
.feature{
  padding:16px; border:1px dashed var(--stroke); border-radius:16px; min-height:120px; display:grid; align-content:start; gap:8px;
  background: rgba(255,255,255,.03);
}
.feature .t{ font-weight:600 }
.feature .d{ color:var(--muted); font-size:14px }

footer{ margin-top:clamp(20px,3vw,32px); color:var(--muted); font-size:14px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap }
.legal a{ color:inherit }

@media (prefers-reduced-motion: reduce){
  .btn:hover{ transform:none }
}
/* --- Ergänzungen für dokumente.html --- */

/* Dokumente-Seite: Grid + Viewer + Buttons */
.docs-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 12px;
}
.docs-grid .card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
}
.docs-grid .card h3 { margin: .2rem 0 .6rem; }

.viewer {
  aspect-ratio: 4/5;
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.viewer iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: .6rem;
}

/* Optionaler Hero-Block für die Dokumente-Seite */
.docs-hero {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px;
}
.docs-hero .facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: .6rem;
  margin: .4rem 0 1rem;
  padding-left: 1rem;
}
.docs-hero time { color: var(--muted); }

/* --- Ergänzungen für dokumente.html (Dev2) --- */
.docs-grid{
  display:grid; gap:16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top:12px;
}
.docs-grid .card{ background:var(--card); border:1px solid var(--stroke); border-radius:16px; }
.docs-grid .card h3{ margin:.2rem 0 .6rem; }

.viewer{
  aspect-ratio:4/5; width:100%;
  border:1px solid var(--stroke); border-radius:12px; overflow:hidden; background:#fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.viewer iframe{ width:100%; height:100%; border:0; }

.btn-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:.6rem }
.muted{ font-size:.95rem; color:var(--muted); }

.docs-hero{ background:var(--card); border:1px solid var(--stroke); border-radius:16px; padding:16px; }
.docs-hero .facts{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap:.6rem; margin:.4rem 0 1rem; padding-left:1rem;
}
.docs-hero time{ color:var(--muted); }
