/*
Theme Name: Autismus Kompass
Theme URI: https://autismuskompass.ch
Description: Custom theme for Autismus Kompass — Kathy Reinaerts
Version: 2.0.0
Author: Church of AI
*/

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
    font-family: "Spectral", serif;
    color: #333333;
    background-color: #F5F0EB;
    -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY SYSTEM ── */
h1, h2, h3, h4, .nav-link, .btn-label {
    font-family: "Barlow Semi Condensed", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
h1 { font-weight: 300; line-height: 1.1; }
h2 { font-weight: 300; line-height: 1.2; }
h3 { font-weight: 600; line-height: 1.25; }

/* ── CARDS — HOVER GOLD TOP BORDER ── */
.gold-border-hover {
    border-top: 2px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.gold-border-hover:hover {
    border-top-color: #C9A84C;
    box-shadow: 0 4px 24px rgba(27,42,74,0.08);
}

/* ── CTA BUTTONS — TEXT-ONLY BRAND RULE ── */
/* Primary bordered CTA: text + border only, fill on hover is intentional per brand (kontrastreich) */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #F47A03;
    color: #F47A03;
    padding: 1rem 2rem;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.cta-primary:hover {
    background-color: #F47A03;
    color: #ffffff;
}
.cta-primary:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 3px;
}
.cta-primary .arrow { transition: transform 0.3s ease; }
.cta-primary:hover .arrow { transform: translateX(4px); }

/* Text-only CTA (nav/inline) */
.cta-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #F47A03;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.cta-text:hover { opacity: 0.75; }
.cta-text .arrow { transition: transform 0.3s ease; }
.cta-text:hover .arrow { transform: translateX(4px); }

/* ── GOLD SECTION DIVIDER ── */
.gold-divider {
    width: 48px;
    height: 1px;
    background: #C9A84C;
    margin-top: 1rem;
}

/* ── WATERMARK KOMPASS (subtil im Hintergrund) ── */
/* Base: position relative + overflow hidden for all compass-decorated sections */
.watermark-kompass,
.compass-deco {
    position: relative;
    overflow: hidden;
}
.compass-logo {
    position: relative;
    overflow: hidden;
}
.watermark-kompass > *,
.compass-deco > *,
.compass-logo > * { position: relative; z-index: 1; }

/* Brand Compass SVG as data-URI (white version for dark backgrounds) */
.watermark-kompass::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke='%23ffffff' stroke-width='2.5'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='100' r='50' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3Cline x1='100' y1='8' x2='100' y2='192' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cline x1='8' y1='100' x2='192' y2='100' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cline x1='30' y1='30' x2='170' y2='170' stroke='%23ffffff' stroke-width='0.75'/%3E%3Cline x1='170' y1='30' x2='30' y2='170' stroke='%23ffffff' stroke-width='0.75'/%3E%3Cpolygon points='100,10 95,28 105,28' fill='%23ffffff'/%3E%3Cpolygon points='100,190 95,172 105,172' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='100' cy='100' r='5' fill='%23ffffff'/%3E%3C/svg%3E");
    opacity: 0.06;
    width: 400px;
    height: 400px;
    right: -60px;
    bottom: -60px;
}

/* Brand Compass SVG (navy version for light backgrounds) */
.compass-deco::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke='%230F1D33' stroke-width='2.5'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%230F1D33' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='100' r='50' fill='none' stroke='%230F1D33' stroke-width='1'/%3E%3Cline x1='100' y1='8' x2='100' y2='192' stroke='%230F1D33' stroke-width='1.5'/%3E%3Cline x1='8' y1='100' x2='192' y2='100' stroke='%230F1D33' stroke-width='1.5'/%3E%3Cline x1='30' y1='30' x2='170' y2='170' stroke='%230F1D33' stroke-width='0.75'/%3E%3Cline x1='170' y1='30' x2='30' y2='170' stroke='%230F1D33' stroke-width='0.75'/%3E%3Cpolygon points='100,10 95,28 105,28' fill='%230F1D33'/%3E%3Cpolygon points='100,190 95,172 105,172' fill='%230F1D33' opacity='0.5'/%3E%3Ccircle cx='100' cy='100' r='5' fill='%230F1D33'/%3E%3C/svg%3E");
    opacity: 0.05;
    width: 400px;
    height: 400px;
    right: -60px;
    bottom: -60px;
}

