/* Daniel Lazar – Recht & Beratung
   Farben aus dem DL-Logo. Bewusst ohne externe Schriften/CDNs: keine Datenübermittlung an Dritte (DSG). */

:root {
  --navy: #1C2B45;
  --navy-deep: #131E33;
  --navy-soft: #2C3F60;
  --brass: #9A7B4F;
  --brass-soft: #E6DCC8;
  --ink: #1C2B45;
  --muted: #4A5568;
  --line: #D5D9E0;
  --paper: #F4F6F8;
  --white: #FFFFFF;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--navy-soft); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy-deep);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600; font-size: .98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--brass-soft); color: var(--navy-deep); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}

.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 46px; width: auto; }
.site-footer .logo img.footer-logo { height: 150px; margin: -20px 0 -20px -20px; }

.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--brass); }
.nav .btn { padding: 10px 18px; font-size: .9rem; color: #fff; }
.nav .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 76px;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { margin-top: 14px; border: 0; text-align: center; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: #fff;
  padding: 110px 0 120px;
}
.hero h1 { color: #fff; max-width: 15em; }
.hero .lead { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 36em; margin-bottom: 36px; }
.hero .eyebrow { color: var(--brass-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero::after {
  content: ""; position: absolute; top: 18%; bottom: 18%; right: 12%;
  width: 1px; background: var(--brass); opacity: .55;
}
@media (max-width: 900px) { .hero { padding: 72px 0 84px; } .hero::after { display: none; } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--paper { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 700px) { .section { padding: 70px 0; } }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px 28px;
  border-top: 3px solid var(--navy);
  transition: box-shadow .25s, transform .25s;
}
.service:hover { box-shadow: 0 18px 40px -24px rgba(11,46,89,.35); transform: translateY(-2px); }
.service-icon { width: 40px; height: 40px; color: var(--brass); margin-bottom: 18px; }
.service p { color: var(--muted); font-size: .97rem; }
.service ul { margin: 0; padding: 0; list-style: none; font-size: .93rem; }
.service li { padding: 6px 0 6px 20px; position: relative; border-top: 1px solid var(--line); }
.service li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 1px; background: var(--brass); }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 2.4rem; color: var(--brass); line-height: 1;
}
.step::after { content: ""; position: absolute; top: 18px; left: 64px; right: -16px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: .96rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Preise */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column;
}
.price--featured { background: var(--navy); color: #fff; border-color: var(--navy); position: relative; }
.price--featured h3, .price--featured .amount { color: #fff; }
.price--featured p, .price--featured li { color: rgba(255,255,255,.82); }
.badge {
  position: absolute; top: -12px; left: 32px;
  background: var(--brass); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px;
}
.amount { font-family: var(--serif); font-size: 2.4rem; color: var(--navy-deep); line-height: 1.1; margin: 6px 0 4px; }
.amount small { font-family: var(--sans); font-size: .95rem; color: inherit; opacity: .7; }
.price p { color: var(--muted); font-size: .95rem; }
.price ul { list-style: none; padding: 0; margin: 10px 0 28px; font-size: .94rem; flex: 1; }
.price li { padding: 7px 0 7px 26px; position: relative; color: var(--ink); }
.price li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 7px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg);
}
.price.price--featured li { color: rgba(255,255,255,.88); }
.amount small { white-space: nowrap; }
.price .btn { align-self: flex-start; }
.price-note { margin-top: 28px; font-size: .88rem; color: var(--muted); }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 560px; } }

/* Über mich */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: flex-end; padding: 32px; color: #fff; position: relative; overflow: hidden;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-initials {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  font-family: var(--serif); font-size: 7rem; color: rgba(255,255,255,.18); letter-spacing: .05em;
}
.portrait--photo img { object-position: center 30%; }
.portrait--photo::after {
  content: ""; position: absolute; inset: 55% 0 0 0;
  background: linear-gradient(to bottom, rgba(19,30,51,0) 0%, rgba(19,30,51,.85) 100%);
}
.portrait--photo::before {
  content: ""; position: absolute; left: 32px; bottom: 96px; width: 40px; height: 2px;
  background: var(--brass); z-index: 1;
}
.portrait-caption { position: relative; z-index: 1; }
.about-lead { font-size: 1.22rem; color: var(--ink); line-height: 1.55; }
.portrait-caption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.portrait-caption span { font-size: .9rem; opacity: .8; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } .portrait { max-width: 380px; } }

/* Lebenslauf */
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 88px; }
.cv-block + .cv-block { margin-top: 56px; }
.cv h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 26px; }
.cv-list { margin: 0; }
.cv-list > div {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cv-list dt { color: var(--muted); font-size: .98rem; padding-top: 2px; }
.cv-list dd, .cv-plain li { margin: 0; }
.cv strong { display: block; font-weight: 500; font-size: 1.08rem; color: var(--ink); }
.cv dd span, .cv-plain span { display: block; color: var(--muted); font-size: .98rem; margin-top: 4px; }
.cv-plain { list-style: none; margin: 0; padding: 0; }
.cv-plain li { padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .cv { grid-template-columns: 1fr; gap: 0; margin-top: 64px; } .cv-col + .cv-col { margin-top: 56px; } }
@media (max-width: 480px) { .cv-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* Hinweis Rolle */
.notice {
  margin-top: 36px; padding: 22px 26px;
  background: var(--paper); border-left: 3px solid var(--brass); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .94rem; color: var(--muted);
}
.notice strong { color: var(--navy-deep); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; color: var(--navy-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.6rem; color: var(--brass); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 14px; }

/* Kontakt */
.contact { background: var(--navy-deep); color: #fff; }
.contact h2 { color: #fff; }
.contact .section-head p { color: rgba(255,255,255,.78); }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 34px;
}
.contact-card dl { margin: 0; }
.contact-card dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); margin-top: 18px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; font-size: 1.05rem; }
.contact-card a { color: #fff; }
.contact-points { list-style: none; padding: 0; margin: 0 0 34px; }
.contact-points li { padding: 10px 0 10px 30px; position: relative; color: rgba(255,255,255,.85); }
.contact-points li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Footer */
.footer-meta { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; text-align: right; }
@media (max-width: 700px) { .footer-meta { align-items: flex-start; text-align: left; } }
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.65); font-size: .9rem; padding: 48px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

/* Rechtstexte (Impressum, Datenschutz) */
.legal { padding: 80px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; }
.legal p, .legal li { color: #333c48; }
.legal .meta { color: var(--muted); font-size: .92rem; }

/* Reveal-Animation (nur wenn JS aktiv und Bewegung erwünscht) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
