/* ============================================================
   Rechtsanwälte Steinmann – styles.css
   Design: Modern & clean · Anthrazit + Weiß + Akzentblau
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --ink:        #1a2030;
  --mid:        #3c4760;
  --muted:      #6b7590;
  --silver:     #f0f3f8;
  --white:      #ffffff;
  --blue:       #1e3f6e;
  --blue-mid:   #2b5e9e;
  --blue-lt:    #4a80c4;
  --blue-pale:  #e5ecf8;
  --dark-bg:    #111827;
  --dark-mid:   #1e2a3a;
  --accent:     #c0392b;      /* subtle accent for stars / badges */

  --ff-head:    'Outfit', sans-serif;
  --ff-body:    'Inter', sans-serif;

  --radius:     10px;
  --radius-lg:  18px;
  --shadow:     0 4px 24px rgba(26,32,48,.10);
  --shadow-md:  0 8px 36px rgba(26,32,48,.14);
  --transition: .25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

/* --- Layout Helpers --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section-white   { background: var(--white); }
.section-tinted  { background: var(--silver); }
.section-dark    { background: var(--dark-bg); color: var(--white); }
.section-dark h2,
.section-dark h4 { color: var(--white); }
.section-dark .section-eyebrow { color: var(--blue-lt); }
.section-dark .section-intro { color: rgba(255,255,255,.65); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 10px;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-intro {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .9rem;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid var(--blue-lt);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.btn-ghost:hover { background: var(--blue-pale); }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(26,32,48,.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-name {
  font-family: var(--ff-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  leading-trim: both;
}
.logo-city {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .04em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--mid);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--blue); background: var(--blue-pale); }
.btn-header {
  flex-shrink: 0;
  background: var(--blue);
  color: var(--white);
  font-size: .83rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  transition: background var(--transition);
}
.btn-header:hover { background: var(--blue-mid); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Nav --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(26,32,48,.08);
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: flex; }
.mob-link {
  font-size: .95rem;
  font-weight: 500;
  color: var(--mid);
  padding: 10px 12px;
  border-radius: 8px;
}
.mob-link:hover { background: var(--silver); color: var(--blue); }
.mob-cta {
  margin-top: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 68px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f7f9fd 0%, #e8eef8 100%);
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid rgba(43,94,158,.2);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--blue);
}
.hero-badges li i { font-size: .75rem; color: var(--blue-mid); }
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual { position: relative; }
.hero-frame { position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background-image: var(--hero-img, none), linear-gradient(145deg, #2b5e9e 0%, #1e3f6e 100%);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.hero-pill {
  position: absolute;
  background: var(--white);
  border-radius: 50px;
  padding: 9px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hero-pill i { color: var(--blue); }
.pill-1 { bottom: 28px; left: -20px; }
.pill-2 { top: 28px; right: -20px; }

/* ============================================================
   KPI STRIP
   ============================================================ */
.kpi-strip {
  background: var(--blue);
  padding: 40px 24px;
}
.kpi-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.kpi-item {
  text-align: center;
  padding: 16px 48px;
  flex: 1;
  min-width: 140px;
}
.kpi-num {
  display: block;
  font-family: var(--ff-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-label {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.kpi-div {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.2);
}

/* ============================================================
   RECHTSGEBIETE
   ============================================================ */
.gebiete-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gebiet-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,32,48,.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.gebiet-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.gbg-photo {
  width: 100%;
  height: 180px;
  background-image: var(--gbg, none), linear-gradient(145deg, #2b5e9e 0%, #1e3f6e 100%);
  background-size: cover;
  background-position: center;
}
.gbg-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gbg-icon {
  width: 44px; height: 44px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--blue);
}
.gbg-body h3 { margin-top: 4px; }
.gbg-body p { font-size: .92rem; color: var(--mid); line-height: 1.65; }
.gbg-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gbg-list li {
  font-size: .85rem;
  color: var(--mid);
  padding-left: 18px;
  position: relative;
}
.gbg-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue-lt);
  font-weight: 600;
}

/* ============================================================
   KANZLEI / ABOUT
   ============================================================ */
