/* ============================= */
/* RESET & BASE */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
}

/* ============================= */
/* LAYOUT */
/* ============================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

section {
  padding: 40px 0;
  scroll-margin-top: 80px;
}

/* ============================= */
/* HEADER / NAV */
/* ============================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    border-bottom: 1px solid #eee;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  height: 40px;
  display: block;
}

/* NAV LINKS */
nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

nav a {
  margin: 10px 0;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  position: relative;
}

/* NAV HOVER */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: orange;
  transition: 0.2s;
}

nav a:hover::after {
  width: 100%;
}

.nav-link.active {
  color: orange;
  font-weight: bold;
}

/* BURGER */
.menu-toggle {
  font-size: 22px;
  cursor: pointer;
}

/* ============================= */
/* HERO */
/* ============================= */
.hero {
  background: linear-gradient(to right, #fff 55%, #f5f5f5);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-text {
  max-width: 520px;
}

.hero-text h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 15px 0;
}

.hero-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.badge {
  color: orange;
  font-size: 12px;
  font-weight: bold;
}

/* HERO IMAGE + FADE */
.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  display: block;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    to right,
    white 0%,
    rgba(255,255,255,0.9) 30%,
    rgba(255,255,255,0.5) 60%,
    rgba(255,255,255,0) 100%
  );
}

/* ============================= */
/* BUTTONS */
/* ============================= */
.buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn.primary {
  background: orange;
  color: white;
}

.btn.primary:hover {
  background: #e66f00;
}

.btn.outline {
  border: 1px solid orange;
  color: orange;
}

.btn.outline:hover {
  background: orange;
  color: white;
}

/* ============================= */
/* SERVICES */
/* ============================= */
.services {
  text-align: center;
}

.section-label {
  color: orange;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.services h2 {
  font-size: 32px;
  line-height: 1.3;
  margin: 10px 0 40px;
}

.service h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-grid {
  display: grid;
  gap: 20px;
}

.service {
  padding: 25px;
}

.service p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.service:hover {
  background: #fafafa;
  transform: translateY(-5px);
}

.icon-custom {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-custom-img {
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#kontakt.contact .icon-custom {
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 48px;
  height: 48px;
  stroke: #ff6a00;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================= */
/* ABOUT */
/* ============================= */
.about {
  background: linear-gradient(to right, #fff 55%, #f5f5f5);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  display: block;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-text {
  max-width: 600px; /* mehr Luft */
}

.about-text h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 15px 0;
}

.about-text p {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;

  background: linear-gradient(
    to left,
    white 0%,
    rgba(255,255,255,0.9) 30%,
    rgba(255,255,255,0.5) 60%,
    rgba(255,255,255,0) 100%
  );

  pointer-events: none;
}

/* ============================= */
/* CONTACT */
/* ============================= */
.contact {
  background: linear-gradient(to right, #1a1a1a, #111);
  color: white;
}

.contact-grid {
  display: grid;
  gap: 20px;
}

.contact-grid div {
  text-align: center;
}

.contact-grid h4 {
  margin-top: 10px;
}

.contact-icon {
  width: 28px;
  height: 28px;
  color: orange;
  margin-bottom: 8px;
}

/* ============================= */
/* FOOTER */
/* ============================= */
.footer {
  text-align: center;
  padding: 15px;
  font-size: 12px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (min-width: 768px) {

  .menu-toggle {
    display: none;
  }

  nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    box-shadow: none;
    padding: 0;
  }

  nav a {
    margin-left: 25px;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-text,
  .hero-image {
    flex: 1;
  }

  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
      flex-direction: row;
      align-items: center;
      gap: 60px; /* mehr Abstand zwischen Bild & Text */
  }

  .about-image {
      flex: 1.2; /* Bild etwas größer */
   }

   .about-text {
      flex: 1;
   }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-image::before {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 30px;
  }
}

/* ============================= */
/* STICKY HEADER */
/* ============================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
}

/* ============================= */
/* LEGAL PAGE */
/* ============================= */
.legal {
  max-width: 800px;
}

.legal h1 {
  margin-bottom: 20px;
}

.legal h2 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

/* ============================= */
/* LINKS GLOBAL */
/* ============================= */
a {
  color: #1a1a1a; /* Standard Textfarbe */
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Hover Effekt */
a:hover {
  color: orange;
}

/* Fokus (Accessibility) */
a:focus {
  outline: none;
}

/* ============================= */
/* FOOTER LINKS */
/* ============================= */
.footer a {
  color: #777;
  font-size: 13px;
}

.footer a:hover {
  color: orange;
}

/* ============================= */
/* KONTAKT LINKS (Mail etc.) */
/* ============================= */
.contact a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.contact a:hover {
  color: orange;
  border-bottom: 1px solid orange;
}

/* ============================= */
/* PROBLEM SECTION */
/* ============================= */
.problem {
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.problem h2 {
  font-size: 32px;
  line-height: 1.3;
  margin: 10px 0 30px;
}

/* GRID statt Liste */
.problem-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 25px;
}

/* einzelne Punkte */
.problem-item {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: #555;
  line-height: 1.45;
}

/* Text darunter */
.problem-text {
  margin-bottom: 25px;
  color: #555;
  line-height: 1.6;
}

/* DESKTOP */
@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem h2 {
    font-size: 36px;
  }
}

/* ============================= */
/* BEISPIELE SECTION */
/* ============================= */
.case-studies {
  padding: 52px 0 64px;
}

.case-studies-inner {
  margin: 0 auto;
}

.case-studies .section-label {
  display: block;
  margin-bottom: 10px;
  color: #f59e0b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-studies h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #050505;
}

.case-studies-intro {
  max-width: 620px;
  margin: 0 0 28px;
  color: #667085;
  font-size: 15px;
  line-height: 1.75;
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.case-card {
  padding: 24px;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  background: #fcfcfc;
}

.case-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: #050505;
}

.case-card p {
  margin: 0 0 16px;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}

.case-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 9px;
  color: #111827;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.case-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #f59e0b;
}

.case-card li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .case-studies {
    padding: 44px 0 54px;
  }

  .case-cards {
    grid-template-columns: 1fr;
  }

  .case-studies h2 {
    font-size: 28px;
  }

  .case-card {
    padding: 22px;
  }
}

