@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;1,9..144,300;1,9..144,400&family=DM+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; }
.cp { background: #f8f6f1; font-family: 'DM Sans', sans-serif; }

/* ================================================================
   HERO
   ================================================================ */
.cp-hero {
    background: #1a1714;
    padding: 148px 5rem 4rem;
    position: relative;
    overflow: hidden;
}

.cp-hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,160,32,.06), transparent 70%);
    pointer-events: none;
}

.cp-hero-content { position: relative; z-index: 1; max-width: 720px; padding-bottom: 4rem; }

.cp-eyebrow {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-size: 10px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 2.5rem;
    font-family: 'DM Sans', sans-serif;
}

.cp-eyebrow-line {
    display: inline-block;
    width: 22px; height: 1px;
    background: #e8a020;
    flex-shrink: 0;
}

.cp-hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    line-height: .92;
    letter-spacing: -.04em;
    color: #fff;
    margin: 0 0 1.5rem 0;
    animation: heroUp 1s cubic-bezier(.7,0,.3,1) .1s both;
}

.cp-hero-title em { font-style: italic; color: #e8a020; }

@keyframes heroUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cp-hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,.5);
    line-height: 1.7;
    font-weight: 300;
    max-width: 560px;
    animation: heroUp 1s cubic-bezier(.7,0,.3,1) .25s both;
}

.cp-hero-stats {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    margin-top: 3rem;
    position: relative; z-index: 1;
}

.cp-hstat { flex: 1; text-align: center; padding: 2rem 1rem; }

.cp-hstat-num {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: #fff;
    line-height: 1;
    letter-spacing: -.03em;
}

.cp-hstat-lbl {
    display: block;
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin-top: .4rem;
}

.cp-hstat-sep { width: 1px; height: 40px; background: rgba(255,255,255,.08); }

/* ================================================================
   ORGS STRIP
   ================================================================ */
.cp-orgs {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 2rem 0;
}

.cp-orgs-label {
    font-size: 9px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #c0b8b0;
    font-family: 'DM Sans', sans-serif;
    margin-right: 3rem;
    white-space: nowrap;
}

.cp-container { max-width: 1200px; margin: 0 auto; padding: 0 5rem; }

.cp-orgs .cp-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cp-orgs-logos { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }

.cp-org-logo {
    height: 32px; width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .35;
    transition: filter .35s, opacity .35s;
}

.cp-org-logo:hover { filter: grayscale(0); opacity: 1; }

/* ================================================================
   SHARED
   ================================================================ */
.cp-section { padding: 5rem 0; }

.cp-section-header { margin-bottom: 4rem; }

.cp-section-sub {
    font-size: 14px;
    color: #9a9289;
    margin-top: 1.5rem;
    font-weight: 300;
    max-width: 500px;
}

.cp-label {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 10px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: #b0a898;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.cp-label::before {
    content: '';
    display: inline-block;
    width: 18px; height: 1px;
    background: #e8a020;
}

.cp-title {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: .97;
    letter-spacing: -.04em;
    color: #1a1714;
    margin: 0;
}

.cp-title em { font-style: italic; color: #e8a020; }

.cp-body { font-size: 15px; line-height: 1.78; color: #6a6058; font-weight: 300; margin-bottom: 2rem; }

.lm { display: block; overflow: hidden; padding-bottom: .05em; }
.li { display: inline-block; transform: translateY(110%); }

.reveal-line {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.1s cubic-bezier(.7,0,.3,1);
}
.reveal-line.is-visible { transform: translateY(0); }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: calc(var(--idx, 0) * 50ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   CERT GRID
   ================================================================ */
.cp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cp-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color .3s, box-shadow .3s, transform .3s;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease, border-color .3s, box-shadow .3s;
    transition-delay: calc(var(--idx, 0) * 50ms);
}

.cp-card.is-visible { opacity: 1; transform: translateY(0); }

.cp-card:hover {
    border-color: rgba(232,160,32,.35);
    box-shadow: 0 12px 40px rgba(232,160,32,.1);
    transform: translateY(-4px);
}

.cp-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f0ece5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.cp-card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform .4s ease, opacity .3s;
}

.cp-card:hover .cp-card-img img {
    transform: scale(0.92);
    opacity: .4;
}

.cp-card-dl {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    opacity: 0;
    transition: opacity .3s;
}

.cp-card:hover .cp-card-dl { opacity: 1; }

.cp-dl-icon {
    width: 40px; height: 40px;
    border: 1px solid rgba(232,160,32,.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #e8a020;
    background: rgba(248,246,241,.95);
}

.cp-dl-text {
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #1a1714;
    font-weight: 500;
    background: rgba(248,246,241,.95);
    padding: .25rem .75rem;
    border-radius: 999px;
}

.cp-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }

.cp-card-org {
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #e8a020;
    font-weight: 500;
}

.cp-card-title {
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 300;
    color: #1a1714;
    margin: 0;
    line-height: 1.3;
}

.cp-card-desc {
    font-size: 12px;
    color: #9a9289;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
    flex: 1;
}

/* ================================================================
   CTA
   ================================================================ */
.cp-cta {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.06);
    padding: 7rem 0;
}

.cp-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
}

.cp-pill {
    display: inline-flex;
    align-items: center;
    background: #1a1714;
    color: #f8f6f1;
    border-radius: 999px;
    padding: .75rem 1.6rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;
    position: relative;
    overflow: hidden;
    transition: color .4s ease, transform .3s cubic-bezier(.7,0,.3,1);
    will-change: transform;
}

.cp-pill-bg {
    position: absolute;
    inset: 0;
    background: #e8a020;
    transform: translateX(-101%);
    transition: transform .45s cubic-bezier(.7,0,.3,1);
    border-radius: 999px;
    z-index: 0;
}

.cp-pill:hover .cp-pill-bg { transform: translateX(0); }
.cp-pill:hover { color: #1a1714; }
.cp-pill-text { position: relative; z-index: 1; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
    .cp-hero { padding: 128px 2.5rem 3rem; }
    .cp-container { padding: 0 2.5rem; }
    .cp-grid { grid-template-columns: repeat(3, 1fr); }
    .cp-cta-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .cp-hero { padding: 85px 1.5rem 2.5rem; }
    .cp-container { padding: 0 1.5rem; }
    .cp-section { padding: 4rem 0; }
    .cp-cta { padding: 4rem 0; }
    .cp-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .cp-hero-stats { flex-wrap: wrap; }
    .cp-hstat { min-width: 45%; }
    .cp-hstat-sep { display: none; }
    .cp-orgs .cp-container { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 480px) {
    .cp-grid { grid-template-columns: 1fr; }
}

/* ── Fallback: Inhalt immer sichtbar nach kurzer Verzögerung ── */
@keyframes revealFallback     { to { opacity: 1; transform: translateY(0); } }
@keyframes revealLineFallback { to { transform: translateY(0); } }
.reveal      { animation: revealFallback     0.5s 0.4s both; }
.reveal-line { animation: revealLineFallback 0.5s 0.4s both; }
.cp-card     { animation: revealFallback     0.5s 0.5s both; }
.reveal.is-visible, .reveal-line.is-visible, .cp-card.is-visible { animation: none; }
