/* ============================================
   TOPO AG — Deep Navy + Ivory + Kupfer-Linien
   Fraunces + Inter · seriös, etabliert, viel Whitespace
   ============================================ */

:root {
    --bg:           #F7F5F0;   /* Ivory */
    --bg-alt:       #FFFFFF;
    --bg-dark:      #0D1B2E;   /* Deep Navy */
    --bg-deep:      #071120;
    --surface:      #EDE9E0;
    --ink:          #11202F;
    --ink-soft:     #33404F;
    --ink-muted:    #6F7884;
    --ink-light:    #A8AFB8;
    --line:         #DDD8CB;
    --line-soft:    #E8E4D9;
    --accent:       #0A5A86;   /* Text-Akzent Blau */
    --accent-deep:  #064F77;
    --accent-light: #4E8FBF;
    --copper:       #9A6A4A;   /* NUR Linien & Nummern */

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.08;
    color: var(--ink);
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 em, h1 em, blockquote em {
    font-style: italic; font-weight: 500;
    color: var(--accent);
}
/* Italic-em-Safety */
h1 em, h2 em, h3 em, h4 em, blockquote em {
    display: inline-block;
    padding-right: 0.1em;
}

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.32em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.25rem;
}

/* === NAV === */
.nav { padding: 1.6rem 0; }
.nav.scrolled { background: rgba(247, 245, 240, 0.96); border-bottom-color: var(--line); }
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.02em; }
.logo-dot { color: var(--copper); }
.nav-links a { font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.nav-cta { border-radius: 0; letter-spacing: 0.18em; }
/* Telefonnummer als Text rechts neben dem CTA */
.nav-links .nav-phone {
    font-family: var(--font-display);
    font-size: 1.02rem; font-weight: 600;
    letter-spacing: 0.02em; text-transform: none;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.nav-links .nav-phone:hover { color: var(--accent); }

/* === HERO — Ivory, asymmetrischer Split === */
.hero {
    background: var(--bg);
    color: var(--ink);
    height: 100vh;
    max-height: 100vh;
    min-height: 0;
    display: flex; align-items: center;
    padding-top: 7.5rem; padding-bottom: 2.5rem;
    overflow: hidden;
}
.hero-inner-topo { width: 100%; }
.hero-grid-topo {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: center;
}
.hero-eyebrow-topo {
    display: flex; align-items: center; gap: 1rem;
    font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 2.25rem;
    opacity: 0;
    animation: fadeInLeft 0.9s cubic-bezier(0.22,0.61,0.36,1) 0.2s both;
}
.hero-eyebrow-topo .eb-rule { width: 48px; height: 1px; background: var(--copper); flex-shrink: 0; }
.hero h1.hero-brand-topo {
    margin-bottom: 1.75rem;
    max-width: none;
    font-size: 1rem; /* reset, Kinder tragen Grössen */
}
.hero-brand-topo .brand-line {
    display: block;
    font-size: clamp(4rem, 11vw, 8rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 0.95;
    color: var(--ink);
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 0.35s both;
}
.hero-brand-topo .copper-dot { color: var(--copper); }
.hero-brand-topo .brand-sub {
    display: block;
    margin-top: 1.5rem;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--ink-soft);
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 0.6s both;
}
.hero .lead {
    color: var(--ink-soft);
    font-size: 1.1rem; line-height: 1.7;
    max-width: 54ch;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 0.9s both;
}
.hero-actions-topo {
    display: flex; align-items: center; gap: 2rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 1.2s both;
}
.btn-topo {
    background: var(--ink); color: var(--bg);
    padding: 1.05rem 2.4rem;
    font-family: var(--font-body); font-size: 0.76rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    transition: background 250ms ease;
}
.btn-topo:hover { background: var(--accent); color: var(--bg); }
.hero-secondary-topo {
    font-family: var(--font-body); font-size: 0.76rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--copper);
    padding-bottom: 0.35rem;
}
.hero-secondary-topo:hover { color: var(--accent); }
.hero-footnote-topo {
    display: flex; align-items: center; gap: 1rem;
    margin-top: 2rem; padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-body); font-size: 0.8rem;
    color: var(--ink-muted);
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 1.45s both;
}
.hero-footnote-topo .hf-loc { font-weight: 700; color: var(--ink); }
.hero-footnote-topo .hf-divider { width: 1px; height: 16px; background: var(--line); }

