/* Ankaufshilfe – Frontend (scoped auf .ahx) */
.ahx {
	--ahx-accent: #4f46e5;
	--ahx-btn-bg: var(--ahx-accent);
	--ahx-btn-text: #ffffff;
	--ahx-btn-hover: color-mix(in srgb, var(--ahx-btn-bg) 85%, #000);
	--ahx-btn-radius: 14px;
	--ahx-accent-soft: color-mix(in srgb, var(--ahx-accent) 10%, #fff);
	--ahx-accent-line: color-mix(in srgb, var(--ahx-accent) 28%, #fff);
	--ahx-text: #1c1c28;
	--ahx-muted: #6b6b80;
	--ahx-line: #e6e6ef;
	--ahx-bg: #f6f6fa;
	--ahx-card: #ffffff;
	--ahx-input-bg: #ffffff;
	--ahx-ok: #0f9d6b;
	--ahx-warn: #c2410c;
	--ahx-err: #dc2626;
	--ahx-radius: 18px;
	--ahx-shadow: 0 1px 2px rgba(20, 20, 40, .04), 0 8px 24px rgba(20, 20, 40, .06);
	max-width: 920px;
	margin: 0 auto;
	color: var(--ahx-text);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.ahx *, .ahx *::before, .ahx *::after { box-sizing: border-box; }
.ahx [hidden] { display: none !important; }

/* Kopf */
.ahx-head { text-align: center; margin-bottom: 28px; }
.ahx-title { font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.2; margin: 0 0 8px; font-weight: 750; letter-spacing: -.02em; }
.ahx-sub { color: var(--ahx-muted); margin: 0 auto 22px; max-width: 620px; }
.ahx-steps { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.ahx-steps li { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--ahx-bg); color: var(--ahx-muted); font-size: 14px; font-weight: 600; transition: all .25s; margin: 0; }
.ahx-steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 12px; border: 1px solid var(--ahx-line); }
.ahx-steps li.is-active { background: var(--ahx-accent-soft); color: var(--ahx-accent); }
.ahx-steps li.is-active span { background: var(--ahx-accent); border-color: var(--ahx-accent); color: #fff; }
.ahx-steps li.is-done span { background: var(--ahx-ok); border-color: var(--ahx-ok); color: #fff; }

/* Karten */
.ahx-card { background: var(--ahx-card); border: 1px solid var(--ahx-line); border-radius: var(--ahx-radius); box-shadow: var(--ahx-shadow); padding: 22px; margin-bottom: 16px; }
.ahx-card h3 { font-size: 1.1rem; margin: 0 0 14px; font-weight: 700; }
.ahx-item { animation: ahx-in .35s ease both; transition: border-color .2s, box-shadow .2s; }
.ahx-item.has-error { border-color: var(--ahx-err); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ahx-err) 12%, transparent); }
.ahx-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ahx-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ahx-accent); background: var(--ahx-accent-soft); padding: 4px 10px; border-radius: 999px; }
.ahx-icon-btn { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--ahx-muted); transition: background .15s, color .15s; }
.ahx-icon-btn:hover, .ahx-icon-btn:focus-visible { background: #fdecec; color: var(--ahx-err); }
.ahx-item-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .ahx-item-grid { grid-template-columns: 1fr; } .ahx-card { padding: 18px; } }

/* Dropzone */
.ahx-drop { border: 2px dashed var(--ahx-accent-line); background: var(--ahx-accent-soft); border-radius: 14px; padding: 22px 16px; text-align: center; cursor: pointer; transition: all .2s; display: flex; flex-direction: column; align-items: center; gap: 4px; outline: none; }
.ahx-drop:hover, .ahx-drop:focus-visible, .ahx-drop.is-over { border-color: var(--ahx-accent); background: color-mix(in srgb, var(--ahx-accent) 16%, #fff); transform: translateY(-1px); }
.ahx-drop svg { color: var(--ahx-accent); margin-bottom: 4px; }
.ahx-drop strong { font-size: 15px; }
.ahx-drop small { color: var(--ahx-muted); font-size: 13px; }
.ahx-drop u { color: var(--ahx-accent); text-underline-offset: 3px; }
.ahx-drop.is-full { opacity: .55; pointer-events: none; }

.ahx-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 12px; }
.ahx-thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ahx-bg); border: 1px solid var(--ahx-line); animation: ahx-pop .25s ease both; }
.ahx-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ahx-thumb .ahx-x { all: unset; position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(20, 20, 30, .7); color: #fff; display: grid; place-items: center; font-size: 14px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s; }
.ahx-thumb:hover .ahx-x, .ahx-thumb .ahx-x:focus-visible { opacity: 1; }
@media (hover: none) { .ahx-thumb .ahx-x { opacity: 1; } }
.ahx-thumb.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--ahx-accent-line); border-top-color: var(--ahx-accent); animation: ahx-spin .8s linear infinite; }

/* Felder */
.ahx-fields { display: flex; flex-direction: column; gap: 12px; }
.ahx-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ahx-field > span { font-size: 13px; font-weight: 650; color: #3a3a4d; }
.ahx-field > span em { font-style: normal; color: var(--ahx-err); }
.ahx input[type="text"], .ahx input[type="email"], .ahx input[type="tel"], .ahx textarea {
	width: 100%; margin: 0; font: inherit; font-size: 15px; color: var(--ahx-text); background: var(--ahx-input-bg);
	border: 1.5px solid var(--ahx-line); border-radius: 12px; padding: 11px 14px; box-shadow: none; transition: border-color .15s, box-shadow .15s; outline: none;
}
.ahx textarea { resize: vertical; min-height: 84px; }
.ahx input:focus, .ahx textarea:focus { border-color: var(--ahx-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ahx-accent) 15%, transparent); }
.ahx .is-invalid { border-color: var(--ahx-err) !important; }
.ahx-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ahx-grid-2 .ahx-span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .ahx-grid-2 { grid-template-columns: 1fr; } }

