/* ============================================
   MICHAEL HORVATH CONSULTING — Slate + klares Blau
   Personalberatung: persönlich, diskret, kompetent
   Rein typografisch (kein Bildmaterial vorhanden)
   ============================================ */

:root {
    --bg:           #F6F6F4;
    --bg-alt:       #FFFFFF;
    --bg-dark:      #22272E;
    --bg-deep:      #181C22;
    --surface:      #EAEAE6;
    --ink:          #22272E;
    --ink-soft:     #3D434C;
    --ink-muted:    #767D87;
    --ink-light:    #AEB3BB;
    --line:         #DFDFD9;
    --line-soft:    #EAEAE5;
    --accent:       #2D6CDF;
    --accent-deep:  #1E4FA8;
    --accent-light: #7FA7EC;

    --font-display: 'Manrope', sans-serif;
    --font-body:    'Inter', sans-serif;
    --font-serif:   'Fraunces', Georgia, serif;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    color: var(--ink);
}
h1 { font-size: clamp(2.9rem, 7.5vw, 6.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); font-weight: 700; }

/* Manrope hat kein echtes Italic — em immer in Inter italic */
em, .italic {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 500;
    color: var(--accent);
}
h1 em, h2 em, h3 em, h4 em {
    display: inline-block;
    padding-right: 0.08em;
}

body { background: var(--bg); }
section { padding: 7.5rem 0; }

.label {
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.4rem; display: block;
}

