/* ============================================
   Nik Behrendt – About
   (Basis-Styles kommen aus base.css)
   ============================================ */

.about-main {
    flex: 1;
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 40px;
}

/* --- Hero --- */
.about-hero {
    text-align: center;
    max-width: var(--text-max);
    margin: 0 auto 72px;
    padding: 0 var(--content-pad);
}

.about-portrait {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 36px;
    border: 1px solid var(--white-12);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.about-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(0.2);
}

.about-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: 0.16em;
    padding-left: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
    line-height: 1.1;
}

.about-tagline {
    font-size: var(--fs-sm);
    font-weight: 400;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    color: var(--white-70);
    margin-bottom: 8px;
}

.about-location {
    font-size: var(--fs-xs);
    font-weight: 300;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    color: var(--white-40);
}

.about-hero-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* --- Sections --- */
.about-section {
    max-width: var(--text-max);
    margin: 0 auto 64px;
    padding: 0 var(--content-pad);
}

.about-section h2 {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--white-40);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--white-06);
}

.about-section > p {
    font-size: var(--fs-lg);
    font-weight: 300;
    line-height: 1.8;
    color: var(--white-85);
}

/* Fakten in einer Zeile */
.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.about-fact strong {
    display: block;
    font-size: var(--fs-2xl);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 6px;
}

.about-fact span {
    font-size: var(--fs-xs);
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    color: var(--white-55);
}

/* --- Equipment --- */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.equipment-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--white-06);
    padding: 28px 24px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.equipment-card:hover { border-color: var(--white-25); background: rgba(255,255,255,0.05); }

.equipment-icon { color: var(--white-55); margin-bottom: 18px; }

.equipment-card h3 {
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.equipment-card ul { list-style: none; }

.equipment-card li {
    font-size: var(--fs-md);
    font-weight: 300;
    line-height: 1.8;
    color: var(--white-70);
}

/* --- Kunden-Logos --- */
.about-section-wide { max-width: none; padding: 0; }

.about-section-wide h2 {
    max-width: var(--text-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--content-pad);
    padding-right: var(--content-pad);
}

.client-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    cursor: grab;
    touch-action: pan-y;
}

.client-carousel.dragging { cursor: grabbing; }

.client-track {
    display: flex;
    gap: 48px;
    width: max-content;
    will-change: transform;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 16px 24px;
    height: 90px;
}

.client-logo img {
    max-width: 150px;
    max-height: 52px;
    height: 52px;
    width: auto;
    object-fit: contain;
    opacity: 0.45;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.client-logo img[src$=".svg"] { filter: none; opacity: 0.55; }
.client-logo img.tall { height: 72px; max-height: 72px; }
.client-logo:hover img { opacity: 1; }

/* --- Kontakt-Block --- */
.about-contact {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid var(--white-06);
}

.about-contact h2 { border: 0; margin-bottom: 12px; }

.about-contact p {
    font-size: var(--fs-md);
    color: var(--white-70);
    margin-bottom: 24px;
    line-height: 1.7;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.contact-email {
    font-size: clamp(16px, 2.2vw, 24px);
    font-weight: 400;
    letter-spacing: 0.06em;
    padding: 8px 4px;
    border-bottom: 1px solid var(--white-25);
    transition: border-color 0.3s ease;
}

.contact-email:hover { border-color: var(--white); }

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    color: var(--white-85);
    border: 1px solid var(--white-25);
    border-radius: 999px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover, .copy-btn.copied { border-color: var(--white); background: var(--white-12); }

/* --- Buttons --- */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.cta-button {
    display: inline-block;
    padding: 15px 34px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    border: 1px solid var(--white-25);
    color: var(--white);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover { background: var(--white-12); border-color: var(--white-55); }
.cta-primary { background: var(--white); color: #000; border-color: var(--white); }
.cta-primary:hover { background: var(--white-85); color: #000; }
.cta-secondary { border-color: var(--white-12); color: var(--white-70); }
.cta-secondary:hover { color: var(--white); }

/* --- Toast --- */
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 12px);
    padding: 10px 18px;
    font-size: var(--fs-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000;
    background: var(--white);
    border-radius: 999px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0.3s;
    z-index: 200;
    pointer-events: none;
}

.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* --- Responsive --- */
@media (max-width: 778px) {
    .about-main { padding-top: calc(var(--header-h) + 48px); }
    .about-hero { margin-bottom: 52px; }
    .about-portrait { width: 200px; height: 200px; margin-bottom: 28px; }
    .about-section { margin-bottom: 52px; }
    .about-section > p { font-size: var(--fs-md); line-height: 1.75; }
    .about-facts { gap: 16px; }
    .about-fact strong { font-size: var(--fs-xl); }
    .equipment-grid { grid-template-columns: 1fr; gap: 12px; }
    .cta-row { flex-direction: column; align-items: stretch; }
    .cta-button { text-align: center; }
    .client-logo { height: 72px; padding: 10px 18px; }
    .client-logo img { max-width: 120px; max-height: 40px; height: 40px; }
    .client-logo img.tall { height: 60px; max-height: 60px; }
    .client-track { gap: 32px; }
}

@media (max-width: 480px) {
    .about-portrait { width: 170px; height: 170px; }
    .about-facts { grid-template-columns: 1fr 1fr; }
    .about-facts .about-fact:last-child { grid-column: 1 / -1; }
}
