/*
 * Kliemann & Kliemann — Service-Landingpages
 * Shared stylesheet für alle Spoke-Seiten (Familienrecht, Mietrecht, etc.)
 * Identische Tonalität wie /verkehrsunfall-eu-ausland/
 */

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

:root {
  --gold: #5a8356;
  --gold-light: #89ae7e;
  --gold-dark: #3d5e37;
  --navy: #1c2e23;
  --navy-mid: #2a4036;
  --navy-light: #3a584a;
  --cream: #f7f4ee;
  --cream-dark: #ede9e0;
  --text-dark: #1c2e23;
  --text-muted: #6b6e6a;
  --text-light: #9a9d98;
  --white: #ffffff;
  --alert: #b5632a;
  --alert-dark: #8a4a1e;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text-dark);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; }

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(247,244,238,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0.5rem 1rem;
}
.top-bar strong { color: var(--gold-light); font-weight: 500; }
.top-bar a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(137,174,126,0.4);
  padding-bottom: 1px;
}
.top-bar a:hover { color: var(--white); border-color: var(--white); }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 238, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 43, 42, 0.1);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
  color: var(--navy); letter-spacing: 0.04em;
  text-decoration: none; line-height: 1.1;
}
.nav-logo-img {
  width: auto;
  height: 40px;
  flex-shrink: 0;
  display: block;
}
.nav-logo-text { display: inline-block; }
.nav-logo small {
  display: block;
  font-family: var(--sans); font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 400;
  margin-top: 2px;
}
.nav-logo span { color: var(--gold); font-weight: 300; }
.nav-phone {
  font-family: var(--sans); font-size: 0.95rem; font-weight: 500;
  color: var(--navy); text-decoration: none;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: var(--gold-light);
  transition: background 0.25s;
}
.nav-phone:hover { background: var(--gold); color: var(--navy); }
.nav-phone svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 1.8; }

/* HERO */
.hero {
  min-height: 70vh;
  background: var(--navy);
  position: relative;
  display: flex; align-items: center;
  padding: 7rem 3rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('bamberg-panorama.jpg');
  background-position: center 45%;
  background-size: cover; background-repeat: no-repeat;
  filter: grayscale(0.25) brightness(0.95);
  opacity: 0.32; z-index: 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(28,46,35,0.94) 0%, rgba(28,46,35,0.74) 50%, rgba(28,46,35,0.55) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; width: 100%; }
.hero-content { max-width: 720px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.5rem;
}
.hero-kicker::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 400; color: var(--white);
  line-height: 1.1; margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300; font-style: italic;
  color: rgba(247,244,238,0.78);
  margin-bottom: 2.5rem; max-width: 580px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); background: var(--gold-light);
  border: none; padding: 1.1rem 2.2rem; text-decoration: none;
  transition: background 0.25s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 0.65rem;
}
.btn-primary:hover { background: var(--gold); transform: translateY(-1px); }
.btn-primary svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 2; }
.btn-outline {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); background: transparent;
  border: 1px solid rgba(247,244,238,0.4);
  padding: 1.1rem 2.2rem; text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}
.btn-outline:hover { border-color: var(--gold-light); background: rgba(137,174,126,0.08); }

/* Trust bar */
.trust {
  background: var(--navy-mid);
  color: rgba(247,244,238,0.75);
  padding: 1.4rem 3rem;
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: center; align-items: center;
  border-bottom: 1px solid rgba(90,131,86,0.2);
}
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.trust-item svg { width: 18px; height: 18px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; flex-shrink: 0; }
.trust-item strong { color: var(--gold-light); font-weight: 500; }

/* SECTIONS */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-dark); text-align: center; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 400; color: var(--navy);
  text-align: center; margin-bottom: 1rem; line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-rule { width: 48px; height: 1px; background: var(--gold); margin: 0 auto 3rem; }
.section-intro {
  max-width: 760px; margin: 0 auto 3rem;
  text-align: center; color: var(--text-muted);
  font-size: 1.02rem; line-height: 1.85;
}