/* Kompetenz-Panel */
.hero-panel {
    background: var(--bg-dark);
    color: var(--bg);
    padding: 3rem 2.75rem 2.5rem;
    opacity: 0;
    animation: fadeInRight 1.1s cubic-bezier(0.22,0.61,0.36,1) 0.5s both;
}
.hero-panel .panel-head {
    font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent-light);
    padding-bottom: 1.25rem; margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--copper);
}
.panel-list li {
    display: flex; align-items: baseline; gap: 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 500;
    color: var(--bg);
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(247, 245, 240, 0.12);
}
.panel-list li:last-child { border-bottom: none; }
.panel-list .p-num {
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
    color: var(--copper); letter-spacing: 0.08em;
    flex-shrink: 0;
}

/* === MISSION STRIP === */
.mission-strip {
    background: var(--bg-dark);
    padding: 6rem 0;
}
.mission-quote {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.8vw, 2.15rem);
    font-weight: 500;
    line-height: 1.45;
    color: rgba(247, 245, 240, 0.92);
    max-width: 44ch;
    margin: 0 auto;
    text-align: center;
}
.mission-quote em { color: var(--accent-light); }

/* === LEISTUNGEN === */
.services-topo { background: var(--bg); }
.services-head-topo { max-width: 680px; margin-bottom: 3.5rem; }
.services-head-topo p { font-size: 1.05rem; color: var(--ink-soft); margin-top: 1rem; }
/* Signature: Mandats-Index — grosse Zeilen mit Serif-Initialen A. B. C. */
.services-list-topo { border-top: 1px solid var(--ink); }
.srv-item {
    display: grid; grid-template-columns: 110px 1fr 36px;
    gap: 2.25rem; align-items: center;
    padding: 2.6rem 0.75rem 2.6rem 0.25rem;
    border-bottom: 1px solid var(--line);
    transition: padding-left 350ms cubic-bezier(0.22,0.61,0.36,1), background 350ms ease;
}
.srv-item:hover { padding-left: 1.5rem; background: var(--bg-alt); }
.srv-item .idx {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 500;
    line-height: 1;
    color: var(--copper);
    align-self: start;
    justify-self: start;
    padding-right: 0.08em; /* Italic-Safety */
}
.srv-item h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 0.55rem; }
.srv-item p { font-size: 0.98rem; color: var(--ink-soft); max-width: 68ch; }
.srv-arrow { font-size: 1.2rem; color: var(--accent); transition: transform 300ms ease; }
.srv-item:hover .srv-arrow { transform: translateX(8px); }

/* === ARBEITSWEISE === */
.approach-topo { background: var(--surface); }
.approach-head { margin-bottom: 3.5rem; }
.approach-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--copper);
}
.appr-cell { padding: 2.75rem 2.75rem 0.5rem 0; }
.appr-cell:not(:last-child) { border-right: 1px solid var(--line); }
.appr-cell:not(:first-child) { padding-left: 2.75rem; }
.appr-num {
    font-family: var(--font-display); font-style: italic;
    font-size: 1.6rem; color: var(--copper);
    margin-bottom: 1.25rem;
}
.appr-cell h3 { font-size: 1.4rem; margin-bottom: 0.85rem; }
.appr-cell p { font-size: 0.96rem; color: var(--ink-soft); }

