@import url('../fonts/fonts.css');
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');

/* ======================== */
/* CUSTOM PROPERTIES        */
/* ======================== */
:root {
  /* Primaer – Heide & Violet */
  --heide-bluete: #6B4C6E;
  --erika-violett: #8E6D91;
  --daemmer-heide: #4A3550;
  --heide-hauch: #C9B3CB;

  /* Erde – Moor & Boden */
  --moor-torf: #3D2E22;
  --heide-land: #5C4A3A;
  --sand-heide: #8A7560;
  --heide-sand: #C4B49A;

  /* Nebel – Regen & Atmosphaere */
  --regen-himmel: #4A5259;
  --november-nebel: #6B737A;
  --morgen-dunst: #9AA0A6;
  --nebel-schleier: #D5D8DB;

  /* Hintergruende & Text */
  --alt-papier: #F0EBE3;
  --pergament: #E5DDD1;
  --moor-erde: #2C2420;
  --nebel-licht: #F7F4EF;

  /* Typografie */
  --font-text: 'Vollkorn', Georgia, serif;
  --font-fraktur: 'UnifrakturMaguntia', cursive;
  --font-kurrent: 'WiegelKurrent', cursive;
}

/* Wiegel Kurrent – selbst gehostet */
@font-face {
  font-family: 'WiegelKurrent';
  src: url('../fonts/WiegelKurrent.unz1t.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'WiegelKurrent';
  src: url('../fonts/WiegelKurrent.unz1tB.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: var(--font-text);
  background: var(--alt-papier);
  color: var(--moor-erde);
  min-height: 100vh;
  font-size: 1.05rem;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }

/* Externe Links im Artikeltext */
.article-body a[href]:not(.back-link):not(.tag),
.col a[href] {
  color: var(--erika-violett);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.article-body a[href]:not(.back-link):not(.tag):hover,
.col a[href]:hover {
  color: var(--heide-bluete);
}

img { display: block; max-width: 100%; height: auto; }

/* ======================== */
/* HEADER                   */
/* ======================== */
.site-header {
  background: var(--alt-papier);
  border-bottom: 1px solid var(--pergament);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(44, 36, 32, 0.08);
}

.header-article-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--moor-erde);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  position: absolute;
  left: 50%;
  translate: -50% 0;
}

.site-header.show-title .header-article-title {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s;
}

.logo-area:hover { opacity: 0.8; }

.logo-area img {
  height: 38px;
  width: auto;
}

.logo-area .site-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--moor-erde);
  letter-spacing: 0.03em;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--heide-land);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding-bottom: 2px;
}

.main-nav a:hover { color: var(--heide-bluete); }

/* ======================== */
/* ARTIKEL-HEADER           */
/* ======================== */
.article-header {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

/* Zweispaltig: breiterer Artikel-Header */
.layout-zweispaltig .article-header {
  max-width: 1100px;
}

.article-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--moor-erde);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.article-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--sand-heide);
  line-height: 1.5;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--november-nebel);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pergament);
  flex-wrap: wrap;
}

.article-meta .dot::before {
  content: '\00B7';
  margin: 0 4px;
}

.article-meta .author {
  font-weight: 600;
  color: var(--heide-land);
}

.article-tags {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.article-tags .tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid var(--nebel-schleier);
  color: var(--november-nebel);
  transition: all 0.2s;
}

.article-tags .tag:hover {
  border-color: var(--heide-bluete);
  color: var(--heide-bluete);
}

/* ======================== */
/* TEASER-INTRO             */
/* ======================== */
.article-teaser-intro {
  max-width: 740px;
  margin: 20px auto 0;
  padding: 0 24px;
  font-style: italic;
  color: var(--morgen-dunst);
  font-size: 0.92rem;
}

.layout-zweispaltig .article-teaser-intro {
  max-width: 1100px;
}

/* ======================== */
/* ARTIKEL-BILD (Aufmacher) */
/* ======================== */
.article-hero {
  max-width: 900px;
  margin: 32px auto 0;
  padding: 0 24px;
}

.article-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--pergament);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand-heide);
  font-size: 0.85rem;
  font-style: italic;
}

.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(12%) saturate(85%) brightness(97%) contrast(1.02);
}

.article-hero-caption {
  max-width: 740px;
  margin: 8px auto 0;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--morgen-dunst);
}

/* ======================== */
/* ARTIKEL-BODY (einspaltig)*/
/* ======================== */
.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 36px 24px 60px;
}

