/* ═══════════════════════════════════════════════════════════
   Aura Focus – main.css  v3.0
   Best of: neue Technik + alte Optik
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,700;0,800;0,900;1,800&family=Barlow:wght@400;500;700&display=swap');

/* ── Tokens ────────────────────────────────────────────────*/
:root {
  --bg:        #0a0a0a;
  --bg-light:  #f0ede6;   /* cremefarbener iPhone-Bereich */
  --surface:   #111111;
  --surface-2: #1a1a1a;
  --text:      #f0ede6;
  --text-dark: #0a0a0a;
  --muted:     #888888;
  --lime:      #c8ff00;
  --border:    #222222;
  --r:         14px;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ── Container ─────────────────────────────────────────────*/
.af-c { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ── Utilities ─────────────────────────────────────────────*/
.lime    { color: var(--lime); }
.outline { -webkit-text-stroke: 2px var(--text); color: transparent; }
.outline-dark { -webkit-text-stroke: 2px var(--text-dark); color: transparent; }
.muted   { color: var(--muted); }
.s-num   { font-size: .72rem; letter-spacing: .2em; color: var(--lime); font-family: var(--font-body); font-weight: 700; }

/* ── Buttons ───────────────────────────────────────────────*/
.btn-lime {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--lime); color: var(--text-dark);
  padding: 16px 32px; border-radius: 6px;
  font-family: var(--font-head); font-weight: 800;
  font-size: 1rem; letter-spacing: .04em;
  border: none; transition: filter .2s, transform .15s;
}
.btn-lime:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border); padding: 16px 32px;
  border-radius: 6px; font-family: var(--font-head);
  font-weight: 700; font-size: 1rem; letter-spacing: .04em;
  background: transparent; color: var(--text);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ════════════════ ROTATING BADGE ══════════════════════════*/
.af-spin-badge {
  position: relative; width: 110px; height: 110px;
  flex-shrink: 0;
}
.af-spin-badge svg {
  width: 100%; height: 100%;
  animation: af-spin 12s linear infinite;
}
.af-spin-badge .badge-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head); font-weight: 900;
  font-size: .95rem; letter-spacing: .1em;
  color: var(--lime); text-align: center;
  line-height: 1.1;
}
@keyframes af-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ════════════════ HEADER ══════════════════════════════════*/
.af-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.af-brand {
  font-family: var(--font-head); font-weight: 900;
  font-size: 1.15rem; letter-spacing: .06em;
  display: flex; flex-direction: column; line-height: 1.1;
}
.af-brand span { font-size: .6rem; letter-spacing: .18em; color: var(--muted); font-weight: 400; text-transform: uppercase; }

/* Burger */
.af-burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.af-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.af-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.af-burger.open span:nth-child(2) { opacity: 0; }
.af-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav Overlay */
.af-nav-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.af-nav-overlay.open { opacity: 1; pointer-events: all; }
.af-nav-overlay a {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(32px, 7vw, 72px); letter-spacing: -.01em;
  color: var(--text); transition: color .2s;
  line-height: 1.1;
}
.af-nav-overlay a:hover { color: var(--lime); }
.af-nav-social {
  display: flex; gap: 16px; margin-top: 24px;
}
.af-nav-social a {
  font-size: 14px !important; letter-spacing: .16em !important;
  color: var(--muted) !important; font-family: var(--font-body) !important;
  font-weight: 500 !important; border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 6px;
  transition: border-color .2s, color .2s !important;
}
.af-nav-social a:hover { border-color: var(--lime); color: var(--lime) !important; }

/* ════════════════ HERO ════════════════════════════════════*/
.af-hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 0 64px;
  position: relative; overflow: hidden;
}
.af-hero-top {
  position: absolute; top: 80px; left: 32px;
}
.af-hero-h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(56px, 11vw, 140px);
  line-height: .9; letter-spacing: -.02em;
}
.af-hero-sub {
  color: var(--muted); font-size: 1rem; max-width: 520px;
  margin-top: 24px; line-height: 1.7;
}
.af-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ════════════════ TICKER ══════════════════════════════════*/
.af-ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0; overflow: hidden; margin-top: 40px;
}
.af-ticker-vp   { overflow: hidden; }
.af-ticker-track { display: flex; will-change: transform; }
.af-ticker-line  { display: flex; gap: 32px; padding-right: 32px; flex-shrink: 0; }
.af-ti {
  font-family: var(--font-head); font-size: .8rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; font-weight: 700;
}
.af-ti .dot { color: var(--lime); margin-right: 10px; }

