/* =====================================================================
   Gemeinsames Stylesheet für die Unterseiten
   (Rechtstexte, Produkt-/Zielgruppenseiten, Aktuelle Posten)
   Optik wie die Startseite: dunkles Marineblau + Gold-Akzent
   ===================================================================== */

:root{
  --bg:#0f1722;
  --panel:#121c28;
  --card:#1a2330;
  --border:#2f3a49;
  --text:#ffffff;
  --muted:#b7c0cc;
  --accent:#d4a53a;
  --accent2:#f2e7c9;
  --shadow2: 0 12px 30px rgba(0,0,0,.25);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  line-height:1.6;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

a{ color:var(--accent); }

/* ── Kopfzeile ── */
.kopf{
  position:sticky; top:0; z-index:20;
  background:rgba(15,23,34,.95);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
  padding:12px 18px;
}
.kopf-inner{
  max-width:1100px; margin:0 auto;
  display:flex; align-items:center; gap:16px; flex-wrap:wrap;
}
.kopf .logo img{ height:44px; display:block; }
.kopf nav{
  margin-left:auto;
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.kopf nav a{
  text-decoration:none; font-weight:700;
  color:rgba(255,255,255,.92);
  padding:8px 10px; border-radius:10px;
  transition:background .15s ease;
}
.kopf nav a:hover{ background:rgba(26,35,48,.6); }
.kopf nav a.cta{
  background:rgba(212,165,58,.14);
  border:1px solid rgba(212,165,58,.45);
  color:var(--accent2);
}

/* ── Inhalt ── */
main{ flex:1; }
.inhalt{
  max-width:900px; margin:0 auto;
  padding:44px 18px 64px;
}
.inhalt-breit{ max-width:1100px; }
h1{ font-size:clamp(1.6rem,3vw,2.3rem); line-height:1.2; color:var(--text); margin:0 0 10px; }
h1 .akzent{ color:var(--accent); }
h2{ font-size:1.35rem; color:var(--accent); margin:34px 0 12px; }
h3{ font-size:1.05rem; color:var(--accent2); margin:24px 0 8px; }
p{ color:rgba(255,255,255,.92); margin:0 0 12px; }
.muted{ color:var(--muted); }
ul{ color:rgba(255,255,255,.88); }

.brotkrumen{
  font-size:.82rem; color:var(--muted); margin-bottom:20px;
}
.brotkrumen a{ color:var(--muted); text-decoration:none; }
.brotkrumen a:hover{ color:var(--text); }

.box{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px 26px;
  margin:18px 0;
}

/* ── Buttons ── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 18px; border-radius:14px;
  text-decoration:none; font-weight:800;
  border:1px solid transparent; cursor:pointer;
  transition:transform .15s ease, background .15s ease;
}
.btn-primary{ background:var(--accent); color:#0f1722; }
.btn-primary:hover{ transform:translateY(-2px); }
.cta-zeile{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin:22px 0; }

/* ── Schwesterseiten / Querverlinkung ── */
.verwandt{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px; margin:16px 0;
}
.verwandt a{
  display:block; text-decoration:none;
  background:var(--card); border:1px solid var(--border);
  border-radius:12px; padding:14px 18px;
  color:var(--text); font-weight:700;
  transition:border-color .15s ease, transform .15s ease;
}
.verwandt a:hover{ border-color:rgba(212,165,58,.55); transform:translateY(-2px); }
.verwandt a span{ display:block; font-weight:500; font-size:.82rem; color:var(--muted); margin-top:4px; }

/* ── Posten-Tabelle ── */
.stand{ color:var(--muted); font-size:.9rem; margin-bottom:14px; }
.tabelle-umbruch{ overflow-x:auto; }
table.posten{
  width:100%; border-collapse:collapse; font-size:.92rem;
  background:var(--panel); border:1px solid var(--border); border-radius:12px;
}
table.posten th, table.posten td{
  padding:12px 14px; text-align:left;
  border-bottom:1px solid var(--border);
}
table.posten th{
  color:var(--accent); font-size:.78rem; text-transform:uppercase; letter-spacing:.5px;
}
table.posten tr:last-child td{ border-bottom:none; }
table.posten tr.vergeben{ opacity:.45; }
.status{
  display:inline-block; padding:3px 10px; border-radius:20px;
  font-size:.78rem; font-weight:700; white-space:nowrap;
}
.status-verfuegbar{ background:rgba(76,175,130,.15); border:1px solid rgba(76,175,130,.5); color:#7de8b8; }
.status-wenig{ background:rgba(212,165,58,.15); border:1px solid rgba(212,165,58,.5); color:var(--accent2); }
.status-vergeben{ background:rgba(122,138,156,.15); border:1px solid rgba(122,138,156,.5); color:var(--muted); }
.btn-anfragen{
  display:inline-block; padding:7px 14px; border-radius:10px;
  background:var(--accent); color:#0f1722; font-weight:700; font-size:.82rem;
  text-decoration:none; white-space:nowrap;
}

/* ── Fußzeile ── */
.fuss{
  border-top:1px solid var(--border);
  background:var(--panel);
  padding:36px 18px 22px;
  margin-top:40px;
}
.fuss-inner{
  max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:26px;
}
.fuss h4{ margin:0 0 10px; font-size:.85rem; text-transform:uppercase; letter-spacing:.5px; color:var(--accent); }
.fuss a{ display:block; color:var(--muted); text-decoration:none; padding:3px 0; font-size:.9rem; }
.fuss a:hover{ color:var(--text); }
.fuss .marke img{ height:40px; margin-bottom:8px; }
.fuss .marke p{ color:var(--muted); font-size:.85rem; margin:0; }
.fuss-unten{
  max-width:1100px; margin:26px auto 0;
  border-top:1px solid var(--border); padding-top:16px;
  font-size:.8rem; color:var(--muted);
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
}

@media (max-width:600px){
  .kopf nav{ margin-left:0; }
  .inhalt{ padding-top:28px; }
}
