/* Best Friends Band – Konzept B „Hell & freundlich“ */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben der alten Seite */
  --espresso: #1C0C0E;
  --pink: #F6066D;
  --wein: #8B3B46;
  /* Neutrale Töne */
  --hell: #FFF8F7;
  --weiss: #FFFFFF;
  --linie: #EBD9DB;
  --linie-stark: #E2CBCF;
  --rosa: #FDEAF1;
  --rosa-linie: #E2A9BC;
  --text-leise: #5C4549;
  --auf-dunkel: #E3CDD2;
  --auf-wein: #F6DDE2;

  --schrift-titel: 'Newsreader', Georgia, 'Times New Roman', serif;
  --schrift-text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --rand: clamp(16px, 4vw, 40px);
  --abstand: clamp(72px, 9vw, 120px);
  --schatten: 0 18px 40px rgba(28, 12, 14, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--hell);
  color: var(--espresso);
  font-family: var(--schrift-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--wein); }
a:hover { color: var(--espresso); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1200px; margin: 0 auto; padding-inline: var(--rand); }

.symbole { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--espresso); color: var(--weiss); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--weiss); }

.titel {
  margin: 0;
  font-family: var(--schrift-titel);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.titel-gross { font-size: clamp(34px, 4vw, 52px); }
.titel-mittel { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; }

.untertitel { margin: 6px 0 0; color: var(--text-leise); }

.icon { flex-shrink: 0; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-pink { background: var(--pink); color: var(--espresso); }
.btn-pink:hover { color: var(--espresso); background: #FF2A82; }
.btn-dunkel { background: var(--espresso); color: var(--weiss); min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-dunkel:hover { color: var(--weiss); background: #3A1C21; }

.pfeil-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: none;
}
.pfeil-link svg { transition: transform 0.15s ease; }
.pfeil-link:hover svg { transform: translateX(3px); }

.abschnitt { padding-top: var(--abstand); }
.abschnitt-kopf {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 24px; margin-bottom: 28px;
}

/* ---------- Hinweisleiste ---------- */
.hinweis {
  background: var(--wein); color: var(--weiss);
  font-size: 14px; padding: 10px 16px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px 14px; text-align: center;
}
.hinweis-label { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; }
.hinweis a {
  color: var(--weiss); font-weight: 600; text-decoration: none;
  padding: 4px 12px; border-radius: 999px; background: var(--espresso);
}

/* ---------- Kopfbereich ---------- */
.kopf {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-block: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--espresso); text-decoration: none; }
.logo:hover { color: var(--espresso); }
.logo-zeichen {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--espresso); color: var(--pink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--schrift-titel); font-weight: 600; font-size: 20px;
}
.logo-name { font-family: var(--schrift-titel); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; }

.hauptnav {
  display: flex; align-items: center; gap: 4px; padding: 6px;
  border-radius: 999px; background: var(--weiss); border: 1px solid var(--linie);
  font-size: 15px; font-weight: 500;
}
.hauptnav a {
  padding: 10px 16px; border-radius: 999px; color: var(--espresso);
  text-decoration: none; white-space: nowrap;
}
.hauptnav a:hover { background: var(--rosa); }


@media (max-width: 860px) {
  .hauptnav {
    order: 3; width: 100%; overflow-x: auto; scrollbar-width: none;
    justify-content: flex-start;
  }
  .hauptnav::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) {
  .hauptnav a { padding: 10px 12px; }
}

/* ---------- Start ---------- */
.start {
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px);
}
.start-text { flex: 1.5 1 440px; min-width: 0; }
.start-vorzeile { font-size: 16px; color: var(--text-leise); margin-bottom: 20px; }
.start h1 { font-size: clamp(40px, 4.7vw, 62px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.start h1 span { color: var(--pink); }
.start-text p { margin: 28px 0 0; max-width: 480px; font-size: 19px; color: var(--text-leise); }
.start-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }

.collage { flex: 1 1 420px; min-width: 0; position: relative; height: 540px; }
.collage-foto {
  position: absolute; object-fit: cover;
  border-radius: 24px; border: 6px solid var(--weiss); box-shadow: var(--schatten);
}
.collage-foto-1 { left: 4%; top: 0; width: 50%; height: 80%; transform: rotate(-4deg); }
.collage-foto-2 { right: 2%; top: 8%; width: 44%; height: 64%; transform: rotate(5deg); }

.karte-schwebend {
  position: absolute; border-radius: 20px; background: var(--weiss);
  border: 1px solid var(--linie); box-shadow: var(--schatten);
}
.zahlen { right: 4%; bottom: 0; padding: 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.zahl { display: flex; align-items: baseline; gap: 10px; }
.zahl b { font-family: var(--schrift-titel); font-size: 40px; font-weight: 500; line-height: 1; }
.zahl span { font-size: 15px; color: var(--text-leise); }

@media (max-width: 560px) {
  .collage { height: 470px; }
  .zahlen { top: -8px; bottom: auto; right: 0; padding: 12px 16px; }
  .zahl b { font-size: 30px; }
}

/* ---------- Videos ---------- */
.raster-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 16px; }

.video-karte {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 14px;
  border-radius: 24px; background: var(--weiss); border: 1px solid var(--linie);
  color: var(--espresso); text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.video-karte:hover { color: var(--espresso); border-color: var(--rosa-linie); box-shadow: var(--schatten); }
.video-bild { position: relative; flex: 0 0 150px; height: 150px; }
.video-bild img { width: 150px; height: 150px; object-fit: cover; border-radius: 16px; }
.video-bild > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play-klein {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--pink); color: var(--espresso);
  display: flex; align-items: center; justify-content: center;
}
.video-text { flex: 1 1 180px; min-width: 0; }
.video-art { display: block; font-size: 13px; font-weight: 600; color: var(--wein); text-transform: uppercase; letter-spacing: 0.08em; }
.video-titel { display: block; margin-top: 4px; font-family: var(--schrift-titel); font-size: 28px; font-weight: 500; line-height: 1.15; }
.video-hinweis { display: block; margin-top: 6px; font-size: 15px; color: var(--text-leise); }

.songs-titel { margin: 48px 0 20px; }
.song-karte {
  display: flex; align-items: center; gap: 16px; padding: 12px;
  border-radius: 20px; background: var(--weiss); border: 1px solid var(--linie);
  color: var(--espresso); text-decoration: none;
}
.song-karte:hover { color: var(--espresso); border-color: var(--rosa-linie); }
.song-karte img { flex-shrink: 0; width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.song-text { flex: 1; min-width: 0; }
.song-text strong { display: block; font-weight: 600; font-size: 18px; }
.song-text span { display: block; font-size: 15px; color: var(--text-leise); }
.play-dunkel {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--espresso); color: var(--weiss);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Galerie ---------- */
.galerie-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
  gap: 16px;
}
.galerie-bild, .galerie-diashow, .galerie-raster .skelett { aspect-ratio: 3 / 4; border-radius: 18px; }
.galerie-bild { display: block; overflow: hidden; background: var(--rosa); }
.galerie-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.galerie-bild:hover img { transform: scale(1.04); }
.galerie-diashow {
  background: var(--pink); color: var(--espresso);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 12px; text-align: center; text-decoration: none; font-weight: 600; font-size: 15px;
}
.galerie-diashow:hover { color: var(--espresso); background: #FF2A82; }
@media (max-width: 560px) {
  .galerie-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Lade-Platzhalter und Hinweise in den Rastern */
.skelett { display: block; background: var(--rosa); animation: pulsieren 1.4s ease-in-out infinite; }
.skelett-karte { min-height: 260px; border-radius: 24px; }
@keyframes pulsieren { 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .skelett { animation: none; } }
.raster-hinweis { grid-column: 1 / -1; margin: 0; padding: 32px; border-radius: 24px; background: var(--weiss); border: 1px dashed var(--linie-stark); color: var(--text-leise); text-align: center; }

/* ---------- Präsentationen ---------- */
.dateien-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.datei-karte {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 24px; background: var(--weiss); border: 1px solid var(--linie);
  color: var(--espresso); text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.2s ease;
}
.datei-karte:hover { color: var(--espresso); border-color: var(--rosa-linie); box-shadow: var(--schatten); transform: translateY(-2px); }
.datei-bild { position: relative; display: block; border-bottom: 1px solid var(--linie); }
.datei-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.pdf-marke {
  position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--espresso); color: var(--weiss); font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
}
.datei-text { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 2px; }
.datei-text strong { font-weight: 600; font-size: 17px; }
.datei-text span { font-size: 14px; color: var(--text-leise); }

/* ---------- Neuigkeiten ---------- */
.neuigkeiten-titel { margin-bottom: 28px; }
.neuigkeiten { display: flex; flex-direction: column; gap: 16px; }
.neuig-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.neuig-karte {
  padding: 22px 24px; border-radius: 24px;
  background: var(--weiss); border: 1px solid var(--linie);
}
.neuig-gross { padding: clamp(24px, 4vw, 36px); border-radius: 28px; }
.neuig-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 10px; }
.neuig-neu {
  padding: 3px 12px; border-radius: 999px; background: var(--pink); color: var(--espresso);
  font-size: 13px; font-weight: 600;
}
.neuig-datum { font-size: 14px; color: var(--text-leise); }
.neuig-karte h3 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; }
.neuig-karte h4 { font-size: 24px; line-height: 1.15; }
.neuig-text { margin: 10px 0 0; color: var(--text-leise); font-size: 16px; white-space: pre-line; overflow-wrap: anywhere; }
.neuig-gross .neuig-text { font-size: 18px; max-width: 760px; }
.mehr-knopf { margin-top: 18px; border: 0; background: none; padding: 0; color: var(--wein); font: inherit; font-weight: 600; cursor: pointer; }
.mehr-knopf:hover { color: var(--espresso); }

/* ---------- Fußbereich ---------- */
.fuss {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 32px; padding-top: 56px; padding-bottom: 48px;
}
.fuss-logo { display: flex; align-items: center; gap: 12px; }
.fuss-logo .logo-zeichen { width: 32px; height: 32px; border-radius: 10px; font-size: 16px; }
.fuss-logo span { font-size: 14px; color: var(--text-leise); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 500; }
.fuss nav a { color: var(--espresso); text-decoration: none; padding-block: 8px; }
.fuss nav a:hover { color: var(--wein); text-decoration: underline; }

/* ---------- Bildansicht (Lightbox) ---------- */
.bildansicht {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(18, 7, 8, 0.94); color: var(--weiss);
}
.bildansicht[open] { display: flex; align-items: center; justify-content: center; }
.bildansicht::backdrop { background: rgba(18, 7, 8, 0.94); }
.bildansicht figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 72px 16px 24px; }
.bildansicht img { max-width: min(92vw, 720px); max-height: calc(100vh - 160px); object-fit: contain; border-radius: 14px; }
.bildansicht figcaption { font-size: 15px; color: var(--auf-dunkel); text-align: center; }
.bildansicht-knopf {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.12); color: var(--weiss);
  display: flex; align-items: center; justify-content: center;
}
.bildansicht-knopf:hover { background: var(--pink); color: var(--espresso); }
.bildansicht-zu { top: 16px; right: 16px; }
.bildansicht-zurueck { left: 16px; top: 50%; transform: translateY(-50%); }
.bildansicht-weiter { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .bildansicht-zurueck, .bildansicht-weiter { top: auto; bottom: 16px; transform: none; }
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.textseite { max-width: 760px; padding-top: clamp(32px, 6vw, 64px); padding-bottom: 32px; }
.textseite h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 32px; }
.textseite h2 { font-family: var(--schrift-titel); font-weight: 500; font-size: 26px; margin: 36px 0 8px; }
.textseite p, .textseite li { font-size: 17px; color: var(--text-leise); }
.textseite .platzhalter-text { background: var(--rosa); color: var(--wein); padding: 1px 6px; border-radius: 6px; font-weight: 600; }
