/* ==========================================================================
   BASE.CSS - Globale Styles & Variablen
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variablen (Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  --bg: #0f1011;
  --fg: #f0f0f0;
  --muted: #aaa;
  --brand: #EE1B00;
  --brand-2: #457b9d;
  --radius: 0.25rem;
  --radius-btn: 0.5rem;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --transition: 0.3s ease;
  --font: system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & Basis-Setup
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--fg);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand);
}

label {
  font-size: .9em;
  margin-bottom: 3px;
}

input {
  padding: 6px;
}

/* --------------------------------------------------------------------------
   3. Globale Layout-Klassen
   -------------------------------------------------------------------------- */
.container {
  width: clamp(70vw, 80vw, 90vw);
  margin-inline: auto;
}

.container p {
  font-size: 1rem;
}

.section {
  scroll-margin-top: 3rem;
  padding: clamp(0.3rem, 1vw, 1rem) 0;
}

.section__header {
  text-align: left;
  margin-bottom: 2rem;
  position: relative;
}

.section__header h2 {
  position: relative;
  display: inline-block;
  font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section__header p {
  color: var(--muted);
  margin: 0;
  text-align: left;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation Base
   -------------------------------------------------------------------------- */
.container-header {
  margin: 0;
  padding: 0 1rem;
  height: 3rem;
}

.site-header {
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  pointer-events: none;
  z-index: -1;
  backdrop-filter: blur(3px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 1rem;
  padding: .5rem 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 200;
  color: var(--fg);
  text-decoration: none;
}

.logo span {
  color: var(--brand);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.nav__social {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav__social a {
  color: var(--fg);
  font-size: 1.4rem;
  transition: color .3s ease;
}

.nav__social a:hover {
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: .6rem 1.1rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.btn--ghost {
  background: 0 0;
  color: var(--fg);
  border-radius: var(--radius-btn);
  border: 1px solid var(--fg);
  padding: .5rem 1rem;
  margin-bottom: .2rem;
}

.btn--ghost:hover {
  background: var(--fg);
  color: var(--bg);
}

/* --------------------------------------------------------------------------
   6. Footer Base
   -------------------------------------------------------------------------- */
.footer {
  text-align: center;
  padding: .5rem;
  font-size: .9rem;
  color: var(--muted);
  background: #1a1b1e;
}

.footer__inner {
  max-width: 90vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   7. Icons & Media Queries (Globale Basis)
   -------------------------------------------------------------------------- */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: -0.125em;
}

.nav__social a,
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  text-decoration: none;
}

.nav__social .icon,
.footer__social .icon {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .container {
    width: clamp(70vw, 90vw, 97vw);
    margin-inline: auto;
  }

  .footer__inner {
    flex-direction: column;
    justify-content: space-evenly;
  }
}

/* --------------------------------------------------------------------------
   8. Video (Index und Brasserie und Brassyou)
   -------------------------------------------------------------------------- */

img,video{
  max-width:100%;
  display:block
}


#video{
  background:url(images/galerie-bg.webp) center/cover no-repeat;
  position:relative;
  z-index:1
}
.video-card .open-video:hover{
  transform:scale(1.05)
}
.spalten-video{
  z-index:1;
  display:flex;
  position:relative;
  flex-wrap:wrap
}
@media (max-width:768px){
  .spalten-video{
    flex-direction:column
  }
  .spalten-video::before{
    left:0;
    right:0;
    top:50%;
    width:100%;
    height:2px
  }
  .video-card{
    text-align:center;
    max-width: 90%;
  }
  /* Video soll mobil nicht hovern */
  .video-card .open-video:hover{
  transform:scale(1.00)
  }
}
.modal{
  width:min(100% - 2rem,1000px);
  border:0;
  padding:0;
  background:0 0
}
.modal::backdrop{
  background:rgba(0,0,0,.7)
}
.modal__close{
  position:absolute;
  right:.75rem;
  top:.5rem;
  background:0 0;
  border:0;
  color:var(--fg);
  font-size:1.8rem;
  cursor:pointer
}
.video-embed{
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow)
}
.video-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:#000
}
.video-card{
  display:flex;
  justify-content:center;
  margin:2rem auto;
  flex:0 0 50%;
  padding:1rem 1rem 1rem 0;
  box-sizing:border-box;
  max-width: 70%;
}
.open-video{
  display:inline-block;
  position:relative;
  cursor:pointer;
  border:none;
  background:0 0
}
.play-icon{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:3rem;
  color:#fff;
  text-shadow:0 2px 8px rgba(0,0,0,.7);
  pointer-events:none
}


/* --------------------------------------------------------------------------
   9. Audio (Index und Brasserie und Brassyou)
   -------------------------------------------------------------------------- */


.player{
  background:#1a1b1e;
  border-radius:var(--radius);
  padding:1.5rem;
  box-shadow:var(--shadow)
}
.player__title{
  font-weight:600;
  margin-bottom:.5rem
}
.player__time{
  color:var(--muted);
  font-size:.9rem
}
.player__list{
  list-style:none;
  padding:0;
  margin:1rem 0 0
}
.player__item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:.5rem 0;
  border-bottom:1px solid #333
}
.player__item:last-child{
  border-bottom:none
}
.player__btn{
  background:0 0;
  color:var(--fg);
  border:1px solid var(--fg);
  padding:.4rem .8rem;
  border-radius:var(--radius-btn);
  cursor:pointer;
  transition:var(--transition)
}
.player__btn:hover{
  background:var(--fg);
  color:var(--bg)
}

/* nur für den Player: Breite einstellen */
#audio{
  display: flex;
  width: clamp(80%, 100%, 100%);
}


/* --------------------------------------------------------------------------
   10. Termine (Index und Intern)
   -------------------------------------------------------------------------- */

.table{
  width:100%;
  min-width:400px;
  border-collapse:collapse;
  background:#1a1b1e;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow)
}
.table-wrapper{
  width:100%;
  overflow-x:auto;
}
.table th{
  padding: 0.5rem 0.5rem 0.5rem 0.5rem; /* über den werten, zwischen den werten,unter den werten,zeilenende */
  text-align:left
}
.table th{
  background:#222;
  font-weight:600
}
.table td{
  font-size: 0.9rem;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem  /* über den werten, zwischen den werten,unter den werten,zeilenende */
}