.article-body p {
  margin-bottom: 1.4em;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 2.2em;
  margin-bottom: 0.6em;
  color: var(--moor-torf);
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  color: var(--heide-land);
  line-height: 1.35;
}

.article-body blockquote {
  margin: 2em 0;
  padding: 20px 24px 20px 28px;
  border-left: 3px solid var(--heide-bluete);
  background: var(--nebel-licht);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--heide-land);
  line-height: 1.65;
}

.article-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--morgen-dunst);
  font-weight: 600;
}

/* Inline-Bild im Artikel */
.article-figure {
  margin: 2.2em 0;
}

.article-figure img,
.article-figure .placeholder-img {
  width: 100%;
  border-radius: 4px;
  filter: sepia(12%) saturate(85%) brightness(97%) contrast(1.02);
}

.placeholder-img {
  aspect-ratio: 16 / 10;
  background: var(--pergament);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand-heide);
  font-size: 0.85rem;
  font-style: italic;
}

.article-figure figcaption {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--morgen-dunst);
  margin-top: 8px;
}

/* Bild breit (ueber Textspalte hinaus) */
.article-figure.wide {
  max-width: 900px;
  margin-left: calc((740px - 900px) / 2);
  margin-right: calc((740px - 900px) / 2);
}

@media (max-width: 948px) {
  .article-figure.wide {
    max-width: 100%;
    margin-left: -24px;
    margin-right: -24px;
  }
}

/* Trennlinie */
.article-body hr {
  border: none;
  border-top: 1px solid var(--pergament);
  margin: 2.5em 0;
}

/* Infobox */
.info-box {
  margin: 2em 0;
  padding: 20px 24px;
  background: var(--nebel-licht);
  border: 1px solid var(--pergament);
  border-radius: 6px;
}

.info-box-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--heide-bluete);
  margin-bottom: 8px;
}

.info-box p {
  font-size: 0.92rem;
  margin-bottom: 0.6em;
  color: var(--heide-land);
}

.info-box p:last-child { margin-bottom: 0; }

/* ======================== */
/* ZWEISPALTIG-LAYOUT       */
/* ======================== */
.article-two-col {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.col {
  min-width: 0;
}

.col-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--morgen-dunst);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pergament);
}

.col p {
  margin-bottom: 1.4em;
}

.col h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.6em;
  color: var(--moor-torf);
  line-height: 1.3;
}

.col h2:first-child {
  margin-top: 0;
}

.col h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  color: var(--heide-land);
  line-height: 1.35;
}

.col blockquote {
  margin: 1.8em 0;
  padding: 18px 20px 18px 24px;
  border-left: 3px solid var(--heide-bluete);
  background: var(--nebel-licht);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--heide-land);
  line-height: 1.65;
}

.col blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--morgen-dunst);
  font-weight: 600;
}

.col-figure {
  margin: 1.8em 0;
}

.col-figure img,
.col-figure .placeholder-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  filter: sepia(12%) saturate(85%) brightness(97%) contrast(1.02);
}

.col-figure .placeholder-img {
  background: var(--pergament);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand-heide);
  font-size: 0.82rem;
  font-style: italic;
}

.col-figure figcaption {
  font-size: 0.76rem;
  font-style: italic;
  color: var(--morgen-dunst);
  margin-top: 6px;
}

.col .info-box {
  margin: 1.8em 0;
  padding: 18px 20px;
}

.col .info-box-title {
  font-size: 0.76rem;
}

.col .info-box p {
  font-size: 0.9rem;
  margin-bottom: 0.5em;
}

.col hr {
  border: none;
  border-top: 1px solid var(--pergament);
  margin: 2em 0;
}

/* ======================== */
/* FULL-WIDTH SEKTION       */
/* ======================== */
.full-width-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.full-width-section .article-figure.wide {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.full-width-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: var(--pergament);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand-heide);
  font-size: 0.85rem;
  font-style: italic;
}

.full-width-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(12%) saturate(85%) brightness(97%) contrast(1.02);
}

.full-width-caption {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--morgen-dunst);
  margin-top: 8px;
  max-width: 740px;
}

/* ======================== */
/* ARTIKEL-FOOTER           */
/* ======================== */
.article-footer {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.layout-zweispaltig .article-footer {
  max-width: 1100px;
}

.article-footer-divider {
  border: none;
  border-top: 1px solid var(--pergament);
  margin-bottom: 28px;
}

.author-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pergament);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--sand-heide);
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info .author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--moor-erde);
}

.author-info .author-bio {
  font-size: 0.85rem;
  color: var(--november-nebel);
  line-height: 1.5;
  margin-top: 4px;
}

