/* ===== CONTACT PAGE STYLES ===== */
@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; }
.ct { background: #f8f6f1; font-family: 'DM Sans', sans-serif; }

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

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

.ct-hero-content { position: relative; z-index: 1; max-width: 680px; }

.ct-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;
}

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

.ct-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;
}

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

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

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

/* ================================================================
   SHARED
   ================================================================ */
.ct-section { padding: 5rem 0; }
.ct-container { max-width: 1200px; margin: 0 auto; padding: 0 5rem; }

.ct-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;
}

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

.ct-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 0 1.5rem 0;
}

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

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

.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 .85s ease, transform .85s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   GRID
   ================================================================ */
.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
}

/* ================================================================
   INFO LEFT
   ================================================================ */
.ct-info-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.04);
}

.ct-info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: background .25s;
}

.ct-info-item:last-child { border-bottom: none; }
.ct-info-item:hover { background: #f8f6f1; }

.ct-info-icon {
    width: 38px; height: 38px;
    border: 1px solid rgba(232,160,32,.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #e8a020;
    flex-shrink: 0;
    background: rgba(232,160,32,.05);
}

.ct-info-label {
    display: block;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #b0a898;
    margin-bottom: .2rem;
}

.ct-info-value {
    display: block;
    font-size: 14px;
    color: #1a1714;
    font-weight: 400;
}

.ct-orgs { margin-top: .5rem; }

.ct-orgs-label {
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #c0b8b0;
    display: block;
    margin-bottom: 1rem;
}

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

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

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

/* ================================================================
   FORM RIGHT
   ================================================================ */
.ct-form-wrap {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(0,0,0,.06);
}

.ct-alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ct-alert-success {
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.2);
    color: #166534;
}

.ct-alert-error {
    background: rgba(239,68,68,.07);
    border: 1px solid rgba(239,68,68,.18);
    color: #991b1b;
}

.ct-form { display: flex; flex-direction: column; gap: 1.5rem; }

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.ct-form-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    position: relative;
}

.ct-form-label {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #9a9289;
    font-weight: 500;
    transition: color .3s;
}

.ct-form-group.focused .ct-form-label { color: #e8a020; }

.ct-input {
    width: 100%;
    background: #f8f6f1;
    border: 1px solid rgba(0,0,0,.09);
    border-radius: 10px;
    padding: .85rem 1.1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #1a1714;
    outline: none;
    transition: border-color .3s, background .3s, box-shadow .3s;
    appearance: none;
}

.ct-input::placeholder { color: #c0b8b0; }

.ct-input:focus {
    border-color: rgba(232,160,32,.5);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(232,160,32,.08);
}

.ct-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

/* phone */
.ct-phone-group {
    display: flex;
    gap: .75rem;
}

.ct-select {
    background: #f8f6f1;
    border: 1px solid rgba(0,0,0,.09);
    border-radius: 10px;
    padding: .85rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #1a1714;
    outline: none;
    cursor: pointer;
    transition: border-color .3s, background .3s;
    flex-shrink: 0;
    width: 120px;
    appearance: none;
}

.ct-select:focus {
    border-color: rgba(232,160,32,.5);
    background: #fff;
}

.ct-input-phone { flex: 1; }

/* submit */
.ct-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a1714;
    color: #f8f6f1;
    border: none;
    border-radius: 999px;
    padding: 1rem 2.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color .4s ease, transform .3s cubic-bezier(.7,0,.3,1);
    will-change: transform;
    align-self: flex-start;
    letter-spacing: .03em;
}

.ct-submit-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;
}

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

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
    .ct-hero { padding: 128px 2.5rem 3rem; }
    .ct-container { padding: 0 2.5rem; }
    .ct-grid { grid-template-columns: 1fr; gap: 3rem; }
    .ct-section { padding: 5rem 0; }
}

@media (max-width: 768px) {
    .ct-hero { padding: 85px 1.5rem 2.5rem; }
    .ct-container { padding: 0 1.5rem; }
    .ct-section { padding: 4rem 0; }
    .ct-form-wrap { padding: 2rem 1.5rem; }
    .ct-form-row { grid-template-columns: 1fr; }
    .ct-phone-group { flex-direction: column; }
    .ct-select { width: 100%; }
}

/* ── 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; }
.reveal.is-visible, .reveal-line.is-visible { animation: none; }
