/*!
 * sc-anfrage-stellen.css — Karte und Vollbild-Blatt „Anfrage stellen“ (16.11.2026)
 *
 * Eigene Datei statt <style> in der Komponente: Astro buendelt Komponenten-Styles fuer jede
 * Seite, die die Komponente IMPORTIERT — auch wenn sie wegen des Schalters gar nicht
 * gerendert wird. Dann aenderten sich alle CSS-Dateien und damit jede Seite. So laedt das
 * hier nur, wo die Karte wirklich steht (src/components/AnfrageStellen.astro).
 *
 * Farbe: Der Rahmen der Karte im Markenverlauf ist das einzige Farbige im Hero. Blau fuer
 * die gewaehlte Kachel und den Hauptknopf, Gruen nur im Moment des Lobs.
 * Die Hub-Styles (hub.css) faerben jedes <img> grau und zentrieren den Hero-Text — deshalb
 * die doppelten Klassen in den Selektoren unten.
 */

/* ── Karte (Frage 1 im Hero) ─────────────────────────────────────────────────────── */
.as-karte {
  --as-blau: var(--brand-blue, #4eb4d7);
  --as-gruen: var(--brand-green, #48bf91);
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 32rem;
  margin: 1.25rem 0 0;
  padding: 1rem 0.875rem 0.875rem;
  border: 2px solid transparent;
  border-radius: 1rem;
  background:
    linear-gradient(var(--surface, #101112), var(--surface, #101112)) padding-box,
    var(--grad, linear-gradient(135deg, #4eb4d7, #48bf91)) border-box;
  box-shadow: 0 0 0 4px rgba(78, 180, 215, 0.1), 0 14px 40px rgba(78, 180, 215, 0.1);
  text-align: left;
  color: var(--text, #fff);
}
.as-karte *, .as-karte *::before, .as-karte *::after { box-sizing: border-box; }
.as-karte .as-karte__anker { position: absolute; left: 0; bottom: 60px; width: 1px; height: 1px; pointer-events: none; }
.as-karte .as-karte__titel {
  margin: 0 0 0.125rem;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--text, #fff);
}
.as-karte .as-karte__hinweis { margin: 0 0 0.75rem; font-size: 0.8125rem; line-height: 1.4; color: var(--text-faint, rgba(255, 255, 255, 0.58)); }
.as-karte .as-karte__kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.as-karte .as-karte__kacheln[hidden] { display: none; }
.as-karte .as-kachel {
  appearance: none;
  min-width: 0;
  min-height: 7.5rem;
  margin: 0;
  padding: 0.5rem 0.25rem 0.625rem;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.25rem;
  border: 1px solid var(--line-strong, rgba(255, 255, 255, 0.18));
  border-radius: 0.75rem;
  background: var(--surface-2, #17181a);
  color: var(--text, #fff);
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 180ms var(--ease, ease), transform 180ms var(--ease, ease), background-color 180ms var(--ease, ease);
}
.as-karte .as-kachel:hover { border-color: rgba(255, 255, 255, 0.34); }
.as-karte .as-kachel:active { transform: scale(0.97); }
.as-karte .as-kachel:focus-visible { outline: 2px solid var(--as-blau); outline-offset: 2px; }
.as-karte .as-kachel.is-gewaehlt { border-color: var(--as-blau); background: rgba(78, 180, 215, 0.14); box-shadow: inset 0 0 0 1px var(--as-blau); }
.as-karte .as-kachel img {
  display: block;
  width: min(4.5rem, 100%);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  filter: none;
  opacity: 1;
}
.as-karte .as-kachel__text {
  max-width: 100%;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.as-karte.is-gesendet .as-karte__hinweis { margin-bottom: 0.75rem; font-size: 0.875rem; color: var(--text-muted, rgba(255, 255, 255, 0.72)); }
.as-karte .as-karte__knopf { width: 100%; }

/* Handy: Karte statt der zwei Hero-Knoepfe. Ab 56rem bleiben die Knoepfe und die Karte geht. */
@media (min-width: 56.0625rem) {
  .as-karte--handy { display: none; }
}
@media (max-width: 56rem) {
  .as-handy-aus { display: none !important; }
}

/* Leistungsseite: Karte direkt unter der Subline, Lead-Text darunter */
.service-hero-copy .as-karte { margin-top: 1.25rem; }

/* Hubs (Roh-HTML aus WordPress): Karte mittig unter der Subline, Hero am Handy kompakter,
   damit sie auch bei 360×640 ganz im Bild ist. */
.as-hub .scp-hero__text .as-karte { margin: 0 auto; }
@media (max-width: 56rem) {
  .as-hub .scp-hero { padding-top: 1.25rem; }
  .as-hub .scp-heading { font-size: clamp(1.75rem, 7.5vw, 2.5rem); margin-bottom: 0.75rem; }
  .as-hub .scp-subline { margin-bottom: 1rem; font-size: 0.9375rem; }
  .as-hub .scp-hero__text { margin-bottom: 2rem; }
}

/* Eigene Seite: Karte immer sichtbar */
.as-seite .as-karte { margin: 1.5rem auto 0; }

/* ── Ausblenden, solange das Blatt offen ist ─────────────────────────────────────── */
html.sc-as-offen #cookie-banner,
html.sc-as-offen .wa-widget,
html.sc-as-offen .sticky-cta,
html.sc-as-offen .as-sticky { display: none !important; }

/* Leistungsseite am Handy: die Karte ersetzt die zwei Hero-Knoepfe (ohne :has() bleiben sie stehen),
   und der Hero rueckt nach oben, damit die Karte beim Erstbesuch moeglichst ueber dem
   Cookie-Hinweis steht (360×740: Karte endete sonst bei 710 px). */
@media (max-width: 56rem) {
  .service-hero-copy:has(.as-karte) .service-actions { display: none; }
  .service-hero:has(.as-karte) { padding-top: 1.25rem; }
}

/* Eigene Sticky-Leiste der Hubs: Aussehen wie StickyCta.astro (dort scoped, hier nachgebaut) */
.as-sticky { display: none; }
@media (max-width: 56rem) {
  body:has(.as-sticky) { padding-bottom: calc(var(--sticky-cta-h, 4rem) + env(safe-area-inset-bottom, 0px)); }
  .as-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    padding: 0.625rem var(--gutter, 1.125rem) calc(0.625rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line-strong, rgba(255, 255, 255, 0.18));
    border-radius: var(--radius, 1rem) var(--radius, 1rem) 0 0;
    background: var(--bg, #000);
    transform: translateY(110%);
    transition: transform var(--dur-slow, 420ms) var(--ease, ease);
  }
  .as-sticky.is-da { transform: none; }
  .as-sticky__innen { display: flex; align-items: center; gap: 0.625rem; max-width: 34rem; margin-inline: auto; }
  .as-sticky__preis { display: grid; flex: 0 1 auto; min-width: 0; line-height: 1.15; }
  .as-sticky__wert { font-family: var(--font-display, sans-serif); font-size: 1.25rem; letter-spacing: 0.02em; color: var(--brand-green, #48bf91); }
  .as-sticky__notiz { font-size: 0.6875rem; color: var(--text-faint, rgba(255, 255, 255, 0.5)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .as-sticky .as-sticky__knopf { flex: 1 1 auto; justify-content: center; min-height: 2.75rem; }
  .as-sticky .as-sticky__knopf:hover { transform: none; }
}

/* Eigene Seite: Bereichs-Kacheln mit Linien-Symbol statt Figur */
.as-karte .as-kachel svg { display: block; width: min(4.5rem, 100%); height: auto; aspect-ratio: 1; padding: 0.75rem; color: var(--text-muted, rgba(255, 255, 255, 0.72)); }

/* ── Blatt ───────────────────────────────────────────────────────────────────────── */
.as-blatt {
  --as-blau: var(--brand-blue, #4eb4d7);
  --as-gruen: var(--brand-green, #48bf91);
  --as-flaeche: var(--surface, #101112);
  --as-flaeche2: var(--surface-2, #17181a);
  --as-flaeche3: #1f2124;
  --as-linie: var(--line, rgba(255, 255, 255, 0.1));
  --as-linie2: var(--line-strong, rgba(255, 255, 255, 0.18));
  --as-text: var(--text, #fff);
  --as-gedaempft: var(--text-muted, rgba(255, 255, 255, 0.72));
  --as-blass: rgba(255, 255, 255, 0.58);
  --as-tinte: #0b0b0b;
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  justify-content: center;
  background: #000;
  color: var(--as-text);
  font-family: var(--font, 'Montserrat', system-ui, sans-serif);
  font-size: 0.9375rem;
  line-height: 1.55;
  transform: translateY(102%);
  transition: transform 340ms var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
  overscroll-behavior: contain;
}
.as-blatt[hidden] { display: none; }
.as-blatt.is-offen { transform: none; }
.as-blatt *, .as-blatt *::before, .as-blatt *::after { box-sizing: border-box; }
.as-blatt button { font-family: inherit; }
.as-blatt :focus-visible { outline: 2px solid var(--as-blau); outline-offset: 2px; }
.as-blatt [tabindex="-1"]:focus { outline: none; }
.as-blatt img { display: block; max-width: 100%; height: auto; filter: none; }

.as-spalte {
  width: 100%;
  max-width: 36rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
@media (min-width: 56.0625rem) {
  .as-blatt { background: rgba(0, 0, 0, 0.94); }
  .as-spalte { background: var(--bg-elevated, #0b0b0b); border-inline: 1px solid var(--as-linie); }
}

.as-kopf { flex: none; display: grid; gap: 0.625rem; padding: calc(0.75rem + env(safe-area-inset-top, 0px)) max(0.875rem, env(safe-area-inset-right, 0px)) 0 max(0.875rem, env(safe-area-inset-left, 0px)); }
.as-kopf__zeile { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 2.75rem; }
.as-rund {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--as-linie);
  border-radius: 50%;
  background: transparent;
  color: var(--as-gedaempft);
  cursor: pointer;
}
.as-rund:hover { color: var(--as-text); border-color: var(--as-linie2); }
.as-rund[disabled] { opacity: 0.4; cursor: not-allowed; }
.as-prog { flex: 1; min-width: 0; padding-left: 0.25rem; font-size: 0.8125rem; font-weight: 700; color: var(--as-gedaempft); }
.as-balkenzeile { display: flex; align-items: center; gap: 0.625rem; min-height: 1.625rem; }
.as-balken { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.as-balken i { display: block; height: 6px; border-radius: 4px; background: var(--as-flaeche3); position: relative; overflow: hidden; }
.as-balken i::after { content: ""; position: absolute; inset: 0; background: var(--as-blau); transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease, ease); }
.as-balken i.is-an::after { transform: scaleX(1); }
/* Plakette: gruen nur im Moment des Lobs, danach neutral mit gruenem Haken */
.as-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1875rem 0.5625rem;
  border: 1px solid var(--as-linie2);
  border-radius: 999px;
  background: var(--as-flaeche3);
  font-size: 0.71875rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(.34, 1.56, .64, 1), background-color 600ms ease, color 600ms ease, border-color 600ms ease;
}
.as-pill.is-da { opacity: 1; transform: scale(1); }
.as-pill .as-pill__ok { color: var(--as-gruen); font-weight: 800; }
.as-pill.is-lob { background: var(--as-gruen); border-color: var(--as-gruen); color: var(--as-tinte); }
.as-pill.is-lob .as-pill__ok { color: var(--as-tinte); }

/* Steckbrief: eine Zeile, waechst nie in die Hoehe */
.as-team { display: flex; align-items: center; gap: 0.5rem; min-width: 0; min-height: 2.625rem; padding: 0.3125rem 0.5rem; overflow: hidden; border: 1px solid var(--as-linie); border-radius: 0.75rem; background: var(--as-flaeche); }
.as-team[hidden] { display: none; }
.as-team__figs { flex: none; display: flex; align-items: flex-end; padding-right: 2px; }
.as-team__figs img { width: 28px; height: 28px; margin-left: -14px; filter: drop-shadow(0 0 1px #000); }
.as-team__figs img:first-child { margin-left: 0; }
.as-chips { flex: 1; min-width: 0; display: flex; flex-wrap: nowrap; gap: 0.375rem; overflow-x: auto; scrollbar-width: none; }
.as-chips::-webkit-scrollbar { display: none; }
.as-chip { flex: none; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.1875rem 0.5625rem 0.1875rem 0.4375rem; border: 1px solid var(--as-linie); border-radius: 999px; background: var(--as-flaeche2); color: var(--as-gedaempft); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.as-chip svg { width: 14px; height: 14px; }

/* Ein Scroller; Inhalt waechst, die Aktionsleiste klebt unten */
.as-rumpf {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.as-inhalt {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 0.75rem max(0.875rem, env(safe-area-inset-right, 0px)) 1rem max(0.875rem, env(safe-area-inset-left, 0px));
}
.as-fuss {
  position: sticky;
  bottom: 0;
  z-index: 2;
  flex: none;
  display: grid;
  gap: 0.5rem;
  padding: 0.625rem max(0.875rem, env(safe-area-inset-right, 0px)) calc(0.75rem + env(safe-area-inset-bottom, 0px)) max(0.875rem, env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--as-linie);
  background: rgba(0, 0, 0, 0.96);
}
.as-fuss[hidden] { display: none; }
@media (min-width: 56.0625rem) { .as-fuss { background: rgba(11, 11, 11, 0.97); } }
/* Tippen (nur Finger): Leiste steht unter dem letzten Feld, Luft darunter fuer die Tastatur.
   Kein Kleben an visualViewport (Rueckkopplung, siehe Kopf von sc-anfrage-stellen.js). */
html.sc-as-tippt .as-fuss { position: static; border-top: 0; }
/* Beim Tippen waechst der Inhalt nicht: der Knopf steht direkt unter dem Feld, nicht am Blattende
   (dort laege er unter der Tastatur) */
html.sc-as-tippt .as-inhalt { flex: 0 0 auto; }
/* Brueckenfeld fuer iOS (Tastatur im Fingertipp oeffnen, Fokus wandert danach ins Namensfeld).
   Nicht display:none und nicht aria-hidden, sonst nimmt iOS den Fokus nicht bzw. Fokusfalle. */
.as-bruecke { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; pointer-events: none; }
html.sc-as-tippt .as-rumpf::after { content: ""; flex: none; height: 45vh; }

/* Rueckmeldung als Sprechblase; das Lob ist dieselbe Blase, groesser und gruen umrandet */
.as-blase { position: relative; padding: 0.625rem 0.75rem; border: 1px solid var(--as-linie); border-radius: 0.875rem; background: var(--as-flaeche2); color: var(--as-gedaempft); font-size: 0.84375rem; animation: as-pop 360ms var(--ease, ease); }
.as-blase[hidden] { display: none; }
.as-blase b { color: var(--as-text); }
.as-blase::before { content: ""; position: absolute; top: -6px; left: 22px; width: 10px; height: 10px; background: var(--as-flaeche2); border-left: 1px solid var(--as-linie); border-top: 1px solid var(--as-linie); transform: rotate(45deg); }
.as-blase.is-lob { padding: 0.875rem 0.875rem 0.75rem; border-color: var(--as-gruen); font-size: 0.875rem; }
.as-blase.is-lob b { display: block; margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.25; }
.as-blase.is-lob::before { border-color: var(--as-gruen); }
@keyframes as-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Frage + Antworten mittig im freien Raum; der Kontakt oben */
.as-frage { display: grid; gap: 0.75rem; }
.as-frage--mittig { margin-block: auto; }
.as-frage--oben { margin-block: 0 auto; }
.as-q { margin: 0; font-size: 1.375rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; color: var(--as-text); }
.as-q__sub { margin: -0.375rem 0 0; font-size: 0.8125rem; color: var(--as-blass); }
.as-kacheln { display: grid; gap: 0.625rem; }
.as-wahl {
  position: relative;
  width: 100%;
  color: var(--as-text);
  font-size: inherit;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.5rem 2.75rem 0.5rem 0.5rem;
  border: 1px solid var(--as-linie2);
  border-radius: 0.875rem;
  background: var(--as-flaeche);
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.as-wahl:hover { border-color: rgba(255, 255, 255, 0.34); }
.as-wahl:active { transform: scale(0.985); }
.as-wahl__bild { flex: none; width: 3.75rem; height: 3.75rem; display: grid; place-items: center; border-radius: 0.625rem; background: var(--as-flaeche2); color: var(--as-gedaempft); }
.as-wahl__bild svg { width: 2.125rem; height: 2.125rem; }
.as-wahl__bild img { width: 3.5rem; height: 3.5rem; }
.as-wahl__bild.is-viele { width: auto; flex: 0 1 8.25rem; min-width: 4.5rem; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.as-wahl__bild.is-viele img { width: 3.375rem; height: 3.375rem; margin-left: -2.125rem; filter: drop-shadow(0 0 1px #000); }
.as-wahl__bild.is-viele img:first-child { margin-left: 0; }
.as-wahl__text { display: grid; gap: 0.125rem; min-width: 0; }
.as-wahl__text b { font-size: 1rem; line-height: 1.25; }
.as-wahl__text small { font-size: 0.78125rem; line-height: 1.35; color: var(--as-blass); }
.as-wahl__haken { position: absolute; right: 0.75rem; top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -0.75rem; display: grid; place-items: center; border: 1px solid var(--as-linie2); border-radius: 50%; color: transparent; transition: all 160ms ease; }
.as-wahl.is-gewaehlt { border-color: var(--as-blau); background: rgba(78, 180, 215, 0.14); box-shadow: inset 0 0 0 1px var(--as-blau); }
.as-wahl.is-gewaehlt .as-wahl__haken { background: var(--as-blau); border-color: var(--as-blau); color: var(--as-tinte); }
.as-wahl.is-gewaehlt .as-wahl__bild { color: var(--as-text); }

/* Knoepfe */
.as-haupt, .as-neben {
  width: 100%;
  font-family: inherit;
  line-height: 1.3;
  min-height: 3rem;
  padding: 0.8125rem 1.125rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.as-haupt { border: 0; background: var(--as-blau, #4eb4d7); color: var(--as-tinte, #0b0b0b); }
.as-haupt:hover { background: #66c0df; }
.as-haupt:active, .as-neben:active { transform: scale(0.98); }
.as-haupt[disabled] { opacity: 0.6; cursor: progress; }
.as-neben { border: 1px solid var(--as-linie2); background: transparent; color: var(--as-text); font-weight: 600; }
.as-neben:hover { border-color: var(--as-gedaempft); }
.as-reihe { display: grid; gap: 0.5rem; }
.as-karte .as-haupt { --as-tinte: #0b0b0b; }

/* Kontakt */
.as-form { display: grid; gap: 0.625rem; }
.as-feld { display: grid; gap: 0.25rem; }
.as-feld label { font-size: 0.78125rem; font-weight: 600; color: var(--as-gedaempft); }
.as-feld__frei { font-weight: 500; color: var(--as-blass); }
.as-feld input, .as-feld textarea {
  width: 100%;
  padding: 0.6875rem 0.75rem;
  border: 1px solid var(--as-linie2);
  border-radius: 0.625rem;
  background: var(--as-flaeche);
  color: var(--as-text);
  font: inherit;
  font-size: 16px; /* unter 16 px zoomt iOS beim Fokus */
}
.as-feld textarea { min-height: 4.75rem; resize: vertical; }
.as-feld input:focus, .as-feld textarea:focus { outline: none; border-color: var(--as-blau); box-shadow: 0 0 0 3px rgba(78, 180, 215, 0.14); }
.as-feld input::placeholder, .as-feld textarea::placeholder { color: var(--as-blass); }
.as-feld__hinweis { margin-top: -0.125rem; font-size: 0.78125rem; color: var(--as-blass); }
.as-feld__zaehler { justify-self: end; font-size: 0.75rem; color: var(--as-blass); }
.as-feld__fehler { font-size: 0.75rem; color: var(--error, #f08a8a); }
.as-feld__fehler:empty { display: none; }
.as-feld.is-falsch input { border-color: var(--error, #f08a8a); }
.as-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.as-meldung { padding: 0.625rem 0.75rem; border: 1px solid rgba(240, 138, 138, 0.5); border-radius: 0.625rem; background: rgba(240, 138, 138, 0.08); font-size: 0.84375rem; color: var(--as-gedaempft); }
.as-meldung[hidden] { display: none; }
.as-meldung b { color: var(--as-text); }
.as-meldung a { color: var(--as-text); white-space: nowrap; }
.as-job { margin: 0.25rem 0 0; font-size: 0.75rem; }
.as-job a { display: inline-block; padding: 0.5rem 0; color: var(--as-blass); text-decoration: underline; text-underline-offset: 3px; }
.as-feinbox { display: grid; gap: 0.125rem; margin-top: 0.25rem; }
.as-fein { margin: 0; font-size: 0.75rem; line-height: 1.45; color: var(--as-blass); }
.as-fein a { color: var(--as-gedaempft); text-decoration: underline; text-underline-offset: 2px; }

/* Schluss */
.as-fertig { display: grid; justify-items: center; gap: 0.5rem; padding-top: 0.375rem; text-align: center; }
.as-fertig__haken { width: 4rem; height: 4rem; display: grid; place-items: center; border-radius: 50%; background: var(--as-gruen); color: var(--as-tinte); animation: as-pop 420ms var(--ease, ease); }
.as-fertig__haken svg { width: 2.125rem; height: 2.125rem; }
.as-fertig p { margin: 0; max-width: 34ch; font-size: 0.875rem; color: var(--as-gedaempft); }
.as-fertig .as-fertig__klein { font-size: 0.8125rem; color: var(--as-blass); }
.as-tel { color: var(--as-text); font-weight: 700; white-space: nowrap; text-decoration: none; }
.as-lesen { display: grid; gap: 0.5rem; }
.as-lesen[hidden] { display: none; }
.as-lesen__titel { margin: 0.375rem 0 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--as-blass); }
.as-lesetipp { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.625rem; align-items: center; min-height: 4rem; padding: 0.625rem; border: 1px solid var(--as-linie2); border-radius: 0.875rem; background: var(--as-flaeche); color: var(--as-text); text-decoration: none; }
.as-lesetipp:hover { border-color: rgba(255, 255, 255, 0.34); }
.as-lesetipp__ic { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 0.625rem; background: var(--as-flaeche2); color: var(--as-gedaempft); }
.as-lesetipp__ic svg { width: 1.5rem; height: 1.5rem; }
.as-lesetipp b { display: block; font-size: 0.875rem; line-height: 1.3; }
.as-lesetipp small { font-size: 0.75rem; color: var(--as-blass); }

.as-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .as-blatt, .as-blatt *, .as-karte, .as-karte * { animation: none !important; transition: none !important; }
}

/* ── Eigene Seite unter „Preise“ (AnfrageSeite.astro) ────────────────────────────── */
.as-seite { padding-bottom: clamp(3rem, 6vw, 5rem); }
.as-seite__krumen { padding-top: 1rem; font-size: var(--fs-xs, 0.75rem); color: var(--text-faint, rgba(255, 255, 255, 0.5)); }
.as-seite__krumen ol { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
.as-seite__krumen li + li::before { content: "›"; margin-right: 0.375rem; opacity: 0.6; }
.as-seite__krumen a { color: inherit; text-decoration: none; }
.as-seite__krumen a:hover { color: var(--text, #fff); }
.as-seite__kopf { padding-top: clamp(1.25rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: center; text-align: center; }
.as-seite__h1 { margin: 0.375rem 0 0; font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.as-seite__sub { margin: 0.75rem 0 0; max-width: 34rem; color: var(--text-muted, rgba(255, 255, 255, 0.72)); }
.as-seite .as-karte { margin: 1.5rem auto 0; }
.as-seite__neben { margin-top: 1.25rem; display: grid; gap: 0.375rem; font-size: var(--fs-sm, 0.875rem); color: var(--text-muted, rgba(255, 255, 255, 0.72)); }
.as-seite__neben p { margin: 0; }
.as-seite__neben a { color: var(--brand-blue, #4eb4d7); font-weight: 600; white-space: nowrap; }
.as-seite__sterne { color: #fbbc05; letter-spacing: 0.08em; }
.as-seite__block { margin-top: clamp(2.5rem, 6vw, 4rem); max-width: 47rem; margin-inline: auto; }
.as-seite__block h2 { font-size: var(--fs-h3, 1.5rem); margin: 0 0 1rem; }
.as-seite__schritte { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; counter-reset: as-schritt; }
.as-seite__schritte li { counter-increment: as-schritt; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.75rem; row-gap: 0.125rem; color: var(--text-muted, rgba(255, 255, 255, 0.72)); }
.as-seite__schritte li::before { content: counter(as-schritt); grid-row: span 2; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border: 1px solid var(--line-strong, rgba(255, 255, 255, 0.18)); border-radius: 50%; font-weight: 700; color: var(--text, #fff); }
.as-seite__schritte b { color: var(--text, #fff); }
.as-seite__faq { display: grid; gap: 0.5rem; }
.as-seite__faq details { border: 1px solid var(--line, rgba(255, 255, 255, 0.1)); border-radius: 0.75rem; padding: 0.75rem 1rem; background: var(--surface, #101112); }
.as-seite__faq summary { cursor: pointer; font-weight: 700; }
.as-seite__faq p { margin: 0.5rem 0 0; color: var(--text-muted, rgba(255, 255, 255, 0.72)); }
.as-seite__kontakt { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 0.75rem; }

/* ── Desktop (Leon 16.11.2026: „am Desktop im Handy-Format“) ───────────────────────────────
   Ab 56rem ein mittiges Fenster über der abgedunkelten Seite statt einer Handy-Spalte:
   Antworten als große Bildkarten nebeneinander, Tipp-Schritte als schmale Mitte,
   Knöpfe nebeneinander am Fensterende. Darunter bleibt alles wie am Handy. */
@media (min-width: 56.0625rem) {
  .as-blatt {
    align-items: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transform: none;
    opacity: 0;
    transition: opacity 220ms ease;
  }
  .as-blatt.is-offen { opacity: 1; }
  .as-spalte {
    max-width: 58rem;
    height: min(46rem, calc(100vh - 4rem));
    border: 1px solid var(--as-linie2);
    border-radius: 1.25rem;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
    overflow: hidden;
  }
  .as-kopf { padding: 1rem 1.5rem 0; }
  .as-inhalt { padding: 1.25rem 2rem 1.75rem; gap: 1.25rem; }
  .as-blase { width: 100%; max-width: 42rem; margin-inline: auto; }
  .as-frage { gap: 1rem; }
  .as-q { font-size: 1.875rem; text-align: center; }
  .as-q__sub { text-align: center; font-size: 0.875rem; }

  /* Antworten: zwei oder drei Bildkarten in einer Reihe */
  .as-kacheln { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1rem; }
  .as-wahl {
    flex-direction: column;
    justify-content: center;
    gap: 0.875rem;
    min-height: 14rem;
    padding: 1.5rem 1rem 1.25rem;
    text-align: center;
    border-radius: 1rem;
  }
  .as-wahl:hover { transform: translateY(-2px); }
  .as-wahl__bild { width: 7.5rem; height: 7.5rem; border-radius: 1rem; }
  .as-wahl__bild img { width: 7rem; height: 7rem; }
  .as-wahl__bild svg { width: 3.5rem; height: 3.5rem; }
  .as-wahl__bild.is-viele { flex: none; width: 100%; height: 7.5rem; min-width: 0; }
  .as-wahl__bild.is-viele img { width: 5.5rem; height: 5.5rem; margin-left: -3.5rem; }
  .as-wahl__text { justify-items: center; }
  .as-wahl__text b { font-size: 1.0625rem; }
  .as-wahl__haken { top: 0.75rem; right: 0.75rem; margin-top: 0; }

  /* Tipp-Schritte (Name, E-Mail, Freiwilliges): schmale Mitte */
  .as-frage--oben { width: 100%; max-width: 32rem; margin: auto; }
  .as-frage--oben .as-q { font-size: 1.625rem; text-align: center; }
  .as-frage--oben .as-q__sub { text-align: center; }

  /* Knöpfe nebeneinander am Fensterende, nicht über die volle Breite */
  .as-fuss {
    position: static;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.25rem;
    background: transparent;
  }
  .as-fuss > .as-haupt, .as-fuss > .as-neben { width: auto; min-width: 16rem; }
  .as-reihe { display: flex; justify-content: center; gap: 0.75rem; width: 100%; }
  .as-reihe > .as-haupt, .as-reihe > .as-neben { width: auto; min-width: 16rem; }

  /* Schluss: Lesetipps als drei Karten nebeneinander */
  .as-fertig p { max-width: 46ch; }
  .as-lesen { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
  .as-lesen__titel { grid-column: 1 / -1; text-align: center; }
  .as-lesetipp { grid-template-columns: 1fr; justify-items: start; align-content: start; min-height: 7.5rem; }
}
@media (min-width: 56.0625rem) and (prefers-reduced-motion: reduce) {
  .as-blatt { transition: none; }
  .as-wahl:hover { transform: none; }
}