/* Verwandte Artikel */
.related-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.related-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sand-heide);
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--nebel-licht);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}

.related-card:hover {
  box-shadow: 0 4px 20px rgba(44, 36, 32, 0.08);
  transform: translateY(-2px);
}

.related-card-img {
  aspect-ratio: 16 / 10;
  background: var(--pergament);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--sand-heide);
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(12%) saturate(85%) brightness(97%) contrast(1.02);
}

.related-card-body {
  padding: 14px 16px 18px;
}

.related-card-category {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--heide-bluete);
}

.related-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.35;
  color: var(--moor-erde);
}

/* ======================== */
/* KOMMENTARE               */
/* ======================== */
.comments-section {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.comments-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sand-heide);
  margin-bottom: 24px;
}

.comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--pergament);
}

.comment:first-of-type {
  border-top: 1px solid var(--pergament);
}

.comment-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.comment-author {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--moor-erde);
}

.comment-date {
  font-size: 0.75rem;
  color: var(--morgen-dunst);
}

.comment-text {
  font-size: 0.95rem;
  color: var(--heide-land);
  line-height: 1.65;
}

.no-comments {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--morgen-dunst);
  padding: 16px 0;
}

/* Kommentar-Formular */
.comment-form-section {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px 52px;
}

.comment-form-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sand-heide);
  margin-bottom: 20px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field label {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--november-nebel);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-text);
  font-size: 0.92rem;
  padding: 10px 14px;
  border: 1px solid var(--nebel-schleier);
  border-radius: 4px;
  background: var(--nebel-licht);
  color: var(--moor-erde);
  transition: border-color 0.2s;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--heide-hauch);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-hint {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--morgen-dunst);
  margin-top: -4px;
}

.comment-submit {
  font-family: var(--font-text);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 28px;
  border: none;
  border-radius: 4px;
  background: var(--heide-bluete);
  color: var(--nebel-licht);
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.02em;
}

.comment-submit:hover {
  background: var(--daemmer-heide);
}

.comment-submit:active {
  transform: scale(0.98);
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: var(--nebel-licht);
  border: 1px solid var(--pergament);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--heide-land);
  font-style: italic;
}

.form-success.visible { display: block; }

@media (max-width: 580px) {
  .form-row {
    flex-direction: column;
  }
}

/* ======================== */
/* BACK-LINK                */
/* ======================== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--heide-land);
  transition: color 0.2s;
  margin-bottom: 8px;
}

.back-link:hover { color: var(--heide-bluete); }

.back-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* ======================== */
/* FOOTER                   */
/* ======================== */
.site-footer {
  background: var(--moor-torf);
  color: var(--heide-sand);
  padding: 44px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo img { height: 28px; width: auto; opacity: 0.6; }

.footer-logo .site-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--nebel-licht);
  letter-spacing: 0.02em;
}

.footer-copy {
  margin-top: 6px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-style: italic;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.78rem;
}

.footer-links a {
  color: var(--heide-sand);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--heide-hauch); }

.footer-copy-bottom {
  margin-top: 22px;
  font-size: 0.68rem;
  color: var(--sand-heide);
}

/* ======================================== */
/* SCHRIFTEN – Fraktur, Kurrent            */
/* ======================================== */

/* Fraktur-Block: fuer Ueberschriften, Zitate, dekorative Akzente */
.stil-fraktur {
  font-family: var(--font-fraktur);
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--moor-torf);
}

.stil-fraktur p { margin-bottom: 1.4em; }
.stil-fraktur hr { border: none; border-top: 1px solid var(--pergament); margin: 2em 0; }
.stil-fraktur h2 { font-size: 1.6rem; line-height: 1.4; margin-bottom: 0.6em; margin-top: 1.8em; }
.stil-fraktur h2:first-child { margin-top: 0; }

/* Kurrent-Block: handschriftlich-dekorativ, immer mit Transkription begleiten */
.stil-kurrent {
  font-family: var(--font-kurrent);
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--heide-land);
}

.stil-kurrent p { margin-bottom: 1em; }

/* Transkription unter Kurrent-Text */
.kurrent-transkription {
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--november-nebel);
  margin-top: -0.5em;
  margin-bottom: 1.4em;
}

/* ======================================== */
/* VERS / GEDICHT                           */
/* ======================================== */
.verse {
  margin: 2em 0;
  padding: 24px 28px;
  background: var(--nebel-licht);
  border-left: 3px solid var(--heide-hauch);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--heide-land);
  line-height: 1.85;
}

