/* ============================================================
   THEME COMPONENTS — header / nav / brand / footer
   Rebuilt class-based from the prototype's inline-styled chrome.
   ============================================================ */

/* ---- sticky header ---- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; backdrop-filter: none; border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur); }
/* Scrolled: matches Rautstein-Website.html prototype — a touch darker + more
   transparent than the navy section, soft blur, hairline border, no shadow. */
.site-header.is-scrolled { background: rgba(12,17,29,0.86); backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--navy-line); box-shadow: none; }
.nav-bar { display: flex; align-items: center; gap: 28px; height: 80px; }
.site-main { padding-top: 80px; }

/* ---- brand / RR monogram ---- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; border: 1.4px solid var(--text-hi);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.brand-rr { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -1px; color: var(--text-hi); }
.brand-words { line-height: 1; }
.brand-name { display: block; font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; color: var(--ink); }
.brand-sub { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0.42em; color: var(--gold-deep); margin-top: 4px; }

/* ---- nav links + underline ---- */
.nav-links { display: flex; gap: 24px; margin-left: 14px; }
.nav-links-list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.navlink { background: none; border: 0; cursor: pointer; padding: 6px 0; position: relative; text-decoration: none;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; flex: 0 0 auto; color: var(--espresso); }
.navlink::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; background: var(--gold-grad);
  width: 0; transition: width var(--dur) var(--ease-out); }
.navlink:hover::after, .navlink.is-active::after, .current-menu-item > .navlink::after { width: 100%; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-cta-desktop.btn { padding: 12px 20px; font-size: 11.5px; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }
.nav-burger .ic { width: 26px; height: 26px; }

/* ---- mobile drawer ---- */
.nav-drawer { overflow: hidden; transition: max-height var(--dur) var(--ease-out);
  background: rgba(11,26,64,0.96); backdrop-filter: blur(14px); }
.nav-drawer-inner { display: flex; flex-direction: column; gap: 4px; padding-block: 8px 18px; }
.nav-drawer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-drawer-list a, .nav-drawer-inner > a.btn { text-align: left; text-decoration: none;
  padding: 13px 0; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line-soft); }

/* ---- footer ---- */
.site-footer { padding-top: var(--sp-9); padding-bottom: var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
.footer-address { color: var(--on-dark-2); font-size: 14.5px; line-height: 1.7; margin-top: 22px; max-width: 300px; }
.footer-mail { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-soft); font-size: 14.5px; margin-top: 18px; }
.footer-mail .ic { width: 16px; height: 16px; }
.footer-legal-links { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.footer-head { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-soft); margin: 0 0 22px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.foot-link { color: var(--on-dark-2); font-size: 14.5px; font-family: var(--sans); text-decoration: none;
  transition: color var(--dur-fast); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.footer-social { display: flex; gap: 12px; margin-bottom: 26px; }
.social-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(241,233,218,0.25);
  display: flex; align-items: center; justify-content: center; color: var(--on-dark); transition: all var(--dur-fast); }
.social-btn .ic { width: 18px; height: 18px; }
.footer-rule { border: 0; height: 1px; background: rgba(241,233,218,0.14); margin: 48px 0 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--on-dark-2); font-size: 12.5px; }
.footer-bottom-links { display: flex; gap: 22px; }

/* ============================================================
   HOME (front-page) components
   ============================================================ */
.hero { position: relative; margin-top: -80px; padding-top: 248px; padding-bottom: var(--section-y); overflow: hidden;
  background: radial-gradient(120% 90% at 70% -10%, rgba(58,78,112,0.55) 0%, rgba(28,38,60,0.25) 38%, transparent 68%); }