/* ── Logo Compass — the real "O" from K-O-MPASS logo ── */
/* White version (for dark backgrounds) */
.compass-logo::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='85 121 116 115'%3E%3Cpath fill='%23ffffff' d='M 195.5835 156.9384 A 56.88 56.71 -22.2 0 1 164.3474 230.9361 A 56.88 56.71 -22.2 0 1 90.2565 199.9216 A 56.88 56.71 -22.2 0 1 121.4926 125.9239 A 56.88 56.71 -22.2 0 1 195.5835 156.9384 Z M 189.38 178.15 A 46.51 46.51 0.0 0 0 142.87 131.64 A 46.51 46.51 0.0 0 0 96.36 178.15 A 46.51 46.51 0.0 0 0 142.87 224.66 A 46.51 46.51 0.0 0 0 189.38 178.15 Z'/%3E%3Cpath fill='%23ffffff' d='M 183.29 178.21 A 39.36 39.36 0.0 0 1 143.93 217.57 A 39.36 39.36 0.0 0 1 104.57 178.21 A 39.36 39.36 0.0 0 1 143.93 138.85 A 39.36 39.36 0.0 0 1 183.29 178.21 Z M 137.25 184.29 A 0.51 0.51 0.0 0 0 137.80 184.85 L 149.02 183.83 A 0.51 0.51 0.0 0 0 149.41 183.58 L 163.30 159.54 A 0.51 0.51 0.0 0 0 162.60 158.84 L 138.53 172.74 A 0.51 0.51 0.0 0 0 138.28 173.13 L 137.25 184.29 Z'/%3E%3Cellipse fill='%23ffffff' cx='0.00' cy='0.00' transform='translate(143.86,178.14) rotate(-43.2)' rx='2.99' ry='2.67'/%3E%3C/svg%3E");
    opacity: 0.06;
    width: 360px;
    height: 360px;
    right: -50px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

/* Navy version of logo compass (for light backgrounds) */
.compass-logo-navy::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='85 121 116 115'%3E%3Cpath fill='%231B2A4A' d='M 195.5835 156.9384 A 56.88 56.71 -22.2 0 1 164.3474 230.9361 A 56.88 56.71 -22.2 0 1 90.2565 199.9216 A 56.88 56.71 -22.2 0 1 121.4926 125.9239 A 56.88 56.71 -22.2 0 1 195.5835 156.9384 Z M 189.38 178.15 A 46.51 46.51 0.0 0 0 142.87 131.64 A 46.51 46.51 0.0 0 0 96.36 178.15 A 46.51 46.51 0.0 0 0 142.87 224.66 A 46.51 46.51 0.0 0 0 189.38 178.15 Z'/%3E%3Cpath fill='%231B2A4A' d='M 183.29 178.21 A 39.36 39.36 0.0 0 1 143.93 217.57 A 39.36 39.36 0.0 0 1 104.57 178.21 A 39.36 39.36 0.0 0 1 143.93 138.85 A 39.36 39.36 0.0 0 1 183.29 178.21 Z M 137.25 184.29 A 0.51 0.51 0.0 0 0 137.80 184.85 L 149.02 183.83 A 0.51 0.51 0.0 0 0 149.41 183.58 L 163.30 159.54 A 0.51 0.51 0.0 0 0 162.60 158.84 L 138.53 172.74 A 0.51 0.51 0.0 0 0 138.28 173.13 L 137.25 184.29 Z'/%3E%3Cellipse fill='%231B2A4A' cx='0.00' cy='0.00' transform='translate(143.86,178.14) rotate(-43.2)' rx='2.99' ry='2.67'/%3E%3C/svg%3E");
    opacity: 0.05;
    width: 360px;
    height: 360px;
    right: -50px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

/* ── Position variants ── */
/* Right-bottom (default) — already set above */

/* Right-center — for tall sections like quote */
.compass-pos-right-center::after  { right: -80px; top: 50%; bottom: auto; transform: translateY(-50%); width: 500px; height: 500px; }
.compass-pos-right-center.watermark-kompass::after { right: -80px; top: 50%; bottom: auto; transform: translateY(-50%); width: 500px; height: 500px; }

