/* Seite resetten */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Language Toggle */
body.lang-en .lang-de { display: none !important; }
body.lang-de .lang-en { display: none !important; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.lang-switch a {
    color: inherit;
    text-decoration: none;
    opacity: 0.4;
    transition: opacity 0.2s;
    cursor: pointer;
}

.lang-switch a.active {
    opacity: 1;
}

.lang-switch a:hover {
    opacity: 0.8;
}

.lang-switch .lang-sep {
    opacity: 0.4;
}

/* Page Transitions */
body {
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.page-transition-out {
    opacity: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #000000;
    min-height: 100vh;
    overflow: hidden;
    background: #000000;
}

body.page-scroll {
    overflow-y: auto;
    min-height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-scroll::-webkit-scrollbar {
    display: none;
}

html:has(body.page-scroll) {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html:has(body.page-scroll)::-webkit-scrollbar {
    display: none;
}

@media (min-width: 901px) {
    body.page-scroll:not(.page-scroll-full) {
        overflow: hidden;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    html:has(body.page-scroll:not(.page-scroll-full)) {
        overflow: hidden;
        height: 100%;
    }

    body.page-scroll:not(.page-scroll-full) .site-header,
    body.page-scroll:not(.page-scroll-full) .site-footer {
        flex-shrink: 0;
    }

    body.page-scroll:not(.page-scroll-full) .page-content {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body.page-scroll:not(.page-scroll-full) .page-content::-webkit-scrollbar {
        display: none;
    }
}

body.page-dark {
    background: #000000;
}

body.page-dark .video-bg {
    display: none;
}

body.page-dark .corner {
    mix-blend-mode: normal;
}

@media (max-width: 900px) {
    body.page-dark .corner {
        background: rgba(0, 0, 0, 0.5);
        box-shadow: 0 4px 32px rgba(0, 0, 0, 0.85);
    }
}

/* Videohintergrund */
.video-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #000000;
}

.video-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1) contrast(1.05);
    opacity: 0;
    transition: opacity 700ms ease;
    will-change: opacity;
}

.video-bg video.is-active {
    opacity: 1;
}

/* Inhalt oben drauf */
.content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    mix-blend-mode: difference;
}

.content h1 {
    font-size: clamp(2.8rem, 4vw, 4rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content h1 a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

.logo-img {
    width: clamp(220px, 30vw, 420px);
    height: auto;
    filter: invert(1);
    display: block;
}

.content p {
    margin-top: 0.35rem;
    max-width: 480px;
    font-size: 1.05rem;
    opacity: 0.9;
}

.content p a {
    color: inherit;
    text-decoration: none;
}

/* Fixed navbar for index/homepage */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    color: #ffffff;
    mix-blend-mode: difference;
}

.site-navbar .social-icons a {
    color: inherit;
    text-decoration: none;
}

.site-navbar .header-right a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
}

.site-navbar .header-right a:hover {
    opacity: 0.7;
}

/* Fixed footer for index/homepage */
.site-footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    mix-blend-mode: difference;
}

.site-footer-fixed a {
    color: inherit;
    text-decoration: none;
}

.site-footer-fixed a:hover {
    opacity: 0.7;
}

@media (max-width: 900px) {
    .site-navbar {
        padding: 12px 16px;
    }

    .site-footer-fixed {
        padding: 12px 16px;
        font-size: 11px;
    }
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: inherit;
    text-decoration: none;
}

.social-icons svg {
    width: 22px;
    height: 22px;
    transition: opacity 0.2s;
}

.social-icons a[aria-label="WhatsApp"] svg {
    width: 20px;
    height: 20px;
}

.social-icons a[aria-label="TikTok"] svg {
    width: 19px;
    height: 20px;
}

.social-icons a:hover svg {
    opacity: 0.7;
}

@media (max-width: 900px) {
    .social-icons svg {
        width: 20px;
        height: 20px;
    }

    .social-icons a[aria-label="WhatsApp"] svg {
        width: 18px;
        height: 18px;
    }

    .social-icons a[aria-label="TikTok"] svg {
        width: 17px;
        height: 18px;
    }
}

.page-content {
    position: relative;
    z-index: 1;
    min-height: 120vh;
    padding: 4rem 3rem 6rem;
    color: #ffffff;
    mix-blend-mode: difference;
}

.page-content h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-align: center;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 320px;
}

