/* ===== FONTS (self-hosted, DSGVO, subsetted variable fonts) ===== */
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: optional; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: optional; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ===== CSS VARIABLES ===== */
:root {
  /* Legacy tokens — Handwerk Orange-Stufen statt Frost-Blau (refactored 2026-05-05) */
  --frost-50: #fffbeb; --frost-100: #fef3c7; --frost-200: #fde68a;
  --frost-300: #f59e0b; --frost-400: #d97706; --frost-500: #b45309;
  --frost-600: #b45309; --frost-700: #92400e;
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0;
  --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b;
  --slate-600: #374151; --slate-800: #1e293b; --slate-900: #0f172a;
  --emerald-500: #10b981; --emerald-600: #059669; --emerald-700: #047857;
  --amber-500: #f59e0b;

  /* Redesign tokens (TGA-Gehalt: Türkis-Accent für HVAC/Gebäudetechnik-Branding) */
  /* Brand palette: Gehaltsatlas Navy (#0A0F1A) + TGA-Cyan Accent */
  --accent: #C2410C;
  --accent-dark: #9A3412;
  --accent-light: #FB923C;
  --accent-soft: #FED7AA;

  --navy-950: #050810;
  --navy-900: #0A0F1A;
  --navy-800: #131A2A;
  --navy-700: #1E2942;
  --navy-600: #2A3A5C;

  --ink-900: #0F172A;
  --ink-700: #334155; --ink-600: #334155;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;
  --ink-200: #E2E8F0;
  --ink-100: #F1F5F9;
  --ink-50:  #F8FAFC;

  --paper: #FBFAF7;
  --paper-warm: #F6F3ED;
  --line: #E8E6E0;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 1px rgba(15,23,42,.03);
  --shadow: 0 4px 16px -4px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.04);
  --shadow-lg: 0 24px 48px -16px rgba(15,23,42,.18), 0 8px 16px -8px rgba(15,23,42,.08);

  --fs-display: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --fs-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --fs-mono: ui-monospace, 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace; --fs-serif: var(--fs-display);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
