/* === Reset & Base === */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a2333;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --navy: #0f2540;
  --navy-dark: #081728;
  --navy-light: #1a3a5c;
  --gold: #c9a961;
  --gold-light: #d4b876;
  --gold-dark: #ad8e48;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f8;
  --gray-200: #dde4ee;
  --gray-400: #8a96a8;
  --gray-600: #4a5568;
  --gray-800: #1a2333;
  --shadow-sm: 0 1px 3px rgba(15,37,64,.06), 0 1px 2px rgba(15,37,64,.04);
  --shadow-md: 0 4px 12px rgba(15,37,64,.08), 0 2px 4px rgba(15,37,64,.04);
  --shadow-lg: 0 20px 40px rgba(15,37,64,.12), 0 8px 16px rgba(15,37,64,.06);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

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

/* === Typography === */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); letter-spacing: -.02em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .75rem; }
h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--navy); }
p { margin-bottom: 1rem; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: .8125rem;
  letter-spacing: .15em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}
.lead { font-size: 1.125rem; color: var(--gray-600); }
.accent { color: var(--gold); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-large { padding: 1.125rem 2.25rem; font-size: 1.0625rem; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: 1.0625rem;
  color: var(--navy);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  border-radius: 6px;
  font-size: 1.125rem;
}
.logo-text strong { font-weight: 700; }
.main-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}
.main-nav a {
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s;
}
.main-nav a:hover::after { transform: scaleX(1); }
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}
.btn-phone:hover { background: var(--navy-light); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, #f7f9fc 0%, #eef2f8 100%);
  padding: 5rem 0 6rem;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,97,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content .lead { margin-bottom: 2rem; max-width: 540px; }
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: .9375rem;
  color: var(--gray-600);
  font-weight: 500;
}
.trust-bar li { display: flex; align-items: center; gap: .375rem; }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  transform: rotate(2deg);
  transition: var(--transition);
}
.hero-card:hover { transform: rotate(0); }
.hero-card-header {
  background: var(--navy);
  padding: 1rem 1.25rem;
  display: flex;
  gap: .5rem;
}
.hero-card-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.hero-card-header .dot:nth-child(1) { background: #ff5f57; }
.hero-card-header .dot:nth-child(2) { background: #ffbd2e; }
.hero-card-header .dot:nth-child(3) { background: #28c940; }
.hero-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.case-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.case-tag { font-weight: 600; color: var(--navy); font-size: .9375rem; }
.case-status {
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .625rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.status-active { background: #fef3c7; color: #92400e; }
.status-won { background: #d1fae5; color: #065f46; }
.status-review { background: #dbeafe; color: #1e40af; }

/* === Sections === */
section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-sub { font-size: 1.0625rem; color: var(--gray-600); }

/* === Services === */
.services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--navy); }
.service-card p { color: var(--gray-600); margin-bottom: 1.25rem; }
.card-link {
  font-weight: 600;
  color: var(--gold-dark);
  transition: var(--transition);
}
.card-link:hover { color: var(--navy); }

/* === Why Us === */
.why-us { background: var(--gray-50); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.why-item {
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.why-number {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .75rem;
  font-variant-numeric: tabular-nums;
}

/* === Stats === */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: .5rem;
}
.stat-label {
  font-size: .9375rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* === Process === */
.process { background: #fff; }
.process-steps {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.process-step {
  flex: 1;
  min-width: 240px;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
}
.process-step:has(.process-arrow) {
  flex: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-width: auto;
}
.process-arrow {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* === CTA Banner === */
.cta-banner {
  background: var(--navy);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,169,97,.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201,169,97,.08) 0%, transparent 50%);
  color: #fff;
  padding: 4rem 0;
}
.cta-content { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-content h2 { color: #fff; margin-bottom: 1rem; }
.cta-content p { font-size: 1.125rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; }

/* === Contact === */
.contact { background: var(--gray-50); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { padding: 1rem 1.25rem; background: #fff; border-radius: var(--radius); border-left: 3px solid var(--gold); }
.contact-list strong { color: var(--navy); margin-right: .5rem; }
.contact-list a { color: var(--gray-800); transition: var(--transition); }
.contact-list a:hover { color: var(--gold-dark); }

.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form label {
  display: block;
  margin-bottom: 1.25rem;
}
.contact-form label > span {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: .375rem;
  color: var(--navy);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.checkbox { display: flex !important; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--gray-600); }
.checkbox input { width: auto !important; margin-top: 3px; }
.checkbox a { color: var(--gold-dark); text-decoration: underline; }
.form-note { font-size: .8125rem; color: var(--gray-400); text-align: center; margin-top: 1rem; margin-bottom: 0; }

/* === Footer === */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
  font-size: .9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-grid h4 { color: #fff; margin-bottom: 1.25rem; font-size: .9375rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid ul { display: flex; flex-direction: column; gap: .625rem; }
.footer-grid a { transition: var(--transition); }
.footer-grid a:hover { color: var(--gold); }
.logo-footer { margin-bottom: 1rem; }
.logo-footer .logo-text { color: #fff; }
.footer-tagline { color: rgba(255,255,255,.6); }
.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
}

/* === Page Hero (Unterseiten) === */
.page-hero {
  background: linear-gradient(135deg, #f7f9fc 0%, #eef2f8 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,169,97,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero .lead { max-width: 720px; margin: 1rem auto 0; }

.container-narrow { max-width: 800px; }

/* === Legal Areas (Rechtsgebiete page) === */
.legal-areas { padding: 5rem 0; }
.legal-area {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}
.legal-area:last-child { border-bottom: none; }
.legal-area-reverse .legal-area-num { color: var(--gold); }
.legal-area-num {
  font-size: 4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.legal-area h2 { margin-bottom: 1rem; }
.legal-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 2rem;
  margin: 1.5rem 0 2rem;
}
.legal-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--gray-600);
}
.legal-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

/* === About === */
.about-content { padding: 5rem 0; background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-grid p { color: var(--gray-600); margin-bottom: 1.25rem; }
.about-card {
  background: var(--gray-50);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
}
.about-card h3 { color: var(--navy); margin-bottom: 1.5rem; }
.principles { display: flex; flex-direction: column; gap: 1rem; }
.principles li { color: var(--gray-600); }
.principles strong { color: var(--navy); display: inline-block; min-width: 110px; }

/* === Legal text pages === */
.legal-text { padding: 4rem 0 5rem; }
.legal-text h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--navy);
}
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 .5rem;
  color: var(--navy);
}
.legal-text p { color: var(--gray-600); margin-bottom: 1rem; }
.legal-text a { color: var(--gold-dark); text-decoration: underline; }
.legal-text a:hover { color: var(--navy); }
.legal-text ul.legal-list {
  display: block;
  margin: 1rem 0 1.5rem;
}
.legal-text ul.legal-list li { margin-bottom: .5rem; }
.legal-note {
  margin-top: 3rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  font-size: .9375rem;
}

/* === Responsive === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 360px; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .legal-area { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
  .legal-area-num { font-size: 2.5rem; }
  .legal-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .page-hero { padding: 2.5rem 0 2rem; }
  .main-nav, .btn-phone .phone-text { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 1.5rem 24px;
    border-bottom: 1px solid var(--gray-100);
    gap: 1.25rem;
    margin: 0;
    box-shadow: var(--shadow-md);
  }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-step:has(.process-arrow) { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* === Animations === */
@media (prefers-reduced-motion: no-preference) {
  .service-card, .why-item, .process-step, .stat {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .6s ease forwards;
  }
  .service-card:nth-child(1) { animation-delay: .05s; }
  .service-card:nth-child(2) { animation-delay: .1s; }
  .service-card:nth-child(3) { animation-delay: .15s; }
  .service-card:nth-child(4) { animation-delay: .2s; }
  .service-card:nth-child(5) { animation-delay: .25s; }
  .service-card:nth-child(6) { animation-delay: .3s; }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
