/* Gemeinsames Aussehen für Webseite, Mitgliederbereich, Bericht und Verwaltung.
   Bewusst ohne fremde Schriften oder Dienste: nichts wird von außen nachgeladen. */
:root {
  --gruen: #1d5b48;
  --gruen-dunkel: #113a2f;
  --gruen-tief: #0b2a22;
  --gruen-hell: #e3efe9;
  --gruen-zart: #f1f7f4;
  --creme: #f7f3ea;
  --papier: #fffdf9;
  --tinte: #18221e;
  --grau: #5a6761;
  --grau-hell: #8b968f;
  --linie: #e6dfd0;
  --linie-zart: #f0eadd;
  --akzent: #e5a92c;
  --akzent-dunkel: #c98f15;
  --akzent-hell: #fdf3d9;
  --rot: #b23b2a;
  --rot-hell: #fbeae6;
  --plus: #1a7a4d;
  --radius: 18px;
  --radius-klein: 12px;
  --schatten-klein: 0 1px 2px rgba(24, 34, 30, .05), 0 2px 6px rgba(24, 34, 30, .04);
  --schatten: 0 1px 2px rgba(24, 34, 30, .05), 0 10px 30px -8px rgba(24, 34, 30, .12);
  --schatten-gross: 0 2px 4px rgba(24, 34, 30, .06), 0 28px 60px -18px rgba(17, 58, 47, .3);
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --weich: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); color: var(--tinte); background: var(--creme); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--gruen); text-underline-offset: .18em; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 420px) { h1 { font-size: 2rem; } }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--akzent); color: #241a00; }
.zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }
.plus { color: var(--plus); }
.minus { color: var(--rot); }
.leise { color: var(--grau); }
.klein { font-size: .88rem; }
[hidden] { display: none !important; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.24em; }

.breite { width: min(1140px, 100% - 44px); margin-inline: auto; }

