/* APEX H1 – Produktseite. Ergänzt base.css (Farben/Schriften der 508-Studios-Website). */
:root { --ax-green: #6fae72; --ax-green-light: #a7d6a2; --ax-line: rgba(212,175,55,.22); }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.ax-h2 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--color-warm); }
.ax-lead { margin-top: 1rem; max-width: 44rem; color: var(--color-muted); line-height: 1.7; }
.ax-center { text-align: center; margin-inline: auto; }
.ax-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Einblendung */
.ax-anim .ax-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.ax-anim .ax-reveal.is-in { opacity: 1; transform: none; }

/* Statuskennzeichnung */
.ax-badge { display: inline-block; vertical-align: .12em; margin-left: .45rem; padding: .08rem .45rem; border-radius: 999px; font-size: .7rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap; border: 1px solid rgba(212,175,55,.45); color: var(--color-gold-light); background: rgba(212,175,55,.07); }
.ax-badge--open { border-color: rgba(255,255,255,.22); color: var(--color-muted); background: rgba(255,255,255,.04); }
.ax-badge--cand, .ax-badge--idea, .ax-badge--prelim { border-style: dashed; }
.ax-badge--dev, .ax-badge--valid { border-color: rgba(118,168,120,.5); color: var(--ax-green-light); background: rgba(118,168,120,.08); }

/* 1 Hero */
.ax-hero { position: relative; isolation: isolate; min-height: min(100svh, 900px); display: flex; align-items: flex-end; overflow: hidden; padding: 140px 0 clamp(3rem, 7vw, 5.5rem); }
.ax-hero__media { position: absolute; inset: 0; z-index: -2; }
.ax-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.ax-hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(11,13,18,.55) 0%, rgba(11,13,18,.05) 30%, rgba(11,13,18,.35) 60%, #0B0D12 100%),
  radial-gradient(70% 60% at 50% 40%, rgba(212,175,55,.10), rgba(0,0,0,0) 70%); }
.ax-hero__inner { text-align: center; }
.ax-status { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-size: .85rem; color: var(--color-warm); padding: .35rem .8rem; border: 1px solid rgba(212,175,55,.45); border-radius: 999px; background: rgba(11,13,18,.55); backdrop-filter: blur(6px); }
.ax-status span { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ax-green); box-shadow: 0 0 0 4px rgba(118,168,120,.2); }
.ax-hero__title { margin-top: 1.1rem; font-size: clamp(2.4rem, 7vw, 5.4rem); }
.ax-hero__sub { margin: 1.1rem auto 0; max-width: 34rem; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--color-warm); opacity: .9; }
.ax-hero__cta { margin-top: 2rem; }

