@import url("farben.css");
/* Unterseiten (Case Studies, Impressum): gleiche Tokens wie die Startseite (DESIGN-SYSTEM.md), eine Einstiegsbewegung, kein Scroll-Aufbau */
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 100 900; font-display: block; src: url('fonts/noto-sans-variable.woff2') format('woff2'); }
:root { --ink: 27,30,35; --m: max(clamp(16px, 5vw, 72px), calc((100vw - 1680px) / 2)); --u: 1; }
html { background: var(--paper-hell); }
body {
  margin: 0; color: rgba(var(--ink), .92); font-family: 'Noto Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  background-color: var(--paper-hell); background-image: repeating-linear-gradient(0deg, rgba(41,157,219,.20) 0 1px, transparent 1px 8px);
}
body.is-case { }
#topbar { margin-top: 0; }
main { padding: 64px var(--m) 0; max-width: 1560px; margin: 0 auto; }
.eyebrow { margin: 0 0 16px; font: 500 12px/16px 'Noto Sans', system-ui, sans-serif; letter-spacing: 1.6px; text-transform: none; }
.ch { display: inline-block; }
.ln { display: block; overflow: hidden; }

/* Kopf einer Case Study */
.chead { padding: 72px 0 40px; }
.back { display: inline-block; margin-bottom: 40px; font-size: 14px; color: inherit; text-decoration: none; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }
.ctitle { margin: 0; max-width: 18em; font-weight: 600; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.ctitle .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .2em; margin: -.06em 0 -.2em; }
.ctitle .ch { display: inline-block; }
.clead { margin-top: 40px; max-width: 40em; }
.clead .lab { margin: 0 0 8px; font: 500 12px/16px 'Noto Sans', system-ui, sans-serif; letter-spacing: 1.6px; }
.clead p { margin: 0 0 12px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.cmeta { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 40px 0 0; padding-top: 16px; box-shadow: inset 0 1px 0 rgba(var(--ink), .35); }
.cmeta div { min-width: 0; }
.cmeta dt { font: 500 12px/16px 'Noto Sans', system-ui, sans-serif; letter-spacing: 1.6px; margin-bottom: 4px; }
.cmeta dd { margin: 0; font-size: 15px; line-height: 1.5; }
.cmeta a { color: inherit; text-underline-offset: 3px; }

/* Abschnitte: Beschriftung links, Text rechts, Bilder darunter */
.csec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; padding: 48px 0; box-shadow: inset 0 1px 0 rgba(var(--ink), .2); }
.clabel { grid-column: 1 / span 3; }
.clabel h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.cbody { grid-column: 4 / span 7; }
.cbody p { margin: 0 0 16px; font-size: 18px; line-height: 1.6; }
.dots { margin: 0; padding: 0; list-style: none; }
.dots li { position: relative; margin: 0 0 10px; padding-left: 22px; font-size: 18px; line-height: 1.6; }
.dots li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--ink)); }
.cmedia { grid-column: 1 / -1; margin-top: 32px; display: grid; gap: 32px; }
.clearn { padding: 48px 0; box-shadow: inset 0 1px 0 rgba(var(--ink), .2); }
.clearn p { margin: 0; max-width: 24em; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.cmore { padding: 48px 0 72px; box-shadow: inset 0 1px 0 rgba(var(--ink), .2); }
.cmore h2 { margin: 0 0 24px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.card { display: block; padding: 24px; color: inherit; text-decoration: none; border: 1px solid rgba(var(--ink), .28); border-radius: var(--bild-radius); background: var(--paper-hell); transition: box-shadow .25s, transform .25s; } /* gleicher Radius wie Bilder und Kacheln (farben.css) */
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(var(--ink), .12); }
.card h3 { margin: 0 0 16px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.card .lnk { font-size: 14px; font-weight: 500; }

/* Button wie auf der Startseite: gefüllt, Umkehr beim Überfahren */
.btn { position: relative; display: inline-flex; align-items: center; height: 48px; padding: 0 28px; background: rgb(var(--ink)); color: var(--paper-hell); border: 0; font: 500 15px/1 'Noto Sans', system-ui, sans-serif; letter-spacing: .4px; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgb(var(--ink)), 0 0 0 0 var(--paper-hell); transition: background .3s, color .25s, box-shadow .35s cubic-bezier(.2,.7,.2,1); }
.btn:hover, .btn:focus-visible { background: var(--paper-hell); color: rgb(var(--ink)); box-shadow: inset 0 0 0 1.5px rgb(var(--ink)), 0 0 0 3px var(--paper-hell); outline: none; }


/* Impressum */
.legal { padding-top: 160px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); align-items: start; }
.legal-sec { padding-bottom: 48px; min-width: 0; }
.legal .h-main { margin: 0 0 24px; font-weight: 600; font-size: 32px; line-height: 1.15; letter-spacing: -.02em; }
.legal-content h3 { margin: 32px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.legal-content p { margin: 0 0 16px; font-size: 16px; line-height: 1.65; }
.legal-content a { color: inherit; text-underline-offset: 3px; }
.legal-content hr { border: 0; height: 1px; background: rgba(var(--ink), .25); margin: 32px 0; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; line-height: 1.65; }

/* Fußzeile */
.pfoot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 16px var(--m); box-shadow: inset 0 1px 0 rgba(var(--ink), .35); background: rgba(255,255,255,.55); font-size: 12px; line-height: 16px; color: rgba(var(--ink), .75); }
.pfoot a { color: inherit; text-decoration: none; }
.pfoot .legal { display: flex; align-items: center; gap: 24px; padding: 0; max-width: none; }
.pfoot .legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Fußzeilen-Links in der Schrift der Navigation oben (topbar.css: 12 px, 500, Laufweite 1,6 px, Großbuchstaben) */
.pfoot .legal a, .pfoot .copy { font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; }
.pfoot .tb-social { display: flex; margin: 0; }
.pfoot .tb-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid transparent; transition: border-color .2s; }
.pfoot .tb-social a:hover, .pfoot .tb-social a:focus-visible { border-color: rgba(var(--ink), .75); }
.pfoot .tb-social svg { width: 20px; height: 20px; }

