/* =========================
   HERO SECTION
========================= */

.hero {
    position: relative;
    min-height: 70vh;
    background: url('/img/rechtsanwalt-weichel.webp') no-repeat right center / cover;
    overflow:hidden;
}
 
.hero .container {
    height: 100%;
    display: flex;
    align-items: center;
    padding-right: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(15, 23, 42, 0.75) 0%,
            rgba(15, 23, 42, 0.6) 35%,
            rgba(15, 23, 42, 0.2) 65%,
            rgba(15, 23, 42, 0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    text-align: left;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(28px, 5vw, 38px);
    line-height: 1.10;
    padding-top:30px;
    margin-bottom: 3px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-direction: column;
    margin: 20px 0 25px;
    max-width: 200px;
    padding-left: 8px;
}

.hero-badges span {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.hero-badges span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.hero-badges span:hover {
  color: #fff;
}

.hero-badges span:hover::after {
  width: 0;
}

.hero-badges svg {
    width: 18px;
    height: 18px;
}

.hero-usp {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-top: 10px;
}

.mobile-break {
    display: none;
}

/* =========================
   HERO RESPONSIVE
========================= */

/* Mobile */
@media (max-width: 767px) {
    .hero {
        background-position: 85% center;
    }
    .hero .container {
        align-items: flex-start;
        padding-top: 0;
    }
   .section-trust {
    padding: 35px 0;
  }
    .hero-usp {
        margin-top: 40px;
    }
}

/* Tablet */
@media (min-width: 768px) {
 
}

/* Desktop */
@media (min-width: 1024px) {
 
    .hero {
        background-size: 110%;
    }
}

/* Landscape Sonderfall */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        height: auto;
        padding: 50px 0;
    }
    .hero-content {
        margin-top: 0;
    }
}


/* =========================
   TRUST SECTION
========================= */

.section-trust {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f7f9fc 100%
  );
  padding: 60px 0;
}

.trust-layout {
  display: grid;
  gap: 60px;
}

.trust-big h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.trust-row {
  position: relative;
  padding: 18px 20px 18px 32px;
  border-radius: 10px;

  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.trust-row span {
  font-size: 17px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  letter-spacing: 1.3px;
}

.trust-row p {
  font-size: 16px;
}

.trust-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* =========================
   TRUST RESPONSIVE
========================= */

/* Desktop */
@media (min-width: 1024px) {
  .trust-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* =========================
   RECHTSGEBIETE SECTION
========================= */

.section-areas {
  background: #fff;
  padding: 60px 0;
}

.areas-head {
  max-width: 900px;
  margin-bottom: 60px;
}

.areas-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  margin-bottom: 15px;
  margin-top: 0;
  color: #222c3a;
}

.areas-head p {
  font-size: 18px;
  color: rgba(0,0,0,0.6);
  line-height: 1.3;
  padding-bottom: 13px;
}

.areas-grid {
  display: grid;
  gap: 30px;
}

.area-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;

  background: #fff;
  border-radius: 12px;
  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.area-image {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.6s ease;
}

.area-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.0) 40%,
    rgba(15, 23, 42, 0.4) 100%
  );
}

.area-card:hover .area-image {
  transform: scale(1.05);
}

.area-content {
  padding: 25px;
}
.area-content::after {
  content: "";
  display: block;
  clear: both;
}


.area-content span {
  display: inline-block;
  background: #29394a;
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}


.area-content h3 {
  font-size: 20px;
  margin: 10px 0 15px;
  line-height: 1.2;
  font-weight: 525;
}

.area-content ul {
  list-style: none;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.area-content li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 5px;
  font-size: 15px;
}

.area-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.area-link {
   
  margin-top: 1px;
  float: right;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.area-card:hover .area-link {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* =========================
   RECHTSGEBIETE RESPONSIVE
========================= */

@media (min-width: 768px) {
  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-areas {
    padding: 60px 0;
  }

  .areas-head {
    margin-bottom: 25px;
  }

  
}

@media (min-width: 1024px) {
  .areas-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 767px) {
      .section-areas {
    padding: 40px 0;
  }
    .areas-head {
    margin-bottom: 2px;
  }

}

/* =========================
   MOBILE: CENTER ALIGN FIX
========================= */

@media (max-width: 767px) {

  .trust-big h2 {
    text-align: center;
  }

  .areas-head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 435px) {
  .mobile-break {
    display: inline;
  }
}

@media (max-width: 450px) {
  .hero {
    background-position: 75% center;
  }
}