/* ═══════════════════════════════════════════════════════════════════
   Stiftungsprotektor GmbH – Main Stylesheet  v1.0.0
   ═══════════════════════════════════════════════════════════════════ */

/* Google Fonts loaded separately via wp_enqueue_style */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0d1b2a;
  --navy2:  #162537;
  --gold:   #b89040;
  --goldl:  #d4aa5a;
  --goldd:  #8a6c28;
  --cream:  #f8f5f0;
  --cream2: #eeeae3;
  --border: #e5e1da;
  --muted:  #6e6e73;
  --text2:  #3d3d3f;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', -apple-system, sans-serif;
}

/* ── LANGUAGE SWITCHING ── */
html.lang-de .en { display: none !important; }
html.lang-en .de { display: none !important; }

.lang-toggle {
  display: flex; gap: 0; margin-left: 1.5rem;
  border: 1px solid rgba(184,144,64,.35); border-radius: 5px; overflow: hidden;
}
.lang-btn {
  background: transparent; border: none; cursor: pointer;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  padding: .32rem .7rem; color: rgba(255,255,255,.45); transition: all .2s;
}
.lang-btn.active { background: var(--gold); color: #fff; }
.lang-btn:hover:not(.active) { color: #fff; background: rgba(255,255,255,.08); }
.lang-sep { width: 1px; background: rgba(184,144,64,.35); }

body { font-family: var(--sans); background: #fff; color: #1c1c1e; line-height: 1.6; }

/* ── NAV ── */
.sp-nav {
  background: var(--navy); padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; border-bottom: 1px solid #2a3d52;
  position: sticky; top: 0; z-index: 100;
}
.sp-logo {
  font-size: 1.1rem; font-weight: 500; color: #fff;
  font-family: var(--serif); display: block; text-decoration: none;
}
.sp-navlinks { display: flex; gap: .1rem; }
.sp-navlinks a {
  font-size: .69rem; font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
  padding: .38rem .82rem; border-radius: 4px; text-decoration: none; transition: color .2s;
}
.sp-navlinks a:hover, .sp-navlinks a.current { color: #fff; }
.sp-nav-right { display: flex; align-items: center; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  display: grid; grid-template-columns: 1fr 420px;
  min-height: 580px; position: relative; overflow: hidden;
}
.hero-text {
  padding: 72px 3rem 72px 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .62rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.hero-headline { margin-bottom: .75rem; }
.hl-kicker {
  display: block; font-family: var(--serif); font-size: 1.25rem;
  font-weight: 400; color: rgba(255,255,255,.6); letter-spacing: .02em; margin-bottom: .35rem;
}
.hl-main {
  display: block; font-family: var(--serif); font-size: 2.55rem;
  font-weight: 500; color: #fff; line-height: 1.15; margin-bottom: .6rem;
}
.hl-sub1 { display: flex; align-items: center; gap: .75rem; margin-bottom: .3rem; }
.hl-sub1 span, .hl-sub2 span {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
  color: var(--goldl); line-height: 1.2;
}
.hl-sep { color: rgba(255,255,255,.2); font-family: var(--serif); font-size: 1.4rem; font-weight: 300; }
.hl-sub2 { display: flex; align-items: center; gap: .75rem; }

.hero-claim {
  font-family: var(--serif); font-size: .95rem; font-style: italic;
  color: rgba(255,255,255,.48); margin: 1.25rem 0 1.1rem; letter-spacing: .01em;
}
.hero-claim strong { color: var(--goldl); font-style: normal; font-weight: 500; }
.hero-desc { font-size: .9rem; color: rgba(255,255,255,.5); max-width: 470px; line-height: 1.8; margin-bottom: 2.5rem; }

.meta-bar {
  display: flex; gap: 1.75rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap;
}
.meta-val { font-family: var(--serif); font-size: 1.45rem; color: var(--goldl); line-height: 1; display: block; }
.meta-lbl {
  font-size: .6rem; font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.33); display: block; margin-top: .15rem;
}

.hero-img { position: relative; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-img::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--navy) 0%, rgba(13,27,42,.08) 22%, transparent 48%),
    linear-gradient(to bottom, var(--navy) 0%, transparent 8%),
    linear-gradient(to top, var(--navy) 0%, transparent 20%);
  z-index: 1; pointer-events: none;
}
.photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(13,27,42,.95) 0%, transparent 100%);
  z-index: 2;
}
.photo-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: #fff; display: block; margin-bottom: .18rem; }
.photo-role { font-size: .62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--goldl); }
.chambers-badge {
  position: absolute; top: 1.4rem; right: 1.4rem;
  background: rgba(13,27,42,.9); border: 1px solid rgba(184,144,64,.45);
  border-radius: 6px; padding: .8rem 1.1rem; z-index: 2; text-align: center;
}
.cb-val { font-family: var(--serif); font-size: 1.3rem; color: var(--goldl); line-height: 1; display: block; }
.cb-lbl {
  font-size: .56rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.5); display: block; margin-top: .2rem;
}

