/* =========================
   0. BASIC SETTINGS
========================= */
* {
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', Arial, sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

main {
  flex: 1;
  margin-top:100px;
}

.highlight-dot {
  color: var(--dark);
}

/* =========================
   1. RESET / BASE
========================= */

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

/* =========================
   2. VARIABLES
========================= */

:root {
  --primary: #2b5f9e;
  --accent: #ff7a00;
  --text: #1a1a1a;
  --bg: #ffffff;
  --light: #f7f9fc;
  --dark: #1f2937;
}

/* =========================
   3. LAYOUT
========================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

/* =========================
   4. TYPOGRAPHY
========================= */

h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

p {
  margin-bottom: 16px;
}

/* =========================
   5. COMPONENTS (placeholder)
========================= */

.header {}
.footer {}
.button {}

/* =================================
   6. STICKY MENU RIGHT (CALL-MAIL)
================================= */

.sticky-contact {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.sticky-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sticky-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.22);
}
.sticky-btn i {
  width: 20px;
  height: 20px;
}
.sticky-btn:hover i {
  transform: scale(1.1);
}
.sticky-btn.secondary {
  background: #ffffff;
  color: var(--dark);
}

/* =========================
   HEADER
========================= */

.header {
  background: linear-gradient(180deg,
      #1f2937 0%,
      #18202b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding-top: 8px;
}

/* Logo */
.logo a {
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  color: var(--primary);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 70px;
  width: auto;
  height: auto;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--light);
  display: block;
}

.burger:hover span {
  opacity: 0.8;
}

/* Navigation */
.nav {
  display: none;
  gap: 30px;
}

.nav a {
  font-family: 'Inter', Arial, sans-serif;
  position: relative;
  text-decoration: none;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* CTA */

.button {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease;
}

.button:hover {
  background-color: #e66900;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100%;
  background: #1f2937;
  z-index: 1100;
  transition: right 0.3s ease;
  border-left: 15px solid rgba(255, 255, 255, 0.08);
  box-shadow: -10px 0 30px rgba(0,0,0,0.25);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-inner {
  padding: 30px 25px 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Mobile-Navigation */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 10px;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.mobile-nav a.active {
  color: #fff;
  font-weight: 600;
  position: relative;
}

.mobile-nav a.active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.mobile-nav a:first-child {
  font-weight: 600;
  color: #ffffff;
}

/* Mobile-Nav: Zusatzbereich */

.mobile-extra {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-extra a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  text-decoration: none;
}
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-header img {
  max-height: 50px;
}

/* Overlay Menu colapse */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1050;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

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

.footer {
  background: linear-gradient(
    180deg,
    #1f2937 0%,
    #18202b 100%
  );

  color: #ffffff;
  margin-top: auto;
  line-height: 1.0;
  position: relative;
  overflow: hidden;
}

.footer-inner {
  display: grid;
  gap: 40px;
  padding: 60px 0;
}

/* Logo */
.footer-logo {
  max-height: 50px;
  margin-bottom: 20px;
}

/* Text */
.footer p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}

.footer h4 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.0px;
}

/* Links */
.footer a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
}
.footer a:hover {
  opacity: 1;
}
.footer .container {
  padding-left: 30px;
  padding-right: 30px;
}
.footer::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.footer iframe {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.footer-col strong {
  color: #fff;
  font-weight: 600;
}

.footer-col {
  position: relative;
  padding-right: 30px;
}

/* Trennlinie zwischen Spalten */
.footer-inner > .footer-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background-color: #283848;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 1023px) {

  /* vertikale Linien deaktivieren */
  .footer-inner > .footer-col::after {
    display: none;
  }
}

.close-menu {
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.close-menu span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

.close-menu span:first-child {
  transform: rotate(45deg);
}

.close-menu span:last-child {
  transform: rotate(-45deg);
}

/* Button */
.call-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  min-width: 203px;
  justify-content: center;
}

.call-button svg {
  width: 18px;
  height: 18px;
}

.call-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);
  transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  50% {
    left: 130%;
  }

  100% {
    left: 130%;
  }
}

.call-button:hover::after {
  left: 130%;
  transition: left 0.6s ease;
}

/* =========================
   MEDIA QUERIES
========================= */

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

  h1 {
    font-size: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .section {
    padding: 80px 0;
  }

  .nav {
    display: flex;
  }

  .burger {
    display: none;
  }

  .footer-inner {
        grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  }
}

