/* =========================================================
   ROSANA – Variante E  ·  "Magazin"
   Basis: style.css + variante-b.css
   Heller Kopfbereich: große Schlagzeile oben, darunter eine
   Reihe aus drei Medienkacheln wie auf einem Magazincover.
   ========================================================= */

.hero--e{
  position:relative; overflow:hidden;
  padding:clamp(126px,15vh,182px) 0 clamp(40px,5vw,72px);
  background:
    radial-gradient(90% 70% at 88% 4%, rgba(201,162,39,.20), rgba(201,162,39,0) 58%),
    radial-gradient(80% 60% at 4% 96%, rgba(216,195,165,.4), rgba(216,195,165,0) 62%),
    linear-gradient(162deg, #FBF7F1 0%, var(--sand) 44%, var(--sand-2) 100%);
}
.hero--e .hero-grain{opacity:.3}

/* Riesiges Logo als Wasserzeichen – füllt die Fläche, ohne laut zu sein */
.he-wm{
  position:absolute; z-index:1; pointer-events:none;
  left:clamp(-40px,3vw,90px); top:50%; transform:translateY(-48%);
  width:min(50vw,600px); color:var(--gold); opacity:.07;
}

/* Überschrift links, Karussell rechts – beides sofort im Blick */
.he-head{
  position:relative; z-index:3;
  display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:clamp(8px,1.2vw,24px); align-items:center;
}
.he-head h1{max-width:13ch; font-size:clamp(2.5rem,6.2vw,5.6rem); line-height:.96}
.he-copy .eyebrow{margin-bottom:20px}
.he-cta{display:flex; flex-wrap:wrap; gap:13px; margin-top:clamp(24px,3vw,38px)}

/* Claim: zentriert unter dem Kopfbereich, direkt über den Bewertungen */
.he-claim{
  position:relative; z-index:3;
  margin:clamp(38px,5vw,74px) auto 0; max-width:54ch; text-align:center;
  font-family:var(--f-display); font-size:clamp(1.16rem,2.05vw,1.66rem); line-height:1.52;
  color:var(--espresso); font-weight:500;
}
.he-claim .it{color:var(--gold-dp)}
.he-claim::before,.he-claim::after{
  content:""; display:block; width:70px; height:1px; margin-inline:auto;
  background:linear-gradient(90deg,transparent,var(--gold-dp),transparent);
}
.he-claim::before{margin-bottom:clamp(18px,2.4vw,28px)}
.he-claim::after{margin-top:clamp(18px,2.4vw,28px)}

/* Kurzer Fließtext für Suchmaschinen – lesbar, nicht vollgestopft */
.he-seo{
  position:relative; z-index:3;
  margin:clamp(16px,2vw,24px) auto 0; max-width:78ch; text-align:center;
  font-size:.88rem; line-height:1.75; color:var(--taupe);
}
.he-seo strong{color:var(--body); font-weight:500}

/* ---------- 3D-Karussell ---------- */
/* Hülle trägt Lichtschein und Ring – füllt die leere Mitte */
.he-stagewrap{position:relative}
.he-stagewrap::before{
  content:""; position:absolute; z-index:0; pointer-events:none;
  inset:-16% -14% -10% -34%;
  background:
    radial-gradient(52% 48% at 54% 46%, rgba(201,162,39,.30), rgba(201,162,39,.07) 56%, transparent 76%),
    radial-gradient(40% 40% at 14% 62%, rgba(216,195,165,.5), transparent 70%);
}
.he-stagewrap::after{
  content:""; position:absolute; z-index:0; pointer-events:none;
  left:50%; top:47%; width:min(84%,600px); aspect-ratio:1/1;
  border:1px dashed rgba(201,162,39,.3); border-radius:50%;
  animation:heSpin 78s linear infinite;
}
@keyframes heSpin{
  from{transform:translate(-50%,-50%) rotate(0deg)}
  to{transform:translate(-50%,-50%) rotate(360deg)}
}

.he-tiles{
  position:relative; z-index:3;
  height:clamp(390px,40vw,610px);
  perspective:1500px;
  perspective-origin:50% 46%;
}
.he-tile{
  position:absolute; top:50%; left:50%;
  width:clamp(224px,23vw,382px); aspect-ratio:3/4;
  margin:0;
  border-radius:var(--r-lg); overflow:hidden; background:var(--clay);
  box-shadow:0 32px 66px -34px rgba(70,52,18,.55);
  transform:translate(-50%,-50%);
  transition:transform 1.05s cubic-bezier(.2,.72,.2,1), opacity .8s var(--ease-out),
             filter .8s var(--ease-out), box-shadow .8s var(--ease-out);
  will-change:transform;
  isolation:isolate;
  /* dreifach abgesichert, damit die Ecken in jeder Situation rund bleiben */
  -webkit-mask-image:-webkit-radial-gradient(#fff, #000);
  mask-image:radial-gradient(#fff, #000);
}
.he-tile img,.he-tile video{
  width:100%; height:100%; object-fit:cover; display:block;
  border-radius:inherit;
}
.he-tile::after{content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(201,162,39,.32)}

/* Weitere Kacheln liegen unsichtbar hinten und rücken nach */
.he-tile.is-hidden{
  z-index:1; opacity:0; pointer-events:none;
  transform:translate(-50%,-50%) translateZ(-380px) scale(.8);
}

/* Position vorne */
.he-tile.is-active{
  z-index:5; opacity:1; filter:none; cursor:default;
  transform:translate(-50%,-50%) translateZ(90px) scale(1.06);
  box-shadow:0 48px 96px -34px rgba(70,52,18,.62);
}
/* Position rechts hinten */
.he-tile.is-right{
  z-index:3; opacity:.82; filter:saturate(.88) brightness(.94); cursor:pointer;
  transform:translate(-50%,-50%) translateX(74%) translateZ(-190px) rotateY(-26deg) scale(.94);
}
/* Position links hinten */
.he-tile.is-left{
  z-index:3; opacity:.82; filter:saturate(.88) brightness(.94); cursor:pointer;
  transform:translate(-50%,-50%) translateX(-74%) translateZ(-190px) rotateY(26deg) scale(.94);
}
.he-tile.is-left:hover,.he-tile.is-right:hover{opacity:.95; filter:none}

/* Steuerung */
.he-nav{position:relative; z-index:6; display:flex; align-items:center; justify-content:center; gap:12px; margin-top:clamp(6px,1vw,16px)}
.he-arrow{
  width:52px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  background:var(--cream); border:1px solid var(--clay);
  color:var(--espresso); box-shadow:0 10px 24px -14px rgba(70,52,18,.5);
  transition:.45s var(--ease-out);
}
.he-arrow svg{width:19px; height:19px}
.he-arrow:hover{background:var(--gold); border-color:var(--gold); color:#241A08; transform:translateY(-2px)}
.he-arrow:focus-visible{outline:2px solid var(--gold-dp); outline-offset:3px}
.he-dots{display:flex; gap:7px; margin:0 8px}
.he-dot{width:7px; height:7px; border-radius:50%; background:var(--clay-2); transition:.45s var(--ease-out); padding:0}
.he-dot.on{background:var(--gold-dp); width:22px; border-radius:99px}
.he-tile figcaption{
  position:absolute; z-index:3; inset:auto 0 0 0; padding:40px 16px 14px; color:var(--cream);
  background:linear-gradient(to top, rgba(20,14,9,.85), transparent);
  font-size:.64rem; letter-spacing:.16em; text-transform:uppercase;
}
.he-tile img{transition:transform 1.3s var(--ease-out)}
.he-tile.is-active:hover img{transform:scale(1.05)}

.he-play{
  position:absolute; z-index:4; left:14px; top:14px;
  display:inline-flex; align-items:center; gap:8px; padding:7px 13px; border-radius:999px;
  background:rgba(20,14,9,.5); border:1px solid rgba(255,252,246,.24); backdrop-filter:blur(6px);
  color:rgba(255,252,246,.92); font-size:.54rem; letter-spacing:.2em; text-transform:uppercase;
}
.he-play i{width:6px; height:6px; border-radius:50%; background:var(--gold-lt); animation:blip 2.2s ease-in-out infinite}
@keyframes blip{0%,100%{opacity:.35; transform:scale(.8)}50%{opacity:1; transform:scale(1.15)}}

@media (max-width:900px){
  .he-head{grid-template-columns:1fr; gap:clamp(30px,5vw,46px)}
  .he-head h1{max-width:100%; font-size:clamp(2.2rem,8.6vw,3.4rem)}
  .he-claim{margin-top:clamp(30px,5vw,44px)}
  .he-wm{display:none}
  .he-stagewrap::before{inset:-12% -8%}
  .he-stagewrap::after{width:min(94%,420px)}
  .he-tiles{height:clamp(360px,74vw,470px); perspective:1100px}
  .he-tile{width:clamp(210px,50vw,300px)}
  .he-tile.is-left{transform:translate(-50%,-50%) translateX(-64%) translateZ(-150px) rotateY(24deg) scale(.92)}
  .he-tile.is-right{transform:translate(-50%,-50%) translateX(64%) translateZ(-150px) rotateY(-24deg) scale(.92)}
}
@media (max-width:640px){
  .hero--e{padding-top:108px}
  .he-cta{flex-direction:column; align-items:stretch}
  .he-cta .btn{width:100%}
  .he-tiles{height:clamp(330px,96vw,430px)}
  .he-tile{width:clamp(190px,58vw,260px)}
  .he-tile.is-left{transform:translate(-50%,-50%) translateX(-56%) translateZ(-120px) rotateY(22deg) scale(.9)}
  .he-tile.is-right{transform:translate(-50%,-50%) translateX(56%) translateZ(-120px) rotateY(-22deg) scale(.9)}
  .he-tile figcaption{font-size:.58rem; padding:32px 12px 11px}
}
@media (prefers-reduced-motion:reduce){
  .he-tile{transition:none}
}
