/* ==========================================================================
   wertermittlung.css — zentrales CSS der Wertermittlung (Verwaltung und Offline-App)

   MTV-Markenfarben wie im Mockup (vorlagen/mockup_wertermittlung.html):
   Kopf Linde, Summen Schwarzerde, Knoepfe in MTV-Bedeutung
   (gruen = speichern, blau = navigieren, rot = loeschen, gelb = Erklaerung).
   Zuerst fuers Smartphone gebaut, ab 760 px Tablet, ab 1100 px Desktop.

   Regeln:
   - Alle Klassen tragen den Praefix we-.
   - Jede Farbe steht als Variable in :root.
   - Eingabefelder mindestens 16 px, sonst zoomt iOS beim Antippen hinein.
   - Touch-Ziele mindestens 44 px hoch.
   ========================================================================== */

:root{
    /* MTV-Markenfarben */
    --we-linde:         #85bb22;
    --we-linde-dunkel:  #6a9a14;
    --we-erde:          #493a30;
    --we-lilie:         #f2f0f0;
    --we-blau:          #0074be;
    --we-blau-dunkel:   #005d99;
    --we-gruen:         #0a651f;
    --we-gruen-dunkel:  #084f18;
    --we-rot:           #d40829;
    --we-rot-dunkel:    #a80620;
    --we-gelb:          #ffd600;
    --we-kiesel:        #a19e92;

    /* Flaechen und Schrift */
    --we-flaeche:       #f2f0f0;
    --we-karte:         #ffffff;
    --we-tint:          #f7f6f4;
    --we-schrift:       #493a30;
    --we-weich:         #6f655a;
    --we-gedimmt:       #8d8478;
    --we-linie:         #e4e0d9;
    --we-linie-2:       #efece6;

    /* Zustaende */
    --we-ok-hg:         rgba(10,101,31,.10);
    --we-warn-hg:       rgba(255,214,0,.24);
    --we-warn-text:     #6b5600;
    --we-stop-hg:       rgba(212,8,41,.10);
    --we-info-hg:       rgba(0,116,190,.09);
    --we-neutral-hg:    rgba(161,158,146,.22);
    --we-neutral-text:  #6d675c;
    --we-abdunkeln:     rgba(40,32,26,.55);

    --we-font:          'Inter', "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --we-text:          15px;
    --we-text-klein:    13px;
    --we-radius:        10px;
    --we-radius-klein:  6px;
    --we-kopf-hoehe:    56px;
    --we-nav-hoehe:     62px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
    margin: 0;
    background: var(--we-flaeche);
    color: var(--we-schrift);
    font-family: var(--we-font);
    font-size: var(--we-text);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}
