/* =========================================
   1) RESET & BASISLAYOUT
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Lato', sans-serif ,'Caveat';
  background: #fff;
  color: #222;
  line-height: 1.6;
}

img, video {
  max-width: 100%;
  display: block;
}


/* =========================================
   2) HEADER & NAVIGATION
========================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
}

header .logo img {
  height: 50px;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s;
}
nav a:hover,
nav a.active {
  color: #ccc;
}

/* Burger Menü */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0,0,0,0.9);
    padding: 1rem;
  }
  nav.active { display: block; }
  nav ul { flex-direction: column; gap: 1rem; }
  .menu-toggle { display: block; }
}


/* =========================================
   3) HERO SECTIONS (Start & Unterseiten)
========================================= */
.herohome, .hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.herohome video, .hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.herohome .message,
.hero .message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;

  /* >>> Fix: volle Breite, aber harmonisch limitiert <<< */
  max-width: min(1200px, 95vw);

  text-align: center;
  color: #fff;
  padding: 2rem;
}

.herohome .message h1 {
  font-family: 'Caveat', cursive;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.herohome .message h2 { font-size: 2rem; margin: 1rem 0; color: #fff; }
.herohome .message h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: 1rem; color: #eee; }
.herohome .message p  { margin-bottom: 1rem; }


/* =========================================
   4) CONTENT LAYOUT
========================================= */
.content {
  width: 85%;
  margin: 0 auto;
  padding: 4rem 0;
}

.content h1 { font-family: 'Caveat', cursive; font-size: 3.5rem; margin-bottom: 1rem; }
.content h2 { font-size: 2rem; margin: 1rem 0; color: #333; }
.content h3 { font-size: 1.3rem; font-weight: 400; color: #555; margin-bottom: 1rem; }
.content p  { margin-bottom: 1rem; }

/* Zwei-Spalten Layout */
.two-column {
  display: flex;
  gap: 2rem;
  margin: 4rem auto;
}
.two-column .text  { flex: 1 1 60%; }
.two-column .image { flex: 1 1 40%; text-align: center; }
.two-column .image img { border-radius: 8px; }
.two-column.reverse { flex-direction: row-reverse; }

@media (max-width: 800px) {
  .two-column { flex-direction: column; }
  .two-column .text, .two-column .image { width: 100%; }
}

/* Overlap Card */
.overlap-card {
  position: relative;
  max-width: 1200px;
  margin: 4rem auto;
}

.card-image img {
  width: 100%;
  max-height: 850px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.card-text {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 50%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  padding: 2rem;
  color: #333;
}

.overlap-card.left  .card-text { left: 5%; }
.overlap-card.right .card-text { right: 5%; }

@media (max-width: 900px) {
  .card-text {
    position: relative;
    width: 90%;
    margin: -2rem auto 0;
    transform: none;
  }
}

/* Tabellenlayout ohne absolute Positionierung */
.table-section {
  position: relative;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.table-section .card-text {
  position: relative;
  transform: none;
  width: 100%;
  margin: 0;
  background: transparent;
  box-shadow: none;
}


/* =========================================
   5) MUT TEASER
========================================= */
#mut-teaser {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
#mut-teaser video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
#mut-teaser .mut-content {
  position: relative;
  z-index: 2;
  max-width: min(1200px, 95vw);
  margin: 0 auto;
  padding: 20vh 2rem 2rem;
  text-align: center;
  color: #fff;
}

#mut-teaser h1 {
  font-family: 'Caveat', cursive;
  font-weight: 400;
  font-size: 4rem;
  margin-bottom: 1.2rem;
}
#mut-teaser h3 { font-size: 1.4rem; font-weight: 300; margin-bottom: 1rem; }
#mut-teaser p  { font-size: 1rem; margin-bottom: 1.5rem; }


/* =========================================
   6) MUT CONTENT
========================================= */
#mut-content h1 { font-family: 'Caveat', cursive; font-weight: 400; font-size: 4rem; margin-bottom: 1.2rem; color: #fff; }
#mut-content h3 { font-size: 1.4rem; font-weight: 300; margin-bottom: 1rem; color: #fff; }
#mut-content p  { font-size: 1rem; margin-bottom: 1.5rem; color: #fff; }


/* =========================================
   7) BUTTONS
========================================= */
.btn { 
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  background: #333;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn:hover { background: #000; transform: scale(1.05); }


/* =========================================
   8) PAGE-SPEZIFISCHE TYPO
========================================= */
body.home h1      { font-family: 'Kalam', cursive; }
body.human h1     { font-family: 'Kalam', cursive; }
body.business h1  { font-family: 'Caveat', cursive; }
body.me h1        { font-family: 'Caveat', cursive; }
body.outdoor h1   { font-family: 'Caveat', cursive; }
body.impressum h1 { font-family: 'Lato', sans-serif; }


/* =========================================
   9) RESPONSIVE VERFEINERUNGEN
========================================= */
@media (max-width: 992px) {
  .herohome .message h1,
  #mut-teaser h1 { font-size: 2rem; }

  .herohome .message h3,
  #mut-teaser h3 { font-size: 1rem; }
}

@media (max-width: 600px) {
  .herohome .message,
  #mut-teaser .mut-content { padding-top: 15vh; }
}


/* ==================== Bestehendes CSS bleibt unverändert ==================== */

/* ===== Neue CSS-Regeln für die Seite 'Wie ich arbeite' ===== */
.video-block {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-block .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-block .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 1;
    padding: 1rem 2rem;
    max-width: 90%;
}

.video-block .overlay h1 {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.video-block .overlay p {
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Responsive Anpassungen */
@media (max-width: 992px) {
    .video-block .overlay h1 {
        font-size: 2rem;
    }
    .video-block .overlay p {
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
    .video-block .overlay h1 {
        font-size: 1.5rem;
    }
    .video-block .overlay p {
        font-size: 0.9rem;
    }
}