/* =================================================
   pages.css – AK HIGH END (Rennsport x Corporate)
    -> keine Dopplungen, Bilder/Team zuverlässig sichtbar
================================================= */

html{scroll-behavior:smooth;}

h1,h2,h3,h4{
  color:var(--text);
  font-weight:900;
  letter-spacing:-0.045em;
}
p,.text-muted{color:var(--muted) !important;}

/* =================================================
   HERO BACKDROP (heller, edler)
================================================= */
.ak-premium-bg{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  border-bottom:1px solid var(--line);
}

.ak-premium-bg::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 12px),
    linear-gradient(315deg, rgba(255,255,255,.04) 0 2px, transparent 2px 12px);
  background-size:26px 26px;
  opacity:.18;
  pointer-events:none;
}

.ak-premium-bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 24% 12%, rgba(255,255,255,.14), transparent 70%),
    radial-gradient(900px 520px at 78% 18%, rgba(225,6,0,.16), transparent 72%),
    linear-gradient(90deg, rgba(11,13,16,.36), rgba(11,13,16,.10), rgba(11,13,16,.34));
  pointer-events:none;
}

/* =================================================
   PAGE HERO
================================================= */
.page-hero{padding:86px 0 46px;}
@media (max-width:991px){ .page-hero{padding:64px 0 34px;} }

.hero-kicker{
  color:rgba(180,188,200,.78);
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:12px;
}

.page-hero h1{
  font-family:"Inter Tight", Inter, system-ui, sans-serif;
  font-size:clamp(40px, 4vw, 72px);
  line-height:1.02;
  letter-spacing:-0.04em;
  margin:0;
}

.hero-sub{
  margin-top:14px;
  max-width:56ch;
  color:rgba(180,188,200,.86);
  font-size:1.02rem;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.hero-hint{
  margin-top:14px;
  color:rgba(142,151,166,.85);
  font-weight:700;
  font-size:.92rem;
}

/* =================================================
   SECTIONS
================================================= */
.page-section{
  padding:80px 0;
  border-top:1px solid var(--line);
  position:relative;
  background: rgba(255,255,255,.015);
}
@media (max-width:768px){ .page-section{padding:64px 0;} }

.page-section:nth-of-type(even)::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  pointer-events:none;
}

/* =================================================
   GRID HELPERS
================================================= */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:18px;
}
.grid-2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
  margin-top:18px;
}
.grid-4{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}
@media (max-width:1199px){
  .grid-4{grid-template-columns:repeat(2, minmax(0,1fr));}
}
@media (max-width:991px){
  .grid-3{grid-template-columns:1fr; gap:14px;}
  .grid-2{grid-template-columns:1fr; gap:14px;}
}
@media (max-width:767px){
  .grid-4{
    grid-template-columns:1fr;
    gap:14px;
  }
}

/* =================================================
   CARD SYSTEM (einmalig)
================================================= */
.card-flat,
.service-item,
.team-card,
.ak-engine-card{
  position:relative;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.07);
  box-shadow:0 18px 62px rgba(0,0,0,.42);
  backdrop-filter:blur(14px);
  transform: translateZ(0);
  will-change: transform, box-shadow, border-color;
  overflow:hidden;
  isolation:isolate;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* texture layer (idle) */
.card-flat::after,
.service-item::after,
.team-card::after,
.ak-engine-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  pointer-events:none;
  z-index:0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.030) 0 1px, transparent 1px 10px),
    linear-gradient(315deg, rgba(255,255,255,.020) 0 1px, transparent 1px 12px);
  background-size: 26px 26px, 28px 28px;
  opacity:.10;
  mix-blend-mode: overlay;
  transition: opacity .26s ease;
}

/* red aura + sweep line */
.card-flat::before,
.service-item::before,
.team-card::before,
.ak-engine-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  pointer-events:none;
  z-index:0;
  opacity:0;
  filter: blur(18px);
  background-image:
    radial-gradient(520px 220px at 18% 0%, rgba(225,6,0,.20), transparent 60%),
    radial-gradient(520px 220px at 82% 100%, rgba(225,6,0,.12), transparent 62%),
    linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  background-size: auto, auto, 240px 100%;
  background-repeat:no-repeat;
  background-position: 0 0, 0 0, -260px 0;
  transition: opacity .26s ease, filter .26s ease;
}

/* keep content above layers */
.card-flat > *,
.service-item > *,
.team-card > *,
.ak-engine-card > *{
  position:relative;
  z-index:1;
}

