
    
    
/* =====================================================
   LABORKÜHLSCHRANK.INFO — Ratgeber CSS
   Einbinden als separate Datei, z.B. ratgeber.css
   ===================================================== */

/* -- RESET & VARIABLEN ------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Farben — MuT Palette */
  --farbe0:       #00497f;   /* Dunkelblau, Outlines       */
  --farbe1:       #0069b4;   /* MuT Blau                   */
  --farbe2:       #b2d2e8;   /* 30%                        */
  --farbe3:       #cce1f0;   /* 20%                        */
  --farbe4:       #e5f0f7;   /* 10%                        */
  --hintergrund:  #eff;
  --akzent:       #ea5b0c;   /* Orange                     */
  --linkfarbe:    #0069b4;
  --textfarbe:    #575757;
  --ordnung:      #3aaa35;   /* Grün                       */
  --messen:       #95569e;   /* Lila                       */

  /* Aliase für das Ratgeber-Template */
  --surface:      #ffffff;
  --ink:          #222222;
  --ink-muted:    #555555;
  --accent:       #0069b4;   /* = --farbe1                 */
  --accent-dark:  #00497f;   /* = --farbe0                 */
  --accent-light: #e5f0f7;   /* = --farbe4                 */
  --rule:         #e5f0f7;
  --highlight:    #cce1f0;   /* = --farbe3                 */


}

/* -- LAYOUT: ARTIKEL-SEITEN (2 Spalten) -------------- */
/*
   Verwendung: Einzelne Ratgeber-Artikel
   Struktur:   <div class="page-wrap">
                 <article class="article">...</article>
                 <aside class="sidebar">...</aside>
               </div>
*/
.page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 60px 0;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  align-items: start;
}

/* -- LAYOUT: ÜBERSICHTSSEITE (1 Spalte) -------------- */
/*
   Verwendung: /wissen/ Übersichtsseite
   Struktur:   <div class="page-wrap page-wrap--full">
                 <div class="intro">...</div>
                 ...
               </div>
*/
.page-wrap--full {
  grid-template-columns: 1fr;   /* überschreibt 2-Spalten  */
  padding: 32px 20px 60px 0px;
}

/* -- ARTIKEL ------------------------------------------ */
.article {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 28px 28px 32px;
}

.article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--accent-dark);
  line-height: 1.25;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--highlight);
}
.article h2:first-child { margin-top: 0; }
.article p { margin-bottom: 14px; font-size: 15px; }
.article p:last-child { margin-bottom: 0; }

/* -- ANFORDERUNGS-KARTEN ------------------------------ */
.req-grid { display: grid; gap: 8px; margin: 16px 0 24px; }

.req-card {
  background: var(--accent-light);
  border: 1px solid #c5dff0;
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 14px;
}
.req-icon { font-size: 20px; line-height: 1; padding-top: 1px; }
.req-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  /*color: var(--accent-dark);*/
  margin-bottom: 3px;
}
.req-text { font-size: 14px; line-height: 1.55; color: var(--ink-muted); margin: 0; }

