/* Wingendorf Immobilien – App. Farben der Website (websites/kunden/wingendorf-immobilien/build.py): Blau #0070c0, Himmel #78c0e0,
   Tief #0b3d6e, Tinte #1e2a36, Stein #6b7480, Papier #f4f7fa, Linie #d5dde6. Schrift Jost wie die Website (lokal, latin).
   Hell/Dunkel über data-thema am <html> (Keks „thema“). Bewegung nur auf der Anmeldeseite, still bei prefers-reduced-motion. */
@font-face{font-family:Jost;font-weight:400;font-display:swap;src:url(/schrift/jost-normal-400-latin.woff2) format("woff2")}
@font-face{font-family:Jost;font-weight:500 700;font-display:swap;src:url(/schrift/jost-normal-500-latin.woff2) format("woff2")}
:root{color-scheme:light;--grund:#f4f7fa;--flaeche:#fff;--flaeche-2:#e8eef4;--text:#1e2a36;--leise:#5a6470;--linie:#d5dde6;
--akzent:#0070c0;--akzent-hell:#78c0e0;--auf-akzent:#fff;--zweit:#0b3d6e;--warn:#b3261e;--gut:#1e6b3a;--hinweis-grund:#e3f1fa;
--schatten:0 10px 24px -16px rgba(11,61,110,.45);--kopf:#0b3d6e;--kopf-text:#f4f7fa}
html[data-thema=dunkel]{color-scheme:dark;--grund:#0b131c;--flaeche:#14202c;--flaeche-2:#1d2c3b;--text:#eef3f8;--leise:#a8b4c0;--linie:#2c3d4f;
--akzent:#78c0e0;--akzent-hell:#78c0e0;--auf-akzent:#0b1a28;--zweit:#9fcbe6;--warn:#f2958c;--gut:#8fd3a5;--hinweis-grund:#16314a;--schatten:0 10px 24px -16px #000;--kopf:#07111b}
@media (prefers-color-scheme:dark){html[data-thema=geraet]{color-scheme:dark;--grund:#0b131c;--flaeche:#14202c;--flaeche-2:#1d2c3b;--text:#eef3f8;--leise:#a8b4c0;--linie:#2c3d4f;
--akzent:#78c0e0;--akzent-hell:#78c0e0;--auf-akzent:#0b1a28;--zweit:#9fcbe6;--warn:#f2958c;--gut:#8fd3a5;--hinweis-grund:#16314a;--schatten:0 10px 24px -16px #000;--kopf:#07111b}}
*{box-sizing:border-box}
body{margin:0;background:var(--grund);color:var(--text);font:16px/1.5 Jost,"Helvetica Neue",Arial,sans-serif}
h1,h2,h3{font-weight:500;line-height:1.2;margin:0 0 .4em}h1{font-size:clamp(24px,4vw,34px)}h2{font-size:21px;margin-top:.2em}h3{font-size:17px}
a{color:var(--akzent)}
.sprunglink{position:absolute;left:-10000px}.sprunglink:focus{left:12px;top:12px;z-index:20;background:var(--flaeche);padding:8px 12px;border-radius:8px}
.kopf{background:var(--kopf);color:var(--kopf-text);display:flex;align-items:center;gap:14px;padding:8px 16px;position:sticky;top:0;z-index:10}
.marke{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-weight:500;font-size:19px;flex:none}
.marke img{border-radius:8px;background:#fff;padding:2px}.marke small{display:block;font-size:12px;color:#78c0e0;letter-spacing:.04em;text-transform:uppercase}
.hauptnav{display:flex;gap:4px;overflow-x:auto;flex:1;scrollbar-width:thin}
.hauptnav a{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:10px;color:var(--kopf-text);text-decoration:none;white-space:nowrap;font-weight:500}
.hauptnav a:hover{background:#14507f}.hauptnav a[aria-current=page]{background:#78c0e0;color:#0b1a28}
.sym{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ich{display:flex;gap:10px;align-items:center;flex:none}.ich a{color:var(--kopf-text);text-decoration:none;font-weight:500}
.push-an{display:inline-flex;align-items:center;gap:7px;flex:none;background:#78c0e0;color:#0b1a28;border:0;border-radius:999px;padding:6px 12px;font:inherit;font-weight:600;cursor:pointer}
.push-an[hidden]{display:none}
.push-ausruf{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#c0392b;color:#fff;font-weight:800;font-size:13px;line-height:1;flex:none}
.push-meldung{font-size:13px;color:var(--kopf-text);max-width:24em}.push-meldung:empty{display:none}
main{max-width:1180px;margin:0 auto;padding:18px 16px 40px}main:focus{outline:none}
.zurueck{margin:0 0 4px}.zurueck a{text-decoration:none;font-weight:500}
.ok{min-height:1.2em;margin:0 0 6px;color:var(--gut);font-weight:600}.ok:empty{margin:0;min-height:0}
.fehler{color:var(--warn);font-weight:600;background:var(--flaeche);border-left:4px solid var(--warn);padding:8px 12px;border-radius:6px}
.fuss{max-width:1180px;margin:0 auto;padding:20px 16px 40px;display:flex;flex-wrap:wrap;gap:16px;color:var(--leise);font-size:14px}.fuss a{color:var(--leise)}
.karte{background:var(--flaeche);border-radius:16px;padding:16px;box-shadow:var(--schatten);margin:0 0 14px}
.raster{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.raster>.karte{margin:0}
.kacheln{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));list-style:none;padding:0;margin:0 0 18px}
.kachel{background:var(--flaeche);border-radius:16px;box-shadow:var(--schatten);overflow:hidden;display:flex;flex-direction:column;text-decoration:none;color:inherit}
.kachel figure{margin:0;background:var(--flaeche-2);color:var(--zweit)}.kachel .in{padding:10px 14px 14px}.kachel .in h2{font-size:18px}
.kachel .zahl{font-size:34px;font-weight:500;color:var(--akzent);line-height:1}
a.kachel:hover{outline:2px solid var(--akzent-hell)}
.bild{display:block;width:100%;height:96px}.bild .f{fill:var(--flaeche);stroke:currentColor;stroke-width:2}.bild .s{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bild .dick{stroke-width:6}.bild .leicht{opacity:.4}.bild .a{fill:#0070c0;stroke:currentColor;stroke-width:2}.bild .b{fill:#78c0e0;stroke:currentColor;stroke-width:2}.bild .hell{stroke:#fff}
.bild .dach{stroke:#0070c0;stroke-width:4}.bild.klein{width:84px;height:56px;flex:none}
/* Anmeldeseite: das Haus zeichnet sich Strich für Strich (Motiv „haus“ aus websites/tools/grafiken.py); Arbeitsflächen bleiben ruhig. */
.begruessung{text-align:center}.begruessung img{max-width:220px;height:auto}.begruessung .bild{height:110px;color:var(--zweit);margin:8px 0}
html[data-thema=dunkel] .begruessung img{background:#fff;border-radius:10px;padding:6px}
.bild.bewegt .s,.bild.bewegt .f{stroke-dasharray:240;animation:zeichnen 7s ease-in-out infinite}.bild.bewegt .dach{animation-delay:1.2s}
@keyframes zeichnen{0%{stroke-dashoffset:240}35%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:240}}
@media (prefers-reduced-motion:reduce){.bild.bewegt *{animation:none!important;stroke-dasharray:none}}
.leer{text-align:center;color:var(--leise);padding:20px;background:var(--flaeche-2);border-radius:16px}.leer .bild{max-width:200px;margin:0 auto 6px;color:var(--zweit)}
form.stapel{display:grid;gap:12px}.felder{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
label{display:grid;gap:4px;font-weight:500}
input,select,textarea{min-height:44px;padding:8px 10px;border-radius:10px;border:2px solid var(--linie);background:var(--flaeche);color:var(--text);font:inherit;font-size:16px;width:100%}
textarea{min-height:90px;resize:vertical}input:focus,select:focus,textarea:focus{outline:3px solid var(--akzent-hell);outline-offset:1px}
input[type=checkbox],input[type=radio]{min-height:22px;width:22px;accent-color:var(--akzent)}
.haken{display:flex;gap:8px;align-items:center;font-weight:400}
fieldset{border:2px solid var(--linie);border-radius:12px;padding:10px 12px;display:grid;gap:6px}legend{font-weight:600;padding:0 4px}
button,.knopf{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 16px;border-radius:12px;border:0;font:inherit;font-weight:600;
background:var(--akzent);color:var(--auf-akzent);cursor:pointer;text-decoration:none}
button.zweit,.knopf.zweit{background:var(--flaeche-2);color:var(--text)}button.klein{min-height:36px;padding:4px 10px;font-size:14px}
button[aria-busy=true]{cursor:progress;opacity:.75}
.reihe{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.leise{color:var(--leise)}.klein{font-size:14px}
.tabwrap{overflow-x:auto}
table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:8px;border-bottom:1px solid var(--linie);vertical-align:top}
th{font-weight:600;font-size:15px}td.zahl,th.zahl{text-align:right;font-variant-numeric:tabular-nums}
.pille{display:inline-block;padding:2px 10px;border-radius:999px;background:var(--flaeche-2);font-size:13px;font-weight:600;white-space:nowrap}
.pille.warn{background:var(--warn);color:#fff}.pille.gut{background:var(--gut);color:#fff}.pille.akzent{background:#78c0e0;color:#0b1a28}
.filter{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin:0 0 12px}.filter label{min-width:180px;flex:1}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}.chips a{padding:6px 12px;border-radius:999px;background:var(--flaeche);color:var(--text);text-decoration:none;font-weight:500;box-shadow:var(--schatten)}
.chips a[aria-current=true]{background:var(--akzent);color:var(--auf-akzent)}
.hinweis{background:var(--hinweis-grund);border-radius:12px;padding:10px 14px;margin:10px 0}
details>summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}
/* Objektliste */
.objekte{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.objekt{display:flex;flex-direction:column;background:var(--flaeche);border-radius:16px;box-shadow:var(--schatten);overflow:hidden;text-decoration:none;color:inherit;height:100%}
.objekt:hover{outline:2px solid var(--akzent-hell)}.objekt .in{padding:10px 14px 14px;display:grid;gap:4px}
.titelbild{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:50% 40%;background:var(--flaeche-2)}
.titelbild.ohne{display:grid;place-items:center;color:var(--zweit)}.titelbild.ohne .bild{height:70px}
.kopfzeile{display:grid;gap:16px;grid-template-columns:minmax(0,320px) 1fr;align-items:start;margin:0 0 14px}
.gross{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;background:var(--flaeche-2)}.gross.ohne{display:grid;place-items:center;color:var(--zweit)}
.reaktivieren{display:flex;gap:12px;align-items:center;background:var(--hinweis-grund);border-radius:14px;padding:10px 12px;color:var(--zweit)}
.reaktivieren p{color:var(--text);margin:6px 0 0}
/* Bilder je Objekt */
.bilder{list-style:none;padding:0;margin:0 0 10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.bilder li{background:var(--flaeche-2);border-radius:12px;padding:6px;display:grid;gap:6px;align-content:start}
.bilder li:first-child{outline:3px solid var(--akzent)}.bilder.raus li:first-child{outline:0}
.bilder img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;touch-action:none;cursor:grab;user-select:none;-webkit-user-drag:none}
.bilder li.zieht{opacity:.55;outline:3px dashed var(--akzent)}
.bilder .nr{font-size:13px;font-weight:600}.bildknoepfe{display:flex;flex-wrap:wrap;gap:4px}.bildknoepfe form{display:contents}
.hochladen{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:10px 0}.hochladen label.knopf{display:inline-flex}
.werte{display:grid;gap:8px}.paar{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.link{overflow-wrap:anywhere}
.liste{list-style:none;padding:0;margin:0 0 10px;display:grid;gap:8px}.liste li{background:var(--flaeche-2);border-radius:12px;padding:8px 10px}.liste li.alt{opacity:.7}
.liste .zeile{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.liste .zeile>div{flex:1 1 200px}.liste .zeile label{flex:0 1 160px}
.anfragen li{display:flex;justify-content:space-between;gap:10px;align-items:start}.anfragen a{text-decoration:none;color:inherit;flex:1}
.nachricht{white-space:normal;background:var(--flaeche-2);border-radius:12px;padding:12px}
.saeulen{width:100%;height:auto}.saeulen rect{fill:var(--akzent)}.saeulen line{stroke:var(--linie)}.saeulen text{fill:var(--leise);font-size:12px;font-family:inherit}
.zahlen .kachel{padding:0}
@media (max-width:1100px){.kopf{flex-wrap:wrap;position:static}.ich{margin-left:auto}.hauptnav{order:3;flex-basis:100%}}
@media (max-width:700px){.kopfzeile{grid-template-columns:1fr}.kacheln{grid-template-columns:repeat(2,1fr);gap:10px}.kachel .bild{height:64px}.kachel .zahl{font-size:28px}.kachel .in{padding:8px 10px 10px;font-size:15px}
.bilder{grid-template-columns:repeat(2,1fr)}td,th{padding:6px 4px}.marke small{display:none}.paar{grid-template-columns:1fr}}
@media print{.kopf,.fuss,.filter,button,.knopf{display:none}body{background:#fff}.karte{box-shadow:none}}
.bilder button.zweit{background:var(--flaeche)}