.card-flat:hover,
.service-item:hover,
.team-card:hover,
.ak-engine-card:hover{
  transform: translateY(-8px);
  border-color: rgba(225,6,0,.35);
  box-shadow:
    0 34px 110px rgba(0,0,0,.62),
    0 18px 70px rgba(225,6,0,.10);
}
.card-flat:hover::after,
.service-item:hover::after,
.team-card:hover::after,
.ak-engine-card:hover::after{opacity:.18;}

.card-flat:hover::before,
.service-item:hover::before,
.team-card:hover::before,
.ak-engine-card:hover::before{
  opacity:1;
  animation: akSweep 1.05s ease-out 1;
}
@keyframes akSweep{ to{ background-position: 0 0, 0 0, 120% 0; } }
@media (prefers-reduced-motion: reduce){
  .card-flat:hover::before,
  .service-item:hover::before,
  .team-card:hover::before,
  .ak-engine-card:hover::before{animation:none;}
}

/* =================================================
   MEDIA (Hintergrundbilder zuverlässig)
================================================= */
.ak-media{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 16px 58px rgba(0,0,0,.42);
  min-height:240px;
  background-color:#14181F;
  isolation:isolate;
}
.ak-media::before{
  content:"";
  position:absolute; inset:0;
  background-image: var(--bg);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:.90;
  z-index:1;
  transition:transform .6s ease, opacity .3s ease;
}
.ak-media::after{
  content:"";
  position:absolute; inset:0;
  z-index:2;
  background:
    radial-gradient(600px 300px at 70% 12%, rgba(225,6,0,.10), transparent 65%),
    linear-gradient(90deg, rgba(14,17,22,.52), rgba(14,17,22,.20), rgba(14,17,22,.50));
}
.ak-media-inner{position:relative; z-index:3; padding:24px;}
.ak-media:hover::before{transform:scale(1.05); opacity:.94;}
@media (max-width:768px){ .ak-media{min-height:200px;} }
.ak-engine-media{aspect-ratio:16/10;}

/* =================================================
   STATS
================================================= */
.ak-stat{padding:22px;}
.ak-stat-num{
  font-family:"Inter Tight", Inter, system-ui, sans-serif;
  font-size:28px;
  font-weight:980;
  letter-spacing:-.03em;
  color:var(--text);
}
.ak-stat-num span{margin-left:4px; color:rgba(225,6,0,.85); font-weight:980;}
.ak-stat-title{margin-top:6px; font-weight:900; color:var(--text);}
.ak-stat-sub{margin-top:6px; color:rgba(180,188,200,.86); font-size:14px;}

