/* =========================================================================
   RIGHINI Werkstatt: Mitarbeiter-App und Verwaltung.
   Dieselben Hausfarben wie die Website (RAL 1015 und RAL 8023), dieselben
   Schriften. Eckig, klar, auf dem Handy mit dem Daumen zu bedienen.
   ========================================================================= */
@font-face { font-family: "Darker Grotesque"; src: url("darker-grotesque-400-800-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("inter-400-700-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Fragment Mono"; src: url("fragment-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ral-1015: #E6D2B5; --papier: #F7F0E4; --papier-2: #EFE4D1;
  --linie: #DCCAAC; --linie-2: #C5AE8B;
  --tinte: #261C15; --tinte-2: #554739; --tinte-3: #74645A;
  --marke: #A65E2E; --marke-text: #8A4B23; --marke-tief: #7E4420; --marke-licht: #E3A877;
  --laub-text: #3F6221; --laub-lasur: rgba(94,140,54,.14); --rot: #C0352F;
  --nacht: #2A2019; --auf-nacht: #F3EADB; --auf-nacht-2: #DCCBB3;
  --r: 6px; --r-gross: 14px;
  --schatten: 0 1px 2px rgba(38,28,21,.06), 0 10px 28px -12px rgba(38,28,21,.22);
  --rand: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--papier); color: var(--tinte);
  font: 16px/1.55 "Inter", system-ui, sans-serif;
}
h1, h2, h3 { font-family: "Darker Grotesque", sans-serif; font-weight: 800; line-height: 1; margin: 0 0 .3em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
p { margin: 0 0 1em; }
.mono { font-family: "Fragment Mono", monospace; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
:focus-visible { outline: 3px solid var(--marke); outline-offset: 2px; }
/* hidden gilt immer, auch wenn eine Klasse display setzt (Knopf, Raster) */
[hidden] { display: none !important; }
.nur-lesbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Scrollleisten nach Hausfarbe (Weiche fuer Firefox, sonst webkit) */
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: var(--linie-2) transparent; } }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--linie-2); border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

/* --- Knoepfe: drei Groessen, eine Form ---------------------------------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.4em; border: 1px solid transparent; border-radius: var(--r);
  background: var(--marke); color: #fff; font: inherit; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: background .2s, transform .2s;
}
.knopf:hover { background: var(--marke-tief); }
.knopf:active { transform: translateY(1px); }
.knopf[disabled] { opacity: .5; cursor: not-allowed; }
.knopf--linie { background: transparent; color: var(--tinte); border-color: var(--linie-2); }
.knopf--linie:hover { background: var(--papier-2); }
.knopf--gross { min-height: 64px; font-size: 1.1rem; }
.knopf--klein { min-height: 38px; padding: .45em .9em; font-size: .9rem; }
.knopf--gefahr { background: transparent; color: var(--rot); border-color: rgba(192,53,47,.4); }
.knopf--gefahr:hover { background: rgba(192,53,47,.08); }
.knopf svg { width: 1.3em; height: 1.3em; flex: none; }

/* --- Kopfleiste --------------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 20; background: rgba(247,240,228,.96);
  border-bottom: 1px solid var(--linie); backdrop-filter: blur(10px);
}
.kopf-innen { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px var(--rand); max-width: 1500px; margin: 0 auto; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinte); }
.marke img { height: 46px; width: auto; }
.marke b { font-family: "Darker Grotesque", sans-serif; font-size: 1.35rem; font-weight: 800; line-height: 1; display: block; }
.marke span { display: block; font-family: "Fragment Mono", monospace; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tinte-3); }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.wer { font-size: .88rem; color: var(--tinte-2); }
@media (max-width: 520px) { .wer { display: none; } }

.inhalt { max-width: 1500px; margin: 0 auto; padding: 24px var(--rand) 60px; }

/* --- Anmeldung ---------------------------------------------------------- */
.anmeldung { min-height: 100vh; display: grid; place-items: center; padding: 24px var(--rand); background: var(--ral-1015); }
.anmelde-kasten {
  width: min(100%, 420px); background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross);
  box-shadow: var(--schatten); padding: 32px 28px 28px;
}
.anmelde-kasten .marke { margin-bottom: 22px; }
.anmelde-kasten .mono { color: var(--marke-text); }
.feld { display: grid; gap: 6px; margin-bottom: 16px; }
.feld label, .feld .titel { font-weight: 600; font-size: .92rem; }
.feld input, .feld textarea {
  width: 100%; font: inherit; color: var(--tinte); background: var(--papier);
  border: 1px solid var(--linie-2); border-radius: var(--r); padding: .8em .9em; min-height: 48px;
}
.feld textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--marke); box-shadow: 0 0 0 3px rgba(166,94,46,.2); background: #fff; }
.melder { min-height: 1.5em; font-size: .9rem; margin: 4px 0 12px; color: var(--rot); }
.melder.gut { color: var(--laub-text); }
.anmelde-kasten .knopf { width: 100%; }

