/* ==========================================================================
   Rechtsanwalt Raters — Stylesheet
   ========================================================================== */

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100%; }
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; }
::selection { background: #16163f; color: #fff; }

/* ---- Tokens --------------------------------------------------------------
   Weiß = primärer Hintergrund · sehr dunkles Blaugrau = Text
   Dunkelblau (#16163f) = Sekundär-/Hervorhebungsfarbe
   Türkis (#79b7b2) und Beige = warme, ruhige Wechselflächen
   Orange = seltener Akzent (Badges, Hover-Details)
--------------------------------------------------------------------------- */
:root {
  --c-white: #ffffff;
  --c-ink: #1a1b22;
  --c-ink-70: rgba(26, 27, 34, .72);
  --c-ink-55: rgba(26, 27, 34, .58);
  --c-ink-35: rgba(26, 27, 34, .4);

  --c-navy: #16163f;
  --c-navy-2: #0d0d26;
  --c-navy-06: rgba(22, 22, 63, .06);
  --c-navy-10: rgba(22, 22, 63, .1);
  --c-navy-15: rgba(22, 22, 63, .15);
  --c-navy-30: rgba(22, 22, 63, .32);
  --c-navy-55: rgba(22, 22, 63, .58);

  --c-turquoise: #79b7b2;
  --c-turquoise-dark: #4f8783;
  --c-turquoise-15: rgba(121, 183, 178, .18);

  --c-beige: #efe6d5;
  --c-sand: #f7f2e8;
  --c-mint: #eef4f3;
  --c-orange: #ea8f2e;

  --c-line: rgba(26, 27, 34, .1);
  --c-line-on-navy: rgba(255, 255, 255, .16);

  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1280px;
  --pad: clamp(20px, 5.4vw, 56px);
  --section-y: clamp(60px, 8.5vw, 112px);
  --section-y-sm: clamp(40px, 5.6vw, 72px);

  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .4s;
}

body {
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
p, li, .lead { overflow-wrap: break-word; hyphens: auto; }
.split > *, .grid > *, .footer-top > *, .footer-contact-item, .hero-inner,
.section-head, .side-card, .glance-box, .content-layout > * { min-width: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--c-navy); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Layout --------------------------------------------------------------*/
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); position: relative; }
.section--sm { padding-block: var(--section-y-sm); }
.section--tight { padding-block: clamp(36px, 4.6vw, 56px); }

.bg-white { background: var(--c-white); color: var(--c-ink); }
.bg-sand { background: var(--c-sand); color: var(--c-ink); }
.bg-mint { background: var(--c-mint); color: var(--c-ink); }
.bg-navy { background: var(--c-navy); color: var(--c-white); }
.bg-navy .lead, .bg-navy p { color: rgba(255, 255, 255, .74); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--c-white); }
.bg-navy a:not(.btn) { color: inherit; }
.bg-navy .kicker { color: var(--c-turquoise); }

/* Equal-height image/text layout: both columns stretch to the same box, the
   image fills it via object-fit — image and content always start and end on
   a shared line no matter how much copy the text column holds. */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: clamp(28px, 5vw, 84px); }
.split--rev { direction: rtl; }
.split--rev > * { direction: ltr; }
.split-media { position: relative; overflow: hidden; min-height: 320px; border-radius: var(--radius); background: var(--c-navy-06); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.split-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev { direction: ltr; }
  .split-media { min-height: 52vw; max-height: 420px; }
}

/* ---- Typography ----------------------------------------------------------*/
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-turquoise-dark); margin-bottom: 16px;
}
.kicker::before { content: ''; width: 20px; height: 2px; background: currentColor; border-radius: 2px; opacity: .8; flex-shrink: 0; }