/* Left-top — for target group section */
.compass-pos-left-top::after { left: -80px; top: -80px; right: auto; bottom: auto; width: 380px; height: 380px; }
.compass-pos-left-top.compass-deco::after { left: -80px; top: -80px; right: auto; bottom: auto; width: 380px; height: 380px; }

/* Right-top — variation */
.compass-pos-right-top::after { right: -60px; top: -60px; bottom: auto; width: 350px; height: 350px; }

/* Left-bottom */
.compass-pos-left-bottom::after { left: -70px; bottom: -70px; right: auto; width: 380px; height: 380px; }

/* Center-right large — for emphasized sections */
.compass-pos-center-right-lg::after { right: -100px; top: 50%; bottom: auto; transform: translateY(-50%); width: 600px; height: 600px; opacity: 0.05; }
.compass-pos-center-right-lg.watermark-kompass::after { right: -100px; top: 50%; bottom: auto; transform: translateY(-50%); width: 600px; height: 600px; opacity: 0.05; }

/* ── Opacity variants ── */
.compass-opacity-ultra::after { opacity: 0.05; }
.compass-opacity-subtle::after { opacity: 0.055; }
.compass-opacity-light::after { opacity: 0.06; }
.compass-opacity-medium::after { opacity: 0.07; }

/* ── Gold compass variant (for special sections) ── */
.compass-gold::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke='%23C9A96E' stroke-width='2.5'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%23C9A96E' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='100' r='50' fill='none' stroke='%23C9A96E' stroke-width='1'/%3E%3Cline x1='100' y1='8' x2='100' y2='192' stroke='%23C9A96E' stroke-width='1.5'/%3E%3Cline x1='8' y1='100' x2='192' y2='100' stroke='%23C9A96E' stroke-width='1.5'/%3E%3Cline x1='30' y1='30' x2='170' y2='170' stroke='%23C9A96E' stroke-width='0.75'/%3E%3Cline x1='170' y1='30' x2='30' y2='170' stroke='%23C9A96E' stroke-width='0.75'/%3E%3Cpolygon points='100,10 95,28 105,28' fill='%23C9A96E'/%3E%3Cpolygon points='100,190 95,172 105,172' fill='%23C9A96E' opacity='0.5'/%3E%3Ccircle cx='100' cy='100' r='5' fill='%23C9A96E'/%3E%3C/svg%3E");
}

/* ── KATHY FOTO PLACEHOLDER ── */
.photo-placeholder {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #1B2A4A 0%, #2d4270 100%);
}
.photo-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, #1B2A4A 100%);
    z-index: 1;
}
.photo-placeholder .placeholder-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.8);
}
.photo-placeholder .placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.15;
}

/* ── KNOWLEDGE CARD HOVER ── */
.knowledge-card-img {
    filter: saturate(0.15);
    transition: filter 0.5s ease;
}
.knowledge-card:hover .knowledge-card-img {
    filter: saturate(1);
}

/* ── SERVICE CARDS ── */
.service-card {
    border: 1px solid rgba(201,168,76,0.35);
    padding: 2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    background-color: rgba(255,255,255,0.06);
    border-color: rgba(201,168,76,0.6);
}

