/* =================================== */
/* GLOBAL FONT */
/* =================================== */

body,
input,
select,
textarea,
button {
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Projects-Section breiter machen */
#main article#projects {
    width: 90vw;
    max-width: 1400px;
}

/* 2 Cards nebeneinander */
#projects .project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    width: 100%;
    padding: 0;
    align-items: stretch;
}

/* Responsive: untereinander auf kleineren Screens */
@media (max-width: 980px) {
    #projects .project-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    #main article#projects {
        width: calc(100% - 2rem);
        max-width: none;
    }

    .image-wrapper {
        height: 220px;
    }
}

/* Basis Card */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    opacity: 1;
    transform: translateY(0);

    /* gegen Blur/Wackeln */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;

    transition: transform 0.25s ease, opacity 0.4s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* Hover-Effekt nur für Card 1 */
.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Subtiler Premium-Hover für Card 2 */
.card-static:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* Klick-Effekt */
.project-card:active {
    transform: scale(0.98);
}

/* Bildbereich */
.image-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

/* Standardbild sichtbar */
.img-default {
    opacity: 1;
}

/* Hover-Bild versteckt */
.img-hover {
    opacity: 0;
}

/* Bildwechsel nur für spezielle Cards (Card 1) */
.card-hover:hover .img-default {
    opacity: 0;
}

.card-hover:hover .img-hover {
    opacity: 1;
}

/* Allgemeines Bildverhalten für andere Cards */
.project-card > img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Bild-Zoom nur für Card 1 */
.card-hover:hover > img {
    transform: scale(1.05);
}

/* Textbereich */
.project-content {
    padding: 1.25rem;
    position: relative;
    min-height: 9em;
}

.project-content h3 {
    margin-bottom: 0.8rem;
}

/* Text */
.project-content h3,
.project-content p {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Text leicht bewegen nur für Card 1 */
.card-hover:hover .project-content h3,
.card-hover:hover .project-content p {
    transform: translateY(-2px);
}

/* Stabiler Textwechsel beim Hover */
.text-default,
.text-hover {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    margin: 0;
    transition: opacity 0.25s ease;
}

.text-default {
    opacity: 1;
}

.text-hover {
    opacity: 0;
    pointer-events: none;
}

/* Textwechsel nur für Card 1 */
.card-hover:hover .text-default {
    opacity: 0;
}

.card-hover:hover .text-hover {
    opacity: 1;
}

/* Glanz-Effekt */
.project-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.12),
        transparent
    );
    transition: left 0.6s ease;
}

/* Glanz nur für Card 1 */
.card-hover:hover::after {
    left: 120%;
}

/* Logo */
#header .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#header .logo {
    overflow: hidden;
}

/* Blocksatz */
.justify {
    text-align: justify;
    hyphens: auto;
}

.project-link-image {
    display: block;
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.project-link-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-link-image:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Logo-Button zentriert */
.project-button-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.2rem;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Auch im Hover/Fokus keine Linie */
.project-button-center:hover,
.project-button-center:focus,
.project-button-center:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* SPIEGEL Button */
.project-button-center img {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: transparent;
    border-radius: 50%;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.25s ease, filter 0.25s ease;
}

/* natürlicher Glow */
.project-button-center img:hover {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.4))
            drop-shadow(0 0 12px rgba(255,255,255,0.2));
}

/* =================================== */
/* Aktivitäten */
/* =================================== */

#main article#activities {
    width: 90vw;
    max-width: 1400px;
}

/* Kapitelüberschriften */
.activity-category {
    display: block;
    margin: 2.5rem 0 1.2rem 0;
    font-size: 1.4rem !important;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85) !important;
}

/* Horizontale Cards */
.activity-card {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    background: rgba(255,255,255,0.07);
}

/* Reihenfolge tauschen */
.activity-card.reverse {
    flex-direction: row-reverse;
}

/* Bildbereich */
.activity-image {
    flex: 0 0 42%;
    max-width: 42%;
    min-height: 320px;
}

.activity-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* Textbereich */
.activity-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-content h3 {
    margin-bottom: 1rem;
}

.activity-content p {
    margin: 0 0 1.2rem 0;
}

/* Detailfeld */
.activity-details {
    margin-top: 0.2rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(255,255,255,0.18);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.72);
}

.activity-details div {
    position: relative;
    padding-left: 0.7rem;
}

.activity-details div::before {
    content: "•";
    position: absolute;
    left: -0.45rem;
    color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 980px) {
    #main article#activities {
        width: calc(100% - 2rem);
        max-width: none;
    }

    .activity-card,
    .activity-card.reverse {
        flex-direction: column;
    }

    .activity-image {
        flex: none;
        max-width: 100%;
        min-height: 220px;
    }

    .activity-content {
        padding: 1.5rem;
    }

    .activity-category {
        font-size: 1.15rem !important;
    }
}

/* Video-Block */
.video-block {
    display: block;
    width: 100%;
    margin: 40px 0;
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    border-radius: 18px;
}

