/* TuneTex – minimalistisches, schnelles Layout (ohne Frameworks) */
:root{
  --bg: #0b0f14;
  --panel: #101826;
  --text: #e7eef8;
  --muted: #a9b6c7;
  --brand: #7c5cff;
  --brand2:#2bd4ff;
  --border: rgba(231,238,248,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: radial-gradient(1200px 800px at 10% -10%, rgba(124,92,255,.35), transparent 55%),
              radial-gradient(900px 600px at 95% 0%, rgba(43,212,255,.18), transparent 45%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  max-width: var(--max);
  margin:0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.72);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.2px;
}
.brand-badge{
  width:34px;height:34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: var(--shadow);
}
.brand-logo{
  width:34px;
  height:34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.nav-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav-links a{
  color: var(--muted);
  font-weight:600;
  padding:8px 10px;
  border-radius: 12px;
}
.nav-links a[aria-current="page"]{
  background: rgba(124,92,255,.16);
  color: var(--text);
}

/* Hero */
.hero{
  padding: 54px 0 28px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:stretch;
}
.hero-card{
  background: linear-gradient(180deg, rgba(16,24,38,.92), rgba(16,24,38,.72));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height:1.1;
}
.subtitle{
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 16px;
}
.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 14px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.02);
}
.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top: 18px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  color: var(--text);
  font-weight:700;
  text-decoration:none;
}
.btn:hover{ text-decoration:none; border-color: rgba(124,92,255,.55); }
.btn:focus-visible{
  outline: 2px solid rgba(124,92,255,.65);
  outline-offset: 2px;
}

/* Form Controls (Select wirkt sonst im Dropdown "weiß") */
select.btn, input.btn{
  appearance: none;
  -webkit-appearance: none;
  background: rgba(16,24,38,.72);
  color: var(--text);
}
select.btn option{
  background: var(--panel);
  color: var(--text);
}
.btn.primary{
  background: linear-gradient(135deg, rgba(124,92,255,.9), rgba(43,212,255,.65));
  border-color: transparent;
}
.btn.primary:hover{ filter: brightness(1.05); }

/* Sections */
.section{
  padding: 18px 0 40px;
}
.section h2{
  margin: 0 0 14px;
  font-size: 22px;
}
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  background: rgba(16,24,38,.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.card h3{ margin:0 0 8px; font-size:16px; }
.card p{ margin:0; color: var(--muted); }
.muted{ color: var(--muted); }
.small{ font-size: 13px; }

.list{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap:10px;
}
.list li{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,.02);
}
.list li > a{
  border-radius: 12px;
}
.list li > a:hover{
  text-decoration:none;
  filter: brightness(1.03);
}
.list li > a:focus-visible{
  outline: 2px solid rgba(124,92,255,.65);
  outline-offset: 2px;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: rgba(11,15,20,.6);
  padding: 18px 0;
  color: var(--muted);
}
.footer-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px 18px;
  align-items:center;
  justify-content:space-between;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.footer-links a{ color: var(--muted); }

/* Responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
}