/* ── VORTEIL ── */
.vorteil { background: var(--navy2); border-top: 1px solid #2a3d52; border-bottom: 1px solid #2a3d52; }
.v-hdr { padding: 1.4rem 2.5rem 1.2rem; border-bottom: 1px solid #2a3d52; }
.v-hdr p { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.v-grid { display: grid; grid-template-columns: repeat(4,1fr); padding: 0 2.5rem; }
.vi { padding: 1.4rem 1.25rem; }
.vi + .vi { border-left: 1px solid #2a3d52; }
.vi-val { font-family: var(--serif); font-size: 1.9rem; color: var(--goldl); line-height: 1; display: block; margin-bottom: .25rem; }
.vi-title { font-size: .79rem; font-weight: 600; color: #fff; margin-bottom: .2rem; }
.vi-text { font-size: .71rem; color: rgba(255,255,255,.4); line-height: 1.55; }

/* ── WERTE ── */
.werte { background: var(--cream); border-bottom: 1px solid var(--border); padding: 26px 2.5rem; }
.w-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.w { display: flex; align-items: flex-start; gap: .85rem; padding: 0 1.25rem; }
.w + .w { border-left: 1px solid var(--border); }
.w-ic {
  width: 36px; height: 36px; min-width: 36px; border-radius: 4px;
  background: rgba(184,144,64,.1); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .1rem;
}
.w-ic svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.w-title { font-size: .81rem; font-weight: 600; color: var(--navy); margin-bottom: .12rem; }
.w-text { font-size: .72rem; color: var(--muted); line-height: 1.55; }

/* ── SECTIONS ── */
.sec { padding: 76px 2.5rem; }
.sec-cream { background: var(--cream); }
.sec-dark { background: var(--navy); }
.lbl { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.rule { width: 40px; height: 2px; background: var(--gold); margin-bottom: 1.2rem; display: block; }
.sec-dark .lbl { color: var(--goldl); }
h2 { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--navy); line-height: 1.25; margin-bottom: 1rem; }
.sec-dark h2 { color: #fff; }
p { color: var(--text2); font-size: .93rem; line-height: 1.75; margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--navy); font-weight: 600; }
.sec-dark strong { color: rgba(255,255,255,.9); }

/* ── CARDS ── */
.cards3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 2rem; display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.card:hover::before { transform: scaleX(1); }
.card-num { font-family: var(--serif); font-size: 2.2rem; color: var(--cream2); line-height: 1; margin-bottom: .65rem; }
.card-title { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); margin-bottom: .5rem; }
.card-text { font-size: .87rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
.card-link {
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--goldd); text-decoration: none; margin-top: auto;
}
.card-link::after { content: " →"; }

.disc {
  background: var(--cream); border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 1.5rem 2rem; margin-top: 2rem;
}
.disc-title { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--goldd); margin-bottom: .55rem; }
.disc p { font-size: .85rem; color: var(--text2); line-height: 1.65; margin: 0; }
.disc strong { color: var(--navy); }

/* ── ANSATZ ── */
.ansatz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ansatz-quote {
  border: 1px solid rgba(184,144,64,.22); border-radius: 8px;
  padding: 2.25rem; position: relative; background: rgba(184,144,64,.04);
}
.ansatz-quote::before {
  content: "\201C"; font-family: var(--serif); font-size: 5rem; color: var(--gold);
  opacity: .15; position: absolute; top: -.75rem; left: 1.25rem; line-height: 1;
}
.ansatz-quote p {
  font-family: var(--serif); font-size: 1.1rem; color: #fff;
  font-style: italic; line-height: 1.72; position: relative; z-index: 1; margin: 0;
}
.attrs { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.attr { display: flex; align-items: flex-start; gap: .75rem; }
.attr-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--goldl); flex-shrink: 0; margin-top: .55rem; }
.attr-text { font-size: .87rem; color: rgba(255,255,255,.58); line-height: 1.6; margin: 0; }
.attr-text strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* ── DR. ARNOLD ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: flex-start; }
.arnold-wrap { position: relative; display: inline-block; width: 100%; }
.arnold-frame { border-radius: 8px; overflow: hidden; }
.arnold-frame img { width: 100%; display: block; object-fit: cover; }
.arnold-badge {
  position: absolute; bottom: -8px; right: -8px;
  background: var(--navy); padding: 1.2rem 1.5rem; border-radius: 8px; min-width: 148px;
}
.arnold-badge-val { font-family: var(--serif); font-size: 1.7rem; color: var(--goldl); line-height: 1; display: block; }
.arnold-badge-lbl {
  font-size: .6rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45); display: block; margin-top: .25rem;
}
.creds { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.cred { display: flex; align-items: flex-start; gap: .6rem; font-size: .87rem; color: var(--text2); line-height: 1.5; }
.cred::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: .52rem; }
.btn-od {
  font-size: .82rem; font-weight: 500; background: transparent; color: var(--navy);
  padding: .68rem 1.4rem; border-radius: 4px; border: 1px solid rgba(13,27,42,.4);
  text-decoration: none; display: inline-block; margin-top: 1.75rem; margin-right: .75rem;
  transition: all .2s;
}
.btn-od:hover { background: var(--navy); color: #fff; }
.btn-gh {
  font-size: .82rem; font-weight: 500; color: var(--goldd);
  display: inline-flex; align-items: center; gap: .35rem;
  text-decoration: none; transition: gap .2s;
}
.btn-gh::after { content: "→"; }
.btn-gh:hover { gap: .6rem; }

/* ── FEATS ── */
.feats { display: flex; flex-direction: column; gap: 1rem; }
.feat { display: flex; gap: .9rem; align-items: flex-start; }
.feat-ic {
  width: 38px; height: 38px; min-width: 38px; border-radius: 4px;
  background: rgba(184,144,64,.12); display: flex; align-items: center; justify-content: center;
}
.feat-ic svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feat-title { font-size: .87rem; font-weight: 600; color: #fff; margin-bottom: .15rem; }
.feat-text { font-size: .81rem; color: rgba(255,255,255,.46); line-height: 1.55; margin: 0; }

/* ── AUDIENCE ── */
.aud-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.aud-item { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 1.2rem; text-align: center; }
.aud-title { font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .2rem; }
.aud-sub { font-size: .72rem; color: var(--muted); margin: 0; }

/* ── LEGAL BAND ── */
.legal-band { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 52px 2.5rem; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.legal-col h3 {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--navy);
  margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border);
}
.legal-row { display: flex; margin-bottom: .65rem; font-size: .88rem; line-height: 1.55; }
.legal-row:last-child { margin-bottom: 0; }
.legal-key { font-weight: 600; color: var(--navy); min-width: 160px; flex-shrink: 0; font-size: .82rem; letter-spacing: .01em; }
.legal-val { color: var(--text2); font-size: .82rem; }
.legal-val a { color: var(--goldd); text-decoration: none; }
.legal-val a:hover { color: var(--gold); }
.legal-note { font-size: .8rem; color: var(--muted); line-height: 1.65; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* ── FOOTER ── */
.sp-footer { background: var(--navy); border-top: 1px solid #2a3d52; padding: 52px 2.5rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.f-logo { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: #fff; display: block; margin-bottom: .9rem; }
.f-desc { font-size: .79rem; color: rgba(255,255,255,.35); line-height: 1.65; margin: 0; }
.f-ct { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: block; }
.f-links { display: flex; flex-direction: column; gap: .4rem; }
.f-links a { font-size: .79rem; color: rgba(255,255,255,.42); text-decoration: none; transition: color .2s; }
.f-links a:hover { color: var(--goldl); }
.eco { margin-bottom: .55rem; }
.eco a { font-size: .79rem; color: rgba(255,255,255,.42); font-weight: 500; text-decoration: none; transition: color .2s; }
.eco a:hover { color: var(--goldl); }
.eco span { font-size: .68rem; color: rgba(255,255,255,.22); display: block; }
.f-bottom {
  border-top: 1px solid #2a3d52; padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.f-copy { font-size: .7rem; color: rgba(255,255,255,.26); margin: 0; }
.f-legal { display: flex; gap: 1.25rem; }
.f-legal a { font-size: .7rem; color: rgba(255,255,255,.38); text-decoration: none; transition: color .2s; }
.f-legal a:hover { color: var(--goldl); }

/* ── PAGE HEADER (Expertise / Leistungen) ── */
.page-hero {
  background: var(--navy); padding: 72px 2.5rem 60px;
  border-bottom: 1px solid #2a3d52;
}
.page-hero h1 {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 500;
  color: #fff; line-height: 1.2; margin-bottom: .75rem;
}
.page-hero p { color: rgba(255,255,255,.5); font-size: .95rem; max-width: 620px; margin: 0; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-box {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 8px; padding: 2.25rem;
}
.contact-box h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--navy); margin-bottom: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 1rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-label { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .15rem; }
.contact-value { font-size: .9rem; color: var(--text2); }
.contact-value a { color: var(--goldd); text-decoration: none; }
.contact-value a:hover { color: var(--gold); }

/* ── BOOK GRID ── */
.books-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.75rem; margin-bottom: 3.5rem; }
.book-card {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.book-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.book-cover { aspect-ratio: 3/4; overflow: hidden; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-info { padding: 1.25rem; flex: 1; }
.book-title { font-family: var(--serif); font-size: 1rem; font-weight: 500; color: var(--navy); margin-bottom: .35rem; line-height: 1.3; }
.book-subtitle { font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .v-grid { grid-template-columns: 1fr 1fr; }
  .w-grid { grid-template-columns: 1fr 1fr; }
  .cards3 { grid-template-columns: 1fr; }
  .ansatz-grid, .split, .legal-grid, .contact-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .books-grid { grid-template-columns: 1fr 1fr; }
  .hl-main { font-size: 2rem; }
  .hl-sub1 span, .hl-sub2 span { font-size: 1.2rem; }
  .sp-nav { padding: 0 1.25rem; }
  .sec { padding: 52px 1.25rem; }
  .sp-footer { padding: 40px 1.25rem 0; }
  .legal-band { padding: 40px 1.25rem; }
}

@media (max-width: 600px) {
  .v-grid { grid-template-columns: 1fr; }
  .w-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .sp-navlinks { display: none; }
}
