/* Werkküche: Farben aus dem Logo */
:root {
  --akzent: #c25a2c;
  --akzent-dunkel: #9c4520;
  --text: #1f1b18;
  --text-2: #2e2925;
  --grau: #5a514a;
  --grau-hell: #8a8078;
  --flaeche: #efe7db;
  --hintergrund: #f6f1e9;
  --weiss: #fff;
  --breite: 1200px;
  --schmal: 760px;
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--hintergrund); color: var(--text-2); font: 17px/1.7 var(--schrift); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent); }
a:hover { color: var(--akzent-dunkel); }
h1, h2, h3, h4 { color: var(--text); line-height: 1.25; margin: 1.6em 0 .5em; }
h1 { font-size: clamp(28px, 4.5vw, 40px); margin-top: .3em; }
h2 { font-size: clamp(22px, 3vw, 28px); }
h3 { font-size: 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--weiss); padding: 8px 12px; z-index: 10; }

/* Kopf */
.kopf { background: var(--hintergrund); border-bottom: 1px solid var(--flaeche); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo img { width: 230px; }
.hauptmenue { display: flex; gap: 22px; flex-wrap: wrap; }
.hauptmenue a { color: var(--text); text-decoration: none; font-weight: 600; }
.hauptmenue a:hover, .hauptmenue a[aria-current] { color: var(--akzent); }

/* Inhalt */
main { min-height: 60vh; }
.artikel, .seite, .schmal { max-width: var(--schmal); margin: 0 auto; padding: 32px 20px; }
.artikel-kopf .kategorie { margin: 0; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 700; }
.artikel-kopf .kategorie a { text-decoration: none; }
.artikel-kopf .autor { color: var(--grau); margin: 0 0 20px; font-size: 15px; }
.titelbild { width: 100%; border-radius: 6px; margin-bottom: 8px; aspect-ratio: 3 / 2; object-fit: cover; }
.text table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; background: var(--weiss); display: block; overflow-x: auto; }
.text th, .text td { padding: 8px 10px; border-bottom: 1px solid var(--flaeche); text-align: left; vertical-align: top; }
.text th { background: var(--flaeche); color: var(--text); }
.text li { margin-bottom: .3em; }
.text blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--akzent); background: var(--weiss); }
.bildnachweis, .klein { color: var(--grau-hell); font-size: 13px; }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1em 0; }
.galerie figure, .text figure { margin: 0; }
.galerie img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 4px; }
.text > figure img { border-radius: 6px; }
.autorbox { display: flex; gap: 16px; margin-top: 40px; padding: 20px; background: var(--weiss); border-radius: 6px; font-size: 15px; }
.autorbox img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.autorbox p { margin: 0; }
.autorname { font-weight: 700; color: var(--text); }

/* Startseite */
.aufmacher { min-height: 440px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--weiss); background-size: cover; background-position: center; position: relative; padding: 40px 20px; }
.aufmacher::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.aufmacher div { position: relative; max-width: 820px; }
.aufmacher h1 { color: var(--weiss); font-size: clamp(32px, 6vw, 48px); margin: 0 0 .4em; }
.aufmacher p { font-size: clamp(18px, 2.4vw, 22px); margin: 0; }
.themen { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Kacheln */
.liste, .aehnlich { max-width: var(--breite); margin: 0 auto; padding: 16px 20px 48px; }
.aehnlich { border-top: 1px solid var(--flaeche); }
.intro { color: var(--grau); margin-top: 0; }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kachel { display: flex; flex-direction: column; background: var(--weiss); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--text-2); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); transition: transform .15s; }
.kachel:hover { transform: translateY(-2px); color: var(--text-2); }
.kachel img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.kachel-text { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.kachel-text strong { color: var(--text); font-size: 18px; line-height: 1.3; }

/* Fuß */
.fuss { background: var(--text); color: var(--flaeche); text-align: center; padding: 28px 20px; font-size: 14px; }
.fuss nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.fuss a { color: var(--flaeche); text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }
.fuss p { margin: 12px 0 0; color: var(--grau-hell); }

@media (max-width: 900px) { .kacheln { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .kacheln, .themen { grid-template-columns: 1fr; }
  .kopf-innen { justify-content: center; }
  .logo img { width: 200px; }
  .hauptmenue { justify-content: center; gap: 16px; }
  .galerie { grid-template-columns: 1fr 1fr; }
}
