/* ============= Farben & Reset ============= */
:root {
  --bg: #f9f9f9;
  --header: #3e3340;
  --text: #222;
  --muted: #666;
  --title: #dab9fa;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ============= Header ============= */
header {
  background: var(--header);
  color: #fff;
  padding: 1.2rem 1.25rem;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* wichtig für mobile */
  gap: 0.75rem;
}

.header-inner h1 {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  gap: 8px;
}

.header-inner h1 img {
  display: block;
  max-width: 30px;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.25rem 0.4rem;
}

nav a.active {
  font-weight: bold;
  color: var(--title);
}

nav a:hover {
  color: #ccc;
  transition: color 0.2s ease;
}

/* ============= Main Content ============= */
main {
  max-width: 1000px;
  margin: 1.5rem auto;
  padding: 0 1.25rem;
  flex: 1;
  p {
    margin-bottom: 1rem;
  }
}

img.portrait {
  float: right;
  margin: 0em 0 1em 2em;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}

img.imdb-logo {
  max-width: 150px;
  height: auto;
  transition: transform 0.2s ease;
}

img.imdb-logo:hover {
  transform: scale(1.05);
}

/* Kurzfilme etc. */
.film-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.film-video {
  flex: 1;
  max-width: 480px;
}

.film-info {
  flex: 2;
}

.film-info h3 {
  margin-top: 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9-Verhältnis */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.shortfilmsize {
  width: 400px;
  height: 225px;
}

/* Artikelkarten */
.article-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.article-card p,
.article-card h3 {
  margin: 0;
}

.article-card img {
  width: 241px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.section-title {
  margin-top: 0;
}

/* ============= Footer ============= */
footer {
  background-color: #433746;
  color: white;
  padding: 15px;
  display: flex;
  flex-direction: column; /* standardmäßig stapeln */
  align-items: center;
  text-align: center;
}

.footer-top {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
}

footer a {
  color: inherit;
  text-decoration: none;
  justify-content: center;
  display: flex;
}

footer img {
  width: 24px;
  height: 24px;
}

/* ============= Responsive Anpassungen ============= */
@media (min-width: 701px) {
  footer {
    flex-direction: row;
    justify-content: center;
  }

  .footer-top {
    margin-right: 10px;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  nav {
    border-top: 1px solid #555; /* feine Linie zwischen Titel und Menü */
    padding-top: 0.5rem;
    width: 100%; /* damit Linie über volle Breite geht */
  }

  .article-card {
    flex-direction: column;
  }
  .article-card img {
    width: 100%;
  }
  .film-item {
    flex-direction: column;
  }
  .film-video {
    max-width: 100%;
  }

  .shortfilmsize {
    width: 300px;
    height: 168px;
  }

  img.portrait {
    float: none;          /* kein float */
    display: block;
    margin: 0 auto 1rem;  /* mittig über Text */
    max-width: 60%;       /* kleiner für schmale Screens */
  }

  .film-item {
    flex-direction: column;
  }

  .film-video {
    max-width: 100%;
  }

  .article-card {
    flex-direction: column;
    margin-bottom: 3rem;
  }

  .article-card img {
    width: 100%;
  }

    footer {
    flex-direction: column; /* statt in einer Zeile */
    gap: 0.5rem;
  }

  footer span {
    display: none; /* Trenner „|“ ausblenden */
  }

  footer a img {
    width: 28px;  /* darf ruhig ein Tick größer auf Mobile */
    height: 28px;
  }

  footer a {
    display: inline-block;
  }
}