:root {
  --bg-light: #faf8f2;
  --bg-dark: #1e1e1e;
  --text-dark: #222;
  --text-light: #fff;
  --accent: #ff6a00;
  --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: rgba(0, 0, 0, 0.85);
  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: var(--accent);
  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);
}



/* CORPORATE-BEREICH */
.corporate {
  padding: 6rem 0 4rem;
  background: var(--bg-light);
}

.corporate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  align-items: center;
}

.corp-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.corp-text h2 span {
  display: block;
}

.corp-text p {
  color: #555;
  margin-bottom: 1.5rem;
}

.accordion details {
  margin-bottom: 1rem;
}

.accordion summary {
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 1.5rem;
}

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
}

.accordion details[open] summary::after {
  content: "-";
}

.accordion p {
  padding-left: 1rem;
  color: #666;
}

.corp-image img {
  width: 100%;
  border-radius: 0.5rem;
}

/* FOOTER */
.footer {
  background: var(--bg-dark); /* dunkelgrau #1e1e1e */
  color: var(--text-light);   /* weiß */
  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: 2rem;
  justify-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.footer h4 {
  font-size: 1.1rem;
  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);
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--accent); /* orange */
}

.social-icons a {
  margin: 0 0.5rem;
  font-size: 1.4rem;
  color: var(--text-light);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--accent); /* orange */
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #ccc;
}

.section-divider {
  width: 1400px;
  height: 2px;
  background-color: #ff6a00;
  opacity: 0.2;
  margin: 3rem auto 2rem; /* auto = zentriert */
}



/* RESPONSIVE */
@media (max-width: 900px) {
  .corporate-grid,
  .agency-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    flex-direction: column;
  }
  .hero-content { text-align: center; margin: 0 auto; }
}
@media (max-width: 600px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 1rem; }
  .hero-content h1 { font-size: 2rem; }
  .intro h2 { font-size: 1.4rem; }
}

.about-hero {
  background: var(--bg-light);
  padding: 6rem 1rem 3rem;
}

.about-hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
}

.about-text-left {
  flex: 1;
  min-width: 280px;
}

.about-text-left h2 {
  font-size: 2rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--text-dark);
}

.about-text-left h2 em {
  font-weight: 600;
  font-style: normal;
}

.about-text-right {
  flex: 1.5;
  min-width: 280px;
}

.about-text-right p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.story-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.3s ease;
}

.story-link:hover {
  color: #d45600;
}

.about-image-container {
  margin-top: 3rem;
  text-align: center;
}

.about-image-container img {
  width: 100%;
  max-width: 1200px;
  border-radius: 0.5rem;
  height: auto;
}
.ablauf-section {
  background: var(--bg-light);
  padding: 6rem 1rem 4rem;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 3rem;
}

.ablauf-section {
  background: var(--bg-light);
  padding: 6rem 1rem 4rem;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 3rem;
}

/* Obere Reihe: 3 Kästen nebeneinander */
.steps-grid.top-row {
  display: flex;
  justify-content: center;
  gap: 2rem; /* GLEICH wie unten */
  flex-wrap: wrap;
}

/* Untere Reihe: 2 Kästen nebeneinander und zentriert */
.steps-grid.bottom-row {
  display: flex;
  justify-content: center;
  gap: 2rem; /* GLEICH wie oben */
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Karten */
.step-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 320px;
}

.step-number {
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  width: 2rem;
  height: 2rem;
  display: inline-block;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  line-height: 2rem;
}

.step-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.step-card p {
  color: #555;
  font-size: 0.95rem;
}

/* Responsives Verhalten */
@media (max-width: 768px) {
  .steps-grid.bottom-row {
    flex-direction: column;
    align-items: center;
  }
}
.footer-branding {
  text-align: center;
}

.footer-branding h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0rem;
}

.footer-logo {
  width: 180px;
  height: auto;
  display: inline-block;
  filter: brightness(0) invert(1); /* optional: macht das Logo weiß bei dunklem Footer */
  
}

@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;
}
}