/* Hero, Logo, CTA and focus rules */

.hero{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 22px 70px rgba(0,0,0,.34);
  background:
    radial-gradient(900px 600px at 20% 15%, rgba(184,150,60,.08), transparent 62%),
    radial-gradient(900px 600px at 85% 85%, rgba(255,255,255,.05), transparent 58%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(90deg,
      rgba(8,12,22,.97) 0%,
      rgba(8,12,22,.94) 18%,
      rgba(8,12,22,.84) 36%,
      rgba(8,12,22,.62) 50%,
      rgba(10,16,28,.38) 64%,
      rgba(10,16,28,.16) 78%,
      rgba(10,16,28,0) 92%
    ),
    linear-gradient(180deg,
      rgba(5,8,16,.16) 0%,
      rgba(5,8,16,.06) 24%,
      rgba(5,8,16,.22) 100%
    ),
    url("../img/hero-goldbar-16x9.png");
  background-image:
    linear-gradient(90deg,
      rgba(8,12,22,.97) 0%,
      rgba(8,12,22,.94) 18%,
      rgba(8,12,22,.84) 36%,
      rgba(8,12,22,.62) 50%,
      rgba(10,16,28,.38) 64%,
      rgba(10,16,28,.16) 78%,
      rgba(10,16,28,0) 92%
    ),
    linear-gradient(180deg,
      rgba(5,8,16,.16) 0%,
      rgba(5,8,16,.06) 24%,
      rgba(5,8,16,.22) 100%
    ),
    -webkit-image-set(
      url("../img/hero-goldbar-16x9.webp") type("image/webp") 1x,
      url("../img/hero-goldbar-16x9.png") type("image/png") 1x
    );
  background-image:
    linear-gradient(90deg,
      rgba(8,12,22,.97) 0%,
      rgba(8,12,22,.94) 18%,
      rgba(8,12,22,.84) 36%,
      rgba(8,12,22,.62) 50%,
      rgba(10,16,28,.38) 64%,
      rgba(10,16,28,.16) 78%,
      rgba(10,16,28,0) 92%
    ),
    linear-gradient(180deg,
      rgba(5,8,16,.16) 0%,
      rgba(5,8,16,.06) 24%,
      rgba(5,8,16,.22) 100%
    ),
    image-set(
      url("../img/hero-goldbar-16x9.webp") type("image/webp") 1x,
      url("../img/hero-goldbar-16x9.png") type("image/png") 1x
    );
  background-size:cover;
  background-position:85% center;
  background-repeat:no-repeat;
  filter:saturate(1.08) contrast(1.08) brightness(.90);
  transform:scale(1.015);
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(860px 420px at 16% 18%, rgba(184,150,60,.12), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 18%);
  opacity:.62;
  pointer-events:none;
}
.hero-inner{ position:relative; z-index:2; padding:42px 58px 46px; }

.topbar{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:16px;
  margin-bottom:34px;
  padding-top:6px;
  padding-left:4px;
  font-family:var(--font-sans);
}
.brandline{ display:flex; align-items:center; gap:12px; }
.brandline a{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}
.brand-logo{
  display:block;
  width:auto;
  object-fit:contain;
  filter:drop-shadow(0 12px 28px rgba(0,0,0,.20));
}
.brand-logo-desktop{ height:104px; }
.brand-logo-mobile{
  display:none;
  height:64px;
}

h1{
  margin:12px 0 16px;
  font-weight:400;
  font-size:50px;
  letter-spacing:.25px;
  line-height:1.14;
  max-width:760px;
  text-shadow:0 2px 16px rgba(0,0,0,.30);
}
.subline{
  margin:0 0 20px 0;
  color:rgba(238,241,246,.90);
  font-size:21px;
  line-height:1.72;
  max-width:680px;
  text-shadow:0 2px 12px rgba(0,0,0,.22);
}

.hero-intro{
  max-width:640px;
}
.hero-intro p{
  margin:0 0 14px 0;
  color:rgba(238,241,246,.92);
  font-size:17px;
  line-height:1.62;
  text-shadow:0 2px 10px rgba(0,0,0,.22);
}
.hero-intro p:last-child{
  margin-bottom:0;
}
.hero-note{
  margin:0 0 10px 0;
  color:rgba(238,241,246,.80);
  font-size:15px;
  line-height:1.68;
  font-family:var(--font-sans);
  max-width:68ch;
}

.cta-row{
  margin-top:30px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}

.hero .cta-row .btn{
  border:1px solid rgba(184,150,60,.52);
  color:var(--gold);
  background:rgba(184,150,60,.07);
  text-transform:uppercase;
  font-family:var(--font-sans);
  letter-spacing:1px;
  font-size:12px;
}
.hero .cta-row .btn:hover{
  background:rgba(184,150,60,.13);
  border-color:rgba(184,150,60,.75);
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}

.lang{
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-start;
}
.lang a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:rgba(0,0,0,.085);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(238,241,246,.86);
  padding:10px 12px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  font-family:var(--font-sans);
}
.lang a:hover{
  background:rgba(184,150,60,.10);
  transform:translateY(-1px);
}
.lang a.active{
  border-color:rgba(184,150,60,.52);
  color:var(--gold);
  background:rgba(184,150,60,.07);
}

