
/* Allgemein */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #e7effc;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 0.75rem;
  object-fit: cover;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Header / Navigation */

.header {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  padding: 0.5rem 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
  color: black;
  letter-spacing: 1px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-list a {
  color: black;
  text-decoration: none;
  font-weight: 550;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.nav-list a:hover,
.nav-list a:focus {
  background-color: #badcff;
  outline: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
  padding-right: 1.5rem;
}

.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  display: block;
  background-color: black;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle .hamburger::before {
  top: -8px;
}

.nav-toggle .hamburger::after {
  top: 8px;
}

.nav-toggle.active .hamburger {
  background-color: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ===== Mobile Nav (Off-Canvas rechts) ===== */
@media (max-width: 1070px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;           /* Start: komplett draußen */
    height: 100%;
    width: 260px;           /* Breite der Sidebar */
    flex-direction: column;
    align-items: flex-start;
    background-color: #004d99;
    padding: 4rem 2rem;
    gap: 1.2rem;
    border-top-left-radius: 1rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    z-index: 999;
    align-items: center;
  }

  .nav-list.open {
    right: 0;               /* reinfahren */
  }

  .nav-list a {
    color: #fff;
    font-size: 1rem;
    font-weight: 650;
    width: 100%;
    padding: 0.75rem 0;
  }

  /* Nur normale Menülinks im Offcanvas, nicht .btn */
.nav-list a:not(.btn) {
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  background: transparent;
  font-weight: 100;
}

  .nav-toggle {
    display: block;
    z-index: 1001; /* über der Sidebar */
  }
}


.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 545;
  font-size: 2rem;
  color: black;
}

.logo-icon {
  max-height: 50px;
  width: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  margin-right: 25px;
}

/* Buttons */

.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding: 0.6rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #009C8F, #006D9C);
  color: white;
  box-shadow: 0 6px 15px rgba(63, 95, 128, 0.35);
  border: none; /* optional, für sauberen Look */
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #005dbb;
  box-shadow: 0 8px 20px rgba(0, 93, 187, 0.6);
  outline: none;
}

.btn-lg {
  font-size: 1.2rem;
  padding: 0.75rem 2.5rem;
}

.nav-list .btn.btn-primary {
  color: white;
}

/* Hero */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 1.5rem;
  background-color: #fff; /* weiße Box */
  border-radius: 1rem;    /* abgerundete Ecken */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* Schatten */
  animation: fadeInUp 1s ease forwards;
  margin-top: 4rem;
  box-sizing: border-box;                   /* Padding zählt zur Breite */
  width: min(1400px, 100% - 2rem);          /* max 1200px, sonst 1.5rem Rand je Seite */
  margin-inline: auto;                      /* zentrieren */
  padding-inline: clamp(1.5rem, 3vw, 2rem);
}

.hero-content {
  flex: 1 1 50%;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0rem;
  margin-top: -1.5rem;
  color: #004d99;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #555;
}

.hero-image {
  flex: 1 1 50%;
  max-height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 140, 255, 0.2);
}

/* Features */

.features h2,
.screenshots h2,
.testimonials h2,
.faq h2,
.partners h2,
.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #004d99;
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 77, 153, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;       /* horizontal */
}

.feature-card:hover,
.feature-card:focus {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(26, 140, 255, 0.25);
  outline: none;
}

.feature-icon {
  width: auto;
  height: 48px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
}

.feature-card h3 {
  min-height: 3rem;             /* alle Überschriften gleich hoch */
  display: flex;
  align-items: center;
  margin-bottom: 0.1rem;
  margin-top: 0rem;
}

.feature-card p {
  flex-grow: 1;                 /* Text füllt den Rest, gleiche Startlinie */
}

/* Screenshots */

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: center;     /* Vertikal zentrieren */
  justify-items: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.screenshots-grid img {
  cursor: pointer;
  transition: transform 0.3s ease;
  max-height: 500px;
  border-radius: 0%;
  border-style: solid;
}

.screenshots-grid img:hover,
.screenshots-grid img:focus {
  transform: scale(1.05);
  outline: none;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* Pfeile */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0,0,0,0.6);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