/* ── NAV LINK ── */
.nav-link {
    font-family: "Barlow Semi Condensed", sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1B2A4A;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-link:hover { color: #F47A03; }
.nav-link:focus-visible { outline: 2px solid #C9A84C; outline-offset: 2px; }

/* ── FOCUS GLOBAL ── */
a:focus-visible, button:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 3px;
}

/* ── CREDENTIAL BADGES ── */
.credential-badge {
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1B2A4A;
    border: 1px solid rgba(201,168,76,0.4);
    padding: 0.375rem 0.75rem;
}

/* ══════════════════════════════════════════
   ANIMATIONS — dezent, ruhig, barrierefrei
   Alle Animationen nur wenn reduced-motion
   nicht aktiv (wichtig für Autismus-Zielgruppe)
   ══════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {

  /* ── Keyframes ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes lineReveal {
    from { transform: scaleX(0); transform-origin: left center; }
    to   { transform: scaleX(1); transform-origin: left center; }
  }
  @keyframes compassSettle {
    0%   { transform: rotate(0deg); }
    20%  { transform: rotate(6deg); }
    45%  { transform: rotate(-4deg); }
    65%  { transform: rotate(2.5deg); }
    80%  { transform: rotate(-1deg); }
    100% { transform: rotate(0deg); }
  }

  /* ── Hero load — gestaffelt, ruhig ── */
  .hero-eyebrow {
    animation: fadeIn 0.7s ease-out 0.15s both;
  }
  .hero-h1 {
    animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
  }
  .hero-sub {
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
  }
  .hero-cta {
    animation: fadeIn 0.7s ease-out 0.95s both;
  }
  .hero-trust {
    animation: fadeIn 0.6s ease-out 1.2s both;
  }
  .hero-img-wrap {
    animation: fadeIn 1.4s ease-out 0.1s both;
  }

  /* ── Scroll-Reveal Basis ── */
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity  0.8s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Gestaffelte Delays für Grid-Karten */
  .reveal[data-delay="1"] { transition-delay: 0.05s; }
  .reveal[data-delay="2"] { transition-delay: 0.15s; }
  .reveal[data-delay="3"] { transition-delay: 0.25s; }
  .reveal[data-delay="4"] { transition-delay: 0.35s; }

  /* ── Gold-Divider Linie wächst von links ── */
  .gold-divider.visible {
    animation: lineReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
  }

  /* ── Kompass-Icon: Nadel pendelt sanft ein ── */
  .compass-icon.visible {
    animation: compassSettle 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
    transform-origin: center center;
  }

  /* ── Nav: schattiert beim Scrollen ── */
  nav.scrolled {
    box-shadow: 0 1px 12px rgba(27, 42, 74, 0.08);
    transition: box-shadow 0.4s ease;
  }

  /* ── Hero Bild: sanfter Parallax ── */
  .hero-img-wrap .absolute.inset-0 {
    will-change: transform;
  }

}


/* ═══ ELEMENTOR CONTENT ZONE ═══
   Editierbarer Bereich via Elementor
   Styling: Brand-farben, sauber integriert
   ═══════════════════════════════════════ */
.elementor-page-content {
    background: #F5F0EB;
    padding: 0;
}

/* Elementor Sections im Theme-Kontext */
.elementor-page-content .elementor-section {
    padding: 60px 0;
}

.elementor-page-content .elementor-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Elementor Heading Widget */
.elementor-page-content .elementor-heading-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #1B2A4A;
}

.elementor-page-content h1.elementor-heading-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.1;
}

.elementor-page-content h2.elementor-heading-title,
.elementor-page-content h3.elementor-heading-title {
    font-size: 2rem;
    font-weight: 400;
}

/* Elementor Text Editor Widget */
.elementor-page-content .elementor-text-editor {
    font-family: 'Spectral', serif;
    color: #2C2C2C;
    line-height: 1.75;
}

.elementor-page-content .elementor-text-editor p {
    margin-bottom: 1rem;
}

.elementor-page-content .elementor-text-editor h2,
.elementor-page-content .elementor-text-editor h3 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #1B2A4A;
    font-weight: 400;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.elementor-page-content .elementor-text-editor ul {
    list-style: none;
    padding: 0;
}

.elementor-page-content .elementor-text-editor ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.elementor-page-content .elementor-text-editor ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #F47A03;
}

/* Elementor Button Widget */
.elementor-page-content .elementor-button {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: transparent;
    border: 1.5px solid #F47A03;
    color: #F47A03;
    padding: 14px 32px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
}

.elementor-page-content .elementor-button:hover {
    background: #F47A03;
    color: #fff;
}

/* Elementor Shortcode Widget (CF7) */
.elementor-page-content .elementor-shortcode {
    background: #fff;
    padding: 40px;
    border-left: 3px solid #C9A84C;
}

/* Kein leerer Bereich wenn keine Elementor-Daten */
.elementor-page-content:empty {
    display: none;
    padding: 0;
}


/* ── TOUCH TARGETS — min. 44px (Accessibility WCAG 2.5.5) ── */
/* Applied at all viewports for accessibility compliance */

/* Navigation links — always 44px min height */
nav a, .nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* CTA Buttons — always 44px */
.cta-primary, .cta-text {
  min-height: 44px;
}

