/*
Theme Name: Kanzlei Uschinski
Theme URI: https://www.uschinski.de
Author: Silvia Uschinski
Description: Elegantes, dunkles Theme für die Strafverteidigerin Silvia Uschinski. Marineblau mit kühlem Akzent, Newsreader + Hanken Grotesk, Scroll-Animationen. Tätigkeitsgebiete als flexibler Inhaltstyp, Texte editierbar im Customizer und Block-Editor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kanzlei-uschinski
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --accent: #36d6c3;
  --accent-rgb: 54, 214, 195;
  --navy-900: #081427;
  --navy-850: #0a1830;
  --navy-800: #0c1d3a;
  --ink: #eaf0f8;
  --muted: rgba(234, 240, 248, .62);
  --line: rgba(234, 240, 248, .1);
  --dark-ink: #0b1830;
  --dark-muted: #4a5769;
  --dark-slate: #334155;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

::selection { background: var(--accent); color: var(--navy-900); }

a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }

.container { max-width: 1280px; margin: 0 auto; }

.serif { font-family: 'Newsreader', Georgia, serif; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   REVEAL ANIMATION (progressive enhancement)
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s cubic-bezier(.16, .84, .44, 1), transform .85s cubic-bezier(.16, .84, .44, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 15px 28px;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: var(--navy-900); background: var(--accent); }
.btn--ghost { color: var(--ink); border: 1px solid rgba(234, 240, 248, .22); font-weight: 500; }
.btn--ghost-dark { color: var(--dark-ink); border: 1px solid rgba(11, 24, 48, .2); font-weight: 500; }
.btn--sm { font-size: 13.5px; padding: 11px 20px; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(8, 20, 39, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234, 240, 248, .08);
}
.site-nav__inner {
  padding: 20px clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: 'Newsreader', serif; font-size: 19px; letter-spacing: .04em; }
.brand__role { font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: rgba(234, 240, 248, .72); font-size: 14px; font-weight: 500; transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-burger {
  display: none;
  background: none;
  border: 1px solid rgba(234, 240, 248, .2);
  color: var(--ink);
  width: 42px; height: 42px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 18px;
  align-items: center;
  justify-content: center;
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(8, 20, 39, .97);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 clamp(24px, 8vw, 64px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; color: var(--ink);
  font-family: 'Newsreader', serif; font-size: 34px;
  padding: 14px 0; border-bottom: 1px solid rgba(234, 240, 248, .08);
}
.mobile-menu a:last-child { color: var(--accent); border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px clamp(20px, 5vw, 56px) 80px;
}
.hero__art {
  position: absolute;
  inset: -10% 0 0 0;
  z-index: 0;
  pointer-events: none;
  transform: translateY(0);
  will-change: transform;
  background:
    radial-gradient(60% 50% at 78% 22%, rgba(var(--accent-rgb), .16), transparent 70%),
    radial-gradient(50% 40% at 12% 82%, rgba(40, 90, 180, .18), transparent 72%);
}
.hero__grid {
  position: relative; z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero__eyebrow .rule { width: 34px; height: 1px; background: var(--accent); display: inline-block; }
.hero__title {
  font-family: 'Newsreader', serif; font-weight: 400;
  font-size: clamp(44px, 6.4vw, 86px); line-height: 1.02;
  letter-spacing: -.015em;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lead {
  max-width: 30em; margin-top: 30px;
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65;
  color: rgba(234, 240, 248, .72);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__portrait-wrap { position: relative; }
.hero__corner {
  position: absolute; inset: -16px -16px auto auto;
  width: 120px; height: 120px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.hero__portrait {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(234, 240, 248, .14);
  background-color: var(--navy-800);
  background-size: cover;
  background-position: 40% center;
  background-repeat: no-repeat;
  display: flex; align-items: flex-end;
  padding: 22px;
}
.hero__portrait--placeholder {
  background-image: repeating-linear-gradient(135deg, rgba(234, 240, 248, .05) 0 2px, transparent 2px 11px);
}
.hero__portrait .ph-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px; letter-spacing: .06em;
  color: rgba(234, 240, 248, .5); text-transform: uppercase;
}
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%); z-index: 1;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(234, 240, 248, .4);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy-850);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 42px clamp(20px, 3vw, 40px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num { font-family: 'Newsreader', serif; font-size: 52px; line-height: 1; color: var(--accent); }
.stat__text { font-family: 'Newsreader', serif; font-size: 30px; line-height: 1.05; margin-top: 14px; }
.stat__label { margin-top: 10px; font-size: 13.5px; color: rgba(234, 240, 248, .6); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section { padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 56px); }
.section-head { max-width: 48em; }
.section-head h2 {
  font-family: 'Newsreader', serif; font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08;
  letter-spacing: -.01em; margin-top: 18px;
}

/* ============================================================
   TÄTIGKEITSGEBIETE
   ============================================================ */
