:root  {
    --primary-color: #af1116;
    --primary-font: 'NewTegomin', serif;
}
@font-face {
    font-family: 'NewTegomin';
    src: url('fonts/NewTegomin-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
}
body {
    min-height: 100vh;
    min-width: 100vw;
    background: #faf9f7;
    background-image: url('images/Body-Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}
.hero-wrapper {
    position: relative;
    width: 100vw;
    aspect-ratio: 16/9;
    max-width: 100vw;
    max-height: 100vh;
}
.hero-img {
    display: block;
    width: 100vw;
    height: 100%;
    aspect-ratio: 16/9;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    opacity: 0;
    filter: grayscale(1) blur(7px);
    transform: scale(0.99);
    animation: bg-fade-zoom 1.5s cubic-bezier(.4,0,.2,1) forwards;
    transition: none;
    pointer-events: none;
    user-select: none;
}
@keyframes bg-fade-zoom {
    0% {
        opacity: 0;
        filter: grayscale(1) blur(7px);
        transform: scale(0.98);
    }
    50% {
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.0);
        filter: none;
    }
}
.logo-mia4live {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: unset;
    bottom: -10%;
    width: 120%;
    height: auto;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    filter: blur(12px);
    animation: logo-fade-blur 1.2s cubic-bezier(.4,0,.2,1) 0.7s forwards;
}
@media (orientation: portrait) {
    .hero-img {
        content: url('images/mia4live_bg_portrait.jpg');
        aspect-ratio: 1/1;
        width: 100vw;
        max-width: 100vw;
        height: auto;
        object-fit: contain;
        display: block;
        background: #000;
    }
    .hero-wrapper {
        aspect-ratio: unset;
        width: 100vw;
        max-width: 100vw;
        height: fit-content;
        background: #000;
    }
    .logo-mia4live {
        width: 175%;
    }
}
@keyframes logo-fade-blur {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateX(-50%) scale(0.98);
    }
    60% {
        opacity: 1;
        filter: blur(2px);
        transform: translateX(-50%) scale(1.01);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(-50%) scale(1);
    }
}
@keyframes fadein-section {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(32px) scale(0.98);
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        filter: none;
        transform: none;
    }
}
.main-section,
.footer-impressum {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(32px) scale(0.98);
    animation: fadein-section 1.1s cubic-bezier(.4,0,.2,1) 1.2s forwards;
}
.main-section#contact {
    animation-delay: 1.35s;
}
.footer-impressum {
    animation-delay: 1.55s;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    color: var(--primary-color);
}
.main-section {
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    margin: 48px auto 48px auto;
    padding: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    font-family: system-ui, sans-serif;
}
@media (max-width: 900px) {
    .main-section {
        max-width: 98vw;
        padding: 18px 4vw;
    }
}
.main-section h2 {
    margin-top: 0;
    font-size: 2rem;
}
.main-section:not(:last-child) {
    margin-bottom: 32px;
}
/* About section layout for mia4test2.jpg */
.about-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}
.about-img {
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    margin-bottom: 0;
}
.about-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-text h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 2rem;
}
.about-text p {
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    color: #222;
}
.about-highlight {
    font-weight: bold;
    color: var(--primary-color);
}
@media (max-width: 700px) {
    .about-flex {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .about-img {
        margin-bottom: 0;
    }
    .about-text {
        align-items: center;
        text-align: center;
    }
}
.about-grid-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 32px;
}
.about-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow:
        0 8px 32px 0 rgba(0,0,0,0.18),
        0 3px 12px 0 rgba(175,17,22,0.16),
        0 24px 64px 0 rgba(0,0,0,0.22),
        0 2px 6px 0 rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    transition: box-shadow 0.2s, transform 0.35s cubic-bezier(.4,0,.2,1);
    border: 1px solid #f2f2f2;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    height: auto;
    cursor: pointer;
    will-change: transform;
    perspective: 900px;
}
.about-card:hover {
    box-shadow:
        0 16px 64px 0 rgba(0,0,0,0.28),
        0 8px 32px 0 rgba(175,17,22,0.22),
        0 40px 96px 0 rgba(0,0,0,0.32),
        0 4px 12px 0 rgba(0,0,0,0.19);
    transform:
        perspective(900px)
        rotateY(-12deg)
        scale(1.04)
        rotate(3deg);
    transform-origin: 30% 50%;
}
.about-card-img-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}
.about-card-content {
    position: absolute;
    left: 0;
    width: 100%;
    height: 20%;
    bottom: 0;
    min-height: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 18px 10px 18px;
    background: rgba(20,20,20,0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 2;
}
.about-card-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #fff;
    text-align: center;
    font-family: var(--primary-font);
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.about-card-desc {
    color: #eee;
    font-size: 1.05rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
@media (max-width: 900px) {
    .about-grid-cards {
        grid-template-columns: 1fr;
        gap: 24px 0;
    }
}
.footer-impressum {
    width: 100vw;
    background: rgba(255, 255, 255, 0.3);
    color: #eee;
    text-align: center;
    font-size: 1rem;
    padding: 10px 0 8px 0;
    border-top: 1px solid #eee;
    margin-top: 0;
    animation-delay: 1.55s;
}
.footer-impressum a {
    color: #eee;
    text-decoration: underline;
    font-family: var(--primary-font);
    font-size: 1.08rem;
}
.pswp-gallery img {
    width: 100%;
    max-width: 180px;
    border-radius: 12px;
    object-fit: cover;
    transition: box-shadow 0.2s, transform 0.35s cubic-bezier(.4,0,.2,1);
    box-shadow:
        0 8px 32px 0 rgba(0,0,0,0.18),
        0 3px 12px 0 rgba(175,17,22,0.16),
        0 24px 64px 0 rgba(0,0,0,0.22),
        0 2px 6px 0 rgba(0,0,0,0.15);
}
.pswp-gallery img:hover {
    box-shadow:
        0 16px 64px 0 rgba(0,0,0,0.28),
        0 8px 32px 0 rgba(175,17,22,0.22),
        0 40px 96px 0 rgba(0,0,0,0.32),
        0 4px 12px 0 rgba(0,0,0,0.19);
    transform:
        perspective(900px)
        rotateY(-8deg)
        scale(1.02)
        rotate(2deg);
    transform-origin: 30% 50%;
}

.contact-button {
	transition: box-shadow 0.3s, transform 0.5s cubic-bezier(.4,0,.2,1);
	
}

.contact-button:hover {
	box-shadow:
        0 16px 64px 0 rgba(0,0,0,0.28),
        0 8px 32px 0 rgba(175,17,22,0.22),
        0 40px 96px 0 rgba(0,0,0,0.32),
        0 4px 12px 0 rgba(0,0,0,0.19);
    transform:
        perspective(900px)
        rotateY(-8deg)
        scale(1.02)
        rotate(2deg);
    transform-origin: 30% 50%;
	
}