/* TUTSCH Rechtsanwalt – Stylesheet
   Rein schwarz-weiß, Satoshi lokal gehostet. Breakpoints: 640 / 768 / 1024 px. */

@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #111111;
  --paper: #ffffff;
  --line: rgba(17, 17, 17, 0.12);
  --ink-hover: #333333;
  --header-h: 72px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--line); }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 17px; line-height: 1.6; font-weight: 400;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
input, select, textarea, button { font: inherit; color: inherit; background: none; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
::selection { background: var(--ink); color: var(--paper); }
[id] { scroll-margin-top: var(--header-h); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; }
.skip:focus { top: 16px; }

/* ---------- Typografie & Bausteine ---------- */
.wrap { width: 100%; max-width: 1296px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 72px; }
.line-top { border-top-width: 1px; }
.label { font-size: 12px; font-weight: 500; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.14em; }
.h1 { font-weight: 500; font-size: 46px; line-height: 1.02; letter-spacing: -0.03em; }
.h1-page { font-weight: 500; font-size: 40px; line-height: 1.05; letter-spacing: -0.03em; }
.h1-answer, .h2 { font-weight: 500; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }
.h3 { font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: 19px; line-height: 1.5; max-width: 640px; }
.small { font-size: 15px; }
.tiny { font-size: 14px; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; }
.mt-14 { margin-top: 56px; } .mt-16 { margin-top: 64px; } .mt-20 { margin-top: 80px; }
.mw-640 { max-width: 640px; } .mw-720 { max-width: 720px; } .mw-760 { max-width: 760px; } .mw-900 { max-width: 900px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; line-height: 1.2;
  padding: 14px 24px; border-radius: 2px; border: 1px solid transparent;
  transition: background-color 200ms, color 200ms, border-color 200ms;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-hover); }
.btn-secondary { color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

.tlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tlink:hover { text-decoration-thickness: 2px; }
.hover-u:hover { text-decoration: underline; text-underline-offset: 4px; }
.arrow { display: inline-block; transition: transform 200ms; }
.group:hover .arrow { transform: translateX(4px); }

.box { border-width: 1px; border-radius: 2px; }
.randstrich { border-left: 2px solid var(--ink); padding-left: 20px; }
.inline-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; }

/* Reveal beim Scrollen (nur mit JS aktiv) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 400ms ease, transform 400ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 200ms;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.bar { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 16px; }
.logo-solo img, .menu .logo img { width: 124px; height: auto; }
.logo .logo-partner { display: none; width: 360px; margin-left: -8px; } /* Partner-Logo: laut Datenblatt mind. 360 px breit */
/* Partner-Logo mit zwei Klickflächen, getrennt am Trennstrich der SVG */
.lockup { position: relative; }
.lockup img { width: 100%; height: auto; }
.hit { position: absolute; }
.hit:focus-visible { outline-offset: -2px; }
.lockup-quer .hit { top: 0; bottom: 0; }
.lockup-quer .hit-home { left: 0; width: 66.4%; }
.lockup-quer .hit-entrovy { left: 66.4%; right: 0; }
.lockup-hoch .hit { left: 0; right: 0; }
.lockup-hoch .hit-home { top: 0; height: 48.4%; }
.lockup-hoch .hit-entrovy { top: 48.4%; bottom: 0; }
.bar-right { display: flex; align-items: center; gap: 20px; }
.btn-small { padding: 10px 16px; font-size: 14px; }
.from-sm { display: none; }
.burger { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 7px; width: 44px; height: 44px; }
.burger span { display: block; width: 28px; height: 1.5px; background: var(--ink); }

