/*
Theme Name: Stojisavlević Kanzlei
Theme URI: https://example.com/
Author: Stojisavlević
Description: Minimalistisches WordPress-Theme für eine anwaltliche Boutique. Digitale Visitenkarte mit Fokus auf Recht, Strategie und Durchsetzung.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stojislavlevic-kanzlei
Tags: one-column, custom-logo, custom-menu, featured-images, accessibility-ready, block-styles, wide-blocks
*/

:root {
  --ink: #101214;
  --muted: #62676d;
  --paper: #f7f6f2;
  --white: #ffffff;
  --line: #deddd8;
  --accent: #8b7553;
  --accent-dark: #66543b;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; }
.screen-reader-text:focus { background: var(--white); clip: auto !important; clip-path: none; color: var(--ink); display: block; height: auto; left: 12px; padding: 12px 16px; top: 12px; width: auto; z-index: 100000; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,246,242,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(222,221,216,.8); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { display: flex; align-items: center; flex: 0 0 auto; margin: 0; padding: 0; }
.brand, .custom-logo-link { display: inline-flex; align-items: center; gap: 14px; min-width: 0; margin: 0; padding: 0; }
.custom-logo { display: block; max-height: 42px; width: auto; margin: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-title { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-tagline { color: var(--muted); font-size: 12px; margin-top: 6px; letter-spacing: .04em; }
.main-navigation { display: flex; align-items: center; gap: 28px; }
.main-navigation ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-navigation a { font-size: 14px; font-weight: 600; position: relative; }
.main-navigation a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .2s ease; }
.main-navigation a:hover::after { right: 0; }
.header-cta, .button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--ink); color: var(--white); min-height: 48px; padding: 12px 21px; font-weight: 650; font-size: 14px; transition: .2s ease; }
.header-cta:hover, .button:hover { background: transparent; color: var(--ink); }
.button--secondary { background: transparent; color: var(--ink); }
.button--secondary:hover { background: var(--ink); color: var(--white); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px 0; background: var(--ink); }

.hero { padding: clamp(90px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: clamp(48px, 8vw, 120px); align-items: end; }
.eyebrow { color: var(--accent-dark); font-size: 12px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 26px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8vw, 104px); line-height: .98; letter-spacing: -.045em; margin: 0; max-width: 900px; }
.hero-copy { color: var(--muted); font-size: clamp(18px, 2vw, 22px); margin: 34px 0 0; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-aside { border-top: 1px solid var(--ink); padding-top: 24px; }
.hero-aside strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 14px; }
.hero-aside p { color: var(--muted); margin: 0; }

.section { padding: clamp(74px, 9vw, 125px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .5fr 1.5fr; gap: 60px; margin-bottom: 56px; }
.section-number { color: var(--accent-dark); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.section-title { font-family: var(--serif); font-size: clamp(38px, 5vw, 66px); line-height: 1.08; font-weight: 400; letter-spacing: -.025em; margin: 0; }
.section-intro { color: var(--muted); max-width: 760px; font-size: 19px; margin: 22px 0 0; }
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.practice-card { padding: 34px 34px 38px 0; border-bottom: 1px solid var(--line); }
.practice-card:nth-child(odd) { padding-right: 52px; border-right: 1px solid var(--line); }
.practice-card:nth-child(even) { padding-left: 52px; }
.practice-card h3 { margin: 0 0 13px; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.practice-card p { margin: 0; color: var(--muted); }

.adviser { background: var(--ink); color: var(--white); }
.adviser .section { border-top: 0; }
.adviser .section-number { color: #cbb996; }
.adviser .section-intro { color: #b8babd; }
.adviser-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: start; }
.adviser-quote { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 62px); line-height: 1.14; letter-spacing: -.025em; margin: 0; }
.adviser-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #373a3d; }
.adviser-list li { padding: 20px 0; border-bottom: 1px solid #373a3d; color: #d8d9da; }

.statement { padding: clamp(90px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.statement-inner { max-width: 940px; }
.statement h2 { font-family: var(--serif); font-size: clamp(52px, 7vw, 96px); line-height: 1; letter-spacing: -.04em; font-weight: 400; margin: 0 0 35px; }
.statement p { color: var(--muted); font-size: 20px; max-width: 760px; }

.profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.profile-mark { aspect-ratio: 4 / 5; background: #e8e6df; display: grid; place-items: center; overflow: hidden; }
.profile-mark img { width: 100%; height: 100%; object-fit: cover; }
.profile-initials { font-family: var(--serif); font-size: clamp(76px, 10vw, 140px); color: #9f9b91; letter-spacing: -.08em; }
.profile-copy h2 { font-family: var(--serif); font-size: clamp(40px, 5vw, 68px); line-height: 1.05; font-weight: 400; margin: 0 0 28px; }
.profile-copy p { color: var(--muted); font-size: 19px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.profile-meta span { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }

.contact-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.contact-panel h2 { font-family: var(--serif); font-size: clamp(46px, 6vw, 82px); line-height: 1; letter-spacing: -.035em; font-weight: 400; margin: 0; }
.contact-details { border-top: 1px solid var(--ink); padding-top: 26px; }
.contact-details p { margin: 0 0 12px; color: var(--muted); }
.contact-details a:not(.button) { text-decoration: underline; text-underline-offset: 4px; }
.contact-button { margin-top: 14px; }

.content-area { padding: 90px 0 120px; }
.entry-header { max-width: 850px; margin-bottom: 46px; }
.entry-title { font-family: var(--serif); font-size: clamp(44px, 6vw, 78px); line-height: 1.05; font-weight: 400; letter-spacing: -.03em; margin: 0; }
.entry-content { max-width: 820px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.5em; }
.entry-content h2, .entry-content h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }

.site-footer { border-top: 1px solid var(--line); padding: 38px 0; font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-end; }
.footer-brand strong { display: block; color: var(--ink); letter-spacing: .09em; text-transform: uppercase; font-size: 13px; }
.footer-brand span { display: block; margin-top: 4px; }
.footer-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-nav a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  body.admin-bar .site-header { top: 46px; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .menu-toggle { display: block; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 24px 16px 30px; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  .header-cta { display: none; }
  .hero-grid, .section-head, .adviser-grid, .profile-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 50px; }
  .section-head { gap: 16px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card, .practice-card:nth-child(odd), .practice-card:nth-child(even) { padding: 28px 0; border-right: 0; }
}

@media (max-width: 520px) {
  .site-tagline { display: none; }
  .hero h1 { font-size: 52px; }
  .hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