/* --- Mitarbeiter-App ---------------------------------------------------- */
.aufnahme {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: var(--schatten);
  padding: 22px; display: grid; gap: 16px; max-width: 640px; margin: 0 auto 28px;
}
.aufnahme-bild {
  aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--papier-2);
  display: grid; place-items: center; color: var(--tinte-3); text-align: center; padding: 12px;
  border: 1px dashed var(--linie-2);
}
.aufnahme-bild img { width: 100%; height: 100%; object-fit: cover; }
.aufnahme-bild.hat-bild { padding: 0; border-style: solid; }
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.zwei .knopf { width: 100%; }
.fortschritt { height: 6px; background: var(--papier-2); border-radius: 3px; overflow: hidden; }
.fortschritt i { display: block; height: 100%; width: 0; background: var(--marke); transition: width .2s; }

.raster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.kachel { background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross); overflow: hidden; display: flex; flex-direction: column; }
.kachel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--papier-2); }
.kachel-text { padding: 12px 14px 14px; display: grid; gap: 6px; }
.kachel-text p { margin: 0; font-size: .9rem; color: var(--tinte-2); }
.stand {
  justify-self: start; font-family: "Fragment Mono", monospace; font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; padding: .3em .6em; border-radius: var(--r);
  background: rgba(166,94,46,.13); color: var(--marke-tief);
}
.stand--freigegeben { background: var(--laub-lasur); color: var(--laub-text); }
.stand--verworfen { background: rgba(116,100,90,.14); color: var(--tinte-3); }
.leer {
  border: 1px dashed var(--linie-2); border-radius: var(--r-gross); padding: 28px; text-align: center;
  color: var(--tinte-2); background: rgba(255,255,255,.5);
}
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 14px; }

/* --- Verwaltung --------------------------------------------------------- */
.reiter { display: flex; gap: 6px; border-bottom: 1px solid var(--linie-2); margin-bottom: 22px; overflow-x: auto; overflow-y: hidden; }
.reiter button {
  border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--tinte-2);
  padding: .8em 1em; min-height: 48px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap;
}
.reiter button[aria-selected="true"] { color: var(--tinte); border-bottom-color: var(--marke); }
.reiter .zahl {
  display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .4em; margin-left: .4em;
  border-radius: var(--r); background: var(--marke); color: #fff; font-size: .78rem;
}
.reiter .zahl[data-null] { background: var(--papier-2); color: var(--tinte-3); }