.ahx-hint { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #4b4b62; background: var(--ahx-bg); border-radius: 12px; padding: 10px 12px; }
.ahx-hint svg { flex: 0 0 auto; color: var(--ahx-accent); margin-top: 2px; }
.ahx-item-error, .ahx-alert { margin-top: 12px; font-size: 14px; color: var(--ahx-err); background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: 10px 14px; }

.ahx-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #3a3a4d; cursor: pointer; margin-top: 14px; }
.ahx-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ahx-accent); flex: 0 0 auto; }
.ahx-check a { color: var(--ahx-accent); }
.ahx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.ahx-add { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; margin: 0 0 16px; border: 2px dashed var(--ahx-line); border-radius: var(--ahx-radius); color: var(--ahx-muted); font-weight: 650; cursor: pointer; transition: all .2s; }
.ahx-add:hover, .ahx-add:focus-visible { border-color: var(--ahx-accent); color: var(--ahx-accent); background: var(--ahx-accent-soft); }
.ahx-add[disabled] { opacity: .5; pointer-events: none; }
.ahx-submit, .ahx-btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-weight: 700; border-radius: 14px; transition: transform .15s, box-shadow .2s, background .2s, opacity .2s; }
.ahx-submit { width: 100%; padding: 17px 24px; font-size: 17px; color: var(--ahx-btn-text) !important; background: var(--ahx-btn-bg) !important; border-radius: var(--ahx-btn-radius) !important; box-shadow: 0 8px 22px color-mix(in srgb, var(--ahx-btn-bg) 35%, transparent); }
.ahx-submit:hover, .ahx-submit:focus-visible { background: var(--ahx-btn-hover) !important; transform: translateY(-1px); box-shadow: 0 12px 28px color-mix(in srgb, var(--ahx-btn-bg) 42%, transparent); }
.ahx-submit[disabled] { opacity: .7; pointer-events: none; }
.ahx-btn { padding: 12px 20px; font-size: 15px; color: var(--ahx-accent); background: var(--ahx-accent-soft); border-radius: var(--ahx-btn-radius) !important; }
.ahx-btn:hover, .ahx-btn:focus-visible { background: color-mix(in srgb, var(--ahx-accent) 18%, #fff); }
.ahx-fine { font-size: 12.5px; color: var(--ahx-muted); text-align: center; margin: 12px 0 0; }

/* Upload-Fortschritt */
.ahx-progress { margin: 0 0 14px; }
.ahx-progress-track { height: 8px; border-radius: 99px; background: var(--ahx-bg); overflow: hidden; }
.ahx-progress-bar { height: 100%; width: 0; background: var(--ahx-accent); border-radius: 99px; transition: width .2s; }
.ahx-progress-label { font-size: 13px; color: var(--ahx-muted); margin-top: 6px; text-align: center; }

/* Ergebnisse */
.ahx-summary { text-align: center; padding: 28px 22px; background: linear-gradient(135deg, var(--ahx-accent) 0%, color-mix(in srgb, var(--ahx-accent) 70%, #000) 100%); color: #fff; border: 0; }
.ahx-summary-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.ahx-summary-value { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.ahx-summary-meta { font-size: 14px; opacity: .85; }
.ahx-summary-track { height: 6px; max-width: 320px; margin: 16px auto 0; border-radius: 99px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.ahx-summary-track div { height: 100%; width: 0; background: #fff; border-radius: 99px; transition: width .6s ease; }

.ahx-res { display: grid; grid-template-columns: 200px 1fr; gap: 22px; animation: ahx-in .35s ease both; }
@media (max-width: 680px) { .ahx-res { grid-template-columns: 1fr; } }
.ahx-res-media { display: flex; flex-direction: column; gap: 8px; }
.ahx-res-media .ahx-main-img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--ahx-bg); }
.ahx-res-media .ahx-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ahx-res-media .ahx-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ahx-res-media .ahx-mini img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; cursor: pointer; opacity: .8; transition: opacity .15s; }
.ahx-res-media .ahx-mini img:hover { opacity: 1; }
@media (max-width: 680px) { .ahx-res-media { flex-direction: row; } .ahx-res-media .ahx-main-img { width: 96px; flex: 0 0 96px; } .ahx-res-media .ahx-mini { display: none; } }

.ahx-res-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.ahx-chip { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--ahx-bg); color: #4b4b62; }
.ahx-res h3 { font-size: 1.25rem; margin: 0 0 12px; line-height: 1.3; }
.ahx-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 16px; border-radius: 14px; background: var(--ahx-accent-soft); margin-bottom: 12px; }
.ahx-price-label { width: 100%; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ahx-accent); }
.ahx-price-range { font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ahx-price-mid { font-size: 14px; color: var(--ahx-muted); }
.ahx-res-desc { margin: 0 0 10px; color: #3a3a4d; }

.ahx-more { border-top: 1px solid var(--ahx-line); padding-top: 10px; margin-top: 4px; }
.ahx-more summary { cursor: pointer; font-weight: 650; color: var(--ahx-accent); list-style: none; display: flex; align-items: center; gap: 6px; padding: 4px 0; }
.ahx-more summary::-webkit-details-marker { display: none; }
.ahx-more summary::before { content: "›"; display: inline-block; transition: transform .2s; font-size: 20px; line-height: 1; }
.ahx-more[open] summary::before { transform: rotate(90deg); }
.ahx-more-body { padding-top: 8px; font-size: 14.5px; color: #3a3a4d; }
.ahx-more-body p { margin: 0 0 10px; }
.ahx-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 6px; }
@media (max-width: 600px) { .ahx-lists { grid-template-columns: 1fr; } }
.ahx-list h4 { font-size: 13px; margin: 0 0 6px; font-weight: 700; }
.ahx-list ul { list-style: none; margin: 0; padding: 0; }
.ahx-list li { position: relative; padding-left: 22px; margin: 0 0 5px; font-size: 14px; }
.ahx-list li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.ahx-list.is-pos li::before { content: "✓"; color: var(--ahx-ok); }
.ahx-list.is-neg li::before { content: "–"; color: var(--ahx-warn); }
.ahx-list.is-info li::before { content: "•"; color: var(--ahx-accent); }

.ahx-res.is-wait .ahx-res-main { display: flex; flex-direction: column; gap: 10px; }
.ahx-sk { border-radius: 10px; background: linear-gradient(90deg, #f0f0f6 0%, #f8f8fc 40%, #f0f0f6 80%); background-size: 200% 100%; animation: ahx-shimmer 1.3s linear infinite; }
.ahx-wait-label { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ahx-accent); }
.ahx-wait-label::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--ahx-accent-line); border-top-color: var(--ahx-accent); animation: ahx-spin .8s linear infinite; }
.ahx-res.is-error .ahx-price { background: #fff7ed; }
.ahx-res.is-error .ahx-price-label { color: var(--ahx-warn); }

.ahx-mailnote { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 14.5px; color: var(--ahx-ok); background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; animation: ahx-in .35s ease both; }
.ahx-results-foot { text-align: center; margin-top: 8px; }

@keyframes ahx-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ahx-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ahx-spin { to { transform: rotate(360deg); } }
@keyframes ahx-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ahx * { animation: none !important; transition: none !important; } }
.ahx-tcalc { display: inline-block; font-size: 1.4rem; font-weight: 700; opacity: .9; padding: 10px 0; }

/* Einwilligung – gegen Theme-Styles abschirmen */
.ahx .ahx-check, .ahx .ahx-check span, .ahx .ahx-consent { color: var(--ahx-text) !important; font-size: 14px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: normal !important; background: none !important; text-decoration: none !important; }
.ahx .ahx-consent a { color: var(--ahx-accent) !important; text-decoration: underline !important; text-underline-offset: 2px; font-weight: 600 !important; }
.ahx .ahx-consent a:hover { text-decoration: none !important; }

/* Footer-Credit */
.ahx-credit { font-size: 12px; color: var(--ahx-muted); text-align: center; margin: 6px 0 0; opacity: .85; }
.ahx-credit a { color: inherit !important; text-decoration: underline; text-underline-offset: 2px; }
.ahx-credit a:hover { color: var(--ahx-accent) !important; }

/* =========================================================
   1.3.0 – Theme-Härtung (z. B. Avada), 3-Schritt-Ablauf,
   Tech-Vorschau, Analyse-Modus, „kostenlos“, Footer-Glanz
   ========================================================= */

/* Kopf immer mittig – Themes setzen gern margin/text-align auf h2/p */
.ahx .ahx-head { text-align: center !important; width: 100%; }
.ahx .ahx-title { text-align: center !important; margin: 0 auto 8px !important; padding: 0 !important; width: 100%; }
.ahx .ahx-sub { text-align: center !important; margin: 0 auto 22px !important; padding: 0 !important; max-width: 640px !important; width: 100%; display: block; float: none !important; }
.ahx .ahx-steps { justify-content: center !important; margin: 0 auto !important; padding: 0 !important; list-style: none !important; }
.ahx .ahx-steps li::before, .ahx .ahx-steps li::marker { content: none !important; }
.ahx .ahx-card h3, .ahx .ahx-res h3 { text-align: left; }
.ahx p { margin-top: 0; }

/* „Kostenlos“-Leiste */
.ahx-free { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px auto 0; }
.ahx-free span { font-size: 13px; font-weight: 650; padding: 6px 12px; border-radius: 999px; background: #ecfdf5; color: #047857; }
.ahx-free .ahx-free-main { background: linear-gradient(135deg, #10b981, #059669); color: #fff; box-shadow: 0 6px 16px rgba(16, 185, 129, .3); letter-spacing: .01em; }
.ahx-free-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #047857; margin: 10px 0 0 !important; text-align: center; }

/* Fenster-Übergang */
.ahx-enter { animation: ahx-in .4s ease both; }
.ahx-submit svg { transition: transform .2s; }
.ahx-submit:hover svg { transform: translateX(3px); }

/* Schritt 2 */
.ahx-s2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; margin-bottom: 8px; }
@media (max-width: 760px) { .ahx-s2-grid { grid-template-columns: 1fr; } .ahx-tech { order: -1; } }
.ahx-contact { display: flex; flex-direction: column; gap: 12px; margin: 0 !important; }
.ahx-contact h3 { margin: 0 !important; font-size: 1.2rem; }
.ahx-contact-sub { font-size: 14px; color: var(--ahx-muted); margin: -4px 0 4px !important; }
.ahx-contact .ahx-check { margin-top: 4px; }
.ahx-contact .ahx-alert { margin: 0; }
.ahx-back { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; align-self: center; font-size: 14px; color: var(--ahx-muted); padding: 4px 8px; border-radius: 8px; }
.ahx-back:hover, .ahx-back:focus-visible { color: var(--ahx-accent); background: var(--ahx-accent-soft); }

/* Tech-Panel (Vorbereitung) */
.ahx-tech { position: relative; overflow: hidden; border-radius: var(--ahx-radius); padding: 20px; color: #dbe4ff; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--ahx-accent) 45%, #0b1020) 0%, #0b1020 55%, #070a14 100%); box-shadow: inset 0 0 0 1px rgba(148, 163, 255, .18), 0 18px 40px rgba(10, 14, 30, .25); display: flex; flex-direction: column; gap: 14px; }
.ahx-tech::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 163, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 255, .07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.ahx-tech > * { position: relative; }
.ahx-tech-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a5b4fc; }
.ahx-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: ahx-ping 1.6s infinite; display: inline-block; }
.ahx-tech.is-error .ahx-dot { background: #f87171; animation: none; }
.ahx-tech-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.ahx-tile { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(165, 180, 252, .35); }
.ahx-tile img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9) contrast(1.05); }
.ahx-tile:nth-child(2n) .ahx-scan { animation-delay: -.7s; }
.ahx-tile:nth-child(3n) .ahx-scan { animation-delay: -1.3s; }
.ahx-tech.is-ready .ahx-tile .ahx-scan { opacity: .35; }
.ahx-scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(52, 211, 153, .0) 10%, rgba(52, 211, 153, .45) 85%, rgba(167, 243, 208, .95) 100%); animation: ahx-scan 2.2s cubic-bezier(.45, .05, .55, .95) infinite; pointer-events: none; }
.ahx-tech-log { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.ahx-tech-log li { display: flex; align-items: center; gap: 10px; color: rgba(219, 228, 255, .45); margin: 0 !important; padding: 0 !important; transition: color .3s; }
.ahx-tech-log li::before { content: none !important; }
.ahx-tech-log li b { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(165, 180, 252, .35); flex: 0 0 auto; }
.ahx-tech-log li.is-run { color: #e0e7ff; }
.ahx-tech-log li.is-run b { border-color: #a5b4fc; border-top-color: transparent; animation: ahx-spin .8s linear infinite; }
.ahx-tech-log li.is-ok { color: #a7f3d0; }
.ahx-tech-log li.is-ok b { border-color: #34d399; background: #34d399; box-shadow: 0 0 10px rgba(52, 211, 153, .7); }
.ahx-tech-log li.is-wait { color: #fde68a; }
.ahx-tech-log li.is-wait b { border-color: #fbbf24; animation: ahx-blink 1.2s ease-in-out infinite; }
.ahx-tech-log li.is-err { color: #fecaca; }
.ahx-tech-log li.is-err b { border-color: #f87171; background: #f87171; }
.ahx-tech-foot { margin-top: auto; font-size: 13px; color: rgba(219, 228, 255, .75); border-top: 1px solid rgba(165, 180, 252, .2); padding-top: 12px; }
.ahx-tech-foot strong { color: #fff; }

/* Schritt 3 – Zusammenfassung im Analyse-Modus */
.ahx-summary { position: relative; overflow: hidden; }
.ahx-summary > * { position: relative; }
.ahx-summary.is-running { background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--ahx-accent) 55%, #0b1020) 0%, #0b1020 70%) !important; }
.ahx-summary-grid { position: absolute !important; inset: 0; opacity: 0; transition: opacity .4s; background-image: linear-gradient(rgba(148, 163, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 255, .08) 1px, transparent 1px); background-size: 24px 24px; }
.ahx-summary.is-running .ahx-summary-grid { opacity: 1; }
.ahx-summary.is-running .ahx-summary-label::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; margin-right: 8px; vertical-align: middle; animation: ahx-ping 1.6s infinite; }
.ahx-summary .ahx-tcalc { font-size: 1.25rem; }

/* Analyse-Karten (High-Tech) */
.ahx-res.is-wait { background: #0b1020 !important; border-color: rgba(165, 180, 252, .25) !important; color: #dbe4ff; box-shadow: 0 14px 34px rgba(10, 14, 30, .22); }
.ahx-res.is-wait .ahx-badge { background: rgba(165, 180, 252, .15); color: #c7d2fe; }
.ahx-chip-ai { display: inline-flex; align-items: center; gap: 6px; background: rgba(52, 211, 153, .12) !important; color: #6ee7b7 !important; }
.ahx-chip-ok { background: #ecfdf5 !important; color: #047857 !important; }
.ahx-scanbox { position: relative; }
.ahx-scanbox img { filter: saturate(.85) contrast(1.05) brightness(.9); }
.ahx-res.is-wait:not(.is-active) .ahx-scan { display: none; }
.ahx-res.is-wait:not(.is-active) .ahx-scanbox img { filter: grayscale(.6) brightness(.7); }
.ahx-scanbox .ahx-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(110, 231, 183, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 231, 183, .16) 1px, transparent 1px); background-size: 18px 18px; mix-blend-mode: screen; }
.ahx-scanbox .ahx-corners { position: absolute; inset: 8px; background:
	linear-gradient(#6ee7b7, #6ee7b7) top left / 18px 2px no-repeat, linear-gradient(#6ee7b7, #6ee7b7) top left / 2px 18px no-repeat,
	linear-gradient(#6ee7b7, #6ee7b7) top right / 18px 2px no-repeat, linear-gradient(#6ee7b7, #6ee7b7) top right / 2px 18px no-repeat,
	linear-gradient(#6ee7b7, #6ee7b7) bottom left / 18px 2px no-repeat, linear-gradient(#6ee7b7, #6ee7b7) bottom left / 2px 18px no-repeat,
	linear-gradient(#6ee7b7, #6ee7b7) bottom right / 18px 2px no-repeat, linear-gradient(#6ee7b7, #6ee7b7) bottom right / 2px 18px no-repeat; opacity: .9; }
.ahx-wait-row { display: flex; align-items: center; gap: 16px; margin: 6px 0 12px; }
.ahx-ring { --p: 0; width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; position: relative; background: conic-gradient(#34d399 calc(var(--p) * 1%), rgba(165, 180, 252, .15) 0); transition: background .25s; box-shadow: 0 0 22px rgba(52, 211, 153, .25); }
.ahx-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #0b1020; }
.ahx-ring::after { content: attr(data-p); position: absolute; inset: 0; display: grid; place-items: center; font: 700 14px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #a7f3d0; }
.ahx-wait-title { font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.ahx-phase { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: #a5b4fc; }
.ahx-res.is-active .ahx-phase::after { content: "▍"; margin-left: 2px; animation: ahx-blink 1s steps(2) infinite; color: #6ee7b7; }
.ahx-mini-log { list-style: none !important; margin: 0 !important; padding: 0 !important; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: rgba(167, 243, 208, .8); display: flex; flex-direction: column; gap: 4px; }
.ahx-mini-log li { margin: 0 !important; padding: 0 !important; animation: ahx-in .3s ease both; }
.ahx-mini-log li::before { content: none !important; }
.ahx-reveal { animation: ahx-reveal .6s cubic-bezier(.2, .8, .2, 1) both; }

/* Footer-Credit: orange funkelnd */
.ahx .ahx-credit { font-size: 12.5px; color: var(--ahx-muted); text-align: center; margin: 10px 0 0 !important; opacity: 1; }
.ahx .ahx-heart { display: inline-block; color: #f97316; animation: ahx-heart 1.6s ease-in-out infinite; margin: 0 1px; }
.ahx .ahx-credit a { position: relative; text-decoration: none !important; font-weight: 800; letter-spacing: .01em; color: #f97316 !important; }
.ahx .ahx-credit a span {
	background: linear-gradient(100deg, #ea580c 0%, #f97316 30%, #fde68a 50%, #f97316 70%, #ea580c 100%);
	background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	animation: ahx-shine 2.8s linear infinite; filter: drop-shadow(0 0 6px rgba(249, 115, 22, .35));
}
.ahx .ahx-credit a::after { content: "✦"; position: absolute; right: -11px; top: -7px; font-size: 10px; color: #fbbf24; -webkit-text-fill-color: #fbbf24; animation: ahx-twinkle 2.2s ease-in-out infinite; }
.ahx .ahx-credit a:hover span { filter: drop-shadow(0 0 10px rgba(249, 115, 22, .7)); }

@keyframes ahx-scan { 0% { top: -30%; } 100% { top: 100%; } }
@keyframes ahx-ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); } 80%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
@keyframes ahx-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes ahx-reveal { from { opacity: 0; transform: translateY(10px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ahx-shine { 0% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
@keyframes ahx-twinkle { 0%, 100% { opacity: 0; transform: scale(.5) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
@keyframes ahx-heart { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
	.ahx .ahx-credit a span { animation: none; -webkit-text-fill-color: #ea580c; background: none; }
	.ahx .ahx-credit a::after { display: none; }
}

/* =========================================================
   1.4.0 – Farbsystem: jeder Bereich hängt an einer Variable
   (Werte kommen aus den Plugin-Einstellungen → Design)
   ========================================================= */
.ahx {
	--ahx-muted: #6b6b80; --ahx-bg: #f6f6fa;
	--ahx-btn2-bg: #eef0fe; --ahx-btn2-text: var(--ahx-accent);
	--ahx-input-bg: #fff; --ahx-input-line: var(--ahx-line); --ahx-input-focus: var(--ahx-accent);
	--ahx-step-active: var(--ahx-accent); --ahx-step-done: #0f9d6b;
	--ahx-free-main-bg: #10b981; --ahx-free-main-text: #fff; --ahx-free-bg: #ecfdf5; --ahx-free-text: #047857;
	--ahx-drop-bg: var(--ahx-accent-soft); --ahx-drop-line: var(--ahx-accent-line);
	--ahx-badge-bg: var(--ahx-accent-soft); --ahx-badge-text: var(--ahx-accent);
	--ahx-hint-bg: var(--ahx-bg); --ahx-hint-text: #4b4b62;
	--ahx-tech-bg: #0b1020; --ahx-tech-glow: #34d399; --ahx-tech-text: #dbe4ff;
	--ahx-sum-from: var(--ahx-accent); --ahx-sum-to: color-mix(in srgb, var(--ahx-accent) 70%, #000); --ahx-sum-text: #fff;
	--ahx-price-bg: var(--ahx-accent-soft); --ahx-price-text: var(--ahx-text); --ahx-details-bg: var(--ahx-bg);
	--ahx-pos: #0f9d6b; --ahx-neg: #c2410c; --ahx-info: var(--ahx-accent);
}

/* Grundflächen */
.ahx .ahx-steps li { background: var(--ahx-bg); color: var(--ahx-muted); }
.ahx .ahx-steps li span { background: var(--ahx-card); border-color: var(--ahx-line); color: var(--ahx-muted); }
.ahx .ahx-steps li.is-active { background: color-mix(in srgb, var(--ahx-step-active) 12%, var(--ahx-card)); color: var(--ahx-step-active); }
.ahx .ahx-steps li.is-active span { background: var(--ahx-step-active); border-color: var(--ahx-step-active); color: #fff; }
.ahx .ahx-steps li.is-done span { background: var(--ahx-step-done); border-color: var(--ahx-step-done); color: #fff; }
.ahx .ahx-chip { background: var(--ahx-bg); color: var(--ahx-text); }
.ahx .ahx-thumb, .ahx .ahx-res-media .ahx-main-img { background: var(--ahx-bg); border-color: var(--ahx-line); }
.ahx .ahx-field > span { color: var(--ahx-text); }
.ahx .ahx-title, .ahx .ahx-card h3, .ahx .ahx-res h3 { color: var(--ahx-text); }

/* Felder */
.ahx input[type="text"], .ahx input[type="email"], .ahx input[type="tel"], .ahx textarea { background: var(--ahx-input-bg); border-color: var(--ahx-input-line); color: var(--ahx-text); }
.ahx input:focus, .ahx textarea:focus { border-color: var(--ahx-input-focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ahx-input-focus) 16%, transparent); }
.ahx input::placeholder, .ahx textarea::placeholder { color: color-mix(in srgb, var(--ahx-muted) 75%, transparent); }

/* Buttons */
.ahx .ahx-btn { background: var(--ahx-btn2-bg); color: var(--ahx-btn2-text); }
.ahx .ahx-btn:hover, .ahx .ahx-btn:focus-visible { background: color-mix(in srgb, var(--ahx-btn2-bg) 80%, var(--ahx-btn2-text)); }
.ahx .ahx-add { border-color: var(--ahx-line); color: var(--ahx-muted); }
.ahx .ahx-add:hover, .ahx .ahx-add:focus-visible { border-color: var(--ahx-btn2-text); color: var(--ahx-btn2-text); background: var(--ahx-btn2-bg); }
.ahx .ahx-back { color: var(--ahx-muted); }
.ahx .ahx-back:hover, .ahx .ahx-back:focus-visible { color: var(--ahx-btn2-text); background: var(--ahx-btn2-bg); }
.ahx .ahx-submit { box-shadow: 0 8px 22px color-mix(in srgb, var(--ahx-btn-bg) 30%, transparent); }

/* „Kostenlos“ */
.ahx .ahx-free span { background: var(--ahx-free-bg); color: var(--ahx-free-text); }
.ahx .ahx-free .ahx-free-main { background: var(--ahx-free-main-bg); color: var(--ahx-free-main-text); box-shadow: 0 6px 16px color-mix(in srgb, var(--ahx-free-main-bg) 35%, transparent); }
.ahx .ahx-free-note { color: var(--ahx-free-text); }

/* Fotos & Hinweise */
.ahx .ahx-drop { background: var(--ahx-drop-bg); border-color: var(--ahx-drop-line); color: var(--ahx-text); }
.ahx .ahx-drop:hover, .ahx .ahx-drop:focus-visible, .ahx .ahx-drop.is-over { background: color-mix(in srgb, var(--ahx-drop-bg) 80%, var(--ahx-accent)); border-color: var(--ahx-accent); }
.ahx .ahx-drop small { color: var(--ahx-muted); }
.ahx .ahx-badge { background: var(--ahx-badge-bg); color: var(--ahx-badge-text); }
.ahx .ahx-hint { background: var(--ahx-hint-bg); color: var(--ahx-hint-text); }

/* Tech-Panel (Schritt 2) */
.ahx .ahx-tech { color: var(--ahx-tech-text); background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--ahx-tech-glow) 22%, var(--ahx-tech-bg)) 0%, var(--ahx-tech-bg) 60%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ahx-tech-text) 18%, transparent), 0 18px 40px rgba(10, 14, 30, .22); }
.ahx .ahx-tech::before { background-image: linear-gradient(color-mix(in srgb, var(--ahx-tech-text) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ahx-tech-text) 7%, transparent) 1px, transparent 1px); }
.ahx .ahx-tech-head { color: color-mix(in srgb, var(--ahx-tech-glow) 70%, var(--ahx-tech-text)); }
.ahx .ahx-dot { background: var(--ahx-tech-glow); animation-name: ahx-ping2; }
.ahx .ahx-tile { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ahx-tech-glow) 40%, transparent); }
.ahx .ahx-scan { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ahx-tech-glow) 0%, transparent) 10%, color-mix(in srgb, var(--ahx-tech-glow) 45%, transparent) 85%, color-mix(in srgb, var(--ahx-tech-glow) 90%, #fff) 100%); }
.ahx .ahx-tech-log li { color: color-mix(in srgb, var(--ahx-tech-text) 45%, transparent); }
.ahx .ahx-tech-log li b { border-color: color-mix(in srgb, var(--ahx-tech-text) 35%, transparent); }
.ahx .ahx-tech-log li.is-run { color: var(--ahx-tech-text); }
.ahx .ahx-tech-log li.is-run b { border-color: var(--ahx-tech-glow); border-top-color: transparent; }
.ahx .ahx-tech-log li.is-ok { color: color-mix(in srgb, var(--ahx-tech-glow) 55%, var(--ahx-tech-text)); }
.ahx .ahx-tech-log li.is-ok b { border-color: var(--ahx-tech-glow); background: var(--ahx-tech-glow); box-shadow: 0 0 10px color-mix(in srgb, var(--ahx-tech-glow) 70%, transparent); }
.ahx .ahx-tech-log li.is-wait { color: var(--ahx-tech-glow); }
.ahx .ahx-tech-log li.is-wait b { border-color: var(--ahx-tech-glow); }
.ahx .ahx-tech-log li.is-err { color: color-mix(in srgb, var(--ahx-err) 60%, #fff); }
.ahx .ahx-tech-log li.is-err b { border-color: var(--ahx-err); background: var(--ahx-err); }
.ahx .ahx-tech-foot { color: color-mix(in srgb, var(--ahx-tech-text) 75%, transparent); border-top-color: color-mix(in srgb, var(--ahx-tech-text) 20%, transparent); }
.ahx .ahx-tech-foot strong { color: var(--ahx-tech-text); }

/* Gesamtbox */
.ahx .ahx-summary { background: linear-gradient(135deg, var(--ahx-sum-from) 0%, var(--ahx-sum-to) 100%); color: var(--ahx-sum-text); }
.ahx .ahx-summary.is-running { background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--ahx-tech-glow) 25%, var(--ahx-tech-bg)) 0%, var(--ahx-tech-bg) 70%) !important; color: var(--ahx-tech-text); }
.ahx .ahx-summary-grid { background-image: linear-gradient(color-mix(in srgb, var(--ahx-tech-text) 8%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ahx-tech-text) 8%, transparent) 1px, transparent 1px); }
.ahx .ahx-summary.is-running .ahx-summary-label::before { background: var(--ahx-tech-glow); animation-name: ahx-ping2; }
.ahx .ahx-summary.is-running .ahx-summary-track div { background: var(--ahx-tech-glow); }

/* Analyse-Karten */
.ahx .ahx-res.is-wait { background: var(--ahx-tech-bg) !important; border-color: color-mix(in srgb, var(--ahx-tech-text) 22%, transparent) !important; color: var(--ahx-tech-text); }
.ahx .ahx-res.is-wait .ahx-badge { background: color-mix(in srgb, var(--ahx-tech-text) 14%, transparent); color: var(--ahx-tech-text); }
.ahx .ahx-chip-ai { background: color-mix(in srgb, var(--ahx-tech-glow) 14%, transparent) !important; color: var(--ahx-tech-glow) !important; }
.ahx .ahx-scanbox .ahx-grid { background-image: linear-gradient(color-mix(in srgb, var(--ahx-tech-glow) 18%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ahx-tech-glow) 18%, transparent) 1px, transparent 1px); }
.ahx .ahx-scanbox .ahx-corners { --g: var(--ahx-tech-glow); background:
	linear-gradient(var(--g), var(--g)) top left / 18px 2px no-repeat, linear-gradient(var(--g), var(--g)) top left / 2px 18px no-repeat,
	linear-gradient(var(--g), var(--g)) top right / 18px 2px no-repeat, linear-gradient(var(--g), var(--g)) top right / 2px 18px no-repeat,
	linear-gradient(var(--g), var(--g)) bottom left / 18px 2px no-repeat, linear-gradient(var(--g), var(--g)) bottom left / 2px 18px no-repeat,
	linear-gradient(var(--g), var(--g)) bottom right / 18px 2px no-repeat, linear-gradient(var(--g), var(--g)) bottom right / 2px 18px no-repeat; }
.ahx .ahx-ring { background: conic-gradient(var(--ahx-tech-glow) calc(var(--p) * 1%), color-mix(in srgb, var(--ahx-tech-text) 15%, transparent) 0); box-shadow: 0 0 22px color-mix(in srgb, var(--ahx-tech-glow) 25%, transparent); }
.ahx .ahx-ring::before { background: var(--ahx-tech-bg); }
.ahx .ahx-ring::after { color: var(--ahx-tech-glow); }
.ahx .ahx-wait-title { color: var(--ahx-tech-text); }
.ahx .ahx-phase { color: color-mix(in srgb, var(--ahx-tech-text) 75%, var(--ahx-tech-glow)); }
.ahx .ahx-res.is-active .ahx-phase::after { color: var(--ahx-tech-glow); }
.ahx .ahx-mini-log { color: color-mix(in srgb, var(--ahx-tech-glow) 70%, var(--ahx-tech-text)); }

/* Ergebnis */
.ahx .ahx-price { background: var(--ahx-price-bg); }
.ahx .ahx-price-range { color: var(--ahx-price-text); }
.ahx .ahx-price-label { color: var(--ahx-accent); }
.ahx .ahx-res-desc { color: var(--ahx-text); }
.ahx .ahx-chip-ok { background: color-mix(in srgb, var(--ahx-ok) 12%, var(--ahx-card)) !important; color: var(--ahx-ok) !important; }
.ahx .ahx-list.is-pos li::before { color: var(--ahx-pos); }
.ahx .ahx-list.is-neg li::before { color: var(--ahx-neg); }
.ahx .ahx-list.is-info li::before { color: var(--ahx-info); }
.ahx .ahx-mailnote { color: var(--ahx-ok); background: color-mix(in srgb, var(--ahx-ok) 9%, var(--ahx-card)); border-color: color-mix(in srgb, var(--ahx-ok) 35%, transparent); }
.ahx .ahx-res.is-error .ahx-price { background: color-mix(in srgb, var(--ahx-neg) 9%, var(--ahx-card)); }
.ahx .ahx-res.is-error .ahx-price-label { color: var(--ahx-neg); }

/* Fehler */
.ahx .ahx-item-error, .ahx .ahx-alert { color: var(--ahx-err); background: color-mix(in srgb, var(--ahx-err) 7%, var(--ahx-card)); border-color: color-mix(in srgb, var(--ahx-err) 30%, transparent); }
.ahx .ahx-item.has-error { border-color: var(--ahx-err); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ahx-err) 12%, transparent); }
.ahx .is-invalid { border-color: var(--ahx-err) !important; }
.ahx .ahx-field > span em { color: var(--ahx-err); }
.ahx .ahx-icon-btn:hover, .ahx .ahx-icon-btn:focus-visible { background: color-mix(in srgb, var(--ahx-err) 10%, var(--ahx-card)); color: var(--ahx-err); }

/* ---------- Details-Element (dezent, aber klar klickbar) ---------- */
.ahx .ahx-more { border: 0; padding: 0; margin: 14px 0 0; }
.ahx .ahx-more > summary.ahx-more-toggle { list-style: none; cursor: pointer; position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: calc(var(--ahx-radius) - 4px); background: var(--ahx-details-bg); border: 1px solid color-mix(in srgb, var(--ahx-accent) 22%, var(--ahx-line)); color: var(--ahx-text); transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; }
.ahx .ahx-more > summary.ahx-more-toggle::-webkit-details-marker { display: none; }
.ahx .ahx-more > summary.ahx-more-toggle::before { content: none; }
.ahx .ahx-more > summary.ahx-more-toggle:hover, .ahx .ahx-more > summary.ahx-more-toggle:focus-visible { border-color: var(--ahx-accent); box-shadow: 0 6px 18px color-mix(in srgb, var(--ahx-accent) 14%, transparent); transform: translateY(-1px); outline: none; }
.ahx .ahx-more-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--ahx-accent) 12%, var(--ahx-card)); color: var(--ahx-accent); }
.ahx .ahx-more-txt { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ahx .ahx-more-txt strong { font-size: 15px; font-weight: 700; color: var(--ahx-text); }
.ahx .ahx-more-txt small { font-size: 12.5px; color: var(--ahx-muted); }
.ahx .ahx-more-txt .is-close { display: none; }
.ahx .ahx-more[open] .ahx-more-txt .is-open { display: none; }
.ahx .ahx-more[open] .ahx-more-txt .is-close { display: inline; }
.ahx .ahx-more-count { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ahx .ahx-more-count span { font-size: 12px; font-weight: 650; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ahx .ahx-more-count .is-pos { background: color-mix(in srgb, var(--ahx-pos) 12%, var(--ahx-card)); color: var(--ahx-pos); }
.ahx .ahx-more-count .is-info { background: color-mix(in srgb, var(--ahx-info) 12%, var(--ahx-card)); color: var(--ahx-info); }
.ahx .ahx-more-chev { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ahx-card); color: var(--ahx-accent); box-shadow: 0 0 0 1px var(--ahx-line); transition: transform .3s; }
.ahx .ahx-more[open] .ahx-more-chev { transform: rotate(180deg); }
/* einmaliger, dezenter Glanz + Pfeil-Nicken, damit man es bemerkt */
.ahx .ahx-more:not([open]) > summary.ahx-more-toggle::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -50%; background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--ahx-card) 70%, transparent), transparent); animation: ahx-sweep 1.4s ease-out 1.2s 1 both; pointer-events: none; }
.ahx .ahx-more:not([open]) .ahx-more-chev { animation: ahx-nudge 1.6s ease-in-out 2s 2; }
@media (max-width: 600px) { .ahx .ahx-more-count { display: none; } }

.ahx .ahx-more-body { padding: 16px 2px 2px; animation: ahx-in .35s ease both; color: var(--ahx-text); }
.ahx .ahx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.ahx .ahx-fact { background: var(--ahx-details-bg); border: 1px solid var(--ahx-line); border-radius: calc(var(--ahx-radius) - 6px); padding: 12px 14px; }
.ahx .ahx-fact h5 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px !important; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ahx-accent); }
.ahx .ahx-fact p { margin: 0 !important; font-size: 14px; line-height: 1.5; color: var(--ahx-text); }
.ahx .ahx-lists { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ahx .ahx-list { background: var(--ahx-card); border: 1px solid var(--ahx-line); border-radius: calc(var(--ahx-radius) - 6px); padding: 12px 14px; }
.ahx .ahx-list h4 { margin: 0 0 8px !important; }
.ahx .ahx-list.is-pos h4 { color: var(--ahx-pos); }
.ahx .ahx-list.is-neg h4 { color: var(--ahx-neg); }
.ahx .ahx-list.is-info h4 { color: var(--ahx-info); }
.ahx .ahx-list ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ahx .ahx-more-close { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ahx-muted); padding: 4px 8px; border-radius: 8px; }
.ahx .ahx-more-close:hover, .ahx .ahx-more-close:focus-visible { color: var(--ahx-accent); background: var(--ahx-btn2-bg); }

@keyframes ahx-sweep { from { left: -50%; } to { left: 120%; } }
@keyframes ahx-nudge { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(3px); } 60% { transform: translateY(0); } }
@keyframes ahx-ping2 { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ahx-tech-glow) 70%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }
/* Theme-Listenpunkte (z. B. Avada) unterdrücken */
.ahx .ahx-list li, .ahx .ahx-tech-log li, .ahx .ahx-mini-log li, .ahx .ahx-steps li { list-style: none !important; background-image: none !important; }
.ahx .ahx-list li::marker { content: none; }