.team-member .avatar {
    width: 280px;
    height: 280px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    flex-shrink: 0;
}

.team-member .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.team-member .name {
    font-weight: 600;
    font-size: 1.35rem;
    margin: 0 0 0.3rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.team-member .role {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.team-member .description {
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.85;
    max-width: 300px;
}

.book-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* border-radius: 4px; */
    transition: border-color 0.2s, background 0.2s;
}

.book-link:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

.imprint-content {
    max-width: 720px;
    font-size: 0.95rem;
    line-height: 1.65;
}

.imprint-content h2 {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 2rem 0 0.75rem;
}

.imprint-content h2:first-child {
    margin-top: 0;
}

.imprint-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.75rem 0 0.5rem;
}

.imprint-content p + p {
    margin-top: 1.25rem;
}

.imprint-content ul {
    margin: 0.75rem 0 1rem 1.5rem;
    padding: 0;
}

.imprint-content ul li {
    margin-bottom: 0.35rem;
}

.imprint-content a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .page-content {
        padding: 5rem 1.5rem 6rem;
    }

    .page-content h1 {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .imprint-content {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .imprint-content h2 {
        font-size: 1rem;
        margin: 1.5rem 0 0.5rem;
    }

    .imprint-content h3 {
        font-size: 0.95rem;
        margin: 1.25rem 0 0.4rem;
    }

    .imprint-content p + p {
        margin-top: 1rem;
    }

    .imprint-content ul {
        margin-left: 1.25rem;
    }
}

/* Sticky Header & Footer for scrollable pages */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    color: #ffffff;
    background: transparent;
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

.site-header .social-icons {
    display: flex;
    gap: 12px;
}

.site-header .social-icons a {
    color: #ffffff;
    text-decoration: none;
}

.site-header .social-icons svg {
    width: 22px;
    height: 22px;
    transition: opacity 0.2s;
}

.site-header .social-icons a[aria-label="WhatsApp"] svg {
    width: 20px;
    height: 20px;
}

.site-header .social-icons a[aria-label="TikTok"] svg {
    width: 19px;
    height: 20px;
}

.site-header .social-icons a:hover svg {
    opacity: 0.7;
}

.site-header .header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
}

.site-header .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-header .header-right a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
}

.site-header .header-right a:hover {
    opacity: 0.7;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    background: #000000;
    position: relative;
    z-index: 5;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.label-desktop {
    display: inline;
}

.label-mobile {
    display: none;
}

@media (max-width: 900px) {
    .label-desktop {
        display: none;
    }

    .label-mobile {
        display: inline;
    }
}

.site-footer a:hover {
    opacity: 0.7;
}

@media (max-width: 900px) {
    .site-header {
        padding: 12px 16px;
    }

    .site-header .social-icons svg {
        width: 20px;
        height: 20px;
    }

    .site-header .social-icons a[aria-label="WhatsApp"] svg {
        width: 18px;
        height: 18px;
    }

    .site-header .social-icons a[aria-label="TikTok"] svg {
        width: 17px;
        height: 18px;
    }

    .site-header .header-title {
        font-size: 11px;
    }

    .site-footer {
        padding: 12px 16px;
        font-size: 11px;
    }
}

/* Barber Page - Two Photos Layout */
.barber-page {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.barber-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.barber-section:last-child {
    margin-bottom: 0;
}

.barber-section--reverse {
    direction: rtl;
}

.barber-section--reverse > * {
    direction: ltr;
}

.barber-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.barber-images--top {
    align-items: start;
}

.barber-images--bottom {
    align-items: end;
}

.barber-images img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    filter: grayscale(1);
}

.barber-image-left-crop {
    object-position: left center;
}

.barber-info {
    padding: 2rem 0;
}

.barber-name {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 1.5rem;
}

.barber-description {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.barber-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
}

@media (max-width: 900px) {
    .barber-page {
        padding: 5rem 1.5rem 4rem;
    }

    .barber-section {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .barber-section .barber-info {
        order: 1;
    }

    .barber-section .barber-images {
        order: 2;
    }

    .barber-images {
        gap: 0.75rem;
    }


    .barber-info {
        padding: 0;
    }

    .barber-name {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .barber-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}