.e-con.hero { margin-top: -100px !important; padding-top: 100px !important; }
.hero-eur { position: absolute; right: -2%; top: 40px; font-family: var(--serif);
  font-size: clamp(280px, 38vw, 620px); line-height: 0.8; color: var(--gold); opacity: 0.06;
  pointer-events: none; user-select: none; transform: translateY(0); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero-portrait { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top;
  border-radius: var(--r-lg); border: 1px solid var(--navy-line); display: block; box-shadow: var(--sh-lg); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-num { font-family: var(--serif); font-size: clamp(46px, 5vw, 64px); line-height: 0.9; white-space: nowrap; }
.stat-label { color: var(--on-dark-2); font-size: 14px; line-height: 1.5; margin: 0; max-width: 220px; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg);
  border: 1px solid var(--navy-line); display: block; box-shadow: var(--sh-md); }
.split-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 16px; }
.split-list li { display: flex; gap: 14px; align-items: flex-start; }
.split-list .ic { width: 20px; height: 20px; color: var(--gold-deep); margin-top: 2px; flex: 0 0 auto; }
.split-list span:last-child { font-size: 16.5px; color: var(--fg-2); line-height: 1.5; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; padding: 30px 28px 26px; height: 100%; text-decoration: none; }
.svc-card .svc-icon { width: 28px; height: 28px; color: var(--gold-deep); }
.svc-card h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; margin: 20px 0 10px; letter-spacing: -0.01em; color: var(--ink); }
.svc-card p { font-size: 14.5px; color: var(--fg-2); line-height: 1.55; margin: 0 0 20px; flex: 1; }
.svc-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--gold-deep); white-space: nowrap; }
.svc-link .ic { width: 15px; height: 15px; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.proc-num { font-family: var(--serif); font-size: 46px; color: var(--gold-deep); line-height: 1; }
.proc-rule { height: 1px; background: var(--line); margin: 16px 0; position: relative; }
.proc-rule::before { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 38px; background: var(--gold-grad); }
.proc-step h4 { font-size: 16px; margin: 0 0 8px; }
.proc-step p { font-size: 13.5px; color: var(--taupe); line-height: 1.5; margin: 0; }

.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band .cta-glow { position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(252,61,79,0.16), transparent 60%); }
.cta-band h2 { margin: 0 auto 28px; max-width: 760px; }

.teaser-card { cursor: pointer; height: 100%; display: flex; flex-direction: column; text-decoration: none; }
.teaser-media { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(130% 130% at 82% 8%, rgba(252,61,79,0.20), transparent 56%), linear-gradient(155deg, var(--navy-raise) 0%, var(--navy-deep) 100%);
  aspect-ratio: 16/10; border-bottom: 1px solid var(--line); border-radius: var(--r-md) var(--r-md) 0 0; }
.teaser-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.teaser-badge { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--gold-tint);
  border: 1px solid rgba(252,61,79,0.35); display: inline-flex; align-items: center; justify-content: center; }
.teaser-badge .ic { width: 34px; height: 34px; color: var(--gold-deep); }
.teaser-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.teaser-body h3 { font-family: var(--serif); font-size: 23px; margin: 0 0 10px; line-height: 1.1; }
.teaser-body p { font-size: 14px; color: var(--fg-2); line-height: 1.55; margin: 0 0 18px; flex: 1; }
.teaser-date { font-size: 12.5px; color: var(--taupe); }

.section-head-row { display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }

.route-fade { animation: routeIn 0.5s var(--ease-out); }
  @keyframes routeIn { from { transform: translateY(12px); } to { transform: none; } }

/* ============================================================
   KARRIERE — hero photo background + transparent form card
   ============================================================ */
body.page-id-4368 .krf-form {
  --krf-bg: rgba(10,20,58,0.68);
  --krf-bg-alt: rgba(18,35,82,0.75);
  --krf-border: rgba(50,75,140,0.55);
}
body.page-id-4368 .krf-card {
  background: rgba(10,20,58,0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(50,75,140,0.50);
  box-shadow: 0 24px 64px rgba(4,10,32,0.45);
}
body.page-id-4368 .consult-top {
  background:
    linear-gradient(
      180deg,
      rgba(7,11,28,0.84) 0%,
      rgba(7,11,28,0.62) 48%,
      rgba(7,11,28,0.80) 100%
    ),
    url('https://new.rostislavrautstein.de/wp-content/uploads/2026/06/karriere-1024x572.png')
    center 25% / cover no-repeat;
}

/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ============================================================
   LIFEHACKS — archive + single
   ============================================================ */
.blog-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer; padding: 9px 18px; border-radius: var(--r-pill); transition: all var(--dur-fast);
  border: 1px solid var(--line); background: transparent; color: var(--espresso); }
.filter-btn.active { border-color: var(--gold); background: var(--gold); color: var(--on-accent); }
.lifehack-item.hidden { display: none; }