/* ════════════════ SECTIONS ════════════════════════════════*/
.af-section { padding: 100px 0; border-top: 1px solid var(--border); }
.af-section-light {
  padding: 100px 0; border-top: 1px solid #d4d0c8;
  background: var(--bg-light); color: var(--text-dark);
}
.af-section-light .muted { color: #666; }

.af-s-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.af-s-num { font-size: .7rem; letter-spacing: .2em; color: var(--lime); font-weight: 700; }
.af-s-label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.af-s-h2 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(40px, 6vw, 90px);
  line-height: .92; letter-spacing: -.02em;
  margin-bottom: 16px;
}
.af-s-h2-dark {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(40px, 6vw, 90px);
  line-height: .92; letter-spacing: -.02em;
  margin-bottom: 16px; color: var(--text-dark);
}
.af-s-lead { color: var(--muted); max-width: 640px; margin-bottom: 48px; }
.af-s-lead-dark { color: #555; max-width: 640px; margin-bottom: 48px; }

/* ════════════════ GRID ════════════════════════════════════*/
.af-grid { display: grid; gap: 2px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g3, .g2 { grid-template-columns: 1fr; } }

/* ════════════════ SERVICE CARDS ═══════════════════════════*/
.af-svc {
  border: 1px solid var(--border); padding: 32px;
  transition: border-color .2s, background .2s;
}
.af-svc:hover { border-color: var(--lime); background: var(--surface); }
.af-svc-icon { font-size: 28px; margin-bottom: 16px; }
.af-svc h3 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.3rem; letter-spacing: .02em; margin-bottom: 8px;
}
.af-svc p { color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* ════════════════ iPHONE STRIP (hell) ═════════════════════*/
.hl-wrap { position: relative; padding: 0 8px; }
.hl-strip {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 16px; scrollbar-width: none;
}
.hl-strip::-webkit-scrollbar { display: none; }

.hl-card {
  scroll-snap-align: start; flex: 0 0 240px;
  display: flex; flex-direction: column; gap: 14px;
}
.hl-phone {
  width: 100%; aspect-ratio: 9 / 19.5;
  background: #111; border-radius: 36px;
  border: 8px solid #1a1a1a;
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
/* Dark-on-light: Phones bekommen leichten Schatten auf hellem BG */
.af-section-light .hl-phone {
  box-shadow: 0 20px 60px rgba(0,0,0,.2), inset 0 0 0 1px rgba(0,0,0,.08);
}
.hl-phone::before {
  content: ""; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 26px; background: #0a0a0a;
  border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;
  z-index: 3;
}
.hl-phone video {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}

/* Before/After */
.hl-ba { position: relative; width: 100%; height: 100%; }
.hl-ba .ba-before { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hl-ba .ba-after-wrap { position: absolute; inset: 0; overflow: hidden; width: 55%; }
.hl-ba .ba-after-wrap img { width: 100%; height: 100%; object-fit: cover; min-width: calc(100% + 2px); }
.hl-ba .ba-divider {
  position: absolute; top: 0; bottom: 0; left: 55%; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(200,255,0,.7), transparent);
}
.hl-ba .ba-handle {
  position: absolute; top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--lime); border: 3px solid #0a0a0a;
  box-shadow: 0 4px 16px rgba(200,255,0,.4);
  cursor: ew-resize; z-index: 4;
}

.hl-cap { display: flex; flex-direction: column; gap: 4px; }
.hl-tag { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.hl-tag-dark { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: #888; font-weight: 700; }
.hl-t { font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .01em; }
.hl-t-dark { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--text-dark); }
.hl-meta { font-size: .8rem; color: var(--muted); }
.hl-meta-dark { font-size: .8rem; color: #888; }

.hl-arrow {
  position: absolute; top: 40%; transform: translateY(-50%);
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); width: 44px; height: 44px;
  border-radius: 50%; z-index: 5; display: grid;
  place-items: center; font-size: 22px;
  transition: border-color .2s, color .2s;
}
.hl-arrow:hover { border-color: var(--lime); color: var(--lime); }
.hl-arrow.prev { left: -22px; }
.hl-arrow.next { right: -22px; }
@media (max-width: 680px) { .hl-arrow { display: none; } }

/* ════════════════ PAKETE ══════════════════════════════════*/
.pkg-card {
  border: 1px solid var(--border); padding: 36px;
  transition: border-color .2s, background .2s;
}
.pkg-card:hover { border-color: var(--lime); background: var(--surface); }
.pkg-card h3 {
  font-family: var(--font-head); font-weight: 900;
  font-size: 2rem; letter-spacing: .02em; margin-bottom: 12px;
}
.pkg-card ul { list-style: none; margin: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.pkg-card ul li { font-size: .92rem; color: var(--muted); }
.pkg-card ul li::before { content: "→ "; color: var(--lime); }
.pkg-badge {
  display: inline-block; border: 1px dashed rgba(200,255,0,.5);
  border-radius: 999px; padding: 6px 16px;
  color: var(--lime); font-weight: 700; font-size: .88rem;
  margin-top: 12px;
}
.pkg-best { border-color: var(--lime) !important; }
.pkg-popular {
  display: inline-block; background: var(--lime); color: #0a0a0a;
  font-size: .65rem; font-weight: 900; letter-spacing: .14em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 4px;
  margin-bottom: 10px;
}

/* ════════════════ CTA SEKTION ══════════════════════════════*/
.af-cta-section {
  padding: 120px 0; text-align: center;
  border-top: 1px solid var(--border);
}
.af-cta-h {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(48px, 9vw, 120px);
  line-height: .9; letter-spacing: -.025em; margin-bottom: 24px;
}
.af-cta-info {
  display: flex; justify-content: center; gap: 48px;
  flex-wrap: wrap; margin-top: 40px;
}
.af-cta-info-item { display: flex; flex-direction: column; gap: 4px; }
.af-cta-info-item span:first-child { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.af-cta-info-item span:last-child { font-weight: 700; }

/* ════════════════ KONTAKT FORM ════════════════════════════*/
.af-form { display: grid; gap: 16px; max-width: 700px; }
.af-form label { font-size: .78rem; letter-spacing: .08em; color: var(--muted); display: block; margin-bottom: 5px; }
.af-form input,
.af-form select,
.af-form textarea {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 13px 16px; color: var(--text);
  font-family: var(--font-body); font-size: .95rem;
  outline: none; transition: border-color .2s;
}
.af-form input:focus,
.af-form select:focus,
.af-form textarea:focus { border-color: var(--lime); }
.af-form textarea { resize: vertical; min-height: 100px; }

/* ════════════════ FOOTER ══════════════════════════════════*/
.af-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}
.af-footer-main {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 32px; padding-bottom: 40px;
}
.af-footer-brand {
  font-family: var(--font-head); font-weight: 900;
  font-size: 1.4rem; letter-spacing: .04em;
}
.af-footer-brand .lime { color: var(--lime); }
.af-footer-tagline { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.af-footer-hash { color: var(--lime); font-weight: 700; margin-top: 10px; font-size: .9rem; }
.af-footer-social { display: flex; gap: 10px; }
.af-footer-social a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border: 1px solid var(--border);
  border-radius: 8px; font-size: .8rem; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.af-footer-social a:hover { border-color: var(--lime); color: var(--lime); }

.af-footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: .82rem;
}
.af-footer-bottom-left { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.af-footer-bottom-left .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.af-footer-links { display: flex; gap: 16px; }
.af-footer-links a { color: var(--muted); transition: color .2s; }
.af-footer-links a:hover { color: var(--text); }

/* ════════════════ KARRIERE FORM ════════════════════════════*/
.af-kform { display: grid; gap: 18px; max-width: 760px; }
.af-kform label { font-size: .78rem; letter-spacing: .08em; color: var(--muted); display: block; margin-bottom: 5px; }
.af-kform input,
.af-kform select,
.af-kform textarea {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 13px 16px; color: var(--text);
  font-family: var(--font-body); font-size: .95rem;
  outline: none; transition: border-color .2s;
}
.af-kform input:focus,
.af-kform select:focus,
.af-kform textarea:focus { border-color: var(--lime); }
.af-kform textarea { resize: vertical; min-height: 110px; }

/* ════════════════ BLOG ════════════════════════════════════*/
.blog-card {
  border: 1px solid var(--border); padding: 28px;
  transition: border-color .2s, background .2s;
}
.blog-card:hover { border-color: var(--lime); background: var(--surface); }
.blog-tag {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--lime); font-weight: 700; margin-bottom: 12px;
  display: block;
}
.blog-card h3 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.3rem; margin-bottom: 10px; line-height: 1.2;
}
.blog-card p { color: var(--muted); font-size: .88rem; }
.blog-read {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--lime); font-size: .88rem; font-weight: 700;
  margin-top: 16px; transition: gap .2s;
}
.blog-read:hover { gap: 10px; }

/* ════════════════ REVEAL ══════════════════════════════════*/
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
.af-grid .af-svc:nth-child(2),
.af-grid .pkg-card:nth-child(2),
.af-grid .blog-card:nth-child(2) { transition-delay: .08s; }
.af-grid .af-svc:nth-child(3),
.af-grid .pkg-card:nth-child(3),
.af-grid .blog-card:nth-child(3) { transition-delay: .16s; }

/* ════════════════ RESPONSIVE ══════════════════════════════*/
@media (max-width: 768px) {
  .af-hero-h1 { font-size: clamp(44px, 13vw, 80px); }
  .af-s-h2, .af-s-h2-dark { font-size: clamp(36px, 10vw, 60px); }
  .af-cta-h { font-size: clamp(40px, 12vw, 80px); }
  .af-c { padding: 0 20px; }
  .af-header { padding: 0 20px; }
}