/* Große Desktops */
@media (min-width: 1440px){
  .hero::before{ background-position:84% center; }
}

/* Normale Desktops */
@media (min-width: 981px) and (max-width: 1439px){
  .hero::before{ background-position:85% center; }
}

/* Tablet / kleiner Laptop */
@media (min-width: 769px) and (max-width: 980px){
  .hero::before{ background-position:83% 43%; }
  .hero-inner{ padding:30px 24px 30px; }
  .topbar{ gap:14px; margin-bottom:22px; display:grid; grid-template-columns:1fr; }
  h1{ font-size:38px; line-height:1.16; }
  .subline{ font-size:19px; line-height:1.68; max-width:620px; }
  .hero-intro{ max-width:600px; }
  .hero-intro p{ font-size:16px; line-height:1.6; }
  .hero-note{ max-width:62ch; }
  .brand-logo-desktop{ height:72px; }
}

/* Hero focus and text tuning for mobile / tablet */
@media (max-width: 768px){
  .hero{
    border-radius:18px;
    min-height:560px;
  }
  .hero::before{
    background-image:
      linear-gradient(180deg,
        rgba(8,12,22,.70) 0%,
        rgba(8,12,22,.60) 16%,
        rgba(8,12,22,.54) 38%,
        rgba(8,12,22,.58) 100%
      ),
      linear-gradient(90deg,
        rgba(8,12,22,.72) 0%,
        rgba(8,12,22,.58) 30%,
        rgba(8,12,22,.28) 62%,
        rgba(8,12,22,.10) 100%
      ),
      url("../img/hero-goldbar-16x9.png");
    background-image:
      linear-gradient(180deg,
        rgba(8,12,22,.62) 0%,
        rgba(8,12,22,.54) 16%,
        rgba(8,12,22,.50) 38%,
        rgba(8,12,22,.58) 100%
      ),
      linear-gradient(90deg,
        rgba(8,12,22,.72) 0%,
        rgba(8,12,22,.58) 30%,
        rgba(8,12,22,.28) 62%,
        rgba(8,12,22,.10) 100%
      ),
      -webkit-image-set(
        url("../img/hero-goldbar-16x9.webp") type("image/webp") 1x,
        url("../img/hero-goldbar-16x9.png") type("image/png") 1x
      );
    background-image:
      linear-gradient(180deg,
        rgba(8,12,22,.62) 0%,
        rgba(8,12,22,.54) 16%,
        rgba(8,12,22,.50) 38%,
        rgba(8,12,22,.58) 100%
      ),
      linear-gradient(90deg,
        rgba(8,12,22,.72) 0%,
        rgba(8,12,22,.58) 30%,
        rgba(8,12,22,.28) 62%,
        rgba(8,12,22,.10) 100%
      ),
      image-set(
        url("../img/hero-goldbar-16x9.webp") type("image/webp") 1x,
        url("../img/hero-goldbar-16x9.png") type("image/png") 1x
      );
    background-position:80% 42%;
  }
  .hero-inner{ padding:22px 18px 24px; }
  h1{
    font-size:30px;
    line-height:1.15;
    letter-spacing:.1px;
    max-width:17ch;
    text-wrap:balance;
    word-break:normal;
    text-shadow:0 2px 10px rgba(0,0,0,.58), 0 0 24px rgba(0,0,0,.34);
  }
  .subline{
    font-size:16px;
    line-height:1.7;
    max-width:32ch;
    opacity:0.92;
  }
  .hero-intro{
    max-width:31ch;
  }
  .hero-intro p{
    font-size:15px;
    line-height:1.58;
    margin:0 0 12px 0;
  }
  .hero-note{ font-size:14px; line-height:1.62; }
  .brand-logo-desktop{ display:none; }
  .brand-logo-mobile{ display:block; height:72px; }
  .cta-row{
    margin-top:22px;
    gap:10px;
    flex-direction:column;
    align-items:stretch;
  }
  .topbar{
    display:flex;
    gap:12px;
    margin-bottom:20px;
    padding-left:2px;
    padding-top:2px;
  }
}

/* iPhone schmal */
@media (max-width: 390px){
  .hero::before{ background-position:77% 42%; }
}

/* Größere Phones / Android */
@media (min-width: 391px) and (max-width: 430px){
  .hero::before{ background-position:79% 42%; }
}

/* Mobile Landscape / kleine Tablets */
@media (min-width: 431px) and (max-width: 768px){
  .hero::before{ background-position:84% 36%; }
}
