/* Gestaltung „Songket“ (ehemals Variante E)
   Songket ist das Webtuch der Sasak auf Lombok. Die Farben kommen aus dem Vereinslogo:
   Rot der Stifte, Gelb, I-BUK-I-Blau (Überschriften) und das Grün der Inseln.
   Weil Weben ein Raster aus Fäden ist, sind alle Ornamente aus Pixel-Rauten gebaut
   (scripts/songket.py). Gewebte Goldrahmen um die Fotos, Borten als Abschnittswechsel.
   Marcellus für Titel (gemeißelt, ruhig), Work Sans für Text. */

@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/marcellus-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/marcellus-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'WorkSans'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/worksans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'WorkSans'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/worksans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
/* Songket-Muster, erzeugt mit python3 scripts/songket.py */
:root {
  --songket-diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' shape-rendering='crispEdges'%3E%3Cg fill='%23f2c51c'%3E%3Crect x='2' y='12' width='2' height='2'/%3E%3Crect x='4' y='10' width='2' height='2'/%3E%3Crect x='4' y='14' width='2' height='2'/%3E%3Crect x='6' y='8' width='2' height='2'/%3E%3Crect x='6' y='16' width='2' height='2'/%3E%3Crect x='8' y='6' width='2' height='2'/%3E%3Crect x='8' y='12' width='2' height='2'/%3E%3Crect x='8' y='18' width='2' height='2'/%3E%3Crect x='10' y='4' width='2' height='2'/%3E%3Crect x='10' y='10' width='2' height='2'/%3E%3Crect x='10' y='14' width='2' height='2'/%3E%3Crect x='10' y='20' width='2' height='2'/%3E%3Crect x='12' y='2' width='2' height='2'/%3E%3Crect x='12' y='8' width='2' height='2'/%3E%3Crect x='12' y='12' width='2' height='2'/%3E%3Crect x='12' y='16' width='2' height='2'/%3E%3Crect x='12' y='22' width='2' height='2'/%3E%3Crect x='14' y='4' width='2' height='2'/%3E%3Crect x='14' y='10' width='2' height='2'/%3E%3Crect x='14' y='14' width='2' height='2'/%3E%3Crect x='14' y='20' width='2' height='2'/%3E%3Crect x='16' y='6' width='2' height='2'/%3E%3Crect x='16' y='12' width='2' height='2'/%3E%3Crect x='16' y='18' width='2' height='2'/%3E%3Crect x='18' y='8' width='2' height='2'/%3E%3Crect x='18' y='16' width='2' height='2'/%3E%3Crect x='20' y='10' width='2' height='2'/%3E%3Crect x='20' y='14' width='2' height='2'/%3E%3Crect x='22' y='12' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E");
  --songket-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' shape-rendering='crispEdges'%3E%3Cg fill='%23f2c51c'%3E%3Crect x='0' y='12' width='2' height='2'/%3E%3Crect x='2' y='10' width='2' height='2'/%3E%3Crect x='2' y='14' width='2' height='2'/%3E%3Crect x='4' y='8' width='2' height='2'/%3E%3Crect x='4' y='16' width='2' height='2'/%3E%3Crect x='6' y='6' width='2' height='2'/%3E%3Crect x='6' y='12' width='2' height='2'/%3E%3Crect x='6' y='18' width='2' height='2'/%3E%3Crect x='8' y='4' width='2' height='2'/%3E%3Crect x='8' y='10' width='2' height='2'/%3E%3Crect x='8' y='14' width='2' height='2'/%3E%3Crect x='8' y='20' width='2' height='2'/%3E%3Crect x='10' y='2' width='2' height='2'/%3E%3Crect x='10' y='8' width='2' height='2'/%3E%3Crect x='10' y='16' width='2' height='2'/%3E%3Crect x='10' y='22' width='2' height='2'/%3E%3Crect x='12' y='0' width='2' height='2'/%3E%3Crect x='12' y='6' width='2' height='2'/%3E%3Crect x='12' y='12' width='2' height='2'/%3E%3Crect x='12' y='18' width='2' height='2'/%3E%3Crect x='12' y='24' width='2' height='2'/%3E%3Crect x='14' y='2' width='2' height='2'/%3E%3Crect x='14' y='8' width='2' height='2'/%3E%3Crect x='14' y='16' width='2' height='2'/%3E%3Crect x='14' y='22' width='2' height='2'/%3E%3Crect x='16' y='4' width='2' height='2'/%3E%3Crect x='16' y='10' width='2' height='2'/%3E%3Crect x='16' y='14' width='2' height='2'/%3E%3Crect x='16' y='20' width='2' height='2'/%3E%3Crect x='18' y='6' width='2' height='2'/%3E%3Crect x='18' y='12' width='2' height='2'/%3E%3Crect x='18' y='18' width='2' height='2'/%3E%3Crect x='20' y='8' width='2' height='2'/%3E%3Crect x='20' y='16' width='2' height='2'/%3E%3Crect x='22' y='10' width='2' height='2'/%3E%3Crect x='22' y='14' width='2' height='2'/%3E%3Crect x='24' y='12' width='2' height='2'/%3E%3Crect x='0' y='0' width='2' height='2'/%3E%3Crect x='2' y='0' width='2' height='2'/%3E%3Crect x='4' y='0' width='2' height='2'/%3E%3Crect x='6' y='0' width='2' height='2'/%3E%3Crect x='8' y='0' width='2' height='2'/%3E%3Crect x='10' y='0' width='2' height='2'/%3E%3Crect x='12' y='0' width='2' height='2'/%3E%3Crect x='14' y='0' width='2' height='2'/%3E%3Crect x='16' y='0' width='2' height='2'/%3E%3Crect x='18' y='0' width='2' height='2'/%3E%3Crect x='20' y='0' width='2' height='2'/%3E%3Crect x='22' y='0' width='2' height='2'/%3E%3Crect x='24' y='0' width='2' height='2'/%3E%3Crect x='0' y='24' width='2' height='2'/%3E%3Crect x='2' y='24' width='2' height='2'/%3E%3Crect x='4' y='24' width='2' height='2'/%3E%3Crect x='6' y='24' width='2' height='2'/%3E%3Crect x='8' y='24' width='2' height='2'/%3E%3Crect x='10' y='24' width='2' height='2'/%3E%3Crect x='12' y='24' width='2' height='2'/%3E%3Crect x='14' y='24' width='2' height='2'/%3E%3Crect x='16' y='24' width='2' height='2'/%3E%3Crect x='18' y='24' width='2' height='2'/%3E%3Crect x='20' y='24' width='2' height='2'/%3E%3Crect x='22' y='24' width='2' height='2'/%3E%3Crect x='24' y='24' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E");
  --songket-scatter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' shape-rendering='crispEdges'%3E%3Cg fill='%230d7e3c'%3E%3Crect x='4' y='2' width='2' height='2'/%3E%3Crect x='2' y='4' width='2' height='2'/%3E%3Crect x='6' y='4' width='2' height='2'/%3E%3Crect x='4' y='6' width='2' height='2'/%3E%3Crect x='4' y='4' width='2' height='2'/%3E%3Crect x='16' y='12' width='2' height='2'/%3E%3Crect x='14' y='14' width='2' height='2'/%3E%3Crect x='18' y='14' width='2' height='2'/%3E%3Crect x='16' y='16' width='2' height='2'/%3E%3Crect x='16' y='14' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E");
}