/* === NAV === */
.nav { background: transparent; padding: 1.6rem 0; }
.nav.scrolled {
    background: rgba(246, 246, 244, 0.96);
    border-bottom-color: var(--line);
}
.nav-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.nav-logo .accent { color: var(--accent); }
.nav-links a { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
.nav-cta { border-radius: 0 !important; margin-left: 0; }
/* Nav ist nur Logo + CTA — kein Burger, CTA bleibt auch auf Mobile sichtbar */
@media (max-width: 980px) {
    .nav-links { display: flex !important; position: static; padding: 0; border: none; background: transparent; }
    .nav-toggle { display: none !important; }
}

/* === HERO — hell, typografisch, Monogramm-Rail rechts === */
.hero {
    background: var(--bg);
    color: var(--ink);
    height: 100vh;
    max-height: 100vh;
    min-height: 0;
    padding-top: 6.5rem;
    padding-bottom: 0;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}
.hero-bg, .hero-bg::after { display: none; }
.hero::after {
    content: 'MH.';
    position: absolute;
    right: -1.5rem; bottom: -3rem;
    font-family: var(--font-display);
    font-size: clamp(12rem, 28vw, 26rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(45, 108, 223, 0.22);
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 1.6s ease 0.9s both;
}
.hero-inner {
    display: flex; flex-direction: column;
    justify-content: space-between;
    padding: 2rem 0 0;
    width: 100%;
    position: relative; z-index: 2;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 1rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--ink-muted);
    margin-bottom: 1.75rem;
    opacity: 0;
    animation: fadeInLeft 0.9s cubic-bezier(0.22,0.61,0.36,1) 0.2s both;
}
.hero-eyebrow::before {
    content: ''; width: 44px; height: 2px; background: var(--accent);
}
.hero h1 {
    color: var(--ink);
    max-width: 13ch;
    margin-bottom: 1.75rem;
    font-size: clamp(2.9rem, 6.5vw, 5.6rem);
}
.hero h1 .h1-line {
    display: block;
    font-style: normal; font-weight: inherit; color: inherit;
    opacity: 0;
    animation: fadeInUp 1.1s cubic-bezier(0.22,0.61,0.36,1) both;
}
.hero h1 .h1-line em {
    font-family: var(--font-body);
    font-style: italic; font-weight: 500;
    color: var(--accent);
}
.hero h1 .h1-line:nth-child(1) { animation-delay: 0.35s; }
.hero h1 .h1-line:nth-child(2) { animation-delay: 0.55s; }
.hero .lead {
    color: var(--ink-soft);
    font-size: 1.12rem;
    max-width: 50ch;
    margin-bottom: 2.25rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 0.95s both;
}
.hero-actions {
    display: flex; align-items: center; gap: 2.25rem; flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 1.25s both;
}
.hero-actions .btn {
    background: var(--ink); color: #fff;
    border-radius: 0;
    padding: 1.05rem 2.5rem;
    font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
}
.hero-actions .btn:hover { background: var(--accent); transform: none; }
.hero-actions .secondary {
    font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
    font-weight: 600; color: var(--ink-soft);
    border-bottom: 1px solid var(--ink-soft); padding-bottom: 0.3rem;
}
.hero-actions .secondary:hover { color: var(--accent); border-color: var(--accent); }

.hero-meta {
    margin-top: 2rem;
    display: grid; grid-template-columns: repeat(3, 1fr) auto;
    gap: 2rem; align-items: center;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 1.75rem;
    opacity: 0;
    animation: fadeInUp 1.1s cubic-bezier(0.22,0.61,0.36,1) 1.6s both;
}
.hero-meta .hm {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-weight: 800; letter-spacing: -0.02em;
}
.hero-meta .hm-1 { color: var(--ink); }
.hero-meta .hm-2 { color: var(--accent); }
.hero-meta .hm-3 { color: var(--accent-deep); }
.hero-meta .hm-loc {
    font-family: var(--font-body); font-size: 0.78rem;
    color: var(--ink-muted); text-align: right;
    letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}

/* === 3-SCHRITTE-STRIP (statisch, ersetzt Marquee) === */
.steps-strip {
    background: var(--bg-dark);
    color: #fff;
    padding: 2.1rem 0;
}
.steps-strip-inner {
    display: flex; align-items: center; gap: 2rem;
}
.ss-item {
    display: inline-flex; align-items: baseline; gap: 0.85rem;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-weight: 800; letter-spacing: -0.015em;
    white-space: nowrap;
}
.ss-num {
    font-family: var(--font-body);
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.26em;
    color: var(--accent-light);
}
.ss-sep {
    flex: 1; height: 1px;
    background: rgba(255,255,255,0.22);
    position: relative;
}
.ss-sep::after {
    content: ''; position: absolute;
    right: 0; top: 50%; transform: translateY(-50%);
    width: 7px; height: 7px;
    background: var(--accent);
}

/* === POSITIONIERUNG === */
.position-section { background: var(--bg-alt); }
.position-grid {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 5rem; align-items: start;
}
.position-content h2 { margin-bottom: 1.75rem; max-width: 18ch; }
.position-content p { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.25rem; }
.position-side {
    border-left: 3px solid var(--accent);
    padding: 0.5rem 0 0.5rem 2.5rem;
}
.position-side .big-claim {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 800; letter-spacing: -0.025em;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.position-side .big-claim em { font-size: 0.92em; }
.position-side p { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.65; }

/* === LEISTUNGEN — zwei Zielgruppen, dunkel === */
.audience-section {
    background: var(--bg-dark);
    color: #fff;
}
.audience-head { max-width: 760px; margin-bottom: 4rem; }
.audience-head .label { color: var(--accent-light); }
.audience-head h2 { color: #fff; }
.audience-head h2 em { color: var(--accent-light); }
.audience-head p { color: rgba(255,255,255,0.72); font-size: 1.05rem; margin-top: 1.25rem; }
.audience-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.16);
}
.audience-cell {
    padding: 3rem 3rem 3.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.16);
}
.audience-cell + .audience-cell { border-left: 1px solid rgba(255,255,255,0.16); padding-left: 3rem; }
.audience-cell .num {
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--accent-light);
    display: block; margin-bottom: 1.5rem;
}
.audience-cell h3 { color: #fff; margin-bottom: 1.1rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.audience-cell > p { color: rgba(255,255,255,0.72); font-size: 0.98rem; margin-bottom: 1.75rem; }
.audience-cell ul { border-top: 1px solid rgba(255,255,255,0.16); }
.audience-cell ul li {
    padding: 0.65rem 0 0.65rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.92rem; color: rgba(255,255,255,0.82);
    position: relative;
}
.audience-cell ul li::before {
    content: ''; position: absolute; left: 0; top: 1.1rem;
    width: 7px; height: 7px; background: var(--accent);
}

/* === PROZESS — 3 Schritte === */
.prozess-section { background: var(--bg); }
.prozess-head {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: end;
    margin-bottom: 4rem;
}
.prozess-head p { font-size: 1.05rem; color: var(--ink-soft); }
.prozess-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    counter-reset: step;
}
.prozess-card {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    padding: 2.5rem 2.25rem 2.75rem;
    position: relative;
}
.prozess-card .step {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 4.5vw, 4rem);
    font-weight: 800; letter-spacing: -0.05em;
    color: var(--accent);
    line-height: 0.9;
    display: block; margin-bottom: 1.75rem;
}
.prozess-card h3 { margin-bottom: 1rem; }
.prozess-card p { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.65; }