.eingang {
  display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); background: #fff;
  border: 1px solid var(--linie); border-radius: var(--r-gross); overflow: hidden; box-shadow: var(--schatten);
  margin-bottom: 18px;
}
@media (min-width: 860px) { .eingang { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.eingang-bild { background: var(--papier-2); min-height: 240px; }
.eingang-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eingang-text { padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.eingang-text .mono { color: var(--tinte-3); }
.eingang-notiz { background: var(--papier); border-radius: var(--r); padding: 10px 12px; font-size: .92rem; color: var(--tinte-2); margin: 6px 0 12px; }
.eingang-knoepfe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: auto; }
.eingang-knoepfe .knopf { width: 100%; }
.eingang .melder { margin: 0 0 8px; }

.tabelle-huelle { overflow-x: auto; background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 640px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--linie); font-size: .93rem; vertical-align: middle; }
th { font-family: "Fragment Mono", monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinte-3); font-weight: 400; }
td.zahl, th.zahl { text-align: right; }
tr:last-child td { border-bottom: 0; }
.aktionen { display: flex; gap: 8px; justify-content: flex-end; }
.neu-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; max-width: 620px; margin-bottom: 22px; }
.neu-zeile .feld { margin: 0; }

/* Fenster fuer neue Zugaenge: eigenes Fenster statt Browserdialog */
.fenster-schleier { position: fixed; inset: 0; z-index: 50; background: rgba(20,14,10,.55); display: grid; place-items: center; padding: 20px; }
.fenster-schleier[hidden] { display: none; }
.fenster { width: min(100%, 460px); background: #fff; border-radius: var(--r-gross); box-shadow: var(--schatten); padding: 26px; }
.zugang { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--r); padding: 14px 16px; margin: 12px 0 16px; display: grid; gap: 8px; }
.zugang div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; align-items: baseline; }
.zugang b { font-family: "Fragment Mono", monospace; font-size: 1rem; letter-spacing: .02em; word-break: break-all; }
/* Feste Spaltenbreiten (die CSP erlaubt keine Inline-Stile) */
.sp-name { width: 24%; } .sp-mail { width: 22%; } .sp-stand { width: 16%; } .sp-fotos { width: 8%; } .sp-aktion { width: 30%; }
table { min-width: 860px; }
.unterzeile { display: block; font-size: .8rem; color: var(--tinte-3); }
td.blass { color: var(--tinte-3); }
.neu-zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; max-width: 860px; }
@media (max-width: 720px) { .neu-zeile { grid-template-columns: minmax(0, 1fr); } }
.anfragen { display: grid; gap: 10px; margin-bottom: 22px; }
.anfrage {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: #fff; border: 1px solid rgba(166,94,46,.45); border-radius: var(--r-gross); padding: 14px 18px;
}
.anfrage p { margin: 0; }
@media (max-width: 560px) { .anfrage { grid-template-columns: minmax(0, 1fr); } .anfrage .knopf { width: 100%; } }
.fenster .zwei { margin-top: 6px; }

/* --- Anmeldung: Textknopf, Kennwort vergessen ---------------------------- */
.textknopf {
  display: block; width: 100%; margin-top: 14px; padding: 10px; border: 0; background: none;
  font: inherit; font-weight: 600; color: var(--marke-text); text-align: center; text-decoration: none; cursor: pointer;
}
.textknopf:hover { text-decoration: underline; }
.feld-hinweis { font-size: .84rem; color: var(--tinte-3); }

/* --- Mein Zugang -------------------------------------------------------- */
.konto { max-width: 1100px; }
.konto-raster { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .konto-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } #installieren { grid-column: 1 / -1; } }
.konto-kasten {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: var(--schatten);
  padding: 24px; display: flex; flex-direction: column;
}
#erstesMal { max-width: 560px; margin: 0 auto; }
.konto-kasten .mono { color: var(--marke-text); margin-bottom: 8px; }
.konto-kasten form { display: flex; flex-direction: column; }
.konto-kasten form .knopf { width: 100%; }
.konto-daten { margin: 6px 0 20px; display: grid; gap: 10px; }
.konto-daten div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--linie); }
@media (max-width: 480px) { .konto-daten div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.konto-daten dt { color: var(--tinte-3); font-size: .9rem; }
.konto-daten dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.konto-ab { width: 100%; margin-top: auto; }
.konto-kasten #mailFormular { margin-bottom: 16px; }
.schritte { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }


/* --- Baustelle in der App ----------------------------------------------- */
.baustelle {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: center;
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--r); padding: 12px 14px;
}
.baustelle.offen { border-color: rgba(166,94,46,.55); background: rgba(166,94,46,.06); }
.baustelle-text { display: grid; gap: 2px; min-width: 0; }
.baustelle-text .mono { color: var(--marke-text); }
.baustelle-text b { font-size: 1.05rem; overflow-wrap: anywhere; }
.baustelle-text span:last-child { font-size: .88rem; color: var(--tinte-2); overflow-wrap: anywhere; }
.baustelle-merken { grid-column: 1 / -1; width: 100%; }