:root {
  /* Farben aus dem Logo */
  --merah: #a8142b;        /* Rot der Stifte, etwas vertieft als Fläche */
  --merah-tief: #7f0f21;
  --merah-logo: #d81020;
  --emas: #f2c51c;         /* Gelb, im Muster als Goldfaden */
  --emas-hell: #f8dc5c;
  --biru: #22205a;         /* I-BUK-I-Blau: Überschriften, dunkle Flächen */
  --hijau: #00923f;        /* Grün der Inseln */
  --hijau-tief: #006f30;
  --hitam: var(--biru);
  --kapas: #ffffff;
  --kapas-rosa: #f4f7f2;   /* Hauch von Inselgrün statt Beige */

  --ink: #1f1d3d;
  --ink-soft: #5a5872;
  --paper: var(--kapas);
  --sand: var(--kapas-rosa);
  --sage: var(--kapas-rosa);
  --peach: var(--emas);
  --peach-strong: #e2b30c;
  --mengkudu: var(--hijau);
  --line: #dfe5dc;
  --display: 'Marcellus', Georgia, serif;
  --text: 'WorkSans', system-ui, sans-serif;
  --radius: 0px;
}

body { font: 400 1.07rem/1.7 var(--text); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-variation-settings: normal; letter-spacing: .005em; line-height: 1.1; color: var(--biru); }
a:hover { color: var(--hijau-tief); }
:focus-visible { outline-color: var(--emas); }
.weave { display: none; }
.e-wrap { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }

/* Goldborte als Abschnittswechsel */
.e-border { height: 26px; background: var(--songket-band) 0 0 / 26px 26px repeat-x, var(--hitam); }

/* gewebter Rahmen: Goldfäden-Muster als Passepartout */
.e-woven { position: relative; padding: 14px; background: var(--songket-diamond) 0 0 / 26px 26px, var(--hitam); }
.e-woven img { display: block; width: 100%; height: 100%; object-fit: cover; }
.e-woven picture { display: contents; }
.e-woven--thin { padding: 8px; }

/* Kopf */
.header { background: var(--kapas); border-bottom: 0; box-shadow: none; }
.header::after { content: ""; display: block; height: 10px; background: var(--songket-band) 0 -8px / 13px 13px repeat-x, var(--merah); }
.brand img { width: clamp(3.6rem, 3rem + 1.5vw, 4.6rem); }
.brand span { font-family: var(--display); font-size: 1.55rem; letter-spacing: .08em; color: var(--biru); font-weight: 400; }
.header .wrap { min-height: 5.5rem; }
.nav a { font-weight: 500; }
.nav a[aria-current] { color: var(--biru); text-decoration: underline; text-decoration-color: var(--hijau); text-decoration-thickness: 2px; text-underline-offset: .4em; }

/* Knöpfe: Gold auf Rot */
.button, .e-btn { display: inline-flex; align-items: center; gap: .55rem; border-radius: 0; padding: .95rem 1.6rem; background: var(--emas); color: var(--hitam); font: 600 1rem/1.15 var(--text); letter-spacing: .01em; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(29,20,23,.25); }
.button:hover, .e-btn:hover { background: var(--emas-hell); color: var(--hitam); }
.button svg, .e-btn svg { width: 1.05em; height: 1.05em; color: var(--merah); flex: none; }
.button--donate { background: var(--emas); color: var(--hitam); }
.button--donate:hover { background: var(--emas-hell); color: var(--hitam); }
.button--quiet { background: transparent; color: var(--biru); box-shadow: inset 0 0 0 1.5px var(--biru); }
.nav .button { padding: .55rem 1.1rem; }
.e-link { font-weight: 600; color: inherit; text-decoration: underline; text-decoration-color: var(--hijau); text-decoration-thickness: 2px; text-underline-offset: .35em; }
.e-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.e-lead { font-size: clamp(1.12rem, 1rem + .35vw, 1.28rem); line-height: 1.65; max-width: 33rem; margin: 0; }
.e-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.e-head h2 { font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.4rem); }
.e-head h2::before { content: ""; display: block; width: 26px; height: 26px; margin-bottom: .9rem; background: var(--songket-diamond) 0 0 / 26px 26px; }

