/*
Theme Name:  Bauexperte Dresden – Ronny Kreher
Theme URI:   https://www.bauexpertedresden.de
Author:      Ronny Kreher
Author URI:  https://www.investment-gutachten.de
Description: Professionelles Theme für Immobiliengutachter Dresden. Landingpage + Blog.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: bauexpertedresden
*/

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
  --night:    #0b1622;
  --night-m:  #152234;
  --elbe:     #1c4a7a;
  --elbe-lt:  #2e6aab;
  --gold:     #c9922a;
  --gold-lt:  #e8ac42;
  --gold-pl:  rgba(201,146,42,.11);
  --bark:     #f6f2eb;
  --white:    #ffffff;
  --g-lt:     #edeae3;
  --g-mid:    #d8d4cc;
  --txt:      #18181e;
  --txt-m:    #46464e;
  --txt-l:    #8a8a96;
  --sh-sm:    0 2px 10px rgba(11,22,34,.07);
  --sh-md:    0 8px 36px rgba(11,22,34,.11);
  --sh-lg:    0 24px 64px rgba(11,22,34,.16);
  --rad:      10px;
  --max-w:    1240px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--txt);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lt); }
ul, ol { padding-left: 1.4em; }

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--night);
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: .5em; }
h3 { font-size: 1.25rem; margin-bottom: .4em; }
h4 { font-size: 1.05rem; }
p  { margin-bottom: 1em; color: var(--txt-m); }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}
.section { padding: 80px 0; }
.section--bark  { background: var(--bark); }
.section--night { background: var(--night); }
.section--white { background: var(--white); }

