/* =========================================================
   Ausgabe — Startseite (Plakat) und Magazin (Wand).
   Schwarz, eine Signalfarbe, Schrift als Bild. Baut auf den
   Farben und Schriften aus site.css auf.
   ========================================================= */

:root { --bein: #E9E6DC; --rost: #B33A0B; }

.mono { font-family: var(--m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ───────────── Laufband ───────────── */

.e-lauf { overflow: hidden; background: var(--signal); color: #08090A; border-block: 1px solid #000; }
.e-lauf__spur {
  display: flex; width: max-content;
  font-variation-settings: "wdth" 68, "wght" 900; font-size: clamp(22px, 3.2vw, 46px);
  text-transform: uppercase; line-height: 1; padding: .32em 0;
  animation: lauf 38s linear infinite;
}
.e-lauf__spur span { padding-inline: .5em; white-space: nowrap; }
.e-lauf__spur span::after { content: "✳"; margin-left: 1em; font-size: .6em; vertical-align: .2em; }
.e-lauf--leise { background: transparent; color: var(--ink); border-color: var(--line); }
.e-lauf--leise .e-lauf__spur { animation-direction: reverse; animation-duration: 60s; -webkit-text-stroke: 1px var(--ink-2); color: transparent; }
@keyframes lauf { to { transform: translateX(-50%); } }

/* ───────────── Plakatschrift ───────────── */

.plakat { display: block; margin: 0; line-height: .86; text-transform: uppercase; }
.plakat .zeile {
  display: block; width: max-content; max-width: none; white-space: nowrap; letter-spacing: -.012em;
  font-size: clamp(44px, 11vw, 190px); font-variation-settings: "wdth" 80, "wght" 900;
  /* Kurz unsichtbar: das Skript setzt in dieser Zeit den Spruch der Ausgabe. */
  animation: zeile-auf .5s .22s both var(--ease);
}
.zeile--akzent { color: var(--signal); }
.zeile--hohl { color: transparent; -webkit-text-stroke: 2px var(--ink); }
@keyframes zeile-auf { from { opacity: 0; transform: translateY(.12em); } }
@media (max-width: 700px) { .zeile--hohl { -webkit-text-stroke-width: 1.2px; } }

/* ───────────── Kacheln ───────────── */

.e-wand {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(84px, 7.4vw, 132px); grid-auto-flow: dense; gap: 10px;
}
.k {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); min-width: 0;
  grid-column: span 3; grid-row: span 3;
  transition: border-color .25s var(--ease), transform .35s var(--ease);
}
.k--w  { grid-column: span 6; grid-row: span 3; }
.k--t  { grid-column: span 3; grid-row: span 4; }
.k--xl { grid-column: span 6; grid-row: span 5; }
.k--m  { grid-column: span 4; grid-row: span 3; }
.k[hidden] { display: none; }
a.k:hover { border-color: var(--signal); }

.k__bild { position: absolute; inset: 0; }
.k__bild img, .k__bild svg { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
/* Fotos stehen schwarzweiß an der Wand und werden erst unter dem Zeiger farbig. */
.k__bild img { filter: grayscale(1) contrast(1.08) brightness(.78); }
.k:hover .k__bild img { filter: none; transform: scale(1.045); }
.k:hover .k__bild svg { transform: scale(1.06) rotate(-1deg); }
.gen__wort { font-family: var(--f); font-variation-settings: "wdth" 62, "wght" 900; }
.gen__zahl { font-family: var(--f); font-variation-settings: "wdth" 70, "wght" 900; }

.k__text { position: relative; padding: 44px 14px 13px; background: linear-gradient(transparent, rgba(8, 9, 10, .9) 46%); }
.k__kicker { display: flex; justify-content: space-between; gap: 10px; font-family: var(--m); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.k__kicker i { font-style: normal; color: var(--ink-2); }
.k h3 { margin: 7px 0 0; font-size: clamp(15px, 1.22vw, 20px); line-height: 1.12; font-variation-settings: "wdth" 88, "wght" 760; text-wrap: balance; }
.k--xl h3 { font-size: clamp(24px, 3vw, 50px); line-height: .98; text-transform: uppercase; font-variation-settings: "wdth" 74, "wght" 900; }
.k--w h3, .k--m h3 { font-size: clamp(17px, 1.6vw, 26px); }
.k--beitrag:hover h3 { color: var(--signal); }

.k--spruch { background: var(--signal); color: #08090A; border-color: var(--signal); justify-content: center; padding: 16px; }
.k--spruch p { margin: 0; font-size: clamp(22px, 2.5vw, 42px); line-height: .92; text-transform: uppercase; font-variation-settings: "wdth" 66, "wght" 900; }
.k--spruch.k--hohl { background: transparent; border-color: var(--line); }
.k--spruch.k--hohl p { color: transparent; -webkit-text-stroke: 1.3px var(--ink); }
.k--spruch:hover { transform: rotate(-1.2deg) scale(1.02); }

@media (max-width: 1000px) {
  .e-wand { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(64px, 10.5vw, 104px); }
  .k, .k--t, .k--m { grid-column: span 2; }
  .k--w { grid-column: span 4; }
  .k--xl { grid-row: span 4; }
}
@media (max-width: 620px) {
  .e-wand { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 96px; gap: 8px; }
  .k, .k--t, .k--m { grid-column: span 1; grid-row: span 2; }
  .k--w, .k--xl { grid-column: span 2; }
  .k--xl { grid-row: span 4; }
  .k--spruch p { font-size: 22px; }
  .k h3 { font-size: 14px; }
}

/* ───────────── Filter ───────────── */

.e-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.e-chip {
  flex: none; white-space: nowrap; cursor: pointer;
  font-family: var(--m); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 13px; border: 1px solid var(--line); color: var(--ink-2); border-radius: 99px;
  background: none; transition: all .2s;
}
.e-chip:hover { border-color: var(--ink); color: var(--ink); }
.e-chip.ist-an { background: var(--signal); border-color: var(--signal); color: #08090A; }
.e-chip--tat { border-style: dashed; color: var(--ink); }

/* ───────────── Stempel (dreht sich, würfelt neu) ───────────── */

.e-stempel { position: absolute; width: clamp(104px, 11vw, 168px); aspect-ratio: 1; border-radius: 50%; color: var(--ink); z-index: 3; background: none; border: 0; padding: 0; cursor: pointer; }
.e-stempel svg { width: 100%; height: 100%; animation: dreh 22s linear infinite; }
.e-stempel text { font-family: var(--m); font-size: 10.4px; letter-spacing: .2em; fill: currentColor; text-transform: uppercase; }
.e-stempel::after { content: "↻"; position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(26px, 3vw, 44px); color: var(--signal); transition: transform .5s var(--ease); }
.e-stempel:hover::after { transform: rotate(180deg) scale(1.2); }
@keyframes dreh { to { transform: rotate(360deg); } }

/* =========================================================
   Startseite
   ========================================================= */

.p-hero { position: relative; min-height: calc(100svh - 61px); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px var(--gut) clamp(20px, 3vw, 40px); overflow: hidden; }
.p-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Unten dunkler, damit die Kämme nicht durch den Vorstellungstext laufen */
.p-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 1; pointer-events: none; background: linear-gradient(rgba(8, 9, 10, 0), rgba(8, 9, 10, .82) 45%, #08090A); }
.p-hero .plakat { position: relative; z-index: 2; }
.p-hero__fuss { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; align-items: flex-end; margin-top: clamp(14px, 2vw, 26px); }
.p-hero__wer { max-width: 50ch; }
.p-hero__wer h1 { margin: 0 0 4px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; font-variation-settings: "wdth" 100, "wght" 650; letter-spacing: 0; text-transform: none; }
.p-hero__wer p { margin: 0; color: var(--ink-2); font-size: clamp(15px, 1.2vw, 18px); }
.p-hero__marke { color: var(--muted); }
.p-hero .e-stempel { top: clamp(20px, 6vh, 70px); right: var(--gut); }
@media (max-height: 600px), (max-width: 620px) { .p-hero .e-stempel { display: none; } }

.p-kurz { padding: clamp(50px, 8vw, 120px) var(--gut); }
.p-kurz details { border-top: 1px solid var(--line); }
.p-kurz details:last-of-type { border-bottom: 1px solid var(--line); }
.p-kurz summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 4.5ch 1fr auto; gap: 14px; align-items: baseline; padding: clamp(14px, 2vw, 26px) 0; }
.p-kurz summary::-webkit-details-marker { display: none; }
.p-kurz summary i { font-family: var(--m); font-style: normal; font-size: 12px; color: var(--signal); letter-spacing: .14em; }
.p-kurz summary strong { font-size: clamp(30px, 6.4vw, 112px); line-height: .9; text-transform: uppercase; font-variation-settings: "wdth" 66, "wght" 900; transition: color .2s, font-variation-settings .45s var(--ease); }
.p-kurz summary:hover strong { color: var(--signal); font-variation-settings: "wdth" 84, "wght" 900; }
.p-kurz summary u { text-decoration: none; font-family: var(--m); font-size: 22px; color: var(--muted); transition: transform .3s var(--ease); }
.p-kurz details[open] summary u { transform: rotate(45deg); color: var(--signal); }
.p-kurz details > p { margin: 0 0 26px 4.5ch; padding-left: 14px; max-width: 62ch; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); }
.p-kurz details > p a { color: var(--signal); white-space: nowrap; }

.p-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 30px; margin-bottom: 18px; }
.p-kopf h2 { margin: 0; font-size: clamp(44px, 9vw, 150px); line-height: .82; text-transform: uppercase; font-variation-settings: "wdth" 62, "wght" 900; letter-spacing: -.01em; }
.p-kopf h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.p-kopf a { color: var(--signal); }
.p-kopf span { color: var(--muted); }
.p-mag, .p-faelle { padding: clamp(40px, 6vw, 90px) var(--gut); }

.p-tun { display: grid; grid-template-columns: 1fr 1fr; min-height: 76svh; }
.p-tun > div { padding: clamp(26px, 4vw, 60px) var(--gut); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.p-tun__alt { background: var(--bg-2); }
.p-tun__neu { background: var(--signal); color: #08090A; }
.p-tun h2 { margin: 0; font-size: clamp(40px, 7.4vw, 124px); line-height: .82; text-transform: uppercase; font-variation-settings: "wdth" 62, "wght" 900; }
.p-tun__alt h2 { color: transparent; -webkit-text-stroke: 1.5px var(--ink-2); }
.p-tun p { margin: 0; font-size: clamp(22px, 2.9vw, 46px); line-height: 1.02; font-variation-settings: "wdth" 82, "wght" 800; text-wrap: balance; min-height: 3.2em; transition: opacity .25s, transform .35s var(--ease); }
.p-tun__alt p { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--signal); text-decoration-thickness: 4px; }
.p-tun p.ist-weg { opacity: 0; transform: translateY(14px); }
.p-tun__fuss { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.p-tun__fuss a { border-bottom: 1.5px solid currentColor; }
.p-tun button { padding: 12px 18px; border: 1.5px solid currentColor; border-radius: 99px; background: none; color: inherit; cursor: pointer; }
.p-tun button:hover { background: #08090A; color: var(--signal); border-color: #08090A; }
@media (max-width: 760px) { .p-tun { grid-template-columns: 1fr; min-height: 0; } }

.p-zahlen { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.p-zahlen div { padding: clamp(18px, 2.4vw, 34px) var(--gut); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.p-zahlen div:last-child { border: 0; }
.p-zahlen b { font-size: clamp(60px, 10vw, 180px); line-height: .78; font-variation-settings: "wdth" 62, "wght" 900; letter-spacing: -.02em; }
.p-zahlen div:nth-child(2n) b { color: var(--signal); }
.p-zahlen span { color: var(--ink-2); }
@media (max-width: 760px) { .p-zahlen { grid-template-columns: 1fr 1fr; } .p-zahlen div:nth-child(2n) { border-right: 0; } .p-zahlen div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.p-fall { display: grid; grid-template-columns: 11ch 1fr; gap: 6px 24px; align-items: baseline; padding: clamp(14px, 1.8vw, 24px) 0; border-top: 1px solid var(--line); transition: padding .3s var(--ease), background .2s; }
.p-fall:last-child { border-bottom: 1px solid var(--line); }
.p-fall i { font-style: normal; color: var(--signal); }
.p-fall strong { font-size: clamp(22px, 3.4vw, 56px); line-height: .98; text-transform: uppercase; font-variation-settings: "wdth" 70, "wght" 880; text-wrap: balance; }
.p-fall span { grid-column: 2; color: var(--ink-2); max-width: 70ch; }
.p-fall:hover { background: var(--signal); color: #08090A; padding-inline: 18px; }
.p-fall:hover span, .p-fall:hover i { color: #08090A; }
@media (max-width: 760px) { .p-fall { grid-template-columns: 1fr; } .p-fall span { grid-column: 1; } }

.p-tiefer { padding: clamp(30px, 5vw, 70px) var(--gut); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.p-tiefer > span { color: var(--muted); margin-right: 10px; }

.p-kontakt { padding: clamp(50px, 8vw, 120px) var(--gut) clamp(40px, 6vw, 80px); background: var(--bein); color: #08090A; }
.p-kontakt .plakat { margin-bottom: 26px; }
.p-kontakt .zeile--hohl { -webkit-text-stroke-color: #08090A; }
.p-kontakt__text { margin: 0 0 22px; max-width: 46ch; font-size: clamp(16px, 1.4vw, 20px); }

/* Kontakt-Gespräch: ein dunkles Fenster auf hellem Grund */
.chat { max-width: 760px; background: var(--bg); color: var(--ink); border: 1.5px solid #08090A; box-shadow: 10px 10px 0 var(--signal); }
.chat__verlauf { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 8px; max-height: min(62svh, 560px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.chat__blase { margin: 0; max-width: 86%; padding: 11px 14px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; animation: blase-auf .3s var(--ease) both; }
.chat__blase--bot { align-self: flex-start; background: var(--bg-3); border-left: 3px solid var(--signal); }
.chat__blase--ich { align-self: flex-end; background: var(--signal); color: #08090A; font-variation-settings: "wdth" 100, "wght" 600; }
.chat__blase--zettel { align-self: stretch; max-width: none; background: transparent; border: 1px dashed var(--muted); font-family: var(--m); font-size: 13px; color: var(--ink-2); }
@keyframes blase-auf { from { opacity: 0; transform: translateY(8px); } }
.chat__wahl { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 6px; }
.chat__wahl button { padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; background: none; color: var(--ink); font-family: var(--m); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.chat__wahl button:hover, .chat__wahl button.ist-haupt { background: var(--signal); border-color: var(--signal); color: #08090A; }
.chat__zeile { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.chat__zeile[hidden] { display: none; }
.chat__zeile textarea { flex: 1; min-height: 44px; resize: none; padding: 11px 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.35; }
.chat__zeile textarea:focus { outline: none; border-color: var(--signal); }
.chat__zeile button { flex: none; width: 44px; height: 44px; border: 0; background: var(--signal); color: #08090A; font-size: 22px; font-weight: 800; cursor: pointer; }
.chat__zeile button:hover { background: var(--ink); }
.chat__hinweis { margin: 0; padding: 10px 18px 14px; font-family: var(--m); font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.chat__hinweis a { color: var(--ink-2); border-bottom: 1px solid currentColor; }

/* Ohne Skript: dasselbe als schlichtes Formular */
.chat__form { display: grid; gap: 14px; padding: 20px 18px 6px; }
.chat__form[hidden] { display: none; }
.chat__form label { display: grid; gap: 6px; font-family: var(--m); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.chat__form input, .chat__form textarea, .chat__form select { padding: 11px 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); font-family: var(--f); font-size: 16px; letter-spacing: 0; text-transform: none; }
.chat__falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chat__los { justify-self: start; padding: 12px 20px; border: 0; background: var(--signal); color: #08090A; font-family: var(--m); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.p-formate { list-style: none; margin: clamp(28px, 4vw, 54px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid #08090A; }
.p-formate li { padding: 16px 20px 0 0; }
.p-formate h3 { margin: 0 0 6px; font-size: clamp(20px, 2vw, 30px); text-transform: uppercase; font-variation-settings: "wdth" 72, "wght" 900; }
.p-formate p { margin: 0; max-width: 36ch; }
.p-kontakt__netz { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.p-kontakt__netz a { border-bottom: 1.5px solid currentColor; }
.p-kontakt__netz a:hover { color: var(--rost); }
@media (max-width: 760px) { .p-formate { grid-template-columns: 1fr; } }

.p-fusszeile { padding: 16px var(--gut); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); }
.p-fusszeile a:hover { color: var(--signal); }

/* =========================================================
   Magazin
   ========================================================= */

.m-kopf { position: relative; padding: clamp(20px, 3vw, 40px) var(--gut) 18px; overflow: hidden; }
.m-kopf canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.m-kopf .plakat, .m-kopf__zeile { position: relative; z-index: 2; }
.m-kopf .plakat .zeile { font-size: clamp(60px, 19vw, 330px); font-variation-settings: "wdth" 100, "wght" 900; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.m-kopf__zeile { display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between; align-items: baseline; margin-top: 14px; color: var(--ink-2); }
.m-kopf__zeile p { margin: 0; max-width: 52ch; font-size: clamp(15px, 1.25vw, 18px); }
.m-kopf__zeile b { color: var(--signal); font-weight: 400; }

.m-leiste { position: sticky; top: 61px; z-index: 40; display: flex; gap: 10px 20px; justify-content: space-between; align-items: center; padding: 12px var(--gut); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.m-leiste__rechts { display: flex; gap: 8px; }
.m-inhalt { padding: 10px var(--gut) 70px; min-height: 60svh; }
@media (max-width: 1000px) {
  .m-leiste { overflow-x: auto; scrollbar-width: none; }
  .m-leiste .e-filter { flex-wrap: nowrap; }
}

.m-mehr { display: block; width: 100%; margin-top: 10px; padding: 22px; border: 1px dashed var(--line); background: none; color: var(--ink); cursor: pointer; transition: all .2s; }
.m-mehr:hover { background: var(--signal); border-color: var(--signal); color: #08090A; }
.m-mehr[hidden], .ist-index .m-mehr { display: none; }

/* Index: das Magazin als Liste aus großer Schrift */
.m-index { display: none; }
.ist-index .m-index { display: block; }
.ist-index .e-wand { display: none; }
.m-zeile { display: grid; grid-template-columns: 11ch 16ch 1fr; gap: 6px 20px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.m-zeile[hidden] { display: none; }
.m-zeile time, .m-zeile i { font-family: var(--m); font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.m-zeile i { color: var(--signal); }
.m-zeile strong { font-size: clamp(19px, 2.7vw, 42px); line-height: 1; font-variation-settings: "wdth" 72, "wght" 860; text-transform: uppercase; transition: font-variation-settings .35s var(--ease), color .15s; text-wrap: balance; }
.m-zeile:hover strong { color: var(--signal); font-variation-settings: "wdth" 92, "wght" 900; }
@media (max-width: 760px) { .m-zeile { grid-template-columns: 1fr 1fr; } .m-zeile strong { grid-column: 1 / -1; } }

.m-vorschau { position: fixed; z-index: 60; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transform: rotate(-3deg) scale(.94); transition: opacity .18s, transform .3s var(--ease); border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.m-vorschau.ist-da { opacity: 1; transform: rotate(-3deg) scale(1); }
.m-vorschau img, .m-vorschau svg { width: 100%; height: 100%; max-width: none; object-fit: cover; }
@media (hover: none) { .m-vorschau { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .e-lauf__spur, .e-stempel svg, .plakat .zeile { animation: none; }
}