/* Checkliste */
.checkliste { background: var(--white); }
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; counter-reset: checklist;
}
.check-item {
  background: var(--cream);
  padding: 2rem 1.75rem;
  border-left: 3px solid var(--gold);
  counter-increment: checklist;
  position: relative;
}
.check-item::before {
  content: counter(checklist, decimal-leading-zero);
  position: absolute; top: 1rem; right: 1.25rem;
  font-family: var(--serif); font-size: 2.5rem; font-weight: 300;
  color: var(--gold); line-height: 1; opacity: 0.35;
}
.check-item h3 {
  font-family: var(--serif);
  font-size: 1.2rem; font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.6rem;
  padding-right: 2rem;
}
.check-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }

/* Leistungen / Verfahren */
.leistungen { background: var(--cream-dark); }
.leistungen-grid, .verfahren-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.leistung-item, .verfahren-item {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border-top: 2px solid var(--gold);
  position: relative;
}
.verfahren-step {
  font-family: var(--serif); font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 0.5rem;
}
.leistung-item h3, .verfahren-item h3 {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 500;
  color: var(--navy); margin-bottom: 0.75rem;
}
.leistung-item p, .verfahren-item p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.75;
}

/* Generic Tabelle (Schadenspositionen, Verjährung etc.) */
.std-table {
  background: var(--cream);
  border: 1px solid rgba(26,43,42,0.08);
  overflow: hidden;
}
.std-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(26,43,42,0.08);
}
.std-row:last-child { border-bottom: none; }
.std-row:nth-child(odd) { background: rgba(247,244,238,0.5); }
.std-label {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 500;
  color: var(--navy);
}
.std-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
@media (max-width: 720px) {
  .std-row { grid-template-columns: 1fr; gap: 0.25rem; padding: 1.25rem 1.25rem; }
  .std-label { font-size: 1rem; }
}

/* Hintergrund / Recht-Sektion */
.hintergrund {
  background: var(--navy);
  color: rgba(247,244,238,0.8);
  position: relative; overflow: hidden;
}
.hintergrund::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(90,131,86,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 70%, rgba(137,174,126,0.08) 0%, transparent 55%);
}
.hintergrund .section-inner { position: relative; z-index: 1; }
.hintergrund .section-label { color: var(--gold-light); }
.hintergrund .section-title { color: var(--white); }
.hintergrund .section-intro { color: rgba(247,244,238,0.65); }
.hintergrund-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-top: 2rem;
}
.hintergrund-content h3 {
  font-family: var(--serif);
  font-size: 1.35rem; font-weight: 500;
  color: var(--white); margin-bottom: 0.75rem;
}
.hintergrund-content p { font-size: 0.95rem; line-height: 1.85; margin-bottom: 1.25rem; }
.hintergrund-content code {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem; color: var(--gold-light);
  background: rgba(90,131,86,0.12);
  padding: 0.1rem 0.4rem; border-radius: 2px;
}
@media (max-width: 720px) {
  .hintergrund-content { grid-template-columns: 1fr; gap: 2rem; }
}

/* FAQ */
.faq { background: var(--cream); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-left: 2px solid var(--gold);
  margin-bottom: 0.85rem; overflow: hidden;
}
.faq-item summary {
  padding: 1.4rem 1.75rem;
  font-family: var(--serif);
  font-size: 1.12rem; font-weight: 500;
  color: var(--navy); cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(90,131,86,0.04); }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem; color: var(--gold); font-weight: 300;
  transition: transform 0.25s; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.92rem; color: var(--text-muted); line-height: 1.85;
}