h1, .h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.1; letter-spacing: -.01em;
  color: var(--c-navy); overflow-wrap: break-word; hyphens: auto; text-wrap: balance;
}
h2, .h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(25px, 2.8vw, 36px); line-height: 1.18; letter-spacing: -.005em;
  color: var(--c-navy); overflow-wrap: break-word; hyphens: auto; text-wrap: balance;
}
h3, .h3 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(19px, 1.9vw, 23px); line-height: 1.3; color: var(--c-navy);
  overflow-wrap: break-word; hyphens: auto;
}
h4, .h4 { font-family: var(--font-sans); font-weight: 600; font-size: 15px; color: var(--c-navy); }

.lead { font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.7; color: var(--c-ink-70); font-weight: 400; }
p { color: var(--c-ink-70); }
p + p { margin-top: 12px; }

.section-head { max-width: 700px; margin-bottom: clamp(28px, 3.6vw, 48px); }
.section-head--wide { max-width: 920px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }

/* ---- Buttons & links ------------------------------------------------------*/
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; font-size: 14px; font-weight: 600;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }
.btn--navy { background: var(--c-navy); color: #fff; }
.btn--navy:hover { background: var(--c-navy-2); }
.btn--outline-navy { border-color: var(--c-navy-30); color: var(--c-navy); }
.btn--outline-navy:hover { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.btn--white { background: #fff; color: var(--c-navy); }
.btn--white:hover { background: var(--c-navy); color: #fff; }
.btn--outline-white { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--outline-white:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--c-navy);
  border-bottom: 1px solid var(--c-navy-30); padding-bottom: 3px;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.text-link:hover { border-color: var(--c-navy); gap: 12px; }
.text-link svg { width: 13px; height: 13px; }
.bg-navy .text-link { color: #fff; border-color: rgba(255, 255, 255, .35); }
.bg-navy .text-link:hover { border-color: #fff; }

.icon { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.5; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--c-turquoise-15); color: var(--c-turquoise-dark); flex-shrink: 0;
}
.bg-navy .icon-tile { background: rgba(255, 255, 255, .12); color: var(--c-turquoise); }
.icon-tile .icon { width: 23px; height: 23px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.site-header::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13, 13, 38, .5), rgba(13, 13, 38, 0));
  opacity: 1; transition: opacity var(--dur) var(--ease); pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 14px 34px -18px rgba(22, 22, 63, .22); }

.header-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; transition: padding var(--dur) var(--ease); }
.site-header.is-scrolled .header-row { padding-block: 10px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); transition: filter var(--dur) var(--ease); }
.site-header.is-scrolled .brand img { filter: none; }
.brand-text { font-family: var(--font-serif); font-size: 15.5px; line-height: 1.18; color: #fff; transition: color var(--dur) var(--ease); }
.site-header.is-scrolled .brand-text { color: var(--c-navy); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > li { position: relative; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .94); transition: color .25s var(--ease); white-space: nowrap; border-radius: var(--radius-sm); }
.nav-link:hover { color: #fff; }
.site-header.is-scrolled .nav-link { color: var(--c-ink); }
.site-header.is-scrolled .nav-link:hover { color: var(--c-navy); }
.nav-link .chev { width: 9px; height: 9px; opacity: .65; transition: transform .25s var(--ease); }
.main-nav > li:hover .chev { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.header-phone .icon { width: 16px; height: 16px; }
.site-header.is-scrolled .header-phone { color: var(--c-ink-70); }
.header-phone:hover { color: var(--c-turquoise); }
.header-cta { padding: 10px 20px; font-size: 13.5px; }

.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: 2px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s var(--ease); }
.site-header.is-scrolled .menu-btn span { background: var(--c-navy); }
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-8px); padding-top: 16px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.main-nav > li:hover .dropdown, .main-nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dropdown-panel { width: 300px; background: #fff; border-radius: var(--radius); border-top: 3px solid var(--c-turquoise); box-shadow: 0 32px 70px -26px rgba(22, 22, 63, .35); padding: 10px; }
.dropdown-overview { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: var(--c-navy); background: var(--c-mint); border-radius: var(--radius-sm); margin-bottom: 6px; }
.dropdown-overview svg { width: 13px; height: 13px; }
.dropdown-list { display: flex; flex-direction: column; }
.dropdown-list a { display: block; padding: 10px 14px; font-size: 13.5px; color: var(--c-ink); border-radius: var(--radius-sm); transition: background .2s var(--ease), color .2s var(--ease); line-height: 1.4; }
.dropdown-list a:hover { background: var(--c-sand); color: var(--c-navy); }

.mobile-nav-scrim { position: fixed; inset: 0; z-index: 940; background: rgba(13, 13, 38, .4); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.mobile-nav-scrim.is-open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 950; width: min(400px, 88vw);
  background: var(--c-navy); transform: translateX(100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; overflow: hidden;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--pad); flex-shrink: 0; border-bottom: 1px solid var(--c-line-on-navy); }
.mobile-nav-top .brand img { width: 34px; height: 34px; }
.mobile-nav-close { display: flex; gap: 0; padding: 8px; position: relative; width: 34px; height: 34px; }
.mobile-nav-close span { position: absolute; left: 6px; top: 16px; display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-nav-close span:first-child { transform: rotate(45deg); }
.mobile-nav-close span:last-child { transform: rotate(-45deg); }

.mobile-nav-body { flex: 1; overflow-y: auto; padding: 10px var(--pad) 30px; -webkit-overflow-scrolling: touch; }
.m-nav-item { border-bottom: 1px solid var(--c-line-on-navy); }
.m-nav-link, .m-nav-link--plain {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 17px 2px; font-family: var(--font-serif); font-size: 19px; color: #fff; text-align: left;
}
.m-nav-link .chev { width: 12px; height: 12px; color: rgba(255, 255, 255, .55); transition: transform .3s var(--ease); flex-shrink: 0; }
.m-nav-item.is-open .m-nav-link .chev { transform: rotate(180deg); }
.m-sub { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.m-nav-item.is-open .m-sub { max-height: 620px; }
.m-sub-inner { padding: 2px 2px 18px; display: flex; flex-direction: column; }
.m-sub-overview { font-weight: 600; color: var(--c-turquoise) !important; margin-bottom: 4px; }
.m-sub a { display: block; padding: 9px 0; font-size: 15px; color: rgba(255, 255, 255, .8); }
.m-sub a:hover { color: #fff; }

.mobile-nav-foot { padding: 18px var(--pad) 28px; border-top: 1px solid var(--c-line-on-navy); flex-shrink: 0; }
.mobile-nav-foot .btn { width: 100%; justify-content: center; margin-bottom: 16px; }
.mobile-phone { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 600; color: #fff; }

@media (max-width: 1080px) {
  .main-nav, .header-actions .header-phone { display: none; }
  .header-cta { display: none; }
  .menu-btn { display: flex; }
}
@media (max-width: 560px) {
  .header-actions .header-cta { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; color: #fff; }
.hero--home { height: 92svh; min-height: 600px; align-items: center; }
.hero--page { height: 46svh; min-height: 320px; max-height: 460px; align-items: center; padding-top: 64px; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13, 13, 38, .72) 0%, rgba(13, 13, 38, .48) 38%, rgba(13, 13, 38, .62) 75%, rgba(13, 13, 38, .88) 100%); }
.hero--page .hero-scrim { background: linear-gradient(180deg, rgba(13, 13, 38, .6) 0%, rgba(13, 13, 38, .4) 45%, rgba(13, 13, 38, .74) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; padding-block: 90px 0; }
.hero--page .hero-content { padding-block: 0; }
.hero--home .hero-content { padding-bottom: 76px; }
.hero-inner { max-width: 720px; }
.hero-crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .62); margin-bottom: 18px; }
.hero-crumb a:hover { color: #fff; }
.hero-crumb .sep { opacity: .5; }
.hero-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(36px, 5vw, 68px); line-height: 1.08; color: #fff; letter-spacing: -.01em; text-shadow: 0 3px 20px rgba(0, 0, 0, .45); text-wrap: balance; }
.hero--home .hero-title { font-size: clamp(31px, 3.6vw, 50px); line-height: 1.14; }
.hero--page .hero-title { font-size: clamp(30px, 4vw, 46px); }
.hero-sub { margin-top: 18px; font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.7; color: rgba(255, 255, 255, .94); max-width: 560px; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-meta span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .68); }
.hero-meta svg { width: 14px; height: 14px; }

@media (max-width: 700px) {
  .hero--home { height: 88svh; }
  .hero--page { height: auto; min-height: 300px; align-items: flex-end; padding-top: 78px; }
  .hero--page .hero-content { padding-block: 50px 40px; }
  .hero--page .hero-title { font-size: clamp(26px, 7.5vw, 33px); line-height: 1.15; }
  .hero--home .hero-title { font-size: clamp(28px, 8vw, 32px); line-height: 1.18; }
  .hero-title, .hero-sub { overflow-wrap: anywhere; }
  .hero-sub { font-size: 15.5px; line-height: 1.6; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; max-width: 340px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.topic-card { display: block; padding: 26px 24px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); height: 100%; }
.topic-card:hover { box-shadow: 0 22px 48px -22px rgba(22, 22, 63, .28); border-color: transparent; transform: translateY(-3px); }
.topic-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.topic-card-arrow { width: 15px; height: 15px; color: var(--c-navy-55); transition: transform .3s var(--ease); }
.topic-card:hover .topic-card-arrow { transform: translateX(4px); color: var(--c-navy); }
.topic-card-name { font-family: var(--font-serif); font-size: 18px; color: var(--c-navy); line-height: 1.3; margin-bottom: 8px; }
.topic-card-desc { font-size: 13.5px; color: var(--c-ink-55); line-height: 1.6; }
.bg-navy .topic-card { background: rgba(255, 255, 255, .04); border-color: var(--c-line-on-navy); }
.bg-navy .topic-card-name { color: #fff; }
.bg-navy .topic-card-desc { color: rgba(255, 255, 255, .6); }

.urteil-card { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.urteil-card:hover { box-shadow: 0 24px 52px -24px rgba(22, 22, 63, .3); transform: translateY(-3px); border-color: transparent; }
.urteil-card-media { aspect-ratio: 16/11; overflow: hidden; background: var(--c-navy-06); }
.urteil-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.urteil-card:hover .urteil-card-media img { transform: scale(1.05); }
.urteil-card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.urteil-meta { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-turquoise-dark); }
.urteil-card-title { font-family: var(--font-serif); font-size: 17.5px; line-height: 1.3; color: var(--c-navy); }
.urteil-card-desc { font-size: 13px; color: var(--c-ink-55); line-height: 1.6; }
.urteil-card-highlight { display: flex; align-items: flex-start; gap: 9px; background: var(--c-sand); border-radius: var(--radius-sm); padding: 11px 12px; margin-top: 2px; }
.urteil-card-highlight svg { width: 15px; height: 15px; color: var(--c-turquoise-dark); flex-shrink: 0; margin-top: 1px; }
.urteil-card-highlight span { font-size: 12.5px; line-height: 1.55; color: var(--c-ink-70); }
.urteil-card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--c-line); }
.urteil-card-source { font-size: 11.5px; color: var(--c-ink-35); line-height: 1.4; }
.urteil-card .text-link { flex-shrink: 0; }

.feature-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--c-white); border-radius: var(--radius); border: 1px solid var(--c-line); height: 100%; }
.feature-card p { font-size: 13.5px; line-height: 1.7; }
.bg-sand .feature-card, .bg-mint .feature-card { border-color: transparent; }

.side-card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; }
.side-card h4 { margin-bottom: 14px; }
.side-card-list { display: flex; flex-direction: column; }
.side-card-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--c-line); font-size: 13.5px; color: var(--c-ink); transition: color .2s var(--ease); }
.side-card-list a:first-child { border-top: none; }
.side-card-list a svg { width: 13px; height: 13px; color: var(--c-navy-55); transition: transform .2s var(--ease); flex-shrink: 0; }
.side-card-list a:hover { color: var(--c-navy); }
.side-card-list a:hover svg { transform: translateX(3px); }
.side-card--cta { background: var(--c-navy); color: #fff; border: none; }
.side-card--cta h4 { color: #fff; }
.side-card--cta p { color: rgba(255, 255, 255, .72); font-size: 13.5px; margin-bottom: 18px; }
.side-card--cta .btn { width: 100%; justify-content: center; }

.urteil-group + .urteil-group { margin-top: clamp(40px, 5vw, 60px); }
.urteil-group-title { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--c-navy); margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); font-family: var(--font-sans); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat-num { font-family: var(--font-serif); font-size: clamp(30px, 3.2vw, 42px); font-weight: 500; color: var(--c-navy); line-height: 1; }
.bg-navy .stat-num { color: #fff; }
.stat-label { font-size: 14.5px; line-height: 1.5; color: var(--c-ink-70); margin-top: 8px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 780px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .stat-row { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROSE / CONTENT PAGES (Rechtsgebiet-Unterseiten, Urteile)
   ========================================================================== */
.content-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .85fr); gap: clamp(36px, 4.5vw, 64px); align-items: start; }
.content-layout .sidebar { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 960px) { .content-layout { grid-template-columns: 1fr; } .content-layout .sidebar { position: static; } }

.prose-block { max-width: 720px; }
.prose-block + .prose-block { margin-top: clamp(34px, 4vw, 52px); }
.prose-block h2 { font-size: clamp(21px, 2.2vw, 27px); margin-bottom: 16px; }
.prose-block p { font-size: 15.5px; line-height: 1.85; margin-bottom: 14px; color: var(--c-ink-70); }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block ul { margin: 4px 0 14px 0; }
.prose-block li { list-style: none; padding-left: 24px; position: relative; font-size: 15.5px; line-height: 1.75; color: var(--c-ink-70); margin-bottom: 9px; }
.prose-block li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-turquoise); }
.prose-block a { color: var(--c-navy); border-bottom: 1px solid var(--c-navy-30); font-weight: 500; }
.prose-block a:hover { border-color: var(--c-navy); }
.prose-block strong { color: var(--c-ink); font-weight: 600; }

.compare-block { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 720px; margin: 20px 0 8px; }
.compare-col { background: var(--c-sand); border-radius: var(--radius-sm); padding: 20px 22px; border-top: 3px solid var(--c-turquoise); }
.compare-col:last-child { border-top-color: var(--c-navy); }
.compare-label { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-navy); margin-bottom: 10px; }
.compare-col p { font-size: 13.5px; line-height: 1.65; color: var(--c-ink-70); margin: 0 !important; }
@media (max-width: 560px) { .compare-block { grid-template-columns: 1fr; } }

