/* ==========================================================================
   WCreinigen.de – Stylesheet
   Aufbau wie bisher (Logo, blaue Menüleiste, Inhalt links, Seitenspalte rechts,
   graue Fußzeile), zeitgemäß umgesetzt und mobil optimiert.
   Keine externen Ressourcen – Systemschriften, alles lokal.
   ========================================================================== */

:root {
  --blau: #2b6cb0;
  --blau-hell: #3783d7;
  --blau-sehr-hell: #eaf2fb;
  --text: #1f3a5c;
  --text-grau: #5b6672;
  --rot: #c40d0d;
  --grau-hell: #f3f5f8;
  --linie: #d5dde7;
  --gelb: #fff7e0;
  --gelb-rand: #e0a800;
  --gruen: #eaf6ec;
  --gruen-rand: #3d9a52;
  --radius: 10px;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Verdana, Arial, sans-serif;
  --schrift-titel: "Trebuchet MS", "Segoe UI", Geneva, Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #dfe5ec;
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--blau); text-underline-offset: 2px; }
a:hover, a:focus { color: var(--rot); }
:focus-visible { outline: 3px solid var(--blau-hell); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--schrift-titel);
  color: var(--rot);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .02em;
  text-align: left;
  margin: 1.5em 0 .5em;
}
h1 { font-size: 1.65rem; margin-top: .3em; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.12rem; }
h4 { font-size: 1rem; color: var(--text); }

p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }
li > h3 { margin-top: .4em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 20;
  background: var(--blau); color: #fff; padding: .5em 1em;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Rahmen ---------- */

#wrap {
  background: #fff;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 100vh;
  box-shadow: 0 0 24px rgba(31, 58, 92, .12);
}

/* ---------- Kopf ---------- */

#kopf {
  display: flex; align-items: center; gap: 1.2em;
  padding: .8em 20px .6em;
}
.marke { display: block; line-height: 0; flex: 0 0 auto; }
.marke img { width: 150px; height: auto; }
.kopf-slogan {
  margin: 0; color: var(--text-grau); font-size: .95rem; line-height: 1.35;
}

/* ---------- Hauptmenü ---------- */

#stirn {
  background: var(--blau);
  border-bottom: 3px solid #6a9a1f;
}
#stirn ul {
  display: flex; flex-wrap: wrap; gap: 0 .2em;
  list-style: none; margin: 0; padding: 0 12px;
}
#stirn li { margin: 0; }
#stirn a {
  display: block; padding: .65em .85em;
  color: #fff; font-weight: 700; text-decoration: none; font-size: .95rem;
}
#stirn a:hover, #stirn a:focus { background: rgba(255,255,255,.18); color: #fff; }
#stirn a[aria-current="page"] { background: rgba(0,0,0,.22); color: #fff; }

#breadcrumbs {
  padding: .55em 20px 0; margin: 0;
  color: var(--text-grau); font-size: .85rem;
}
#breadcrumbs a { color: var(--text-grau); }

/* ---------- Inhalt + Seitenspalte ---------- */

#seite {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5em;
  padding: .6em 20px 2em;
}

main { min-width: 0; }
main::after { content: ""; display: block; clear: both; }
main > :last-child { margin-bottom: 0; }

@media (min-width: 760px) {
  #seite { grid-template-columns: minmax(0, 1fr) 260px; gap: 2.2em; }
}

#navigation { min-width: 0; }
#navigation .verstopft { display: block; margin-bottom: 1.2em; line-height: 0; }
#navigation .verstopft img { border: 1px solid var(--linie); border-radius: var(--radius); }
.navi-gruppe {
  margin-bottom: 1.4em;
  background: var(--grau-hell);
  border-radius: var(--radius);
  padding: .3em 1em .8em;
}
.navi-gruppe h2 { font-size: 1.05rem; margin: .8em 0 .4em; }
.navi-gruppe ul { list-style: none; margin: 0; padding: 0; }
.navi-gruppe li { margin: 0; border-top: 1px solid var(--linie); }
.navi-gruppe li:first-child { border-top: 0; }
.navi-gruppe a { display: block; padding: .45em 0; text-decoration: none; font-size: .95rem; line-height: 1.35; }
.navi-gruppe a:hover { text-decoration: underline; }
.navi-gruppe a[aria-current="page"] { font-weight: 700; color: var(--rot); }

/* ---------- Texte ---------- */

.einleitung, main > p:first-of-type > b:only-child { font-size: 1.05em; }

.bild-rechts, .alignright { float: right; margin: 0 0 .8em 1.2em; max-width: 45%; }
.bild-links, .alignleft { float: left; margin: 0 1.2em .8em 0; max-width: 45%; }
.bild { display: block; margin: 1em auto; }
figure { margin: 1em 0; }

@media (max-width: 520px) {
  .bild-rechts, .alignright, .bild-links, .alignleft { float: none; display: block; margin: .8em auto; max-width: 100%; }
}