/* Kanzlei-Box */
.kanzlei-intro { background: var(--cream-dark); padding: 4rem 2rem; }
.kanzlei-intro-inner {
  max-width: 900px; margin: 0 auto;
  background: var(--white);
  padding: 2.5rem 3rem;
  border-top: 3px solid var(--gold);
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 2rem; align-items: center;
}
.kanzlei-seal {
  width: 120px; height: 120px;
  background: var(--navy); color: var(--gold-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.8rem; font-weight: 500;
  margin: 0 auto;
  border: 3px solid var(--gold);
  flex-shrink: 0; line-height: 1.1; text-align: center;
}
.kanzlei-intro h3 {
  font-family: var(--serif);
  font-size: 1.5rem; font-weight: 500;
  color: var(--navy); margin-bottom: 0.75rem;
}
.kanzlei-intro p {
  font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.85; margin-bottom: 1rem;
}
.kanzlei-intro a {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-dark); text-decoration: none;
  border-bottom: 1px solid rgba(61,94,55,0.3);
  padding-bottom: 2px;
}
@media (max-width: 720px) {
  .kanzlei-intro-inner { grid-template-columns: 1fr; text-align: center; padding: 2rem; }
}

/* Warnhinweis */
.warnhinweis {
  background: var(--alert-dark);
  padding: 4rem 2rem;
  color: var(--cream);
}
.warnhinweis-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.warnhinweis p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 400; line-height: 1.55; color: var(--cream);
}
.warnhinweis strong { font-weight: 600; letter-spacing: 0.04em; color: var(--white); }

/* Kontakt */
.kontakt { background: var(--white); }
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 4rem; align-items: start;
}
.kontakt-info .section-label,
.kontakt-info .section-title { text-align: left; }
.kontakt-info .section-rule { margin: 0 0 2rem; }
.contact-row {
  display: flex; gap: 1.25rem;
  margin-bottom: 1.5rem; align-items: flex-start;
}
.contact-row .icon {
  width: 42px; height: 42px;
  background: rgba(90,131,86,0.1);
  border: 1px solid rgba(90,131,86,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row .icon svg { width: 18px; height: 18px; stroke: var(--gold-dark); fill: none; stroke-width: 1.5; }
.contact-row h4 {
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 0.3rem; font-weight: 400;
}
.contact-row p, .contact-row a {
  font-size: 0.95rem; color: var(--text-dark);
  text-decoration: none; line-height: 1.5;
}
.contact-row a:hover { color: var(--gold-dark); }
.kontakt-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 400;
}
.form-group input:not([type="checkbox"]):not([type="hidden"]),
.form-group select,
.form-group textarea {
  font-family: var(--sans); font-size: 0.93rem; font-weight: 300;
  color: var(--text-dark); background: var(--cream);
  border: 1px solid rgba(26,43,42,0.12);
  padding: 0.85rem 1rem; outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--white); }
.form-group input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 3px;
  flex-shrink: 0; cursor: pointer; accent-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-submit {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); background: var(--gold-light);
  border: none; padding: 1.1rem 2rem;
  cursor: pointer; transition: background 0.25s;
  align-self: flex-start; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold); }

/* Footer */
footer {
  background: #0f1a18;
  padding: 3.5rem 3rem 2rem;
  color: rgba(247,244,238,0.55);
  font-size: 0.85rem; line-height: 1.8;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 500;
  color: var(--gold-light); margin-bottom: 0.75rem;
}
.footer-brand small {
  display: block;
  font-family: var(--sans); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,244,238,0.4); font-weight: 400; margin-top: 4px;
}
footer h5 {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1rem; font-weight: 400;
}
footer a {
  color: rgba(247,244,238,0.55);
  text-decoration: none; display: block;
}
footer a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(247,244,238,0.08);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.72rem; color: rgba(247,244,238,0.35);
}
.footer-bottom .legal { display: flex; gap: 1.5rem; }
.footer-bottom a { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; }

/* Tags / Badges */
.tag-list {
  display: flex; flex-wrap: wrap;
  gap: 0.5rem; margin-top: 1.5rem;
}
.tag-item {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-light); background: rgba(90,131,86,0.12);
  padding: 0.4rem 0.85rem; border: 1px solid rgba(90,131,86,0.2);
}

/* Responsive */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-logo { font-size: 1.05rem; }
  .hero { padding: 6rem 1.5rem 4rem; min-height: 70vh; }
  .trust { padding: 1rem 1.5rem; gap: 1.25rem; }
  section { padding: 4rem 1.5rem; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  footer { padding: 2.5rem 1.5rem 2rem; }
}
