/* styles.css */

/* =========================
   FONT + BRAND
   ========================= */

:root{
  --font-hero: "Urbanist", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-ui:   "Urbanist", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Champagne Gold */
  --brand: #D4AF37;
  --brand-hover: #E2C45A;
  --brand-ink: #111111;

  --page-bg: #f3f3f5;
  --card-bg: #ffffff;
  --card-line: rgba(0,0,0,0.08);
  --shadow: 0 14px 40px rgba(0,0,0,0.08);
}

*{ box-sizing: border-box; }

body{
  font-family: var(--font-ui);
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: 0.005em;
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: #111;
}

img{ max-width: 100%; height: auto; display: block; }

h1, h2, h3{
  font-family: var(--font-hero);
  font-weight: 100;
  font-style: italic;
  letter-spacing: 0.01em;
}

h1{ line-height: 1.05; }
h2{
  line-height: 1.15;
  text-align: center;
  margin: 0 0 14px;
}

/* Buttons/Badges */
.j2c-btn,
.j2c-hero__badge,
.j2c-card,
.kontakt-button{
  font-family: var(--font-ui);
  font-weight: 800;
  font-style: normal;
}

/* =========================
   SECTIONS (Premium Cards)
   ========================= */

section{
  max-width: 1120px;
  margin: 26px auto;
  padding: 28px 18px;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  text-align: center;
}

@media (min-width: 900px){
  section{ padding: 34px 28px; }
}

footer{
  text-align: center;
  margin: 30px 0 40px;
  color: rgba(0,0,0,0.65);
}

footer a{ color: inherit; }

/* =========================
   MEDIA (YouTube)
   ========================= */