.glance-box { background: var(--c-mint); border-radius: var(--radius); padding: 26px 28px; margin-bottom: clamp(34px, 4vw, 52px); max-width: 720px; }
.glance-title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--c-navy); margin-bottom: 14px; }
.glance-title svg { width: 18px; height: 18px; color: var(--c-turquoise-dark); }
.glance-box ul { display: flex; flex-direction: column; gap: 9px; }
.glance-box li { list-style: none; padding-left: 22px; position: relative; font-size: 14.5px; line-height: 1.6; color: var(--c-ink-70); }
.glance-box li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-turquoise-dark); }

.callout { display: flex; gap: 14px; align-items: flex-start; background: var(--c-sand); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 16px; }
.callout svg { width: 19px; height: 19px; color: var(--c-turquoise-dark); flex-shrink: 0; margin-top: 2px; }
.callout p { font-size: 14px; line-height: 1.65; color: var(--c-ink-70); margin: 0 !important; }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.faq-item { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 6px 20px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 15px; font-weight: 600; color: var(--c-navy); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { width: 13px; height: 13px; color: var(--c-navy-55); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item p { padding-bottom: 18px; font-size: 14.5px; line-height: 1.7; color: var(--c-ink-70); }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--c-mint); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 44px);
}
.cta-band-text { max-width: 560px; }
.cta-band-text h2 { margin-bottom: 8px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 700px) { .cta-band { flex-direction: column; align-items: flex-start; } .cta-band-actions { width: 100%; } .cta-band-actions .btn { flex: 1; justify-content: center; } }

