/* index.css */
: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);
}


.hero {
  position: relative;
  background: url('assets/hero.jpg') center/cover no-repeat;
  padding: 6rem 0;           /* Platz für Navbar und Abstand */
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  /* Hintergrund entfernen: */
  background: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.hero-text {
  flex: 1;
  color: var(--text-light);
  padding-left: 10%;
}
.hero-image {
  display: none; /* Box-Bild im Hero wieder ausblenden */
}


/* INTRO */
.intro {
  background: var(--bg-light);
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
  margin-top: -3rem;
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 5;
}
.intro-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-align: center;
}
.intro h2 {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-size: 1.75rem;
  line-height: 1.3;
}
.cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.card {
  background: #fff;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex: 1 1 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.25rem;
}
.card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #555;
}
.btn-link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}
.btn-link:hover {
  text-decoration: underline;
}

/* CORPORATE */
.corporate {
  padding: 4rem 0;
  background: #fff;
}
.corporate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.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: 0.75rem;
}
.accordion summary {
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 1.5rem;
}
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
}
.accordion details[open] summary::after {
  content: "-";
}
.accordion p {
  padding: 0.5rem 0 0 1rem;
  color: #666;
}
.corp-image img {
  width: 100%;
  border-radius: 0.5rem;
}

/* AGENCY */
.agency {
  padding: 4rem 0;
  background: var(--bg-light);
}
.agency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.agency-image img {
  width: 100%;
  border-radius: 0.5rem;
}
.agency-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.agency-text p {
  color: #555;
  margin-bottom: 1.5rem;
}
.agency-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.btn-outline {
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--text-dark);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.btn-primary {
  padding: 0.6rem 1.2rem;
  background: var(--text-dark);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
}
.btn-primary:hover {
  background: #111;
  transform: translateY(-2px);
}
.call-us {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #555;
}
.call-us i {
  margin-right: 0.5rem;
  color: var(--accent);
}

/* SOLUTION NEU */
.solution {
  padding: 2rem 0; /* vorher evtl. 4rem */
  background: var(--bg-light);
  margin-top: -6rem; /* NEU hinzugefügt, reduziert Abstand nach oben */
  padding: 1rem 0 0rem; /* unten weniger Platz */
  margin-bottom: 0;
}

.solution h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}
.sol-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sol-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.sol-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.sol-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .corporate-grid,
  .agency-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    flex-direction: column;
  }
  .hero-content { text-align: center; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 1rem; }
  .hero-content h1 { font-size: 2rem; }
  .intro h2 { font-size: 1.4rem; }
}

/* NAVBAR: Padding & Font-Smoothing für schärfere Schrift */
.nav-links a {
  /* mehr Innenabstand (oben/unten 0.75rem, links/rechts 1rem) */
  padding: 0.75rem 1rem;
  
  /* Font-Smoothing aktivieren */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* bei Bedarf Schriftgröße leicht anheben */
  /* font-size: 1.25rem; */
}

.logo {
  /* auch beim Logo-Text für gleichmäßige Glättung sorgen */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0 1rem; /* etwas Luft links/rechts */
}
/* Hero: mehr Höhe & Text weiter links */
.hero {
  /* Mindestens 80% der Viewport-Höhe */
  min-height: 80vh;
  /* oben nach wie vor Platz für Navbar, unten etwas weniger */
  padding: 6rem 0 4rem;
  /* Background-Position leicht nach oben rücken, um mehr Bild zu zeigen */
  background-position: center 30%;
  background-size: cover;
}