@media (max-width: 899px) {
  .legal { grid-template-columns: 1fr; }
  .clabel, .cbody { grid-column: 1 / -1; }
  .clabel { margin-bottom: 16px; }
  .cfig.n2 .imgs { grid-template-columns: 1fr; }
  .cards2 { grid-template-columns: 1fr; }
  .pfoot { flex-direction: column; align-items: flex-start; }
}

/* Bilder (Anordnung wie V3): einheitliche Kästen, Paare, Banner, Karussell, Video */
.chero { padding: 8px 0 24px; }
.cfig { margin: 32px 0 0; display: grid; gap: 16px 24px; }
.cfig.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cfig figcaption { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.5; color: rgba(var(--ink), .8); }
.cimg { overflow: hidden; border-radius: var(--bild-radius); border: var(--bild-linie); aspect-ratio: 16 / 10; background: var(--paper-hell); }
.cimg.white { background: #fff; }
.cimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cfig.wide .cimg { aspect-ratio: 16 / 9; }
.cfig.tall .cimg { aspect-ratio: 5 / 4; }
.cfig.banner .cimg { aspect-ratio: auto; }
.cfig.banner .cimg img { height: auto; }
.cfig { margin-top: 0; }
.chero .cfig { margin-top: 0; }
.cend { padding: 0 0 48px; }
.cmedia { grid-column: 1 / -1; margin-top: 32px; }

.cvideo { margin: 0; }
.vwrap { position: relative; overflow: hidden; border-radius: var(--bild-radius); border: var(--bild-linie); background: var(--paper-hell); }
.vwrap video { display: block; width: 100%; height: auto; }
.vstart { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: 32px 48px; border: 0; background: var(--paper-hell); color: inherit; text-align: left; cursor: pointer; font: inherit; transition: opacity .4s; }
.vstart.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.vtxt { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.vtxt .eb { font: 500 12px/16px 'Noto Sans', system-ui, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; }
.vtxt .vt { font-weight: 600; font-size: clamp(24px, 3vw, 40px); line-height: 1.1; letter-spacing: -.03em; }
.vtxt .play { width: 56px; height: 56px; border-radius: 50%; background: rgb(var(--ink)); position: relative; transition: transform .3s; }
.vtxt .play::after { content: ''; position: absolute; left: 22px; top: 17px; border-left: 16px solid var(--paper-hell); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vstart:hover .play { transform: scale(1.1); }
.vstart img { width: 100%; max-height: 100%; object-fit: contain; justify-self: center; }

/* Karussell: eine Leiste über die volle Breite, zwei Bilder sichtbar */
.cs-car { margin: 0 calc(50% - 50vw) 24px; width: 100vw; overflow-x: clip; }
.cs-track { display: flex; gap: 24px; margin: 0; padding: 0 var(--m); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--m); scrollbar-width: none; scroll-behavior: smooth; }
.cs-track::-webkit-scrollbar { display: none; }
.cs-slide { flex: 0 0 calc((100vw - 2 * var(--m) - 24px) / 2); scroll-snap-align: start; }
.cs-slide figure { margin: 0; }
.cs-slide .cimg { aspect-ratio: 16 / 9; }
.cs-slide figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: rgba(var(--ink), .8); }
.cs-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--m) 0; }
.cs-dots { display: flex; gap: 8px; }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(var(--ink), .25); transition: background .25s, transform .25s; }
.cs-dot.on { background: rgb(var(--ink)); transform: scale(1.25); }
.cs-btns { display: flex; gap: 8px; }
.cs-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgb(var(--ink)); background: rgb(var(--ink)); color: var(--paper-hell); font: 500 18px/1 'Noto Sans', system-ui, sans-serif; cursor: pointer; transition: background .25s, color .25s; }
.cs-btn:hover:not(:disabled) { background: var(--paper-hell); color: rgb(var(--ink)); }
.cs-btn:disabled { opacity: .35; cursor: default; }
.cs-note { margin: 0; padding: 12px var(--m) 0; font-size: 14px; line-height: 1.5; color: rgba(var(--ink), .8); max-width: 60em; }
.mcta dd { margin-top: 4px; }
@media (max-width: 899px) {
  .cfig.pair { grid-template-columns: 1fr; }
  .cs-slide { flex-basis: calc(100vw - 2 * var(--m) - 12px); }
  .vstart { grid-template-columns: 1fr; padding: 20px; } .vstart img { display: none; }
}
.cmeta a.btn { color: var(--paper-hell); text-decoration: none; }
.cmeta a.btn:hover, .cmeta a.btn:focus-visible { color: rgb(var(--ink)); }