.intro-block { max-width: 820px; }
.intro-block .lead + .lead { margin-top: 14px; }
.callout--wide { max-width: 820px; margin-top: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.feature-list li { font-size: 13px; line-height: 1.6; color: var(--c-ink-55); padding-left: 16px; position: relative; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-turquoise); }

.fact-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; padding: 18px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.fact-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.55; color: var(--c-ink-70); }
.fact-list li svg { width: 15px; height: 15px; color: var(--c-turquoise-dark); flex-shrink: 0; margin-top: 3px; }

.home-topic-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 6px 0 4px; }
.home-topic-list a { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 14px; font-weight: 500; color: var(--c-ink); transition: color .2s var(--ease), gap .2s var(--ease); }
.home-topic-list a svg { width: 14px; height: 14px; color: var(--c-turquoise-dark); flex-shrink: 0; }
.home-topic-list a:hover { color: var(--c-navy); gap: 14px; }
@media (max-width: 460px) { .home-topic-list { grid-template-columns: 1fr; } }

.section-more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }

/* Werte / Arbeitsweise (Kanzlei-Seite) */
.werte-steps { display: flex; flex-direction: column; }
.werte-step { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--c-line); }
.werte-steps .werte-step:last-child { border-bottom: 1px solid var(--c-line); }
.werte-step-num { font-family: var(--font-serif); font-size: 26px; color: var(--c-turquoise-dark); flex-shrink: 0; width: 44px; }
.werte-step h4 { margin-bottom: 6px; font-size: 16px; }
.werte-step p { font-size: 14px; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--c-ink-70); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 13px 14px; font-family: var(--font-sans); font-size: 15px; color: var(--c-ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease); outline: none;
}
.field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5L5 6.5L8 3.5' stroke='%2316163f' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 10px 10px; background-position: right 15px center; padding-right: 38px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--c-navy); box-shadow: 0 0 0 3px var(--c-navy-06); }
.field input::placeholder, .field textarea::placeholder { color: var(--c-ink-35); }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-check { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 24px; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-navy); flex-shrink: 0; }
.field-check label { font-size: 13px; color: var(--c-ink-55); font-weight: 400; line-height: 1.5; }
.field-check a { color: var(--c-navy); border-bottom: 1px solid var(--c-navy-30); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.custom-select { position: relative; }
.custom-select-button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 14px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-white);
  font-family: var(--font-sans); font-size: 15px; color: var(--c-ink); text-align: left;
  transition: border-color .25s var(--ease);
}
.custom-select-button:hover, .custom-select.is-open .custom-select-button { border-color: var(--c-navy); }
.custom-select-button svg { width: 11px; height: 11px; color: var(--c-navy); flex-shrink: 0; transition: transform .2s var(--ease); }
.custom-select.is-open .custom-select-button svg { transform: rotate(180deg); }
.custom-select-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; max-height: 260px; overflow-y: auto;
  padding: 8px; background: var(--c-white); border-radius: var(--radius-sm); border-top: 3px solid var(--c-turquoise);
  box-shadow: 0 26px 60px -28px rgba(22, 22, 63, .4);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.custom-select.is-open .custom-select-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-select-option { display: block; width: 100%; padding: 10px 12px; font-size: 14px; color: var(--c-ink); text-align: left; border-radius: 6px; }
