/* ---------- Grunddesign ---------- */
html, body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #0f1c2e, #1c2f45);
  color: #fff;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Standard-Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 2rem 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Überschriften */
h1, h2, h3 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Links */
a {
  color: #fff;
  text-decoration: none;
}

/* ---------- Header ---------- */
header {
  background: #1c3520;
  padding: 1rem 0 0 0;
  border-bottom: 3px solid #3a5c40;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

nav a {
  margin-left: 1.5rem;
  font-weight: bold;
}

nav a:hover,
nav a.active {
  color: #f0c020;
}

.beta-badge {
  background: orange;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Header-Banner ---------- */
.header-banner {
  background: #f0c020;
  color: #000;
  font-weight: bold;
  padding: 0.5rem 1rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  letter-spacing: 1px;
  font-size: 0.95rem;
  border-top: 1px solid #3a5c40;
  border-bottom: 1px solid #3a5c40;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem 1rem;
  background: url("/bilder/AIRetouch_20250914_115319261_1.jpg") center/cover no-repeat;
  min-height: 100vh;
  width: 100%;
}

.hero-content {
  max-width: 90%;
  width: 100%;
}

.hero-image {
  max-width: 360px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
  margin-bottom: 0.3rem;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.9;
}

/* ---------- Hero für mobiles Training ---------- */
.hero-mobile {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertikal zentriert */
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background: url("/bilder/mobiletraining-hero.jpg") center/cover no-repeat;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

.hero-mobile .hero-content {
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
}

.hero-mobile h1 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-mobile p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* ---------- About ---------- */
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.about-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 8px;
  border: 3px solid #3a5c40;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.about-text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-banner {
  width: 100%;
  margin: 20px 0;
  background: url('/mnt/data/000437b4-2bcb-4536-9392-274eddd44b12.png') center/cover no-repeat;
  height: auto;
}

/* ---------- Kontakt ---------- */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  min-width: 240px;
  transition: background 0.3s;
  background-color: #1e4d2b; /* dunkles Grün für alle Buttons */
}

.contact-buttons a:hover {
  opacity: 0.85;
}

.btn-icon {
  width: 24px;
  height: 24px;
}

/* ---------- Social Links ---------- */
.social-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: #1e4d2b; /* gleiche dunkle Farbe wie Buttons */
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.3s ease;
}

.social-links a img {
  width: 24px;
  height: 24px;
}

.social-links a:hover {
  transform: scale(1.1);
  background-color: #166336; /* leicht helleres Grün beim Hover */
}

/* ---------- Fortschrittsbild ---------- */
.progress-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.progress-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 3px solid #3a5c40;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.progress-text {
  max-width: 700px;
  margin: 1.5rem auto 0 auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ---------- Footer ---------- */
footer {
  background: #0f1c2e;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero p { font-size: clamp(0.95rem, 2.5vw, 1.1rem); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #1c3520;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 200px;
    padding: 1rem;
    border-left: 2px solid #3a5c40;
    border-bottom: 2px solid #3a5c40;
    border-radius: 0 0 0 8px;
    z-index: 998;
  }

  nav.active { display: flex; }

  nav a { margin: 0.5rem 0; }
}

@media (max-width: 500px) {
  .hero h1 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .hero p { font-size: clamp(0.9rem, 2.5vw, 1rem); }
  .hero-mobile {
    padding: 1.5rem 1rem;
  }
  .hero-mobile h1 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  .hero-mobile p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }
}

/* ---------- Mobiles Training Bilder responsive ---------- */
.mobiles-training-image {
  width: 100%;       /* passt sich der Containerbreite an */
  max-width: 900px;  /* auf Desktop schön groß */
  height: auto;      /* behält das Seitenverhältnis bei */
  display: block;
  margin: 1rem auto 0 auto;
  border-radius: 8px;
  border: 3px solid #3a5c40;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.mobiles-training-image + p {
  margin-top: 0.5rem;
  text-align: center;
}

@media (max-width: 500px) {
  .mobiles-training-image {
    max-width: 100%;  /* nutzt volle Breite auf Handy */
  }
}