.responsive-video{
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

.responsive-video iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

/* =========================
   AUDIO PLAYER
   ========================= */

.custom-audio-player{
  max-width: 680px;
  margin: 0 auto;
  background: #f7f7f9;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

.custom-audio-player audio{
  width: 100%;
  margin-bottom: 16px;
  border-radius: 10px;
}

.custom-playlist{
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-playlist li{
  padding: 10px 14px;
  margin-bottom: 8px;
  background-color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  border: 1px solid rgba(0,0,0,0.10);
}

.custom-playlist li:hover{
  background-color: #f1f1f4;
  transform: translateY(-1px);
}

.custom-playlist li.active{
  background-color: rgba(212,175,55,0.18);
  font-weight: 900;
  border-color: rgba(212,175,55,0.40);
}

/* =========================
   GALLERY + MODAL
   ========================= */

.gallery-images{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gallery-image{
  width: 160px;
  height: 160px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-image:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.16);
}

.modal{
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.82);
}

.modal-content{
  margin: 6vh auto 0;
  display: block;
  width: min(92vw, 960px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
}

.close{
  position: fixed;
  top: 16px;
  right: 18px;
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

/* =========================
   TESTIMONIALS
   ========================= */

.container{
  border: 1px solid rgba(0,0,0,0.08);
  background-color: #fff;
  border-radius: 16px;
  padding: 18px;
  margin: 16px auto;
  max-width: 860px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.container::after{
  content: "";
  clear: both;
  display: table;
}

.container img{
  float: left;
  margin-right: 18px;
  border-radius: 50%;
}

.container span{
  font-size: 18px;
  margin-right: 12px;
  font-weight: 900;
}

@media (max-width: 600px){
  .container{ text-align: center; }
  .container img{
    margin: 0 auto 12px;
    float: none;
  }
}

/* =========================
   CLIENT SLIDER
   ========================= */

.client-slider{
  background: #fafafa;
}

.client-slider h2{
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
}

.slider{
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slide-track{
  display: flex;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.slide{
  flex: 0 0 auto;
  width: clamp(120px, 20vw, 250px);
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.slide img{
  max-height: 80px;
  max-width: 90%;
  object-fit: contain;
  padding: 0 1rem;
  filter: saturate(1.02) contrast(1.02);
}

@keyframes scroll{
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   CONTACT
   ========================= */

.kontakt-wrapper{
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.kontakt-button{
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--brand);
  color: var(--brand-ink);
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.2s ease;
  border: 1px solid rgba(212,175,55,0.45);
}

.kontakt-button:hover{
  background: var(--brand-hover);
  transform: translateY(-1px);
}

a:focus-visible,
button:focus-visible{
  outline: 3px solid rgba(212,175,55,0.55);
  outline-offset: 2px;
  border-radius: 12px;
}

/* =========================
   JAZZ 2 CLUB – HERO (Split: Text links, Bild rechts)
   ========================= */

.j2c-hero{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(212,175,55,0.10), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #07070a, #050508);
  color: #fff;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: left;
}

.j2c-hero__wrap{
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 84px 18px 44px;
}

.j2c-hero__grid{
  display: grid;
  gap: 18px;
  align-items: stretch;
}

@media (min-width: 900px){
  .j2c-hero__grid{
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
  }
}

/* Left panel */
.j2c-hero__panel{
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 24px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.35);
}

@media (min-width: 900px){
  .j2c-hero__panel{ padding: 32px; }
}

.j2c-hero__badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 14px;
}

.j2c-hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 22px rgba(212,175,55,0.35);
}

.j2c-hero__title{
  margin: 18px 0 0;
  font-weight: 100;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: 44px;
  color: #fff;
  text-shadow: 0 2px 26px rgba(0,0,0,0.55);
  font-family: var(--font-hero);
}

@media (min-width: 900px){
  .j2c-hero__title{ font-size: 64px; }
}

.j2c-hero__lead{
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 62ch;
}

.j2c-hero__cta{
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  text-align: center;
}

@media (min-width: 900px){
  .j2c-hero__cta{
    justify-content: flex-start;
    text-align: left;
  }
}

.j2c-btn{
  min-width: 190px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.j2c-btn:hover{ transform: translateY(-2px) scale(1.01); }

.j2c-btn--primary{
  background: var(--brand);
  color: var(--brand-ink);
  border-color: rgba(212,175,55,0.55);
}

.j2c-btn--primary:hover{ background: var(--brand-hover); }

.j2c-btn--ghost{
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.j2c-btn--ghost:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
}

.j2c-hero__stats{
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.j2c-stat{
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 12px;
}

.j2c-stat__num{
  font-weight: 900;
  font-size: 16px;
  color: #fff;
}

.j2c-stat__label{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
}

.j2c-hero__meta{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  color: rgba(255,255,255,0.82);
}

.j2c-hero__meta a{
  color: rgba(255,255,255,0.90);
  text-decoration: none;
}
.j2c-hero__meta a:hover{ text-decoration: underline; }

/* Right side */
.j2c-hero__right{
  display: grid;
  gap: 12px;
  align-content: start;
}

/* MEDIA CARD (rounded everywhere, incl. iOS/Safari) */
.j2c-hero__media{
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  position: relative;

  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 22px 60px rgba(0,0,0,0.35);
  background: rgba(255,255,255,0.02);

  /* choose your crop ratio: 1/1 for square, 16/9 for wide */
  aspect-ratio: 16 / 9;

  /* iOS/Safari clipping fixes */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.j2c-hero__media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% 12%;
  border-radius: 0; /* prevent img overriding clip */
}

.j2c-cards{
  display: grid;
  gap: 12px;
}

.j2c-card{
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 18px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.j2c-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
}

.j2c-card__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.j2c-card__text{
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.84);
}

/* Scroll hint */
.j2c-hero__scroll{
  margin-top: 22px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
}

.j2c-hero__scroll:hover{ color: #fff; }

.j2c-hero__scrollDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 22px rgba(212,175,55,0.35);
}

/* Mobile: Bild oben, Text darunter */
@media (max-width: 899px){
  /* NICHT rechts zuerst */
  .j2c-hero__right{ order: 0; padding: 0 2px; }
  .j2c-hero__left{ order: 0; }
}


/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .slide-track{ animation: none !important; }
}
/* ===== FORCE: Hero Image Square + Always Rounded ===== */
.j2c-hero__media{
  aspect-ratio: 4 / 3 !important;     
  border-radius: 22px !important;
  overflow: hidden !important;
  position: relative;

  /* iOS/Safari clipping */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: translateZ(0);
  clip-path: inset(0 round 22px);
}

.j2c-hero__media > img{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: 50% 20% !important;

  border-radius: 22px !important;
}
/* ===== Social Icons (Premium) ===== */
.j2c-socials{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.j2c-social{
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.j2c-social:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(212,175,55,0.35);
}

.j2c-social svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}
/* ===== HERO STATS CLICKABLE ===== */
.j2c-stat--link{
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.j2c-stat--link:hover{
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.70);
  background: rgba(255,255,255,0.10);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.28),
    0 18px 50px rgba(0,0,0,0.35);
}
/* ===== HERO SOCIAL (gold-highlight) ===== */
.j2c-hero__social{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-left: 6px;
}

.j2c-social{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.j2c-social svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.j2c-social--gold{
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.55);
  color: var(--brand);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}

.j2c-social--gold:hover{
  transform: translateY(-2px);
  background: var(--brand);
  color: var(--brand-ink);
  border-color: rgba(212,175,55,0.85);
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
}

.j2c-social--gold:focus-visible{
  outline: 3px solid rgba(212,175,55,0.55);
  outline-offset: 3px;
}

.j2c-stat--link:focus-visible{
  outline: 3px solid rgba(212,175,55,0.55);
  outline-offset: 3px;
}
/* ===== Mobile CTA: Primary + Social nebeneinander, Ghost darunter ===== */
@media (max-width: 560px){

  .j2c-hero__cta{
    justify-content: center;   /* wie bei dir mobil */
    align-items: center;
    gap: 12px;
  }

  /* Primary Button soll schrumpfen dürfen */
  .j2c-hero__cta .j2c-btn--primary{
    order: 1;
    min-width: 0;             /* wichtig: sonst zu breit */
    padding-left: 18px;
    padding-right: 18px;
    flex: 0 1 auto;
  }

  /* Social direkt daneben */
  .j2c-hero__social{
    order: 2;
    margin-left: 0;           /* falls du vorher margin-left gesetzt hattest */
    flex: 0 0 auto;
  }

  /* Ghost Button immer in die nächste Zeile */
  .j2c-hero__cta .j2c-btn--ghost{
    order: 3;
    flex-basis: 100%;
    min-width: 0;
  }

  /* Optional: Icons minimal kleiner, damit es garantiert passt */
  .j2c-social{
    width: 40px;
    height: 40px;
  }
}
/* ===== Right Hero Cards: Gold Hover like Dinner/Party/Club ===== */
.j2c-card{
  position: relative;
  border-color: rgba(255,255,255,0.10);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.j2c-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(212,175,55,0.70);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.28),
    0 18px 50px rgba(0,0,0,0.35);
}

/* Keyboard-Focus konsistent */
.j2c-card:focus-visible{
  outline: 3px solid rgba(212,175,55,0.55);
  outline-offset: 3px;
}
/* ===== Card arrow micro-interaction (premium) ===== */

/* Pfeil-Span im Header animierbar machen */
.j2c-card__top span{
  display: inline-block;
  transform: translateX(0);
  transition: transform .18s ease, opacity .18s ease;
  opacity: 0.9;
}

/* Beim Hover: Pfeil leicht nach rechts */
.j2c-card:hover .j2c-card__top span{
  transform: translateX(6px);
  opacity: 1;
}

/* Auch bei Tastatur-Fokus */
.j2c-card:focus-visible .j2c-card__top span{
  transform: translateX(6px);
  opacity: 1;
}
