/* ============================================================
   technomed About / Impressum
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;700&display=swap');

.abt {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    font-family: 'Noto Sans', 'Roboto', sans-serif;
    color: #0F172A;
    scroll-behavior: smooth;
}
.abt *, .abt *::before, .abt *::after { box-sizing: border-box; }

/* ---- FOCUS VISIBLE (a11y) ---- */
.abt a:focus-visible,
.abt button:focus-visible,
.abt [tabindex]:focus-visible {
    outline: 3px solid var(--matblue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---- REVEAL ---- */
.abt-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.abt-reveal.visible { opacity: 1; transform: translateY(0); }

.abt-stagger > *:nth-child(1) { transition-delay: 0s; }
.abt-stagger > *:nth-child(2) { transition-delay: 0.06s; }
.abt-stagger > *:nth-child(3) { transition-delay: 0.12s; }
.abt-stagger > *:nth-child(4) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
    .abt-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ================================================================
   HERO
   ================================================================ */
.abt-hero {
    background: linear-gradient(135deg, #0a1929 0%, #0d2137 50%, #0a1929 100%);
    padding: 48px 16px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.abt-hero::before {
    content: '';
    position: absolute; top: -50%; left: -20%; width: 60%; height: 200%;
    background: radial-gradient(ellipse, rgba(3,169,244,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.abt-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.abt-hero-title {
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 400;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
}
.abt-hero-title strong { font-weight: 700; }

.abt-hero-sub {
    font-size: clamp(13px, 1.4vw, 15px);
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin: 0;
}


/* ================================================================
   INFO SECTION
   ================================================================ */
.abt-info {
    padding: 48px 16px;
    background: #fff;
}

.abt-info-inner {
    max-width: 900px;
    margin: 0 auto;
}

.abt-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.abt-info-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    padding: 28px;
}

.abt-info-heading {
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.abt-info-heading svg {
    width: 20px; height: 20px;
    fill: var(--matblue);
    flex-shrink: 0;
}

/* Key-value rows */
.abt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 5px 0;
    font-size: 13px;
    line-height: 1.5;
    gap: 12px;
}
.abt-row + .abt-row { border-top: 1px solid #f4f5f7; }

.abt-label {
    color: #64748B;
    flex-shrink: 0;
}
.abt-value {
    color: #0F172A;
    text-align: right;
    font-weight: 500;
}
.abt-value a {
    color: var(--matblue);
    text-decoration: none;
    transition: color 0.15s;
}
.abt-value a:hover { color: #0295d6; }

/* Divider between sub-sections within a card */
.abt-divider {
    border: none;
    border-top: 1px solid #eef1f5;
    margin: 16px 0;
}


/* ================================================================
   DISCLAIMERS
   ================================================================ */
.abt-disclaimers {
    padding: 48px 16px;
    background: #f7f8fc;
}

.abt-disclaimers-inner {
    max-width: 900px;
    margin: 0 auto;
}

.abt-disclaimers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.abt-disclaimer-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    padding: 24px;
}

.abt-disclaimer-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}


/* ================================================================
   GALLERY
   ================================================================ */
.abt-gallery {
    padding: 48px 16px 56px;
    background: #f7f8fc;
}

.abt-gallery-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Section header (reuse index pattern) */
.abt-section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--matblue);
    margin-bottom: 6px;
}

.abt-section-title {
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 400;
    color: #0F172A;
    margin: 0 0 4px;
    line-height: 1.2;
}
.abt-section-title strong { font-weight: 700; }

.abt-section-sub {
    font-size: clamp(13px, 1.3vw, 15px);
    color: #64748B;
    margin: 0 0 32px;
    line-height: 1.6;
}

/* Masonry via CSS columns */
.abt-gallery-grid {
    columns: 4;
    column-gap: 12px;
}

.abt-gallery-item {
    break-inside: avoid;
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.abt-gallery-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: transform 0.35s ease;
}

.abt-gallery-item:hover img {
    transform: scale(1.03);
}

.abt-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
    pointer-events: none;
}


/* ================================================================
   LIGHTBOX
   ================================================================ */
.abt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    cursor: pointer;
}
.abt-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.abt-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: contain;
    cursor: default;
}

.abt-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.abt-lightbox-close:hover { background: rgba(255,255,255,0.25); }
.abt-lightbox-close svg { width: 20px; height: 20px; fill: #fff; }


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .abt-gallery-grid { columns: 3; }
}

@media (max-width: 768px) {
    .abt-info-grid { grid-template-columns: 1fr; }
    .abt-disclaimers-grid { grid-template-columns: 1fr; }
    .abt-gallery-grid { columns: 2; }
    .abt-hero { padding: 36px 16px 32px; }
}

@media (max-width: 420px) {
    .abt-gallery-grid { columns: 1; max-width: 320px; margin: 0 auto; }
    .abt-info-card { padding: 20px; }
}