/* ---------- Titel: rotes Tuch, Foto im Goldrahmen ---------- */
.e-hero { background: var(--songket-scatter) 0 0 / 36px 36px, var(--hijau-tief); color: #e6f3ea; padding-block: clamp(3rem, 2rem + 4vw, 6rem) 0; position: relative; }
.e-hero::after { content: ""; display: block; height: 26px; margin-top: clamp(3rem, 5vw, 4.5rem); background: var(--songket-band) 0 0 / 26px 26px repeat-x, var(--hitam); }
.e-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.e-hero__text { container-type: inline-size; min-width: 0; }
/* Schriftgröße richtet sich nach der Spaltenbreite: „Grundschulkinder“ passt immer in eine Zeile */
.e-hero h1 { color: #fff; font-size: min(clamp(1.95rem, 1.1rem + 3.6vw, 4.8rem), 10.5cqi); line-height: 1.06; margin-bottom: 1.5rem; hyphens: manual; overflow-wrap: normal; }
.e-hero .e-lead { color: #dcefe2; }
.e-hero .e-lead strong { color: #fff; font-weight: 700; background: linear-gradient(transparent 62%, rgba(242,197,28,.55) 62%); }
.e-hero .e-link { color: #fff; text-decoration-color: var(--emas); }
.e-hero__photo { aspect-ratio: 6 / 7; }
.e-hero__grid--news { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(13rem, 3fr); gap: clamp(1.75rem, 3.5vw, 3.5rem); align-items: start; }
.e-hero__grid--news .e-hero__text { align-self: center; }
/* Neuigkeiten rechts neben dem Foto, wie eine Notiz auf weißem Grund */
.e-news { background: var(--kapas); color: var(--ink); padding: 1.5rem 1.5rem 1.6rem; box-shadow: 0 0 0 6px var(--emas); }
.e-news h2 { color: var(--biru); font-size: 1.45rem; margin-bottom: 1rem; }
.e-news ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.e-news li { line-height: 1.45; padding-top: 1rem; border-top: 1px solid var(--line); }
.e-news li:first-child { padding-top: 0; border-top: 0; }
.e-news span { display: block; font-size: .85rem; font-weight: 700; color: var(--hijau-tief); margin-bottom: .2rem; }
.e-news a { color: var(--ink); text-decoration: none; font-weight: 500; }
.e-news a:hover { text-decoration: underline; text-decoration-color: var(--hijau); }
@media (max-width: 75rem) {
  .e-hero__grid--news { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .e-hero__grid--news .e-news { grid-column: 1 / -1; }
  .e-news ul { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem 2.5rem; }
  .e-news li { padding-top: 0; border-top: 0; }
}

/* ---------- Name: fünf Motive in einer Reihe ---------- */
.e-name { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); background: var(--kapas-rosa); }
.e-motifs { list-style: none; margin: 0 0 clamp(2.5rem, 5vw, 4rem); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.e-motifs li { display: grid; justify-items: center; gap: .9rem; }
.e-motifs b { display: grid; place-items: center; width: clamp(4.5rem, 3rem + 4vw, 7.5rem); aspect-ratio: 1; font: 400 clamp(2rem, 1.4rem + 2vw, 3.4rem)/1 var(--display); color: #fff; background: var(--merah); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); position: relative; }
.e-motifs li:nth-child(1) b { background: var(--merah-logo); }
.e-motifs li:nth-child(2) b { background: var(--biru); }
.e-motifs li:nth-child(3) b { background: var(--hijau); }
.e-motifs li:nth-child(4) b { background: var(--emas); color: var(--biru); }
.e-motifs li:nth-child(5) b { background: var(--merah-logo); }
.e-motifs span { font-family: var(--display); font-size: clamp(.9rem, .7rem + .45vw, 1.2rem); color: var(--ink); hyphens: manual; }
.e-name__text { max-width: 38rem; margin: 0 auto; text-align: center; font-size: 1.15rem; }
.e-name__text p { margin-bottom: 1.25rem; }

/* ---------- Projekte ---------- */
.e-projects { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); }
.e-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem); }
.e-project { position: relative; }
.e-project .e-woven { aspect-ratio: 4 / 3; }
.e-project__meta { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin: 1.1rem 0 .3rem; }
.e-project h3 { font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.2rem); margin-bottom: .6rem; }
.e-project h3 a { text-decoration: none; }
.e-project h3 a::after { content: ""; position: absolute; inset: 0; }
.e-project:hover h3 { text-decoration: underline; text-decoration-color: var(--hijau); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.e-project > p:last-child { color: var(--ink-soft); max-width: 32rem; }

/* ---------- Videos ---------- */
.e-videos { padding-block: 0 clamp(4.5rem, 3rem + 5vw, 8rem); }
.video-card__frame { border-radius: 0; background: var(--hitam); box-shadow: 0 0 0 8px var(--hitam); }
.videos .video-card__frame { outline: 8px solid transparent; }
.video-card__play { background: var(--emas); color: var(--hitam); border-radius: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); width: 5rem; height: 5rem; box-shadow: none; }
.video-card__play svg { margin-left: .15rem; }
.video-card figcaption { margin-top: 1.1rem; }
.videos > :first-child figcaption { font: 400 1.45rem/1.25 var(--display); color: var(--biru); }

/* ---------- Aktuelles Projekt: schwarzes Tuch mit Goldstreu ---------- */
.e-current { background: var(--songket-scatter) 0 0 / 36px 36px, var(--hijau-tief); color: #e6f3ea; padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); position: relative; }
.e-current::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: var(--songket-band) 0 0 / 26px 26px repeat-x, var(--merah); }
.e-current__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.e-current h2 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.8rem); margin-bottom: 1.25rem; }
.e-current .e-lead { color: #d8eedf; }
.e-current .e-link { color: #fff; text-decoration-color: var(--emas); }
.e-current__bank { background: var(--kapas); color: var(--hitam); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: 0 0 0 8px var(--emas); }
.e-current__bank h3 { font-size: 1.5rem; margin-bottom: 1.1rem; }

/* ---------- Unterseiten ---------- */
.page-head h1 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.8rem); max-width: 18ch; }
.page-head h1::before { content: ""; display: block; width: 26px; height: 26px; margin-bottom: 1.1rem; background: var(--songket-diamond) 0 0 / 26px 26px; }
.page-head--tinted { background: var(--kapas-rosa); }
.prose h2 { color: var(--biru); }
.prose h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.prose li::marker { color: var(--hijau); }
.prose figure img, .project-cover img, .card img, .gallery__grid img { border-radius: 0; box-shadow: 0 0 0 6px var(--hitam), 0 0 0 7px var(--emas); }
.project-cover img { box-shadow: none; }
.project-cover { padding: 14px; background: var(--songket-diamond) 0 0 / 26px 26px, var(--hitam); width: min(100% - 2 * var(--gutter), var(--max)); }
.gallery__grid { gap: 1.25rem; padding: 7px; }
.card__meta { color: var(--ink-soft); }
.card:hover h3 { color: var(--biru); text-decoration: underline; text-decoration-color: var(--hijau); }
.partners { background: var(--kapas-rosa); }
.partner { border-radius: 0; border-top: 4px solid var(--hijau); }
.partner__initial { background: var(--hitam); color: var(--emas-hell); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); border-radius: 0; font-family: var(--display); }
.donate-grid .bank-box { background: var(--kapas-rosa); border-radius: 0; box-shadow: inset 0 4px 0 var(--merah); }

