/* ==========================================================================
   page-anfrage.css · Anfrage /anfrage, /en/contact · Danke /danke, /en/thanks
   Komponenten (.inq, .clap, .uline, .form, .fld, .revs, .duo, .finder, .crumbs, .links) stehen in site.css.
   Hier nur die Komposition. Reduced Motion: Klappe geschlossen und statisch (globale Sperre in site.css §22).
   ========================================================================== */

/* ---------- Szene 01 · Kopf + Formular (Sand) ---------- */
.inq-sec { padding-top: clamp(1.25rem, 3vw, 2.5rem); }
.inq-sec .crumbs { margin-bottom: clamp(1.25rem, 3vw, 2.5rem); }
.inq-sec .inq { align-items: start; }

/* Klappe: kleine Deko wie in jedem Anfrage-Modul */
.inq-head .clap { margin-bottom: 0.15rem; }
@media (prefers-reduced-motion: no-preference) {
  .inq-head .clap-arm { transition: transform 280ms var(--ease-out); }
}
.inq-display { margin-bottom: 0.35rem; }
.inq-display { font-size: clamp(2.5rem, 4.1vw, 3.9rem); }
.inq-sec .inq-net a { white-space: nowrap; }

/* H1 als Absenderzeile mit kleinem Porträt */
.inq-who { display: flex; align-items: center; gap: 1rem; width: 100%; padding-block: 1rem; border-block: 1px solid var(--line); }
.inq-face { width: 3.5rem; height: 3.5rem; flex: none; object-fit: cover; background: #070f0e; }
.inq-who-t { display: grid; gap: 0.2rem; min-width: 0; }
.inq-h1 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.inq-who-t p { font-size: var(--t-small); color: var(--muted); line-height: 1.4; }

/* Kopfspalte bleibt beim Ausfüllen im Bild (nur große Fenster, damit nichts abgeschnitten wird) */
@media (min-width: 1000px) and (min-height: 860px) {
  .inq-sec .inq-head { position: sticky; top: calc(var(--head-h) + 1.75rem); }
}

/* Formular als Bildausschnitt: Sucherecken rasten ein, sobald ein Feld den Fokus hat */
.inq-main { display: grid; align-content: start; min-width: 0; }
.inq-frame { position: relative; padding: clamp(1.25rem, 2.6vw, 2.25rem); background: var(--panel); }
.inq-frame > .finder { inset: -0.5rem; z-index: 0; opacity: 0.4; transform: scale(1.012); transition: opacity 160ms var(--ease-in), transform 200ms var(--ease-in); }
.inq-frame > .finder i { width: 1.15rem; height: 1.15rem; border-color: var(--coal); }
.inq-frame:focus-within > .finder { opacity: 1; transform: none; transition: opacity 120ms linear, transform 260ms var(--ease-spring); }
.inq-frame .form-wrap { position: relative; z-index: 1; }
.inq-frame .fld input, .inq-frame .fld select, .inq-frame .fld textarea { background-color: rgba(255, 255, 255, 0.6); }
.inq-frame .fld input:focus, .inq-frame .fld select:focus, .inq-frame .fld textarea:focus { background-color: #fff; }
.inq-sec .inq-trust { border-top: 0; padding-top: 0; margin-top: 1.1rem; }

/* ---------- Szene 02 · Nach der Anfrage + Checkliste (Petrol) ---------- */
.inq-info .h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); }
.inq-info .duo-col { gap: 1.5rem; }
.inq-steps { width: 100%; border-top: 1px solid var(--ink); counter-reset: st; }
.inq-steps li {
  counter-increment: st; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.25rem 1rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
  font-size: var(--t-lead); line-height: 1.45;
}
.inq-steps li::before { content: counter(st, decimal-leading-zero); font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.06em; color: var(--accent); padding-top: 0.5em; }
.inq-steps b { font-weight: 700; color: var(--accent); }
.inq-check { width: 100%; border-top: 1px solid var(--ink); }
.inq-check li { display: flex; gap: 0.85rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line-soft); }
.inq-check li::before { content: ""; flex: none; width: 0.8rem; height: 0.8rem; margin-top: 0.42em; border: 1.5px solid var(--accent); }
.inq-agency { color: var(--muted); font-size: var(--t-small); max-width: 30em; }
.inq-agency b { color: var(--ink); font-weight: 700; }
/* Zwei Projektart-Hinweise (Agenturen, Konzept-Check) als Paar: engerer Abstand */
.inq-agency + .inq-agency { margin-top: -0.5rem; }

/* ---------- Datenschutz-Zeile + Ausstieg ---------- */
.inq-privacy { font-size: var(--t-small); color: var(--muted); }
.inq-exit {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.inq-exit-q { font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.2; }

/* ---------- Danke /danke, /en/thanks (Sand): Anfrage-Modul im Zustand „gesendet“ ----------
   Gleiche Spalten wie /anfrage (Kopf 5/12, Schritte 7/12). Klappe zeigt Szene 02, schlägt einmal zu (motion.js M7). */
.thx { min-height: calc(100svh - var(--head-h)); display: grid; align-content: center; }
.thx .inq { align-items: start; }
.thx .inq-head { gap: 1rem; }
.thx-h1 { max-width: 10em; }
.thx-l { display: block; }
.thx-steps { width: 100%; border-top: 1px solid var(--ink); counter-reset: st; }
.thx-steps li {
  counter-increment: st; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.35rem 1rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.thx-steps li::before { content: counter(st, decimal-leading-zero); grid-row: span 2; font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.06em; color: var(--accent); padding-top: 0.55em; }
.thx-steps h2 { font-size: var(--t-h3); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
.thx-steps p { color: var(--muted); font-size: var(--t-lead); line-height: 1.45; }
.thx-links { margin-top: 1.25rem; }
