/* Mitgliederportal Revier Adelshofen – CI: Revier-Grün, Eichengold, Hirschhorn, Poppins */

@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --gruen: #22402b;      /* Revier-Grün */
  --nacht: #16231a;      /* Nachtgrün */
  --moos: #3b4a2c;       /* Moosgrün */
  --gold: #c9973f;       /* Eichengold – Linien, Akzente */
  --gold-text: #b07f2c;  /* Gold für Schrift auf Weiß */
  --horn: #ece3c8;       /* Hirschhorn */
  --horn-hell: #f6f1e3;  /* Kästen */
  --ink: #1b2a1f;        /* Schriftgrün */
  --grau: #5e6b60;
  --signal: #e8590c;     /* nur Sicherheit/Warnung */
  --signal-hell: #fdeee4;
  --line: rgba(27, 42, 31, .12);
  --r: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font: 400 16px/1.55 "Poppins", Arial, sans-serif; color: var(--ink); background: #fff;
}
a { color: var(--gruen); }
img { max-width: 100%; display: block; }
h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.15; margin: 4px 0 0; font-weight: 700; }
h2 { font-size: 18px; margin: 0 0 12px; color: var(--gruen); font-weight: 700; }
.kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-text); }
.goldline { display: block; width: 90px; height: 3px; background: var(--gold); border-radius: 2px; margin: 14px 0 18px; }
.goldline.center { margin-left: auto; margin-right: auto; }
.muted { color: var(--grau); }
.small { font-size: 13px; }
.center { text-align: center; }
.right { text-align: right; }

/* Kopf */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: var(--gruen); color: var(--horn); border-bottom: 3px solid var(--gold);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--horn); text-decoration: none; }
.brand-emblem { width: 40px; height: 40px; object-fit: contain; }
.brand-word { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.15; }
.topnav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; }
.topnav a { color: var(--horn); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.topnav a.active, .topnav a:hover { background: rgba(236, 227, 200, .14); }
.me {
  margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--horn); color: var(--gruen); font-weight: 700; text-decoration: none; flex: none;
}
.topnav + .me { margin-left: 8px; }
@media (max-width: 720px) { .topnav { display: none; } }