/* === BRANCHEN === */
.branchen-section { background: var(--bg-alt); }
.branchen-grid {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 5rem; align-items: start;
}
.branchen-content h2 { margin-bottom: 1.5rem; }
.branchen-content p { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.7; }
.branchen-list { border-top: 1px solid var(--ink); }
.branchen-list li {
    display: grid; grid-template-columns: 56px 1fr;
    gap: 1.5rem; align-items: baseline;
    padding: 1.3rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.9vw, 1.45rem);
    font-weight: 700; letter-spacing: -0.02em;
    color: var(--ink);
}
.branchen-list li .idx {
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.22em; color: var(--accent);
}
.branchen-list li small {
    display: block;
    font-family: var(--font-body); font-size: 0.85rem;
    font-weight: 400; color: var(--ink-muted);
    letter-spacing: 0; margin-top: 0.3rem;
}

/* === SERIF-PULL-QUOTES (Signature, ersetzt Manifesto) === */
.pull-quote {
    background: var(--surface);
    padding: 6.5rem 0;
    text-align: center;
}
.pull-quote blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 480;
    font-size: clamp(1.7rem, 3.6vw, 3.1rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
    color: var(--ink);
    max-width: 26ch;
    margin: 0 auto;
    padding-right: 0.3em;
}
.pull-quote blockquote::before { content: '«\00a0'; color: var(--accent); }
.pull-quote blockquote::after { content: '\00a0»'; color: var(--accent); }
.pull-quote cite {
    display: block; margin-top: 2rem;
    font-family: var(--font-body); font-style: normal;
    font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--ink-muted); font-weight: 600;
}

/* === KONTAKT === */
.contact-section { background: var(--bg-alt); }
.contact-grid { grid-template-columns: 1fr 1.15fr; align-items: stretch; }
.contact-info-block h2 { margin-bottom: 1.5rem; }
.contact-lead { font-size: 1.02rem; color: var(--ink-soft); max-width: 42ch; margin-bottom: 2rem; }
.contact-rows { border-top: 1px solid var(--line); }
.contact-row {
    display: grid; grid-template-columns: 140px 1fr;
    gap: 2rem; padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}
.contact-row .label-sm {
    font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--ink-muted); font-weight: 600;
}
.contact-row .value {
    font-family: var(--font-display);
    font-size: 1.25rem; color: var(--ink); font-weight: 700;
    line-height: 1.4; letter-spacing: -0.015em;
    overflow-wrap: anywhere;
}
.contact-row .value a:hover { color: var(--accent); }
.contact-map {
    aspect-ratio: auto; min-height: 460px;
    border-radius: 0; background: var(--surface);
}
.contact-map iframe { filter: grayscale(0.85) contrast(1.08); }

