/* Rechtsanwaltskanzlei Danjaro Berger – Stylesheet (statische Fassung) */

/* Schriften: liegen bereits selbst gehostet auf kanzleidb.de (keine Übertragung an Google) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/wp-content/uploads/berger/assets/9b45bb3c-f2ae-49b6-8be3-f1c17833c06a.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/wp-content/uploads/berger/assets/4bb56255-b9a5-4b65-b299-1cf82144750a.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url('/wp-content/uploads/berger/assets/4c2dea10-82b6-41f1-bf71-3165a6e7d941.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url('/wp-content/uploads/berger/assets/ed7bc54e-1c3a-4538-9239-d894e007c518.woff2') format('woff2'); }

:root {
  --navy: #041C2C; --navy-mid: #0E2E45; --bg: #FAFAF7; --card: #FFFFFF; --ink: #0D1418;
  --muted: #5C6670; --hairline: #E8E5DD; --accent: #9C8866; --pill: #F1EEE6;
  --nav-text: #0D1418; --cta-text: #FFFFFF; --head-bg: rgba(250,250,247,.8);
  --shadow: 0 12px 32px rgba(4,28,44,.06); --logo-filter: none;
}
[data-theme="dark"] {
  --navy: #9C8866; --navy-mid: #B6A07A; --bg: #0A1218; --card: #0F1A22; --ink: #F2EEE5;
  --muted: #9DA7B0; --hairline: #1B2832; --accent: #C9A874; --pill: #15222C;
  --nav-text: #F2EEE5; --cta-text: #041C2C; --head-bg: rgba(10,18,24,.8);
  --shadow: 0 12px 32px rgba(0,0,0,.4); --logo-filter: invert(1) hue-rotate(180deg) brightness(1.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.55;
  font-feature-settings: 'ss01','cv11'; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

.display { font-family: 'Newsreader', 'Source Serif 4', Georgia, serif; font-weight: 400; line-height: 1.04; letter-spacing: -0.025em; }
.label { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
em.accent, .it { font-style: italic; }
.wrap { max-width: 1400px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; border: 1px solid transparent; font-family: inherit; }
.btn-primary { background: var(--navy); color: var(--cta-text); }
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-accent { background: var(--accent); color: var(--cta-text); }
.btn svg { flex: none; }

/* Header */
.head { position: sticky; top: 0; z-index: 50; background: var(--head-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--hairline); }
.head-inner { max-width: 1400px; margin: 0 auto; padding: 16px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 44px; width: auto; filter: var(--logo-filter); }
.nav { display: flex; gap: 6px; }
.navlink { padding: 8px 14px; border-radius: 999px; transition: all .2s; font-size: 14px; color: var(--nav-text); }
.navlink:hover, .navlink[aria-current="page"] { background: var(--pill); }
.head-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { background: transparent; border: 1px solid var(--hairline); color: var(--muted); width: 38px; height: 38px;
  border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; color: var(--ink); }
.mobile-nav { display: none; border-top: 1px solid var(--hairline); padding: 12px 22px; }
.mobile-nav.open { display: grid; gap: 4px; }
.mobile-nav a { padding: 14px 8px; border-radius: 10px; font-size: 16px; font-weight: 500; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }

/* Hero */
.hero { position: relative; min-height: 85vh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; filter: brightness(.55); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(4,28,44,.7) 100%); }
.hero-content { position: relative; width: 100%; padding-bottom: 80px; color: #F2EEE5; }
.hero h1 { color: #F2EEE5; margin: 0 0 28px; line-height: .98; max-width: 1100px; font-size: 96px; font-weight: 300; }
.hero h1 em { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: flex-end; margin-top: 32px; }
.hero-lead { font-size: 21px; color: rgba(242,238,229,.85); margin: 0; line-height: 1.5; max-width: 720px; }
.hero-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.btn-hero-ghost { background: transparent; color: #F2EEE5; border-color: rgba(242,238,229,.25); }
.btn-hero-ghost:hover { border-color: #F2EEE5; }

/* Sections */
.section { padding-top: 112px; padding-bottom: 112px; }
.section-card { background: var(--card); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.h-section { font-size: 64px; color: var(--navy); margin: 0; line-height: 1.02; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 40px; }
.about-text { font-size: 17px; max-width: 900px; margin: 24px 0 0; }
.cv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cv { background: var(--bg); padding: 22px; border-radius: 14px; border: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 8px; }
.cv p { margin: 0; font-size: 15px; line-height: 1.5; }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area { background: var(--card); border-radius: 20px; border: 1px solid var(--hairline); overflow: hidden;
  display: flex; flex-direction: column; min-height: 580px; transition: all .3s; }
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area-img { height: 180px; width: 100%; object-fit: cover; }
.area-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.area h3 { font-size: 38px; color: var(--navy); margin: 0 0 8px; }
.area-intro { font-size: 14px; line-height: 1.55; margin: 0 0 24px; }
.area ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 14px; }
.area li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.area li svg { margin-top: 3px; color: var(--accent); }
.area li strong { display: block; font-weight: 500; font-size: 15px; }
.area li span { display: block; font-size: 13px; line-height: 1.5; margin-top: 2px; color: var(--muted); }
.areas-more { font-size: 16px; margin: 32px 0 0; line-height: 1.6; }

/* FAQ (native details/summary – Inhalte stehen vollständig im Quelltext) */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; padding: 4px 28px; }
.faq-item summary { list-style: none; padding: 24px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h2, .faq-item h3 { font-family: inherit; font-size: 19px; font-weight: 500; color: var(--navy); margin: 0; line-height: 1.4; letter-spacing: 0; }
.faq-plus { flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--pill); color: var(--navy);
  display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { padding-bottom: 24px; font-size: 16px; line-height: 1.65; max-width: 800px; color: var(--muted); }
.faq-answer p { margin: 0 0 10px; }

/* Booking */
.booking { background: var(--navy); color: var(--cta-text); border-radius: 28px; padding: 64px 56px; display: grid;
  grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
[data-theme="dark"] .booking { background: #041C2C; color: #F2EEE5; }
.booking-glow { position: absolute; top: -120px; right: -120px; width: 400px; height: 400px; border-radius: 999px;
  background: radial-gradient(circle, rgba(156,136,102,.18), transparent 70%); }
.booking h2 { font-size: 72px; margin: 0 0 20px; line-height: 1.02; color: inherit; }
.booking h2 em { color: var(--accent); }
.booking p { font-size: 17px; color: rgba(255,255,255,.75); max-width: 480px; line-height: 1.6; margin: 0 0 32px; }
.booking .btn-book { background: var(--accent); color: #041C2C; }
.booking .btn-line { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.2); }
.booking-box { background: rgba(255,255,255,.06); border-radius: 16px; padding: 20px; border: 1px solid rgba(255,255,255,.08); }
.booking-box .label { color: var(--accent); }
.booking-box p { margin: 6px 0 0; font-size: 16px; color: inherit; }
.booking-side { position: relative; display: grid; gap: 12px; }
.rel { position: relative; }

/* Unterseiten */
.page-head { padding-top: 88px; padding-bottom: 56px; }
.page-head h1 { font-size: 88px; color: var(--navy); margin: 0 0 20px; line-height: 1; }
.page-head p { font-size: 19px; line-height: 1.55; margin: 0; max-width: 760px; }
.prose { font-size: 16px; line-height: 1.75; padding-bottom: 96px; }
.prose h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); margin: 48px 0 12px; }
.prose h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--navy); margin: 28px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 32px 0; }
.prose .meta { color: var(--muted); font-size: 14px; }
.faq-cta { border-top: 1px solid var(--hairline); padding-top: 40px; padding-bottom: 40px; margin-bottom: 96px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.faq-cta .display { font-size: 28px; color: var(--navy); margin-bottom: 6px; }

/* Footer */
.foot { padding-top: 56px; padding-bottom: 32px; border-top: 1px solid var(--hairline); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 36px; }
.foot-grid img { height: 40px; width: auto; margin-bottom: 16px; filter: var(--logo-filter); }
.foot-grid p { font-size: 14px; line-height: 1.6; max-width: 360px; margin: 0; }
.foot-grid .label { margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 2; }
.foot-contact { font-size: 14px; line-height: 1.9; font-style: normal; }
.foot-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--hairline); padding-top: 22px;
  font-size: 12px; font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--muted); gap: 16px; flex-wrap: wrap; }
.foot a:hover { text-decoration: underline; }

/* Mobil */
@media (max-width: 860px) {
  body { font-size: 15px; }
  .wrap, .wrap-narrow, .head-inner { padding-left: 22px; padding-right: 22px; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .head-actions { gap: 6px; }
  .hero h1 { font-size: clamp(40px, 11vw, 84px); }
  .hero-grid, .booking { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions { justify-content: flex-start; }
  .h-section, .booking h2 { font-size: clamp(32px, 7.5vw, 56px); }
  .page-head h1 { font-size: clamp(40px, 11vw, 72px); }
  .area h3 { font-size: clamp(28px, 6vw, 48px); }
  .areas { grid-template-columns: 1fr; }
  .area { min-height: 0; }
  .cv-grid { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section-head, .faq-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .booking { padding: 40px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .faq-item { padding: 4px 20px; }
}
@media (max-width: 520px) { .cv-grid, .foot-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Mandantenstimmen */
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars-head { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { margin: 0; padding: 28px; border-radius: 20px; border: 1px solid var(--hairline); background: var(--bg); display: flex; flex-direction: column; }
.review blockquote { margin: 16px 0 24px; font-family: 'Newsreader', Georgia, serif; font-size: 19px; line-height: 1.55; color: var(--ink); flex: 1; }
.review blockquote p { margin: 0 0 10px; }
.review figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--hairline); padding-top: 16px; font-size: 13px; }
.review figcaption strong { font-size: 15px; font-weight: 500; color: var(--navy); }
.review-note { font-size: 13px; line-height: 1.6; margin: 24px 0 0; }
.review-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } .stars-head { flex-wrap: wrap; } }
