@font-face {
  font-family: 'Oswald';
  src: url('fonts/oswald-v56-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Code Pro';
  src: url('fonts/source-code-pro-v30-latin-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Source Code Pro', monospace;
  background: white;
  color: #111;
}

header {
  text-align: center;
  padding: 3rem 1rem 1rem;
  animation: zoomIn 1.2s ease;
}

header img {
  max-width: 700px;
  height: auto;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

nav {
  text-align: center;
  margin-bottom: 1rem;
}

nav a {
  text-decoration: none;
  margin: 0 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #111;
}

hr {
  border: none;
  height: 1px;
  background-color: #000;
  margin: 2rem auto;
  max-width: 900px;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 1.5rem;
}

h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 4rem auto;
  max-width: 1100px;
  gap: 3rem;
}

.section a img {
  width: 600px;
  height: auto;
  transition: 0.3s ease;
  display: block;
}

.section a img:hover {
  filter: brightness(1.1);
}

.section-text {
  max-width: 440px;
}

.section-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
}

.section-text p {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.video-tile {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.video-tile.visible {
  opacity: 1;
  transform: translateY(0);
}

iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

footer {
  background-color: #111;
  color: white;
  padding: 4rem 2rem 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

footer.visible {
  opacity: 1;
  transform: translateY(0);
}

footer img {
  max-width: 300px;
  height: auto;
  margin-bottom: 3rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ======= Kontakt ======= */

.kontakt-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.kontakt-section img {
  width: 480px;
  height: auto;
  border-radius: 4px;
}

.kontakt-text {
  max-width: 480px;
  font-size: 1rem;
  line-height: 1.6;
}

.kontakt-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 600;
}

.email-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  background: #111;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.email-button:hover {
  background: #333;
}

/* ======= Über mich ======= */

.ueber-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
  margin: 4rem auto;
  max-width: 1100px;
  flex-wrap: nowrap;
}

.ueber-container img {
  width: 600px;
  height: auto;
  object-fit: cover;
  display: block;
}

.ueber-text {
  max-width: 440px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ueber-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
}

/* Mobile: Spalte untereinander */
@media (max-width: 768px) {
  .ueber-container {
    flex-direction: column;
    text-align: center;
  }

  .ueber-container img {
    width: 90%;
  }

  .ueber-text {
    text-align: left;
    padding: 0 1rem;
  }
}

/* ======= Responsive ======= */

@media (max-width: 768px) {
  header img {
    max-width: 280px;
  }

  .section {
    flex-direction: column;
    text-align: center;
  }

  .section a img {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  footer img {
    max-width: 280px;
  }

  .kontakt-section {
    flex-direction: column;
    text-align: center;
  }

  .kontakt-section img {
    width: 90%;
  }

  .ueber-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ueber-container img {
    width: 90%;
  }
}