/* =============================================================================
   WERKTISCH-LOOK für Analyse und Bericht (Ergänzung zu analyse.css)
   Dunkle Holzplatte als Untergrund, das Formular liegt als Prüfbogen auf einem
   Klemmbrett, daneben Gegenstände vom Tisch. Die Bilder sind Standbilder der
   3D-Szene (eingescannte Modelle von Poly Haven, CC0), kein Skript, keine
   fremden Server. Ohne diese Datei sehen beide Seiten aus wie zuvor.
   ============================================================================= */

/* ---------- Tischplatte ---------- */
.an-page { background: #0D0907; position: relative; isolation: isolate; }
.an-page::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background: url("/assets/opt/tisch-holz.webp") 0 0 / 900px 900px; opacity: .9; }
.an-page::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 62% 18%, rgba(255, 214, 170, .16), transparent 70%),
        radial-gradient(ellipse 120% 90% at 50% 40%, transparent 40%, rgba(4, 3, 2, .82) 100%),
        linear-gradient(180deg, rgba(10, 7, 5, .35), rgba(10, 7, 5, .7)); }
.an-page .sub-nav { background: rgba(13, 9, 7, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.an-page .site-footer { background: rgba(13, 9, 7, .88); }
.an-section { border-top-color: rgba(229, 169, 118, .14); }

/* ---------- Einstieg: Prüfbogen auf dem Klemmbrett ---------- */
.an-hero { background: none; }
.an-hero-grid { align-items: center; }
.an-hero h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.an-page .an-form { position: relative; container-type: inline-size; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; max-width: 520px; justify-self: end; width: 100%;
    transform: rotate(1.2deg); }
.an-page .an-form::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    border-style: solid; border-width: 35cqw 6.7cqw 5cqw 6.7cqw;
    border-image: url("/assets/opt/tisch-brett.webp") 315 60 45 60 fill stretch;
    filter: drop-shadow(14px 22px 26px rgba(0, 0, 0, .7)); }
.an-page #an-form, .an-page .an-sent { margin: 0 9.5cqw; padding: 32cqw 0 0; }
.an-page #an-form > *, .an-page .an-sent > * { position: relative; }
.an-page #an-form, .an-page .an-sent { color: #1A1A1A; }
.an-page .an-form::after { content: ""; position: absolute; z-index: -1; left: 9.5cqw; right: 9.5cqw; top: 24cqw; bottom: 6.5cqw; background: #F4F1EA;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 6px 14px rgba(60, 30, 10, .35); }
.an-page #an-form, .an-page .an-sent { padding-left: 6cqw; padding-right: 6cqw; padding-bottom: 12cqw; }
.an-page .an-form h2 { color: #1A1A1A; }
.an-page .an-form p { color: #55514B; }
.an-page .an-field label { color: #1A1A1A; }
.an-page .an-field input { background: #fff; color: #1A1A1A; border: 1px solid #B9A996; border-radius: 4px; }
.an-page .an-field input::placeholder { color: #8a857c; }
.an-page .an-field input:focus { border-color: #7A3F1F; outline: 2px solid rgba(122, 63, 31, .35); outline-offset: 1px; }
.an-page .an-consent label { color: #3b3731; }
.an-page .an-consent a, .an-page .an-form-note a, .an-page .an-sent a { color: #7A3F1F; }
.an-page .an-form .an-error { color: #9C2B14; }
.an-page .an-sent strong { color: #1A1A1A; }
.an-page .an-form .btn-copper:focus-visible, .an-page .an-form a:focus-visible { outline-color: #7A3F1F; }

/* ---------- Karten als Blätter auf dem Tisch ---------- */
.an-card, .an-honest > div, .an-steps li, .an-compare, .an-status, .an-melt2 > div {
    background: linear-gradient(165deg, rgba(45, 32, 24, .9) 0%, rgba(26, 21, 18, .92) 45%, rgba(18, 15, 13, .94) 100%);
    border-color: rgba(229, 169, 118, .2); border-radius: 10px;
    box-shadow: 0 1px 0 rgba(240, 201, 166, .08) inset, 0 26px 50px -28px rgba(0, 0, 0, .95); }
.an-card, .an-steps li, .an-melt2 > div { position: relative; }
.an-card::before, .an-steps li::before, .an-melt2 > div::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; border-radius: 2px;
    background: linear-gradient(135deg, #8C4A25 0%, #DF9A67 34%, #B56535 58%, #F0C9A6 78%, #8C4A25 100%); opacity: .85; }
.an-card { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.an-card:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 1px 0 rgba(240, 201, 166, .12) inset, 0 34px 60px -26px rgba(0, 0, 0, .95), 0 0 50px -24px rgba(223, 154, 103, .5); }

/* ---------- Die zwei Leitfragen ---------- */
.an-melt2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.an-melt2 > div { border: 1px solid rgba(229, 169, 118, .2); padding: 28px; }
.an-melt2 h3 { font-family: "Archivo", "Arial Narrow", Arial, sans-serif; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.12; color: #F0C9A6; margin: 14px 0 10px; }
.an-melt2 p { margin: 0; color: rgba(244, 240, 232, .76); line-height: 1.55; }
.an-melt2 ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.an-melt2 li { padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(229, 169, 118, .28); font-size: .8125rem; color: #F4F0E8; }
.an-melt2-note { margin: 16px 0 0; font-size: .8125rem; color: rgba(244, 240, 232, .6); }

/* ---------- Gegenstände neben den Abschnitten ---------- */
.an-with-prop { position: relative; }
.an-prop { position: absolute; z-index: 0; pointer-events: none; height: auto; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .55)); }
.an-with-prop > .an-wrap > * { position: relative; z-index: 1; }
.an-prop-tape { right: clamp(0px, 4vw, 80px); top: clamp(8px, 3vw, 40px); width: clamp(140px, 17vw, 250px); transform: rotate(-12deg); }
.an-prop-pens { right: clamp(0px, 5vw, 110px); top: clamp(0px, 2vw, 30px); width: clamp(170px, 22vw, 330px); transform: rotate(8deg); }
.an-prop-cup { left: 50%; top: clamp(-10px, 1vw, 20px); width: clamp(130px, 14vw, 200px); margin-left: clamp(150px, 22vw, 330px); }
.an-final { position: relative; }

/* ---------- Bericht: liegt als Blatt auf dem Tisch ---------- */
.an-status { position: relative; border: 1px solid rgba(229, 169, 118, .2); padding: clamp(24px, 4vw, 48px); margin-top: clamp(24px, 4vw, 48px); min-height: 260px; overflow: hidden; }
.an-status > * { position: relative; z-index: 1; max-width: 62ch; }
.an-status-prop { position: absolute !important; z-index: 0 !important; right: -30px; top: 50%; width: clamp(180px, 26vw, 330px); max-width: none !important; height: auto; transform: translateY(-50%) rotate(6deg); opacity: .92; pointer-events: none; }
.an-report { background: linear-gradient(170deg, #211812 0%, #1A1512 30%, #15110E 100%); border-color: rgba(229, 169, 118, .22); border-radius: 12px; position: relative;
    box-shadow: 0 1px 0 rgba(240, 201, 166, .08) inset, 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .4); }
.an-report::before { content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 2px; border-radius: 2px;
    background: linear-gradient(135deg, #8C4A25 0%, #DF9A67 34%, #B56535 58%, #F0C9A6 78%, #8C4A25 100%); }
.an-toolbar { padding: 16px 20px; margin: 20px 0 16px; border-radius: 10px; background: rgba(13, 9, 7, .7); border: 1px solid rgba(229, 169, 118, .16); }

@media (max-width: 900px) {
    .an-page .an-form { justify-self: center; transform: none; max-width: 460px; }
    .an-melt2 { grid-template-columns: 1fr; }
    .an-prop-tape, .an-prop-pens { opacity: .35; }
    .an-prop-cup { position: static; display: block; margin: 0 auto 8px; width: 150px; }
    .an-status-prop { opacity: .25; }
}
@media (prefers-reduced-motion: reduce) { .an-card, .an-card:hover { transition: none; transform: none; } }
@media print {
    .an-page::before, .an-page::after, .an-prop, .an-status-prop { display: none !important; }
    .an-report { box-shadow: none; }
    .an-report::before { display: none; }
}
/* Eingebettet im Heft-Entwurf: ruhiger Untergrund, Brett mittig */
.an-embed.an-page-root .an-page::before, .an-embed .an-page::before { opacity: .5; }

.embed .an-page .site-nav, .embed .an-page .site-footer { display: none !important; }

/* Eingebettet im Blatt: schlichter Prüfbogen ohne Brett, damit der Knopf ohne Scrollen sichtbar ist */
.an-embed .an-page .an-form { max-width: 640px; }
.an-embed .an-page .an-form::before { display: none; }
.an-embed .an-page .an-form::after { left: 0; right: 0; top: 0; bottom: 0; border-radius: 6px; }
.an-embed .an-page #an-form, .an-embed .an-page .an-sent { margin: 0; padding: 22px 28px 20px; }
.an-embed .an-page .an-form h2 { font-size: 1.25rem; margin-bottom: 2px; }
.an-embed .an-page .an-field { margin-top: 10px; }
.an-embed .an-page .an-consent { margin-top: 12px; }
.an-embed .an-page .an-consent label { font-size: .78rem; line-height: 1.4; }
.an-embed .an-page .an-form-note { margin-top: 8px; }