/* Pfeile nur auf größeren Bildschirmen anzeigen */

.lightbox-prev,
.lightbox-next {
  display: none; /* Standard: ausgeblendet */
}

@media (min-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    display: block;
  }
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonials-grid blockquote {
  background: white;
  border-left: 6px solid #009C8F;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 77, 153, 0.1);
  font-style: italic;
  color: #444;
  cursor: default;
  transition: box-shadow 0.3s ease;
}

.testimonials-grid blockquote:hover,
.testimonials-grid blockquote:focus {
  box-shadow: 0 20px 50px rgba(26, 140, 255, 0.3);
  outline: none;
}

.testimonials-grid footer {
  margin-top: 1rem;
  font-weight: 600;
  color: #009C8F;
  font-style: normal;
}

/* FAQ */

.faq dl {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 77, 153, 0.1);
}

.faq dt,
.faq dd {
  background: white;
  padding: 1rem 1.5rem; /* oben/unten 1rem, links/rechts 1.5rem */
  border-bottom: 1px solid #eee;
  cursor: pointer;
  user-select: none;
  margin: 0; /* Default-Einzug weg */
}
.faq dt {
  font-weight: 500;
  position: relative;
  color: #004d99;
  padding-right: 3.5rem;
}

.faq dt::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq dt.active::after {
  content: '−';
}

.faq dd {
  display: none;
  color: #555;
  line-height: 1.4;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.faq-toggle {
  display: block;
  margin: 1.5rem auto 0;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #004d99;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-toggle:hover {
  background-color: #1a8cff;
}

/* Partners */

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.partners-logos img {
  max-height: 90px;
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.partners-logos img:hover,
.partners-logos img:focus {
  filter: grayscale(0%);
  transform: scale(1.1);
  outline: none;
}


.contact-wrapper {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertikal */
}

/* Info-Box */
.contact-info-box {
  flex: 1 1 40%;
  background: linear-gradient(135deg, rgba(255,255,255,0.95));
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0, 77, 153, 0.08);
  border: 1px solid rgba(0,93,187,0.1);
  backdrop-filter: blur(4px);
  max-width: 800px;
}

.contact-info-box h3 {
  margin-top: 0;
  color: #004d99;
}

.contact-info-box p {
  color: #555;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.contact-list li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}

.contact-list a {
  color: #004d99;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.revier-hinweis {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(209, 208, 208, 0.6);
  border-left: 4px solid #009C8F;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #444;
}

/* Formular passt sich an neues Layout an */
.contact-form {
  flex: 1 1 55%;
  max-width: none;
  margin: 0;
}

/* Mobile: Info-Box oben, Formular darunter */
@media (max-width: 768px) {

  .contact-info-box {
    order: -1;
  }
}


/* Footer */

.footer {
  background: #2e2e2e;
  color: white;
  padding: 1rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #009C8F;
  outline: none;
}

/* Animation */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 768px) {

  .logo {
  font-size: 1.3rem;
  justify-content: center;
  align-items: center;
  padding-left: 1.5rem;
}

.logo-icon {
  width: 100%;
  height: 40px;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.hero-content h1 {
  font-size: 2rem;
  margin-top: -3rem;
}

.hero-content p {
  font-size: 1rem;
}

  .hero {
    flex-direction: column-reverse;
    text-align: center;
    margin-top: 2rem;
  }

  .hero-image {
    max-height: 250px;
    margin-bottom: 2rem;
  }

  .btn {
  font-weight: 500;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.75rem 1.4rem;
}

  .nav-list {
    position: fixed;
    top: 60px;
    right: 0;
    background: #004d99;
    height: calc(100vh - 60px);
    width: 200px;
    flex-direction: column;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding-top: 1rem;
    z-index: 9999;
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .nav-list li {
    margin: 0;
  }

  .nav-list a {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-toggle {
    display: block;
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr); /* Immer 2 Spalten */
  }

  .features h2,
.screenshots h2,
.testimonials h2,
.faq h2,
.partners h2,
.contact h2 {
  font-size: 1.75rem;
}

.partners-logos img {
  max-height: 70px;
}

  .footer-content {
font-size: 0.75rem;
justify-content: center;
}
}