.kanzlei-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.kanzlei-visual { position: relative; }
.kanzlei-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background-image: var(--kanzlei-img, none), linear-gradient(145deg, #1a2030 0%, #2b5e9e 100%);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.kanzlei-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  line-height: 1.4;
}
.kanzlei-badge i { font-size: 1.4rem; color: rgba(255,255,255,.8); }
.kanzlei-copy { display: flex; flex-direction: column; gap: 16px; }
.kanzlei-copy h2 { margin-top: 6px; }
.kanzlei-copy p { font-size: .96rem; color: var(--mid); line-height: 1.7; }
.kanzlei-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.khl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  color: var(--mid);
}
.khl-item i {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue);
  width: 18px;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(26,32,48,.07);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-image: var(--team-img, none), linear-gradient(145deg, #2b5e9e 0%, #1a2030 100%);
  background-size: cover;
  background-position: top center;
}
.team-body {
  padding: 20px;
}
.team-name {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.team-role {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin: 4px 0;
}
.team-spec {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26,32,48,.07);
}
.team-bio {
  font-size: .85rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ============================================================
   ABLAUF
   ============================================================ */
.ablauf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 8px;
}
.ablauf-step {
  position: relative;
}
.ablauf-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,.15);
}
.step-num {
  font-family: var(--ff-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(255,255,255,.12);
  line-height: 1;
  margin-bottom: 16px;
}
.step-body h4 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--white);
}
.step-body p {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

/* ============================================================
   MANDANTENSTIMMEN
   ============================================================ */
.stimmen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stimme-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(26,32,48,.07);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stimme-quote {
  font-size: .96rem;
  color: var(--mid);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.stimme-attr {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}
.stimme-stars {
  display: flex;
  gap: 4px;
}
.stimme-stars i { color: #e8a020; font-size: .85rem; }

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.kontakt-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.kontakt-tagline {
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 28px;
}
.info-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .92rem;
  color: var(--mid);
  line-height: 1.55;
}
.info-row i {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue);
  width: 18px;
}
.kontakt-anfahrt {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background-image: var(--anfahrt-img, none), linear-gradient(145deg, #1a2030 0%, #2b5e9e 100%);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

/* Form */
.kontakt-form {
  background: var(--silver);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(26,32,48,.06);
}
.kontakt-form h3 {
  font-size: 1.2rem;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid rgba(26,32,48,.15);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-lt);
  box-shadow: 0 0 0 3px rgba(74,128,196,.15);
}
.form-group textarea { resize: vertical; }
.form-check label {
  font-size: .83rem;
  color: var(--mid);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.form-check a { color: var(--blue); text-decoration: underline; }
.form-check input { margin-top: 2px; accent-color: var(--blue); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  align-items: flex-start;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.footer-logo-mark {
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.footer-name {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.footer-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
}
.footer-cols {
  display: flex;
  gap: 48px;
  margin-left: auto;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}
.footer-col-head {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   DISCLAIMER
   ============================================================ */
.escape-disclaimer {
  background: #030303;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.escape-disclaimer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}
.escape-disclaimer__inner i { color: rgba(255,255,255,0.3); flex-shrink: 0; margin-top: 0.14rem; }
.escape-disclaimer__inner strong { font-weight: 600; color: rgba(255,255,255,0.6); }
.escape-disclaimer__inner a { color: #eb7005; text-decoration: underline; text-decoration-color: rgba(235,112,5,0.3); }
.escape-disclaimer__inner a:hover { color: #f59034; }

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .ablauf-steps { grid-template-columns: repeat(2, 1fr); }
  .ablauf-step::after { display: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .gebiete-grid { grid-template-columns: 1fr; }
  .kanzlei-layout { grid-template-columns: 1fr; gap: 40px; }
  .kanzlei-badge { bottom: 12px; right: 12px; }
  .stimmen-grid { grid-template-columns: 1fr; }
  .kontakt-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .main-nav, .btn-header { display: none; }
  .burger { display: flex; margin-left: auto; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .kpi-inner { gap: 0; flex-wrap: wrap; }
  .kpi-item { min-width: 50%; }
  .kpi-div { display: none; }
  .footer-inner { gap: 32px; }
  .footer-cols { gap: 28px; margin-left: 0; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .ablauf-steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-inner { padding: 48px 16px; }
  .team-grid { grid-template-columns: 1fr; }
  .kontakt-form { padding: 28px 20px; }
  .pill-1, .pill-2 { display: none; }
  .kpi-item { min-width: 100%; }
}