.eyebrow {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; color: var(--gold); margin-bottom: 10px; display: block;
}
.section-title  { margin-bottom: .5em; }
.section-desc   { font-size: .96rem; max-width: 580px; line-height: 1.74; margin-bottom: 44px; }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 4px; font-size: .9rem;
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: all .25s; text-transform: uppercase; letter-spacing: .07em;
  font-family: var(--font-body); border: none;
}
.btn-gold  { background: var(--gold);  color: var(--night); }
.btn-gold:hover  { background: var(--gold-lt); color: var(--night); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,146,42,.38); }
.btn-dark  { background: var(--night); color: #fff; }
.btn-dark:hover  { background: var(--elbe); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); }
.btn-outline { background: transparent; color: var(--night); border: 1.5px solid var(--night); }
.btn-outline:hover { background: var(--night); color: #fff; }

/* ═══════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(11,22,34,.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,146,42,.2); padding: 12px 0;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.25); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.site-branding { display: flex; flex-direction: column; gap: 1px; }
.site-name {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
  color: #fff; text-decoration: none; line-height: 1.1;
}
.site-tagline {
  font-size: .62rem; color: var(--gold-lt);
  text-transform: uppercase; letter-spacing: .14em; font-weight: 700;
}

/* Nav */
.main-nav ul { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.main-nav a {
  color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 700;
  padding: 7px 12px; border-radius: 4px; transition: all .2s;
  text-decoration: none; text-transform: uppercase; letter-spacing: .06em;
}
.main-nav a:hover,
.main-nav .current-menu-item a { color: var(--gold-lt); background: rgba(201,146,42,.1); }

/* Cert-Badges im Header */
.header-certs { display: flex; gap: 6px; flex-wrap: wrap; }
.cert-badge {
  font-size: .59rem; font-weight: 700; padding: 3px 7px; border-radius: 2px;
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
.cert-badge.gold { background: rgba(201,146,42,.14); border: 1px solid rgba(201,146,42,.32); color: var(--gold-lt); }
.cert-badge.blue { background: rgba(28,74,122,.25); border: 1px solid rgba(46,106,171,.4);  color: #7ab0e0; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none; background: none; border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; padding: 7px 12px; border-radius: 4px; cursor: pointer; font-size: .82rem;
}
.menu-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(155deg, rgba(11,22,34,.95) 0%, rgba(21,34,52,.88) 50%, rgba(11,22,34,.97) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 700"><rect fill="%230b1622" width="1200" height="700"/><path d="M0,700 L0,420 Q150,360 300,400 Q450,440 550,350 Q650,260 800,310 Q950,360 1050,270 Q1150,200 1200,240 L1200,700Z" fill="%23152234" opacity=".8"/><path d="M0,700 L0,500 Q200,460 350,490 Q500,520 620,430 Q740,340 900,390 Q1050,440 1200,370 L1200,700Z" fill="%231c4a7a" opacity=".15"/></svg>') center/cover no-repeat;
  display: flex; align-items: center; padding: 104px 0 80px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 90px;
  background: linear-gradient(to top, var(--white), transparent); pointer-events: none;
}
.hero::before {
  content: ''; position: absolute; right: -120px; top: 50%;
  transform: translateY(-50%); width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(28,74,122,.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 420px; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}
.city-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(28,74,122,.22); border: 1px solid rgba(46,106,171,.38);
  color: #90bfe8; font-size: .74rem; font-weight: 700;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: .1em;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 900; color: #fff;
  line-height: 1.1; margin-bottom: 20px; letter-spacing: -.01em;
}
.hero-title em    { font-style: italic; color: var(--gold-lt); }
.hero-title .city { color: #90bfe8; font-style: normal; }
.hero-desc { font-size: 1rem; color: rgba(255,255,255,.72); max-width: 500px; margin-bottom: 28px; line-height: 1.75; }

.qual-strip { display: flex; flex-direction: column; gap: 7px; margin-bottom: 32px; }
.qual-item  { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.82); }
.qual-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.qual-item strong { color: var(--gold-lt); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   CONTACT FORM CARD
═══════════════════════════════════════════════════ */
.form-card {
  background: #fff; border-radius: var(--rad); padding: 36px;
  box-shadow: var(--sh-lg); position: relative; z-index: 1;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--elbe), var(--gold), var(--elbe-lt));
  border-radius: var(--rad) var(--rad) 0 0;
}
.form-eyebrow { font-size: .63rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.form-title   { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--night); margin-bottom: 20px; }
.form-group   { margin-bottom: 11px; }
.form-group label {
  display: block; font-size: .72rem; font-weight: 700; color: var(--txt-m);
  margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--g-mid); border-radius: 5px;
  font-size: .87rem; font-family: var(--font-body); color: var(--txt);
  background: var(--g-lt); transition: border-color .2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: #fff; }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* CAPTCHA */
.captcha-wrap {
  background: var(--g-lt); border: 1.5px solid var(--g-mid); border-radius: 6px;
  padding: 11px 14px; margin-bottom: 11px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.captcha-question { font-size: .88rem; color: var(--txt-m); font-weight: 700; white-space: nowrap; }
.captcha-question strong { color: var(--night); font-size: .95rem; }
.captcha-input {
  width: 66px; padding: 8px 10px; border: 1.5px solid var(--g-mid); border-radius: 5px;
  font-size: .9rem; font-family: var(--font-body); background: #fff;
  outline: none; text-align: center;
}
.captcha-input:focus { border-color: var(--gold); }
.captcha-hint  { font-size: .68rem; color: var(--txt-l); margin-left: auto; }
.captcha-error { color: #c0392b; font-size: .74rem; margin-top: 4px; display: none; }

.btn-submit {
  width: 100%; background: var(--night); color: #fff; border: none; padding: 13px;
  border-radius: 5px; font-size: .89rem; font-weight: 700; cursor: pointer;
  text-transform: uppercase; letter-spacing: .07em; transition: all .2s; margin-top: 4px;
  font-family: var(--font-body);
}
.btn-submit:hover   { background: var(--elbe); }
.btn-submit:disabled{ opacity: .6; cursor: not-allowed; }
.form-note { font-size: .68rem; color: var(--txt-l); text-align: center; margin-top: 8px; line-height: 1.5; }
.form-note a { color: var(--gold); }
.form-success {
  display: none; background: #e8f5ee; border: 1.5px solid #2a7d4f; border-radius: 6px;
  padding: 18px; text-align: center; color: #1a5c38; font-size: .9rem; font-weight: 700; margin-top: 8px;
}

/* ═══════════════════════════════════════════════════
   TRUST BAND
═══════════════════════════════════════════════════ */
.trust-band { background: var(--night); padding: 14px 0; border-top: 1px solid rgba(201,146,42,.18); }
.trust-items { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; }
.trust-item  { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.62); font-size: .79rem; }
.trust-item .t-dot { color: var(--gold-lt); }
.trust-item strong { color: rgba(255,255,255,.9); }

/* ═══════════════════════════════════════════════════
   SERVICE CARDS
═══════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 42px; }
.service-card {
  background: var(--bark); border-radius: var(--rad); padding: 28px 24px;
  border: 1px solid var(--g-mid); transition: all .3s; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.service-card:hover { background: #fff; box-shadow: var(--sh-md); transform: translateY(-3px); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 1.65rem; margin-bottom: 13px; display: block; }
.service-card h3 { font-size: 1.02rem; margin-bottom: 7px; }
.service-card p  { font-size: .83rem; line-height: 1.65; }
.service-tag { display: inline-block; background: var(--gold-pl); color: var(--gold); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 3px 8px; border-radius: 3px; margin-top: 10px; }

/* ═══════════════════════════════════════════════════
   NUTZUNGSDAUER HIGHLIGHT
═══════════════════════════════════════════════════ */
.nd-highlight {
  background: var(--night); border-radius: 14px; padding: 52px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
  position: relative; overflow: hidden; margin-top: 44px;
}
.nd-highlight::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,146,42,.1) 0%, transparent 70%);
}
.nd-highlight::after {
  content: ''; position: absolute; bottom: -60px; left: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(28,74,122,.15) 0%, transparent 70%);
}
.nd-text h3 { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 14px; line-height: 1.15; }
.nd-text p  { color: rgba(255,255,255,.65); font-size: .91rem; line-height: 1.74; }
.nd-stats   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.nd-stat    { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 7px; padding: 16px; text-align: center; }
.nd-number  { font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; color: var(--gold-lt); line-height: 1; display: block; margin-bottom: 4px; }
.nd-label   { font-size: .7rem; color: rgba(255,255,255,.44); text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
.nd-points  { list-style: none; position: relative; z-index: 1; padding: 0; }
.nd-point   { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.nd-point:last-child { border: none; }
.nd-point-arrow { color: var(--gold-lt); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.nd-point-title { font-size: .87rem; color: rgba(255,255,255,.86); font-weight: 700; display: block; margin-bottom: 2px; }
.nd-point-sub   { font-size: .76rem; color: rgba(255,255,255,.44); line-height: 1.4; }

/* ═══════════════════════════════════════════════════
   ABOUT / PROFIL
═══════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.qual-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 26px; }
.qual-card  { border-radius: 8px; padding: 15px 16px; border: 1px solid var(--g-mid); background: var(--bark); }
.qual-card.rev { background: rgba(28,74,122,.05); border-color: rgba(28,74,122,.22); }
.qual-card .qc-icon { font-size: 1.3rem; margin-bottom: 6px; display: block; }
.qual-card .qc-title { font-size: .81rem; font-weight: 700; color: var(--night); display: block; margin-bottom: 3px; }
.qual-card.rev .qc-title { color: var(--elbe); }
.qual-card .qc-sub   { font-size: .71rem; color: var(--txt-l); line-height: 1.4; }

.profile-panel {
  background: linear-gradient(145deg, var(--night), var(--night-m));
  border-radius: 13px; padding: 42px; position: sticky; top: 96px;
  border: 1px solid rgba(201,146,42,.12);
}
.profile-name { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.profile-role { font-size: .74rem; color: var(--gold-lt); text-transform: uppercase; letter-spacing: .13em; font-weight: 700; margin-bottom: 24px; }
.profile-cert {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px; padding: 10px 13px; color: rgba(255,255,255,.76);
  font-size: .8rem; margin-bottom: 7px; display: flex; gap: 9px; align-items: flex-start; line-height: 1.5;
}
.profile-cert::before { content: '✓'; color: var(--gold-lt); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.profile-cert.rev { border-color: rgba(46,106,171,.3); background: rgba(28,74,122,.12); }
.profile-cert.rev::before { content: '🌍'; }
.profile-contacts { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.profile-contacts a {
  display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7);
  font-size: .87rem; text-decoration: none; padding: 6px 0; transition: color .2s;
}
.profile-contacts a:hover { color: var(--gold-lt); }
.profile-cta {
  display: block; background: var(--gold); color: var(--night); text-align: center;
  padding: 13px; border-radius: 4px; text-decoration: none; font-weight: 700;
  font-size: .88rem; text-transform: uppercase; letter-spacing: .07em;
  margin-top: 16px; transition: all .2s;
}
.profile-cta:hover { background: var(--gold-lt); color: var(--night); }

/* ═══════════════════════════════════════════════════
   STADTTEILE
═══════════════════════════════════════════════════ */
.districts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 12px; margin-top: 34px; }
.district-chip {
  background: #fff; border-radius: 8px; padding: 14px 16px;
  border: 1px solid var(--g-mid); transition: all .25s;
  display: flex; align-items: center; gap: 10px;
}
.district-chip:hover { border-color: var(--gold); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.district-chip .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.district-chip .chip-name { font-size: .87rem; font-weight: 700; color: var(--night); }
.district-chip .chip-sub  { font-size: .73rem; color: var(--txt-l); display: block; }

/* ═══════════════════════════════════════════════════
   BLOG / RATGEBER
═══════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 44px; }

.post-card {
  background: #fff; border-radius: var(--rad); overflow: hidden;
  border: 1px solid var(--g-mid); transition: all .3s;
  display: flex; flex-direction: column;
}
.post-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); border-color: transparent; }
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--g-lt); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: .72rem; color: var(--txt-l); margin-bottom: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.post-meta .cat { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.post-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.3; }
.post-card h3 a { color: var(--night); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { font-size: .85rem; flex: 1; margin-bottom: 16px; }
.post-read-more {
  font-size: .78rem; font-weight: 700; color: var(--gold);
  text-decoration: none; text-transform: uppercase; letter-spacing: .08em;
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
}
.post-read-more:hover { color: var(--gold-lt); gap: 10px; }

/* Single Post */
.single-post-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.post-content { background: #fff; border-radius: var(--rad); padding: 44px; box-shadow: var(--sh-sm); }
.post-content h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 16px; }
.post-content .post-meta { margin-bottom: 24px; }
.post-content .entry-content h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.post-content .entry-content h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.post-content .entry-content p  { margin-bottom: 1.1em; line-height: 1.8; }
.post-content .entry-content ul,
.post-content .entry-content ol  { margin: 0 0 1.1em 1.4em; }
.post-content .entry-content li  { margin-bottom: .4em; }
.post-content .entry-content blockquote {
  border-left: 4px solid var(--gold); padding: 14px 20px; margin: 20px 0;
  background: var(--bark); border-radius: 0 6px 6px 0; font-style: italic;
}
.post-content .entry-content img { border-radius: 8px; margin: 20px 0; }

/* Sidebar */
.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget { background: var(--bark); border-radius: var(--rad); padding: 28px; border: 1px solid var(--g-mid); }
.sidebar-widget h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--night); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.sidebar-cta { background: var(--night); color: #fff; }
.sidebar-cta h4 { color: var(--gold-lt); border-bottom-color: rgba(201,146,42,.3); }
.sidebar-cta p  { color: rgba(255,255,255,.65); font-size: .85rem; }
.sidebar-cta .sidebar-phone { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--gold-lt); display: block; margin: 10px 0; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a,
.pagination span {
  padding: 9px 14px; border-radius: 4px; font-size: .85rem; font-weight: 700;
  border: 1.5px solid var(--g-mid); color: var(--txt-m); text-decoration: none; transition: all .2s;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--gold); color: var(--night); border-color: var(--gold); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer { background: #060e18; padding: 52px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .fb-name { font-family: var(--font-head); font-size: 1.25rem; color: #fff; display: block; margin-bottom: 6px; }
.footer-brand p { font-size: .84rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 280px; }
.footer-certs { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.footer-cert { font-size: .72rem; color: rgba(255,255,255,.45); }
.footer-cert span { color: var(--gold-lt); font-weight: 700; }
.footer-col h5 { font-family: var(--font-head); font-size: .85rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.footer-col a { font-size: .83rem; color: rgba(255,255,255,.44); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.32); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .75rem; color: rgba(255,255,255,.32); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-lt); }

/* ═══════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════ */
.cta-section { background: var(--bark); text-align: center; }
.cta-box {
  max-width: 700px; margin: 0 auto; background: #fff;
  border-radius: 14px; padding: 56px 48px; box-shadow: var(--sh-lg); position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--night), var(--elbe), var(--gold));
}
.cta-phone {
  font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--night);
  display: block; text-decoration: none; margin: 16px 0; transition: color .2s;
}
.cta-phone:hover { color: var(--gold); }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.cta-checks  { display: flex; gap: 18px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.cta-check   { font-size: .76rem; color: var(--txt-l); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1020px) {
  .hero-inner, .about-grid, .nd-highlight, .single-post-wrap, .footer-grid { grid-template-columns: 1fr; }
  .profile-panel { position: static; }
  .header-certs  { display: none; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.is-open { display: block; width: 100%; order: 4; }
  .main-nav.is-open ul { flex-direction: column; padding: 8px 0; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero    { padding: 90px 0 44px; }
  .section { padding: 52px 0; }
  .cta-box { padding: 36px 22px; }
  .form-row, .qual-grid, .nd-stats { grid-template-columns: 1fr; }
  .nd-highlight { padding: 34px 22px; }
  .post-content { padding: 28px 20px; }
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ═══════════════════════════════════════════════════
   WP CORE CLASSES
═══════════════════════════════════════════════════ */
.wp-caption { margin-bottom: 1em; }
.wp-caption-text { font-size: .8rem; color: var(--txt-l); text-align: center; margin-top: 6px; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft   { float: left; margin: 0 1.5em 1em 0; }
.alignright  { float: right; margin: 0 0 1em 1.5em; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ═══════════════════════════════════════════════════
   WPFORMS STYLING – passend zum Theme
═══════════════════════════════════════════════════ */
.wpforms-container { width: 100%; }

/* Felder */
.wpforms-field { margin-bottom: 11px !important; }
.wpforms-field label,
.wpforms-field .wpforms-field-label {
  display: block !important;
  font-size: .72rem !important; font-weight: 700 !important;
  color: var(--txt-m) !important; margin-bottom: 4px !important;
  text-transform: uppercase !important; letter-spacing: .06em !important;
  font-family: var(--font-body) !important;
}
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="url"],
.wpforms-field select,
.wpforms-field textarea {
  width: 100% !important; padding: 10px 12px !important;
  border: 1.5px solid var(--g-mid) !important; border-radius: 5px !important;
  font-size: .87rem !important; font-family: var(--font-body) !important;
  color: var(--txt) !important; background: var(--g-lt) !important;
  transition: border-color .2s !important; outline: none !important;
  box-shadow: none !important;
}
.wpforms-field input:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
  border-color: var(--gold) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.wpforms-field textarea { resize: vertical !important; min-height: 80px !important; }

/* Submit-Button */
.wpforms-submit-container { margin-top: 6px !important; }
.wpforms-submit,
button.wpforms-submit {
  width: 100% !important; background: var(--night) !important;
  color: #fff !important; border: none !important; padding: 13px !important;
  border-radius: 5px !important; font-size: .89rem !important;
  font-weight: 700 !important; cursor: pointer !important;
  text-transform: uppercase !important; letter-spacing: .07em !important;
  transition: all .2s !important; font-family: var(--font-body) !important;
}
.wpforms-submit:hover,
button.wpforms-submit:hover {
  background: var(--elbe) !important;
}

/* Fehlermeldungen */
.wpforms-error-container,
.wpforms-field .wpforms-error {
  color: #c0392b !important; font-size: .74rem !important; margin-top: 4px !important;
}

/* Erfolgsmeldung */
.wpforms-confirmation-container-full,
.wpforms-confirmation-scroll {
  background: #e8f5ee !important; border: 1.5px solid #2a7d4f !important;
  border-radius: 6px !important; padding: 18px !important;
  color: #1a5c38 !important; font-size: .9rem !important;
  font-weight: 700 !important; text-align: center !important;
}

/* Zwei-Spalten-Layout für Vor-/Nachname */
.wpforms-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Pflichtfeld-Stern */
.wpforms-required-label { color: var(--gold) !important; }

/* reCAPTCHA falls aktiviert */
.wpforms-recaptcha-container { margin-bottom: 11px; }

@media (max-width: 500px) {
  .wpforms-field-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   FOTO / PORTRAIT – Ronny Kreher
═══════════════════════════════════════════════════ */

/* ── Profil-Panel Portrait ── */
.profile-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(201,146,42,.18), 0 8px 28px rgba(0,0,0,.35);
  display: block;
}
.profile-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--elbe), var(--night-m));
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(201,146,42,.18), 0 8px 28px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  flex-shrink: 0;
}

/* ── Hero Portrait (klein, neben Qualifikationen) ── */
.hero-portrait-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.hero-portrait {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201,146,42,.15), 0 4px 16px rgba(0,0,0,.35);
  flex-shrink: 0;
}
.hero-portrait-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--elbe), var(--night-m));
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201,146,42,.15), 0 4px 16px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.hero-portrait-text {}
.hero-portrait-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.2;
}
.hero-portrait-title {
  font-size: .72rem;
  color: var(--gold-lt);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}