.verse p { margin-bottom: 1.2em; }
.verse p:last-child { margin-bottom: 0; }

.verse .verse-highlight,
.verse strong {
  font-weight: 600;
  color: var(--moor-torf);
  font-style: italic;
}

/* ======================================== */
/* STIL-PRESETS (Styleguide-Kombinationen)  */
/* ======================================== */

/*
 * Benannte Presets aus Abschnitt 4.1 des Styleguides.
 * Koennen auf jeden :::-Block angewendet werden.
 */

/* Standard: Artikel auf Altpapier (Vollkorn, Altpapier-BG, Moorerde-Text)
   → Ist der Default, braucht keine extra Klasse */

/* Preset: dunkel — Moortorf-BG, Nebellicht-Text */
.stil-dunkel {
  background: var(--moor-torf);
  color: var(--nebel-licht);
  padding: 32px 28px;
  border-radius: 6px;
  margin: 2em 0;
}

.stil-dunkel h2,
.stil-dunkel h3 { color: var(--nebel-licht); }

.stil-dunkel a,
.stil-dunkel .akzent { color: var(--heide-hauch); }

.stil-dunkel .info-box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.stil-dunkel .info-box-title { color: var(--heide-hauch); }
.stil-dunkel .info-box p { color: var(--heide-sand); }

/* Preset: pergament — Pergament-BG, Heide-Akzent links */
.stil-pergament {
  background: var(--pergament);
  color: var(--moor-erde);
  padding: 24px 28px;
  border-left: 4px solid var(--heide-bluete);
  border-radius: 0 6px 6px 0;
  margin: 2em 0;
}

.stil-pergament p { color: var(--heide-land); }
.stil-pergament h2,
.stil-pergament h3 { color: var(--moor-torf); }

/* Preset: nebel — Nebellicht-BG, dezent, fuer Einschuebe */
.stil-nebel {
  background: var(--nebel-licht);
  color: var(--moor-erde);
  padding: 24px 28px;
  border-radius: 6px;
  margin: 2em 0;
}

/* ======================================== */
/* EINZELATTRIBUTE (Farbe/Hintergrund)      */
/* ======================================== */

/* Hintergrund-Klassen: hg-{farbname} */
.hg-alt-papier     { background-color: var(--alt-papier); }
.hg-pergament      { background-color: var(--pergament); }
.hg-nebel-licht    { background-color: var(--nebel-licht); }
.hg-moor-torf      { background-color: var(--moor-torf); }
.hg-heide-land     { background-color: var(--heide-land); }
.hg-daemmer-heide  { background-color: var(--daemmer-heide); }
.hg-heide-bluete   { background-color: var(--heide-bluete); }
.hg-regen-himmel   { background-color: var(--regen-himmel); }

/* Textfarbe-Klassen: farbe-{farbname} */
.farbe-moor-erde      { color: var(--moor-erde); }
.farbe-nebel-licht    { color: var(--nebel-licht); }
.farbe-heide-land     { color: var(--heide-land); }
.farbe-moor-torf      { color: var(--moor-torf); }
.farbe-heide-bluete   { color: var(--heide-bluete); }
.farbe-sand-heide     { color: var(--sand-heide); }
.farbe-heide-hauch    { color: var(--heide-hauch); }
.farbe-november-nebel { color: var(--november-nebel); }
.farbe-morgen-dunst   { color: var(--morgen-dunst); }

/* Schrift-Klassen */
.schrift-fraktur { font-family: var(--font-fraktur); }
.schrift-kurrent { font-family: var(--font-kurrent); }
.schrift-vollkorn { font-family: var(--font-text); }

/* Inline-Akzent (fuer hervorgehobene Woerter im Fliesstext) */
.akzent { color: var(--heide-bluete); font-weight: 600; }

/* ======================== */
/* RESPONSIVE               */
/* ======================== */
@media (max-width: 768px) {
  .article-two-col {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article-title { font-size: 1.8rem; }
  .article-subtitle { font-size: 1.05rem; }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .article-tags {
    margin-left: 0;
    margin-top: 4px;
  }

  .col-label { margin-top: 32px; }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .article-title { font-size: 1.55rem; }
  .article-header { padding-top: 32px; }
}

/* ======================== */
/* LIGHTBOX (Bild-Zoom)     */
/* ======================== */
img.zoomable {
  cursor: zoom-in;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(44, 36, 32, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.visible {
  opacity: 1;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  filter: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--nebel-schleier);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--nebel-schleier);
  font-size: 0.82rem;
  font-style: italic;
  text-align: center;
  max-width: 80vw;
}