.single-content { font-size: 16.5px; color: var(--fg-2); line-height: 1.7; }
.single-content h2 { font-size: var(--t-h3); margin: 40px 0 16px; color: var(--ink); }
.single-content h3 { font-size: var(--t-h4); margin: 32px 0 12px; color: var(--ink); }
.single-content p { margin: 0 0 20px; color: var(--fg-2); }
.single-content ul, .single-content ol { padding-left: 24px; margin: 0 0 20px; }
.single-content li { margin-bottom: 8px; color: var(--fg-2); }
.single-content a { color: var(--coral-soft); text-decoration: underline; }
.single-content strong { color: var(--ink); font-weight: 600; }
.single-content * { color: inherit; }
.single-content .wp-block-group, .single-content .wp-block-column,
.single-content .wp-block-cover, .single-content .wp-block-media-text { color: var(--fg-2); }

/* ============================================================
   PODCAST
   ============================================================ */
.podcast-feature { display: grid; grid-template-columns: 260px 1fr; gap: 36px;
  background: var(--navy-deep); border: 1px solid var(--navy-line);
  border-radius: var(--r-lg); padding: 32px; align-items: center; margin-bottom: 48px; }
.pod-track { height: 6px; border-radius: 999px; background: rgba(241,233,218,0.18);
  cursor: pointer; position: relative; margin-bottom: 12px; }
.pod-progress { position: absolute; left: 0; top: 0; height: 6px; border-radius: 999px; background: var(--gold-grad); }
.pod-thumb { position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 13px; height: 13px; border-radius: 50%; background: var(--gold-soft); }
.pod-times { display: flex; justify-content: space-between; color: var(--on-dark-2);
  font-size: 12px; font-family: var(--mono); margin-bottom: 22px; }
.pod-controls { display: flex; align-items: center; gap: 18px; }
.pod-ctrl-sm { width: 44px; height: 44px; border-radius: 50%; background: transparent;
  color: var(--on-dark); border: 1px solid rgba(241,233,218,0.3); cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.pod-ctrl-lg { width: 56px; height: 56px; border-radius: 50%; background: var(--gold);
  color: var(--on-accent); border: 0; cursor: pointer; display: flex;
  align-items: center; justify-content: center; box-shadow: var(--sh-gold); }
.pod-ctrl-sm:hover { border-color: var(--gold-soft); }
.pod-ctrl-lg:hover { filter: brightness(1.1); }

.pod-row { width: 100%; display: grid; grid-template-columns: 48px 1fr auto; gap: 20px;
  align-items: center; padding: 20px 22px; border-radius: var(--r-md); cursor: pointer;
  border: 1px solid transparent; background: transparent; transition: all var(--dur-fast); }
.pod-row.active { background: var(--paper); border-color: var(--line); }
.pod-row:hover:not(.active) { background: rgba(241,233,218,0.04); }
.pod-num { font-family: var(--serif); font-size: 26px; color: var(--gold-deep); }
.pod-title { display: block; font-size: 16.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.pod-date { font-size: 13px; color: var(--taupe); }
.pod-meta { display: flex; align-items: center; gap: 14px; color: var(--taupe); font-size: 13px; }

/* ============================================================
   WEBINARS
   ============================================================ */
.webinar-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 32px;
  align-items: center; padding: 26px 30px; }
.webinar-date-col { text-align: center; border-right: 1px solid var(--line); padding-right: 24px; }
.webinar-date { font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1; }
.webinar-time { font-size: 13px; color: var(--taupe); margin-top: 6px; }
.webinar-title { font-family: var(--serif); font-size: 24px; margin: 8px 0 6px; }
.webinar-status { font-size: 13.5px; color: var(--taupe); }
  .foot-link:hover { color: var(--coral-soft) !important; }
  .social-btn:hover { border-color: var(--coral) !important; color: var(--coral-soft) !important; background: rgba(252,61,79,0.12); }
  /* responsive */
  @media (max-width: 980px) {
    .hero-grid, .split-grid, .consult-grid, .podcast-feature { grid-template-columns: 1fr !important; }
    .stats-grid { grid-template-columns: 1fr 1fr !important; }
    .services-grid { grid-template-columns: 1fr 1fr !important; }
    .process-grid { grid-template-columns: 1fr 1fr !important; }
    .team-grid { grid-template-columns: 1fr 1fr !important; }
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 40px !important; }
    .consult-rail { position: static !important; }
  }
  @media (max-width: 720px) {
    .nav-links, .nav-cta-desktop { display: none !important; }
    .nav-burger { display: inline-flex !important; }
    .services-grid, .process-grid, .team-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr !important; }
    .webinar-row { grid-template-columns: 1fr !important; gap: 18px !important; text-align: left; }
    .e-con.wrap { padding-inline: 20px !important; }
  }