/* Fuß: Rot mit Borte */
.footer { background: var(--biru); color: #d9d8ea; }
.footer::before { content: ""; display: block; height: 26px; background: var(--songket-band) 0 0 / 26px 26px repeat-x, var(--merah); }
.footer h2 { color: var(--emas-hell); font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
.footer__brand { font-family: var(--display); font-weight: 400; letter-spacing: .02em; }
.footer a:hover { color: var(--emas-hell); }
.footer__bottom { border-top-color: rgba(230,196,106,.25); }

@media (max-width: 60rem) {
  .e-hero__grid, .e-hero__grid--news, .e-current__grid, .e-grid { grid-template-columns: 1fr; }
  .e-hero__photo { order: -1; aspect-ratio: 4 / 3; }
  .e-motifs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
  .e-motifs span { font-size: .8rem; overflow-wrap: anywhere; }
}

/* ---------- Logo groß ---------- */
.e-name__grid { display: grid; grid-template-columns: minmax(12rem, 22rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.e-name__logo { width: 100%; height: auto; }
.e-name__grid .e-motifs { margin-bottom: clamp(2rem, 4vw, 3rem); }
.e-name__grid .e-name__text { margin: 0; text-align: left; }
.footer__logo { display: inline-block; background: #fff; padding: 1rem 1.1rem .8rem; margin-bottom: 1.5rem; box-shadow: 0 0 0 6px var(--emas); }
.footer__logo img { width: clamp(9rem, 6rem + 6vw, 13rem); height: auto; }

/* ---------- Zeitleiste ---------- */
.e-timeline { list-style: none; margin: 0 0 clamp(3rem, 6vw, 5rem); padding: 0; display: flex; align-items: stretch; overflow-x: auto; }
.e-timeline > li { position: relative; flex: 1 1 0; min-width: 11rem; padding: 0 1.5rem 0 0; }
.e-timeline > li::before { content: ""; position: absolute; left: 0; right: 0; top: 1.05rem; height: 4px; background: var(--biru); }
.e-timeline__num { position: relative; display: inline-block; margin: 0 0 1rem; padding: .1rem .9rem .1rem 0; background: var(--paper); font-size: 1.75rem; color: var(--biru); }
.e-timeline__num::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: .7rem; vertical-align: .1em; background: var(--hijau); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.e-timeline ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.e-timeline__item a { font-weight: 600; text-decoration: none; }
.e-timeline__item a:hover { text-decoration: underline; text-decoration-color: var(--hijau); }
.e-subhead { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 1.5rem; }
.e-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.e-grid--3 .e-project h3 { font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); }

/* Projektübersicht: senkrechte Zeitleiste mit Bild und Text */
.e-projects-page { padding-bottom: var(--space); }
.e-timeline:not(.e-timeline--compact) { display: block; overflow: visible; border-left: 4px solid var(--biru); margin-left: .6rem; }
.e-timeline:not(.e-timeline--compact) > li { padding: 0 0 clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem); min-width: 0; }
.e-timeline:not(.e-timeline--compact) > li::before { display: none; }
.e-timeline:not(.e-timeline--compact) .e-timeline__num { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); margin-left: calc(-1 * clamp(1.5rem, 4vw, 3rem) - 13px); padding-left: 0; }
.e-timeline:not(.e-timeline--compact) .e-timeline__num::before { width: 22px; height: 22px; }
.e-timeline:not(.e-timeline--compact) ul { gap: clamp(2rem, 4vw, 3rem); }
.e-timeline:not(.e-timeline--compact) .e-timeline__item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.e-timeline:not(.e-timeline--compact) .e-timeline__item a { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.15 var(--display); color: var(--biru); }
.e-timeline__meta { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin: .5rem 0 .4rem; }

/* ---------- betterplace-Widgets ---------- */
.e-widgets { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.3); }
.e-widgets h3 { color: #fff; font-size: 1.6rem; margin-bottom: 1.25rem; }
.e-widgets__row { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.e-widgets iframe { border: 0; width: 320px; max-width: 100%; height: 320px; background: #fff; box-shadow: 0 0 0 6px var(--emas); }

@media (max-width: 60rem) {
  .e-name__grid { grid-template-columns: 1fr; justify-items: start; }
  .e-name__logo { width: min(60vw, 14rem); }
  .e-grid--3 { grid-template-columns: 1fr; }
  .e-timeline:not(.e-timeline--compact) .e-timeline__item { grid-template-columns: 1fr; }
}

/* Rauten am Handy: untereinander mit Wort daneben, damit nichts überläuft */
@media (max-width: 40rem) {
  .e-motifs { grid-template-columns: 1fr; gap: .6rem; text-align: left; justify-items: start; }
  .e-motifs li { grid-auto-flow: column; justify-content: start; align-items: center; gap: 1rem; }
  .e-motifs b { width: 3.4rem; font-size: 1.6rem; }
  .e-motifs span { font-size: 1.15rem; }
}

/* Zitat-Block (z. B. Partnerseite): groß, in Logo-Rot, mit goldenem Strich */
.prose blockquote {
  margin: 2rem 0;
  padding: .25rem 0 .25rem 1.25rem;
  border-left: 4px solid var(--emas);
  font-family: var(--display);
  font-size: var(--step-1, 1.35rem);
  line-height: 1.4;
  color: var(--merah);
}
.prose blockquote footer {
  margin-top: .5rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--biru);
}
.prose blockquote footer::before { content: "– "; }

/* Hochgeladene Videos: Hochformat-Videos (Handy) stehen mittig auf schwarzem Grund */
.video-card__frame--file video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--hitam); }

/* Projektseite: Vor- und Zurückblättern */
.project-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 2px solid var(--emas); }
.project-pager a { display: block; text-decoration: none; font: 400 clamp(1.1rem, 1rem + .4vw, 1.4rem)/1.25 var(--display); color: var(--biru); }
.project-pager a span { display: block; margin-bottom: .35rem; font: 600 .85rem/1.2 var(--text); color: var(--hijau-tief); }
.project-pager a:hover { text-decoration: underline; text-decoration-color: var(--hijau); }
.project-pager__next { grid-column: 2; text-align: right; }
@media (max-width: 40rem) { .project-pager { grid-template-columns: 1fr; } .project-pager__next { grid-column: 1; text-align: left; } }

