/*! sp-formular.css, Fassung 7 (17.11.2026: Fenster ab 900 px im sichtbaren Bereich, wenn die Bildschirmtastatur ihn verkleinert; Regel im Abschnitt "Rechner ab 900 px"), zuvor unveraendert seit Fassung 1 (13.11.2026): Gestaltung zu sp-formular.js (eigenes Anfrage- und Kontaktformular von carpetpythons.com).
   Ausgang ist formular.css der Attrappe unterprojekte/attrappen/formular_2026-11-12/ansehen/ (Stand 13.11.2026, 17:24, abgenommen von Philip);
   Werte und Regeln unveraendert, entfernt nur, was nur die Attrappe brauchte (Anliegen-Knoepfe, Einleitung, Sternezeile, Unterzeile,
   aufklappbare Einladung, grauer Zusatz, Weiter-Satz, Hilfezeile, Foto "ganzer Inhalt"); Zielelement #sp-formular statt #spa-kontakt.
   Neu: unsichtbares Koederfeld, Meldung bei fehlgeschlagenem Senden, Notsatz ohne Fassung, gesperrter Knopf waehrend des Sendens.
   Eigene Klassen mit Vorsatz spa- (StarPythons Anfrage), nichts am Seitenaufbau.
   Grundlage ist das Zahlfenster (stripe-v1.css, spf-pay-*): Farben, Radius 16, Schatten, Abdunkelung,
   rundes Schliessen-Kreuz, ab 900 px Fenster in der Mitte, darunter Blatt von unten.
   Bewusst anders als das Zahlfenster (je mit Nutzen):
   - Kopf (Titel, Kreuz) und Fuss (Senden) stehen fest, nur die Mitte scrollt: Senden und Schliessen
     sind nie weggescrollt, auch nicht im langen Formular.
   - Ist die Karte der Schlange weggescrollt, zeigt der Kopf sie klein: Man weiss beim Tippen, worum es geht.
   - Ab 900 px 720 statt 520 px breit, kurze Felder zu zweit: weniger Scrollen, Felder nicht ueberlang.
   - Eingabefelder 48 statt 35 px hoch: Tippflaeche ab 44 px, Schrift 16 px (kein Zoom unter iOS). */

/* z-index ueber dem festen Seitenkopf der Website (header#header, z-index 10000): Das Zahlfenster (1040/1050) liegt darunter,
   sein hoher Inhalt wuerde vom Kopf verdeckt. Hier dimmt die Abdunkelung auch den Kopf, das Fenster ist das einzige Aktive. */
.spa-backdrop { position: fixed; inset: 0; background: rgba(20, 30, 20, .45); z-index: 10040; }
.spa-backdrop[hidden], .spa-sheet[hidden], .spa-sheet [hidden] { display: none !important; }
html.spa-lock, html.spa-lock body { overflow: hidden; }