/* =================================================
   FORM
================================================= */
.ak-form{margin-top:18px;}
.ak-input-wrap label{
  display:block;
  font-weight:850;
  color:rgba(142,151,166,.90);
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.ak-form .form-control{
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  color:var(--text);
  padding:.78rem .9rem;
}
.ak-form .form-control::placeholder{color:rgba(180,188,200,.70);}
.ak-form .form-control:focus{
  border-color:rgba(225,6,0,.55);
  box-shadow:0 0 0 .18rem rgba(225,6,0,.16);
  background:rgba(0,0,0,.24);
}
.ak-form textarea.form-control{min-height:140px; resize:vertical;}
.ak-form-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.ak-form-footer .hint{
  color:rgba(142,151,166,.86);
  font-weight:750;
  font-size:13px;
}

/* =================================================
   SERVICES
================================================= */
.service-item{padding:26px 22px; text-decoration:none;}
.service-icon{width:26px; height:26px; color:rgba(243,246,251,.92); opacity:.9;}
.service-title{font-weight:950; font-size:18px; margin-top:14px;}
.service-desc{font-size:14px; color:rgba(180,188,200,.88); margin:8px 0 0;}

/* Inline CTA */
.cta-inline{
  margin-top:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding:18px 20px;
  border-radius:18px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.cta-title{font-weight:950; color:var(--text);}

/* =================================================
   LISTS
================================================= */
.clean-list{list-style:none; padding:0; margin:0;}
.clean-list li{
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:rgba(180,188,200,.88);
}
.clean-list li:last-child{border-bottom:none;}

/* =================================================
   TEAM (kompakt statt Poster)
================================================= */
.team-card{
  padding:18px;
}

.team-photo-wrap{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:#14181F;
  height:260px;
}

.team-photo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  opacity:1 !important;
  visibility:visible !important;
  filter:grayscale(1) contrast(1.08) brightness(.95);
  transition:transform .45s ease, filter .45s ease;
}

.team-card:hover .team-photo{
  transform:scale(1.04);
  filter:grayscale(.35) contrast(1.12) brightness(1.02);
}

.team-frame{
  position:absolute;
  inset:10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  pointer-events:none;
  z-index:2;
}

.team-name{
  font-weight:950;
  font-size:17px;
  margin-top:12px;
  line-height:1.15;
}

.team-role{
  font-size:13px;
  line-height:1.5;
  color:rgba(180,188,200,.88);
  margin-top:6px;
}

.team-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(243,246,251,.92);
  font-weight:900;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.team-badge i{
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(225,6,0,.85);
  display:inline-block;
}

.team-photo-wrap--placeholder{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  display:flex;
  align-items:center;
  justify-content:center;
}

@media (max-width:767px){
  .team-photo-wrap{
    height:220px;
  }

  .team-name{
    font-size:16px;
  }

  .team-role{
    font-size:12.5px;
  }
}

/* =================================================
   SERVICE GROUP LABELS
================================================= */
.ak-group-head{margin-top:26px; margin-bottom:14px;}
.ak-group-label{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.45rem .7rem;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .72rem;
  color: rgba(243,246,251,.86);
}
.ak-group-label::before{
  content:"";
  width:10px; height:10px;
  border-radius:999px;
  background: rgba(225,6,0,.70);
  box-shadow: 0 0 0 4px rgba(225,6,0,.14);
}
.ak-group-sub{margin-top:10px; font-weight:700;}
.ak-group-grid{margin-top:14px;}

/* =================================================
   PERFORMANCE DOSSIER
================================================= */
.ak-performance{
  background: linear-gradient(180deg,#10141a 0%, #0f141b 100%);
  border-top:1px solid rgba(255,255,255,.06);
}
.ak-section-head{margin-bottom:60px;}
.ak-kicker{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.5);
  margin-bottom:12px;
}
.ak-case-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:32px;
}
.ak-case{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  overflow:hidden;
  transition: all .35s cubic-bezier(.22,.61,.36,1);
}
.ak-case:hover{
  transform:translateY(-6px);
  border-color:rgba(225,6,0,.45);
  box-shadow:0 30px 90px rgba(225,6,0,.10);
}
.ak-case-media{
  aspect-ratio:16/10;
  background-image:var(--bg);
  background-size:cover;
  background-position:center;
  filter:grayscale(.4) contrast(1.05);
  transition:all .4s ease;
}
.ak-case:hover .ak-case-media{
  filter:grayscale(0) contrast(1.1);
  transform:scale(1.03);
}
.ak-case-body{padding:22px;}
.ak-case-title{font-weight:900; margin-bottom:8px;}
.ak-case-meta{display:flex; gap:14px; font-size:13px; color:rgba(255,255,255,.55); margin-bottom:10px; flex-wrap:wrap;}
.ak-case-result{font-size:14px; color:rgba(255,255,255,.75);}

/* =========================================
   PERFORMANCE GALLERY
========================================= */

