/* ============================================================
   arbeitsrecht-fellbach.de – Stylesheet
   Statische One-Page, keine externen Ressourcen (DSGVO, Speed)
   ============================================================ */

:root {
  --ink: #14304a;        /* Primär: tiefes Kanzleiblau */
  --ink-dark: #0d2236;
  --paper: #fafaf7;      /* Hintergrund */
  --text: #22303c;
  --muted: #5b6b78;
  --accent: #b07c1f;     /* CTA: gedecktes Gold */
  --accent-dark: #8f6317;
  --alert: #a33b2e;      /* Fristen-Hinweis */
  --line: #e2e2da;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
}

a { color: var(--ink); }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header ---------- */
header.site {
  background: var(--ink);
  color: #fff;
  padding: 0.9rem 0;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}
.head-phone {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.head-phone span { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-dark) 100%);
  color: #fff;
  padding: 3rem 0 3.5rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  max-width: 22ch;
}
.hero p.sub {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: #d8e0e8;
  max-width: 55ch;
}
.cta-row {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover { border-color: #fff; }

/* ---------- Fristen-Banner (Signatur-Element) ---------- */
.frist {
  background: #fff;
  border-left: 5px solid var(--alert);
  box-shadow: 0 1px 4px rgba(20,48,74,0.08);
  padding: 1.1rem 1.25rem;
  margin: -1.75rem auto 0;
  max-width: 840px;
  border-radius: 4px;
  position: relative;
}
.frist strong { color: var(--alert); }

/* ---------- Sections ---------- */
section { padding: 3rem 0; }
section h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
}
section p + p { margin-top: 0.9rem; }

.alt { background: #f1f1ea; }

/* ---------- Anwältin ---------- */
.person {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.person img, .person .img-ph {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
  background: #d5d9dd;
  flex-shrink: 0;
}
.person .img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.person .bio { flex: 1; min-width: 260px; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; counter-reset: step; margin-top: 1.25rem; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.4rem 3.2rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
}
.steps li strong { color: var(--ink); }

/* ---------- Kontakt ---------- */
.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  padding: 2rem 1.75rem;
}
.contact-card h2 { color: #fff; }
.contact-card a { color: #fff; }
.contact-card .big {
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
}
.contact-card .big span { color: var(--accent); }
.contact-lines { margin-top: 1.25rem; }
.contact-lines p { margin-top: 0.4rem; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink-dark);
  color: #b9c4ce;
  padding: 1.5rem 0 5.5rem; /* Platz für mobile Call-Leiste */
  font-size: 0.9rem;
}
footer.site a { color: #d8e0e8; }
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Mobile Sofort-Anruf-Leiste ---------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--accent);
  text-align: center;
  padding: 0.9rem;
  z-index: 50;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}
.callbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}
@media (min-width: 760px) {
  .callbar { display: none; }
  footer.site { padding-bottom: 1.5rem; }
}

/* ---------- Platzhalter-Markierung (vor Livegang entfernen) ---------- */
.ph {
  background: #fff3b0;
  outline: 2px dashed #c9a400;
  padding: 0 0.25rem;
}

/* ---------- Rechtsseiten ---------- */
.legal h1 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.legal h2 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }
.legal { padding-bottom: 3rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