/* Inhalt */
.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 24px 16px 40px; flex: 1; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin: 0 0 16px; }
.card.narrow { max-width: 460px; margin: 24px auto; }
.hornbox { background: var(--horn-hell); border-color: transparent; }
.dangerbox { background: var(--signal-hell); border: 2px solid var(--signal); }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.subnav a { text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.subnav a.active { background: var(--gruen); color: var(--horn); border-color: var(--gruen); }

/* Formulare */
.form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: 14px; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%; padding: 11px 12px;
  border: 1px solid #c8cdc4; border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; }
legend { font-weight: 500; font-size: 14px; padding: 0 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.check input, .switch { width: 20px; height: 20px; accent-color: var(--gruen); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer;
  font: 700 15px/1 "Poppins", Arial, sans-serif; padding: 13px 20px; border-radius: 10px;
  background: var(--gruen); color: var(--horn); text-decoration: none;
}
.btn:hover { background: var(--moos); }
.btn-ghost { background: transparent; color: var(--gruen); border: 1px solid var(--gruen); }
.btn-ghost:hover { background: var(--horn-hell); }
.btn-danger { background: var(--signal); color: #fff; }
.btn-danger:hover { background: #c94a08; }
.btn-small { padding: 8px 12px; font-size: 13px; }
form.inline { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
details.more { margin-top: 12px; }
details.more summary { cursor: pointer; color: var(--gruen); font-weight: 500; font-size: 14px; margin-bottom: 10px; }

/* Meldungen */
.flash { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; background: var(--horn-hell); border-left: 4px solid var(--gold); }
.flash-error { background: var(--signal-hell); border-left-color: var(--signal); }
.flash-warn { background: var(--horn-hell); border-left-color: var(--gold); }

/* Tabellen und Listen */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--horn); background: var(--gruen); padding: 10px; }
.table th:first-child { border-top-left-radius: 8px; } .table th:last-child { border-top-right-radius: 8px; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:nth-child(even) td { background: var(--horn-hell); }
.table thead { border-bottom: 2px solid var(--gold); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
.entries li { padding: 0; }
.entries a { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 12px 0; color: inherit; text-decoration: none; }
.entries a span:first-child { display: grid; }
.amount { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount.pos { color: var(--gruen); }
.amount.neg { color: var(--signal); }
.amount.big { font-size: 24px; }
.voided, .voided a { opacity: .55; }
.voided strong, .voided .amount { text-decoration: line-through; }
.me-row td { font-weight: 700; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
.facts dt { color: var(--grau); font-size: 14px; }
.facts dd { margin: 0; }
code.pw { font-size: 18px; background: #fff; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--gold); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.back { text-decoration: none; font-weight: 500; }

/* Start */
.saldo { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--r); background: var(--gruen); color: var(--horn); text-decoration: none; margin-bottom: 16px; border-left: 6px solid var(--gold); }
.saldo strong { font-size: 30px; }
.saldo .label { font-size: 13px; opacity: .85; }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 16px; }
.tile { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.tile:hover { border-color: var(--gold); }
.tile-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--horn-hell); color: var(--gruen); margin-bottom: 6px; }
.tile-icon svg { width: 22px; height: 22px; }

/* Belege */
.receipts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin-bottom: 16px; }
.receipt { margin: 0; display: grid; gap: 6px; }
.receipt img, .receipt .pdf { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.receipt .pdf { display: grid; place-items: center; background: var(--horn-hell); font-weight: 700; color: var(--gruen); }

/* Fuß */
.foot { text-align: center; color: var(--grau); font-size: 12px; padding: 16px; }

/* App-Ansicht: Leiste unten, kein Fuß */
.is-app .foot { display: none; }
.is-app .wrap { padding-bottom: 96px; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: space-around;
  background: var(--nacht); border-top: 3px solid var(--gold); padding: 6px 4px max(6px, env(safe-area-inset-bottom));
}
.tabbar a { flex: 1; display: grid; justify-items: center; gap: 2px; color: rgba(236, 227, 200, .7); text-decoration: none; font-size: 11px; padding: 4px 0; }
.tabbar a.active { color: var(--horn); }
.tabbar a.active svg { color: var(--gold); }
.tabbar svg { width: 24px; height: 24px; }

/* Wiki-Inhalte (Markdown) */
.md { line-height: 1.65; }
.md h1, .md h2, .md h3 { color: var(--gruen); margin: 1.2em 0 .4em; line-height: 1.25; }
.md h1 { font-size: 24px; } .md h2 { font-size: 20px; } .md h3 { font-size: 17px; }
.md > :first-child { margin-top: 0; }
.md ul, .md ol { padding-left: 1.3em; }
.md li { margin: .2em 0; }
.md li.todo { list-style: none; margin-left: -1.2em; }
.md table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 15px; }
.md th { background: var(--gruen); color: var(--horn); text-align: left; padding: 8px; }
.md td { border-bottom: 1px solid var(--line); padding: 8px; }
.md blockquote { margin: 1em 0; padding: 10px 14px; background: var(--horn-hell); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; }
.md code { background: var(--horn-hell); padding: 1px 5px; border-radius: 4px; }
.md a { font-weight: 500; }
textarea.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.5; }
.searchbar { display: flex; gap: 8px; margin-bottom: 16px; }

/* Veranstaltungen */
.event-tile .kicker { font-size: 11px; }
.badge.ok { color: var(--gruen); }
.card.narrow.wide { max-width: 680px; }
.inline.wrap-gap { flex-wrap: wrap; }
input.copy { margin-top: 6px; font-size: 13px; }
.consent { align-items: flex-start; font-size: 13px; line-height: 1.45; }
.consent input { margin-top: 2px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Abrechnung */
.tile-link { color: inherit; text-decoration: none; display: block; }
.tile-link:hover { border-color: var(--gold); }
input.num { width: 7.5em; text-align: right; padding: 6px 8px; }
.hidden-form { display: none; }
.calc td { padding-top: 6px; padding-bottom: 6px; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 600px) { input.num { width: 5.2em; } input.num[type=number] { width: 3.6em; } }
.amount.warn { color: var(--gold-text); }

/* Wildkameras */
.cam-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; -webkit-overflow-scrolling: touch; }
.cam-chip { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink); background: #fff; min-width: 150px; }
.cam-chip span { font-size: 12px; color: var(--grau); }
.cam-chip.on { border-color: var(--gold); background: var(--horn-hell); }
.cam-chip.warn strong { color: var(--signal); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 16px; }
.small-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.shot { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--nacht); color: #fff; text-decoration: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot .video { display: flex; align-items: center; justify-content: center; height: 100%; font-weight: 700; color: var(--horn); }
.shot-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.shot-tag { position: absolute; top: 6px; left: 6px; background: var(--gold); color: var(--nacht); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.shot.person { outline: 3px solid var(--signal); }
.shot.pick input { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; z-index: 1; }
.shot-big { margin: 0 0 16px; text-align: center; }
.shot-big img { max-width: 100%; max-height: 75vh; border-radius: var(--r); background: var(--nacht); }
.wild-pick { display: flex; flex-wrap: wrap; gap: 6px 14px; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

/* Lockup quer dunkel im Header (CI: am Bildschirm mind. 160 px breit) */
.brand-lockup { height: 56px; width: auto; display: block; }
@media (max-width: 380px) { .brand-lockup { height: 50px; } }

/* Strecke & Abschussplan */
.plan-rows { display: grid; gap: 14px; margin: 10px 0; }
.plan-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) 2fr minmax(150px, 1fr); gap: 14px; align-items: center; }
.plan-label { display: flex; flex-direction: column; }
.plan-nums { display: flex; flex-direction: column; }
svg.bar { width: 100%; height: 18px; display: block; }
svg.bar .track { fill: var(--horn-hell); }
svg.bar .fill.ok { fill: var(--gruen); }
svg.bar .fill.low { fill: var(--gold); }
svg.bar .mark { fill: var(--ink); }
.months { display: flex; gap: 8px; align-items: flex-end; height: 150px; }
.month { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; height: 100%; justify-content: flex-end; }
svg.mbar { width: 100%; max-width: 34px; flex: 1; }
svg.mbar rect { fill: var(--moos); }
@media (max-width: 700px) { .plan-row { grid-template-columns: 1fr; gap: 4px; } }
.hornbox svg.bar .track { fill: #fff; }

/* Revierkarte */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.karte-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.karte-kopf .kicker { margin: 0; }
.karte-status { font-size: 13px; color: var(--moos); }
.karte { height: calc(100vh - 260px); min-height: 420px; border-radius: var(--r); border: 1px solid var(--line); background: #dfe6d6; z-index: 0; }
.is-app .karte { height: calc(100vh - 290px); }
@media (max-width: 600px) { .karte-leiste .btn { padding: 8px 10px; font-size: 13px; } }
.karte-leiste { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.einr { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gruen); color: var(--horn); border: 2px solid var(--horn);
  font: 700 12px/1 "Poppins", Arial, sans-serif; box-shadow: 0 1px 4px rgba(0,0,0,.4); position: relative; }
.einr-kirrung, .einr-salzlecke, .einr-falle, .einr-sonstiges { background: var(--moos); border-radius: 6px; }
.einr-wildkamera { background: var(--nacht); }
.einr.z-maengel { border-color: var(--gold); }
.einr.z-gesperrt { background: #777; border-color: var(--signal); }
.einr.achtung::after { content: "!"; position: absolute; top: -6px; right: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); color: var(--nacht); font-size: 10px; line-height: 14px; text-align: center; }
.einr.reserviert { outline: 2px dashed var(--gold); outline-offset: 2px; }
.einr.besetzt { background: var(--signal); }
.einr b { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); background: var(--signal); color: #fff; font-size: 10px; padding: 1px 4px; border-radius: 4px; white-space: nowrap; }
.live { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--signal); color: #fff; border: 3px solid #fff;
  font: 700 12px/1 "Poppins", Arial, sans-serif; box-shadow: 0 0 0 3px rgba(232,89,12,.35); }
.live.ich { background: #1a73e8; box-shadow: 0 0 0 3px rgba(26,115,232,.35); }
.leaflet-container path.grenze { stroke: var(--gold); fill: none; }
.leaflet-container path.grenze-revierteil { fill: var(--gold); fill-opacity: .08; }
.leaflet-container path.grenze-sperrzone { stroke: var(--signal); fill: var(--signal); fill-opacity: .25; }
.leaflet-container path.grenze-neu { stroke: #1a73e8; }
.leaflet-container path.schussfeld { stroke: #fff; fill: #fff; }
.leaflet-container path.schussfeld.besetzt { stroke: var(--signal); fill: var(--signal); }
.leaflet-container path.genauigkeit { stroke: #1a73e8; fill: #1a73e8; fill-opacity: .12; }
.karte-popup { font: 13px/1.45 "Poppins", Arial, sans-serif; min-width: 190px; }
.karte-popup .kicker { margin: 0 0 2px; font-size: 10px; }
.popup-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.popup-knoepfe .btn { color: inherit; }
.popup-knoepfe .btn:not(.btn-ghost) { color: var(--horn); }

/* App-Modus: Vollbild, kein Webseiten-Gefühl */
.is-app { overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
.is-app .top { padding-top: max(6px, env(safe-area-inset-top)); padding-bottom: 6px; position: sticky; top: 0; z-index: 1000; }
.is-app .brand-lockup { height: 42px; }
.is-app .tabbar a, .is-app .btn, .is-app .subnav a { -webkit-user-select: none; user-select: none; }
.is-app .wrap { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
/* Karte im App-Modus: füllt den ganzen Bildschirm zwischen Kopf und Tab-Leiste, Knöpfe schweben über der Karte */
.is-app.seite-karte .karte-kopf, .is-app.seite-karte .wrap > .muted.small { display: none; }
.is-app.seite-karte .karte-app { position: fixed; left: 0; right: 0; top: calc(58px + env(safe-area-inset-top)); bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 1; }
.is-app.seite-karte .karte { height: 100%; min-height: 0; border-radius: 0; border: 0; }
.is-app.seite-karte .karte-leiste { position: absolute; z-index: 500; left: 56px; right: 56px; top: 8px; margin: 0; justify-content: center; }
.is-app.seite-karte .karte-leiste .btn { background: rgba(255,255,255,.94); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.is-app.seite-karte .karte-leiste .btn:not(.btn-ghost) { background: var(--gruen); color: var(--horn); }
.is-app.seite-karte .flash { position: fixed; z-index: 1100; left: 12px; right: 12px; top: calc(66px + env(safe-area-inset-top)); }

/* Wind */
.karte-app { position: relative; }
.wind { position: absolute; z-index: 500; right: 10px; bottom: 26px; background: rgba(22,35,26,.88); color: var(--horn); border-radius: 12px; padding: 8px 10px;
  font-size: 12px; line-height: 1.3; max-width: 230px; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.wind-jetzt { display: flex; gap: 8px; align-items: center; }
.wind-jetzt strong { display: block; font-size: 14px; color: #fff; }
.wind-pfeil { width: 34px; height: 34px; flex: 0 0 34px; }
.wind-pfeil path { fill: var(--gold); }
.wind-stunden { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.wind-stunden span { display: grid; text-align: center; min-width: 32px; font-size: 11px; }
.wind-stunden b { font-weight: 500; color: rgba(236,227,200,.7); }
.wind-sonne { margin-top: 4px; color: rgba(236,227,200,.85); }
.einr.wind-guenstig { box-shadow: 0 0 0 3px #3fa34d; }
.einr.wind-unguenstig { box-shadow: 0 0 0 3px var(--signal); }
.wind-text-guenstig { color: #2e7d32; }
.wind-text-unguenstig { color: var(--signal); }
.is-app.seite-karte .wind { bottom: 12px; }

/* Revierkalender */
.kal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.kal-wt { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--gold-text); text-align: center; padding: 4px 0; }
.kal-tag { min-height: 92px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kal-tag.fremd { background: var(--horn-hell); opacity: .7; }
.kal-tag.heute { border: 2px solid var(--gold); }
.kal-nr { font-size: 12px; font-weight: 700; color: var(--grau); }
.kal-e { display: block; font-size: 11px; line-height: 1.3; border-radius: 5px; padding: 2px 5px; text-decoration: none; color: #fff; overflow: hidden; }
.kal-e summary { cursor: pointer; list-style: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kal-e[open] { position: relative; z-index: 5; white-space: normal; background: #fff; color: var(--ink); border: 1px solid var(--gruen); padding: 6px; min-width: 220px; }
.kal-e[open] summary { white-space: normal; font-weight: 700; }
.kal-aufgabe { background: var(--gruen); }
.kal-veranstaltung { background: var(--gold); color: var(--nacht); white-space: nowrap; text-overflow: ellipsis; }
.kal-einrichtung { background: var(--moos); white-space: nowrap; text-overflow: ellipsis; }
.kal-e.mein { font-weight: 700; box-shadow: inset 3px 0 0 var(--gold); }
.kal-e.erledigt { opacity: .55; text-decoration: line-through; }
.kal-e.ueberfaellig { background: var(--signal); }
.kal-auf.ueberfaellig strong { color: var(--signal); }
@media (max-width: 700px) { .kal-tag { min-height: 64px; padding: 2px; } .kal-e { font-size: 10px; padding: 1px 3px; } .kal-wt { font-size: 10px; } }
