/* ============================================================
   Eleni Dimopoulou-Böhne · Rechtsanwältin
   Ruhig, hell, typografisch. Karteikarten-Ästhetik:
   gesperrte Versalien, Haarlinien, viel Raum.
   ============================================================ */

@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/inter-400.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/inter-500.woff2") format("woff2");}
@font-face{font-family:"Spectral";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/spectral-400.woff2") format("woff2");}
@font-face{font-family:"Spectral";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/spectral-500.woff2") format("woff2");}

:root {
  --bone: #FCF8F7;
  --paper: rgba(255, 253, 252, 0.78);
  --header: rgba(239, 226, 227, 0.94);
  --ink: #1B1B1A;
  --ink-soft: #4B4A47;
  --ink-faint: #8E8C87;
  --line: #E8DEDD;
  --line-strong: #CEC0C0;
  --serif: "Spectral", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: var(--bone);
  background-image:
    radial-gradient(ellipse 78% 58% at -6% 4%, rgba(203, 133, 147, 0.28) 0%, rgba(225, 178, 187, 0.15) 38%, transparent 72%),
    radial-gradient(ellipse 68% 54% at 106% 32%, rgba(235, 181, 193, 0.30) 0%, rgba(241, 211, 216, 0.13) 42%, transparent 74%),
    radial-gradient(ellipse 72% 50% at 24% 88%, rgba(218, 151, 166, 0.18) 0%, transparent 72%),
    linear-gradient(135deg, #fffdfb 0%, #fbf2f3 42%, #f7e7ea 68%, #fffaf8 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.2; }

/* Gesperrte Versalien — das Leitmotiv */
.caps {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--ink); color: var(--bone);
  padding: 10px 16px; font-family: var(--sans); font-size: 13px;
  text-decoration: none; transform: translateY(-160%);
  transition: transform 240ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ------- Header ------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-family: var(--serif); font-size: 19px; letter-spacing: 0.04em; color: var(--ink); }
.brand-sub { font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-phone { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: 0.03em; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 12px 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 1px; background: var(--ink); transition: transform 220ms var(--ease), opacity 180ms; }
body.menu-open .nav-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
body.menu-open .nav-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #f4e9e9; padding: 28px; }
.mobile-menu a { display: block; padding: 12px 0; font-family: var(--sans); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.mobile-menu .mm-meta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-faint); display: flex; flex-direction: column; gap: 6px; }
.mobile-menu .mm-meta a { font-family: var(--serif); text-transform: none; letter-spacing: 0; padding: 0; }

/* ------- Visitenkarten-Hero ------- */
.hero { padding: clamp(80px, 12vh, 150px) 0 clamp(70px, 10vh, 130px); }
.hero .card {
  max-width: 760px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.hero .rule { width: 64px; height: 1px; background: var(--line-strong); }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  letter-spacing: 0.06em;
  font-weight: 400;
}
.hero .hero-role { color: var(--ink-soft); }
.hero .h-sub { max-width: 540px; font-size: clamp(17px, 2vw, 19px); color: var(--ink-soft); }
.hero .h-fach { display: flex; flex-direction: column; gap: 8px; }

/* ------- Sektionen ------- */
.section { padding: clamp(64px, 9vh, 110px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(44px, 6vh, 72px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: 0.03em; }
.section-head .rule { width: 48px; height: 1px; background: var(--line-strong); }

/* Rechtsgebiete als drei stille Spalten */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area { background: rgba(253, 249, 248, 0.72); padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.area h3 { font-size: 22px; letter-spacing: 0.04em; }
.area p { font-size: 15.5px; color: var(--ink-soft); }
.area .a-num { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.3em; color: var(--ink-faint); }
.area .a-link { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; margin-top: auto; }
.area .a-link:hover { border-bottom-color: var(--ink); }

/* Fließtext-Sektionen (Kanzlei, Rechtsgebiete-Detail) */
.prose { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.prose p { color: var(--ink-soft); }
.prose h3 { font-size: 24px; letter-spacing: 0.03em; margin-top: 18px; }
.prose ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { padding-left: 26px; position: relative; font-size: 16px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 14px; height: 1px; background: var(--line-strong); }

.detail { max-width: 640px; margin: 0 auto; padding: clamp(48px, 7vh, 80px) 0; display: flex; flex-direction: column; gap: 18px; }
.detail + .detail { border-top: 1px solid var(--line); }
.detail .caps { letter-spacing: 0.3em; }
.detail h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: 0.03em; }
.detail ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.detail ul li { padding-left: 26px; position: relative; font-size: 16px; }
.detail ul li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 14px; height: 1px; background: var(--line-strong); }

/* Kontakt — Karte, keine Formulare */
.contact-card {
  max-width: 640px; margin: 0 auto; background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(40px, 5vw, 64px);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.contact-card .rule { width: 48px; height: 1px; background: var(--line-strong); }
.contact-card .c-row { display: flex; flex-direction: column; gap: 6px; }
.contact-card .c-val { font-size: 19px; color: var(--ink); }
.contact-card .c-val a { text-decoration: none; }
.contact-card .c-val a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-card .c-note { font-size: 15px; color: var(--ink-faint); max-width: 420px; }

.mandate-notice {
  max-width: 640px;
  margin: 28px auto 0;
  padding: clamp(28px, 4vw, 40px);
  background: rgba(247, 231, 234, 0.64);
  border-left: 2px solid rgba(157, 101, 112, 0.48);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mandate-notice .caps { color: var(--ink-soft); letter-spacing: 0.22em; }
.mandate-notice p:not(.caps) { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }

/* Bürogemeinschaft */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 760px; margin: 0 auto; }
.partner { background: rgba(253, 249, 248, 0.72); padding: clamp(32px, 4vw, 48px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; transition: background 200ms; }
.partner:hover { background: var(--paper); }
.partner .p-name { font-size: 20px; color: var(--ink); letter-spacing: 0.03em; }
.partner .p-desc { font-size: 14.5px; color: var(--ink-faint); }

/* ------- Footer ------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(48px, 7vh, 72px) 0 36px; text-align: center; }
.site-footer .f-brand { font-family: var(--serif); font-size: 20px; color: var(--ink); letter-spacing: 0.05em; }
.site-footer .f-caps { margin-top: 8px; }
.site-footer .f-contact { margin-top: 26px; font-size: 15.5px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 4px; }
.site-footer .f-contact a { text-decoration: none; }
.site-footer .f-partners { margin-top: 26px; font-family: var(--sans); font-size: 12.5px; color: var(--ink-faint); }
.site-footer .f-partners a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.site-footer .f-partners a:hover { border-bottom-color: var(--ink); }
.site-footer .f-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-family: var(--sans); font-size: 12.5px; color: var(--ink-faint); }
.site-footer .f-bottom a { color: inherit; text-decoration: none; }
.site-footer .f-bottom a:hover { color: var(--ink); }

/* Rechtstexte */
.legal { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.legal h1 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: 0.03em; }
.legal h3 { font-size: 20px; margin-top: 10px; }
.legal p { font-size: 16px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Sanftes Erscheinen */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 90ms; }
.d2 { transition-delay: 180ms; }

@media (max-width: 880px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: block; }
  .areas { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .site-footer .f-bottom { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
