/* Design "Quartierbrett" – gleiche Farben und Formen wie die App (src/theme) */
/* Schriften liegen auf dieser Website (keine Anfrage an Google, SIL Open Font License) */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("/schriften/BricolageGrotesque_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("/schriften/BricolageGrotesque_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("/schriften/BricolageGrotesque_800ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("/schriften/DMSans_400Regular.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url("/schriften/DMSans_500Medium.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url("/schriften/DMSans_600SemiBold.ttf") format("truetype"); }

:root {
  --bg: #f2e9d0;
  --surface: #fffdf5;
  --ink: #2b2620;
  --ink-2: #6b6153;
  --akzent: #d97a3f;
  --akzent-alt: #e8664a;
  --chip-bg: #e9dfc2;
  --tauschen-bg: #dce7d2; --tauschen-fg: #3f5335;
  --verschenken-bg: #f5dec4; --verschenken-fg: #8a431b;
  --verkaufen-bg: #f5eac2; --verkaufen-fg: #7a5a16;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "DM Sans", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.seite { max-width: 1040px; margin: 0 auto; padding: 20px 16px 56px; }

/* Kopf mit Logo */
.kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.logo {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--akzent); border: 2px solid var(--ink);
  display: grid; place-items: center;
  transform: rotate(-6deg);
  font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1;
  color: var(--surface); padding-bottom: 4px;
}
.wortmarke { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.01em; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr 1fr; gap: 24px; min-height: 480px; } }
h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 7vw, 50px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 18px;
}
h2 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; margin: 0 0 10px; }
p { margin: 0 0 14px; }
.leise { color: var(--ink-2); font-size: 15px; }

/* Karten ("angepinnte Zettel") mit hartem Schatten */
.zettel {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 20px 18px;
}
/* Reissnagel wie bei den Dialogen der App (gezeichnet statt Emoji) */
.pin::before { content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--akzent-alt); border: 2px solid var(--ink); }

/* Drei angepinnte Beispielkarten im Hero */
.brett { position: relative; height: 380px; }
.brett .zettel { position: absolute; width: min(290px, 78vw); display: flex; gap: 12px; align-items: center; padding: 14px; }
.brett .z1 { top: 10px; left: 4%; transform: rotate(-3deg); }
.brett .z2 { top: 130px; right: 2%; transform: rotate(2.5deg); }
.brett .z3 { top: 250px; left: 10%; transform: rotate(-1deg); }
.kachel {
  flex: none; width: 66px; height: 66px; border-radius: 10px; border: 2px solid var(--ink);
  display: grid; place-items: center; font-size: 34px;
}
.brett h3 { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.2; margin: 0 0 6px; }
.etikett { display: inline-block; font-weight: 600; font-size: 12px; border-radius: 999px; padding: 2px 10px; }
.etikett.tauschen { background: var(--tauschen-bg); color: var(--tauschen-fg); }
.etikett.verschenken { background: var(--verschenken-bg); color: var(--verschenken-fg); }
.etikett.verkaufen { background: var(--verkaufen-bg); color: var(--verkaufen-fg); }
.preis { font-family: var(--display); font-weight: 700; margin-left: 6px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.chip { background: var(--chip-bg); color: var(--ink-2); font-weight: 600; font-size: 14px; border-radius: 999px; padding: 6px 14px; }

/* Knöpfe */
.knopf {
  display: block; text-align: center; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 17px;
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 13px 20px; margin: 12px 0;
  transition: transform 0.08s, box-shadow 0.08s;
}
.knopf:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.knopf:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
.knopf.haupt { background: var(--ink); color: var(--surface); }
.knopf.zweit { background: var(--surface); color: var(--ink); }

.hinweis { background: var(--chip-bg); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.hinweis.warnung { background: var(--verkaufen-bg); color: var(--verkaufen-fg); }
ol { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 6px; }

/* Beitrittsseite */
.schmal { max-width: 480px; margin: 0 auto; }
.schmal .zettel { position: relative; transform: rotate(-1deg); margin-top: 16px; }
.schmal .zettel > * { transform: rotate(1deg); }
.fuss { margin-top: 48px; text-align: center; color: var(--ink-2); font-size: 13px; }
[hidden] { display: none !important; }

/* Rechtliche Seiten */
.recht { max-width: 760px; margin: 0 auto; }
.recht h1 { font-size: clamp(30px, 6vw, 40px); }
.recht h2 { margin-top: 32px; }
.recht h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 20px 0 6px; }
.recht p, .recht li { font-size: 16px; }
.recht ul { padding-left: 22px; margin: 0 0 14px; }
.recht .stand { color: var(--ink-2); font-size: 14px; }
.recht table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0 16px; display: block; overflow-x: auto; }
.recht th, .recht td { text-align: left; vertical-align: top; border-bottom: 1.5px solid var(--chip-bg); padding: 8px 6px; }
.recht th { font-weight: 600; }
.entwurf { background: var(--verkaufen-bg); color: var(--verkaufen-fg); border: 2px dashed var(--verkaufen-fg); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.rechtsnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 12px; font-size: 14px; }
.rechtsnav a { color: var(--ink-2); }
.kopf a { text-decoration: none; display: flex; align-items: center; gap: 12px; color: inherit; }