/* =========================
   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-main {
  display: block;
  font-size: 1.1em;
  font-weight: 600;
}

.hero-sub {
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  opacity: 1.0;
  margin-top: 6px;
  line-height: 1.25;
}

.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.05;
    padding-top:30px;
      text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

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

.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 .hero-usp {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 25px;
    padding-top: 10px;
}

.mobile-break {
    display: none;
}
 
.hero-badges a {
  color: inherit;               
  text-decoration: none !important;        
  font-weight: 500;
  color: #ffffff !important;
}
 
.hero-badges a:hover {
  opacity: 0.75;
}
.hero-badges a:visited {
  color: #ffffff !important;
}
.hero-badges a:active {
  opacity: 0.6;
}

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

/* =========================
   CTA SOFT SECTION (CLEAN)
========================= */

.section-soft-cta {
  padding: 45px 20px;
  /*background: linear-gradient(135deg, #2a3645, #4a5a6b);*/
  background: linear-gradient(135deg, #1f2a38, #2c3e50);
  text-align: center;
  position: relative;
}

/* Container ruhig halten */
.section-soft-cta .container {
  max-width: 600px;
  margin: 0 auto;

  padding: 25px 20px;
  border-radius: 8px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Linie oben minimal */
.section-soft-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* Glow stark reduziert */
.section-soft-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* Text an dunklen BG anpassen */
.soft-cta-headline {
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.soft-cta-subline {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

/* Button wieder ruhiger */
.section-soft-cta .call-button {
  margin-top: 10px;
  transform: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-soft-cta .call-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
}

/* =========================
   CTA RESPONSIVE
========================= */

@media (max-width: 767px) {
  .section-soft-cta {
    padding: 30px 20px;
  }
  .soft-cta-headline {
    font-size: 20px;
  }
  
}

/* =========================
   SECTION: ABOUT 
========================= */

.section-about-premium {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
  background: url('/img/rechtsanwalt-weichel_cover_lp.webp') no-repeat;
  background-position: calc(100% - 250px) bottom;
  background-size: auto 70%;
  background-color: #eef2f7;
  box-shadow: 0 -20px 40px rgba(0,0,0,0.03);
}

.section-about-premium::before {
  display: none !important;
}
 
.about-inner {
  position: relative;
  z-index: 2;
}

.about-text h2 {
  position: relative;
  display: inline-block;
  font-size: clamp(34px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  padding-bottom: 8px;
  font-weight: 600;
}

.about-text h2::before {
display: none;
}

.about-intro {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  color: rgba(0,0,0.75);
}
 
.about-text{
  max-width: 680px;
  line-height: 1.65;
}

.about-points {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 10px;
}

.about-points li {
 display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.about-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.about-list-intro {
  margin-top: 20px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}

.about-signature {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 15px;
  padding-right: 10px;
}

.about-signature img {
  max-width: 180px;
  width: 100%;
  height: auto;
  opacity: 0.85;
}

.signature-role {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  white-space: nowrap;
}

/* =========================
   ABOUT RESPONSIVE 
========================= */

/* BG bei 1024px ausblenden */
@media (max-width: 1024px) {
  .section-about-premium {
    background-image: none;
  }
}

@media (max-width: 767px) {
    .section-about-premium {
        padding: 40px 0;
        background-image: none;
        padding-left: 20px;
        padding-right: 20px;
    }
    .about-text p {
        margin-bottom: 14px;
    }
    .about-list-intro {
        margin-top: 15px;
    }
    .about-points {
        gap: 8px;
    }
    .about-signature {
        margin-top: 8px;
    }
}

/* =========================
  SECTION: CTA Dark / Strong
========================= */

.section-cta {
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
  background: linear-gradient(135deg, #1f2a38, #2c3e50);
  color: #ffffff;
  text-align: center;
}

.section-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.13) 0%, transparent 70%);
  pointer-events: none;
}

.cta-headline {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.cta-subline {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.75);
}

.section-cta .call-button {
  transform: scale(1.09);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.cta-note {
  margin-top: 28px;
  font-size: 18px;
  color: rgba(255,255,255,0.95);
}

/* =========================
   MOBILE (CLEAN)
========================= */

@media (max-width: 767px) {

  /* Layout */
  .burger { display: flex; }
  .nav { display: none; }
 
  .call-button{
    margin-top: 12px;
  }

  /* SECTIONS */
  .section {
    padding: 35px 0;
  }
  .sticky-contact{
    display: none;
  }
}

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