/* ---------- Knöpfe und Formulare ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 650; line-height: 1.2; padding: .82em 1.4em; border-radius: 999px; border: 1.5px solid var(--gruen); background: var(--gruen); color: #fff; text-decoration: none; cursor: pointer; transition: transform .18s var(--weich), background .15s, box-shadow .18s, border-color .15s; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 14px -6px rgba(17, 58, 47, .55); -webkit-tap-highlight-color: transparent; }
.knopf { background-image: linear-gradient(180deg, #24695400, #24695400), linear-gradient(180deg, #246954, var(--gruen)); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 8px 18px -10px rgba(17, 58, 47, .7); }
.knopf:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(17, 58, 47, .8); }
.knopf:active { transform: translateY(0) scale(.98); }
.knopf.hell { background: #fff; background-image: none; color: var(--gruen); box-shadow: var(--schatten-klein); border-color: rgba(29, 91, 72, .28); }
.knopf.hell:hover { background: var(--gruen-hell); border-color: var(--gruen); }
.knopf.gold { background: var(--akzent); background-image: linear-gradient(180deg, #f0bb45, var(--akzent)); border-color: var(--akzent); color: #2b1f00; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 18px -8px rgba(201, 143, 21, .8); }
.knopf.gold:hover { background: var(--akzent-dunkel); background-image: none; border-color: var(--akzent-dunkel); }
.knopf.rot { background: transparent; background-image: none; border-color: rgba(178, 59, 42, .4); color: var(--rot); box-shadow: none; }
.knopf.rot:hover { background: var(--rot-hell); border-color: var(--rot); }
.knopf.voll-rot { background: var(--rot); background-image: none; border-color: var(--rot); color: #fff; }
.knopf.schmal { padding: .5em 1em; font-size: .92rem; }
.knopf.breit { width: 100%; }
.knopf:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.rund { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 0; background: transparent; color: var(--grau); cursor: pointer; font: inherit; transition: background .15s, color .15s; }
.rund:hover { background: var(--linie-zart); color: var(--tinte); }
.rund.rot:hover { background: var(--rot-hell); color: var(--rot); }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .95em; color: #2c3833; }
input, select, textarea { display: block; width: 100%; margin-top: .35em; font: inherit; font-weight: 400; padding: .7em .85em; border: 1.5px solid var(--linie); border-radius: var(--radius-klein); background: #fff; color: var(--tinte); transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: #d3c9b4; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gruen); box-shadow: 0 0 0 4px rgba(29, 91, 72, .12); background: #fff; }
.knopf:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(229, 169, 44, .75); outline-offset: 2px; }
input[type=checkbox] { display: inline; width: 1.1em; height: 1.1em; margin: 0 .5em 0 0; accent-color: var(--gruen); vertical-align: -.15em; }
::placeholder { color: #a9b1ab; }
.meldung { padding: .8em 1.1em; border-radius: var(--radius-klein); background: var(--rot-hell); color: #7a2314; margin-bottom: 1em; font-size: .95rem; box-shadow: inset 4px 0 0 var(--rot); }
.meldung.gut { background: var(--gruen-hell); color: var(--gruen-dunkel); box-shadow: inset 4px 0 0 var(--plus); }
.meldung.hinweis { background: var(--akzent-hell); color: #5c4200; box-shadow: inset 4px 0 0 var(--akzent); }
.feldmit { position: relative; }
.feldmit input { padding-right: 3rem; }
.feldmit .rund { position: absolute; right: .25rem; bottom: .22rem; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(247, 243, 234, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.kopf.fest, .kopf.immer { border-bottom-color: var(--linie); box-shadow: 0 6px 20px -16px rgba(24, 34, 30, .5); }
.kopf .breite { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.marke { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-weight: 700; font-size: 1.38rem; letter-spacing: -.01em; color: var(--tinte); text-decoration: none; white-space: nowrap; }
.marke img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--schatten-klein); }
.kopf nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.kopf nav a { white-space: nowrap; }
.kopf nav a:not(.knopf) { color: #33403b; text-decoration: none; font-weight: 560; font-size: .96rem; transition: color .15s; }
.kopf nav a:not(.knopf):hover { color: var(--gruen); }
@media (max-width: 860px) { .kopf nav a.weg { display: none; } .kopf nav { gap: .9rem; } }
@media (max-width: 480px) { .kopf .breite { gap: .6rem; width: calc(100% - 28px); height: 60px; } .marke { font-size: 1.12rem; gap: .4rem; } .marke img { width: 28px; height: 28px; } .kopf nav { gap: .65rem; } .kopf nav a:not(.knopf) { font-size: .9rem; } .kopf .knopf.schmal { padding: .45em .8em; font-size: .86rem; } }

/* ---------- Startseite ---------- */
body > main { overflow-x: hidden; overflow-x: clip; }
.held { position: relative; padding: clamp(2.2rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.held::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: min(760px, 90vw); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(229, 169, 44, .2), transparent 70%); pointer-events: none; }
.held::after { content: ""; position: absolute; inset: auto auto -35% -15%; width: min(680px, 90vw); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(29, 91, 72, .13), transparent 70%); pointer-events: none; }
.held .breite { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.vorzeile { display: inline-flex; align-items: center; gap: .5em; max-width: 100%; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gruen); background: var(--gruen-hell); padding: .42em 1em; border-radius: 999px; margin-bottom: 1.3rem; }
.vorzeile::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--akzent); box-shadow: 0 0 0 4px rgba(229, 169, 44, .25); flex: none; }
.held p.gross { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #37433e; max-width: 33em; }
.held .knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.3rem; }
.held .knoepfe .knopf { padding: .95em 1.6em; font-size: 1.04rem; }
.haken { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; font-size: .93rem; color: var(--grau); }
.haken li { display: flex; align-items: baseline; gap: .45em; }
.haken li::before { content: ""; flex: none; width: .95em; height: .95em; transform: translateY(.12em); border-radius: 50%; background: var(--plus) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.haken.spalte-liste { flex-direction: column; font-size: 1rem; color: var(--tinte); gap: .6rem; }
@media (max-width: 920px) { .held .breite { grid-template-columns: 1fr; } .held .buehne { margin-top: 1rem; } }
@media (max-width: 480px) { .vorzeile { font-size: .68rem; letter-spacing: .06em; padding: .4em .9em; } .held p.gross { font-size: 1.02rem; } }

/* Handy-Attrappe */
.buehne { position: relative; display: grid; place-items: center; }
.handy { position: relative; width: min(300px, 78vw); background: #101a16; border-radius: 44px; padding: 11px; box-shadow: var(--schatten-gross), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.handy::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; border-radius: 999px; background: #101a16; z-index: 3; }
.handy .schirm { position: relative; background: var(--papier); border-radius: 34px; overflow: hidden; font-size: 13px; line-height: 1.4; aspect-ratio: 9 / 18.2; }
.schirmbild { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translateX(14px) scale(.985); transition: opacity .45s var(--weich), transform .45s var(--weich); pointer-events: none; }
.schirmbild.da { opacity: 1; transform: none; }
.handy .leiste { background: linear-gradient(160deg, #23705a, var(--gruen-dunkel)); color: #fff; padding: 46px 18px 16px; }
.handy .leiste small { opacity: .8; display: block; font-size: .85em; }
.handy .leiste b { font-size: 2em; font-family: var(--serif); letter-spacing: -.01em; }
.handy .inhalt { padding: 13px; flex: 1; display: flex; flex-direction: column; }
.handy .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.handy .zwei span { display: flex; align-items: center; justify-content: center; gap: .3em; padding: 11px 6px; border-radius: 13px; font-weight: 700; color: #fff; }
.handy .zeile { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 2px; border-bottom: 1px solid var(--linie-zart); }
.handy .zeile small { display: block; color: var(--grau); font-size: .85em; }
.handy .titel { padding: 46px 16px 4px; font-weight: 700; font-size: 1.15em; display: flex; justify-content: space-between; }
.handy .titel span { color: var(--gruen); font-weight: 600; font-size: .9em; }
.handy .sucher { margin: 10px 14px; flex: 1; border-radius: 16px; background: linear-gradient(145deg, #2c3531, #171d1a); display: grid; place-items: center; position: relative; }
.handy .zettel { width: 52%; background: #fff; border-radius: 3px; padding: 12px 10px 16px; font-size: .72em; color: #555; transform: rotate(-3deg); box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.handy .zettel b { display: block; text-align: center; color: #222; margin-bottom: 6px; letter-spacing: .08em; }
.handy .zettel i { display: flex; justify-content: space-between; font-style: normal; border-bottom: 1px dotted #ccc; padding: 2px 0; }
.handy .zettel i:last-child { border: 0; font-weight: 700; color: #222; margin-top: 4px; }
.handy .ecken { position: absolute; inset: 9%; border: 2px solid rgba(255, 255, 255, .8); border-radius: 12px; -webkit-mask: conic-gradient(#000 0 0) center / calc(100% - 44px) 100% no-repeat, conic-gradient(#000 0 0) center / 100% calc(100% - 44px) no-repeat; -webkit-mask-composite: xor; mask: conic-gradient(#000 0 0) center / calc(100% - 44px) 100% no-repeat, conic-gradient(#000 0 0) center / 100% calc(100% - 44px) no-repeat; mask-composite: exclude; }
.handy .ausloeser { margin: 4px auto 16px; width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 4px solid var(--linie); box-shadow: 0 0 0 3px var(--tinte); }
.handy .betragfeld { margin: 8px 14px; text-align: center; font-size: 2.3em; font-weight: 700; padding: 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--linie); color: var(--rot); font-variant-numeric: tabular-nums; }
.handy .chipreihe { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px; }
.handy .chipreihe span { padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--linie); background: #fff; font-weight: 600; font-size: .9em; }
.handy .chipreihe span.an { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.handy .belegda { margin: 8px 14px; padding: 9px 12px; border-radius: 12px; background: var(--gruen-hell); color: var(--gruen-dunkel); font-weight: 650; display: flex; align-items: center; gap: .5em; }
.handy .unterknopf { margin: auto 14px 16px; padding: 13px; text-align: center; border-radius: 14px; background: var(--gruen); color: #fff; font-weight: 700; }
.handy .unterknopf.gold { background: var(--akzent); color: #2b1f00; }
.handy .miniblatt { margin: 10px 14px; background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 12px; font-size: .92em; box-shadow: var(--schatten-klein); }
.handy .miniblatt h5 { font-family: var(--serif); font-size: 1.25em; margin: 0 0 6px; }
.handy .miniblatt div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid var(--linie-zart); }
.handy .miniblatt div:last-child { border: 0; font-weight: 700; border-top: 1.5px solid var(--tinte); margin-top: 2px; }
.schwebe { position: absolute; z-index: 4; display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid var(--linie); border-radius: 16px; padding: .7rem .95rem; box-shadow: var(--schatten); font-size: .88rem; line-height: 1.3; animation: schweben 6s ease-in-out infinite; }
.schwebe b { display: block; }
.schwebe small { color: var(--grau); }
.schwebe .punkt { width: 2.2rem; height: 2.2rem; border-radius: 12px; display: grid; place-items: center; background: var(--gruen-hell); color: var(--gruen); flex: none; }
.schwebe.eins { top: -14px; left: max(-4px, 50% - 150px - 96px); }
.schwebe.zwei { bottom: -14px; right: max(-4px, 50% - 150px - 96px); animation-delay: -3s; }
.schwebe.zwei .punkt { background: var(--akzent-hell); color: #8a6100; }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 920px) { .buehne { padding: 1.1rem 0 1.3rem; } .schwebe.eins { top: 0; } .schwebe.zwei { bottom: 0; } }
@media (max-width: 520px) { .schwebe { font-size: .78rem; padding: .5rem .7rem; gap: .55rem; } .schwebe .punkt { width: 1.9rem; height: 1.9rem; border-radius: 10px; } .schwebe.eins { left: 0; } .schwebe.zwei { right: 0; } }

.vereinsband { border-block: 1px solid var(--linie); background: var(--papier); padding: 1.1rem 0; }
.vereinsband .breite { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.6rem; color: var(--grau); font-size: .95rem; }
.vereinsband span { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: #37433e; }
.vereinsband .i { color: var(--gruen); }

section { padding: clamp(3.2rem, 7.5vw, 6rem) 0; }
section.weiss { background: var(--papier); border-block: 1px solid var(--linie); }
section.dunkel { position: relative; background: var(--gruen-dunkel); color: #e9f1ed; overflow: hidden; }
section.dunkel::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(229, 169, 44, .14), transparent 70%); }
section.dunkel > * { position: relative; }
section.dunkel h2 { color: #fff; }
.abschnittskopf { max-width: 44rem; margin-bottom: 2.6rem; }
.abschnittskopf.mitte { margin-inline: auto; text-align: center; }
.abschnittskopf p { font-size: 1.12rem; color: var(--grau); }
section.dunkel .abschnittskopf p { color: #b4c9bf; }
.ueber { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--akzent-dunkel); margin-bottom: .8rem; }
section.dunkel .ueber { color: var(--akzent); }
.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 880px) { .raster { grid-template-columns: 1fr; } }
.karte { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--schatten-klein); transition: transform .25s var(--weich), box-shadow .25s; }
section.weiss .karte { background: #fff; }
.raster > .karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.karte p:last-child { margin-bottom: 0; }
.karte p { color: #3b4742; }
.bildzeichen { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--rot-hell); color: var(--rot); margin-bottom: 1.1rem; font-size: 1.2rem; }
.bildzeichen.gruen { background: var(--gruen-hell); color: var(--gruen); }
.bildzeichen.gold { background: var(--akzent-hell); color: #8a6100; }
section.dunkel .karte { background: rgba(255, 255, 255, .055); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
section.dunkel .karte p { color: #c9d8d1; }
section.dunkel .karte h3 { color: #fff; }
section.dunkel .bildzeichen { background: rgba(229, 169, 44, .16); color: var(--akzent); }

.vergleich { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 1.3rem; }
@media (max-width: 760px) { .vergleich { grid-template-columns: 1fr; } }
.vergleich .karte { padding: 1.8rem; }
.vergleich .nachher { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #e9f1ed; box-shadow: var(--schatten); }
.vergleich .nachher h3 { color: #fff; }
.vergleich ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.vergleich li { display: flex; gap: .7rem; align-items: flex-start; }
.vergleich li .i { margin-top: .15em; color: var(--rot); }
.vergleich .nachher li .i { color: var(--akzent); }

.ablauf { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 880px) { .ablauf { grid-template-columns: 1fr; } }
.schrittliste { display: grid; gap: .8rem; counter-reset: schritt; }
.schritt { all: unset; box-sizing: border-box; counter-increment: schritt; display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; padding: 1.25rem 1.3rem; border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer; transition: background .25s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.schritt::before { content: counter(schritt); grid-row: span 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--linie-zart); color: var(--grau); font-weight: 800; font-family: var(--serif); font-size: 1.2rem; transition: background .25s, color .25s; }
.schritt h3 { margin: .1em 0 .2em; }
.schritt p { margin: 0; color: var(--grau); grid-column: 2; }
.schritt:hover { background: rgba(255, 255, 255, .6); }
.schritt:focus-visible { outline: 3px solid rgba(229, 169, 44, .75); }
.schritt.an { background: #fff; border-color: var(--linie); box-shadow: var(--schatten); }
.schritt.an::before { background: var(--akzent); color: #2b1f00; }
.schritt.an::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--akzent); animation: fortschritt var(--dauer, 4.5s) linear forwards; }
.schrittliste.steht .schritt.an::after { animation: none; width: 100%; }
@keyframes fortschritt { from { width: 0; } to { width: 100%; } }

.berichtsbild { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .berichtsbild { grid-template-columns: 1fr; } }
.blattstapel { position: relative; padding: 1rem 0 1rem 1rem; }
.blattstapel::before { content: ""; position: absolute; inset: 2rem 1.2rem 0 0; background: #fff; border: 1px solid var(--linie); border-radius: 6px; rotate: 2.5deg; box-shadow: var(--schatten-klein); }
.blatt { position: relative; background: #fff; border: 1px solid var(--linie); box-shadow: var(--schatten); padding: 1.8rem 1.9rem; font-size: .9rem; border-radius: 6px; rotate: -1.2deg; }
.blatt h4 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 .1em; }
.blatt table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.blatt td { padding: .36em 0; border-bottom: 1px solid var(--linie-zart); }
.blatt td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.blatt tr.summe td { font-weight: 700; border-bottom: 2px solid var(--tinte); border-top: 1.5px solid var(--tinte); }
.blatt .unterschriften { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; font-size: .75rem; color: var(--grau); }
.blatt .unterschriften span { border-top: 1px solid var(--tinte); padding-top: .3em; }
.blatt .stempel { position: absolute; right: 1.4rem; top: 1.3rem; display: inline-flex; align-items: center; gap: .35em; border: 2px solid var(--plus); color: var(--plus); border-radius: 8px; padding: .2em .6em; font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; rotate: 6deg; }

.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.preise.zwei-tarife { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
.zeitraumwahl { display: flex; justify-content: center; gap: 4px; background: var(--linie-zart); padding: 4px; border-radius: 999px; width: max-content; max-width: 100%; margin: -.8rem auto 2rem; }
.zeitraumwahl button { all: unset; box-sizing: border-box; cursor: pointer; padding: .55em 1.2em; border-radius: 999px; font-weight: 650; color: var(--grau); display: inline-flex; align-items: center; gap: .5em; transition: background .2s, color .2s; }
.zeitraumwahl button.an { background: #fff; color: var(--tinte); box-shadow: var(--schatten-klein); }
.zeitraumwahl .spar { font-size: .72rem; font-weight: 700; padding: .15em .6em; border-radius: 999px; background: var(--akzent-hell); color: #6b4d00; }
.zeitraumwahl button:focus-visible { outline: 3px solid rgba(229, 169, 44, .75); }
@media (max-width: 880px) { .preise, .preise.zwei-tarife { grid-template-columns: 1fr; } }
.preis { display: flex; flex-direction: column; position: relative; padding: 2rem 1.7rem 1.7rem; }
.preis.beliebt { border: 2px solid var(--gruen); box-shadow: var(--schatten); background: #fff; }
@media (min-width: 881px) { section .preise > .preis.beliebt { transform: translateY(-10px); } section .preise > .preis.beliebt:hover { transform: translateY(-13px); } }
.preis .fahne { position: absolute; top: -13px; left: 1.6rem; background: var(--gruen); color: #fff; font-size: .78rem; font-weight: 700; padding: .25em .9em; border-radius: 999px; }
.preis .betrag { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; line-height: 1; margin: .5rem 0 .4rem; letter-spacing: -.02em; }
.preis .betrag small { font-family: var(--schrift); font-size: .95rem; font-weight: 500; color: var(--grau); letter-spacing: 0; }
.preis ul { list-style: none; padding: 1.1rem 0 0; margin: 1.1rem 0 1.6rem; flex: 1; border-top: 1px solid var(--linie); }
.preis li { padding: .36em 0 .36em 1.8em; position: relative; }
.preis li::before { content: ""; position: absolute; left: 0; top: .62em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--gruen-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5b48' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 66% no-repeat; }
.preishinweis { text-align: center; color: var(--grau); margin-top: 1.8rem; font-size: .95rem; }

details { background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 0 1.3rem; margin-bottom: .7rem; transition: box-shadow .2s, border-color .2s; }
details[open] { box-shadow: var(--schatten-klein); border-color: #d9d0bc; }
summary { font-weight: 650; cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: .2rem; top: 50%; width: .6rem; height: .6rem; border-right: 2px solid var(--gruen); border-bottom: 2px solid var(--gruen); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--weich); }
details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
details p { margin: 0 0 1.1rem; color: #3c4843; }
.schluss { text-align: center; }
.schlusskarte { position: relative; overflow: hidden; background: var(--gruen-dunkel); color: #e9f1ed; border-radius: 28px; padding: clamp(2.4rem, 6vw, 4.5rem) 1.5rem; box-shadow: var(--schatten-gross); }
.schlusskarte::before { content: ""; position: absolute; inset: auto -10% -70% auto; width: 620px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(229, 169, 44, .22), transparent 70%); }
.schlusskarte > * { position: relative; }
.schlusskarte h2 { color: #fff; }
.schlusskarte p { max-width: 36rem; margin: 0 auto 1.6rem; color: #b9cdc4; font-size: 1.1rem; }
footer { background: var(--gruen-tief); color: #9db3a9; padding: 2.4rem 0; font-size: .92rem; }
footer .breite { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
footer a { color: #dce8e2; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .marke { color: #fff; font-size: 1.15rem; }
.klebeleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255, 253, 249, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--linie); display: none; transform: translateY(110%); transition: transform .35s var(--weich); }
.klebeleiste.da { transform: none; }
@media (max-width: 700px) { .klebeleiste { display: block; } }

/* sanftes Einblenden beim Scrollen (nur wenn Skripte laufen und Bewegung erwünscht ist) */
@media (prefers-reduced-motion: no-preference) {
  .js .zeig { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--weich), transform .7s var(--weich); transition-delay: var(--warte, 0s); }
  .js .zeig.sichtbar { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Anmelden, Registrieren, Textseiten ---------- */
.spalte { width: min(480px, 100% - 40px); margin: clamp(2rem, 6vw, 4rem) auto; }
.spalte.text { width: min(760px, 100% - 40px); }
.spalte h1 { font-size: 2.1rem; }
.zugang { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.zugang .seite-links { position: relative; overflow: hidden; background: var(--gruen-dunkel); color: #dfeae5; padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; }
.zugang .seite-links::before { content: ""; position: absolute; inset: auto -30% -30% auto; width: 620px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(229, 169, 44, .2), transparent 70%); }
.zugang .seite-links > * { position: relative; }
.zugang .seite-links .marke { color: #fff; }
.zugang .seite-links h2 { color: #fff; margin-top: auto; padding-top: 3rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.zugang .seite-links ul { list-style: none; padding: 0; margin: 1.5rem 0 auto; display: grid; gap: 1.1rem; }
.zugang .seite-links li { display: flex; gap: .9rem; align-items: flex-start; }
.zugang .seite-links li .i { color: var(--akzent); margin-top: .15em; font-size: 1.15rem; }
.zugang .seite-links li b { color: #fff; display: block; }
.zugang .seite-rechts { display: grid; place-items: center; padding: clamp(1.5rem, 5vw, 3.5rem) 1.3rem; }
.zugang .seite-rechts > div { width: min(440px, 100%); }
.zugang h1 { font-size: 2.2rem; }
.zugang .nur-schmal { display: none; }
@media (max-width: 860px) { .zugang { grid-template-columns: 1fr; } .zugang .seite-links { display: none; } .zugang .nur-schmal { display: flex; margin-bottom: 2rem; } .zugang .seite-rechts { place-items: start center; } }
.typwahl { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: .35em 0 1em; }
.typwahl label { margin: 0; }
.typwahl input { position: absolute; opacity: 0; width: 0; height: 0; }
.typwahl span { display: grid; justify-items: center; gap: .35rem; text-align: center; padding: .8rem .2rem; border: 1.5px solid var(--linie); border-radius: var(--radius-klein); background: #fff; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--grau); transition: border-color .15s, background .15s, color .15s; }
.typwahl span .i { font-size: 1.3rem; }
.typwahl span:hover { border-color: #d3c9b4; }
.typwahl input:checked + span { border-color: var(--gruen); background: var(--gruen-zart); color: var(--gruen-dunkel); box-shadow: 0 0 0 3px rgba(29, 91, 72, .12); }
.typwahl input:focus-visible + span { outline: 3px solid rgba(229, 169, 44, .75); outline-offset: 2px; }
.haftung { font-size: .78rem; line-height: 1.5; color: var(--grau-hell); margin: 1rem 0 0; max-width: 72ch; }
.haftung a { color: inherit; }
footer .haftung { width: 100%; }
.trennzeile { display: flex; align-items: center; gap: .8rem; color: var(--grau); font-size: .88rem; margin: 1.3rem 0 .9rem; }
.trennzeile::before, .trennzeile::after { content: ""; flex: 1; height: 1px; background: var(--linie); }
.staerke { height: 5px; border-radius: 999px; background: var(--linie-zart); margin: -.4rem 0 1rem; overflow: hidden; }
.staerke i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--rot); transition: width .25s, background .25s; }

/* ---------- Mitgliederbereich und Verwaltung ---------- */
.bereich { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.seitenleiste { background: linear-gradient(180deg, #13402f, #0d2e25); color: #c5d8cf; padding: 1.3rem .9rem; display: flex; flex-direction: column; gap: .15rem; position: sticky; top: 0; height: 100vh; }
.seitenleiste .marke { color: #fff; margin: 0 .5rem 1.4rem; font-size: 1.25rem; }
.seitenleiste button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: .75rem; padding: .66em .9em; border-radius: 11px; font-weight: 560; font-size: .97rem; transition: background .15s, color .15s; }
.seitenleiste button .i { font-size: 1.05rem; opacity: .85; }
.seitenleiste button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.seitenleiste button.aktiv { background: linear-gradient(90deg, rgba(229, 169, 44, .18), rgba(255, 255, 255, .08)); color: #fff; box-shadow: inset 3px 0 0 var(--akzent), 0 0 0 1px rgba(255, 255, 255, .05) inset; }
.seitenleiste button.aktiv .i { color: var(--akzent); opacity: 1; }
.seitenleiste button:focus-visible { outline: 3px solid rgba(229, 169, 44, .75); }
.seitenleiste .marker { margin-left: auto; min-width: 1.4rem; text-align: center; font-size: .72rem; font-weight: 700; padding: .1em .45em; border-radius: 999px; background: var(--akzent); color: #2b1f00; }
.seitenleiste .unten { margin-top: auto; font-size: .88rem; padding: .9rem .8rem; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); display: grid; gap: .5rem; }
.seitenleiste .unten a { color: #c5d8cf; text-decoration: none; display: flex; align-items: center; gap: .55rem; }
.seitenleiste .unten a:hover { color: #fff; }
.seitenleiste .wer { display: flex; align-items: center; gap: .65rem; color: #fff; font-weight: 600; margin-bottom: .3rem; min-width: 0; }
.seitenleiste .wer small { display: block; font-weight: 400; color: #a9c0b6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seitenleiste .wer > span:last-child { min-width: 0; }
.kuerzel { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--akzent); color: #2b1f00; font-weight: 800; font-size: .85rem; }
.hauptteil { padding: clamp(1.1rem, 3vw, 2.4rem) clamp(1rem, 3.4vw, 2.8rem) 4rem; min-width: 0; max-width: 1240px; width: 100%; }
.hauptteil header { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.hauptteil h1 { font-size: clamp(1.7rem, 3vw, 2.15rem); margin: 0; }
.hauptteil header p { margin: .2rem 0 0; color: var(--grau); }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.3rem; }
.kachel { background: #fff; border: 1px solid var(--linie-zart); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--schatten-klein); }
.kachel small { color: var(--grau-hell); display: flex; align-items: center; gap: .4em; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .2rem; }
.kachel b { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.015em; line-height: 1.15; }
.feld { background: #fff; border: 1px solid var(--linie-zart); border-radius: 20px; padding: 1.4rem 1.5rem; margin-bottom: 1.3rem; box-shadow: var(--schatten-klein); }
.feld h2 { font-size: 1.28rem; margin-bottom: .5rem; }
.feldkopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 1px solid var(--linie-zart); }
.feldkopf h2 { margin: 0; }
.textknopf { all: unset; cursor: pointer; color: var(--gruen); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .3em; }
.textknopf:hover { text-decoration: underline; }
.textknopf:focus-visible { outline: 3px solid rgba(229, 169, 44, .75); outline-offset: 2px; border-radius: 4px; }
.reihe { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; }
.reihe label { margin-bottom: 0; flex: 1 1 150px; }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.3rem; align-items: start; margin-bottom: 1.3rem; }
.zweispaltig > .feld { margin-bottom: 0; height: 100%; }
@media (max-width: 1080px) { .zweispaltig { grid-template-columns: 1fr; } }

.standkarte { position: relative; overflow: hidden; background: linear-gradient(150deg, #23705a, var(--gruen-dunkel) 70%); color: #fff; border-radius: 22px; padding: 1.6rem 1.7rem; margin-bottom: 1.3rem; box-shadow: var(--schatten), inset 0 1px 0 rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 1.2rem 2.5rem; align-items: flex-end; justify-content: space-between; }
.standkarte::before { content: ""; position: absolute; inset: -60% -8% auto auto; width: 420px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(229, 169, 44, .28), transparent 70%); }
.standkarte > * { position: relative; }
.standkarte small { opacity: .8; display: block; font-size: .9rem; }
.standkarte .gesamt { font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.standkarte .konten { display: flex; flex-wrap: wrap; gap: .6rem; }
.standkarte .konten span { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: .55rem .9rem; font-size: .88rem; }
.standkarte .konten b { display: block; font-size: 1.08rem; }

.diagramm { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(3px, 1vw, 10px); align-items: end; height: 190px; margin: 1rem 0 2rem; position: relative; border-bottom: 1px solid var(--linie); }
.diagramm .monat { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; border-radius: 6px 6px 0 0; cursor: default; }
.diagramm .monat:hover { background: var(--gruen-zart); }
.diagramm .balken { width: 42%; max-width: 16px; border-radius: 4px 4px 0 0; min-height: 0; transition: height .6s var(--weich); }
.diagramm .balken.ein { background: var(--plus); }
.diagramm .balken.aus { background: #d98b7d; }
.diagramm .monat span { position: absolute; bottom: -1.5rem; font-size: .72rem; color: var(--grau-hell); }
.diagramm .monat.jetzt span { color: var(--tinte); font-weight: 700; }
.diagramm .tipp { position: absolute; bottom: calc(100% - 8px); left: 50%; transform: translateX(-50%); background: var(--tinte); color: #fff; font-size: .78rem; padding: .45em .7em; border-radius: 8px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 3; line-height: 1.5; }
.diagramm .monat:nth-child(-n+2) .tipp { left: 0; transform: none; }
.diagramm .monat:nth-last-child(-n+2) .tipp { left: auto; right: 0; transform: none; }
.diagramm .monat:hover .tipp { opacity: 1; }
.legende { display: flex; gap: 1.2rem; font-size: .85rem; color: var(--grau); }
.legende i { display: inline-block; width: .7em; height: .7em; border-radius: 3px; margin-right: .4em; }
.rangliste { display: grid; gap: .85rem; margin-top: .9rem; }
.rangliste div { font-size: .92rem; }
.rangliste .oben { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .3rem; }
.rangliste .spur { height: 7px; border-radius: 999px; background: var(--linie-zart); overflow: hidden; }
.rangliste .spur i { display: block; height: 100%; border-radius: inherit; background: #d98b7d; transition: width .6s var(--weich); }

.einstieg { border: 1px solid #f0d58f; background: linear-gradient(180deg, #fffaf0, #fff); box-shadow: 0 12px 30px -18px rgba(201, 143, 21, .5); }
.einstieg .fortschrittsbalken { height: 6px; border-radius: 999px; background: var(--linie-zart); overflow: hidden; margin: .8rem 0 .4rem; }
.einstieg .fortschrittsbalken i { display: block; height: 100%; background: var(--akzent); border-radius: inherit; transition: width .5s var(--weich); }
.aufgabe { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem 1rem; align-items: center; padding: .85rem 0; border-top: 1px solid var(--linie-zart); }
.aufgabe .kreis { width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 2px solid var(--linie); display: grid; place-items: center; color: transparent; font-size: .8rem; }
.aufgabe.fertig .kreis { background: var(--plus); border-color: var(--plus); color: #fff; }
.aufgabe.fertig b { color: var(--grau); text-decoration: line-through; text-decoration-color: var(--grau-hell); font-weight: 500; }
.aufgabe small { display: block; color: var(--grau); }
.aufgabe.fertig small, .aufgabe.fertig .knopf { display: none; }

.filterchips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: .4em; padding: .42em .95em; border-radius: 999px; border: 1.5px solid var(--linie); background: #fff; font-size: .9rem; font-weight: 600; color: #3b4742; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.chip:hover { border-color: #cfc5ae; }
.chip.an { background: linear-gradient(180deg, #246954, var(--gruen)); border-color: var(--gruen); color: #fff; box-shadow: 0 6px 14px -8px rgba(17, 58, 47, .7); }
.chip:focus-visible { outline: 3px solid rgba(229, 169, 44, .75); outline-offset: 2px; }
.chip .anzahl { font-size: .78rem; opacity: .7; }
.suchfeld { position: relative; flex: 1 1 220px; }
.suchfeld .i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--grau-hell); pointer-events: none; }
.suchfeld input { margin: 0; padding-left: 2.6rem; border-radius: 999px; }
.werkzeugzeile { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-bottom: 1rem; }
.werkzeugzeile select { width: auto; margin: 0; border-radius: 999px; padding: .5em 2.2em .5em 1em; font-weight: 600; }

.tabelle-rahmen { overflow-x: auto; }
table.liste { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.liste th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grau-hell); font-weight: 700; padding: .55em .7em; border-bottom: 1px solid var(--linie); white-space: nowrap; }
table.liste td { padding: .72em .7em; border-bottom: 1px solid var(--linie-zart); vertical-align: middle; }
table.liste tr:last-child td { border-bottom: 0; }
table.liste td.r, table.liste th.r { text-align: right; }
table.liste tr.klick { cursor: pointer; transition: background .12s; }
table.liste tr.klick:hover { background: var(--gruen-zart); box-shadow: inset 3px 0 0 var(--akzent); }
table.liste tr.monatszeile td { background: var(--creme); font-weight: 700; font-size: .85rem; color: #3b4742; padding: .5em .7em; border-bottom: 1px solid var(--linie); }
table.liste tr.monatszeile span { font-weight: 500; color: var(--grau); margin-left: 1rem; }
table.liste .nr { color: var(--grau-hell); font-size: .85rem; }
table.liste .haupt { font-weight: 600; }
table.liste .neben { display: block; color: var(--grau); font-size: .84rem; font-weight: 400; }
.artpunkt { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 11px; background: var(--rot-hell); color: var(--rot); font-size: .9rem; }
.artpunkt.einnahme { background: var(--gruen-hell); color: var(--plus); }
.artpunkt.umbuchung { background: var(--linie-zart); color: var(--grau); }
.belegknopf { all: unset; cursor: pointer; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; color: var(--gruen); transition: background .15s; }
.belegknopf:hover { background: var(--gruen-hell); }
.belegknopf:focus-visible { outline: 3px solid rgba(229, 169, 44, .75); }
.etikett { display: inline-flex; align-items: center; gap: .3em; font-size: .76rem; font-weight: 650; padding: .14em .65em; border-radius: 999px; background: var(--gruen-hell); color: var(--gruen-dunkel); white-space: nowrap; }
.etikett.gelb { background: var(--akzent-hell); color: #6b4d00; }
.etikett.rot { background: var(--rot-hell); color: #7c2415; }
.leerbild { text-align: center; padding: 2.6rem 1rem; color: var(--grau); }
.leerbild .bildzeichen { margin: 0 auto 1rem; }
.leerbild b { display: block; color: var(--tinte); font-size: 1.1rem; font-family: var(--serif); margin-bottom: .3rem; }
.leerbild .knopf { margin-top: 1rem; }
@media (max-width: 720px) {
  table.liste.karten tr.kopfzeile { display: none; }
  table.liste.karten, table.liste.karten tbody { display: block; }
  table.liste.karten tr.klick { display: grid; grid-template-columns: auto 1fr auto; gap: 0 .8rem; align-items: center; padding: .75rem .2rem; border-bottom: 1px solid var(--linie-zart); }
  table.liste.karten tr.klick td { display: block; padding: 0; border: 0; }
  table.liste.karten tr.klick td.weg { display: none; }
  table.liste.karten tr.monatszeile { display: block; }
  table.liste.karten tr.monatszeile td { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .2rem 1rem; }
  table.liste.karten tr.monatszeile span { margin: 0; }
}

/* Dialoge */
dialog { border: 0; border-radius: 24px; padding: 0; width: min(580px, 100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .45); color: var(--tinte); overflow: auto; }
dialog[open] { animation: herein .28s var(--weich); }
dialog::backdrop { background: rgba(11, 42, 34, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes herein { from { opacity: 0; transform: translateY(14px) scale(.98); } }
dialog form, dialog .innen { padding: 1.5rem; }
dialog h2 { font-size: 1.4rem; margin: 0; }
.dialogkopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--linie-zart); }
dialog.klein-dialog { width: min(420px, 100% - 20px); }
dialog.bildschau { background: transparent; box-shadow: none; width: auto; max-width: calc(100vw - 20px); overflow: visible; }
dialog.bildschau img { display: block; max-width: 100%; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
dialog.bildschau .leistchen { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: .6rem .2rem; gap: 1rem; }
dialog.bildschau .rund { color: #fff; background: rgba(255, 255, 255, .15); }
.artwahl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 1.1rem; background: var(--linie-zart); padding: 4px; border-radius: 14px; }
.artwahl label { margin: 0; }
.artwahl input { position: absolute; opacity: 0; width: 0; }
.artwahl span { display: flex; align-items: center; justify-content: center; gap: .4em; padding: .6em .3em; border-radius: 10px; cursor: pointer; font-weight: 650; color: var(--grau); transition: background .18s, color .18s, box-shadow .18s; }
.artwahl input:checked + span { background: #fff; color: var(--tinte); box-shadow: var(--schatten-klein); }
.artwahl input[value=einnahme]:checked + span { color: var(--plus); }
.artwahl input[value=ausgabe]:checked + span { color: var(--rot); }
@media (max-width: 480px) { .artwahl span .i { display: none; } .artwahl span { font-size: .9rem; } dialog form, dialog .innen { padding: 1.2rem; } }
.artwahl input:focus-visible + span { outline: 3px solid rgba(229, 169, 44, .75); }
.betragseingabe { position: relative; }
.betragseingabe input { font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; padding-right: 2.4rem; }
.betragseingabe::after { content: "€"; position: absolute; right: 1rem; bottom: .55rem; font-size: 1.4rem; font-weight: 700; color: var(--grau-hell); }
.ablage { display: flex; align-items: center; gap: .9rem; border: 2px dashed #d9cfb9; border-radius: 14px; padding: .9rem 1rem; cursor: pointer; background: var(--papier); transition: border-color .15s, background .15s; margin-bottom: .95em; font-weight: 400; }
.ablage:hover, .ablage.ziehen { border-color: var(--akzent); background: var(--akzent-hell); }
.ablage input { display: none; }
.ablage .bildzeichen { margin: 0; flex: none; width: 2.7rem; height: 2.7rem; }
.ablage img { width: 3.4rem; height: 3.4rem; object-fit: cover; border-radius: 10px; border: 1px solid var(--linie); flex: none; }
.ablage b { display: block; }
.ablage small { color: var(--grau); }
.ablage .rund { margin-left: auto; }
.fuss { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; margin-top: 1.3rem; }
.belegvorschau { max-height: 180px; border-radius: 10px; border: 1px solid var(--linie); display: block; margin-top: .5rem; }
.toasts { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: grid; gap: .5rem; justify-items: end; pointer-events: none; }
.toast { display: flex; align-items: center; gap: .6rem; background: var(--gruen-tief); color: #fff; padding: .8rem 1.15rem; border-radius: 999px; font-weight: 560; font-size: .95rem; box-shadow: var(--schatten); animation: herein .3s var(--weich); max-width: 24rem; }
.toast .i { color: #6fd3a2; }
.toast.fehler .i { color: #ff9c8a; }
.kopierfeld { display: flex; gap: .5rem; }
.kopierfeld input { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: .85rem; background: var(--creme); }
.mobilkopf { display: none; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobilkopf a { color: var(--grau); display: inline-flex; }

@media (max-width: 860px) {
  .bereich { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .seitenleiste { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: .6rem; align-items: center; }
  .seitenleiste .marke { margin: 0 .6rem 0 .2rem; }
  .seitenleiste .marke span, .seitenleiste .unten { display: none; }
  .seitenleiste button { white-space: nowrap; }
  /* Mitgliederbereich: Leiste unten wie in einer App */
  .seitenleiste.unten-leiste { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; top: auto; padding: .3rem .3rem calc(.3rem + env(safe-area-inset-bottom)); background: rgba(17, 58, 47, .97); backdrop-filter: blur(10px); justify-content: space-around; gap: 0; overflow: visible; }
  .seitenleiste.unten-leiste .marke { display: none; }
  .seitenleiste.unten-leiste button { position: relative; flex: 1; flex-direction: column; gap: .15rem; padding: .45rem .1rem; font-size: .66rem; font-weight: 600; min-width: 0; border-radius: 10px; }
  .seitenleiste.unten-leiste button .i { font-size: 1.3rem; }
  .seitenleiste.unten-leiste button.aktiv { background: rgba(255, 255, 255, .1); box-shadow: none; }
  .seitenleiste.unten-leiste .marker { position: absolute; top: .15rem; left: 54%; margin: 0; }
  .bereich.mit-leiste .hauptteil { padding-bottom: 6.5rem; }
  .bereich.mit-leiste ~ .toasts { bottom: 5.2rem; left: 1rem; justify-items: center; }
  .mobilkopf { display: flex; }
}
