/* ResQ Dispatch – „Angebot anfordern“ (angebot.html) und die Seiten des Kontaktdienstes unter /kontakt/angebot/… (Annahme, Formular ohne
   Skript: <main class="wrap angebot-annahme">, Klassen aus dh-tools-website/kontakt-dienst/angebot.mjs). Farben und Schriften wie index.html. */
.an-seite{--grund:#F7F6F3;--text:#1F1D1B;--gedaempft:#554F4A;--linie:#E3E1DC;--rot:#E60005;--rot-dunkel:#A51E0F;--nacht:#001629;--flaeche:#fff;--zart:#EFEEEA}
.an-skip{position:absolute;left:-9999px;top:8px;background:#fff;color:#1F1D1B;padding:8px 12px;border-radius:8px;z-index:100}
.an-skip:focus{left:16px}
.an-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.an-honig{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
[hidden]{display:none !important}

/* Kopf, Titel, Fuß */
.an-kopf{position:sticky;top:0;z-index:50;background:rgba(247,246,243,0.92);border-bottom:1px solid var(--linie)}
.an-kopf-innen{max-width:1240px;margin:0 auto;padding:0 24px;height:68px;display:flex;align-items:center;gap:24px;justify-content:space-between}
.an-marke{display:flex;align-items:center;gap:10px;color:var(--text);font-family:'Archivo',sans-serif;font-size:21px;letter-spacing:-0.01em;font-weight:500}
.an-marke b{font-weight:800}
.an-marke img{width:34px;height:34px;display:block}
.an-kopf-link{font-weight:600;font-size:15px}
.an-titel{max-width:1240px;margin:0 auto;padding:56px 24px 24px}
.an-dachzeile{margin:0 0 12px;font-family:'IBM Plex Mono',monospace;font-size:13px;letter-spacing:0.08em;text-transform:uppercase;color:var(--rot)}
.an-titel h1{margin:0 0 14px;font-family:'Archivo',sans-serif;font-weight:800;font-size:clamp(32px,4.4vw,54px);line-height:1.04;letter-spacing:-0.03em;text-wrap:balance}
.an-lead{margin:0;max-width:760px;font-size:18px;line-height:1.55;color:var(--gedaempft)}
.an-fuss{border-top:1px solid var(--linie);padding:32px 24px 96px}
.an-fuss nav{max-width:1240px;margin:0 auto;display:flex;gap:22px;flex-wrap:wrap;font-size:14px}
.an-fuss a,.an-fuss span{color:var(--gedaempft)}

/* Aufteilung: Formular links, Preis rechts (schmal: untereinander, Leiste unten) */
.an-bereich{max-width:1240px;margin:0 auto;padding:8px 24px 64px;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start}
.an-seitenleiste{position:sticky;top:88px;display:flex;flex-direction:column;gap:16px}
@media (max-width:960px){.an-bereich{grid-template-columns:minmax(0,1fr)}.an-seitenleiste{position:static}}

/* Formular */
.an-form{display:flex;flex-direction:column;gap:20px}
.an-abschnitt{background:var(--flaeche);border:1px solid var(--linie);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:18px}
.an-abschnitt h2{margin:0;font-family:'Archivo',sans-serif;font-size:22px;letter-spacing:-0.01em;display:flex;flex-direction:column;gap:4px}
.an-nr{font-family:'IBM Plex Mono',monospace;font-size:12.5px;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--rot)}
.an-feld{display:flex;flex-direction:column;gap:7px;border:0;padding:0;margin:0;min-width:0}
.an-feld-name{font-weight:600;font-size:15px;padding:0}
.an-pflicht{color:var(--rot)}
.an-frei{font-weight:400;color:var(--gedaempft);font-size:14px}
.an-hilfe{margin:0;font-size:14px;line-height:1.5;color:var(--gedaempft)}
.an-feld-fehler{margin:0;font-size:14px;color:var(--rot);font-weight:500}
.an-seite input[type=number],.an-seite input[type=text],.an-seite input[type=email],.an-seite input[type=tel],.an-seite input:not([type]),.an-seite textarea{
  width:100%;padding:12px 14px;border:1px solid #C3BFB8;border-radius:10px;background:#fff;color:var(--text);font-size:16px}
.an-seite input:focus,.an-seite textarea:focus{outline:2px solid var(--rot);outline-offset:1px;border-color:var(--rot)}
.an-seite input[aria-invalid=true],.an-seite textarea[aria-invalid=true]{border-color:var(--rot);background:#FFF5F5}
.an-seite input:disabled{background:var(--zart);color:#8A847D}
.an-reihe{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}
.an-reihe-plz{grid-template-columns:140px minmax(0,1fr)}
@media (max-width:480px){.an-reihe-plz{grid-template-columns:1fr}}
.an-reihe-wahl{display:flex;flex-wrap:wrap;gap:10px}
.an-pakete,.an-optionen{display:grid;gap:10px}
.an-wahl{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid var(--linie);border-radius:14px;background:#fff;cursor:pointer}
.an-wahl:hover{border-color:#C3BFB8}
.an-wahl:has(input:checked){border-color:var(--rot);box-shadow:0 0 0 1px var(--rot) inset;background:#FFF8F7}
.an-wahl:has(input:disabled){opacity:.55;cursor:not-allowed}
.an-wahl input{margin:4px 0 0;accent-color:var(--rot);width:18px;height:18px;flex-shrink:0}
.an-wahl-klein{padding:10px 14px}
.an-wahl-text{display:flex;flex-direction:column;gap:3px;font-size:15px}
.an-wahl-text strong{font-family:'Archivo',sans-serif;font-size:17px}
.an-wahl-preis{font-weight:600;color:var(--text)}
.an-wahl-info{color:var(--gedaempft);font-size:14px;line-height:1.45}
.an-haken{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.5}
.an-haken input{margin:3px 0 0;accent-color:var(--rot);width:18px;height:18px;flex-shrink:0}
.an-haken a{text-decoration:underline}
.an-gruppe{border:1px dashed var(--linie);border-radius:14px;padding:16px;margin:0;display:flex;flex-direction:column;gap:12px}
.an-gruppe input[type=file]{width:100%;max-width:100%;min-width:0;font:inherit}
.an-steuerung{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.an-steuerung [data-zurueck]{margin-right:auto}
/* Schritte (wie probeabo.html auf resq-manage.de): Fortschritt, Zusammenfassung mit „Ändern“ */
.an-fortschritt{scroll-margin-top:80px;list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;counter-reset:an}
.an-fortschritt li{counter-increment:an;display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--gedaempft);min-width:0}
.an-fortschritt li::before{content:"";display:block;height:6px;border-radius:3px;background:var(--linie)}
.an-fortschritt li.erledigt::before{background:#2E7D32}
.an-fortschritt li[aria-current="step"]{color:var(--text)}
.an-fortschritt li[aria-current="step"]::before{background:var(--rot)}
.an-schritt-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.an-schritt-name::before{content:counter(an) " · "}
@media (max-width:599px){.an-fortschritt li:not([aria-current="step"]) .an-schritt-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
.an-abschnitt h2:focus{outline:none}
.an-abschnitt h2:focus-visible{outline:3px solid var(--rot);outline-offset:4px}
.an-zusammenfassung{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.an-block{border:1px solid var(--linie);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:6px;min-width:0}
.an-block-kopf{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.an-block h3{margin:0;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--gedaempft)}
.an-block p{margin:0;font-size:15px;overflow-wrap:anywhere}
.an-link-knopf{background:none;border:0;padding:4px 2px;color:var(--rot-dunkel);text-decoration:underline;cursor:pointer;font:inherit;font-weight:600}
.an-knopf{display:inline-block;border:0;cursor:pointer;font-weight:600;font-size:16px;color:#fff;background:var(--rot);padding:15px 26px;border-radius:10px;text-align:center}
.an-knopf:hover{background:var(--rot-dunkel);color:#fff}
.an-knopf:disabled{opacity:.6;cursor:progress}
.an-knopf-rahmen{background:#fff;color:var(--text);border:1px solid var(--text)}
.an-knopf-rahmen:hover{background:var(--text);color:#fff}
.an-knopf-klein{font-size:14px;padding:8px 14px}
.an-meldung{margin:0;padding:12px 14px;border-radius:10px;font-size:15px}
.an-fehler{background:#FFF0F0;border:1px solid var(--rot);color:#8A0003}
.an-danke{background:var(--flaeche);border:1px solid var(--linie);border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:12px;font-size:16px;line-height:1.6}
.an-danke h2{margin:0;font-family:'Archivo',sans-serif;font-size:28px}
.an-danke p{margin:0}
.an-adresse{word-break:break-all}

/* Preisvorschau */
.an-karte{background:var(--flaeche);border:1px solid var(--linie);border-radius:20px;padding:24px}
.an-karte h2,.an-karte h3{margin:0 0 12px;font-family:'Archivo',sans-serif;letter-spacing:-0.01em}
.an-vorschau{background:var(--nacht);color:#EEF3F9;border:0;box-shadow:0 30px 60px -30px rgba(0,22,41,0.6)}
.an-vorschau .an-hilfe,.an-vorschau .an-klein,.an-vorschau .an-steuer,.an-vorschau .an-zeile-hinweis{color:#A3B5C9}
.an-vorschau-inhalt{display:flex;flex-direction:column;gap:12px;transition:opacity .2s}
.an-vorschau-inhalt.an-laedt{opacity:.5}
.an-vorschau-paket{margin:0;font-weight:600;font-family:'Archivo',sans-serif;font-size:18px}
.an-zeilen{margin:0;display:flex;flex-direction:column;gap:6px;font-size:14.5px}
.an-zeile{display:flex;justify-content:space-between;gap:12px}
.an-zeile dt{display:flex;flex-direction:column}
.an-zeile dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.an-zeile-hinweis{font-size:12.5px}
.an-abo .an-zeile:last-child,.an-summen .an-haupt-summe{border-top:1px solid #123F69;padding-top:6px;font-weight:600}
.an-haupt-summe{font-size:17px}
.an-nachlass dd{color:#7FE0A0}
.an-zwischentitel{margin:6px 0 0;font-size:14px;font-family:'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:0.06em;color:#A3B5C9}
.an-klein{margin:0;font-size:13px;line-height:1.5}
.an-hinweise{margin:0;padding-left:18px;font-size:13px;line-height:1.5;color:#A3B5C9;display:flex;flex-direction:column;gap:4px}
.an-steuer{margin:12px 0 0;font-size:13px}
.an-vorschau .an-fehler{background:rgba(230,0,5,0.15);border-color:#FF2A2F;color:#fff}
.an-schritte{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:10px;font-size:14.5px}
.an-schritte li{display:flex;flex-direction:column}
.an-schritte span{color:var(--gedaempft)}
.an-leiste{display:none}
@media (max-width:960px){
  .an-leiste{display:block;position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--nacht);color:#EEF3F9;transition:transform .2s}
  .an-leiste-weg{transform:translateY(110%)}
  .an-leiste-innen{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
  .an-leiste-text{margin:0;font-weight:600;font-size:15px}
}
@media (max-width:480px){.an-abschnitt{padding:20px}.an-titel{padding-top:36px}.an-kopf-innen{padding:0 16px}}

/* Seiten des Kontaktdienstes (Annahme des Angebots, Formular ohne Skript) */
.angebot-annahme{max-width:860px;margin:0 auto;padding:56px 24px 88px;font-size:16.5px;line-height:1.6;color:#3A3632}
.angebot-annahme h1{margin:0 0 16px;font-family:'Archivo',sans-serif;font-weight:800;font-size:clamp(30px,4.5vw,46px);line-height:1.05;letter-spacing:-0.03em;color:#1F1D1B}
.angebot-annahme p{margin:0 0 14px}
.angebot-tabelle{width:100%;border-collapse:collapse;margin:0 0 18px;background:#fff;border:1px solid #E3E1DC;border-radius:12px;overflow:hidden;font-size:15px}
.angebot-tabelle th,.angebot-tabelle td{text-align:left;padding:10px 12px;border-bottom:1px solid #EFEEEA;vertical-align:top}
.angebot-tabelle th{background:#EFEEEA;font-weight:600}
.angebot-tabelle td:last-child,.angebot-tabelle th:last-child{text-align:right;white-space:nowrap}
.angebot-tabelle small{color:#554F4A}
.angebot-summen{margin:0 0 18px;padding-left:20px}
.angebot-annahme .form{display:flex;flex-direction:column;gap:14px;margin-top:20px;padding:20px;background:#fff;border:1px solid #E3E1DC;border-radius:16px}
.angebot-annahme .einwilligung{color:#1F1D1B;font-size:15px}
.angebot-annahme .einwilligung a{color:#E60005}
.angebot-annahme .feld-name{display:block;font-weight:600;margin:10px 0 6px}
.angebot-annahme textarea{width:100%;padding:10px 12px;border:1px solid #C3BFB8;border-radius:10px;font-size:15px}
.angebot-annahme summary{cursor:pointer;font-weight:600;color:#554F4A}
.angebot-annahme .btn{display:inline-block;border:0;cursor:pointer;font-weight:600;font-size:16px;padding:13px 22px;border-radius:10px}
.angebot-annahme .btn-rot{background:#E60005;color:#fff}
.angebot-annahme .btn-rot:hover{background:#A51E0F}
.angebot-annahme .btn-rahmen{background:#fff;color:#1F1D1B;border:1px solid #1F1D1B}
.angebot-annahme .btn-rahmen:hover{background:#1F1D1B;color:#fff}