.fenster--liste { width: min(100%, 560px); max-height: min(86vh, 720px); display: flex; flex-direction: column; padding: 22px; }
.fenster-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.fenster-kopf h2 { margin: 0; }
.bs-liste { overflow-y: auto; display: grid; gap: 8px; margin-top: 8px; padding-right: 4px; }
.bs-eintrag {
  display: grid; grid-template-columns: minmax(0, 1fr) 5.5em; gap: 2px 12px; text-align: left;
  font: inherit; color: var(--tinte); background: #fff; border: 1px solid var(--linie); border-radius: var(--r);
  padding: 12px 14px; min-height: 64px; cursor: pointer;
}
.bs-eintrag b { overflow-wrap: anywhere; }
.bs-eintrag span { grid-column: 1; font-size: .88rem; color: var(--tinte-2); overflow-wrap: anywhere; }
.bs-eintrag .bs-weg { grid-column: 2; grid-row: 1; text-align: right; font-family: "Fragment Mono", monospace; font-size: .78rem; color: var(--marke-text); }
.bs-eintrag[aria-selected="true"] { border-color: var(--marke); box-shadow: 0 0 0 2px rgba(166,94,46,.25); }
.bs-eintrag:hover { background: var(--papier); }

/* --- Baustellen in der Verwaltung --------------------------------------- */
.bs-neu { display: grid; gap: 12px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: end; margin-bottom: 6px; }
.bs-neu .feld { margin: 0; }
@media (max-width: 1100px) { .bs-neu { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bs-neu .knopf { grid-column: 1 / -1; } }
@media (max-width: 560px) { .bs-neu { grid-template-columns: minmax(0, 1fr); } }
.sp-bs { width: 24%; } .sp-adr { width: 22%; } .sp-ortstand { width: 11%; } .sp-zahlen { width: 12%; } .sp-bsaktion { width: 31%; }
tr.abgeschlossen td { color: var(--tinte-3); }
a.stand { text-decoration: none; }
td.leer-zeile { text-align: center; color: var(--tinte-2); padding: 28px 16px; }
.eingang-baustelle { font-weight: 700; margin: 2px 0 4px; }
@media (max-width: 480px) { .baustelle { grid-template-columns: minmax(0, 1fr); } .baustelle .knopf { width: 100%; } }

/* --- Neue Fotos: Gruppen je Baustelle und Tag --------------------------- */
.uebersicht { font-weight: 700; font-size: 1.05rem; margin: 0 0 6px; }
.tag-kopf { font-size: 1.35rem; margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--linie-2); }
.gruppe { background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: var(--schatten); padding: 18px; margin-bottom: 18px; }
.gruppe-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.gruppe-kopf h3 { font-size: 1.45rem; margin: 0 0 4px; }
.gruppe-kopf .mono { color: var(--tinte-3); margin: 0; }
.gruppe-raster { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.wahl-kachel { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--linie); border-radius: var(--r); overflow: hidden; background: var(--papier); transition: opacity .2s; }
.wahl-kachel.raus .wahl-bild img { opacity: .38; filter: grayscale(.6); }
.wahl-bild { border: 0; padding: 0; margin: 0; cursor: zoom-in; background: var(--papier-2); display: block; }
.wahl-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: opacity .2s; }
.wahl-leiste { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.wahl-knopf {
  font: inherit; font-size: .84rem; font-weight: 700; min-height: 44px; border: 0; border-top: 1px solid var(--linie);
  background: #fff; color: var(--tinte-3); cursor: pointer;
}
.wahl-knopf + .wahl-knopf { border-left: 1px solid var(--linie); }
.wahl-knopf::before { content: ""; display: inline-block; width: .75em; height: .75em; margin-right: .45em; border: 1.5px solid currentColor; border-radius: 2px; vertical-align: -.05em; }
.wahl-stern::before { border-radius: 50%; }
.wahl-kunde[aria-pressed="true"] { color: var(--laub-text); background: var(--laub-lasur); }
.wahl-kunde[aria-pressed="true"]::before { background: currentColor; }
.wahl-stern[aria-pressed="true"] { color: var(--marke-tief); background: rgba(166,94,46,.12); }
.wahl-stern[aria-pressed="true"]::before { background: currentColor; }
.wahl-info { margin: 0; padding: 8px 10px; font-size: .8rem; color: var(--tinte-2); border-top: 1px solid var(--linie); background: #fff; flex: 1; }
.gruppe-fuss { display: grid; gap: 4px; margin-top: 14px; }
.gruppe-fuss .feld { margin-bottom: 4px; }
.gruppe-fuss textarea { min-height: 70px; }
.gruppe-fuss .knopf { justify-self: end; min-width: min(100%, 340px); }
@media (max-width: 560px) { .gruppe-kopf { flex-direction: column; } .gruppe-fuss .knopf { width: 100%; } }
.fenster--bild { width: min(100%, 1100px); padding: 18px; }
.fenster--bild img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--papier-2); border-radius: var(--r); display: block; margin: 8px 0; }
/* Handy: zwei Fotos nebeneinander, Abmelden steht dort unter Mein Zugang */
@media (max-width: 560px) {
  .gruppe { padding: 14px; }
  .gruppe-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wahl-knopf { font-size: .74rem; min-height: 42px; padding: 0 4px; }
  .wahl-knopf::before { margin-right: .3em; }
  .wahl-info { font-size: .74rem; padding: 6px 8px; }
  .kopf-rechts #abmelden { display: none; }
}