/* === MANDATE — dunkel === */
.mandate-topo { background: var(--bg-dark); color: var(--bg); }
.mandate-head { max-width: 720px; margin-bottom: 3.5rem; }
.mandate-head h2 { color: var(--bg); }
.mandate-head h2 em { color: var(--accent-light); }
.mandate-head p { color: rgba(247, 245, 240, 0.68); font-size: 1.05rem; margin-top: 1rem; }
.mandate-list {
    display: flex; flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid rgba(247, 245, 240, 0.15);
    border-bottom: 1px solid rgba(247, 245, 240, 0.15);
}
.mandate-list li {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    font-weight: 500;
    color: rgba(247, 245, 240, 0.88);
    padding: 2rem 3rem;
    border-right: 1px solid rgba(247, 245, 240, 0.15);
}
.mandate-list li:first-child { padding-left: 0.5rem; }
.mandate-list li:last-child { border-right: none; }
.mandate-ph {
    margin-top: 2.5rem;
    background: rgba(247, 245, 240, 0.06);
    color: rgba(247, 245, 240, 0.85);
    border-left-color: var(--copper);
}
.mandate-ph strong { color: var(--accent-light); }

/* === MANIFESTO === */
.manifesto-topo {
    background: var(--surface);
    padding: 8rem 0;
    text-align: center;
    position: relative;
}
.manifesto-topo::before {
    content: '§';
    position: absolute; top: 2rem; left: 50%; transform: translateX(-50%);
    font-family: var(--font-display); font-style: italic;
    font-size: 11rem; line-height: 1;
    color: var(--copper);
    opacity: 0.12;
    pointer-events: none;
}
.manifesto-topo blockquote {
    position: relative; z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.8vw, 2.9rem);
    font-weight: 500; line-height: 1.3;
    color: var(--ink);
    max-width: 30ch; margin: 0 auto;
}
.manifesto-topo cite {
    display: block; margin-top: 2.5rem;
    font-family: var(--font-body); font-style: normal;
    font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--ink-muted); font-weight: 600;
}

/* === KONTAKT + FINAL — EIN Split: Statement links, Kontaktblock rechts === */
.final-cta-topo {
    background: var(--accent-deep);
    color: var(--bg);
    padding: 7.5rem 0;
}
.final-cta-topo .label { color: rgba(247, 245, 240, 0.7); }
.fc-grid {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 5rem; align-items: center;
}
.final-cta-topo h2 { color: var(--bg); max-width: 20ch; }
.final-cta-topo h2 em { color: var(--bg); opacity: 0.92; }
.final-cta-topo .lead { color: rgba(247, 245, 240, 0.85); margin: 1.25rem 0 2.25rem; max-width: 50ch; }
.fc-actions { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.fc-contactblock {
    background: var(--bg-dark);
    padding: 2.75rem 2.5rem 2.25rem;
}
.fc-contactblock .cb-head {
    font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent-light);
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--copper);
}
.contact-rows { border-top: none; }
.contact-row {
    display: grid; grid-template-columns: 150px 1fr;
    gap: 1.5rem; padding: 1.15rem 0;
    border-bottom: 1px solid rgba(247, 245, 240, 0.14);
    align-items: baseline;
}
.contact-row .c-label {
    font-family: var(--font-body); font-size: 0.68rem;
    letter-spacing: 0.26em; text-transform: uppercase;
    color: rgba(247, 245, 240, 0.55); font-weight: 600;
}
.contact-row .c-value {
    font-family: var(--font-display);
    font-size: 1.15rem; color: var(--bg); font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.contact-row a:hover { color: var(--accent-light); }
.cb-ph {
    margin-top: 1.5rem;
    background: rgba(247, 245, 240, 0.06);
    color: rgba(247, 245, 240, 0.85);
}
.cb-ph strong { color: var(--accent-light); }
.btn-cta-light {
    background: var(--bg); color: var(--accent-deep);
    padding: 1.1rem 2.5rem;
    font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    transition: background 250ms ease, color 250ms ease;
}
.btn-cta-light:hover { background: var(--bg-dark); color: var(--bg); }
.btn-cta-ghost {
    font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--bg);
    border-bottom: 1px solid rgba(247, 245, 240, 0.6);
    padding-bottom: 0.35rem;
}
.btn-cta-ghost:hover { border-color: var(--bg); }