/* 2–4 Modelle */
.ax-model { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.ax-model--lite { background: var(--color-midnight); }
.ax-model--pro { background: radial-gradient(60% 80% at 75% 50%, rgba(212,175,55,.09), rgba(0,0,0,0) 70%), #0a0b0f; border-top: 1px solid var(--ax-line); }
.ax-model--extreme { background: linear-gradient(180deg, #0B0D12, #07080a); border-top: 1px solid var(--ax-line); }
.ax-model__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .ax-model__grid { grid-template-columns: 1.15fr .85fr; }
  .ax-model--flip .ax-model__media { order: 2; }
}
.ax-model__media { aspect-ratio: 5 / 3; display: grid; place-items: center; }
.ax-model__img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(212,175,55,.16)); }
.ax-model--extreme .ax-model__img { filter: drop-shadow(0 30px 50px rgba(212,175,55,.26)); }
.ax-model__tag { font-family: var(--font-hand); font-size: 1.7rem; color: var(--color-gold); line-height: 1; }
.ax-model--pro .ax-model__tag { color: var(--color-gold-light); }
.ax-model__name { margin-top: .5rem; font-size: clamp(2rem, 4.4vw, 3.3rem); color: var(--color-warm); }
.ax-model__lead { margin-top: 1rem; color: var(--color-muted); line-height: 1.7; max-width: 32rem; }
.ax-specs { margin-top: 1.6rem; display: grid; gap: .1rem; }
.ax-specs li { padding: .62rem 0; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--color-warm); font-size: .98rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.ax-specs li .ax-badge { margin-left: 0; flex: none; }
.ax-model__btn { margin-top: 2rem; }

/* 5 Vergleich */
.ax-cmp { padding: clamp(4.5rem, 9vw, 7rem) 0; background: #08090C; }
.ax-legend { margin-top: 1.25rem; color: var(--color-muted); font-size: .85rem; line-height: 2; }
.ax-legend .ax-badge { margin-left: .2rem; }
.ax-legend__label { margin-right: .3rem; }
.ax-table-wrap { margin-top: 2rem; overflow-x: auto; border: 1px solid var(--ax-line); border-radius: 2px; background: rgba(23,26,32,.6); -webkit-overflow-scrolling: touch; }
.ax-table-wrap:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.ax-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .95rem; }
.ax-table th, .ax-table td { text-align: left; padding: 1rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; line-height: 1.55; }
.ax-table thead th { font-family: var(--font-display); font-weight: 600; color: var(--color-gold-light); border-bottom: 1px solid rgba(212,175,55,.35); background: rgba(11,13,18,.6); }
.ax-table tbody th { font-family: var(--font-display); font-weight: 500; color: var(--color-warm); white-space: nowrap; }
.ax-table td { color: var(--color-muted); }
.ax-table th:first-child { position: sticky; left: 0; background: #12141a; z-index: 1; }
.ax-table tbody tr:last-child th, .ax-table tbody tr:last-child td { border-bottom: 0; }
.ax-swipe { display: none; margin-top: .75rem; font-size: .82rem; color: var(--color-muted); transition: opacity .3s; }
.ax-swipe.is-hidden { opacity: 0; }
@media (max-width: 820px) { .ax-swipe { display: block; } }

/* 6 Feature-Karten */
.ax-features { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.ax-cards { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .ax-cards { grid-template-columns: repeat(3, 1fr); } }
.ax-card { background: linear-gradient(180deg, rgba(31,35,43,.85), rgba(23,26,32,.85)); border: 1px solid var(--ax-line); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.ax-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #07080a; display: grid; place-items: center; }
.ax-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ax-card:hover .ax-card__img { transform: scale(1.04); }
.ax-card__svg { width: 88%; height: auto; }
.ax-card__body { padding: 1.6rem 1.5rem 1.8rem; }
.ax-card__model { font-family: var(--font-display); font-size: .82rem; color: var(--color-gold); }
.ax-card__h { margin-top: .35rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--color-warm); }
.ax-card__body p:last-child { margin-top: .75rem; color: var(--color-muted); line-height: 1.65; font-size: .97rem; }

/* 7 OS */
.ax-os { padding: clamp(4.5rem, 9vw, 7rem) 0; background: radial-gradient(60% 70% at 70% 50%, rgba(212,175,55,.08), rgba(0,0,0,0) 70%), #08090C; }
.ax-os__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .ax-os__grid { grid-template-columns: .85fr 1.15fr; } }
.ax-os__text p { margin-top: 1rem; color: var(--color-muted); line-height: 1.7; max-width: 34rem; }
.ax-checks { margin-top: 1.5rem; display: grid; gap: .6rem; }
.ax-checks li { position: relative; padding-left: 1.6rem; color: var(--color-warm); }
.ax-checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .45rem; border-left: 2px solid var(--color-gold); border-bottom: 2px solid var(--color-gold); transform: rotate(-45deg) translateY(-50%); }
.ax-os__visual { margin: 0; }
.ax-os-svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.ax-os__visual figcaption { margin-top: .75rem; text-align: center; font-size: .82rem; color: var(--color-muted); }

/* 8 Farmers Dream Edition */
.ax-fd { position: relative; isolation: isolate; overflow: hidden; padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid rgba(118,168,120,.35); background: linear-gradient(180deg, #0c100c 0%, #0B0D12 60%); }
.ax-fd__glow { position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(118,168,120,.18), rgba(212,175,55,.06) 60%, rgba(0,0,0,0)); }
.ax-fd__hero { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .ax-fd__hero { grid-template-columns: .9fr 1.1fr; } }
.ax-fd__eyebrow { font-family: var(--font-hand); font-size: 1.8rem; color: var(--ax-green-light); line-height: 1; }
.ax-fd__intro .ax-h2 { margin-top: .5rem; }
.ax-fd__sub { margin-top: 1rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--color-gold-light); }
.ax-fd__text { margin-top: 1rem; color: var(--color-muted); line-height: 1.75; max-width: 34rem; }
.ax-fd__note { margin-top: 1.5rem; font-size: .82rem; color: rgba(184,187,195,.75); max-width: 30rem; }
.ax-btn-green { background: linear-gradient(100deg, #5f9e62, #8cc487); color: #0b0d12; }
.ax-btn-green:hover { box-shadow: 0 8px 28px -8px rgba(118,168,120,.7); }
.ax-fd__svg { display: block; width: 100%; height: auto; }
.ax-fd__device .ax-fd__svg { filter: drop-shadow(0 30px 60px rgba(118,168,120,.18)); }
.ax-fd__grid { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: 1.5rem; scroll-margin-top: 100px; }
@media (min-width: 900px) { .ax-fd__grid { grid-template-columns: 1fr 1fr; } .ax-fd__tile--cmp { grid-column: 1 / -1; } }
.ax-fd__tile { margin: 0; border: 1px solid rgba(118,168,120,.25); border-radius: 2px; background: rgba(15,19,16,.7); overflow: hidden; }
.ax-fd__tile figcaption { padding: 1.2rem 1.4rem 1.4rem; color: var(--color-muted); line-height: 1.6; font-size: .95rem; }
.ax-fd__tile figcaption strong { display: block; margin-bottom: .25rem; font-family: var(--font-display); color: var(--color-warm); font-weight: 600; }
.ax-fd__zoom { aspect-ratio: 16 / 10; overflow: hidden; }
.ax-fd__zoom .ax-fd__svg { width: 100%; height: 100%; }
.ax-fd__world { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ax-fd__worldimg { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.05); }
.ax-fd__worlddev { position: absolute; left: 50%; bottom: 8%; width: 66%; transform: translateX(-50%); filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
.ax-fd__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 3rem); align-items: end; background: radial-gradient(60% 80% at 75% 50%, rgba(118,168,120,.12), rgba(0,0,0,0) 70%); }
.ax-fd__pair span { display: block; margin-top: .9rem; text-align: center; font-family: var(--font-display); font-size: .92rem; color: var(--color-gold-light); }
.ax-fd__pair .ax-green { color: var(--ax-green-light); }
.ax-fd__feats { margin-top: 2.5rem; display: grid; gap: .9rem 2rem; }
@media (min-width: 760px) { .ax-fd__feats { grid-template-columns: 1fr 1fr; } }
.ax-fd__feats li { position: relative; padding-left: 1.7rem; color: var(--color-warm); line-height: 1.55; }
.ax-fd__feats li::before { content: ""; position: absolute; left: 0; top: .35em; width: .85rem; height: .85rem; border-radius: 50% 50% 50% 0; background: linear-gradient(135deg, #9fd39a, #4f8a54); transform: rotate(-45deg); }

/* 9 Abschluss */
.ax-end { padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 8rem); }
.ax-picks { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .ax-picks { grid-template-columns: repeat(3, 1fr); } }
.ax-pick__link { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.6rem 1.25rem 1.8rem; border: 1px solid var(--ax-line); border-radius: 2px; background: rgba(23,26,32,.6); text-decoration: none; transition: border-color .3s, transform .3s; height: 100%; }
.ax-pick__link:hover { border-color: rgba(212,175,55,.6); transform: translateY(-3px); }
.ax-pick__link:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.ax-pick__media { width: 100%; aspect-ratio: 5 / 3; display: grid; place-items: center; }
.ax-pick__img { width: 100%; height: 100%; object-fit: contain; }
.ax-pick__name { margin-top: 1rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--color-warm); }
.ax-pick__tag { margin-top: .2rem; font-family: var(--font-hand); font-size: 1.35rem; color: var(--color-gold); }
.ax-pick__more { margin-top: 1rem; font-size: .9rem; color: var(--color-gold-light); }
.ax-end .btn { margin-top: 2.5rem; }
.ax-end__note { margin-top: 2rem; max-width: 40rem; font-size: .85rem; color: var(--color-muted); }