.kunde-weiter { margin-top: 10px; }
#kundeLink { font-size: .86rem; }

/* --- Verlauf fuer den Kunden -------------------------------------------- */
.verlauf { max-width: 1180px; }
.verlauf-kopf { padding: 18px 0 8px; max-width: 760px; }
.verlauf-kopf .mono { color: var(--marke-text); }
.verlauf-kopf h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
.verlauf-adresse { font-weight: 600; color: var(--tinte-2); }
.verlauf-stand { color: var(--tinte-3); }
.verlauf-tag { background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: var(--schatten); padding: 22px; margin: 18px 0; }
.verlauf-tag h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); }
.verlauf-text { font-size: 1.05rem; color: var(--tinte-2); max-width: 70ch; white-space: pre-line; }
.verlauf-raster { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
@media (max-width: 560px) { .verlauf-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .verlauf-tag { padding: 16px; } }
.verlauf-foto { border: 0; padding: 0; margin: 0; cursor: zoom-in; border-radius: var(--r); overflow: hidden; background: var(--papier-2); display: block; }
.verlauf-foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .3s; }
.verlauf-foto:hover img { transform: scale(1.03); }
.verlauf-tag--leer { border-style: dashed; box-shadow: none; background: rgba(255,255,255,.6); }
.verlauf-tag--leer .verlauf-raster span { aspect-ratio: 4 / 3; border-radius: var(--r); background: repeating-linear-gradient(135deg, var(--papier-2) 0 12px, var(--papier) 12px 24px); }
.verlauf-fuss { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--linie-2); color: var(--tinte-2); }
.verlauf-fuss a { color: var(--marke-text); font-weight: 600; }
.verlauf-fuss .mono { color: var(--tinte-3); }
.bild-leiste { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.bild-leiste .mono { text-align: center; color: var(--tinte-3); }
