* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

section {
  overflow: hidden;
}

h1 {
  font-size: 3rem;
  text-align: center;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #f5f5f5, #a9a9a9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  color: #a9a9a9;
  line-height: 1.6;
  line-break: auto;
  margin: 1rem 0;
}

section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  z-index: 10;
}

#rechtstexte {
  margin-top: 5rem;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
}

/* About / Philosophie */

#about .content {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

#about .content > * {
  flex: 1 0 150px;
}

#about img {
  flex: 1;
  margin: 2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

#about .content img {
  flex: 1;
  background: #fff;
}

#about .content > div {
  flex: 3;
}

/* Header & Navigation */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(45deg, #a50000, #ff1744);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #8b0000, #dc143c, #f5f5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  position: relative;
}

.nav-links a:hover {
  color: #000;
  background: rgba(220, 20, 60, 0.1);
  transform: translateY(-2px);
}

/* Mobile menu button */

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
  background: #dc143c;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
  background: #dc143c;
}

/* Hero Section */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(ressources/videos/background-video-production-example.mp4) no-repeat center;
  background-size: cover;
  /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');*/
  opacity: 0.1;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;

    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #8b0000, #dc143c, #f5f5f5, #a9a9a9);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #8b0000, #dc143c);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(139, 0, 0, 0.4);
  background: linear-gradient(45deg, #a50000, #ff1744);
}

/* Stats Section */

.stats {
  text-align: center;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.stat-item {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  padding: 2rem;
  background: rgba(245, 245, 245, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(220, 20, 60, 0.2);
}

.stat-item:nth-child(1) {
  animation-delay: 0.2s;
}

.stat-item:nth-child(2) {
  animation-delay: 0.4s;
}

.stat-item:nth-child(3) {
  animation-delay: 0.6s;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(45deg, #dc143c, #8b0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #a9a9a9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services Section */

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(
    135deg,
    rgba(245, 245, 245, 0.03) 0%,
    rgba(139, 0, 0, 0.1) 100%
  );
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 20, 60, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  transition: 500ms;
  opacity: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(
    135deg,
    rgba(245, 245, 245, 0.08) 0%,
    rgba(139, 0, 0, 0.15) 100%
  );
  box-shadow: 0 20px 40px rgba(139, 0, 0, 0.2);
  border-color: rgba(220, 20, 60, 0.4);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: grayscale(100%) brightness(0.8);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f5f5f5;
}

/* Portfolio Section */

#portfolio {
  position: relative;
}

.portfolio-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  border-radius: 15px;
  overflow: hidden;
  height: 250px;
  background: linear-gradient(45deg, #8b0000, #dc143c, #2f2f2f, #a9a9a9);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(220, 20, 60, 0.3);
  position: relative;
}

.portfolio-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
  border-color: rgba(220, 20, 60, 0.6);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(139, 0, 0, 0.8) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item.velocity {
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(139, 0, 0, 0.5) 100%
    ),
    url(ressources/images/Velocity-preview.png);
  background-position: center;
  background-size: cover;
}

.portfolio-item.velocity:hover .portfolio-overlay {
  background: url(ressources/videos/Velocity.mp4);
  background-position: center;
}

.portfolio-item.taizza {
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(139, 0, 0, 0.5) 100%
    ),
    url(ressources/images/Taizza-preview.png);
  background-position: center;
  background-size: cover;
}

.portfolio-item.taizza:hover .portfolio-overlay {
  background: url(ressources/videos/Taizza.mp4);
  background-position: center;
}

.portfolio-item.reggae {
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(139, 0, 0, 0.5) 100%
    ),
    url(ressources/images/reaggae-preview.jpg);
  background-position: center;
  background-size: cover;
}

.portfolio-item.reaggae:hover .portfolio-overlay {
  background: url(ressources/videos/Reggae-Festival.mp4);
  background-position: center;
}

.portfolio-text {
  text-align: center;
  color: #f5f5f5;
}

.portfolio-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-text p {
  color: #a9a9a9;
}

.portfolio-beschreibung {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: linear-gradient(45deg, #a50000, #ff1744);
  transition: 500ms;
}

.portfolio-beschreibung .items {
  transform: translateX(0);
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  height: 100%;
}

.portfolio-beschreibung .items .item {
  flex: 1 0 100%;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.portfolio-beschreibung .items .item > div:first-child {
  align-self: center;
  justify-self: center;
}

.portfolio-beschreibung .items .item > div:last-child {
  align-self: start;
}

.portfolio-beschreibung.active {
  opacity: 1;
  pointer-events: initial;
}

.beschreibung {
  padding: 2rem;
}

.video-wrapper {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: none;
  align-items: center;
  justify-content: center;
}

.video-wrapper video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.fa-play-circle {
  display: none;
  font-size: 5rem;
  cursor: pointer;
}

.fa-play-circle::after {
  font-size: 1rem;
  display: inline-block;
  content: "Video anzeigen";
  font-size: 0.5rem;
}

.portfolio-beschreibung .fa-xmark {
  position: absolute;
  right: 2rem;
  top: 2rem;
  font-size: 3rem;
  color: #fff;
  z-index: 99;
  cursor: pointer;
}

/* Contact Section */

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid rgba(220, 20, 60, 0.3);
  border-radius: 10px;
  background: rgba(245, 245, 245, 0.05);
  color: #f5f5f5;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a9a9a9;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #dc143c;
  background: rgba(245, 245, 245, 0.1);
  box-shadow: 0 0 15px rgba(220, 20, 60, 0.2);
}

.contact-form textarea {
  grid-column: 1 / -1;
  resize: vertical;
  min-height: 120px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    45deg,
    rgba(245, 245, 245, 0.1),
    rgba(139, 0, 0, 0.2)
  );
  border: 1px solid rgba(220, 20, 60, 0.3);
  border-radius: 50%;
  color: #f5f5f5;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(45deg, #8b0000, #dc143c);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(139, 0, 0, 0.3);
}

section#rechtstexte .content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer */

.footer {
  background: #000;
  padding: 2rem;
  text-align: center;
  color: #a9a9a9;
  border-top: 1px solid rgba(220, 20, 60, 0.2);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

footer a {
  text-decoration: none;
  color: #fff;
  transition: 300ms;
}

footer a:hover {
  color: #dc143c;
}

/* Responsive */

@media (max-width: 768px) {
  /* About / Philosophie */

  #about .content img {
    margin: 2rem;
  }

  #about .content {
    flex-flow: column;
  }

  /* Others */

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(139, 0, 0, 0.9) 100%
    );
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(220, 20, 60, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    margin: 1rem 0;
    padding: 1rem 2rem;
    width: 80%;
    text-align: center;
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 10px;
  }

  .menu-toggle {
    display: flex;
  }

  .form-group {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: 1fr;

    gap: 2rem;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-beschreibung .items .item > div:last-child {
    align-self: center;
  }

  .service-card {
    background: linear-gradient(
      135deg,
      rgba(245, 245, 245, 0.03) 0%,
      rgba(139, 0, 0, 0.1) 100%
    );
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 20, 60, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    opacity: 0;
  }

  .video-wrapper {
    display: none;
  }

  .fa-play-circle {
    display: inline-block;
  }
}