/* ── Sidebar Portrait ── */
.sidebar-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.sidebar-author-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.sidebar-author-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--elbe), var(--night-m));
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.sidebar-author-name {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.sidebar-author-role {
  font-size: .72rem;
  color: var(--gold-lt);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Über-mich große Fotoversion (about-grid) ── */
.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.about-photo-frame {
  width: 100%;
  max-width: 340px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-lg);
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--night), var(--night-m));
}
.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-photo-frame .photo-placeholder-lg {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  text-align: center;
  padding: 24px;
}
.about-photo-frame .photo-placeholder-lg span {
  font-size: 4rem;
  display: block;
}
.about-photo-badge {
  background: var(--gold);
  color: var(--night);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 8px 20px;
  border-radius: 0 0 14px 14px;
  text-align: center;
  margin-top: -4px;
}

/* ── About-Grid: 3 Spalten auf Desktop ── */
@media (min-width: 1020px) {
  .about-grid[style*="280px"] {
    grid-template-columns: 280px 1fr 1fr !important;
    gap: 36px;
  }
}
@media (max-width: 1020px) {
  .about-grid[style*="280px"] {
    grid-template-columns: 1fr !important;
  }
  .about-photo-frame {
    max-width: 200px;
    margin: 0 auto 24px;
    aspect-ratio: 1/1;
    border-radius: 50%;
  }
  .about-photo-frame img { object-position: center top; }
  .about-photo-badge { border-radius: 0 0 100px 100px; }
}