/* Überschrift: Sans und Serife je Zeichen für den Schriftwechsel */
.ctitle .ch, .h-main .ch { position: relative; }
.ctitle .ch .b-old, .h-main .ch .b-old { position: absolute; left: 50%; top: 0; transform: translateX(-50%); opacity: 0; font-family: "Iowan Old Style", Georgia, serif; font-size: 1.06em; white-space: pre; }

/* Case Studies: Aufbau wie V3 (schmaler Rahmen, Einleitung groß, Kennzahlenzeile in vier Spalten, Abschnitte gestapelt: Beschriftung, Überschrift, Text, darunter die Bilder) */
.case { --frame: 1200px; --pad: max(var(--m), calc((100vw - var(--frame)) / 2)); max-width: var(--frame); }
.case .chead { padding: 56px 0 32px; }
.case .back { margin-bottom: 32px; }
.case .clead { margin-top: 28px; max-width: 36em; }
.case .clead .lab { display: none; }
.case .clead p { margin: 0 0 12px; font-size: clamp(20px, 2vw, 28px); line-height: 1.38; font-weight: 400; letter-spacing: -.01em; color: rgba(var(--ink), .92); }
.case .cmeta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin-top: 36px; padding-top: 0; box-shadow: none; }
.case .cmeta dt { color: rgba(var(--ink), .55); margin-bottom: 6px; }
.case .cmeta dd { font-size: 15px; }
.case .csec { display: block; padding: 40px 0 8px; box-shadow: inset 0 1px 0 rgba(var(--ink), .2); }
.case .clabel { margin: 0 0 16px; }
.case .clabel .eyebrow { margin-bottom: 8px; display: block; }
.case .clabel h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.025em; max-width: 18em; }
.case .cbody { max-width: 44em; }
.case .cbody p, .case .dots li { font-size: 17px; line-height: 1.6; }
.case .cmedia { margin-top: 28px; }
.case .cs-car { --m: var(--pad); }
.case .cs-track { padding: 0 var(--pad); scroll-padding-left: var(--pad); }
.case .cs-slide { flex-basis: calc((100vw - 2 * var(--pad) - 24px) / 2); }
.case .cs-nav, .case .cs-note { padding-left: var(--pad); padding-right: var(--pad); }
@media (max-width: 899px) { .case .cmeta { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case .cs-slide { flex-basis: calc(100vw - 2 * var(--pad) - 12px); } }
/* Spaltenraster hinter dem Inhalt wie in V3 (12 Spalten, rosa, 6 %) */
.case { position: relative; }
.case > section, .case > div:not(.gcols) { position: relative; z-index: 1; }
.case > .cs-car { position: relative; z-index: 1; }
.ctitle .ch .gs, .h-main .ch .gs { position: absolute; inset: 0; pointer-events: none; }
.ctitle .ch .gb, .h-main .ch .gb { position: absolute; left: -.1em; right: -.1em; overflow: hidden; opacity: 0; }
.ctitle .ch .gi, .h-main .ch .gi { position: absolute; left: .1em; white-space: pre; line-height: inherit; }
.ctitle .w { padding-top: .1em; margin-top: -.1em; }
.ctitle .ch .a, .h-main .ch .a { display: inline-block; }

.case::before { display: none; }
/* Spaltenraster hinter allen Unterseiten; es klappt nach der Überschrift von links nach rechts auf (pages.js, wie auf der Startseite) */
.gcols { position: absolute; top: 0; bottom: 0; left: var(--m); right: var(--m); display: flex; gap: 24px; pointer-events: none; z-index: 0; }
.gcols span { position: relative; flex: 1; }
/* Jalousie wie in der Motion-Vorlage (ANIMATION-TEMPLATE.md, 5): jede Spalte beginnt als 1-px-Linie am linken Rand und zieht sich nach rechts zur vollen Breite auf */
.gcols span i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--raster-spalte); box-shadow: inset 1px 0 0 var(--raster-kante), inset -1px 0 0 var(--raster-kante); }
@media (max-width: 699px) { .gcols { gap: 16px; } }
main.case, main.legal { position: relative; }
main.case > :not(.gcols), main.legal > :not(.gcols) { position: relative; z-index: 1; }