/* Hero: Content an den unteren Rand ziehen */
header.hero {
  display: flex;
  justify-content: center;    /* zentriert die hero-grid horizontal */
  align-items: flex-end;      /* hero-grid am unteren Rand des Hero-Containers ausrichten */
  padding: 6rem 0 4rem;       /* oben Platz für Navbar, unten etwas Luft */
}
/* ── Hero als Full-Cover + Text ganz links ── */
.hero {
  position: relative;
  background: url('assets/hero.jpg') center/cover no-repeat;
  min-height: 80vh;        /* Höhe, damit man viel vom Bild sieht */
  padding: 0;              /* kein Padding, Text greift direkt an den Rand */
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Nimm den Container-Limit für Hero-Grid weg */
header.hero .container.hero-grid {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Positioniere den Text absolut relativ zum Header */
.hero-text {
  position: absolute !important;
  left: 8rem !important;    /* hier beliebigen Wert einsetzen */
  bottom: 20rem !important;  /* wenn du auch vertikal noch justieren willst */
  margin: 0 !important;
  padding: 0 !important;
}

/* Schriftgrößen beibehalten oder noch feintunen */
.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
}
.hero-text p {
  font-size: 1.25rem;
}
.signature {
  margin-top: 1rem;
}
.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 */
}
.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 */
  
}
.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;
  }



  /* Hero Text Mobile Fix */
  .hero {
    min-height: 60vh; /* vorher z.B. 80vh – jetzt kompakter */
    background-position: center top; /* optional: Bild oben ausrichten */
    padding-top: 7rem; /* Platz für Navbar */
    padding-bottom: 3rem;
  }
  .hero-text {
    position: relative !important;
    margin-top: 10rem !important;
    padding: 0 1.5rem !important;
    left: auto !important;
    bottom: auto !important;
    text-align: center !important;
  }

  .hero-text h1 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .hero-text p {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .hero-text .signature {
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }

  .agency {
    padding-bottom: 1rem !important;
  }

  .solution {
    margin-top: 3rem !important;
  }

}

/* 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: 1024px) {
  html, body {
    overflow-x: hidden;
  }

  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    background-position: center top;
    min-height: auto;
  }

  .hero-grid {
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    gap: 1.5rem;
  }

  .hero-text {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    text-align: center !important;
    max-width: 600px;
    z-index: 2;
  }

  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 1.1rem;
    margin-top: 0.5rem;
  }

  .signature {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .navbar {
    width: 100%;
    min-width: unset;
    height: auto;
    padding: 1rem 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
  }

  .btn-contact {
    font-size: 1rem;
    padding: 0.4rem 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;
    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;
    align-items: center;
    margin-right: 1rem;
  }

  .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;
  }

  .hero {
    min-height: 75vh;
    padding-top: 7rem;
    padding-bottom: 3rem;
    background-position: center top;
  }

  .hero-grid {
  display: flex;               /* ← HINZUFÜGEN */
  flex-direction: column;
  align-items: center;
  justify-content: center;     /* ← HINZUFÜGEN */
  gap: 1.5rem;
  padding: 0 1.5rem;
}

  .hero-text {
    position: relative !important;
    text-align: center !important;
    padding: 0 2rem !important;
    margin: 0 auto !important;
    max-width: 700px;
    left: auto !important;
    bottom: auto !important;
    z-index: 2;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }

  .signature {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .card {
    flex: 1 1 300px;
  }

   /* CORPORATE & AGENCY OPTIMIERUNG */
  .corporate-grid,
  .agency-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: nowrap;
  }

  .corp-text,
  .agency-text {
    flex: 1 1 55%;
    font-size: 1rem;
  }

  .corp-image,
  .agency-image {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
  }

  .corp-image img,
  .agency-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
  }

  .corporate,
  .agency {
    padding: 2rem 2rem;
  }

  .agency-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
  }

  .agency-buttons a {
    flex: 1 1 auto;
    text-align: center;
  }
}
@media (min-width: 1280px) {
  .hero-text {
    margin-top: 15rem;
    position: relative;
    z-index: 2;
  }

  .hero {
    min-height: 100vh;
    padding-top: 0 !important;
    padding-bottom: 3rem;
    display: block;
  }

  .hero-grid {
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
  }
}


