a{ color: var(--we-blau); }
h1, h2, h3{ margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1{ font-size: 20px; }
h2{ font-size: 17px; }
h3{ font-size: 15px; }
[hidden], [x-cloak]{ display: none !important; }
button{ font-family: inherit; }

/* ==========================================================================
   1 · Rahmen: Kopf, Inhalt, Navigation
   ========================================================================== */

.we-kopf{
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; gap: 12px;
    min-height: var(--we-kopf-hoehe);
    padding: env(safe-area-inset-top) 14px 0;
    background: var(--we-linde);
    color: #fff;
}
.we-kopf-zurueck, .we-kopf-knopf{
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 44px; height: 44px; margin-left: -8px;
    border: 0; border-radius: 50%; background: transparent;
    color: #fff; text-decoration: none; font-size: 18px; cursor: pointer;
}
.we-kopf-knopf{ margin-left: 0; margin-right: -8px; }
.we-kopf-zurueck:active, .we-kopf-knopf:active{ background: rgba(255,255,255,.2); }
.we-kopf-titel{ flex: 1; min-width: 0; font-size: 17px; font-weight: 700; }
.we-kopf-titel small{ display: block; font-size: 12px; font-weight: 500; opacity: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.we-kopf-titel, .we-kopf-titel > span{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.we-kopf-marke{ display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; }

.we-inhalt{
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 14px calc(var(--we-nav-hoehe) + 24px + env(safe-area-inset-bottom));
}
.we-inhalt-schmal{ max-width: 760px; }

/* Navigation: unten auf dem Handy, oben im Kopf ab Tablet */
.we-nav{
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: flex;
    height: calc(var(--we-nav-hoehe) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--we-karte);
    border-top: 1px solid var(--we-linie);
}
.we-nav a, .we-nav button{
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: transparent;
    color: var(--we-gedimmt); text-decoration: none; font-size: 11px; font-weight: 600; cursor: pointer;
}
.we-nav a i, .we-nav button i{ font-size: 20px; }
.we-nav .we-aktiv{ color: var(--we-gruen); }
@media (min-width: 760px){
    .we-nav{ position: static; height: auto; padding: 0; background: transparent; border: 0; gap: 4px; }
    .we-nav a, .we-nav button{ flex: none; flex-direction: row; gap: 8px; padding: 8px 12px; border-radius: var(--we-radius-klein); color: #fff; font-size: 14px; }
    .we-nav a i, .we-nav button i{ font-size: 15px; }
    .we-nav .we-aktiv, .we-nav a:hover, .we-nav button:hover{ color: #fff; background: var(--we-linde-dunkel); }
    .we-inhalt{ padding: 24px; }
}

/* Testverband: Band unter dem Kopf */
.we-testband{
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 6px 12px; background: var(--we-rot); color: #fff;
    font-size: 12.5px; font-weight: 700; text-align: center;
}

/* ==========================================================================
   2 · Bausteine
   ========================================================================== */

.we-karte{
    background: var(--we-karte);
    border: 1px solid var(--we-linie);
    border-radius: var(--we-radius);
    padding: 14px;
}
.we-karte-flach{ padding: 0; overflow: hidden; }
.we-stapel{ display: grid; gap: 12px; }
.we-abschnitt-kopf{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 22px 0 10px; }
.we-abschnitt-kopf:first-child{ margin-top: 0; }

.we-gedimmt{ color: var(--we-gedimmt); }
.we-klein{ font-size: var(--we-text-klein); }
.we-zahl{ font-variant-numeric: tabular-nums; white-space: nowrap; }
.we-rechts{ text-align: right; }
.we-leer{ padding: 26px 12px; text-align: center; color: var(--we-gedimmt); }
.we-lbl{ font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--we-gedimmt); }
.we-strich{ text-decoration: line-through; color: var(--we-gedimmt); font-weight: 500; }

/* Zeilen wie im Mockup */
.we-zeilen{ display: flex; flex-direction: column; }
.we-zeile{
    display: flex; align-items: center; gap: 11px;
    width: 100%; min-height: 52px; padding: 10px 13px;
    border: 0; border-bottom: 1px solid var(--we-linie-2);
    background: var(--we-karte); color: inherit; text-align: left; text-decoration: none;
    font: inherit;
}
.we-zeile:last-child{ border-bottom: 0; }
button.we-zeile, a.we-zeile{ cursor: pointer; }
button.we-zeile:hover, a.we-zeile:hover{ background: var(--we-tint); }
.we-zeile-kopf{ background: var(--we-tint); min-height: 0; }
.we-zeile-haupt{ flex: 1; min-width: 0; }
.we-zeile-titel{ font-weight: 650; font-size: 14.5px; }
.we-zeile-unter{ font-size: 12.5px; color: var(--we-gedimmt); margin-top: 1px; }
.we-zeile-wert{ text-align: right; font-weight: 700; font-size: 14.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.we-zeile-wert small{ display: block; font-weight: 500; font-size: 11.5px; color: var(--we-gedimmt); }
.we-zeile-pfeil{ color: var(--we-kiesel); flex: none; font-size: 13px; }
.we-nr{ flex: none; width: 40px; font-size: 12.5px; font-weight: 700; color: var(--we-linde-dunkel); font-variant-numeric: tabular-nums; }
.we-zeile-unterteil{ padding-left: 26px; }

/* Etiketten */
.we-tag{
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 8px; border-radius: 4px;
    font-size: 11.5px; font-weight: 700; white-space: nowrap;
    background: var(--we-neutral-hg); color: var(--we-neutral-text);
}
.we-tag-ok{ background: var(--we-ok-hg); color: var(--we-gruen); }
.we-tag-info{ background: var(--we-info-hg); color: var(--we-blau); }
.we-tag-stop{ background: var(--we-stop-hg); color: var(--we-rot); }
.we-tag-warn{ background: var(--we-warn-hg); color: var(--we-warn-text); }

/* Band ueber die ganze Breite (Zustand der Wertermittlung) */
.we-band{ display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; }
.we-band-warn{ background: var(--we-warn-hg); color: var(--we-warn-text); }
.we-band-ok{ background: var(--we-ok-hg); color: var(--we-gruen); }
.we-band-info{ background: var(--we-info-hg); color: var(--we-blau); }
.we-band-stop{ background: var(--we-stop-hg); color: var(--we-rot); }
.we-band .we-btn{ margin-left: auto; }

/* Summenleiste */
.we-summe{
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 13px 15px; background: var(--we-erde); color: var(--we-lilie);
}
.we-summe .t{ font-size: 13px; opacity: .9; }
.we-summe .v{ font-size: 19px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Rechenweg einer Position */
.we-rechnung{ background: var(--we-tint); border: 1px dashed var(--we-linie); border-radius: 7px; padding: 10px 12px; font-size: 13.5px; }
.we-rechnung .zeile{ display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.we-rechnung .zeile span:last-child{ font-variant-numeric: tabular-nums; white-space: nowrap; }
.we-rechnung .summe{ border-top: 1px solid var(--we-linie); margin-top: 6px; padding-top: 7px; font-weight: 750; }
.we-rechnung .minus{ color: var(--we-rot); }
.we-rechnung .hinweis{ color: var(--we-rot); font-weight: 600; }

/* Kontingentbalken 24 m² */
.we-balken{ display: flex; height: 9px; border-radius: 5px; background: var(--we-linie); overflow: hidden; margin-top: 7px; }
.we-balken i{ display: block; height: 100%; }
.we-legende{ display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--we-gedimmt); margin-top: 6px; }
.we-legende span{ display: inline-flex; align-items: center; gap: 5px; }
.we-punkt{ width: 9px; height: 9px; border-radius: 2px; display: inline-block; }

/* Liste (Verwaltung) */
.we-liste{ margin: 0; padding: 0; list-style: none; background: var(--we-karte); border: 1px solid var(--we-linie); border-radius: var(--we-radius); overflow: hidden; }
.we-liste > li{ display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--we-linie-2); }
.we-liste > li:first-child{ border-top: 0; }
.we-liste-haupt{ flex: 1; min-width: 0; }
.we-liste-titel{ font-weight: 650; }
.we-liste-unter{ font-size: var(--we-text-klein); color: var(--we-gedimmt); }
.we-liste a.we-liste-zeile{ display: flex; align-items: center; gap: 12px; flex: 1; color: inherit; text-decoration: none; min-height: 44px; }
.we-symbol{
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--we-tint); color: var(--we-linde-dunkel); font-size: 16px;
}

/* Tabelle mit eigenem Rollbalken, damit die Seite nicht seitlich rollt */
.we-tabelle-rahmen{ overflow-x: auto; background: var(--we-karte); border: 1px solid var(--we-linie); border-radius: var(--we-radius); }
.we-tabelle{ width: 100%; border-collapse: collapse; font-size: 14px; }
.we-tabelle th{ padding: 9px 10px; text-align: left; font-size: 11px; font-weight: 700; color: var(--we-gedimmt); text-transform: uppercase; letter-spacing: .06em; background: var(--we-tint); border-bottom: 1px solid var(--we-linie); white-space: nowrap; }
.we-tabelle td{ padding: 8px 10px; border-top: 1px solid var(--we-linie-2); vertical-align: middle; }
.we-tabelle tr:first-child td{ border-top: 0; }
.we-tabelle .we-rechts{ text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.we-tabelle tr.we-unterteil td:first-child{ padding-left: 26px; color: var(--we-weich); }
.we-tabelle tr.we-tab-summe td{ font-weight: 750; border-top: 2px solid var(--we-erde); }
.we-tabelle tr.we-tab-abzug td{ color: var(--we-rot); }
.we-tabelle tr.we-tab-ende td{ background: var(--we-erde); color: var(--we-lilie); font-weight: 750; font-size: 15px; }
.we-tabelle input{ min-height: 38px; padding: 6px 8px; font-size: 16px; border: 1px solid var(--we-linie); border-radius: 5px; font: inherit; width: 100%; }

/* Faktorenraster (40 Standjahre) und Preisstaffel (24 m²) */
.we-raster{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (min-width: 560px){ .we-raster{ grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 900px){ .we-raster{ grid-template-columns: repeat(8, 1fr); } }
.we-raster label{ display: grid; gap: 2px; font-size: 11px; font-weight: 700; color: var(--we-gedimmt); }
.we-raster input{ min-height: 40px; padding: 6px; font-size: 16px; text-align: right; border: 1px solid var(--we-linie); border-radius: 5px; font-variant-numeric: tabular-nums; width: 100%; }

/* ==========================================================================
   3 · Formulare und Schaltflaechen
   ========================================================================== */

.we-formular{ display: grid; gap: 12px; }
.we-zwei{ display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.we-drei{ display: grid; gap: 10px; grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 380px){ .we-drei{ grid-template-columns: 1fr 1fr; } }

.we-feld{ display: grid; gap: 4px; align-content: start; }
.we-feld > label, .we-feld-titel{ font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--we-gedimmt); }
.we-feld input, .we-feld select, .we-feld textarea{
    width: 100%;
    min-height: 46px;
    padding: 9px 11px;
    border: 1px solid var(--we-linie);
    border-radius: var(--we-radius-klein);
    background: var(--we-karte);
    color: var(--we-schrift);
    font: inherit; font-size: 16px; font-weight: 600;
}
.we-feld textarea{ min-height: 80px; font-weight: 500; resize: vertical; }
.we-feld input:focus, .we-feld select:focus, .we-feld textarea:focus{ outline: 2px solid var(--we-blau); outline-offset: -1px; border-color: var(--we-blau); }
.we-feld input[readonly]{ background: var(--we-tint); }
.we-feld-gross input{ min-height: 58px; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; }
.we-feld-hinweis{ font-size: 12.5px; color: var(--we-gedimmt); }
.we-feld-fehler{ font-size: 12.5px; color: var(--we-rot); font-weight: 600; }
.we-feld.we-fehler input, .we-feld.we-fehler select{ border-color: var(--we-rot); }
.we-mit-einheit{ position: relative; }
.we-mit-einheit input{ padding-right: 44px; }
.we-mit-einheit span{ position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--we-gedimmt); font-size: 13px; font-weight: 500; pointer-events: none; }

.we-schalter{ display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.we-schalter input{ width: 22px; height: 22px; accent-color: var(--we-gruen); }

.we-knoepfe{ display: flex; flex-wrap: wrap; gap: 8px; }
.we-knoepfe-voll > .we-btn{ flex: 1; }

.we-btn{
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 16px;
    border: 1px solid transparent; border-radius: var(--we-radius-klein);
    background: var(--we-blau); color: #fff;
    font: inherit; font-size: 15px; font-weight: 650;
    text-decoration: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.we-btn:hover{ background: var(--we-blau-dunkel); }
.we-btn:disabled{ opacity: .45; cursor: not-allowed; }
.we-btn-gruen{ background: var(--we-gruen); }
.we-btn-gruen:hover{ background: var(--we-gruen-dunkel); }
.we-btn-rot{ background: var(--we-rot); }
.we-btn-rot:hover{ background: var(--we-rot-dunkel); }
.we-btn-gelb{ background: var(--we-gelb); color: var(--we-erde); }
.we-btn-gelb:hover{ background: #e6c100; }
.we-btn-hell{ background: var(--we-karte); color: var(--we-blau); border-color: var(--we-blau); }
.we-btn-hell:hover{ background: var(--we-info-hg); }
.we-btn-klein{ min-height: 38px; padding: 6px 12px; font-size: 14px; }
.we-btn-icon{ min-height: 44px; width: 44px; padding: 0; background: transparent; color: var(--we-kiesel); border-color: transparent; }
.we-btn-icon:hover{ background: var(--we-tint); color: var(--we-blau); }
.we-btn-icon.we-loeschen:hover{ color: var(--we-rot); }
.we-btn-voll{ width: 100%; }

/* Reiter */
.we-reiter{ display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.we-reiter button, .we-reiter a{
    flex: none; min-height: 38px; padding: 6px 14px;
    border: 1px solid var(--we-linie); border-radius: 999px;
    background: var(--we-karte); color: var(--we-weich); text-decoration: none;
    font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer;
    display: inline-flex; align-items: center;
}
.we-reiter .we-aktiv{ background: var(--we-erde); border-color: var(--we-erde); color: var(--we-lilie); }

/* ==========================================================================
   4 · Meldungen und Fenster
   ========================================================================== */

.we-hinweis{ padding: 11px 14px; border-radius: var(--we-radius-klein); background: var(--we-info-hg); color: var(--we-blau-dunkel); }
.we-hinweis-warn{ background: var(--we-warn-hg); color: var(--we-warn-text); }
.we-hinweis-fehler{ background: var(--we-stop-hg); color: var(--we-rot); }
.we-hinweis-ok{ background: var(--we-ok-hg); color: var(--we-gruen); }

.we-toast{
    position: fixed; left: 16px; right: 16px; z-index: 60;
    bottom: calc(var(--we-nav-hoehe) + 16px + env(safe-area-inset-bottom));
    max-width: 480px; margin: 0 auto;
    padding: 12px 16px; border-radius: var(--we-radius-klein);
    background: var(--we-erde); color: #fff; font-weight: 600;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.we-toast-fehler{ background: var(--we-rot); }
@media (min-width: 760px){ .we-toast{ bottom: 24px; } }

.we-modal-hg{
    position: fixed; inset: 0; z-index: 50;
    display: flex; align-items: flex-end; justify-content: center;
    background: var(--we-abdunkeln);
}
.we-modal{
    width: 100%; max-height: 92vh; overflow-y: auto;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    background: var(--we-karte);
    border-radius: 16px 16px 0 0;
}
.we-modal-kopf{ display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
@media (min-width: 760px){
    .we-modal-hg{ align-items: center; }
    .we-modal{ max-width: 560px; border-radius: var(--we-radius); padding: 22px; }
    .we-modal-breit{ max-width: 900px; }
}

/* ==========================================================================
   5 · Anmeldung
   ========================================================================== */

/* Hintergrund: MTV-Gartenbild, fuer die Wertermittlung umgebaut (Stefan 2026-10-27:
   Slogan „erfassen • bewerten • offline“, Preisschild an der Laube, Zollstock, Klemmbrett).
   Handy: Bild oben in voller Breite, Karte darunter auf dem Rasen (Rasenfarbe aus dem Bild).
   Ab 900 px: Bild fuellt alles, Karte rechts, damit Laube und Schriftzug frei bleiben. */
.we-anmeldung{
    min-height: 100vh;
    display: flex; align-items: flex-start; justify-content: center;
    padding: calc(56vw - 24px) 16px 32px;
    background: #8fbd46 url('/img/hintergrund.jpg') center top / 100% auto no-repeat;
}
@media (min-width: 900px){
    .we-anmeldung{
        align-items: center; justify-content: flex-end;
        padding: 24px 5vw;
        background-size: cover;
        background-position: 38% center;
    }
    .we-anmeldung-karte{ background: rgba(255,255,255,.96); }
}
.we-anmeldung-karte{
    width: 100%; max-width: 400px;
    padding: 26px 22px;
    background: var(--we-karte);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.we-anmeldung-marke{ display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 4px; font-size: 23px; font-weight: 750; color: var(--we-erde); }
.we-anmeldung-marke i{ color: var(--we-linde); }
.we-anmeldung-titel{ margin-bottom: 20px; text-align: center; color: var(--we-gedimmt); }
.we-trenner{ display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--we-gedimmt); font-size: var(--we-text-klein); }
.we-trenner::before, .we-trenner::after{ content: ""; flex: 1; border-top: 1px solid var(--we-linie); }
.we-qr{ display: block; width: 200px; height: 200px; margin: 0 auto; }
.we-geheimnis{ padding: 8px; text-align: center; font-family: Consolas, monospace; font-size: 15px; letter-spacing: .05em; background: var(--we-tint); border-radius: var(--we-radius-klein); word-break: break-all; }
.we-codes{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 0; list-style: none; font-family: Consolas, monospace; font-size: 15px; }
.we-codes li{ padding: 6px; text-align: center; background: var(--we-tint); border-radius: var(--we-radius-klein); }

/* Hinweis „Als App auf den Startbildschirm“ */
.we-installieren{ display: grid; gap: 12px; }
.we-installieren-banner{
    position: fixed; left: 12px; right: 12px; z-index: 30;
    bottom: calc(var(--we-nav-hoehe) + 12px + env(safe-area-inset-bottom));
    max-width: 480px; margin: 0 auto; padding: 16px;
    background: var(--we-karte); border: 1px solid var(--we-linie); border-radius: var(--we-radius);
    box-shadow: 0 8px 28px rgba(73,58,48,.25);
}
.we-anmeldung ~ .we-installieren-banner{ bottom: calc(12px + env(safe-area-inset-bottom)); }
.we-installieren-kopf{ display: flex; align-items: center; gap: 12px; }
.we-installieren-kopf img{ border-radius: 9px; flex: none; }
.we-installieren-schritte{ margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.we-installieren-schritte i{ color: var(--we-blau); margin-left: 4px; }

/* Fotos */
.we-fotos{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 760px){ .we-fotos{ grid-template-columns: repeat(5, 1fr); } }
.we-foto{ position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--we-tint); border: 1px solid var(--we-linie); }
.we-foto img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.we-foto .we-tag{ position: absolute; left: 4px; bottom: 4px; }
.we-foto button{ position: absolute; right: 2px; top: 2px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; }

@media (prefers-reduced-motion: reduce){ *{ transition: none !important; animation: none !important; } }