.cwrap { display: flex; flex-direction: column; gap: 8px; }
.plab { font: 500 12px/16px 'Noto Sans', system-ui, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(var(--ink), .6); }

/* Kachel als aufgelegte Karte über dem Dashboard, quer wie ein Post-it */
.cov { position: relative; }
.postit { position: absolute; right: -2.5%; bottom: -9%; width: 46%; transform: rotate(-3deg); border-radius: 8px; overflow: hidden; border: 1px solid rgba(var(--ink), .2); background: #fff; box-shadow: 0 14px 34px rgba(var(--ink), .28), 0 2px 6px rgba(var(--ink), .12); }
.postit img { display: block; width: 100%; height: auto; }
.cfig .cwrap { margin-bottom: 0; }
@media (max-width: 899px) { .postit { right: -1%; bottom: -6%; width: 52%; } }

/* Case-Seiten: mehr Luft, kein Spaltenraster, nichts im Bild beschneiden, Text mit Rand */
.case .clead { max-width: 66%; }
.case .csec { padding: 80px 0 16px; }
.case .clabel { margin: 0 0 24px; }
.case .clabel, .case .cbody { padding-left: calc((100% - 11 * 24px) / 12 + 24px); }
.case .cbody { max-width: 46em; box-sizing: content-box; }
.case .cmedia { margin-top: 48px; }
.case .cend { padding: 64px 0 32px; }
.case .clearn { padding: 80px 0; }
.case .cmore { padding: 80px 0 96px; }
.case .cimg { aspect-ratio: auto; }
.case .cimg img { height: auto; object-fit: initial; }
.case .cfig.pair { align-items: start; }
.case .cs-slide .cimg { aspect-ratio: auto; }
.case .cs-track { align-items: flex-start; }
.case .cfig.inset { width: calc((100% - 11 * 24px) / 12 * 10 + 9 * 24px); margin-left: calc((100% - 11 * 24px) / 12 + 24px); }
@media (max-width: 899px) { .case .clead { max-width: none; } .case .clabel, .case .cbody { padding-left: 0; } .case .cfig.inset { width: 100%; margin-left: 0; } .case .csec { padding-top: 56px; } }
.cov { margin-bottom: 6.5%; }
.case .clearn { padding-left: calc((100% - 11 * 24px) / 12 + 24px); }
@media (max-width: 899px) { .case .clearn { padding-left: 0; } }

/* Case-Seiten: mehr Luft im Kopf und vor „Weitere Arbeiten“ */
.case .chead { padding: 104px 0 56px; }
.case .back { margin-bottom: 64px; }
.case .chead .eyebrow { margin-bottom: 28px; }
.case .ctitle { margin-bottom: 12px; }
.case .clead { margin-top: 48px; }
.case .clead p { margin-bottom: 18px; }
.case .cmeta { margin-top: 64px; padding-top: 28px; gap: 24px 48px; box-shadow: inset 0 1px 0 rgba(var(--ink), .2); }
.case .cmeta dt { margin-bottom: 10px; }
.case .chero { padding: 16px 0 72px; }
.case .cs-car { margin-bottom: 72px; }
.case .cmore { margin-top: 64px; padding: 128px 0 140px; box-shadow: inset 0 1px 0 rgba(var(--ink), .2); }
.case .cmore h2 { margin-bottom: 48px; }
.case .cards2 { gap: 40px; margin-bottom: 64px; }
.case .card { padding: 32px; }
.case .card .eyebrow { margin-bottom: 20px; }
@media (max-width: 899px) { .case .chead { padding: 72px 0 40px; } .case .back { margin-bottom: 40px; } .case .cmore { padding: 88px 0 96px; } .case .cards2 { gap: 24px; } }
/* „Zurück zu den Arbeiten“ steht auf der Höhe der Eyebrows der Startseite (56 px unter der Kopfleiste) */
.case .chead { padding-top: 56px; }
@media (max-width: 899px) { .case .chead { padding-top: 40px; } }

/* Lightbox (Zoom-Fenster) für alle Fotos der Fallstudien */
main.case .cimg img, main.case .postit img { cursor: zoom-in; }
.zb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(20,22,28,.94); opacity: 0; transition: opacity .22s ease; }
.zb[hidden] { display: none; }
.zb.on { opacity: 1; }
.zb-fig { margin: 0; max-width: 92vw; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.zb-fig img { display: block; max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 4px; background: #fff; transform: scale(.97); transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.zb.on .zb-fig img { transform: scale(1); }
.zb-fig figcaption { max-width: 60em; color: rgba(255,255,255,.82); font: 400 14px/1.5 'Noto Sans', system-ui, sans-serif; text-align: center; }
.zb-x, .zb-n { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: rgb(var(--ink)); font: 500 18px/1 'Noto Sans', system-ui, sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.zb-x { top: 20px; right: 20px; }
.zb-n { top: 50%; margin-top: -22px; }
.zb-p { left: 20px; } .zb-f { right: 20px; }
.zb-x:hover, .zb-n:hover, .zb-x:focus-visible, .zb-n:focus-visible { background: rgb(var(--ink)); color: #fff; outline: 2px solid #fff; outline-offset: 2px; }

/* Bilder werden nie beschnitten: keine festen Seitenverhältnisse, Paare in Spaltenbreiten nach Bildformat (gleiche Höhe) */
.case .cfig.wide .cimg, .case .cfig.tall .cimg { aspect-ratio: auto; }
@media (min-width: 700px) { .case .cfig.pair[style*="--c1"] { grid-template-columns: var(--c1) var(--c2); align-items: start; } }

/* Setzerregeln: Überschriften ausgleichen; Absätze regelt lang.js mit geschützten Leerzeichen (in allen Browsern gleich), kein text-wrap: pretty */
h1, h2, h3, h4 { text-wrap: balance; }

/* Passwortschutz der Fallstudien (Skript case-gate.js, wie V3): solange gesperrt, bleiben nur Rücklink, Eyebrow, Titel und das Formular sichtbar */
.gate-wrap { padding: 64px 0 120px; }
.gate-wrap[hidden] { display: none; }
.gate-box { max-width: 420px; }
.gate-text { margin: 0 0 32px; font-size: 18px; line-height: 1.55; color: rgba(var(--ink), .8); }
.gate-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.gate-field label { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(var(--ink), .6); }
.gate-field input { font: inherit; font-size: 18px; padding: 14px 16px; border: 1px solid rgba(var(--ink), .28); border-radius: var(--bild-radius); background: var(--paper-hell); color: rgb(var(--ink));
  -webkit-text-security: disc; /* ein Textfeld, das wie ein Passwortfeld aussieht: so fragt der Browser nicht nach dem Speichern eines Passworts */ }
.gate-field input:focus-visible { outline: 2px solid rgb(var(--ink)); outline-offset: 1px; }
.gate-remember { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 14px; color: rgba(var(--ink), .7); }
.gate-error { margin: 0 0 16px; font-size: 14px; color: #b3413a; }
.gate-wrap .btn { cursor: pointer; }
html.gate-locked main.case > :not(.chead):not(.gate-wrap) { display: none; }
html.gate-locked .case .clead, html.gate-locked .case .cmeta { display: none; }
html:not(.gate-locked) .gate-wrap { display: none; }
.gate-text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.gate-text a:hover { text-decoration-thickness: 2px; }

/* Fußzeile: Icons links (Glyph bündig mit dem Namen oben, daher −9 px für den Innenabstand der Kreisfläche), Navigation mittig, Copyright rechts außen */
.pfoot .soc { justify-self: start; margin-left: -9px; }
.pfoot .legal { justify-self: center; }
.pfoot .copy { justify-self: end; white-space: nowrap; }
@media (max-width: 899px) { .pfoot { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; } .pfoot .legal, .pfoot .copy { justify-self: auto; } }

.pfoot { padding-left: var(--tb-m, var(--m)); padding-right: var(--tb-m, var(--m)); } /* gleicher Seitenrand wie die Kopfleiste */
.pfoot .soc { margin-left: -10px; } /* Glyph des ersten Icons bündig mit dem Namen oben (Innenabstand der 34-px-Fläche) */

/* Eckdaten der Fallstudien (Rolle, Kontext, Tools): Rolle links, Kontext mittig, Tools als Feld ganz außen an der rechten Kante des Rasters (Text im Feld linksbündig).
   Drei Spalten 1fr auto 1fr, damit die Mitte genau in der Mitte des Inhalts liegt. Unter 640 px stehen sie untereinander, alle linksbündig. */
@media (min-width: 640px) {
  .case .cmeta { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .case .cmeta > div:nth-child(1) { justify-self: start; text-align: left; }
  .case .cmeta > div:nth-child(2) { justify-self: center; text-align: center; }
  .case .cmeta > div:nth-child(3) { justify-self: end; text-align: left; } /* das Feld endet am rechten Rand des Rasters, der Text darin steht linksbündig */
}
@media (max-width: 639px) { .case .cmeta { grid-template-columns: 1fr; } }

/* UIPrism: der Button steht ohne sichtbare Beschriftung auf der Zeile von Rolle und Status, seine Oberkante auf der Versalhöhe von „Role“ und „Status“. */
.cmeta .vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 640px) { .case .cmeta .mcta { align-self: start; margin-top: 0; } } /* gemessen: Oberkante des Buttons = Oberkante der Versalien von „Role“ und „Status“ (Grundlinie minus 0,714 em) */