/* Seite für Gemeinden mit Anfrage-Formular (gemeinden.html) */
.gemeinden { max-width: 880px; }
.gemeinden h1 { font-size: clamp(32px, 6vw, 46px); }
.spalten2 { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 24px 0; }
@media (min-width: 760px) { .spalten2 { grid-template-columns: 1fr 1fr; } }
.formular-karte { max-width: 560px; margin: 0 auto; }
.gemeinden > .zettel, .gemeinden .spalten2 { margin: 24px 0; }
.gemeinden > .formular-karte { margin: 32px auto; }
.wirkung { background: var(--tauschen-bg); transform: rotate(-0.4deg); }
.wirkung > * { transform: rotate(0.4deg); }
.haken { list-style: none; padding: 0; margin: 0 0 12px; }
.haken li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.haken li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.schritte { list-style: none; padding: 0; margin: 0; counter-reset: schritt; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .schritte { grid-template-columns: repeat(4, 1fr); } }
.schritte li { counter-increment: schritt; margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 759px) { .schritte li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; } .schritte li::before { grid-row: span 2; margin-bottom: 0; } }
.schritte li::before { content: counter(schritt); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 50%; border: 2px solid var(--ink); background: var(--akzent); color: var(--surface); font-family: var(--display); font-weight: 800; font-size: 17px; }
.schritte b { display: block; font-family: var(--display); font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.pilot { background: var(--verkaufen-bg); }
#anfrage label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
#anfrage input, #anfrage textarea {
  display: block; width: 100%; margin-top: 4px; font: inherit; font-weight: 400;
  background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 10px 12px; color: var(--ink);
}
#anfrage input:focus-visible, #anfrage textarea:focus-visible { outline: 3px solid var(--akzent); outline-offset: 1px; }
#anfrage .knopf { width: 100%; cursor: pointer; }
#anfrage .knopf:disabled { opacity: 0.6; cursor: wait; }
.versteckt { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.klein { font-size: 13px; }

/* Startseite: Wege für Einwohner und Gemeinden */
.wege { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 18px; }
.wege .knopf { margin: 0; flex: 1 1 200px; }

/* Seite für Einwohner mit Rundgang durch die App (einwohner.html) */
.einwohner h1 { font-size: clamp(34px, 7vw, 52px); }
.lead { font-size: 19px; max-width: 720px; }
.zentriert { text-align: center; }
.rundgang { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 28px 0 40px; align-items: start; }
@media (min-width: 860px) { .rundgang { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.funktionen { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 859px) {
  .funktionen { flex-direction: row; overflow-x: auto; padding: 4px 4px 8px; margin: 0 -4px; scroll-snap-type: x mandatory; }
  .funktionen button { flex: 0 0 72%; scroll-snap-align: start; }
}
.funktionen button {
  text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; padding: 14px 16px;
  box-shadow: 3px 3px 0 var(--ink); transition: transform .08s, box-shadow .08s, background .15s;
}
.funktionen button b { display: block; font-family: var(--display); font-size: 19px; margin-bottom: 2px; }
.funktionen button span { color: var(--ink-2); font-size: 15px; }
.funktionen button[aria-selected="true"] { background: var(--ink); color: var(--surface); }
.funktionen button[aria-selected="true"] span { color: #e9dfc2; }
.funktionen button:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }

/* Nachgebaute App im Handy: Masse wie in der App (src/theme, src/components/ui.tsx), etwa 0.85-fach */
.handy-rahmen { position: sticky; top: 16px; }
.handy-rahmen > p { margin-top: 22px; }
.handy {
  --s-linie: #dccfae; --s-gefahr: #b23a1e;
  position: relative; width: 320px; max-width: 100%; height: 650px; margin: 0 auto; overflow: hidden;
  background: var(--bg); border: 3px solid var(--ink); border-radius: 40px; box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column; font-size: 13px; line-height: 1.35;
}
:where(.handy button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.handy button:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.statusleiste { display: flex; justify-content: space-between; align-items: center; padding: 10px 26px 2px; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.s-akku { font-size: 8px; letter-spacing: -1px; display: flex; align-items: center; gap: 5px; }
.s-akku i { width: 20px; height: 10px; border: 1.5px solid var(--ink); border-radius: 3px; background: linear-gradient(90deg, var(--ink) 70%, transparent 70%) content-box; padding: 1px; }
.screen { flex: 1; overflow-y: auto; display: flex; flex-direction: column; position: relative; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen[hidden] { display: none; }

/* Kopfzeile: Marktplatz mit Logo und Gemeinde, sonst wie die Stapel-Kopfzeile der App */
.s-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 14px 8px; flex-shrink: 0; min-height: 50px; }
.s-gemeinde { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; }
.s-logo { width: 32px; height: 32px; border-radius: 50%; background: var(--akzent); border: 2px solid var(--ink); transform: rotate(-6deg); display: grid; place-items: center; color: var(--surface); font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; padding-bottom: 3px; }
.s-icon-knopf { display: grid; place-items: center; width: 30px; height: 30px; }
.s-icon-knopf .ic { width: 22px; height: 22px; }
.s-stapel-titel { flex: 1; font-family: var(--display); font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-stapel-titel.links { font-size: 19px; }

/* Suche und Chips */
.s-suche { display: flex; align-items: center; gap: 8px; margin: 2px 14px 0; padding: 9px 13px; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; color: var(--ink-2); font-size: 14px; flex-shrink: 0; }
.s-suche .ic { width: 18px; height: 18px; color: var(--ink-2); }
.s-chips { display: flex; gap: 7px; overflow-x: auto; padding: 10px 14px; flex-shrink: 0; scrollbar-width: none; }
.s-chips::-webkit-scrollbar { display: none; }
.s-chips.umbruch { flex-wrap: wrap; overflow: visible; padding: 0 0 4px; }
.handy .s-chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; font-size: 12.5px; color: var(--ink-2); background: var(--chip-bg);
  border: 2px solid var(--chip-bg); border-radius: 999px; padding: 5px 12px;
}
.handy .s-chip .ic { width: 13px; height: 13px; stroke-width: 2; }
.handy .s-chip.klein { font-size: 11.5px; padding: 3px 10px; }
.handy .s-chip.aktiv { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.handy .s-chip.aktiv .ic { fill: currentColor; }

/* Karten ("Zettel"): Outline, harter Schatten, leicht gedreht */
.s-liste { padding: 4px 14px 90px; display: flex; flex-direction: column; gap: 13px; }
.s-karte {
  position: relative; display: flex; gap: 10px; padding: 10px; width: calc(100% - 4px);
  background: var(--surface); border: 2px solid var(--ink); border-radius: 13px; box-shadow: 4px 4px 0 var(--ink);
}
.s-karte:nth-of-type(3n+1) { transform: rotate(-0.6deg); }
.s-karte:nth-of-type(3n+2) { transform: rotate(0.4deg); }
.s-karte:nth-of-type(3n) { transform: rotate(-0.25deg); }
.s-karte.zeile { align-items: center; padding: 11px 12px; box-shadow: 3px 3px 0 var(--ink); }
.s-karte[hidden] { display: none; }
.s-kachel { flex: none; width: 64px; height: 64px; border-radius: 10px; border: 2px solid var(--ink); object-fit: cover; display: grid; place-items: center; font-size: 30px; background: var(--chip-bg); }
.s-kachel.mini { width: 36px; height: 36px; border-radius: 8px; }
.s-karte-inhalt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.s-zeile { display: flex; align-items: center; gap: 8px; }
.s-zeile.oben { align-items: flex-start; }
.s-karte-titel { flex: 1; min-width: 0; font-family: var(--display); font-weight: 700; font-size: 14.5px; line-height: 1.2; }
/* Ganze Karte antippbar (Titel-Knopf über die Fläche gezogen), Stern darüber */
.s-karte-titel::after { content: ""; position: absolute; inset: 0; border-radius: 11px; }
.s-karte-titel.normal { font-family: var(--text); font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-karte-titel.neu { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-preis { font-family: var(--display); font-weight: 700; font-size: 14px; white-space: nowrap; }
.s-preis.gross { font-weight: 800; font-size: 19px; line-height: 1.35; }
.s-klein { color: var(--ink-2); font-size: 11.5px; }
.s-etikett { display: inline-block; width: fit-content; font-weight: 600; font-size: 10.5px; border-radius: 999px; padding: 2px 9px; }
.s-etikett.verkauf { background: #f5eac2; color: #7a5a16; }
.s-etikett.schenk { background: #f5dec4; color: #8a431b; }
.s-etikett.tausch { background: #dce7d2; color: #3f5335; }
.s-etikett.ausleihen { background: #dde6ee; color: #2f4e66; }
.s-etikett.suche { background: #e4ddeb; color: #533f63; }
.s-etikett.foodsharing { background: #d6e6df; color: #2f5a4b; }
.s-etikett.fundsache { background: #e3ddcf; color: #4a4336; }
.s-neu { font-size: 10.5px; font-weight: 600; color: var(--surface); background: var(--akzent-alt); border-radius: 999px; padding: 2px 8px; }
.s-stern { position: relative; z-index: 1; margin-left: auto; display: grid; place-items: center; }
.s-stern .ic { width: 21px; height: 21px; }
.s-stern.gross .ic { width: 24px; height: 24px; }
.s-stern[aria-pressed="true"] { color: var(--akzent); }
.s-stern[aria-pressed="true"] .ic { fill: currentColor; }
.s-leer { color: var(--ink-2); font-size: 13px; text-align: center; margin-top: 20px; }
.s-fab {
  position: absolute; right: 18px; bottom: 80px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--akzent); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-8deg); font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1;
}
.s-fab[hidden] { display: none; }
.s-fab:active { transform: rotate(-8deg) translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* Inserat */
.s-inhalt { padding: 4px 14px 22px; display: flex; flex-direction: column; gap: 11px; }
.s-foto-gross { display: grid; place-items: center; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: 13px; font-size: 70px; }
.s-foto-gross[hidden] { display: none; }
.s-inhalt h3 { flex: 1; font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.12; margin: 0; }
.s-zettel { background: var(--surface); border: 2px solid var(--ink); border-radius: 13px; box-shadow: 4px 4px 0 var(--ink); padding: 13px; transform: rotate(-0.6deg); margin-right: 4px; }
.s-zettel p { margin: 0 0 5px; font-size: 13.5px; line-height: 1.45; }
.s-zettel hr { border: 0; height: 2px; border-radius: 1px; background: var(--s-linie); margin: 8px 0; }
.s-zettel .s-meta { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12px; margin: 0 0 4px; }
.s-meta .ic { width: 15px; height: 15px; }
.s-hinweis { background: #f5eac2; color: #7a5a16; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; }
.s-hinweis b { display: block; font-family: var(--display); font-size: 14px; margin-bottom: 2px; }
#d-aktionen { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 4px; }
#d-aktionen[hidden] { display: none; }
.handy .s-knopf {
  font-family: var(--display); font-weight: 700; font-size: 14.5px; text-align: center; color: var(--surface);
  background: var(--ink); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); padding: 11px; margin-right: 3px;
}
.handy .s-knopf:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.s-melden { text-align: center; color: var(--s-gefahr); font-weight: 600; font-size: 12.5px; }

/* Chats */
.s-badge { min-width: 21px; height: 21px; border-radius: 11px; background: var(--akzent-alt); border: 2px solid var(--ink); color: var(--surface); font-size: 10.5px; font-weight: 600; display: grid; place-items: center; padding: 0 4px; }
.s-rot { color: var(--s-gefahr); width: 18px; height: 18px; }
.s-grau { color: var(--ink-2); width: 16px; height: 16px; }
.s-chat { flex: 1; padding: 6px 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.s-bubble { max-width: 78%; margin: 0; padding: 7px 10px; border: 2px solid var(--ink); border-radius: 14px; font-size: 13px; line-height: 1.38; }
.s-bubble.ich { align-self: flex-end; background: var(--akzent); border-bottom-right-radius: 4px; }
.s-bubble.du { background: var(--surface); border-bottom-left-radius: 4px; max-width: 100%; }
.s-fremd { display: flex; align-items: flex-end; gap: 7px; max-width: 86%; }
.s-avatar { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ink); background: #dce7d2; color: #3f5335; font-family: var(--display); font-weight: 700; font-size: 9.5px; display: grid; place-items: center; }
.s-avatar.platz { visibility: hidden; }
.s-avatar.gross { width: 60px; height: 60px; font-size: 23px; border-width: 2px; background: #f5dec4; color: #8a431b; }
.s-eingabe { display: flex; align-items: flex-end; gap: 9px; padding: 10px 12px; background: var(--surface); border-top: 2px solid var(--ink); flex-shrink: 0; }
.s-eingabe-feld { flex: 1; padding: 8px 14px; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; color: var(--ink-2); font-size: 13px; }
.s-senden { width: 38px; height: 38px; border-radius: 50%; background: var(--akzent); border: 2px solid var(--ink); display: grid; place-items: center; }
.s-senden .ic { stroke-width: 2.2; }

/* Neues Inserat */
.formular { gap: 0; }
.s-label { font-weight: 600; font-size: 13px; margin: 12px 0 6px; }
.s-label:first-child { margin-top: 4px; }
.s-label i { font-style: normal; color: var(--akzent); }
.s-feld { background: var(--surface); border: 2px solid var(--ink); border-radius: 10px; padding: 9px 12px; font-size: 13.5px; }
.s-feld.hoch { min-height: 76px; }
.s-fotos { display: flex; gap: 8px; margin-bottom: 18px; }
.s-foto-plus { width: 74px; height: 74px; border: 2px dashed var(--ink-2); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink-2); font-size: 11px; font-weight: 600; }

/* Mitteilungen */
.s-abschnitt { font-weight: 600; font-size: 13px; color: var(--ink-2); margin: 4px 0 -3px; }
.s-abschnitt.gross { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); margin-top: 8px; }
.s-blatt { flex: none; width: 40px; padding: 3px 0; border-radius: 10px; border: 2px solid var(--ink); background: var(--akzent); display: flex; flex-direction: column; align-items: center; font-size: 10px; font-weight: 600; line-height: 1.2; }
.s-blatt b { font-family: var(--display); font-weight: 800; font-size: 16px; }
.s-titel-neu { font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.25; }
.s-titel-alt { font-weight: 500; font-size: 13.5px; }
.handy .s-mitteilung { align-items: flex-start; }
.s-mitteilung.gelesen { background: var(--bg); box-shadow: 2px 2px 0 var(--ink); }
.s-mitteilung.gelesen .s-titel-neu { font-family: var(--text); font-weight: 500; font-size: 13.5px; }
.s-mi-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--ink); background: var(--chip-bg); display: grid; place-items: center; }
.s-mi-icon.gemeinde { background: var(--akzent); }
.s-mi-icon .ic { width: 18px; height: 18px; }
.s-mi-kopf { display: flex; justify-content: space-between; gap: 6px; }
.s-zeit { font-size: 10.5px; color: var(--ink-2); white-space: nowrap; }
.s-mi-text { display: none; font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.s-mitteilung.offen .s-mi-text { display: block; }
.s-mitteilung.offen .s-pfeil { transform: rotate(180deg); }
.s-mi-rechts { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.s-punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--akzent-alt); border: 1.5px solid var(--ink); }

/* Profil */
.s-profilkarte { padding: 14px 12px; gap: 13px; }
.s-profilbild { position: relative; flex: none; }
.s-kamera { position: absolute; right: -4px; bottom: -3px; width: 22px; height: 22px; border-radius: 50%; background: var(--akzent); border: 2px solid var(--ink); display: grid; place-items: center; color: var(--ink); }
.s-kamera .ic { width: 12px; height: 12px; stroke-width: 2; }
.s-name { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 19px; }
.s-mit-icon { display: flex; align-items: center; gap: 4px; font-size: 12.5px; }
.s-mit-icon .ic { width: 14px; height: 14px; }
.s-menue { gap: 9px; }
.s-menue b { flex: 1; min-width: 0; font-family: var(--display); font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-menue .ic { width: 19px; height: 19px; }
.s-wert { color: var(--ink-2); font-size: 11px; white-space: nowrap; }
.s-eigenes { flex-direction: column; gap: 6px; padding: 12px 13px; }
.s-eigenes b { flex: 1; font-family: var(--display); font-weight: 700; font-size: 15.5px; }
.s-eigenes .ic { width: 19px; height: 19px; }
.s-eigenes .s-chips { margin-top: 4px; }

/* Tab-Leiste */
.s-tabs { display: flex; border-top: 2px solid var(--ink); background: var(--surface); padding: 7px 4px 14px; flex-shrink: 0; }
.handy .s-tabs button { position: relative; flex: 1; font-size: 10px; font-weight: 600; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.s-tabs .ic { width: 23px; height: 23px; stroke-width: 1.5; }
.handy .s-tabs button.aktiv { color: var(--ink); }
.s-tab-badge { position: absolute; top: -3px; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--akzent-alt); color: var(--surface); font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
.s-tab-badge[hidden] { display: none; }

.vorteile { margin: 8px 0 32px; }
.vorteil-raster { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 620px) { .vorteil-raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .vorteil-raster { grid-template-columns: repeat(3, 1fr); } }
.vorteil-raster h3 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 4px; }
.vorteil-raster p { margin: 0; font-size: 16px; }
.mitmachen { max-width: 640px; margin: 0 auto; }
