/*
  frameberuns.css - komplett überarbeitet
  ----------------------------------------
  Ziele dieser Überarbeitung:
  - Semantisches HTML (header/nav/main/section/footer) statt verschachtelter
    generischer <div>-Klassen.
  - Mobile-first: Basisregeln gelten für schmale Screens, @media (min-width)
    erweitert das Layout für größere Screens. Dadurch kein Overflow auf
    Smartphones, ohne nachträgliche !important-Patches.
  - Ein zentrales Farb-/Abstands-System über CSS-Variablen (:root), damit
    Werte an einer Stelle gepflegt werden.
  - Keine festen px-Breiten bei Textcontainern mehr; stattdessen max-width
    mit responsiver Fallback-Breite.
*/

:root {
  --uto-bg: #0d0d0d;
  --uto-fg: #ffffff;
  --uto-accent: #efcc41;   /* Gold/Gelb, wie im bisherigen Design */
  --uto-accent2: #ffcb00;  /* Button-/Rahmenfarbe */
  --uto-max-width: 640px;
  --uto-gap: 1.25rem;
  --uto-radius: 4px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--uto-bg);
  color: var(--uto-fg);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  text-decoration: underline;
}

.uto-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- Header / Navigation ---------- */
.uto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, rgba(13, 13, 13, 1) 40%, rgba(13, 13, 13, 0) 100%);
}

.uto-header__logo {
  width: 56px;
  height: 56px;
}

.uto-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  order: 3;
}

.uto-header__burger span {
  display: block;
  height: 2px;
  background: var(--uto-fg);
  border-radius: 1px;
}

.uto-nav {
  display: none;
  flex-direction: column;
  width: 100%;
  order: 4;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.uto-nav.is-open {
  display: flex;
}

.uto-nav a {
  padding: 0.5rem 0.25rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--uto-fg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.uto-nav a.is-active {
  color: var(--uto-accent);
}

.uto-header__social {
  display: flex;
  gap: 0.75rem;
  order: 2;
}

.uto-icon {
  width: 28px;
  height: 28px;
}

.uto-icon--small {
  width: 20px;
  height: 20px;
}

/* Ab Tablet-Breite: klassische horizontale Navigationsleiste */
@media (min-width: 720px) {
  .uto-header {
    padding: 0.75rem 2.5rem;
  }

  .uto-header__burger {
    display: none;
  }

  .uto-nav {
    display: flex;
    flex-direction: row;
    width: auto;
    order: 2;
    gap: 1.75rem;
    padding-top: 0;
  }

  .uto-nav a {
    border-bottom: none;
    font-size: 1rem;
  }

  .uto-header__social {
    order: 3;
  }
}

/* ---------- Seitenkopf mit Hintergrundbild ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 40vw;
  max-height: 320px;
  padding: 1.25rem;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.1) 100%),
    url("public/external/IMG_9000.JPG");
  background-size: cover;
  background-position: center 45%;
}

.page-hero__title {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 6vw, 3rem);
}

@media (min-width: 720px) {
  .page-hero {
    min-height: 260px;
    padding: 2.5rem;
  }
}

/* ---------- Hauptinhalt ---------- */
.page-content {
  flex: 1;
  width: 100%;
  max-width: var(--uto-max-width);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section__title {
  margin: 0 0 0.25rem;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 1.5rem;
  text-align: center;
  color: var(--uto-fg);
}

.section__title--accent {
  color: var(--uto-accent);
}

.section__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
}

.divider {
  width: 100%;
  border: none;
  border-top: 2px solid var(--uto-accent);
  margin: 0;
}

@media (min-width: 720px) {
  .section__title {
    font-size: 1.85rem;
  }

  .section__text {
    font-size: 1rem;
    text-align: center;
  }
}

/* ---------- Besetzung / Lineup ---------- */
.lineup {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.lineup__group {
  text-align: left;
}

.lineup__role {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--uto-accent);
}

.lineup__group p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (min-width: 560px) {
  .lineup {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Footer ---------- */
.uto-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
}

.uto-footer__social {
  display: flex;
  gap: 0.75rem;
}

.uto-footer__divider {
  width: 1px;
  height: 16px;
  background-color: var(--uto-accent);
}

.uto-footer__link {
  font-size: 0.85rem;
  text-transform: uppercase;
}