.spa-sheet {
    --a: #299738; --a-d: #21792d; --a-s: #e6f3e8; --ink: #212529; --ink2: #4d544c; --mut: #6a7168;   /* Pruefung 12.11.2026: war #6f766d, auf dem grauen Rechtskasten 4,31:1 und auf der Tierkarte 4,39:1, jetzt 4,63 bzw. 4,72 (13-14-px-Text braucht 4,5) */
    --line: #dde2da; --line2: #c9d0c6; --feld: #b5b5bb; --s2: #f4f6f3; --box: #f4f9f4;
    --err: #b3261e; --err-s: #fdf3f2; --schatten: 0 10px 30px rgba(20, 30, 20, .16);
    position: fixed; left: 0; right: 0; bottom: var(--spa-unten, 0px); z-index: 10050;
    display: flex; flex-direction: column;
    max-height: min(92vh, calc(var(--spa-vh, 100vh) - 8px));
    background: #fff; color: var(--ink); border-radius: 16px 16px 0 0; box-shadow: var(--schatten);
    font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.5; text-align: left;
}
.spa-sheet *, .spa-sheet *::before, .spa-sheet *::after { box-sizing: border-box; }
.spa-sheet:focus { outline: none; }
.spa-sheet.spa-rein { animation: spa-hoch .22s ease-out; }
@keyframes spa-hoch { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Kopf: Titel und Kreuz, fest */
.spa-kopf { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 18px 10px;
            border-bottom: 1px solid transparent; transition: border-color .15s; }
.spa-sheet.spa-gescrollt .spa-kopf { border-bottom-color: var(--line); }
.spa-kopf-text { position: relative; flex: 1; min-width: 0; min-height: 40px; display: flex; align-items: center; }
.spa-sheet .spa-titel { margin: 0; padding: 0; font-family: inherit; font-size: clamp(17px, 5.1vw, 19px); line-height: 1.25; font-weight: 500;
                        color: var(--a); letter-spacing: normal; text-transform: none; transition: opacity .15s; }
.spa-sheet .spa-titel:focus { outline: none; }
/* 13.11.2026 (Pruefung G1): kein Rahmen um die Ueberschrift, auch nicht bei :focus-visible. Sie bekommt den Fokus nur vom Skript beim Oeffnen und ist kein Bedienelement; in Safari stand der gruene Rahmen, wenn das Blatt ohne Antippen aufging. */
.spa-sheet .spa-titel:focus-visible { outline: none; }
.spa-mini { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; min-width: 0;
            opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.spa-sheet.spa-mini-an .spa-titel { opacity: 0; }
.spa-sheet.spa-mini-an .spa-mini { opacity: 1; visibility: visible; }
.spa-mini img { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #e9ece7; }
.spa-mini-text { min-width: 0; line-height: 1.25; }
.spa-mini-text b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spa-mini-text span { display: block; font-size: 13px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Schliessen: aussen wie im Zahlfenster 34 px rund, Tippflaeche 44 px */
.spa-zu { position: relative; flex: none; width: 34px; height: 34px; margin: 0 -6px 0 0; padding: 0; border: 0; border-radius: 50%;
          background: var(--s2); color: var(--ink2); cursor: pointer; display: grid; place-items: center; }
.spa-zu::before { content: ""; position: absolute; inset: -5px; }
.spa-zu:hover { background: var(--line); }
.spa-zu:focus-visible { outline: 3px solid rgba(41, 151, 56, .5); outline-offset: 2px; }
.spa-zu svg { width: 16px; height: 16px; }

/* Mitte: scrollt */
.spa-rumpf { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 18px 22px; }


/* Karte der Schlange */
.spa-tier { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 10px 14px 10px 10px;
            background: var(--box); border-radius: 12px; }
.spa-tier img { flex: none; width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #e9ece7; }
.spa-tier-text { flex: 1; min-width: 0; line-height: 1.3; }
.spa-tier-name { display: block; font-size: 17px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }   /* Stand 7: lange Namen brechen um */
.spa-tier-meta { display: block; margin-top: 2px; font-size: 14px; color: var(--mut); }
/* Stand 7: Trennpunkt vor jedem Teil; der Punkt am Zeilenanfang liegt links ausserhalb und wird abgeschnitten, so haengt nie ein Punkt am Zeilenende oder -anfang */
.spa-tier-meta { overflow: hidden; }
.spa-meta-innen { display: flex; flex-wrap: wrap; margin-left: -16px; }
.spa-nobr { white-space: nowrap; }   /* "Animal ID 26-347" bricht nicht am Bindestrich */
.spa-nobr::before { content: "·"; display: inline-block; width: 16px; text-align: center; }
.spa-tier-preis { flex: none; font-size: 18px; font-weight: 700; color: var(--ink); }

/* Versandtermin (US-Ansicht), wie .spf-pay-ships */
.spa-versand { margin: 0 0 18px; padding: 10px 14px; background: #fff3d6; border: 1px solid #f3d79b; border-radius: 10px;
               color: #7a4a00; font-size: clamp(13px, 3.6vw, 14px); line-height: 1.45; font-weight: 500; text-wrap: balance; }
/* Stand 7: 14 px ab 390, darunter fliessend bis 13 px (Luft fuer Safari). Nachbesserung 13.11.2026: kein nowrap mehr. Der englische Satz
   passt in eine Zeile und bleibt eine Zeile; der deutsche ("... am 31. März 2027.") passt am Telefon nicht und bricht ausgewogen auf zwei
   Zeilen um (ohne balance normal umgebrochen; der Termin bleibt durch geschuetzte Leerzeichen im Skript immer zusammen). */

.spa-sheet .spa-pflicht-zeile { margin: 0 0 2px; font-size: 13px; line-height: 1.4; color: var(--mut); text-align: right; }
.spa-stern { color: var(--err); font-weight: 600; }
.spa-frei { font-weight: 400; color: var(--mut); }

/* Felder */
.spa-reihe { display: grid; grid-template-columns: 1fr; column-gap: 16px; }
.spa-feld { margin: 0 0 18px; min-width: 0; }
.spa-dank h3:focus, .spa-titel:focus { outline: none; }
.spa-sheet .spa-feld > label, .spa-sheet .spa-label { display: block; margin: 0 0 6px; padding: 0; font-size: 15px; font-weight: 600;
                                                      color: var(--ink); line-height: 1.35; }
.spa-sheet .spa-eingabe { display: block; width: 100%; height: 48px; margin: 0; padding: 0 12px; font-family: inherit; font-size: 16px;
                          line-height: normal; color: var(--ink); background: #fff; border: 1px solid var(--feld); border-radius: 8px;
                          box-shadow: none; -webkit-appearance: none; appearance: none; }
.spa-sheet textarea.spa-eingabe { height: auto; min-height: 96px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.spa-sheet select.spa-eingabe { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234d544c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.spa-sheet .spa-eingabe::placeholder { color: #9aa098; }
.spa-sheet .spa-eingabe:focus { outline: none; border-color: var(--a); box-shadow: 0 0 0 3px rgba(41, 151, 56, .28); }
.spa-feld.spa-falsch .spa-eingabe { border-color: var(--err); background: var(--err-s); }
.spa-feld.spa-falsch .spa-eingabe:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .2); }
.spa-fehler { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--err); }
.spa-fehler svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }

/* Land: Liste mit Tippen-zum-Suchen */
.spa-combo { position: relative; }
.spa-sheet .spa-combo .spa-eingabe { padding-right: 40px; }
.spa-combo-pfeil { position: absolute; right: 0; top: 0; width: 44px; height: 48px; border: 0; background: transparent; color: var(--ink2);
                   display: grid; place-items: center; cursor: pointer; padding: 0; }
.spa-combo-pfeil svg { width: 14px; height: 14px; }
.spa-liste { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; max-height: 248px; overflow-y: auto; margin: 0; padding: 6px 0;
             list-style: none; background: #fff; border: 1px solid var(--line2); border-radius: 10px; box-shadow: var(--schatten); }
.spa-liste li { padding: 10px 14px; min-height: 44px; display: flex; align-items: center; font-size: 16px; cursor: pointer; }
.spa-liste li[aria-selected="true"], .spa-liste li:hover { background: var(--a-s); }
.spa-liste li.spa-trenner { min-height: 0; padding: 0; margin: 6px 0; border-top: 1px solid var(--line); pointer-events: none; }
.spa-liste li.spa-leer { color: var(--mut); cursor: default; }

/* Einwilligungen (Wortlaut wie heute) */
.spa-recht { margin: 4px 0 0; padding: 14px 16px 6px; background: var(--s2); border-radius: 10px; }
.spa-rechtstext { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink2); }
.spa-rechtstext a { color: var(--a-d); text-decoration: underline; }
/* Fassung 4 (16.11.2026): Links im Formular bekommen mit der Tab-Taste denselben Rahmen wie Haken und Knoepfe (die Seite nahm ihn weg, gemessen WebKit und Chromium) */
.spa-sheet a:focus-visible { outline: 3px solid rgba(41, 151, 56, .5); outline-offset: 2px; border-radius: 2px; }
.spa-recht-a .spa-rechtstext { padding-bottom: 2px; }
.spa-sheet .spa-rechtshinweis { margin: 0 0 10px; color: var(--mut); }
.spa-sheet .spa-feld > .spa-haken { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 10px 0 12px; min-height: 44px; cursor: pointer;
             font-size: 15px; line-height: 1.45; font-weight: 400; color: var(--ink); }
.spa-haken input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--a); cursor: pointer; }
.spa-haken input:focus-visible { outline: 3px solid rgba(41, 151, 56, .5); outline-offset: 2px; }
.spa-feld-haken { margin: 0; }
.spa-feld-haken.spa-falsch .spa-haken input { outline: 2px solid var(--err); outline-offset: 1px; }
.spa-feld-haken .spa-fehler { margin: -6px 0 10px 34px; }

/* Fuss: Senden, fest */
.spa-fuss { position: relative; z-index: 1; flex: none; padding: 10px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff;
            transition: box-shadow .15s; }
/* Schatten ueber dem Fuss, solange unten noch etwas folgt: ein angeschnittenes Feld liest sich als "geht weiter" */
.spa-sheet.spa-mehr .spa-fuss { box-shadow: 0 -10px 18px -10px rgba(20, 30, 20, .28); }
.spa-fuss-fehler { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 8px; padding: 0; border: 0; background: none; text-align: left;
                   font: inherit; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--err); cursor: pointer; }
.spa-fuss-fehler u { text-underline-offset: 2px; }
.spa-fuss-fehler svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.spa-fuss-zeile { display: flex; align-items: center; gap: 10px; }
.spa-fuss-info { display: none; }
.spa-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 22px; margin: 0;
             border: 0; border-radius: 8px; font-family: inherit; font-size: 18px; line-height: 1.2; font-weight: 700; cursor: pointer; text-decoration: none; }
.spa-knopf:focus-visible { outline: 3px solid rgba(41, 151, 56, .5); outline-offset: 3px; }
.spa-knopf-voll { flex: 1; background: var(--a); color: #fff; }
.spa-knopf-voll:hover { background: var(--a-d); color: #fff; }
.spa-knopf-rand { flex: none; background: #fff; color: var(--a-d); box-shadow: inset 0 0 0 2px var(--a); }
.spa-knopf-rand:hover { background: var(--a-s); }
/* Stand 4: "Anschrift mitschicken" am Telefon einzeilig, Knoepfe im Fuss des Danks etwas schmaler gepolstert */
.spa-fuss-zeile[data-fuss="ergaenzung"] .spa-knopf { padding: 10px 14px; white-space: nowrap; }
/* Stand 7: bei 360 px fehlte 1 px fuer "Schließen" + "Anschrift mitschicken"; schmale Telefone mit 8 px Abstand */
@media (max-width: 379px) { .spa-fuss-zeile[data-fuss="ergaenzung"] { gap: 8px; } }

/* Dank und Ergaenzung */
.spa-dank { display: flex; gap: 14px; align-items: flex-start; margin: 4px 0 18px; }
.spa-dank-zeichen { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--a); color: #fff; display: grid; place-items: center; }
.spa-dank-zeichen svg { width: 22px; height: 22px; }
.spa-sheet .spa-dank h3 { margin: 6px 0 4px; font-family: inherit; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.spa-dank p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.spa-dank p b { color: var(--ink); font-weight: 600; word-break: break-all; }
.spa-beleg { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 8px 12px 8px 8px; background: var(--box); border-radius: 12px;
             font-size: 14px; color: var(--ink2); line-height: 1.35; }
/* ohne Foto (eingebettete Tieranfrage auf /de/anfrage?tier-id=): Text links mit demselben Innenabstand wie rechts, Nachbesserung 13.11.2026 */
.spa-tier.spa-ohne-bild { padding-left: 14px; }
.spa-beleg.spa-ohne-bild { padding-left: 12px; }
.spa-beleg img { flex: none; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.spa-beleg b { display: block; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.spa-dank p.spa-ergaenzt-zeile { margin-top: 6px; color: var(--ink); font-weight: 500; }
/* Stand 4: Kasten zur Anschrift im Dank, sofort sichtbar (Rahmen wie der aufgeklappte Kasten in Stand 3) */
.spa-einladung { border: 1px solid var(--line2); border-radius: 12px; background: #fff; }
.spa-sheet .spa-kasten-titel { margin: 0; padding: 14px 16px 10px; font-family: inherit; font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.spa-ergaenzung { padding: 2px 16px 2px; }
.spa-ergaenzung > p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--ink2); }

/* Tablet hochkant und groesser: zwei Spalten, Fuss mit Vertrauenszeile links */
@media (min-width: 600px) {
    .spa-kopf { padding: 18px 28px 10px; }
    .spa-sheet .spa-titel { font-size: 22px; }
    .spa-rumpf { padding: 2px 28px 24px; }
    .spa-fuss { padding: 12px 28px calc(14px + env(safe-area-inset-bottom)); }
    .spa-reihe { grid-template-columns: 1fr 1fr; }
    .spa-fuss-info { display: block; flex: 1; min-width: 0; font-size: 13px; line-height: 1.55; color: var(--mut); }
    .spa-knopf-voll { flex: none; min-width: 230px; }
    .spa-fuss-zeile[data-fuss="ergaenzung"] { justify-content: flex-end; }
    .spa-tier img { width: 80px; height: 80px; }
    .spa-tier-name { font-size: 18px; }
    .spa-tier-preis { font-size: 20px; }
    .spa-ergaenzung { padding: 2px 20px 4px; }
    .spa-sheet .spa-kasten-titel { padding: 16px 20px 10px; }
    .spa-reihe-plz { grid-template-columns: 150px 1fr; }
}

/* Rechner ab 900 px: Fenster in der Mitte wie das Zahlfenster, aber 720 px breit */
@media (min-width: 900px) {
    .spa-sheet { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%);
                 width: 720px; max-width: calc(100vw - 32px); max-height: 92vh; border-radius: 16px; }
    /* Fassung 7 (17.11.2026): Am iPad (13 Zoll hochkant 1032 px, quer 1376 px) blieb das Fenster mit Bildschirmtastatur mittig im festen
       Bereich und 886 px hoch; Haken, Datenschutz und Senden lagen hinter der Tastatur (iOS-Simulator 27.2). Wie am Telefon nutzt es jetzt
       den sichtbaren Bereich, den das Skript in --spa-vh und --spa-unten setzt: Mitte des sichtbaren Bereichs, hoechstens dessen Hoehe
       weniger 16 px, der Rumpf scrollt. Ohne Tastatur ist --spa-unten 0 und --spa-vh die Fensterhoehe, also wie bisher 50 % und 92vh. */
    .spa-sheet:not(.spa-eingebettet) { top: calc(100% - var(--spa-unten, 0px) - var(--spa-vh, 100%) / 2);
                                        max-height: min(92vh, calc(var(--spa-vh, 100vh) - 16px)); }
    .spa-sheet.spa-rein { animation: spa-ein .18s ease-out; }
    @keyframes spa-ein { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); } }
    .spa-kopf { padding: 20px 26px 12px; }
    .spa-sheet .spa-titel { font-size: 28px; }
    .spa-rumpf { padding: 2px 26px 24px; }
    .spa-fuss { padding: 14px 26px 18px; }
    .spa-tier img { width: 88px; height: 88px; }
    .spa-tier-name { font-size: 19px; }
    .spa-tier-preis { font-size: 22px; }
    .spa-sheet textarea.spa-eingabe { min-height: 88px; }
}

/* Niedrige Rechnerbildschirme (z. B. 1024 x 768): Karte und Einleitung knapper, damit mehr Formular in den ersten Blick passt */
@media (min-width: 900px) and (max-height: 820px) {
    .spa-kopf { padding-top: 16px; padding-bottom: 8px; }
    .spa-tier { margin-bottom: 14px; padding: 8px 14px 8px 8px; }
    .spa-tier img { width: 64px; height: 64px; }
    .spa-sheet .spa-titel { font-size: 26px; }
}

/* Pruefung 12.11.2026: kein einzelnes Wort in der letzten Zeile. Gemessen in Safari 27.2 und Chrome 157: "inquiry." allein unter
   "Thanks, we've received your" (390 und 402 px), "uns." allein (375, 382, 360 px), "(optional)" allein unter dem Haken (390, 402 px),
   "(freiwillig)" allein (iPad hoch), "policy." allein (440 px). Dank-Ueberschrift mit pretty statt balance: balance trennte "Thanks, we've / received your inquiry.". balance: Safari ab 17.5, Chrome ab 114; pretty: Safari ab 26, Chrome ab 117;
   aeltere Browser brechen wie bisher um. */
.spa-sheet .spa-titel, .spa-sheet .spa-kasten-titel { text-wrap: balance; }
.spa-sheet .spa-dank h3, .spa-haken > span, .spa-rechtstext, .spa-dank p, .spa-ergaenzung > p, .spa-tier-name { text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) {
    .spa-sheet.spa-rein { animation: none; }
    .spa-sheet, .spa-sheet * { transition: none !important; }   /* Bau B: auch die kurzen Ueberblendungen (Kopfkarte, Rahmen, Schatten) */
}

/* 13.11.2026 (Inhaber): Kasten mit dem Haken. Hinweis "Nur wenige Mails im Jahr ..." klein und grau im Fluss hinter "(freiwillig)";
   alle Texte an einer linken Kante (Haken 22 px + Abstand 12 px = 34 px); gleiche Abstaende: 8 px je Block oben und unten, Kasten 8 px innen,
   so stehen zwischen Blocks und zu den Kanten des Kastens je 16 px. */
.spa-recht { padding: 8px 16px; }
.spa-sheet .spa-feld > .spa-haken { padding: 8px 0; min-height: 0; cursor: default; }
.spa-haken-kasten { flex: none; position: relative; display: block; margin: 0; padding: 0; cursor: pointer; line-height: 0; }
.spa-haken-kasten::before { content: ""; position: absolute; inset: -11px -11px -11px -11px; }   /* Tippflaeche 44 px um den Haken */
.spa-haken-kasten input { margin-top: 0; }
.spa-haken-text { flex: 1; min-width: 0; margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.spa-haken-text label { display: inline; margin: 0; font: inherit; color: inherit; cursor: pointer; }
.spa-sheet .spa-recht .spa-rechtstext { margin: 0 0 0 34px; padding: 8px 0; }
.spa-sheet .spa-recht .spa-rechtshinweis { margin: 0 0 0 34px; }
.spa-recht-a .spa-rechtstext { padding-bottom: 8px; }
.spa-satz { white-space: nowrap; }   /* Hinweis bricht nur zwischen den Saetzen um */
/* 13.11.2026, zweite Vorgabe (Inhaber): Hinweis steht in der Klammer hinter dem Satz; der Feinschliff mit eigenem Hinweisblock entfaellt. */

/* 13.11.2026: Die E-Mail-Adresse im Dank rueckt als Ganzes in die naechste Zeile, statt mitten im Wort zu brechen; nur eine Adresse, die laenger ist als eine ganze Zeile, bricht in sich um. */
.spa-sheet .spa-dank-text .spa-adr { display: inline-block; max-width: 100%; overflow-wrap: anywhere; vertical-align: top; }

/* 13.11.2026 (Pruefung G2 und G9)
   G2: Der kurze Dank in der Ansicht mit Kaufknopf (eine Zeile, kein Anschrift-Kasten) stand am Rechner im 720-px-Fenster mit viel Leere;
       dort 520 px wie das Zahlfenster der Website.
   G9: Hebt die Bildschirmtastatur das Blatt an (Abstand nach unten > 0), bekommt es auch unten runde Ecken; sonst gerade Unterkante am Bildschirmrand. */
@media (min-width: 900px) { .spa-sheet.spa-dank-kurz { width: 520px; } }
/* 13.11.2026, 12:27 (Safari-Pruefung F1): Der weisse Fuss deckte die runden unteren Ecken des Blatts zu (auch im Fenster ab 900 px: oben rund, unten eckig);
   er bekommt darum denselben Radius. Runde untere Ecken ueber der Tastatur nur am Telefon (bis 599 px): dort bleibt ein Streifen der Seite zwischen Blatt und
   Tastatur; am iPad sitzt das Blatt direkt auf der Tastatur, runde Ecken gaeben dort dunkle Zwickel. */
@media (max-width: 599px) { .spa-sheet.spa-angehoben, .spa-sheet.spa-angehoben .spa-fuss { border-radius: 16px; } .spa-sheet.spa-angehoben .spa-fuss { border-top-left-radius: 0; border-top-right-radius: 0; } }
@media (min-width: 900px) { .spa-fuss { border-radius: 0 0 16px 16px; } }

/* 13.11.2026 (Inhaber, 14:45, "A"): dasselbe Formular eingebettet in die Kontaktseite (Ziel #sp-formular an der Stelle der HubSpot-Einbettung).
   Alle Regeln haengen an .spa-eingebettet; die Ueberblendung der Tierseite bleibt unveraendert.
   Kein Fenster: kein Kreuz, kein fester Fuss, keine Abdunkelung. Das Formular fuellt die Inhaltsspalte der Seite (unter 992 px die ganze
   Textbreite, ab 992 px die linke Spalte neben den Bewertungen wie heute HubSpot); Felder, grauer Kasten und Knoepfe wie in der Ueberblendung.
   Senden-Knopf 18 px unter dem grauen Kasten (wie Nachricht -> Kasten und Feld -> naechste Beschriftung); am Telefon volle Breite, ab 600 px links und so breit wie
   eine Feldspalte (Vorschlag, nicht vom Inhaber festgelegt). */
.spa-sheet.spa-eingebettet { position: static; left: auto; right: auto; top: auto; bottom: auto; transform: none; z-index: auto;
    display: block; width: auto; max-width: none; max-height: none; background: transparent; border-radius: 0; box-shadow: none; animation: none; }
.spa-sheet.spa-eingebettet .spa-rumpf { overflow: visible; padding: 0; }
.spa-sheet.spa-eingebettet .spa-fuss { position: static; margin: 18px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.spa-sheet.spa-eingebettet .spa-fuss-info { display: none; }
@media (min-width: 600px) {
    .spa-sheet.spa-eingebettet .spa-fuss-zeile { justify-content: flex-start; }
    .spa-sheet.spa-eingebettet .spa-knopf-voll { flex: none; width: calc((100% - 16px) / 2); min-width: 0; }
}
/* Ab 992 px steht rechts neben dem Formular die erste Bewertung (Karte beginnt 40 px unter der Spalte: mt-4 + mt-3 der Website).
   Die Beschriftung "Vorname" beginnt auf derselben Hoehe wie die Karte: 20 px Abstand oben (gemessen 13.11.2026 bei 1366 px). */
@media (min-width: 992px) { .spa-sheet.spa-eingebettet { margin-top: 20px; } }
/* Nachbesserung 13.11.2026: gemessen lag die Beschriftung "Vorname" 0,18 px unter der Kartenoberkante (Zeile "* Pflichtangabe" 18,2 + 2 px hoch)
   und der Kreis des Danks 20 px darueber (im Dank gibt es die Zeile "* Pflichtangabe" nicht). Die Karte beginnt 40 px unter der Spalte;
   Formular: 40 - 20,18 = 19,82 px, Dank (auch nach "Anschrift mitschicken"): 40 px. */
@media (min-width: 992px) { .spa-sheet.spa-eingebettet { margin-top: 19.82px; } .spa-sheet.spa-eingebettet.spa-nach-dank { margin-top: 40px; } }
/* Die Website setzt Ueberschriften h3 im Inhalt mit eigener Groesse, Staerke, Farbe und Abstaenden (staerker als .spa-sheet .spa-dank h3);
   eingebettet gilt wieder die Dank-Ueberschrift der Ueberblendung (gemessen 13.11.2026: sonst 18,1 statt 20 px, 500 statt 600, Abstand 18 statt 6 px). */
#sp-formular .spa-sheet .spa-dank h3 { margin: 6px 0 4px; padding: 0; font-family: inherit; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--ink);
    letter-spacing: normal; text-transform: none; }
/* 13.11.2026 (Kontakt als Ueberblendung, Messung): Bei 820 px stand im Fehlerzustand "koennen." allein in der letzten Zeile der Meldung
   "Bitte gib deine E-Mail-Adresse an, damit wir antworten koennen." (Tieranfrage und Kontaktfenster); Fehlermeldungen brechen darum wie die
   uebrigen Texte mit text-wrap: pretty. */
.spa-fehler > span, .spa-fuss-fehler > span { text-wrap: pretty; }

/* Bau B, 13.11.2026 */
/* Koederfeld gegen Spam: fuer Menschen unsichtbar und nicht erreichbar (aria-hidden, tabindex -1), ausserhalb des Flusses, verschiebt nichts */
.spa-koeder { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Senden fehlgeschlagen: ueber dem Knopf wie die Sammelzeile, Eingaben bleiben stehen */
.spa-fuss-meldung { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 8px; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--err); }
.spa-fuss-meldung svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.spa-fuss-meldung > span { text-wrap: pretty; }
.spa-fuss-meldung a { color: var(--err); text-decoration: underline; }
/* Waehrend des Sendens gesperrt */
.spa-knopf[disabled] { cursor: progress; opacity: .75; }
/* Ohne Fassung: Notsatz im Zielelement */
.spa-notsatz { margin: 20px 0; font-size: 16px; line-height: 1.5; }