/* -- HINWEIS-BOX -------------------------------------- */
.callout {
  background: #fff8e1;
  border: 1px solid #f5cc5a;
  border-left: 4px solid #e6a800;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4a3900;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.callout-icon { font-size: 18px; flex-shrink: 0; padding-top: 1px; }

/* -- TABELLE ------------------------------------------ */
.norm-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.norm-table th {
  background: var(--accent);
  color: #fff;
  padding: 9px 12px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .03em;
}
.norm-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-muted);
}
.norm-table tr:nth-child(even) td { background: #f9f9f9; }
.norm-table tr:hover td { background: var(--accent-light); }
.norm-table .check { color: #1a7a1a; font-weight: 700; }
.norm-table .cross  { color: #b00; }

/* -- CTA-BOX ------------------------------------------ */
.cta-box {
  background: var(--accent-light);
  padding: 24px;
  margin-top: 36px;
  border: 3px solid var(--accent-dark);
  border-radius: 8px;
}
.cta-box h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.cta-box p  { font-size: 14px; margin-bottom: 16px; }
.cta-box ul { margin: 0; padding: 0; list-style: none; }
.cta-box ul li {
  margin: .3em 0;
  list-style: none;
  background-image: url(../grafik/li-pfeil.gif);
  background-position: left center;
  background-repeat: no-repeat;
  padding: 0 0 0 15px;
}
.cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 10px 22px;
  text-decoration: none;
  border: 2px solid var(--accent);
  transition: background .15s, color .15s;
}
.cta-btn:hover { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }

/* -- SIDEBAR ------------------------------------------ */
.sidebar-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
}
.sidebar-card h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid ;
  /*color: var(--accent-dark);*/
  text-transform: uppercase;
  letter-spacing: .04em;
}
.toc-list { list-style: none; }
.toc-list li { padding: 5px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.toc-list li:last-child { border-bottom: none; }
.toc-list a { color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.toc-list a::before { content: '›'; font-size: 14px; color: var(--accent); flex-shrink: 0; }
.toc-list a:hover { text-decoration: underline; }

.fact-list { list-style: none; }
.fact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  gap: 8px;
}
.fact-list li:last-child { border-bottom: none; }
.fact-label { color: var(--ink-muted); }
.fact-value { font-weight: 700;  text-align: right; white-space: nowrap; }

.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  background: var(--accent-light);
  /*color: var(--accent-dark);*/
  border: 1px solid #b8d8ef;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 3px 7px;
}

/* -- TITLE BAR ---------------------------------------- */
.title-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding: 28px 20px 24px;
}
.title-bar-inner { max-width: 960px; margin: 0 auto; }
.title-tag {
  display: inline-block;
  background: var(--accent-light);

  border: 1px solid var(--highlight);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.title-bar h1 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 10px;
}

.title-lead { font-size: 15px; line-height: 1.65; color: var(--ink-muted); max-width: 700px; }
.title-meta { font-size: 12px; color: #999; display: flex; gap: 18px; margin-top: 10px; }

/* -- ÜBERSICHTSSEITE: INTRO & KARTEN ----------------- */
.intro {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  padding: 22px 24px;
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-muted);
  /* Volle Breite auch innerhalb eines Grid-Containers: */
  grid-column: 1 / -1;
  clear: both;
  display: block;
}
.intro strong { color: var(--ink); }

.audience-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.audience-tag {
  background: var(--accent-light);
  
  border: 1px solid var(--highlight);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  letter-spacing: .03em;
}

.section-heading {
  font-size: 1.1rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .05em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 20px;
  /* Volle Breite auch innerhalb eines Grid-Containers: */
  grid-column: 1 / -1;
  clear: both;
  display: block;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
  grid-column: 1 / -1;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.article-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,91,153,.1);
}
.card-category {
  background: var(--accent);
  border-radius: 8px 8px 0 0;  
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 6px 14px;
}
.card-body { padding: 18px 18px 14px; flex: 1; }
.card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.card-body p  { font-size: 13px; line-height: 1.6; color: var(--ink-muted); margin-bottom: 12px; }

.card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.card-tag {
  background: var(--accent-light);
  
  border: 1px solid #c5dff0;
  border-radius: 4px;
  font-size: 11px;
  padding: 2px 6px;
}
.card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-meta { font-size: 11px; color: #aaa; }
.card-link {
  display: inline-block;
  background: var(--accent);
  border-radius: 8px; 
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 7px 14px;
  text-decoration: none;
  transition: background .15s;
}
.card-link:hover { background: var(--accent-dark); }

.article-card.placeholder { border-style: dashed; background: transparent; }
.article-card.placeholder .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 18px;
  gap: 8px;
}
.placeholder-icon { font-size: 28px; opacity: .4; }
.placeholder-text { font-size: 13px; color: #bbb; }

/* -- RESPONSIVE --------------------------------------- */
@media (max-width: 720px) {
  .page-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 12px 48px;
  }
  .sidebar { order: -1; }
  .title-bar { padding: 20px 12px; }
  .article { padding: 20px 16px; }
}

@media (max-width: 600px) {
  .page-wrap--full { padding: 20px 12px 48px; }
  .article-grid    { grid-template-columns: 1fr; }
}    