.gebiete__grid {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.gebiet-card {
  background: var(--navy-850);
  padding: clamp(28px, 3.5vw, 48px);
  text-decoration: none; color: inherit; display: block;
  transition: background .35s ease;
}
.gebiet-card:hover { background: #102544; }
.gebiet-card__num { font-family: ui-monospace, monospace; font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.gebiet-card__title { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); margin: 18px 0 12px; }
.gebiet-card__desc { font-size: 15px; line-height: 1.6; color: rgba(234, 240, 248, .62); max-width: 34em; }
.gebiet-card__more { margin-top: 22px; font-size: 13px; letter-spacing: .06em; color: var(--accent); }

/* ============================================================
   PROFIL / WERDEGANG
   ============================================================ */
.profil { background: var(--navy-850); border-top: 1px solid var(--line); }
.profil__grid {
  padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 7vw, 96px);
}
.profil__intro h2 {
  font-family: 'Newsreader', serif; font-weight: 400;
  font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08;
  letter-spacing: -.01em; margin: 18px 0 24px;
}
.profil__intro p { font-size: 15.5px; line-height: 1.68; color: rgba(234, 240, 248, .66); max-width: 30em; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: rgba(234, 240, 248, .14); }
.timeline__item { position: relative; padding: 0 0 30px 36px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: rgba(234, 240, 248, .45); }
.timeline__item--now .timeline__dot { left: 0; top: 5px; width: 15px; height: 15px; background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .14); }
.timeline__year { font-family: ui-monospace, monospace; font-size: 13px; color: rgba(234, 240, 248, .5); }
.timeline__item--now .timeline__year { color: var(--accent); }
.timeline__title { font-family: 'Newsreader', serif; font-size: 22px; margin: 5px 0 4px; }
.timeline__sub { font-size: 14px; color: rgba(234, 240, 248, .55); }

/* ============================================================
   PHILOSOPHIE
   ============================================================ */
.philo { position: relative; overflow: hidden; padding: clamp(90px, 13vw, 170px) clamp(20px, 5vw, 56px); text-align: center; }
.philo::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(50% 60% at 50% 50%, rgba(var(--accent-rgb), .1), transparent 70%); }
.philo__inner { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; }
.philo__quote { font-family: 'Newsreader', serif; font-weight: 300; font-style: italic; font-size: clamp(28px, 4.6vw, 58px); line-height: 1.18; letter-spacing: -.01em; }
.philo__author { margin-top: 32px; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }

/* ============================================================
   ABLAUF
   ============================================================ */