/* Hamburger button — always 44px */
button[aria-label="Navigation öffnen"] {
  min-width: 44px;
  min-height: 44px;
}

/* Form inputs — always 44px */
input, select, textarea {
  min-height: 44px;
}

/* Footer navigation links */
footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Mobile — ensure ALL interactive elements meet touch target */
@media (max-width: 1024px) {
  a, button, [role="button"] {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Nav-Links extra Padding für Touch */
  nav a, .nav-link {
    padding: 12px 8px !important;
    display: flex !important;
  }
  
  /* Footer-Links */
  footer a {
    padding: 10px 0 !important;
    display: block !important;
    min-height: 44px;
  }
  
  /* Hamburger Button */
  button {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 10px;
  }
}


/* ── KATHY PHOTO GRID — Force 2-column layout on desktop ── */
/* Both items aligned to top to ensure QA grid row detection works correctly */
#ueber-mich > .grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
@media (max-width: 1023px) {
    #ueber-mich > .grid {
        grid-template-columns: 1fr;
    }
}

/* ── PHOTO PLACEHOLDER — Default grey placeholder until Kathy photo is added ── */
.photo-placeholder-kathy {
    background-color: #E8E0D5;
    min-height: 300px;
}



/* ── WISSEN ARTICLE CONTENT ── */
/* Override global uppercase for article headings */
.prose-wissen h1,
.prose-wissen h2,
.prose-wissen h3,
.prose-wissen h4 {
    text-transform: none !important;
    letter-spacing: 0.01em;
}
.prose-wissen h2 {
    color: #1B2A4A;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 1.45rem;
    font-weight: 400;
    margin-top: 3.2rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(196, 155, 72, 0.35);
    line-height: 1.3;
}
.prose-wissen h3 {
    color: #1B2A4A;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 2.4rem;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}
.prose-wissen h4 {
    color: #C49B48;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}
/* First element in prose: no extra top margin */
.prose-wissen > *:first-child {
    margin-top: 0;
}
.prose-wissen p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.4rem;
    color: #3A3A3A;
}
.prose-wissen ul {
    margin: 0.6rem 0 1.8rem 0;
    list-style: none;
    padding: 0;
}
.prose-wissen ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #3A3A3A;
    font-family: 'Spectral', Georgia, serif;
}
.prose-wissen ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #C49B48;
    font-weight: 700;
    font-size: 0.9rem;
    top: 2px;
}
.prose-wissen strong {
    color: #1B2A4A;
    font-weight: 600;
}

/* ── ARTICLE HERO ── */
.article-hero-header {
    background-color: #1B2A4A;
    position: relative;
    overflow: hidden;
}
.article-hero-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C49B48 0%, #E8B96A 50%, #C49B48 100%);
}
.article-category-pill {
    display: inline-block;
    background: rgba(196, 155, 72, 0.2);
    color: #C49B48;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(196, 155, 72, 0.4);
    margin-bottom: 1.2rem;
}
.article-back-link {
    color: rgba(196, 155, 72, 0.7);
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.article-back-link:hover { color: #C49B48; }

/* knowledge card hover */
.knowledge-card {
    display: block;
    text-decoration: none;
}
.knowledge-card:hover h2, .knowledge-card:hover h4 {
    color: #C49B48;
}

/* ── WISSEN TABLE ── */
.wissen-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.92rem;
}
.wissen-table th {
    background: #1B2A4A;
    color: #fff;
    text-align: left;
    padding: 0.65rem 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.78rem;
    border: none;
}
.wissen-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(196,155,72,0.2);
    color: #3A3A3A;
    vertical-align: top;
    line-height: 1.5;
}
.wissen-table tr:nth-child(even) td {
    background: rgba(196,155,72,0.05);
}
.wissen-table tr:last-child td {
    border-bottom: 2px solid rgba(196,155,72,0.4);
}
@media (max-width: 640px) {
    .wissen-table, .wissen-table thead, .wissen-table tbody,
    .wissen-table th, .wissen-table td, .wissen-table tr {
        display: block;
    }
    .wissen-table thead { display: none; }
    .wissen-table td {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(196,155,72,0.15);
    }
}