/* ---------- Burger-Menü ---------- */
.menu {
  position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: var(--paper);
  opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity 250ms ease-out, transform 250ms ease-out, visibility 0s 250ms;
}
.menu.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 250ms ease-out, transform 250ms ease-out; }
.menu .bar { height: var(--header-h); }
.close { position: relative; width: 44px; height: 44px; }
.close span { position: absolute; left: 8px; right: 8px; top: 50%; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.close span + span { transform: rotate(-45deg); }
.menu-body { display: grid; gap: 56px; padding-top: 40px; padding-bottom: 64px; }
.menu-nav a { display: flex; align-items: baseline; gap: 16px; padding-block: 4px; font-size: 34px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.menu-nav .label { width: 28px; flex-shrink: 0; }
.menu-nav a:hover .menu-text { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu-nav .menu-arrow { font-size: 24px; }
.menu-side { border-top-width: 1px; padding-top: 32px; }
.lang button[aria-pressed="false"] { opacity: 0.45; cursor: default; }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; padding-bottom: 72px; }
.quicknav { margin-top: 80px; }
.quicknav ul { display: grid; grid-template-columns: 1fr 1fr; row-gap: 16px; }
.quicknav li { padding-right: 20px; }
.quicknav li:nth-child(even) { border-left-width: 1px; padding-left: 20px; }
.quicknav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Einsatzfelder ---------- */
.fields-grid { display: grid; gap: 24px; align-items: start; margin-top: 56px; }
.field-card { padding: 32px; transition: border-color 200ms; }
.field-card:hover, .field-card.is-open { border-color: var(--ink); }
.field-quote { margin-top: 24px; font-size: 19px; font-weight: 500; line-height: 1.375; }
.field-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms ease-out; }
.field-card.is-open .field-more { grid-template-rows: 1fr; }
.field-more > div { overflow: hidden; }
.field-more p { margin-top: 16px; border-top-width: 1px; padding-top: 16px; }
.field-toggle { margin-top: 32px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.field-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Raster ---------- */
.split { display: grid; gap: 40px; }
.cols3 { display: grid; gap: 40px; margin-top: 64px; border-top-width: 1px; padding-top: 40px; }
.duo { display: grid; gap: 40px; margin-top: 64px; padding: 28px; }
.rows { border-top-width: 1px; }
.rows > * { border-bottom-width: 1px; padding-block: 16px; }
.rows dt { font-size: 17px; font-weight: 500; }
.rows dd { margin-top: 4px; }

/* ---------- Zeitleiste (Arbeitsweise, Zusammenarbeit) ---------- */
.timeline { position: relative; display: grid; gap: 40px; margin-top: 64px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--ink); }
.timeline li { position: relative; padding-left: 40px; }
.dot { position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); }
.step-no { font-size: 22px; font-weight: 500; }
.step-bar { display: block; margin-top: 12px; height: 2px; width: 32px; }
.timeline .is-active .dot { background: var(--ink); }
.timeline .is-active .step-bar { background: var(--ink); }
.timeline .is-active .h3 { font-weight: 700; }

/* ---------- Mandate-Slider ---------- */
.cases-head { display: flex; flex-direction: column; gap: 32px; }
.slider-ctrl { display: flex; align-items: center; gap: 20px; }
.counter { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.slider-btns { display: flex; gap: 8px; }
.slider-btn { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--ink); font-size: 18px; transition: background-color 200ms, color 200ms; }
.slider-btn:hover { background: var(--ink); color: var(--paper); }
.slider-btn:disabled { opacity: 0.3; pointer-events: none; }
.slides { display: grid; margin-top: 56px; overflow: hidden; }
.slides:focus-visible { outline-offset: 4px; }
.slide { grid-area: 1 / 1; padding: 28px; transition: opacity 350ms ease-out, transform 350ms ease-out; }
.js .slide:not(.is-active) { visibility: hidden; opacity: 0; height: 0; overflow: hidden; padding: 0; border-width: 0; transform: translateX(32px); }
.js .slide.is-before { transform: translateX(-32px); }
.no-js-only { display: none; }
.slide-grid { display: grid; gap: 40px; }
.slide-grid > div:only-child { grid-column: 1 / -1; }
.case-title { margin-top: 16px; max-width: 640px; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.case-steps { position: relative; max-width: 760px; margin-top: 40px; display: grid; gap: 24px; }
.case-steps::before { content: ""; position: absolute; left: 3.5px; top: 8px; bottom: 8px; width: 1px; background: var(--ink); }
.case-steps li { position: relative; padding-left: 32px; }
.case-steps li::before { content: ""; position: absolute; left: 0; top: 4px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); }
.case-steps li:last-child::before { background: var(--ink); }
.case-quote { border-top-width: 1px; padding-top: 32px; }
.case-quote .q { display: block; font-size: 64px; font-weight: 500; line-height: 1; }
.case-quote blockquote { margin-top: 8px; font-size: 19px; line-height: 1.45; }
.dots { display: flex; gap: 8px; margin-top: 24px; }
.dots button { display: flex; height: 24px; align-items: center; }
.dots span { display: block; width: 24px; height: 2px; background: rgba(17, 17, 17, 0.2); transition: background-color 200ms; }
.dots button[aria-current="true"] span { background: var(--ink); }

