/* =========================================
   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: 600;
  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
========================================= */
/* =========================================
   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;   /* skaliert Video so, dass immer alles gefüllt wird */
  object-position: center center; /* Video mittig ausrichten */
  z-index: 0;
}

.herohome .message, .hero .message {
  position: absolute;   /* nicht mehr "relative" */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* wirklich mittig */
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.herohome .message h1,
.hero .message h1 {
  font-weight: 300;
  font-family: 'Caveat', cursive;
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.herohome .message h2,
.hero .message h2,
 {
  font-size: 3rem;
  font-weight: 250;
  line-height: 1.6;
}

.herohome .message h3,
.hero .message h3,
 {
  font-size: 2rem;
  font-weight: 200;
  line-height: 1.6;
}

.herohome .message h4,
.hero .message h4 {
  font-size: 1,5rem;
  font-weight: 100;
  line-height: 1.6;
}

/* =========================================
   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 in der Section */
.table-section {
  position: relative;     
  max-width: 1200px;      
  margin: 4rem auto;      
  padding: 2rem;          
  background: #fff;        /* sichtbar, bis Transparenz gewünscht */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* card-text NICHT absolut für Tabellen */
.table-section .card-text {
  position: relative;  /* statt absolute */
  transform: none;     /* Reset */
  width: 100%;
  margin: 0 auto;
  background: transparent; /* bei Bedarf */
  box-shadow: none;        /* bei Bedarf */
}


/* =========================================
   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: 900px;
  margin: 0 auto;
  padding: 20vh 2rem 2rem;
  text-align: center;
  color: #fff;
}
#mut-teaser h1 { font-family: 'Caveat', cursive; font-weight: 400; color: #ffffff; font-size: 4rem; margin-bottom: 1.2rem; }
#mut-teaser h3 { font-size: 1.4rem; font-weight: 300; margin-bottom: 1rem; color: #ffffff; }
#mut-teaser p  { font-size: 1rem; margin-bottom: 1.5rem; color: #ffffff; }

/* =========================================
   6) MUT content
========================================= */


#mut-content h1 { font-family: 'Caveat', cursive; font-weight: 400; color: #ffffff; font-size: 4rem; margin-bottom: 1.2rem; }
#mut-content h3 { font-size: 1.4rem; font-weight: 300; margin-bottom: 1rem; color: #ffffff; }
#mut-content p  { font-size: 1rem; margin-bottom: 1.5rem; color: #ffffff; }


/* =========================================
   6) 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); }

/* =========================================
   7) 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; }

/* =========================================
   8) 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; }
}
