/* ============================================================================
   Landing: Persönlichkeits- und Führungskräfteentwicklung
   Aufbau nach hr-campus.ch: fixiertes Hero-Video ohne Buttons, darüber
   gestapelte Panels (Sticky-Akkordeon), Karten-Slider, Zitat, Split-Blöcke.
   Lädt nach coastal-theme.css. Altes HR-Hero: index-hr-backup.html
   ============================================================================ */

:root {
    --mw-bg: #faf8f3;
    --mw-panel: #f1ede3;
    --mw-panel-2: #e9e4d8;
    --mw-line: rgba(16, 26, 36, 0.14);
    --mw-ink: #101a24;
    --mw-muted: #5b6670;
    --mw-head: 64px;
    --mw-radius: 20px;
    --mw-gutter: clamp(1rem, 4vw, 3.5rem);
    --mw-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* overflow-x:hidden auf <body> macht body zum Scroll-Container und killt
   position:sticky – horizontales Clipping übernimmt <html>. */
html:has(body.mw-landing) { overflow-x: clip; overflow-y: auto; }
body.mw-landing {
    overflow: visible !important;
    background: var(--mw-bg);
    color: var(--mw-ink);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.mw-landing h1,
body.mw-landing h2,
body.mw-landing h3 {
    letter-spacing: -0.025em;
    font-weight: 700;
    color: var(--mw-ink);
}

.mw-wrap {
    width: min(1240px, 100% - 2 * var(--mw-gutter));
    margin: 0 auto;
}

/* ---------- Buttons (Pill, Outline wie hr-campus) ---------- */
.mw-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: 50px;
    padding: 0 1.1rem 0 1.6rem;
    border-radius: 9999px;
    border: 1px solid rgba(16, 26, 36, 0.35);
    background: transparent;
    color: var(--mw-ink);
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s var(--mw-ease), color 0.25s var(--mw-ease), border-color 0.25s, transform 0.25s var(--mw-ease);
}
.mw-btn i { font-size: 0.8em; transition: transform 0.25s var(--mw-ease); }
.mw-btn:hover { background: var(--mw-ink); color: #fff; border-color: var(--mw-ink); }
.mw-btn:hover i { transform: translateX(3px); }
.mw-btn-solid { background: var(--mw-ink); color: #fff; border-color: var(--mw-ink); }
.mw-btn-solid:hover { background: var(--sea, #167d8c); border-color: var(--sea, #167d8c); }
.mw-btn-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.mw-btn-light:hover { background: #fff; color: var(--mw-ink); border-color: #fff; }

.mw-icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--mw-line);
    background: #fff;
    color: var(--mw-ink);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 18px -10px rgba(16, 26, 36, 0.4);
    transition: transform 0.2s var(--mw-ease), background 0.2s;
}
.mw-icon-btn:hover { transform: translateY(-2px); background: var(--mw-panel); }
.mw-icon-btn:disabled { opacity: 0.35; cursor: default; transform: none; }

/* ---------- Navigation über dem Video ---------- */
body.mw-landing .navbar { transition: opacity 0.3s; }
body.mw-landing .nav-container {
    transition: background 0.35s var(--mw-ease), box-shadow 0.35s, border-color 0.35s;
    border: 1px solid transparent;
}
body.mw-landing.mw-top .nav-container {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
body.mw-landing.mw-top .nav-name,
body.mw-landing.mw-top .nav-link { color: #fff !important; }
body.mw-landing.mw-top .nav-link.active,
body.mw-landing.mw-top .nav-link:hover { background: rgba(255, 255, 255, 0.18) !important; color: #fff !important; }

/* Marke oben links auf Mobile (Desktop steckt sie in der Pill-Nav) */
.mw-brand {
    position: fixed;
    top: 0.85rem;
    left: 1rem;
    z-index: 1001;
    display: none;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    transition: opacity 0.3s, transform 0.3s var(--mw-ease);
}
.mw-brand img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.85);
}
body.mw-landing:not(.mw-top) .mw-brand { opacity: 0; transform: translateY(-8px); pointer-events: none; }

/* ---------- Bühne: Hero (sticky) + Panels, die darüber gleiten ---------- */
.mw-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: var(--coastal-gradient, linear-gradient(135deg, #0b2a4a 0%, #0f4c75 48%, #167d8c 100%));
    color: #fff;
    z-index: 0;
}

.mw-hero .hero-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.mw-hero .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.mw-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.mw-hero-text {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem var(--mw-gutter) 4rem;
}

/* Alte Hero-Regeln neutralisieren */
.mw-hero .hero-title,
.mw-hero #hero-title {
    margin: 0 0 1rem !important;
    max-width: 14em;
    font-size: clamp(2.3rem, 6.2vw, 4.75rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: #fff !important;
    white-space: normal !important;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.mw-hero #hero-title .gradient-text {
    display: inline;
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    white-space: normal;
}
.mw-hero .hero-subtitle {
    margin: 0;
    max-width: 40rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    display: block !important;
}

.mw-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 2.2rem;
    transform: translateX(-50%);
    z-index: 2;
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    opacity: 0.85;
}
.mw-scroll-hint::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: mwScroll 1.8s var(--mw-ease) infinite;
}
@keyframes mwScroll {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(16px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Gestapelte Panels (Sticky-Akkordeon) ---------- */
/* .mw-stage / .mw-panels bewusst ohne position:relative, damit offsetTop der
   Panels für die Anker-Navigation relativ zum Dokument bleibt. */
.mw-panel {
    position: relative;
    z-index: 2;
    background: var(--mw-panel);
    border: 1px solid var(--mw-line);
    border-bottom: 0;
    border-radius: var(--mw-radius) var(--mw-radius) 0 0;
    box-shadow: 0 -18px 40px -30px rgba(16, 26, 36, 0.5);
    min-height: calc(100vh - 3 * var(--mw-head));
    min-height: calc(100svh - 3 * var(--mw-head));
    /* Platz, damit die unten hervorschauenden Kopfzeilen den Inhalt nicht verdecken */
    padding-bottom: calc((2 - var(--i, 0)) * var(--mw-head) + 1.5rem);
}
.mw-panel[style*="--i:1"] { background: #f4f0e7; }
.mw-panel[style*="--i:2"] { background: #f7f4ec; }

/* Kopfzeile bleibt oben kleben – gestaffelt nach Panel-Index */
.mw-panel-head {
    position: sticky;
    top: calc(var(--i, 0) * var(--mw-head));
    z-index: 3;
    height: var(--mw-head);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 var(--mw-gutter);
    border-bottom: 1px solid var(--mw-line);
    background: inherit;
    border-radius: var(--mw-radius) var(--mw-radius) 0 0;
}
.mw-panel-head h2 {
    margin: 0;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 700;
}
.mw-panel-num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--sea, #167d8c);
    font-variant-numeric: tabular-nums;
}
.mw-panel-tag {
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--mw-muted);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--mw-line);
    white-space: nowrap;
}

.mw-panel-body {
    padding: clamp(2rem, 4vw, 3.5rem) var(--mw-gutter) 0;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.6fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.mw-panel-intro h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    line-height: 1.12;
}
.mw-panel-intro p {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--mw-muted);
    max-width: 42ch;
}
.mw-panel-visual {
    margin-bottom: 1.4rem;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mw-line);
}
.mw-panel-visual svg { width: 100%; height: 100%; display: block; }

/* Karten innerhalb der Panels */
.mw-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.9rem;
}
/* Panels mit vier Karten: 2 × 2 statt 3 + 1 */
#fuehrung .mw-cards,
#unternehmen .mw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mw-card {
    --c1: var(--sea, #167d8c);
    --c2: var(--sea-glass, #3aa6a6);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem 1.2rem 1.1rem;
    background: #fff;
    border: 1px solid var(--mw-line);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(22, 125, 140, 0.15);
    transition: transform 0.3s var(--mw-ease), box-shadow 0.3s var(--mw-ease), border-color 0.3s;
}
.mw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -26px rgba(16, 26, 36, 0.45);
    border-color: color-mix(in srgb, var(--c1) 45%, transparent);
}
.mw-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.mw-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    font-size: 1rem;
}
.mw-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--mw-panel);
    border: 1px solid var(--mw-line);
    color: var(--mw-ink);
    white-space: nowrap;
}
.mw-pill-hot { background: #fde9c9; border-color: #f3cf8b; color: #8a5612; }
.mw-pill-lead { background: #d8efed; border-color: #a9d9d4; color: #0f5c66; }
.mw-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.mw-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--mw-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mw-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; flex: 1; align-content: flex-start; }
.mw-card li {
    font-size: 0.76rem;
    color: var(--mw-muted);
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: var(--mw-bg);
    border: 1px solid var(--mw-line);
}
.mw-card-cta {
    margin-top: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mw-ink);
}
.mw-card-cta i { font-size: 0.75em; transition: transform 0.25s var(--mw-ease); }
.mw-card:hover .mw-card-cta i { transform: translateX(4px); }
.mw-card[data-category="self-discovery"] { --c1: #167d8c; --c2: #3aa6a6; }
.mw-card[data-category="analysis"] { --c1: #0f4c75; --c2: #167d8c; }
.mw-card[data-category="leadership"] { --c1: #e8a04b; --c2: #e9775b; }
.mw-card[data-category="communication"] { --c1: #4a7fb5; --c2: #167d8c; }
.mw-card[data-category="coaching"] { --c1: #c06c84; --c2: #e9775b; }
.mw-card[data-category="business"] { --c1: #0b2a4a; --c2: #0f4c75; }

/* Kopfzeilen der kommenden Panels schauen unten hervor (wie hr-campus) */
.mw-peek {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}
.mw-peek-item {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc((2 - var(--i, 0)) * var(--mw-head));
    height: var(--mw-head);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 var(--mw-gutter);
    background: var(--mw-panel);
    border: 1px solid var(--mw-line);
    border-bottom: 0;
    border-radius: var(--mw-radius) var(--mw-radius) 0 0;
    box-shadow: 0 -14px 30px -24px rgba(16, 26, 36, 0.55);
    color: var(--mw-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.6vw, 1.45rem);
    letter-spacing: -0.02em;
    pointer-events: auto;
    transition: transform 0.45s var(--mw-ease), opacity 0.3s;
}
.mw-peek-item .mw-panel-num { font-size: 0.78rem; letter-spacing: 0.12em; }
.mw-peek-item[style*="--i:1"] { background: #f4f0e7; }
.mw-peek-item[style*="--i:2"] { background: #f7f4ec; }
.mw-peek-item.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
.mw-peek.is-off .mw-peek-item { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* Bereits durchlaufene Panels bleiben als Kopfzeilen oben gestapelt */
.mw-stack { position: fixed; left: 0; right: 0; top: 0; z-index: 4; pointer-events: none; }
.mw-stack .mw-peek-item {
    top: calc(var(--i, 0) * var(--mw-head));
    bottom: auto;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    border-bottom: 1px solid var(--mw-line);
    box-shadow: 0 10px 24px -20px rgba(16, 26, 36, 0.4);
}
.mw-stack .mw-peek-item.is-on { transform: none; opacity: 1; pointer-events: auto; }

/* ---------- Abschnitte nach der Bühne ---------- */
.mw-section {
    position: relative;
    z-index: 3;
    background: var(--mw-bg);
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}
.mw-section-tint { background: var(--mw-panel); }

.mw-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.mw-section-head h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    line-height: 1.08;
}
.mw-section-head p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--mw-muted);
    max-width: 52ch;
}
.mw-section-nav { display: flex; gap: 0.6rem; flex-shrink: 0; }

/* Slider (horizontal, Scroll-Snap) */
.mw-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 0 1.25rem;
    /* nach rechts bis zum Viewport-Rand auslaufen lassen (wie hr-campus) */
    margin-right: calc(50% - 50vw);
    padding-right: max(var(--mw-gutter), calc(50vw - 50%));
    scrollbar-width: none;
}
.mw-slider::-webkit-scrollbar { display: none; }
.mw-slide {
    flex: 0 0 min(330px, 82vw);
    scroll-snap-align: start;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.35rem 1.3rem;
    border-radius: 18px;
    text-decoration: none;
    color: var(--mw-ink);
    background: var(--tint, #cfe9e6);
    transition: transform 0.3s var(--mw-ease);
}
.mw-slide:hover { transform: translateY(-4px); }
.mw-slide-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mw-slide-top .mw-pill { background: rgba(255, 255, 255, 0.55); border-color: transparent; }
.mw-slide i.mw-slide-icon { font-size: 1.6rem; opacity: 0.75; }
.mw-slide h3 { margin: 0 0 0.45rem; font-size: 1.35rem; line-height: 1.2; }
.mw-slide p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: rgba(16, 26, 36, 0.72); }
.mw-slide-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.4rem; font-weight: 600; font-size: 0.9rem; }
.mw-slide-foot .mw-icon-btn { width: 40px; height: 40px; box-shadow: none; }
.mw-slide[data-tint="foam"] { --tint: #cfe9e6; }
.mw-slide[data-tint="sun"] { --tint: #fbe6c2; }
.mw-slide[data-tint="coral"] { --tint: #fbd7cb; }
.mw-slide[data-tint="sky"] { --tint: #d8e6f5; }
.mw-slide[data-tint="sand"] { --tint: #ebe3d1; }
.mw-slide[data-tint="mint"] { --tint: #d9efd6; }

/* Zitat + Portrait */
.mw-quote { text-align: center; }
.mw-quote blockquote {
    margin: 0 auto 2.5rem;
    max-width: 22ch;
    font-size: clamp(1.7rem, 4vw, 3.4rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.mw-quote blockquote::before { content: '« '; color: var(--sea, #167d8c); }
.mw-quote blockquote::after { content: ' »'; color: var(--sea, #167d8c); }
.mw-quote-person {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
}
.mw-quote-photo {
    width: min(360px, 70vw);
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--mw-panel);
    border: 1px solid var(--mw-line);
}
.mw-quote-photo img,
.mw-quote-photo img.profile-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: center top;
    display: block;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.mw-quote-name { font-weight: 700; }
.mw-quote-role { color: var(--mw-muted); font-size: 0.95rem; }

.mw-stats {
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 820px;
}
.mw-stats .stat-card {
    background: #fff;
    border: 1px solid var(--mw-line);
    border-radius: 16px;
    padding: 1.2rem 1rem;
    text-align: center;
}
.mw-stats .stat-number { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; color: var(--sea, #167d8c); }
.mw-stats .stat-label { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--mw-muted); margin-top: 0.3rem; }

/* Split: Text + Karte (Blüten-Spiel, Unternehmen etc.) */
.mw-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.mw-split h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; }
.mw-split p { margin: 0 0 1.5rem; color: var(--mw-muted); line-height: 1.6; font-size: 1.02rem; }
.mw-split-media {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--mw-line);
    background: var(--coastal-gradient, linear-gradient(135deg, #0b2a4a, #0f4c75 50%, #167d8c));
    color: #fff;
    padding: 1.6rem;
    min-height: 320px;
    position: relative;
}
.mw-split-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.85) 0.4px, transparent 1.2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.5) 0.8px, transparent 2px);
    background-size: 180px 220px, 280px 320px;
    opacity: 0.55;
    pointer-events: none;
}
.mw-split-media > * { position: relative; }
body.mw-landing .mw-split-media h3 { margin: 0 0 1rem; color: #fff !important; font-size: 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.highscores-list {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 0.75rem;
    min-height: 120px;
}
.highscores-list .no-highscores { color: rgba(255, 255, 255, 0.75); font-style: italic; margin: 0; padding: 0.9rem 0; text-align: center; }
.highscore-entry {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    color: #fff;
}
.highscore-entry:nth-child(odd) { background: rgba(255, 255, 255, 0.08); }
.highscore-entry .rank { width: 2rem; font-weight: 700; }
.highscore-entry .name { flex: 1; font-weight: 600; }
.highscore-entry .score { font-variant-numeric: tabular-nums; }

/* Kontakt */
.mw-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
.mw-contact-grid h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08; }
.mw-contact-grid .contact-description { color: var(--mw-muted); line-height: 1.6; font-size: 1.05rem; margin: 0 0 2rem; }
.mw-contact-list { display: grid; gap: 0.8rem; }
.mw-contact-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid var(--mw-line);
    border-radius: 14px;
}
.mw-contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--mw-panel);
    color: var(--sea, #167d8c);
    flex-shrink: 0;
}
.mw-contact-item h4 { margin: 0 0 0.1rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mw-muted); font-weight: 600; }
.mw-contact-item a, .mw-contact-item p { margin: 0; color: var(--mw-ink) !important; text-decoration: none; font-weight: 500; }
.mw-contact-item a:hover { color: var(--sea, #167d8c) !important; }

.mw-form {
    background: #fff;
    border: 1px solid var(--mw-line);
    border-radius: 22px;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    display: grid;
    gap: 1rem;
}
.mw-form .form-group { display: grid; gap: 0.4rem; margin: 0; }
.mw-form label { font-size: 0.85rem; font-weight: 600; color: var(--mw-ink); }
.mw-form input,
.mw-form textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--mw-line);
    background: var(--mw-bg);
    color: var(--mw-ink);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mw-form input:focus,
.mw-form textarea:focus { border-color: var(--sea, #167d8c); box-shadow: 0 0 0 4px rgba(22, 125, 140, 0.14); }
.mw-form textarea { resize: vertical; min-height: 140px; }
.mw-form .mw-btn { justify-self: start; }

/* Reveal beim Scrollen */
.mw-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--mw-ease), transform 0.7s var(--mw-ease); }
.mw-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mw-reveal { opacity: 1; transform: none; transition: none; } }

/* Footer an die Palette anlehnen */
body.mw-landing .footer { position: relative; z-index: 3; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .desktop-nav .nav-menu a[href="persoenlichkeitsentwicklung-uebersicht.html"] { display: none; }
    .mw-panel-body { grid-template-columns: 1fr; }
    .mw-panel-intro { max-width: 60ch; }
    .mw-panel-visual { display: none; }
}

@media (max-width: 860px) {
    .mw-split,
    .mw-contact-grid { grid-template-columns: 1fr; }
    .mw-section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    :root { --mw-head: 54px; --mw-radius: 16px; }
    .mw-brand { display: flex; }
    .mw-hero-text { padding: 4.5rem 1.25rem calc(3 * var(--mw-head) + 2.5rem); }
    .mw-hero #hero-title {
        font-size: clamp(1.7rem, 7.2vw, 2.6rem) !important;
        line-height: 1.08 !important;
        hyphens: manual;
        -webkit-hyphens: manual;
    }
    .mw-hero .hero-subtitle { font-size: 0.98rem; }
    .mw-scroll-hint { display: none; }
    .mw-panel-head { gap: 0.7rem; }
    .mw-panel-tag { display: none; }
    .mw-cards { grid-template-columns: 1fr; }
    .mw-stats { grid-template-columns: 1fr; }
    .mw-quote blockquote { max-width: 18ch; }
    .mw-slide { min-height: 260px; }
}
