:root {
  --dark: #07090c;
  --dark-soft: #0d1117;
  --text: #ffffff;
  --muted: #a1a1aa;
  --blue: #3b82f6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'General Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* HERO */
.hero {
  height: 220vh;
  position: relative;
}

.hero-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=7000&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.4);
  transition: transform 0.1s linear;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.85));
}

.hero-content {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}

/* LOGO */
.logo-gradient {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  background: linear-gradient(120deg, #e0f2ff, #60a5fa, #1e3a8a);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientMove 8s ease-in-out infinite;
  text-shadow: 0 0 25px rgba(59,130,246,0.25);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content p {
  margin-top: 16px;
  color: var(--muted);
}

.hero-content span {
  margin-top: 32px;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  opacity: 0.6;
}

.soft-divider {
  height: 240px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(245,247,251,0.6) 75%,
    #f5f7fb 100%
  );
}


/* SERVICE SECTION UNSERE DIENSTLEISTUNGEN */

.services-section {
  background: #f5f7fb;
  padding: 180px 8vw 200px;
}

.section-title {
  font-size: clamp(3.2rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 140px;
  font-weight: 700;
  color: #111;
  position: relative;
}

/* dezenter Akzent unter der Überschrift */
.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  display: block;
  margin: 24px auto 0;
  border-radius: 999px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
}

.service-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 56px 44px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.service-card h3 {
  font-size: 1.7rem;
  margin-bottom: 18px;
  color: #111;
}

.service-card p {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 45px 90px rgba(59,130,246,0.22);
}


/* ===============================
   FINALE / CTA
================================ */

.finale {
  background: linear-gradient(135deg, #eef3ff, #ffffff);
  padding: 160px 8vw;
  text-align: center;
}

.finale h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  color: #111;
}

.finale p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #444;
}

.finale-points {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.finale-points span {
  font-size: 1rem;
  color: #222;
}

.finale-btn {
  display: inline-block;
  padding: 18px 44px;
  background: #3b82f6;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.finale-btn:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

/* ===============================
   FOOTER
================================ */


.site-footer {
  background: #0d1117;
  color: #ccc;
  padding: 80px 8vw 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.site-footer p,
.site-footer a {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

.site-footer a:hover {
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* ===============================
   KONTAKTSEITE – SAUBER & MODERN
================================ */

.contact-wrapper {
  background: #f5f7fb;
  padding: 160px 6vw;
  display: flex;
  justify-content: center;
}

.contact-card {
  background: #ffffff;
  max-width: 820px;
  width: 100%;
  padding: 70px 60px;
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.contact-card h1 {
  font-size: 3rem;
  color: #111;
  margin-bottom: 14px;
  text-align: center;
}

.contact-intro {
  text-align: center;
  color: #555;
  margin-bottom: 60px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: #fff;
  width: 100%;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.ds-checkbox {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}

.ds-checkbox input {
  margin-right: 8px;
}

.contact-form button {
  align-self: center;
  padding: 18px 48px;
  border-radius: 999px;
  border: none;
  background: #3b82f6;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 50px 30px;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.85rem;
  color: #555;
}


/* ===============================
   RECHTLICHE SEITEN
================================ */

.legal {
  padding: 140px 8vw;
  max-width: 800px;
  margin: auto;
}

.legal h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.legal p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===============================
   MOBILE HERO
================================ */

@media (max-width: 768px) {
  .hero {
    height: 85vh;
  }

  .logo-gradient {
    font-size: 2.2rem;
    text-align: center;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.95rem;
    padding: 0 20px;
    text-align: center;
  }
}

/* ===============================
   MOBILE SERVICES
================================ */

@media (max-width: 768px) {
  .services-section {
    padding: 100px 6vw 120px;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    padding: 36px 30px;
  }
}

/* ===============================
   MOBILE BUTTONS
================================ */

@media (max-width: 768px) {
  .finale-btn,
  .contact-form button {
    width: 100%;
    max-width: 320px;
    padding: 18px;
    font-size: 1rem;
  }
}

/* ===============================
   MOBILE FORMULAR
================================ */

@media (max-width: 700px) {
  .contact-wrapper {
    padding: 120px 5vw;
  }

  .contact-card h1 {
    font-size: 2.2rem;
  }

  .contact-intro {
    font-size: 0.95rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 1rem;
  }
}

/* ===============================
   MOBILE FOOTER
================================ */

@media (max-width: 768px) {
  .footer-grid {
    gap: 30px;
    text-align: center;
  }
}

/* ===============================
   MOBILE: Services Überschrift fix
================================ */

@media (max-width: 768px) {
  .section-title {
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
}

/* ===============================
   MOBILE: Kontaktformular Fix
================================ */

@media (max-width: 700px) {
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .contact-form input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
  }
}

/* ===============================
   MOBILE: Hero sauber trennen
================================ */

@media (max-width: 768px) {
  .hero-subtitle,
  .hero-tagline,
  .hero-description {
    display: none;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    margin-bottom: 0;
    padding-bottom: 0;
    overflow: hidden;
  }
}
@media (max-width: 768px) {
  .services-section {
    margin-top: 0;
    padding-top: 60px;
    background: #f6f8fb;
    position: relative;
    z-index: 2;
  }

  .services-section h2 {
    text-align: center;
    margin-bottom: 32px;
  }
}

@media (max-width: 768px) {
  section:first-of-type {
    min-height: 85vh;
    height: auto;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 40px;
  }
}

@media (max-width: 768px) {

  /* Haupttitel sichtbar & zentriert */
  section:first-of-type h1 {
    display: block;
    text-align: center;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  /* Untertitel kleiner & dezenter */
  section:first-of-type .subtitle,
  section:first-of-type .tagline {
    display: block;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.85;
  }

  /* Lange Beschreibung ausblenden */
  section:first-of-type .description {
    display: none;
  }
}

@media (max-width: 768px) {
  section:nth-of-type(2) {
    padding-top: 60px;
    margin-top: 0;
    background: #f6f8fb;
  }
}


@media (max-width: 768px) {
  section:nth-of-type(2) {
    margin-top: 0;
    padding-top: 64px;
    background: #f6f8fb;
    position: relative;
    z-index: 10;
  }

  section:nth-of-type(2) h2 {
    text-align: center;
    margin-bottom: 32px;
  }
}