.custom-select-option:hover, .custom-select-option.is-selected { background: var(--c-sand); color: var(--c-navy); }

.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-status { font-size: 13.5px; margin-top: 16px; display: none; padding: 13px 16px; border-radius: var(--radius-sm); }
.form-status.is-ok { display: block; background: var(--c-mint); color: var(--c-navy); }
.form-status.is-err { display: block; background: rgba(200, 60, 40, .1); color: #8a2c1c; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.info-card { background: var(--c-mint); border-radius: var(--radius); padding: 30px; }
.info-row { display: flex; gap: 15px; padding: 15px 0; border-top: 1px solid rgba(22, 22, 63, .1); }
.info-row:first-of-type { border-top: none; padding-top: 0; }
.info-row svg { width: 18px; height: 18px; color: var(--c-turquoise-dark); flex-shrink: 0; margin-top: 2px; }
.info-row div { font-size: 14.5px; line-height: 1.6; color: var(--c-ink-70); }
.info-row a:hover { color: var(--c-navy); }

.contact-grid { grid-template-columns: 1.15fr .85fr; }
.contact-panel h2 { margin-bottom: 22px; }
.contact-panel--form form { display: flex; flex-direction: column; }
.contact-panel--form .field:has(textarea) { display: flex; flex-direction: column; }
.contact-panel--form textarea { flex: 1; min-height: 170px; }
.form-note { font-size: 12px; color: var(--c-ink-35); margin-top: 14px; line-height: 1.6; }
.post-note { font-size: 12.5px; color: var(--c-ink-55); margin-top: 16px; line-height: 1.6; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.map-frame { border: none; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); filter: grayscale(15%) contrast(1.02); }
.map-wrap { border-radius: var(--radius); overflow: hidden; min-height: 340px; }

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal { opacity: 1; transform: none; }
html.js-anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
html.js-anim .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { html.js-anim .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--c-navy); color: rgba(255, 255, 255, .82); padding-block: clamp(56px, 6vw, 80px) 28px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2.4fr; gap: clamp(32px, 5vw, 72px); padding-bottom: 44px; border-bottom: 1px solid var(--c-line-on-navy); }
.footer-brand img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .58); max-width: 320px; margin-bottom: 20px; }
.footer-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--c-turquoise); border-bottom: 1px solid rgba(121, 183, 178, .5); padding-bottom: 3px; }
.footer-cta svg { width: 13px; height: 13px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .42); margin-bottom: 16px; }
.footer-col h5 a { color: inherit; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .78); padding: 6px 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }

.footer-contact-row { display: flex; flex-wrap: wrap; gap: 30px; padding-block: 32px; border-bottom: 1px solid var(--c-line-on-navy); }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: rgba(255, 255, 255, .75); min-width: 200px; flex: 1; }
.footer-contact-item svg { width: 17px; height: 17px; color: var(--c-turquoise); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a:hover { color: #fff; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MISC / UTILITY
   ========================================================================== */
.center-text { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 21px; margin: 36px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 16.5px; margin: 22px 0 8px; }
.legal-body p { font-size: 14.5px; line-height: 1.8; margin-bottom: 12px; }
.legal-body ul { margin: 6px 0 12px 4px; }
.legal-body li { list-style: none; padding-left: 20px; position: relative; font-size: 14.5px; line-height: 1.75; color: var(--c-ink-70); margin-bottom: 6px; }
.legal-body li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-turquoise); }
.legal-body a { color: var(--c-navy); border-bottom: 1px solid var(--c-navy-30); }

.error-page { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 60vh; padding-block: var(--section-y); }
.error-page .kicker { justify-content: center; }
.error-page .kicker::before { display: none; }