/* Lightbox (snippets/lightbox.php) */
.lb-open { overflow: hidden; }
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 14, 40, .96); color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(15, 14, 40, .96); }
.lb__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__slide { flex: 0 0 100%; height: 100%; margin: 0; display: grid; place-items: center; padding: 3.5rem 1rem; scroll-snap-align: center; scroll-snap-stop: always; }
.lb__slide img { max-width: 100%; max-height: calc(100dvh - 7rem); width: auto; height: auto; object-fit: contain; box-shadow: none; }
.lb__count { position: absolute; top: 1rem; left: 1.25rem; margin: 0; font: 600 .95rem/1 var(--text); }
/* Buttons als Raute wie der Abspielknopf der Videos, Symbole als SVG (exakt mittig) */
.lb__btn { position: absolute; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; padding: 0; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: background .15s, color .15s; }
.lb__btn svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lb__btn:hover, .lb__btn:focus-visible { background: var(--emas); color: var(--biru); outline: none; }
.lb__close { top: .5rem; right: .6rem; width: 3rem; height: 3rem; }
.lb__close svg { width: 1.1rem; height: 1.1rem; }
.lb__prev, .lb__next { top: 50%; margin-top: -1.75rem; }
.lb__prev { left: .6rem; }
.lb__next { right: .6rem; }
@media (hover: none) { .lb__prev, .lb__next { display: none; } }