.ablauf { background: var(--navy-850); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ablauf__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.step__num { font-family: 'Newsreader', serif; font-size: 46px; color: rgba(var(--accent-rgb), .85); line-height: 1; }
.step__rule { height: 1px; background: rgba(234, 240, 248, .16); margin: 18px 0; }
.step__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step__text { font-size: 14px; line-height: 1.6; color: rgba(234, 240, 248, .6); }

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.kontakt__intro h2 { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -.015em; margin: 18px 0 28px; }
.kontakt__intro p { font-size: 16px; line-height: 1.65; color: rgba(234, 240, 248, .66); max-width: 30em; margin-bottom: 36px; }
.kontakt__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-card { border: 1px solid rgba(234, 240, 248, .14); background: var(--navy-850); padding: clamp(28px, 3.5vw, 44px); }
.contact-card__title { font-family: 'Newsreader', serif; font-size: 22px; margin-bottom: 22px; }
.contact-card__rows { display: grid; gap: 18px; }
.contact-card__divider { height: 1px; background: var(--line); }
.contact-card__k { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px; }
.contact-card__v { font-size: 15.5px; line-height: 1.55; color: rgba(234, 240, 248, .82); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--navy-850); }
.site-footer__inner { padding: 48px clamp(20px, 5vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer__brand { display: flex; flex-direction: column; line-height: 1.1; }
.site-footer__brand .n { font-family: 'Newsreader', serif; font-size: 18px; letter-spacing: .04em; }
.site-footer__brand .r { font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.site-footer__links { display: flex; gap: 28px; font-size: 13.5px; }
.site-footer__links a { text-decoration: none; color: rgba(234, 240, 248, .6); transition: color .2s ease; }
.site-footer__links a:hover { color: var(--ink); }

/* ============================================================
   SUBPAGE (Tätigkeitsgebiet single)
   ============================================================ */
.sub-hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; padding: 0 clamp(20px, 5vw, 56px) clamp(60px, 8vw, 100px); }
.sub-hero__art { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(55% 65% at 22% 38%, rgba(var(--accent-rgb), .13), transparent 66%), radial-gradient(35% 45% at 82% 72%, rgba(40, 90, 180, .12), transparent 58%); }
.sub-hero__inner { position: relative; z-index: 1; width: 100%; }
.breadcrumb { font-size: 13px; color: rgba(234, 240, 248, .45); letter-spacing: .04em; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.breadcrumb a { text-decoration: none; color: rgba(234, 240, 248, .4); }
.breadcrumb .sep { color: rgba(234, 240, 248, .22); }
.breadcrumb .num { font-family: ui-monospace, monospace; color: var(--accent); letter-spacing: .1em; }
.sub-hero__title { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(46px, 7.5vw, 96px); line-height: .97; letter-spacing: -.02em; margin-bottom: 32px; }
.sub-hero__lead { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.62; color: rgba(234, 240, 248, .68); max-width: 40em; }
.sub-content { background: var(--navy-800); padding: clamp(72px, 10vw, 130px) clamp(20px, 5vw, 56px); }
.sub-overview { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(36px, 6vw, 80px); align-items: start; margin-bottom: clamp(52px, 7vw, 84px); }
.sub-overview__head h2 { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.01em; margin-top: 14px; }
.sub-overview__body { font-size: 16px; line-height: 1.72; color: rgba(234, 240, 248, .7); }
.sub-overview__body p { margin-bottom: 18px; }
.sub-overview__body p:last-child { margin-bottom: 0; }
.sub-divider { height: 1px; background: rgba(234, 240, 248, .1); margin-bottom: clamp(48px, 6vw, 76px); }
.sub-steps__eyebrow { margin-bottom: clamp(28px, 4vw, 44px); }
.sub-steps__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.sub-step { padding: clamp(24px, 3vw, 36px); background: rgba(234, 240, 248, .04); border: 1px solid rgba(234, 240, 248, .08); }
.sub-step__num { font-family: 'Newsreader', serif; font-size: 38px; color: var(--accent); opacity: .75; line-height: 1; margin-bottom: 16px; }
.sub-step__title { font-size: 17px; font-weight: 600; margin-bottom: 9px; }
.sub-step__text { font-size: 14.5px; line-height: 1.65; color: rgba(234, 240, 248, .6); }

/* ============================================================
   KONTAKT CTA (light section, shared on subpages)
   ============================================================ */
.cta-light { background: #ffffff; padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 56px); }
.cta-light__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.cta-light h2 { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(32px, 5vw, 54px); color: var(--dark-ink); line-height: 1.06; letter-spacing: -.01em; margin: 16px 0 20px; }
.cta-light p { font-size: 16px; line-height: 1.65; color: var(--dark-muted); max-width: 34em; margin: 0 auto 36px; }
.cta-light__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links, .nav-cta-desktop { display: none !important; }
  .nav-burger { display: flex !important; }
  .hero__grid, .profil__grid, .kontakt__grid, .sub-overview { grid-template-columns: 1fr !important; }
  .stats__grid, .gebiete__grid, .ablauf__grid { grid-template-columns: 1fr 1fr !important; }
  .sub-steps__grid { grid-template-columns: 1fr 1fr !important; }
  .stat { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .stats__grid, .gebiete__grid, .ablauf__grid, .sub-steps__grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   ERGÄNZUNGEN – ans Ende der style.css anhängen
   ============================================================ */

/* --- Gebietsseiten: einspaltiges Artikel-Layout im Basisstil --- */
.sub-overview { display: block; max-width: 760px; }
.sub-overview__head { margin-bottom: 26px; }
.sub-overview__body > :first-child { margin-top: 0; }
.sub-overview__body h2 {
	font-family: 'Newsreader', Georgia, serif; font-weight: 400;
	font-size: clamp(22px, 2.7vw, 29px); line-height: 1.16; letter-spacing: -.01em;
	color: var(--ink); margin: 34px 0 14px;
}
.sub-overview__body h3 {
	font-size: 17px; font-weight: 600; color: var(--ink); margin: 22px 0 6px;
}
.sub-overview__body ul,
.sub-overview__body ol { margin: 0 0 18px; padding-left: 1.2em; }
.sub-overview__body li { margin-bottom: 10px; }
.sub-overview__body li::marker { color: var(--accent); }
.sub-overview__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sub-overview__body strong { color: var(--ink); font-weight: 600; }

/* --- Bewertungen: Zitat-Karussell --- */
.bq { min-height: 150px; }
.bq__text {
	margin: 0; font-family: 'Newsreader', Georgia, serif; font-style: italic;
	font-size: clamp(19px, 2.4vw, 24px); line-height: 1.5; color: rgba(234, 240, 248, .92);
}
.bq__nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.bq__arrow {
	background: none; border: 1px solid rgba(234, 240, 248, .22); color: var(--ink);
	width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
	font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
	transition: border-color .2s ease, color .2s ease;
}
.bq__arrow:hover { border-color: var(--accent); color: var(--accent); }
.bq__dots { display: flex; gap: 8px; margin-left: 8px; }
.bq__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(234, 240, 248, .25); transition: background .3s ease; }
.bq__dot.is-active { background: var(--accent); }