.video-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Titel links */
.video-title {
    position: absolute;
    bottom: 15px;
    left: 20px;
    color: white;
}

.video-title-box {
    font-size: 20px;
    font-weight: bold;
    background: rgba(0,0,0,0.6);
    padding: 8px 12px;
    border-radius: 4px;
}

/* Credits rechts */
.video-credits {
    position: absolute;
    bottom: 5px;
    right: 20px;
    color: white;
    font-size: 12px;
    background: rgba(0,0,0,0.5);
    padding: 6px 10px;
    border-radius: 4px;
    opacity: 0.85;
}

/* Play-Button */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    color: white;
    opacity: 0.85;
}

.custom-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.custom-bullets li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
}

/* quadratischer Bullet */
.custom-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);  /* 👈 exakt vertikal zentriert */

    width: 6px;
    height: 6px;

    background: rgba(255,255,255,0.8);
}

/* =================================== */
/* BIOGRAFIE */
/* =================================== */

/* ----------------------------------- */
/* TYPOGRAFIE (zentral gesteuert) */
/* ----------------------------------- */

/* Headlines / Labels */
#biography .biography-title,
#biography .bio-box-title,
#biography .bio-label {
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Fließtext / Hero / Bullets */
#biography .bio-hero,
#biography .biography-content,
#biography .biography-content p,
#biography .bio-bullets,
#biography .bio-bullets li,
#biography .bio-footer,
#biography .bio-box-left p {
    font-family: Verdana, Geneva, sans-serif;
}

/* ----------------------------------- */
/* LAYOUT */
/* ----------------------------------- */

#main article#biography {
    width: 95vw;
    max-width: 1600px;
}

.biography-card {
    position: relative;
}

/* ----------------------------------- */
/* HERO IMAGE */
/* ----------------------------------- */

.biography-image {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 1.2rem;
}

.biography-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Cinematic Gradient */
.biography-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.48) 0%,
        rgba(0,0,0,0.32) 18%,
        rgba(0,0,0,0.18) 35%,
        rgba(0,0,0,0.08) 48%,
        rgba(0,0,0,0) 62%
    );
    z-index: 1;
}

/* ----------------------------------- */
/* OVERLAY BOXEN */
/* ----------------------------------- */

.bio-overlay {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;

    pointer-events: none;
    z-index: 2;
}

.bio-box {
    pointer-events: auto;
    max-width: 320px;

    background: none;
    padding: 0;

    color: white;

    transition: transform 0.25s ease;
}

.bio-box:hover {
    transform: translateY(-2px);
}

/* Linke Box */
.bio-box-left {
    max-width: 280px;
    transform: translate(40px, 20px);

    text-shadow:
        0 2px 10px rgba(0,0,0,0.6),
        0 0 6px rgba(0,0,0,0.3);
}

.bio-box-left p {
    font-size: 1.05rem;
    line-height: 1.45;
    color: rgba(255,255,255,0.92);

    text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

/* Rechte Box */
.bio-box-right {
    padding-left: 0.8rem;
    border-left: 2px solid rgba(255,140,0,0.5);
}

.bio-box-right,
.bio-box-right .bio-list > div,
.bio-box-right .bio-label {
    text-shadow:
        0 2px 10px rgba(0,0,0,0.6),
        0 0 6px rgba(0,0,0,0.3);
}

.bio-box-title {
    font-size: 0.95rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    margin-bottom: 0.5rem;

    color: rgba(255,255,255,0.8);
}

.bio-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.bio-label {
    display: block;
    color: rgba(255,140,0,1);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

/* ----------------------------------- */
/* TEXTBEREICH */
/* ----------------------------------- */

.biography-title {
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.bio-hero {
    font-size: 1.22rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    color: rgba(255,255,255,0.95);
}

.biography-content p {
    margin-bottom: 0.95rem;
    font-size: 0.98rem;
    line-height: 1.65;
}

.bio-bullets li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.42rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    font-size: 0.98rem;
}

.bio-footer {
    margin-top: 1.15rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.72);
}

.bio-box-left p {
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

/* ----------------------------------- */
/* RESPONSIVE */
/* ----------------------------------- */

@media (max-width: 980px) {

    #main article#biography {
        width: calc(100% - 2rem);
        max-width: none;
    }

    .biography-image {
        height: 380px;
    }

    .bio-overlay {
        flex-direction: column;
        gap: 1rem;
    }

    .bio-box {
        max-width: 100%;
    }

    .bio-box-left {
        transform: translate(0, 0);
    }
}

#intro .icon.fa-linkedin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.8rem;
	height: 4.8rem;
	font-size: 2rem;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	transition: all 0.25s ease;
}

#intro .icon.fa-linkedin:hover {
	background: #0A66C2;
	border-color: #0A66C2;
	color: #fff !important;
	box-shadow: 0 0 18px rgba(10, 102, 194, 0.35);
	transform: translateY(-2px);
}
