/* =========================================
   LIGHT THEME – FINAL (clean & konsistent)
   - Body trägt den Verlauf
   - Cards weiß mit Transparenz 0.75
   - Footer lesbar & ruhig
   Aktiv bei: body[data-theme="light"]
   ========================================= */

body[data-theme="light"]{
  /* Grundfarben */
  --bg0:#f3f6fb;
  --bg1:#ffffff;

  --text:#0f172a;
  --muted:rgba(15,23,42,.62);
  --line:rgba(15,23,42,.12);

  /* Navy Header */
  --navy:#1b2b44;
  --navy2:#16233a;
  --navText:#ffffff;

  /* Akzent */
  --orange:#ff7a18;
  --orange2:#ff9a46;

  --blue:#1b4cff;
  --ok:#16a34a;
  --warn:#f59e0b;

  --shadow:0 10px 26px rgba(15,23,42,.10);
  --shadowSoft:0 8px 18px rgba(15,23,42,.08);
}

/* =========================================
   BODY Hintergrund – Verlauf
   ========================================= */
body[data-theme="light"]{
  color:var(--text);
  background:
    radial-gradient(1100px 620px at 12% 12%, rgba(255,122,24,.22), transparent 58%),
    radial-gradient(900px 520px at 88% 10%, rgba(27,76,255,.16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg0) 60%, #eef2f7 100%);
}

/* Große Wrapper transparent halten */
body[data-theme="light"] main,
body[data-theme="light"] .layout,
body[data-theme="light"] .container{
  background: transparent;
}

/* =========================================
   TOPBAR
   ========================================= */
body[data-theme="light"] .topbar{
  background: linear-gradient(180deg, var(--navy), var(--navy2));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

body[data-theme="light"] .brand-text strong{
  color:#ffffff;
}
body[data-theme="light"] .brand-text em{
  color:rgba(255,255,255,.82);
}

body[data-theme="light"] .nav-link{
  color:var(--navText);
  opacity:.9;
}
body[data-theme="light"] .nav-link:hover,
body[data-theme="light"] .nav-link.is-active{
  opacity:1;
}

/* =========================================
   CARDS – weiß mit Transparenz .75
   ========================================= */
body[data-theme="light"] .card,
body[data-theme="light"] .cat-card,
body[data-theme="light"] .part-card{
  position:relative;
  background:rgba(255,255,255,.75);
  border-color:var(--line);
  box-shadow:0 10px 22px rgba(15,23,42,.08);
}

body[data-theme="light"] .card:hover,
body[data-theme="light"] .cat-card:hover,
body[data-theme="light"] .part-card:hover{
  background:rgba(255,255,255,.88);
  box-shadow:0 14px 30px rgba(15,23,42,.12);
}

/* Icons dürfen Akzent haben */
body[data-theme="light"] .card svg,
body[data-theme="light"] .card i{
  color:var(--orange);
}

/* =========================================
   BUTTONS
   ========================================= */
body[data-theme="light"] .btn{
  background:#ffffff;
  border-color:rgba(15,23,42,.14);
  color:var(--text);
}

body[data-theme="light"] .btn:hover{
  background:rgba(15,23,42,.04);
}

/* Primary */
body[data-theme="light"] .btn-primary{
  background:linear-gradient(180deg, var(--orange), var(--orange2));
  border-color:transparent;
  color:#111827;
  box-shadow:0 10px 18px rgba(255,122,24,.22);
}

/* Ghost */
body[data-theme="light"] .btn-ghost{
  background:rgba(255,255,255,.72);
  border-color:rgba(15,23,42,.18);
  color:#0f172a;
  box-shadow:0 6px 14px rgba(15,23,42,.10);
}
body[data-theme="light"] .btn-ghost:hover{
  background:rgba(255,255,255,.92);
  border-color:rgba(255,122,24,.40);
}

/* Ghost im Header */
body[data-theme="light"] .topbar .btn-ghost{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.26);
  color:rgba(255,255,255,.92);
  box-shadow:none;
}

/* Theme Button */
body[data-theme="light"] #themeToggle{
  background:linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.65));
  border:1px solid rgba(255,255,255,.55);
  color:#0f172a;
  box-shadow:0 6px 14px rgba(15,23,42,.18);
}

/* =========================================
   INPUTS
   ========================================= */
body[data-theme="light"] input,
body[data-theme="light"] select,
body[data-theme="light"] textarea,
body[data-theme="light"] .input{
  background:rgba(255,255,255,.96);
  border-color:rgba(15,23,42,.14);
  color:var(--text);
}

body[data-theme="light"] ::placeholder{
  color:rgba(15,23,42,.45);
}

/* =========================================
   FOOTER – angepasst & gut lesbar
   ========================================= */
body[data-theme="light"] .footer{
  background:rgba(255,255,255,.70);
  border-top:1px solid var(--line);
  color:rgba(15,23,42,.85);
}

/* Footer Links */
body[data-theme="light"] .footer a{
  color:var(--orange);
  font-weight:500;
}
body[data-theme="light"] .footer a:hover{
  color:var(--orange2);
  text-decoration:underline;
}

/* Footer muted Texte */
body[data-theme="light"] .footer .muted{
  color:rgba(15,23,42,.7);
}

/* Footer Überschriften */
body[data-theme="light"] .footer strong{
  color:#0f172a;
}

/* Trust-Pill im Light Theme besser abheben */
body[data-theme="light"] .pill{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.18);
  color: rgba(15,23,42,.85);
  box-shadow: 0 6px 14px rgba(15,23,42,.10);
}

/* =========================================
   Korrektur für "Nicht gewählt" (Light Theme)
   ========================================= */

/* Der linke Teil (z.B. "CPU", "Mainboard") */
body[data-theme="light"] .summary-list li.muted strong {
  color: var(--text); 
  opacity: 0.5; /* Heller/Transparenter als zuvor */
}

/* Der rechte Teil (der Strich "—") */
body[data-theme="light"] .summary-list li.muted span.muted {
  color: var(--text);
  opacity: 0.3; /* Noch ein Stück dezenter */
}

/* Optional: Den Rahmen der Liste etwas aufweichen */
body[data-theme="light"] .summary-list li {
  border-color: rgba(15, 23, 42, 0.05);
  background: rgba(15, 23, 42, 0.02);
}

/* Sidebar: Fortschritts-Badge im Light-Theme sichtbar machen */
/*#summaryHintBadge {
  border: 1px solid rgba(0, 0, 0, 0.85);
  /*background: rgba(0, 0, 0, 0.03);
  color: #222;*/
}


