/* Kanzlei Krüger · Friedrichstadt Düsseldorf · Insolvenzrecht
   Leitidee „Ein Anwalt. Zwei Türen.“: Der erste Bildschirm ist zweigeteilt (Unternehmen | Privat),
   die gewählte Tür schaltet die Inhalte der ganzen Seite um. EIN Akzent Pflaume. */

:root {
  --white: #ffffff;
  --ink: #17121a;
  --ink-2: #4a4350;
  --mute: #8b8490;
  --line: #e6e2e8;
  --soft: #f6f4f7;
  --plum: #7a2c6e;
  --plum-d: #5f1f55;
  --plum-l: #f3e8f1;
  --disp: "Red Hat Display", system-ui, sans-serif;
  --text: "Red Hat Text", system-ui, sans-serif;
  --pad: clamp(20px, 4.4vw, 72px);
  --max: 1400px;
  --ease: cubic-bezier(.25, .8, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.tag { font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, color .3s, box-shadow .3s; color: #fff; }
.head.solid { background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.head .wrap { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand { text-decoration: none; font-family: var(--disp); line-height: 1.05; }
.brand b { display: block; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.switch { margin-left: auto; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.head.solid .switch { background: var(--soft); }
.switch button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-family: var(--disp); font-weight: 600; font-size: 14px; color: inherit; transition: background .25s, color .25s; }
.switch button[aria-pressed="true"] { background: #fff; color: var(--plum); }
.head.solid .switch button[aria-pressed="true"] { background: var(--plum); color: #fff; }
.head .call { font-family: var(--disp); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }

/* ---------- Türen ---------- */
.doors { position: relative; display: flex; height: 100svh; min-height: 620px; max-height: 1000px; background: var(--ink); overflow: hidden; }
.door { position: relative; flex: 1 1 50%; overflow: hidden; color: #fff; text-decoration: none; transition: flex-grow .8s var(--ease); cursor: pointer; border: 0; padding: 0; background: none; text-align: left; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .8s; filter: brightness(.72) saturate(.85); }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 18, 26, .82), rgba(23, 18, 26, .1) 55%); }
.door + .door { border-left: 1px solid rgba(255, 255, 255, .3); }
.doors:hover .door { flex-grow: .8; }
.doors .door:hover { flex-grow: 1.35; }
.door:hover img { transform: scale(1); filter: brightness(.82) saturate(1); }
.door .in { position: absolute; left: clamp(22px, 3.4vw, 56px); right: clamp(22px, 3.4vw, 56px); bottom: clamp(32px, 6vh, 72px); z-index: 2; display: grid; gap: 12px; }
.door .in small { font-family: var(--disp); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.door .in strong { font-family: var(--disp); font-weight: 800; font-size: clamp(36px, 4.6vw, 76px); line-height: .98; letter-spacing: -.035em; }
.door .in span.line { font-size: 17px; opacity: .85; }
.door .in i { font-style: normal; display: inline-flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 700; font-size: 15px; margin-top: 8px; }
.door .in i::after { content: ""; width: 36px; height: 2px; background: currentColor; transition: width .4s var(--ease); }
.door:hover .in i::after { width: 64px; }
.door[aria-pressed="true"] .in i { color: #e7b4dc; }
.doors-title { position: absolute; z-index: 3; left: 50%; top: clamp(120px, 20vh, 200px); transform: translateX(-50%); text-align: center; color: #fff; pointer-events: none; width: min(92%, 900px); }
.doors-title h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(40px, 5.4vw, 88px); line-height: 1; letter-spacing: -.04em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.doors-title h1 em { font-style: normal; color: #e7b4dc; }
.doors-title p { margin-top: 14px; font-size: 18px; opacity: .9; }

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(84px, 10vw, 150px) 0; }
.sec-soft { background: var(--soft); }
.h2 { font-family: var(--disp); font-weight: 800; font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -.04em; }
.h2 em { font-style: normal; color: var(--plum); }
.lead { font-size: 19px; color: var(--ink-2); line-height: 1.6; }

/* Ein Anwalt */
.one { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.one figure { position: relative; }
.one figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.one figure figcaption { position: absolute; right: -1px; bottom: -1px; background: var(--plum); color: #fff; padding: 18px 22px; font-family: var(--disp); }
.one figure figcaption b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.one figure figcaption span { font-size: 13.5px; opacity: .85; }
.one .txt { display: grid; gap: 18px; }
.one .txt p { color: var(--ink-2); }
.one blockquote { margin: 6px 0 0; padding-left: 22px; border-left: 4px solid var(--plum); font-family: var(--disp); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }

/* Bereich (umschaltbar) */
.mode-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px; margin-top: 22px; }
.seg button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-family: var(--disp); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--plum); color: #fff; }
.mode { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.areas { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.area { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.area .n { font-family: var(--disp); font-weight: 800; font-size: 15px; color: var(--plum); padding-top: 4px; }
.area h3 { font-family: var(--disp); font-weight: 700; font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -.02em; line-height: 1.2; }
.area p { color: var(--ink-2); margin-top: 6px; font-size: 16px; }
.mode figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mode figure figcaption { margin-top: 10px; font-size: 13px; color: var(--mute); }
.swap { transition: opacity .3s var(--ease), transform .4s var(--ease); }
.swap.out { opacity: 0; transform: translateY(10px); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 30px 30px 0 0; border-top: 2px solid var(--ink); }
.steps li + li { padding-left: 30px; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--plum); color: #fff; font-family: var(--disp); font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.steps h3 { font-family: var(--disp); font-weight: 700; font-size: 23px; letter-spacing: -.02em; }
.steps p { color: var(--ink-2); margin-top: 8px; }

/* Sekretariat */
.office { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.office .duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.office .duo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; border-radius: 200px 200px 0 0; }
.office .duo h3 { margin-top: 14px; font-family: var(--disp); font-weight: 700; font-size: 20px; }
.office .duo p { font-size: 14.5px; color: var(--mute); }

/* FAQ */
.faq { max-width: 920px; margin: 44px auto 0; border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-family: var(--disp); font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--plum-l); position: relative; }
summary i::before, summary i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 16px; height: 2px; background: var(--plum); transition: transform .3s var(--ease); }
summary i::after { transform: rotate(90deg); }
details[open] summary i::after { transform: rotate(0); }
details p { padding: 0 58px 24px 0; color: var(--ink-2); }
details[data-for]:not([data-for~="all"]) { display: none; }
body[data-mode="u"] details[data-for~="u"], body[data-mode="p"] details[data-for~="p"] { display: block; }

/* Kontakt */
.contact { position: relative; color: #fff; overflow: hidden; }
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.8); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(95, 31, 85, .92), rgba(95, 31, 85, .55)); }
.contact .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); padding-top: clamp(84px, 10vw, 150px); padding-bottom: clamp(84px, 10vw, 150px); }
.contact .h2 em { color: #f0c6e7; }
.contact .lead { color: rgba(255, 255, 255, .85); margin-top: 20px; }
.cdata { display: grid; gap: 18px; align-content: start; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); padding: clamp(22px, 3vw, 40px); backdrop-filter: blur(6px); }
.cdata dt { font-family: var(--disp); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.cdata dd { font-size: 18px; margin-top: 2px; }
.cdata dd.big { font-family: var(--disp); font-weight: 800; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.02em; }
.cdata a { text-decoration: none; border-bottom: 1.5px solid rgba(255, 255, 255, .45); }
.cdata a:hover { border-color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; background: #fff; color: var(--plum); font-family: var(--disp); font-weight: 800; font-size: 15.5px; text-decoration: none; transition: background .2s, color .2s; }
.btn:hover { background: var(--ink); color: #fff; }
.server { display: flex; align-items: center; gap: 10px; font-size: 14px; opacity: .85; margin-top: 26px; }
.flag { display: inline-flex; flex-direction: column; width: 24px; height: 16px; flex: none; }
.flag i { flex: 1; } .flag i:nth-child(1) { background: #000; } .flag i:nth-child(2) { background: #dd0000; } .flag i:nth-child(3) { background: #ffce00; }

/* Footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; padding-top: 44px; padding-bottom: 34px; }
.foot b { display: block; color: #fff; font-family: var(--disp); font-weight: 800; margin-bottom: 8px; }
.foot a { display: block; text-decoration: none; }
.foot a:hover { color: #f0c6e7; }
.foot .base { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .5); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Rechtliches */
.legal-top { background: var(--plum); color: #fff; padding: clamp(130px, 14vw, 190px) 0 clamp(40px, 5vw, 64px); }
.legal-top h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(46px, 6.4vw, 100px); line-height: .96; letter-spacing: -.045em; margin-top: 12px; hyphens: auto; }
.legal-top .tag { color: #f0c6e7; }
.legal { padding: clamp(40px, 5vw, 72px) 0 110px; }
.legal .content { max-width: 76ch; }
.legal h2 { font-family: var(--disp); font-weight: 800; font-size: 23px; letter-spacing: -.02em; margin: 40px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-2); margin-bottom: 12px; }
.legal a { text-decoration-color: var(--plum); text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 960px) {
  .head .call { display: none; }
  .doors { flex-direction: column; height: auto; max-height: none; min-height: 0; }
  .door { min-height: 52svh; flex: none; }
  .door + .door { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
  .doors:hover .door, .doors .door:hover { flex-grow: 0; }
  .doors-title { position: relative; left: 0; top: 0; transform: none; width: 100%; background: var(--ink); padding: 120px var(--pad) 36px; text-align: left; order: -1; }
  .one, .mode-head, .mode, .office, .contact .wrap { grid-template-columns: 1fr; }
  .one figure img, .mode figure img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li + li { padding-left: 0; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .head .wrap { height: 70px; gap: 12px; }
  .brand b { font-size: 19px; }
  .brand span { display: none; }
  .switch button { padding: 8px 12px; font-size: 13px; }
  .door { min-height: 46svh; }
  .area { grid-template-columns: 40px 1fr; }
  details p { padding-right: 0; }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .door, .door img, .swap { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