/* ---------- Suche & Fragenlisten ---------- */
.search { display: flex; height: 64px; align-items: center; border-bottom: 1px solid var(--ink); }
.search input { height: 100%; min-width: 0; flex: 1; font-size: 22px; }
.search input:focus { outline: none; }
.search input::placeholder { color: var(--ink); opacity: 0.55; }
.search button { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; font-size: 22px; }
.qlist li { border-bottom-width: 1px; }
.qlist.ruled { border-top-width: 1px; }
.qlist a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.qlist.big a { padding-block: 24px; }
.qtitle { display: block; font-size: 20px; font-weight: 500; line-height: 1.375; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip { border: 1px solid var(--line); border-radius: 2px; padding: 8px 16px; font-size: 14px; font-weight: 500; transition: border-color 200ms, background-color 200ms, color 200ms; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ---------- Über mich ---------- */
.about { display: grid; gap: 48px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 416px; height: auto; object-fit: cover; border-radius: 2px; }
.edu > div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; border-bottom-width: 1px; padding-block: 16px; }
.edu dt { padding-top: 4px; }

/* ---------- Story ---------- */
.story { padding-block: 88px; }
.story-text { display: grid; gap: 32px; margin-top: 32px; }
.story-text p { font-size: 21px; line-height: 1.45; }
.story-final { margin-top: 48px; font-size: 26px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.story-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 56px; border-top-width: 1px; padding-top: 24px; }
.big-quote { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }

/* ---------- Teaser, Es eilt, Kontakt ---------- */
.teaser { display: grid; gap: 32px; border-top-width: 1px; padding-top: 40px; }
.teaser-section { padding-block: 64px; }
.urgent { border-block-width: 1px; padding-block: 72px; }
.urgent-grid { display: grid; gap: 40px; align-items: center; }
.urgent-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.contact { display: grid; gap: 64px; }
.contact-meta p { margin-top: 4px; }
.muted { opacity: 0.6; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 32px; }
.form-2 { display: grid; gap: 32px; }
.field {
  display: block; width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 10px 0; font-size: 17px; appearance: none; -webkit-appearance: none; transition: border-color 200ms;
}
.field:focus { outline: none; border-bottom: 2px solid var(--ink); padding-bottom: 9px; }
.field::placeholder { color: var(--ink); opacity: 0.55; }
textarea.field { resize: vertical; }
.select-wrap { position: relative; }
.select-wrap select { cursor: pointer; padding-right: 32px; }
.select-wrap svg { pointer-events: none; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); }
.radios { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 16px; }
.radios label { display: inline-flex; align-items: center; gap: 12px; }
.radio { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid var(--ink); border-radius: 50%; display: inline-grid; place-content: center; flex-shrink: 0; }
.radio::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform 150ms; }
.radio:checked::before { transform: scale(1); }
.check { display: inline-flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.check input { margin-top: 5px; width: 16px; height: 16px; accent-color: var(--ink); flex-shrink: 0; }
.error { margin-top: 8px; font-size: 15px; }
.error::before { content: "– "; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done { border-top-width: 1px; padding-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { border-top-width: 1px; padding-top: 80px; padding-bottom: 40px; }
.footer-grid { display: grid; gap: 48px; }
.fl-quer, .fl-hoch { display: block; max-width: 100%; }
.fl-quer { display: none; width: 440px; margin-left: -10px; }
.fl-hoch { width: 260px; margin-left: -10px; }
.footer-claim { margin-top: 24px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.footer-list { display: grid; gap: 8px; font-size: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 64px; border-top-width: 1px; padding-top: 24px; font-size: 13px; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Einordnung (Detail) ---------- */
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin-inline: 8px; }
.short-box { max-width: 820px; margin-top: 48px; padding: 28px; }
.short-box .randstrich { margin-top: 16px; font-size: 20px; line-height: 1.5; }
.prose { max-width: 720px; margin-top: 64px; display: grid; gap: 48px; }
.prose h2.h3 { font-size: 26px; }
.prose p + p { margin-top: 16px; }
.ruled-list { border-top-width: 1px; margin-top: 16px; }
.ruled-list li { border-bottom-width: 1px; padding-block: 12px; }
.num-list { display: grid; gap: 12px; margin-top: 16px; }
.num-list li { display: flex; gap: 16px; }
.num-list li > span:first-child { width: 20px; flex-shrink: 0; opacity: 0.6; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 720px; }
.legal h2 { margin-top: 48px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.legal h2 + p, .legal p + p, .legal h3 + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal h3 { margin-top: 28px; font-size: 18px; font-weight: 500; }
.legal ul { list-style: disc; padding-left: 1.25em; }
.legal li + li { margin-top: 6px; }
.legal h1 + p { margin-top: 40px; }
.legal table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { border-bottom-width: 1px; padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.legal th { font-weight: 500; }
.legal .stand { margin-top: 48px; font-size: 15px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .quicknav ul { display: flex; flex-wrap: wrap; }
  .quicknav li, .quicknav li:nth-child(even) { padding-inline: 20px; border-left-width: 1px; }
  .quicknav li:first-child { padding-left: 0; border-left-width: 0; }
  .form-2 { grid-template-columns: 1fr 1fr; }
  .only-xs { display: none; }
  .from-sm { display: inline; }
  .fl-quer { display: block; }
  .fl-hoch { display: none; }
}

@media (min-width: 768px) {
  body { font-size: 18px; }
  .wrap { padding-inline: 48px; }
  .section { padding-block: 112px; }
  .h1 { font-size: 88px; }
  .h1-page { font-size: 64px; }
  .h1-answer, .h2 { font-size: 48px; }
  .h3 { font-size: 22px; }
  .lead { font-size: 22px; }
  .bar-right { gap: 32px; }
  .menu-nav a { font-size: 48px; }
  .menu-nav .menu-arrow { font-size: 32px; }
  .menu-body { padding-top: 64px; }
  .hero { padding-top: 120px; padding-bottom: 112px; }
  .fields-grid { grid-template-columns: 1fr 1fr; }
  .cols3 { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .duo, .short-box { padding: 48px; }
  .short-box { padding: 40px; }
  .cases-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .slide { padding: 56px; }
  .slide-grid { grid-template-columns: 2fr 1fr; gap: 0; }
  .slide-grid > div:first-child { padding-right: 40px; }
  .case-title { font-size: 32px; }
  .case-quote { border-top-width: 0; border-left-width: 1px; padding-top: 0; padding-left: 40px; }
  .case-quote blockquote { font-size: 22px; }
  .story { padding-block: 144px; }
  .story-text p { font-size: 26px; }
  .story-final { font-size: 36px; }
  .big-quote { font-size: 28px; }
  .teaser { grid-template-columns: 5fr 1fr 6fr; gap: 48px; }
  .teaser > :last-child { grid-column: 3; }
  .teaser-section { padding-block: 88px; }
  .urgent-grid { grid-template-columns: 1fr 1fr; }
  .urgent-actions { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 5fr 1fr 3fr 3fr; }
  .footer-grid > :nth-child(2) { grid-column: 3; }
}

@media (min-width: 1024px) {
  :root { --header-h: 92px; }
  .site-header .logo-solo { display: none; }
  .site-header .logo .logo-partner { display: block; }
  .hero-inner { width: 75%; }
  .menu-body { grid-template-columns: 7fr 1fr 4fr; }
  .menu-side { grid-column: 3; border-top-width: 0; border-left-width: 1px; padding-top: 8px; padding-left: 40px; }
  .split { grid-template-columns: 6fr 1fr 5fr; }
  .split > :last-child { grid-column: 3; align-self: end; }
  .duo { grid-template-columns: 1fr 1fr; gap: 64px; }
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .timeline.three { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .timeline li { padding-left: 0; padding-top: 40px; }
  .dot { top: 0; }
  .about { grid-template-columns: 5fr 1fr 6fr; }
  .about > :last-child { grid-column: 3; }
  .story-inner { margin-left: calc(100% / 6); width: calc(100% * 8 / 12); }
  .contact { grid-template-columns: 5fr 1fr 6fr; }
  .contact > :last-child { grid-column: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