.ak-performance-gallery {
  background: linear-gradient(180deg, #10141a 0%, #0f141b 100%);
}

.ak-tabs {
  display:flex;
  gap:14px;
  margin-bottom:40px;
}

.ak-tab {
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:var(--text);
  font-weight:800;
  letter-spacing:.08em;
  cursor:pointer;
  transition:all .25s ease;
}

.ak-tab.active {
  background:var(--accent);
  border-color:var(--accent);
}

.ak-tab-content { display:none; }
.ak-tab-content.active { display:block; }

.ak-before-after {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}

@media (max-width:991px){
  .ak-before-after { grid-template-columns:1fr; }
}

.ak-ba-item {
  position:relative;
}

.ak-ba-label {
  position:absolute;
  top:16px;
  left:16px;
  background:rgba(0,0,0,.6);
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.14em;
  font-weight:900;
}

.ak-ba-media {
  aspect-ratio:16/10;
  border-radius:18px;
  background-image:var(--bg);
  background-size:cover;
  background-position:center;
  transition:transform .5s ease;
  box-shadow:0 25px 80px rgba(0,0,0,.55);
}

.ak-ba-media:hover {
  transform:scale(1.04);
}

.ak-case-specs {
  margin-top:30px;
  display:flex;
  gap:40px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:14px;
}

/* =========================================
   TRUST BAR
========================================= */

.ak-trust-bar {
  background:#0b0d10;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:38px 0;
}

.ak-trust-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

@media (max-width:991px){
  .ak-trust-grid {
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
}

.ak-trust-title {
  font-weight:900;
  letter-spacing:.16em;
  font-size:12px;
  color:var(--text);
}

.ak-trust-sub {
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
}

/* =================================================
   STUFE 3 — PERFORMANCE CASE GALLERY + LIGHTBOX
   Paste at VERY END of pages.css
================================================= */

/* ---------- Gallery Layout ---------- */
.ak-gallery{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:16px;
  margin-top:18px;
}

@media (max-width: 991px){
  .ak-gallery{ grid-template-columns:repeat(6, 1fr); }
}
@media (max-width: 576px){
  .ak-gallery{ grid-template-columns:repeat(2, 1fr); gap:12px; }
}

.ak-g-item{
  grid-column: span 4;
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  box-shadow:0 16px 58px rgba(0,0,0,.42);
  transform:translateZ(0);
}

@media (max-width: 991px){
  .ak-g-item{ grid-column: span 3; }
}
@media (max-width: 576px){
  .ak-g-item{ grid-column: span 1; }
}

/* Make some items “hero-like” */
.ak-g-item.wide{ grid-column: span 8; }
@media (max-width: 991px){ .ak-g-item.wide{ grid-column: span 6; } }
@media (max-width: 576px){ .ak-g-item.wide{ grid-column: span 2; } }

.ak-g-media{
  position:relative;
  aspect-ratio: 16/10;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: grayscale(.55) contrast(1.06);
  transform: scale(1.01);
  transition: transform .55s var(--ease-premium), filter .55s var(--ease-premium);
}

/* Overlay (lighter, cards pop) */
.ak-g-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(640px 320px at 70% 10%, rgba(225,6,0,.10), transparent 60%),
    linear-gradient(90deg, rgba(14,17,22,.55), rgba(14,17,22,.14), rgba(14,17,22,.52));
  pointer-events:none;
}

.ak-g-item:hover .ak-g-media{
  transform: scale(1.05);
  filter: grayscale(.20) contrast(1.10);
}

.ak-g-body{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  pointer-events:none;
}

.ak-g-title{
  font-weight:950;
  letter-spacing:-.02em;
  text-shadow:0 12px 34px rgba(0,0,0,.55);
}

.ak-g-meta{
  font-size:12px;
  color:rgba(180,188,200,.90);
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-top:6px;
}

.ak-g-badge{
  pointer-events:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(243,246,251,.92);
  font-weight:900;
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  box-shadow:0 14px 44px rgba(0,0,0,.35);
}

.ak-g-badge i{
  width:8px; height:8px;
  border-radius:999px;
  background:rgba(225,6,0,.85);
  display:inline-block;
  box-shadow:0 0 0 4px rgba(225,6,0,.12);
}

/* Click affordance */
.ak-g-click{
  position:absolute;
  inset:0;
  cursor:pointer;
  background:transparent;
  border:0;
}

/* ---------- Lightbox ---------- */
.ak-lightbox{
  position:fixed;
  inset:0;
  z-index:2000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}

.ak-lightbox.open{ display:flex; }

.ak-lb-card{
  width:min(1100px, 96vw);
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(14,17,22,.92);
  box-shadow:0 28px 90px rgba(0,0,0,.65);
}

.ak-lb-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.ak-lb-title{
  font-weight:950;
  letter-spacing:-.02em;
}

.ak-lb-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.ak-lb-btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:rgba(243,246,251,.92);
  padding:10px 12px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:12px;
  cursor:pointer;
}

.ak-lb-btn:hover{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.22);
}

.ak-lb-media{
  width:100%;
  aspect-ratio: 16/10;
  background:#0B0D10;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ak-lb-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#0B0D10;
}

