/* ajarkas – Teil 2 (wird über functions.php geladen) */

/* ---------- Warum ---------- */
.aj-why { position: relative; overflow: hidden; }
.aj-why__ghost { position: absolute; left: 40px; top: 30px; font-family: var(--aj-font-display); font-size: clamp(80px, 17vw, 220px); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.12); white-space: nowrap; pointer-events: none; }
.aj-why__cards { position: relative; min-height: 380px; }
.aj-why__card { position: absolute; width: 380px; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.aj-why__card strong { font-family: var(--aj-font-display); font-size: 22px; }
.aj-why__card span { font-size: 15px; line-height: 1.5; }
.aj-why__card--1 { left: 0; top: 0; background: #F8FAFC; color: var(--aj-ink); transform: rotate(-2deg); }
.aj-why__card--1 span { color: var(--aj-muted); }
.aj-why__card--2 { left: 180px; top: 130px; background: var(--aj-lime); color: var(--aj-ink); transform: rotate(1.5deg); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.aj-why__card--3 { left: 60px; top: 262px; background: var(--aj-ink-2); color: #F8FAFC; border: 1px solid var(--aj-line-dark); transform: rotate(-1deg); }
.aj-why__card--3 span { color: var(--aj-on-dark-soft); }
@media (max-width: 900px) { .aj-why__cards { min-height: 0; display: flex; flex-direction: column; gap: 14px; } .aj-why__card { position: static; width: auto; } }

/* ---------- Stempel ---------- */
.aj-stamps { position: relative; min-height: 300px; }
.aj-stamp { position: absolute; width: 200px; height: 200px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; background: #fff; transition: transform .35s ease; }
.aj-stamp:hover { transform: rotate(0deg) scale(1.06); }
.aj-stamp strong { font-family: var(--aj-font-display); font-weight: 800; font-size: 18px; line-height: 1.1; padding: 0 18px; }
.aj-stamp small { font-size: 13px; color: var(--aj-muted-2); }
.aj-stamp--outline { border: 3px solid var(--aj-ink); }
.aj-stamp--coral { border: 3px solid var(--aj-coral); color: var(--aj-coral); }
.aj-stamp--coral small { color: inherit; }
.aj-stamp--lime { background: var(--aj-lime); }
.aj-stamp--lime small { color: var(--aj-ink-3); }
.aj-stamp--ink { background: var(--aj-ink); color: #F8FAFC; }
.aj-stamp--ink small { color: var(--aj-on-dark-muted); }
.aj-stamp--dashed { border: 3px dashed var(--aj-on-dark-muted); color: var(--aj-muted-2); }
@media (max-width: 900px) { .aj-stamps { min-height: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; } .aj-stamp { position: static; width: 150px; height: 150px; } .aj-stamp strong { font-size: 14px; } }
.aj-stamps__sticker { position: absolute; right: 0; bottom: 10px; }
@media (max-width: 900px) { .aj-stamps__sticker { position: static; } }

/* ---------- Leistungen Zeilen ---------- */
.aj-rows { display: flex; flex-direction: column; gap: 14px; }
.aj-row { display: grid; grid-template-columns: minmax(0, 1fr) 240px 170px; gap: 24px; align-items: center; padding: 26px 28px; background: #fff; border-radius: var(--aj-radius); box-shadow: 0 2px 0 var(--aj-line); transition: transform .25s ease, box-shadow .25s ease; }
.aj-row:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,27,43,0.12); }
.aj-row__text { display: flex; flex-direction: column; gap: 6px; }
.aj-row__text span { font-size: 15px; color: var(--aj-muted); }
.aj-row__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.aj-row__price { font-family: var(--aj-font-display); font-weight: 800; font-size: 20px; text-align: right; }
@media (max-width: 900px) { .aj-row { grid-template-columns: 1fr; gap: 10px; padding: 18px; } .aj-row__price { text-align: left; } }

/* ---------- Browserfenster / Screenshots ---------- */
.aj-browser { background: #fff; border-radius: 10px; box-shadow: var(--aj-shadow); overflow: hidden; }
.aj-browser__bar { display: flex; gap: 6px; align-items: center; padding: 8px 12px; background: var(--aj-paper); border-bottom: 1px solid #E2E8F0; }
.aj-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--aj-line); display: inline-block; }
.aj-browser__bar small { margin-left: 8px; font-size: 11px; color: var(--aj-muted-2); background: #fff; padding: 2px 10px; border-radius: 4px; flex-grow: 1; }
.aj-browser img, .aj-browser .aj-ph { aspect-ratio: 16/10; width: 100%; height: auto; object-fit: cover; object-position: top; }
.aj-fan { position: relative; min-height: 460px; }
.aj-fan .aj-browser { position: absolute; width: 420px; transition: transform .35s ease; }
.aj-fan .aj-browser:nth-child(1) { left: 0; top: 40px; transform: rotate(-5deg); }
.aj-fan .aj-browser:nth-child(2) { left: 120px; top: 0; transform: rotate(2deg); }
.aj-fan .aj-browser:nth-child(3) { left: 240px; top: 120px; transform: rotate(-1deg); box-shadow: 0 24px 60px rgba(11,27,43,0.22); }
.aj-fan .aj-browser:hover { transform: rotate(0) scale(1.03); z-index: 2; }
.aj-fan .aj-hand { position: absolute; left: 0; bottom: 0; transform: rotate(-4deg); }
.aj-fan--mobile { display: none; }
@media (max-width: 900px) { .aj-fan { min-height: 320px; margin-bottom: 24px; } .aj-fan .aj-browser { width: 240px; } .aj-fan .aj-browser:nth-child(1) { top: 30px; } .aj-fan .aj-browser:nth-child(2) { left: 50px; } .aj-fan .aj-browser:nth-child(3) { left: 90px; top: 90px; } .aj-fan .aj-hand { display: none; } }
/* Referenz-Abschnitt im Inhalt */
.aj-ref__visual { position: relative; min-height: 380px; }
.aj-ref__shot { position: absolute; left: 0; top: 10px; width: min(520px, 100%); transform: rotate(-3deg); }
.aj-ref__sticker { position: absolute; right: 10px; bottom: 0; }
@media (max-width: 900px) { .aj-ref__visual { min-height: 0; } .aj-ref__shot { position: static; transform: rotate(-2deg); margin: 0 auto 24px; } .aj-ref__sticker { position: static; display: inline-block; margin-top: 10px; } }
.aj-projects { display: flex; flex-direction: column; }
.aj-projects a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--aj-line); }
.aj-projects a:last-child { border-bottom: 1px solid var(--aj-line); }
.aj-projects strong { font-family: var(--aj-font-display); font-size: 22px; }
.aj-projects span { font-size: 13px; color: var(--aj-muted-2); text-align: right; }

/* ---------- Blog-Streifen ---------- */
.aj-blogstrip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.aj-blogstrip__main { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px; background: var(--aj-ink); color: #F8FAFC; border-radius: var(--aj-radius); min-height: 200px; }
.aj-blogstrip__main strong { font-family: var(--aj-font-display); font-size: 24px; line-height: 1.15; }
.aj-blogstrip__main small { color: var(--aj-on-dark-muted); font-size: 13px; }
.aj-blogstrip__new { display: inline-flex; align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--aj-coral); color: #fff; font-size: 12px; font-weight: 600; }
.aj-blogstrip__item { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 22px; background: var(--aj-paper); border-radius: var(--aj-radius); }
.aj-blogstrip__item small { font-size: 13px; color: var(--aj-muted-2); }
.aj-blogstrip__item strong { font-family: var(--aj-font-display); font-size: 19px; line-height: 1.2; }
@media (max-width: 900px) { .aj-blogstrip { grid-template-columns: 1fr; } }

/* ---------- Zähler ---------- */
.aj-counters { display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-end; }
.aj-counter { position: relative; display: flex; flex-direction: column; gap: 4px; }
.aj-counter__num { font-family: var(--aj-font-display); font-size: 72px; font-weight: 800; line-height: 0.9; font-variant-numeric: tabular-nums; display: inline-block; }
.aj-counter--big .aj-counter__num { font-size: 96px; }
.aj-counter small { font-size: 15px; color: var(--aj-on-dark-muted); }
.aj-counter__ring { position: absolute; left: -18px; top: -16px; width: 240px; height: 130px; pointer-events: none; }
.aj-counter__ring path { fill: none; stroke: var(--aj-lime); stroke-width: 3; stroke-linecap: round; }
@media (max-width: 600px) { .aj-counters { gap: 24px; } .aj-counter__num { font-size: 44px; } .aj-counter--big .aj-counter__num { font-size: 64px; } .aj-counter__ring { width: 170px; height: 95px; } }

/* ---------- Pakete ---------- */
.aj-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: end; }
.aj-plan { position: relative; border: 2px solid var(--aj-line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.aj-plan__name { font-family: var(--aj-font-display); font-weight: 800; font-size: 20px; }
.aj-plan__price { font-family: var(--aj-font-display); font-size: 48px; font-weight: 800; line-height: 1; }
.aj-plan__price small { font-size: 15px; color: var(--aj-muted-2); font-weight: 500; }
.aj-plan__desc { font-size: 14px; color: var(--aj-muted); line-height: 1.5; }
.aj-plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.aj-plan ul li::before { content: '✓ '; color: var(--aj-coral); font-weight: 600; }
.aj-plan--featured ul li::before { color: var(--aj-lime); }
.aj-plan .aj-btn { margin-top: 8px; }
.aj-plan--featured { border-color: transparent; background: var(--aj-ink); color: #F8FAFC; transform: translateY(-16px) rotate(-1deg); box-shadow: 0 30px 70px rgba(11,27,43,0.3); padding: 34px 30px; }
.aj-plan--featured .aj-plan__desc, .aj-plan--featured .aj-plan__price small { color: var(--aj-on-dark-soft); }
.aj-plan--featured .aj-sticker { position: absolute; right: -14px; top: -18px; transform: rotate(8deg); }
@media (max-width: 900px) { .aj-plans { display: flex; overflow-x: auto; gap: 14px; padding: 12px 0 24px; scroll-snap-type: x mandatory; } .aj-plan { flex: 0 0 280px; scroll-snap-align: start; } .aj-plan--featured { transform: rotate(-1deg); } }


/* Referenzen: Desktop + Mobil */
.aj-case { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--aj-line); }
.aj-case:first-of-type { border-top: 0; }
.aj-case--flip .aj-case__visual { order: 2; }
.aj-case__visual { position: relative; padding: 0 clamp(56px, 8vw, 96px) clamp(28px, 4vw, 48px) 0; }
.aj-case--flip .aj-case__visual { padding: 0 0 clamp(28px, 4vw, 48px) clamp(56px, 8vw, 96px); }
.aj-case .aj-browser { position: relative; }
.aj-case .aj-browser img { aspect-ratio: 16/10; object-fit: cover; object-position: top; display: block; }
.aj-phone { position: absolute; right: 0; bottom: 0; width: clamp(108px, 13vw, 168px); padding: 18px 7px 9px; background: var(--aj-ink); border-radius: 28px; box-shadow: 0 28px 60px rgba(11, 27, 43, 0.32); transform: rotate(3deg); transition: transform .35s ease; }
.aj-case--flip .aj-phone { right: auto; left: 0; transform: rotate(-3deg); }
.aj-phone::before { content: ''; position: absolute; top: 7px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: var(--aj-ink-3); }
.aj-phone img { display: block; width: 100%; aspect-ratio: 9/19; object-fit: cover; object-position: top; border-radius: 20px; }
.aj-case__visual:hover .aj-phone { transform: rotate(0) translateY(-6px); }
.aj-case__body { display: flex; flex-direction: column; gap: 14px; }
.aj-case__num { font-family: var(--aj-font-mono); font-size: 13px; color: var(--aj-muted-2); }
.aj-cases .aj-case__body h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 0; }
.aj-cases .aj-case__body p { margin: 0; }
.aj-case__body dl { display: grid; grid-template-columns: 84px 1fr; gap: 10px 16px; margin: 6px 0 0; }
.aj-case__body dt { font-weight: 600; }
.aj-case__body dd { margin: 0; color: var(--aj-muted); }
.aj-case__link { align-self: flex-start; font-size: 14px; color: var(--aj-muted-2); }
.aj-case__link:hover { color: var(--aj-ink); }
@media (max-width: 900px) {
  .aj-case { grid-template-columns: 1fr; }
  .aj-case--flip .aj-case__visual { order: 0; padding: 0 64px 28px 0; }
  .aj-case--flip .aj-phone { left: auto; right: 0; transform: rotate(3deg); }
  .aj-case__body dl { grid-template-columns: 1fr; gap: 2px; }
  .aj-case__body dd { margin-bottom: 10px; }
}
.aj-content .aj-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px 48px; align-items: center; margin: 32px 0 0; padding: 0; list-style: none; }
.aj-content .aj-logos li { display: flex; align-items: center; justify-content: center; min-height: 56px; margin: 0; }
.aj-content .aj-logos img { max-height: 46px; max-width: 100%; width: auto; filter: grayscale(1); mix-blend-mode: multiply; opacity: .7; transition: opacity .2s ease, filter .2s ease; }
.aj-content .aj-logos li:hover img { filter: none; opacity: 1; }
/* Zertifikats-Badges */
.aj-badges { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: center; padding-bottom: 36px; }
.aj-badges img { display: block; width: 100%; height: auto; background: #fff; border-radius: 8px; box-shadow: 0 14px 34px rgba(11, 27, 43, 0.14); transform: rotate(-2deg); transition: transform .3s ease; }
.aj-badges img:nth-of-type(even) { transform: rotate(2deg); }
.aj-badges img:hover { transform: rotate(0) scale(1.04); }
.aj-badges__sticker { position: absolute; right: 0; bottom: 0; }
@media (max-width: 900px) { .aj-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-bottom: 0; } .aj-badges__sticker { position: static; grid-column: 1 / -1; justify-self: start; margin-top: 8px; } }
