/*
Theme Name: Kanzlei Wagner-Maksimovic | Klar & Nah
Theme URI: https://anwalt-kf.de/
Author: Projekt Katja
Description: Schlankes, responsives WordPress-Theme für den Kanzlei-Entwurf. Nutzt bestehendes Logo und Türkis-/Petrol-Farbwelt. Ohne Fremd-CDN, Framework oder Pagebuilder.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary - nur zur Nutzung durch die Kanzlei
Text Domain: katja-kanzlei
*/
:root {
  --petrol: #087f76;
  --petrol-dark: #075e58;
  --turquoise: #55b9b1;
  --mint: #e8f5f3;
  --tint: #f4faf9;
  --ink: #243332;
  --muted: #586563;
  --line: #d9e6e3;
  --white: #fff;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 17px/1.7 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: var(--petrol-dark); text-underline-offset: 3px; }
a:hover { color: var(--petrol); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #e3a45a; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,p,ul { margin-top: 0; }
h1,h2,h3 { line-height: 1.17; letter-spacing: -.027em; font-weight: 650; }
h1 { font-size: clamp(2.45rem, 5.2vw, 4.65rem); max-width: 12ch; }
h2 { font-size: clamp(1.95rem, 3.5vw, 3rem); }
h3 { font-size: 1.2rem; }
p { max-width: 74ch; }
.container { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; top: -120px; left: 15px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 104px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; flex-shrink: 1; min-width: 0; }
.brand img { width: min(400px, 100%); height: auto; }
.brand-fallback { font-size: 1.07rem; font-weight: 700; }
.desktop-nav { display: flex; align-items: center; gap: clamp(13px, 2.1vw, 29px); white-space: nowrap; }
.desktop-nav a, .mobile-nav a { text-decoration: none; font-weight: 620; color: var(--ink); font-size: .9rem; }
.desktop-nav a:hover { color: var(--petrol); }
.desktop-nav a.is-contact { background: var(--petrol); border-radius: 8px; color: var(--white); padding: 12px 17px; }
.desktop-nav a.is-contact:hover { background: var(--petrol-dark); }
.mobile-nav { display: none; }
.eyebrow { color: var(--petrol-dark); font-size: .79rem; text-transform: uppercase; font-weight: 800; letter-spacing: .16em; margin-bottom: 21px; }
.hero { background: linear-gradient(124deg, #f6fbfa 0%, #e8f5f3 96%); overflow: hidden; }
.hero-layout { min-height: 540px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr); gap: clamp(36px,6vw,92px); align-items: center; padding-block: clamp(70px,8vw,124px); }
.hero h1 { margin-bottom: 26px; }
.hero .lead { font-size: clamp(1.07rem,1.8vw,1.28rem); line-height:1.6; max-width: 55ch; }
.hero p:not(.eyebrow) { color: #394d49; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.button { display: inline-block; border-radius: 7px; text-decoration: none; padding: 14px 20px; background: var(--petrol); color: var(--white); font-weight: 700; font-size: .94rem; line-height: 1.2; }
.button:hover { background: var(--petrol-dark); color: var(--white); }
.button.ghost { background: transparent; color: var(--petrol-dark); border: 1px solid var(--petrol); }
.button.ghost:hover { background: var(--white); }
.hero-art { align-self: stretch; display: grid; place-items: center; min-width: 0; }
.hero-art::before { content: '§'; width: min(360px,85%); aspect-ratio:1; border-radius: 50%; color: #ffffff; background: radial-gradient(circle at 31% 27%, #79cfc6, var(--petrol)); font: 500 clamp(9rem,23vw,17rem)/1 Georgia,serif; display:grid; place-items:center; transform:rotate(-9deg); box-shadow: 0 24px 60px #0d6f6540; }
.section { padding-block: clamp(65px,8vw,104px); }
.section-head { margin-bottom: 42px; }
.section-head h2 { margin-bottom: 12px; }
.section-intro { font-size: 1.08rem; max-width: 77ch; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.card { border: 1px solid var(--line); background: var(--white); padding: clamp(22px,2.8vw,33px); border-radius: 13px; min-height: 195px; box-shadow: 0 9px 26px #114a4610; }
.card .count { color: var(--petrol); font-weight: 800; letter-spacing: .1em; font-size: .8rem; }
.card h3 { margin: 19px 0 8px; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }
.band { background: var(--petrol-dark); color: var(--white); }
.band p { color: #e0f3f0; }
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,7vw,95px); align-items: start; }
.two-col h2 { max-width: 15ch; }
.band .eyebrow { color: #bfece6; }
.band a { color: var(--white); }
.prose p+p { margin-top: 14px; }
.light { background: var(--tint); }
.quote-tile { border-left: 5px solid var(--turquoise); padding: 15px 0 15px 24px; font-size: 1.32rem; font-weight: 640; line-height: 1.45; }
.contact-layout { display:grid; grid-template-columns: minmax(0,1.1fr) minmax(240px,.8fr); gap: clamp(24px,6vw,80px); }
.contact-panel { background: var(--tint); border: 1px solid var(--line); border-radius: 13px; padding: 35px; }
.contact-panel a.phone { display:block; font-size:clamp(1.45rem, 2.8vw, 2.05rem); font-weight:750; text-decoration:none; }
.contact-panel .small { font-size: .91rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 36px; background: var(--white); }
.footer-inner { display:flex; gap: 16px 24px; justify-content:space-between; align-items:center; flex-wrap:wrap; }
.footer-inner p { margin:0; color:var(--muted); font-size:.85rem; }
.footer-nav { display:flex; flex-wrap:wrap; gap: 18px; font-size:.84rem; }
.footer-nav a { text-decoration:none; }
.legal-banner { background: #fff6e8; border:1px solid #e7c37c; border-radius:10px; padding:15px 19px; font-size:.88rem; }
@media(max-width: 1050px) {
 .header-inner { min-height: 90px; }
 .brand img { max-width: 345px; }
 .desktop-nav { gap: 13px; }
 .desktop-nav a { font-size: .83rem; }
}
@media(max-width: 800px) {
 .container { width: min(calc(100% - 36px),var(--wrap)); }
 .desktop-nav { display: none; }
 .mobile-nav { display: block; margin-left:auto; }
 .mobile-nav summary { cursor:pointer; padding: 10px 14px; background: var(--petrol); color:white; border-radius:7px; list-style:none; font-size:.9rem; font-weight:700; }
 .mobile-nav summary::-webkit-details-marker { display:none; }
 .mobile-nav[open] { position:relative; }
 .mobile-nav .mobile-links { position:absolute; top:50px; right:0; width:220px; z-index:40; background:white; border:1px solid var(--line); box-shadow:0 14px 30px #123b3630; border-radius:10px; padding:9px; }
 .mobile-nav a { display:block; padding:9px 12px; }
 .hero-layout { grid-template-columns:1fr; padding-block:66px; min-height:0; gap:18px; }
 .hero-art { display:none; }
 .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .two-col,.contact-layout { grid-template-columns:1fr; }
}
@media(max-width: 540px) {
 .brand img { max-width: min(67vw,275px); }
 .cards { grid-template-columns: 1fr; }
 .section { padding-block: 64px; }
 .hero h1 { max-width:14ch; }
 .header-inner { min-height:83px; }
 .contact-panel { padding:25px; }
 .footer-inner { display:block; }
 .footer-nav { margin-top:15px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