/* === FINAL CTA === */
.final-cta {
    background: var(--accent);
    color: #fff;
    padding: 7.5rem 0;
    text-align: center;
}
.final-cta .label { color: rgba(255,255,255,0.75); }
.final-cta h2 {
    color: #fff; max-width: 20ch;
    margin: 0 auto 1.5rem;
    padding-right: 0.3em;
}
.final-cta h2 em {
    color: #fff; opacity: 0.92;
    display: inline-block; padding-right: 0.2em;
}
.final-cta .lead {
    color: rgba(255,255,255,0.85);
    max-width: 46ch; margin: 0 auto 2.75rem;
}
.final-cta .btn-row { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-mail {
    display: inline-flex; align-items: center;
    background: #fff; color: var(--accent-deep);
    padding: 1.15rem 2.9rem;
    font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
    transition: background 250ms, color 250ms;
}
.final-cta .btn-mail:hover { background: var(--bg-dark); color: #fff; }

/* === FOOTER === */
.footer { background: var(--bg); color: var(--ink-soft); border-top: 1px solid var(--line); padding: 4.5rem 0 2rem; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr; padding-bottom: 2.5rem; }
.footer h4 { color: var(--ink); font-size: 1.45rem; font-weight: 800; }
.footer h4 .accent { color: var(--accent); }
.footer h5 { color: var(--ink-muted); letter-spacing: 0.26em; }
.footer p { color: var(--ink-muted); }
.footer ul li { color: var(--ink-soft); font-size: 0.92rem; padding: 0.35rem 0; }
.footer ul a { color: var(--ink-soft); }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); color: var(--ink-muted); }
.footer-bottom a { color: var(--ink-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* === PLACEHOLDER === */
.placeholder-banner {
    background: var(--surface);
    border-left: 3px solid var(--accent);
    border-radius: 0;
    margin-top: 2.5rem;
}
.placeholder-banner strong { color: var(--accent-deep); }
.position-section .placeholder-banner, .branchen-section .placeholder-banner { background: var(--bg); }
.audience-section .placeholder-banner {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.8);
    border-left-color: var(--accent-light);
}
.audience-section .placeholder-banner strong { color: var(--accent-light); }

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms cubic-bezier(0.22,0.61,0.36,1), transform 900ms cubic-bezier(0.22,0.61,0.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* === RESPONSIVE === */
/* Kleine Notebooks (1280×800): Hero kompakter, bleibt exakt 100vh */
@media (min-width: 981px) and (max-height: 840px) {
    .hero { padding-top: 5.5rem; }
    .hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 1.4rem; }
    .hero-eyebrow { margin-bottom: 1.4rem; }
    .hero .lead { margin-bottom: 1.75rem; font-size: 1.05rem; }
    .hero-meta { margin-top: 1.5rem; padding: 1.2rem 0 1.4rem; }
    .hero::after { font-size: clamp(10rem, 22vw, 18rem); }
}
@media (max-width: 1180px) {
    .position-grid, .branchen-grid { gap: 3.5rem; }
    .prozess-grid { gap: 1.25rem; }
}
@media (max-width: 980px) {
    section { padding: 5rem 0; }
    .hero { height: auto; max-height: none; min-height: 0; padding-top: 6.5rem; padding-bottom: 0; }
    .hero::after { font-size: 11rem; right: -1rem; bottom: -1.5rem; }
    .hero-meta { grid-template-columns: 1fr; gap: 0.75rem; margin-top: 3rem; padding: 1.5rem 0; }
    .hero-meta .hm-loc { text-align: left; margin-top: 0.5rem; }
    .position-grid, .branchen-grid { grid-template-columns: 1fr; gap: 3rem; }
    .position-side { padding-left: 1.75rem; }
    .audience-grid { grid-template-columns: 1fr; }
    .audience-cell { padding: 2.5rem 0; }
    .audience-cell + .audience-cell { border-left: none; padding-left: 0; }
    .prozess-head { grid-template-columns: 1fr; gap: 1.5rem; }
    .prozess-grid { grid-template-columns: 1fr; }
    .contact-map { min-height: 360px; }
    .steps-strip-inner { gap: 1.25rem; }
}
@media (max-width: 560px) {
    section { padding: 4.5rem 0; }
    .hero { padding-top: 5.5rem; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .steps-strip-inner { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
    .ss-sep { display: none; }
    .pull-quote { padding: 5rem 0; }
    .contact-row { grid-template-columns: 1fr; gap: 0.35rem; }
    .final-cta .btn-row { flex-direction: column; align-items: center; }
    .final-cta .btn-mail { width: 100%; justify-content: center; }
    .branchen-list li { grid-template-columns: 42px 1fr; gap: 1rem; }
}
