:root {
  --bg-light: #1e1e1e;
  --bg-dark: #1e1e1e;
  --text-dark: #fff;
  --text-light: #fff;
  --accent: #14393e;
  --font: 'Poppins', sans-serif;
}
html {
  overflow-y: scroll;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  min-width: 1000px;
  height: 5rem;
  background: #122229;
  backdrop-filter: blur(10px);
  border-radius: 50px;
  z-index: 10;
  display: flex;
  align-items: center;
}


/* Container innerhalb der Navbar */
.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

/* Logo */
.logo {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0 1rem;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-weight: 600;
}

/* Einzelne Links */
.nav-links a {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.3s;
  padding: 0.75rem 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Button rechts (Kontakt) */
.btn-contact {
  padding: 0.6rem 1.2rem;
  background: #ca0013;
  color: var(--text-light);
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.btn-contact:hover {
  transform: translateY(-2px);
}

/* === ÜBER UNS SEITE === */
.about-hero {
  background: var(--bg-light);
  padding: 6rem 1rem 3rem;
}

/* Hauptlayout: 2 Spalten */
.about-hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem 2rem; /* 👈 vorher war 4rem 1rem; jetzt leicht nach oben geschoben */
  transform: translateY(-40px); /* 👈 verschiebt alles sanft nach oben */
}

/* Linke Spalte (fetter Text) */
.about-text-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.about-text-left h2 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

.about-text-left h2 em {
  font-weight: 600;
  font-style: normal;
}

/* Rechte Spalte mit Text + Bild */
/* === Text rechts vom Bild === */
.about-text-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Überschrift: wieder im ursprünglichen, markanten Stil */
.about-text-right h2 {
  font-size: 2.4rem;             /* größer */
  font-weight: 700;              /* kräftiger */
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.about-text-right h2 em {
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

/* Text darunter */
.about-text-right p {
  font-size: 1.05rem;
  color: #dcdcdc;
  margin-bottom: 1.5rem;
  max-width: 600px;
  line-height: 1.6;
}

/* Link */
.story-link {
  text-decoration: none;
  font-weight: 600;
  color: #ca0013;
  transition: color 0.3s ease;
}

.story-link:hover {
  color: #ffffff;
}


/* Bild direkt unter dem Text */
.team-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
}

.team-image {
  width: 550px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-image:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

/* FOOTER */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 1rem 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.footer h4 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #aaa;
}

.section-divider {
  width: 100%;
  max-width: 1400px;
  height: 1px;
  background-color: var(--accent);
  opacity: 0.2;
  margin: 3rem auto 2rem;
}

.footer-branding {
  text-align: center;
}

.footer-logo {
  width: 160px !important;
  height: auto !important;
  display: inline-block !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  background: none !important;
}


@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    width: 95%;
    min-width: unset;
    height: auto;
  }

  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .logo {
    font-size: 0.95rem;
    white-space: nowrap;
    text-align: center;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem;
    overflow-x: auto;
    flex-shrink: 1;
    white-space: nowrap;
  }

  .nav-links a {
    font-size: 0.8rem;
    padding: 0.35rem 0.45rem;
    white-space: nowrap;
  }

  .btn-contact {
    all: unset;
    font-size: 0.8rem;
    color: white;
    cursor: pointer;
    padding: 0.35rem 0.45rem;
    white-space: nowrap;
  }
}
/* Burger Button */
/* Standard: Burger ausblenden */
.burger {
  display: none;
}

/* Mobile: Layout anpassen */
  @media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    width: 95%;
    min-width: unset;
    height: auto;
  }

  .nav-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0 1.5rem;
  gap: 1rem;
}

  .logo {
  margin-left: auto;
  font-size: 1rem;
  white-space: nowrap;
}

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    z-index: 11;
  }

  .burger span {
    display: block;
    height: 3px;
    width: 25px;
    background: white;
    border-radius: 2px;
    margin: 4px 0;
    transition: all 0.3s ease;
  }

  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger.open span:nth-child(2) {
    opacity: 0;
  }

  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 10;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }

  .nav-links.show {
    max-height: 300px;
  }

  .nav-links li {
    padding: 1rem 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}
@media (min-width: 768px) and (max-width: 1279px) {
  html, body {
    overflow-x: hidden;
  }

  
  .navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    height: 3.5rem;
    padding: 0 1rem; /* 👈 kompakter als vorher */
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .logo {
    font-size: 1.3rem;
    white-space: nowrap;
  }

  .nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  justify-content: flex-end;  /* verschiebt alle Links nach rechts */
  align-items: center;
  margin-right: 1rem;       /* Abstand zum rechten Rand */
}

  .nav-links a {
    font-size: 0.95rem;
    padding: 0.4rem 0.75rem;
    white-space: nowrap;
  }

  .btn-contact {
     display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.45rem 1rem;
  background: var(--accent);
  color: white;
  border-radius: 50px;
  white-space: nowrap;
  font-weight: 600;
  text-align: center;
}
}

/* === MOBILE FIX für "Über uns" & "Unsere Geschichte" Seiten === */
@media (max-width: 900px) {
  .about-hero-content {
    grid-template-columns: 1fr !important;
    text-align: center;
    padding: 2rem 1rem;
    transform: none;
    margin-top: -6rem;
  }

  .about-text-right,
  .about-text-left {
    align-items: center !important;
    justify-content: center;
  }

  .about-text-right h2,
  .about-text-left h2 {
    font-size: 1.6rem !important;
    line-height: 1.3;
    margin-top: 1.5rem;
  }

  .about-text-right p,
  .about-text-left p {
    font-size: 1rem;
    color: #dcdcdc;
    max-width: 90%;
    margin: 1rem auto 1.5rem;
  }

  .about-image-left img,
  .team-image {
    width: 90% !important;
    max-width: 380px;
    height: auto;
    border-radius: 14px;
    margin: 0 auto;
    display: block;
  }

  .story-link {
    margin-top: 1rem;
    display: inline-block;
  }
}
