:root{
  --bg:#fbfbfd;
  --surface:#ffffff;
  --text:#121212;
  --muted:#5b5b5b;
  --border:#e7e7ee;
  --accent:#2a6df4;
  --radius:16px;
  --shadow:0 10px 24px rgba(20,20,60,.06);
  --max:1100px;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:15px;
  color:var(--text);
  background:
    radial-gradient(900px 450px at 15% -10%, rgba(42,109,244,.08), transparent 60%),
    radial-gradient(900px 450px at 85% -15%, rgba(0,180,160,.06), transparent 55%),
    var(--bg);
  line-height:1.5;
}

a{
  color:var(--accent);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

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

/* Header + Navigation */
header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(251,251,253,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.2px;
  color:var(--text);
  white-space:nowrap;
}

.logo{
  width:34px;
  height:34px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(42,109,244,.95), rgba(0,180,160,.85));
  box-shadow:0 8px 16px rgba(42,109,244,.12);
}

nav.menu{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  font-size:15px;
}

nav.menu a{
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}

nav.menu a:hover{
  text-decoration:none;
  color:var(--text);
  background:rgba(18,18,18,.04);
  border-color:var(--border);
}

nav.menu a[aria-current="page"]{
  color:var(--text);
  background:rgba(42,109,244,.08);
  border-color:rgba(42,109,244,.18);
}

/* Layout */
.hero{
  padding:18px 0 6px;
  display:grid;
  gap:12px;
}

.section{
  padding:12px 0 18px;
}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:0 6px 16px rgba(20,20,60,.04);
}

.heroCard{
  border-radius:calc(var(--radius) + 4px);
  box-shadow:var(--shadow);
  padding:16px;
}

.sectionTitle{
  margin:0 0 10px;
  font-size:16px;
  letter-spacing:-.15px;
}

.lead{
  margin:0;
  color:var(--muted);
  max-width:90ch;
  font-size:15px;
}

/* Überschriften */
h1{
  margin:0 0 8px;
  font-size:24px;
  letter-spacing:-.2px;
  line-height:1.25;
}

h2{
  margin:0;
  font-size:16px;
  letter-spacing:-.15px;
}

/* Hero Bild */
.heroCard .heroGrid{
  display:grid;
  gap:0;
  align-items:stretch;
}

.heroImgWrap{
  width:100%;
  aspect-ratio:4 / 3;
  border-radius:16px;
  overflow:hidden;
  background:#f2f4f8;
}

.heroImg{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Grids */
.grid{
  display:grid;
  gap:12px;
}

.grid2{
  display:grid;
  gap:12px;
}

.grid3{
  display:grid;
  gap:12px;
}

/* Chips */
.chip{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:#2a2a2a;
  white-space:nowrap;
  font-size:13px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:10px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  font-weight:600;
  font-size:14px;
  line-height:1.2;
}

.btn:hover{
  text-decoration:none;
  background:rgba(18,18,18,.025);
}

.btnPrimary{
  background:rgba(42,109,244,.06);
  border-color:rgba(42,109,244,.25);
  color:var(--accent);
}

.btnPrimary:hover{
  background:rgba(42,109,244,.10);
}

/* Episoden */
.list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.epTop{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}

.date{
  color:#6a6a6a;
  font-size:13px;
  white-space:nowrap;
}

.epTitle{
  margin:8px 0 0;
  font-size:16px;
  letter-spacing:-.15px;
}

.epTitle a{
  color:var(--text);
}

.epDesc{
  margin:8px 0 0;
  color:var(--muted);
  font-size:15px;
}

audio{
  width:100%;
  margin-top:10px;
}

/* Footer */
footer{
  margin-top:18px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:14px;
  background:rgba(255,255,255,.55);
}

/* Kontaktformular */
.contactForm{
  display:grid;
  gap:14px;
}

.formRow{
  display:grid;
  gap:6px;
}

.formRow label{
  font-size:14px;
  font-weight:600;
  color:#333;
}

.formRow input,
.formRow textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  font-size:15px;
  font-family:inherit;
  color:var(--text);
}

.formRow textarea{
  resize:vertical;
  min-height:140px;
}

.formRow input:focus,
.formRow textarea:focus{
  outline:none;
  border-color:rgba(42,109,244,.45);
  box-shadow:0 0 0 4px rgba(42,109,244,.08);
}

/* Bauteile */
.card.partCardRequired{
  border:2px solid rgba(42,109,244,.45);
  background:linear-gradient(
    180deg,
    rgba(42,109,244,.12),
    #ffffff 70%
  );
}

.card.partCardRequired::before{
  content:"fix benötigt";
  display:inline-flex;
  margin-bottom:8px;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid rgba(42,109,244,.35);
  background:rgba(42,109,244,.12);
  color:var(--accent);
  font-size:13px;
  font-weight:700;
}

.partCardOptional{
  border-color:var(--border);
}

.chip.partBadgeRequired{
  background:rgba(42,109,244,.14);
  border-color:rgba(42,109,244,.38);
  color:var(--accent);
  font-weight:700;
}

.chip.partBadgeOptional{
  background:#fff;
  color:#666;
}

tr.partRowRequired td{
  background:rgba(42,109,244,.07);
}

/* Highlight Box */
.highlight{
  border-left:4px solid #4CAF50;
  padding-left:12px;
}

/* Responsive */
@media(min-width:900px){

  h1{
    font-size:28px;
  }

  .grid{
    grid-template-columns:repeat(2,1fr);
  }

  .grid2{
    grid-template-columns:1fr 1fr;
  }

  .grid3{
    grid-template-columns:repeat(3,1fr);
  }

  .heroCard .heroGrid{
    grid-template-columns:1.25fr .75fr;
  }

  .heroImgWrap{
    border-left:1px solid var(--border);
  }
}