@keyframes waPulse {
  0% { box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes slideInBottom {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
:target { scroll-margin-top: 80px; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.8;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: 'DM Sans', system-ui, -apple-system, sans-serif; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav { background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--slate-200); padding: 12px 0; position: sticky; top: 0; z-index: 100; transition: box-shadow 0.3s; min-height: 56px; will-change: box-shadow; }
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 600; color: var(--slate-900); }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a { color: var(--slate-600); font-size: 0.85rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta { background: var(--accent); color: #fff !important; padding: 7px 16px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; transition: background 0.2s, transform 0.2s; }
.nav-cta:hover { background: var(--accent-dark); text-decoration: none !important; transform: translateY(-1px); }

/* Hamburger menu */
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--slate-900); padding: 4px 8px; line-height: 1; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 12px 0; font-size: 0.85rem; color: var(--slate-600); }
.breadcrumb a { color: var(--slate-600); }
.breadcrumb span { margin: 0 6px; }

/* ===== HERO (shared base) ===== */
.hero { background: linear-gradient(135deg, var(--slate-900) 0%, #0B1D3A 50%, #0D2847 100%); color: #fff; padding: 72px 0 88px; min-height: 420px; contain: layout; }
.hero h1 { font-size: 2.8rem; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent-light, var(--accent)); }
.hero-sub { font-size: 1.15rem; color: var(--slate-400); max-width: 700px; margin-bottom: 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 680px; }
.hero-stat { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 20px; text-align: center; transition: background 0.3s, border-color 0.3s; }
.hero-stat:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.hero-stat-value { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 600; color: var(--accent-light); }
.hero-stat-label { font-size: 0.85rem; color: var(--slate-400); margin-top: 4px; }

/* Live indicator */
.live-dot { display: inline-block; width: 8px; height: 8px; background: #10b981; border-radius: 50%; margin-right: 6px; animation: pulse 2s infinite; vertical-align: middle; }

/* Update badge */
.update-badge { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; color: var(--slate-400); margin-top: 16px; }
.update-badge--light { background: var(--frost-50); border: 1px solid var(--frost-200); color: var(--accent); }

/* ===== SECTIONS ===== */
.section { padding: 72px 0; contain: layout; }
.section-alt { background: #fff; }
.section h2 { font-size: 1.8rem; margin-bottom: 16px; }
.section-intro { font-size: 1.05rem; color: var(--slate-600); margin-bottom: 36px; max-width: 720px; }

/* ===== CTA ===== */
.cta-btn { display: inline-block; background: var(--accent); color: #fff; padding: 14px 36px; border-radius: 10px; font-weight: 700; font-size: 1.05rem; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.cta-btn:hover { background: var(--accent-dark); color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(13,95,184,0.25); }
.cta-section { background: linear-gradient(135deg, var(--slate-900), #0D2847); color: #fff; padding: 72px 0; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: var(--slate-400); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== WHATSAPP STICKY ===== */
.wa-sticky { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: #075E54; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.2); z-index: 99; transition: transform 0.2s; }
.wa-sticky:hover { transform: scale(1.12); text-decoration: none; }
.wa-sticky svg { width: 30px; height: 30px; fill: #fff; }
/* WhatsApp tooltip */
.wa-tooltip { position: absolute; right: 72px; top: 50%; transform: translateY(-50%); background: #fff; color: var(--slate-800); padding: 8px 14px; border-radius: 8px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 12px rgba(0,0,0,0.12); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.wa-tooltip::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: #fff; }
.wa-sticky:hover .wa-tooltip { opacity: 1; }
.wa-tooltip.show-initial { animation: fadeIn 0.5s ease-out 3s both; }

/* ===== MOBILE CTA BAR ===== */
.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #fff; border-top: 1px solid var(--slate-200); padding: 10px 16px; display: none; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 -4px 20px rgba(0,0,0,0.08); transform: translateY(100%); transition: transform 0.3s ease; }
.mobile-cta-bar .cta-btn { padding: 12px 24px; font-size: 0.95rem; flex: 1; text-align: center; }
.mobile-cta-bar .wa-btn-mobile { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #075E54; border-radius: 10px; flex-shrink: 0; }
.mobile-cta-bar .wa-btn-mobile svg { width: 24px; height: 24px; fill: #fff; }
/* M3: When cookie banner visible, shift mobile-cta-bar up to avoid overlap */
body.cookie-banner-visible .mobile-cta-bar { bottom: 96px; transition: bottom 0.3s ease; }

/* SMART-SCROLL v1: scroll-margin-top für Form-Card-IDs (CTAs scrollen direkt zur Form, nicht zur Section-Top mit Intro) */
#hp-form-card, #pp-form-card, #gr-lead-form-wrap, #gehaltsrechner-lead-handwerk-wrap, #cv-check-form, #kontakt-form { scroll-margin-top: 80px; }

/* FILE-DROP-HANDLER v1: Visual feedback fuer drag-and-drop */
.hp-file-drop { transition: border-color .2s, background-color .2s, transform .1s; }
.hp-file-drop-active { border-color: var(--accent) !important; background: rgba(8,145,178,0.08) !important; background: color-mix(in srgb, var(--accent) 8%, transparent) !important; transform: scale(1.01); }
.hp-file-drop-error { border-color: #dc2626 !important; background: rgba(220,38,38,0.08) !important; }

/* ===== FOOTER (full version) ===== */
.footer { background: var(--slate-900); color: var(--slate-300); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; max-width: 540px; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand .footer-logo-img { max-width: 200px; height: auto; }
.footer h4, .footer .footer-title { color: #fff; font-size: 0.95rem; margin-bottom: 12px; font-family: 'DM Sans', sans-serif; display: block; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--slate-300); font-size: 0.9rem; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.85rem; }
/* Simple footer variant (legal pages) */
.footer-simple { background: var(--slate-900); color: var(--slate-300); padding: 32px 0; text-align: center; font-size: 0.85rem; }
.footer-simple a { color: var(--slate-300); }

/* ===== INSIDER TIP ===== */
.insider-tip { background: linear-gradient(135deg, var(--frost-50), #f0f0ff); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; padding: 18px 22px; margin: 32px 0; transition: box-shadow 0.3s; }
.insider-tip:hover { box-shadow: 0 4px 16px rgba(26,124,230,0.1); }
.insider-tip-title { font-weight: 700; color: var(--accent); margin-bottom: 6px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ===== TABLES (shared base) ===== */
.table-wrap { overflow-x: auto; margin-bottom: 32px; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
thead { background: var(--slate-900); color: #fff; }
th { padding: 14px 16px; text-align: left; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
td { padding: 14px 16px; border-bottom: 1px solid var(--slate-100); font-size: 0.95rem; }
tr:last-child td { border-bottom: none; }
tr:hover { background: #f8fafc; }
.salary-highlight { font-weight: 700; color: var(--accent); }

/* ===== LEGAL PAGE CONTENT ===== */
.content { padding: 48px 0 80px; }
.content h1 { font-size: 2rem; margin-bottom: 12px; }
.content h2 { font-size: 1.3rem; margin-top: 32px; margin-bottom: 12px; }
.content h3 { font-size: 1.1rem; margin-top: 20px; margin-bottom: 8px; }
.content p, .content li { color: var(--slate-600); margin-bottom: 12px; }
.content ul { padding-left: 20px; margin-bottom: 12px; }
.update-date { color: var(--slate-600); font-size: 0.9rem; margin-bottom: 32px; }

/* ===== NAV BACK LINK (legal pages) ===== */
.nav-back { color: var(--slate-600); font-size: 0.9rem; }

/* ===== FOOTER CONTAINER MAX-WIDTH (legal pages) ===== */
.footer-container-wide { max-width: 1120px; }

/* ===== FOCUS STYLES ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* ===== SKIP-LINK (CSS-only, A1 — replaces inline onfocus/onblur pattern) ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent, #0891B2);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-size: 0.9rem;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus, .skip-link:focus-visible {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
  text-decoration: none;
}

/* ===== LINK DISTINGUISHABILITY ===== */
p a, .section-intro a, .content a, li a:not(.nav-cta):not(.city-link):not(.card):not(.cta-btn),
main a:not(.btn):not(.hp-btn):not(.hp-btn-primary):not(.hp-btn-ghost):not(.hp-btn-light):not(.hp-hero-calc-cta):not(.hp-job-cta):not(.hp-ratgeber-card):not(.hp-role-card):not(.hp-bl-card):not(.hp-city-card):not(.hp-vergleich-card):not(.hp-testi-card):not(.nav-links a):not(.card):not(.city-link):not(.related-card):not(.job-card):not(.faq-question):not(.cta-btn):not(.calc-cta):not(.nav-cta):not(.job-cta):not(.nav-logo) {
  text-decoration: underline;
  text-decoration-color: var(--frost-200);
  text-underline-offset: 2px;
}
main a:not(.btn):not(.hp-btn):not(.hp-btn-primary):not(.hp-btn-ghost):not(.hp-btn-light):not(.hp-hero-calc-cta):not(.hp-job-cta):not(.hp-ratgeber-card):not(.hp-role-card):not(.hp-bl-card):not(.hp-city-card):not(.hp-vergleich-card):not(.hp-testi-card):not(.nav-links a):not(.card):not(.city-link):not(.related-card):not(.job-card):not(.faq-question):not(.cta-btn):not(.calc-cta):not(.nav-cta):not(.job-cta):not(.nav-logo):hover {
  text-decoration-color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 56px 0 64px; min-height: 360px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--slate-200); padding: 16px 24px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; min-height: 44px; min-width: 44px; padding: 8px 12px; }
  .section { padding: 48px 0; }
  .mobile-cta-bar { display: flex; }
  .wa-sticky { bottom: 80px; right: 16px; width: 48px; height: 48px; }
  .wa-sticky svg { width: 24px; height: 24px; }
  .wa-tooltip, .wa-tooltip.show-initial { display: none !important; opacity: 0 !important; animation: none !important; }
  .footer { padding-bottom: 80px; }
}

@media (min-width: 769px) {
  .hero h1 { font-size: 2.8rem; }
}

/* ===== DESKTOP: HIDE WHATSAPP-ONLY ELEMENTS ===== */
/* Reasoning: Desktop-WhatsApp requires 3+ steps (Web-WA scan + type). Employee feedback: many abandon.
   Mobile keeps 1-tap flow. Impressum is exempted below (legal requirement: WhatsApp contact stays visible as plain text). */
@media (min-width: 768px) {
  .wa-sticky,
  .mobile-cta-bar,
  .hp-btn[href*="wa.me"],
  a[href*="wa.me"].hp-btn-ghost,
  .kontakt-whatsapp-btn,
  .contact-card--whatsapp {
    display: none !important;
  }
}
/* Impressum exception: show sticky WhatsApp button on all viewports (legal contact data) */
body.impressum-page .wa-sticky { display: flex !important; }

/* ===== FAQ-QUESTION BUTTON RESET (A5: native <button> styling) ===== */
button.faq-question {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: inherit;
  margin: 0;
  display: block;
  font-family: inherit;
}

/* ===== KAUFKRAFT TABLE (city pages) ===== */
.kaufkraft-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.kaufkraft-table thead { background: var(--navy-900, #0A0F1A); }
.kaufkraft-table thead th { color: #fff !important; padding: 14px 20px; text-align: left; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.kaufkraft-table tbody td { padding: 14px 20px; border-top: 1px solid var(--line, var(--ink-200)); }
.kaufkraft-table tbody tr:first-child td { border-top: none; }

/* Anchor-Scroll Fix: Sticky-Nav (80px) verdeckt Anchor-Targets + Layout-Shift-Resistenz */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
:target { scroll-margin-top: 80px; }
section[id] { scroll-margin-top: 80px; }
[id="kontakt"], [id="rechner"], [id="rollen"], [id="berufe"] { scroll-margin-top: 80px; }


/* Hero-Calc-CTA: override body.hp-redesign a color rule (specificity fix) */
body.hp-redesign .hp-hero-calc-cta,
body.hp-redesign .hp-hero-calc-cta:hover,
body.hp-redesign .hp-hero-calc-cta:focus,
body.hp-redesign .hp-hero-calc-cta:visited { color: #fff; text-decoration: none; }

/* ===== AUTHOR-BYLINE (EEAT — kuratiert von echten ADVERGY-Personen) ===== */
.author-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 16px;
  margin: 32px 0 0;
  background: var(--ink-50, #F8FAFC);
  border: 1px solid var(--line, #E5E7EB);
  border-left: 3px solid var(--accent, #C2410C);
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-700, #374151);
}
.author-byline-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink-200, #E5E7EB); flex-shrink: 0; object-fit: cover; border: 1px solid var(--line, #E5E7EB); }
.author-byline-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500, #64748B); }
.author-byline-name { font-weight: 600; color: var(--ink-900, #0F172A); text-decoration: none; border-bottom: 1px dotted var(--ink-400, #94A3B8); }
.author-byline-name:hover { border-bottom-color: var(--accent, #C2410C); color: var(--accent, #C2410C); }
.author-byline-role { color: var(--ink-600, #475569); font-size: 0.82rem; }
.author-byline-date { margin-left: auto; font-size: 0.78rem; color: var(--ink-500, #64748B); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .author-byline { padding: 10px 12px; gap: 6px 10px; font-size: 0.82rem; }
  .author-byline-date { margin-left: 0; width: 100%; }
}

/* ===== TEAM-PAGE (autoren/team) ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.team-card { background: #fff; border: 1px solid var(--line, #E5E7EB); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.team-card-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 8px;
  border: 2px solid var(--accent, #C2410C);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card-photo:hover {
  transform: scale(1.04);
}
.team-card-photo-placeholder { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-soft, #FFEDD5), var(--ink-100, #F1F5F9)); border: 1px solid var(--line, #E5E7EB); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; color: var(--accent, #C2410C); font-family: var(--fs-serif, Georgia, serif); margin-bottom: 4px; }
.team-card-name { font-size: 1.2rem; font-weight: 700; color: var(--ink-900, #0F172A); margin: 0; }
.team-card-role { font-size: 0.88rem; color: var(--accent, #C2410C); font-weight: 600; margin: 0; }
.team-card-bio { font-size: 0.92rem; color: var(--ink-700, #374151); line-height: 1.6; margin: 4px 0 0; }
.team-card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line, #E5E7EB); font-size: 0.82rem; color: var(--ink-600, #475569); }
.team-card-meta a { color: var(--accent, #C2410C); text-decoration: none; }
.team-card-meta a:hover { text-decoration: underline; }
.team-card-todo { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #92400E; background: #FEF3C7; border: 1px solid #FDE68A; padding: 2px 8px; border-radius: 4px; }
.team-card-highlights { margin-top: 8px; padding: 14px 16px; background: var(--ink-50, #F8FAFC); border: 1px solid var(--line, #E5E7EB); border-left: 3px solid var(--accent, #C2410C); border-radius: 8px; }
.team-card-highlights-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent, #C2410C); margin-bottom: 8px; }
.team-card-highlights-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.team-card-highlights-list li { position: relative; padding-left: 18px; font-size: 0.86rem; line-height: 1.5; color: var(--ink-700, #374151); }
.team-card-highlights-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent, #C2410C); }
.team-card-highlights-list strong { color: var(--ink-900, #0F172A); font-weight: 700; }
