/* =========================
   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(26px, 5vw, 38px);
    line-height: 1.10;
    padding-top:30px;
    margin-bottom: 0px;
}

.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 a {
  color: inherit;              /* übernimmt weiß */
  text-decoration: none;       /* kein Unterstrich */
  font-weight: 500;            /* optional, passt zu Badge */
}

.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-buttons {
  display: flex;
  flex-direction: column;  
  gap: 12px;
  margin-top: 0px;
  align-items: flex-start;
}

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

/* Mobile */
@media (max-width: 767px) {
    .hero {
        background-position: 85% center;
    }
    .hero .container {
        align-items: flex-start;
        padding-top: 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, 42px);
  line-height: 1.2;
  margin-bottom: 15px;
  margin-top: 0;
}

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

.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 span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(0,0,0,0.55);
  display: inline-block;
  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 {
  font-weight: 600;
  color: var(--accent);
  font-size: 15px;
  text-align: right;
  letter-spacing: 0.2px;
}

/* =========================
   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;
  }
}

/* =========================
   KONTAKT SECTION
========================= */

.contact-main {
  position: relative;
  z-index: 0;
  background: linear-gradient(
  135deg,
  #ffffff 0%,
  #edf2f8 40%,
  #dfe7f1 100%
);
  overflow: hidden;
}

.contact-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255,255,255,0.35),
    transparent 60%
  );
  pointer-events: none;
  z-index: -1;
}

/* GRID */

.contact-grid {
  display: grid;
  gap: 50px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

/* =========================
   LEFT SIDE
========================= */

.contact-left h2 {
  font-size: clamp(30px, 4vw, 40px);
  margin-bottom: -2px;
  color: #293a4b;
}

.contact-lead {
  font-size: 18px;
  color: rgba(0,0,0,0.65);
  margin-bottom: 30px;
}

.contact-info {
  margin-top: 30px;
}

.contact-info p {
  margin-bottom: 20px;
  line-height: 1.5;
}

.contact-info strong {
  display: block;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 4px;
}

/* Links (ruhig & seriös) */
.contact-info a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.contact-info a:hover {
  opacity: 0.7;
}

/* MAP */

.contact-map {
  position: relative;
  margin-top: 50px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.contact-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.contact-map-title {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: -30px;
  padding-top: 40px;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.map-cta {
  position: absolute;
  bottom: 16px;
  right: 16px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;

  font-size: 14px;
  font-weight: 500;

  border-radius: 6px;

  background: rgba(255,255,255,0.95);
  color: var(--dark);
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0,0,0,0.15);

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

.map-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.map-cta i {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* =========================
   FORM CARD (RIGHT SIDE)
========================= */

.contact-form {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);

  position: relative;
}

/* dezenter Glow (reduziert!) */
.contact-form::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,122,0,0.12), transparent 70%);
  filter: blur(25px);
  pointer-events: none;
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 0;
  color: #293a4b;
}

.form-intro {
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  margin-bottom: 35px;
}

.contact-heading {
  display: flex;
  align-items: center;   /* 🔥 sorgt für perfekte Vertikale */
  gap: 10px;
}

.contact-heading i {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

/* =========================
   FORM ELEMENTS
========================= */

.form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #f9fafb;

  font-size: 14px;
  font-family: inherit;

  transition: border 0.2s ease, background 0.2s ease;
}

/* Fokus = kontrolliert, nicht verspielt */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: none;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
  margin-bottom: 15px;
}

/* Checkbox */

/* ===== CUSTOM CHECKBOX ===== */

.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 14px;
  line-height: 1.4;

  cursor: pointer;
  margin-bottom: 22px;
}

/* native checkbox verstecken */
.checkbox input {
  display: none;
}

/* sichtbare box */
.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(0,0,0,0.3);
  background: #fff;
  position: relative;
  flex-shrink: 0;
  margin-top: 0;

  transition: all 0.2s ease;
}

/* hover */
.checkbox:hover .checkmark {
  border-color: var(--accent);
}

/* checked */
.checkbox input:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

/* check icon */
.checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  top: 3px;
  left: 7px;
}

/* text */
.checkbox-text {
  color: rgba(0,0,0,0.8);
}

/* link */
.checkbox a {
  color: var(--dark);
  text-decoration: underline;
}

.checkbox a:hover {
  opacity: 0.7;
}

 

.input-error {
  border-color: #dc2626 !important;
  background: #fff8e1;  
}

.input-success {
  border-color: #16a34a !important;
}

/* =========================
   CONTACT BUTTON
========================= */

.contact-submit {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.contact-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-submit i {
  width: 16px;
  height: 16px;
}

 

/* =========================
   CONTACT ITEMS (MIT ICONS)
========================= */

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.contact-item:hover {
  transform: translateX(6px);
  opacity: 0.85;
}

/* letzte Linie entfernen */
.contact-item:last-child {
  border-bottom: none;
}

/* ICON */

.contact-item i {
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* TEXTBLOCK */

.contact-item div {
  display: flex;
  flex-direction: column;
}

/* LABEL */

.contact-label {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 1px;
}

/* CONTENT */

.contact-item p {
  margin: 0;
  line-height: 1.5;
  font-size: 16px;
}

/* LINKS (dezent!) */

.contact-item a {
  color: var(--dark);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-item a:hover {
  opacity: 0.7;
}

/* Telefonnummer minimal hervorheben */

.contact-item a[href^="tel"] {
  font-weight: 600;
}


/* BUTTON */
.button.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}

.button.secondary:hover {
  background: rgba(255,255,255,0.1);
}

#kontaktformular {
  scroll-margin-top: 150px;
}



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