.ak-lb-foot{
  padding:14px 16px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(180,188,200,.85);
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* ---------- Small contrast tune: site a touch lighter (cards pop) ---------- */
.ak-premium-bg::after{
  background:
    radial-gradient(900px 520px at 24% 12%, rgba(255,255,255,.14), transparent 70%),
    radial-gradient(900px 520px at 78% 18%, rgba(225,6,0,.16), transparent 72%),
    linear-gradient(90deg, rgba(11,13,16,.38), rgba(11,13,16,.12), rgba(11,13,16,.36)) !important;
}

.page-section{
  background: rgba(255,255,255,.018);
}

/* ===============================
   STAGE 3 – CINEMATIC HERO DEPTH
=============================== */

.ak-engine-media::before{
  filter: contrast(1.08) brightness(.95);
}

.ak-media::before{
  transition: transform .9s cubic-bezier(.22,.61,.36,1),
              opacity .4s ease,
              filter .4s ease;
}

.ak-media:hover::before{
  transform: scale(1.06);
  filter: contrast(1.12) brightness(1);
}

/* subtle vignette */
.ak-media::after{
  background:
    radial-gradient(1000px 500px at 50% 20%, rgba(0,0,0,.15), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.35));
}

/* ======================================
   HERO SIGNATURE – ASHINA Clean (ADD ONLY)
====================================== */

.ak-hero{
  position: relative;
  overflow: hidden;
}

/* Signature Background */
.ak-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("../hero/ak-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .92;
  transform: scale(1.02);
  z-index:0;
}

/* Premium Overlay (Lesbarkeit links, AK bleibt sichtbar rechts) */
.ak-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 18% 18%, rgba(225,6,0,.14), transparent 60%),
    linear-gradient(90deg,
      rgba(11,13,16,.92) 0%,
      rgba(11,13,16,.74) 38%,
      rgba(11,13,16,.42) 62%,
      rgba(11,13,16,.18) 100%
    );
  z-index:1;
}

/* Alles im Hero über Overlay halten */
.ak-hero > .container{
  position: relative;
  z-index: 2;
}

/* Mehr Luft (damit nichts gequetscht wirkt) */
.ak-hero .row{
  padding-top: 26px;
  padding-bottom: 10px;
}
@media (max-width: 991px){
  .ak-hero .row{
    padding-top: 18px;
    padding-bottom: 0px;
  }
}

.ak-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    /* dezente rote Aura links oben */
    radial-gradient(900px 420px at 18% 18%, rgba(225,6,0,.12), transparent 60%),

    /* Lesbarkeit links – aber rechts nicht “zudrücken” */
    linear-gradient(90deg,
      rgba(11,13,16,.92) 0%,
      rgba(11,13,16,.78) 34%,
      rgba(11,13,16,.46) 55%,
      rgba(11,13,16,.16) 70%,
      rgba(11,13,16,0) 100%
    ),

    /* extra: dunkelt nur links unten leicht ab */
    radial-gradient(900px 520px at 22% 78%, rgba(11,13,16,.55), transparent 62%);
  z-index:1;
}

/* ===========================
   HYBRID HOME ADDONS (SAFE)
   =========================== */

.ak-home-trust{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}
.ak-home-trust-item{
  padding:14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(12,14,18,.55);
  backdrop-filter: blur(10px);
}
.ak-home-trust-item strong{
  display:block;
  font-weight: 950;
  letter-spacing: -.02em;
}
.ak-home-trust-item span{
  display:block;
  margin-top:4px;
  color: rgba(190,198,210,.86);
  font-weight: 600;
  font-size: .95rem;
}

.ak-path-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.ak-path{
  padding: 20px 20px;
  text-decoration:none;
  display:block;
}
.ak-path-k{
  font-size:12px;
  letter-spacing:.18em;
  color: var(--hint);
  font-weight: 900;
}
.ak-path-t{
  margin-top:10px;
  font-weight: 980;
  font-size: 18px;
  color: var(--text);
}
.ak-path-s{
  margin-top:6px;
}

@media (max-width: 991px){
  .ak-home-trust{ grid-template-columns: 1fr; }
  .ak-path-grid{ grid-template-columns: 1fr; }
}

/* =================================================
   ASHINA MODE — FINAL OVERRIDES (END OF pages.css)
   -> remove red hero aura + unify backgrounds
================================================= */

.ak-hero::after{
  background:
    linear-gradient(90deg,
      rgba(11,13,16,.92) 0%,
      rgba(11,13,16,.78) 34%,
      rgba(11,13,16,.46) 55%,
      rgba(11,13,16,.16) 70%,
      rgba(11,13,16,0) 100%
    ) !important;
}

/* stop red glows inside media overlays (only photos + neutral overlay) */
.ak-media::after,
.ak-g-media::after{
  background:
    linear-gradient(90deg, rgba(14,17,22,.55), rgba(14,17,22,.14), rgba(14,17,22,.52)) !important;
}