/* Projektbilder in Zeitleiste und Karten führen zur Projektseite */
a.e-imglink { display: block; text-decoration: none; }
a.e-imglink img { transition: opacity .2s; }
a.e-imglink:hover img { opacity: .88; }

/* Indonesischer Titel unter dem deutschen */
.e-subtitle { margin: .35rem 0 0; font-style: italic; font-size: 1rem; line-height: 1.4; color: var(--hijau-tief); }
.e-subtitle--page { margin-top: .75rem; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); }
.e-teil-id { margin-top: -.5rem; font-style: italic; color: var(--hijau-tief); }

/* Startseite: Projekte nach Jahren als Kacheln (snippets/timeline.php, compact) */
.e-years { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); gap: 1.25rem; }
.e-years__year { padding: 1.1rem 1.25rem 1.25rem; background: var(--kapas-rosa); border-top: 4px solid var(--biru); }
.e-grid + .e-subhead { margin-top: clamp(3rem, 6vw, 4.5rem); }
.e-years__num { display: flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; font: 400 1.9rem/1 var(--display); color: var(--biru); }
.e-years__num::before { content: ""; width: 14px; height: 14px; background: var(--hijau); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.e-years ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.e-years a { font-weight: 600; line-height: 1.35; text-decoration: none; color: var(--ink); }
.e-years a:hover { color: var(--biru); text-decoration: underline; text-decoration-color: var(--hijau); }
@media (max-width: 40rem) {
  .e-years { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .e-years__year { padding: .85rem .9rem 1rem; }
  .e-years__num { font-size: 1.5rem; }
  .e-years a { font-size: .9rem; }
}
/* Lightbox: wo die Pfeile sichtbar sind, hält das Bild seitlich Abstand dazu */
@media (hover: hover) { .lb__slide { padding-inline: 4.75rem; } }

/* Videos: auf dem Handy alle in voller Breite untereinander */
@media (max-width: 36rem) {
  .videos, .prose .videos { grid-template-columns: 1fr; }
  .videos > *, .prose .videos > * { grid-column: auto; }
}
/* Hochgeladene Videos: gleicher Abspielknopf wie YouTube, Bedienleiste erst nach dem Start */
.video-card__frame--file .video-card__play { z-index: 1; }
.video-card__frame--file.is-playing .video-card__play { display: none; }

/* Sprachumschalter mit Flaggen: alle gleich groß (3:2, zugeschnitten), aktive Sprache mit grünem Strich darunter */
.languages { gap: .5rem; }
.languages a, .languages a[aria-current] { display: grid; place-items: center; padding: .3rem 0 .25rem; line-height: 0; background: none; border-radius: 0; border-bottom: 3px solid transparent; }
.languages a[aria-current] { border-bottom-color: var(--hijau); }
.languages .flag { width: 1.65rem; height: 1.1rem; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.languages a:not([aria-current]) .flag { filter: saturate(.75); }
.languages a:hover .flag { filter: none; }