/* === FOOTER === */
.footer {
    background: var(--bg);
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
}
.footer-grid { grid-template-columns: 2fr 1fr 1fr; }
.footer h4 { color: var(--ink); font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.footer h5 { color: var(--ink-muted); }
.footer p { color: var(--ink-muted); }
.footer ul li { color: var(--ink-soft); font-size: 0.92rem; }
.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-color: var(--copper); margin-top: 1.75rem; }
.placeholder-banner strong { color: var(--accent-deep); }

/* === 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 fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
.reveal { transition-duration: 900ms; }

/* === RESPONSIVE === */
/* Kurze Desktop-Viewports (z.B. 1280×800): Hero-Inhalt kompakter */
@media (min-width: 981px) and (max-height: 860px) {
    .hero { padding-top: 7rem; padding-bottom: 2rem; }
    .hero-brand-topo .brand-line { font-size: clamp(3.2rem, 8.5vw, 6rem); }
    .hero-brand-topo .brand-sub { font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-top: 1.1rem; }
    .hero-eyebrow-topo { margin-bottom: 1.5rem; }
    .hero h1.hero-brand-topo { margin-bottom: 1.25rem; }
    .hero .lead { font-size: 1rem; margin-bottom: 1.6rem; }
    .hero-footnote-topo { margin-top: 1.5rem; padding-top: 0.9rem; }
    .hero-panel { padding: 2.25rem 2.25rem 1.9rem; }
    .panel-list li { padding: 0.8rem 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
}
@media (max-width: 1180px) {
    .hero-grid-topo { gap: 3rem; }
    .mandate-list li { padding: 1.5rem 2rem; }
    .nav-phone-li { display: none; }
}
@media (max-width: 980px) {
    section { padding: 5rem 0; }
    .hero { height: auto; max-height: none; min-height: 0; padding-top: 7rem; padding-bottom: 3rem; }
    .hero-grid-topo { grid-template-columns: 1fr; gap: 3rem; }
    .hero-panel { max-width: 480px; }
    .nav-phone-li { display: list-item; } /* im Burger-Menü wieder sichtbar */
    .nav-links .nav-phone { color: var(--ink); }
    .approach-grid { grid-template-columns: 1fr; }
    .appr-cell { border-right: none !important; padding: 2rem 0 1rem !important; border-bottom: 1px solid var(--line); }
    .appr-cell:last-child { border-bottom: none; }
    .fc-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .srv-item { grid-template-columns: 64px 1fr 28px; gap: 1.25rem; }
    .srv-item .idx { font-size: 2rem; }
    .mandate-list { flex-direction: column; }
    .mandate-list li { border-right: none; border-bottom: 1px solid rgba(247,245,240,0.15); padding: 1.25rem 0.25rem; }
    .mandate-list li:last-child { border-bottom: none; }
    .mission-strip { padding: 4.5rem 0; }
}
@media (max-width: 560px) {
    section { padding: 4.5rem 0; }
    .hero { padding-top: 6rem; }
    .hero-brand-topo .brand-line { font-size: clamp(3rem, 16vw, 4rem); }
    .hero-actions-topo { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .hero-actions-topo .btn-topo { width: 100%; max-width: 320px; text-align: center; }
    .hero-footnote-topo { flex-wrap: wrap; gap: 0.6rem; }
    .hero-panel { padding: 2.25rem 1.75rem 1.75rem; }
    .srv-item { grid-template-columns: 1fr; gap: 0.65rem; }
    .srv-item .idx { font-size: 1.7rem; }
    .srv-arrow { display: none; }
    .fc-actions { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .fc-actions .btn-cta-light { width: 100%; max-width: 320px; text-align: center; }
    .fc-contactblock { padding: 2rem 1.5rem 1.6rem; }
    .contact-row { grid-template-columns: 1fr; gap: 0.35rem; }
}