/* Kästen: Gewusst / Tipp / Wichtig */
.gewusst, .tipp, .infobox, .bluebox {
  clear: both;
  margin: 1.4em 0;
  padding: .9em 1.1em;
  border-radius: var(--radius);
}
.gewusst { background: var(--blau); color: #fff; }
.gewusst::before {
  content: "Gewusst?";
  display: inline-block; margin: 0 .6em .3em 0;
  padding: .05em .7em; border-radius: 6px;
  background: #fff; color: var(--blau);
  font-family: var(--schrift-titel); font-weight: 700; font-size: .95rem;
}
.gewusst a { color: #fff; }
.tipp { background: var(--gruen); border-left: 5px solid var(--gruen-rand); }
.tipp::before { content: "Tipp: "; font-weight: 700; color: #1f6b33; }
.infobox { background: var(--gelb); border-left: 5px solid var(--gelb-rand); }
.bluebox { background: var(--blau); color: #fff; text-align: center; }
.bluebox a { color: #fff; font-weight: 700; }
.bluebox a:hover { color: #fff; text-decoration: none; }

/* Linkkasten auf der Startseite */
.weiter { display: block; clear: both; margin: 1.2em 0 2em; }
.weiter a {
  display: inline-block; padding: .6em 1.1em; border-radius: var(--radius);
  background: var(--blau); color: #fff; font-weight: 700; text-decoration: none;
}
.weiter a:hover, .weiter a:focus { background: var(--rot); color: #fff; }

/* Tabellen */
table { border-collapse: collapse; width: 100%; margin: 0 0 1em; }
th, td { border: 1px solid var(--linie); padding: .4em .6em; text-align: left; }
th { background: var(--grau-hell); }

/* ---------- Artikel-Listen ---------- */

.artikel-liste { margin: 1em 0 1.5em; }
.teaser {
  display: flex; gap: 1em; align-items: flex-start;
  border: 1px solid var(--linie); border-radius: var(--radius);
  padding: .8em 1em; margin-bottom: .9em;
}
.teaser-bild { flex: 0 0 auto; line-height: 0; }
.teaser-bild img { border-radius: 8px; object-fit: cover; width: 84px; height: 84px; }
.teaser h3 { margin: 0 0 .2em; font-size: 1.05rem; }
.teaser h3 a { text-decoration: none; }
.teaser h3 a:hover { text-decoration: underline; }
.teaser p { margin: 0; font-size: .95rem; }
.teaser .datum { color: var(--text-grau); font-size: .82rem; margin-bottom: .2em; }

.tag-wolke { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5em; }
.tag-wolke li { margin: 0; }
.tag-wolke a {
  display: inline-block; padding: .2em .8em; border-radius: 999px;
  background: var(--blau-sehr-hell); text-decoration: none; font-size: .92rem;
}
.tag-wolke a:hover { background: var(--blau); color: #fff; }

.artikel-tags { margin-top: 2em; font-size: .9rem; color: var(--text-grau); }
.artikel-meta { color: var(--text-grau); font-size: .85rem; margin: -.3em 0 1em; }

/* ---------- Amazon-Anzeigen ---------- */

.produkt-hinweis, .produkt-liste {
  position: relative; clear: both;
  margin: 1.6em 0; padding: 1.5em 1em 1em;
  background: #f8fafc; border: 1px solid var(--linie); border-radius: var(--radius);
}
.label {
  position: absolute; top: .45em; left: 1em;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-grau);
}
.produkt-hinweis p { margin: 0 0 .7em; }
.produkt-hinweis p:last-child { margin-bottom: 0; }
.button {
  display: inline-block; padding: .55em 1.1em; border-radius: 8px;
  background: #ffb400; color: #1a1a1a; font-weight: 700; text-decoration: none;
  border: 1px solid #d79a00;
}
.button:hover, .button:focus { background: #ffc43a; color: #000; }
.liste-titel { margin: 0 0 .6em; font-weight: 700; color: var(--text); }
.produkt-liste ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7em; grid-template-columns: minmax(0, 1fr); }
.produkt-liste li { margin: 0; }
.produkt-liste a {
  display: block; height: 100%; padding: .7em .9em;
  background: #fff; border: 1px solid var(--linie); border-radius: 8px;
  color: var(--text); text-decoration: none;
}
.produkt-liste a:hover, .produkt-liste a:focus { border-color: var(--blau); box-shadow: 0 2px 8px rgba(31,58,92,.12); color: var(--text); }
.produkt-liste strong { display: block; color: var(--blau); }
.produkt-liste span { display: block; font-size: .9rem; color: var(--text-grau); margin: .1em 0 .3em; line-height: 1.4; }
.produkt-liste em { font-style: normal; font-size: .88rem; font-weight: 700; color: #a15c00; }
@media (min-width: 560px) {
  .produkt-liste ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Fuß ---------- */

#fuss {
  background: #5d6670; color: #f2f4f6;
  padding: 1em 20px 1.2em; font-size: .85rem; line-height: 1.5;
}
#fuss p { margin: 0 0 .5em; }
#fuss a { color: #fff; }
.fuss-links a { display: inline-block; margin-right: 1.2em; }

/* ---------- Mobil ---------- */

@media (max-width: 560px) {
  body { font-size: 1.03rem; }
  #kopf { padding: .6em 14px .4em; gap: .8em; }
  .marke img { width: 112px; }
  .kopf-slogan { font-size: .85rem; }
  #stirn ul { padding: 0 6px; }
  #stirn a { padding: .6em .6em; font-size: .9rem; }
  #breadcrumbs, #seite, #fuss { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.2rem; }
  .teaser { padding: .7em .8em; }
}

@media print {
  #stirn, #navigation, .produkt-hinweis, .produkt-liste, .skip-link { display: none; }
  body { background: #fff; }
  #wrap { box-shadow: none; }
}
