/* --------------------------------------------------
   FONTS
-------------------------------------------------- */
@font-face {
    font-family: "CinzelDecorative";
    src: url("../fonts/CinzelDecorative-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "CinzelDecorative";
    src: url("../fonts/CinzelDecorative-Bold.ttf");
    font-weight: 700;
}

@font-face {
    font-family: "CinzelDecorative";
    src: url("../fonts/CinzelDecorative-Black.ttf");
    font-weight: 900;
}

/* --------------------------------------------------
   GLOBAL
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: transparent;
    overflow-x: hidden;
    min-height: 200vh;
    font-family: "CinzelDecorative";
}


/* --------------------------------------------------
   FRAME BORDER
-------------------------------------------------- */
.frame-top, .frame-bottom {
    position: fixed;
    left: 0;
    width: 100%;
    height: 1px;
    background: #3a3a3a;
    z-index: 100;
}

.frame-top { top: 20px; }
.frame-bottom { bottom: 20px; }

.frame-left, .frame-right {
    position: fixed;
    top: 0;
    height: 100%;
    width: 1px;
    background: #3a3a3a;
    z-index: 100;
}

.frame-left { left: 20px; }
.frame-right { right: 20px; }

/* --------------------------------------------------
   LEGAL LINKS BOTTOM CENTER
-------------------------------------------------- */
.legal-links {
    position: fixed;
    bottom: 26px; /* exakt auf der Linie wie die Corner-Texts */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 28px;
    z-index: 120;
    font-family: "CinzelDecorative";
}

.legal-links a {
    color: #4a4a4a;
    font-size: 14px;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.legal-links a:hover {
    opacity: 1;
}


/* --------------------------------------------------
   CORNER TEXTS
-------------------------------------------------- */
.corner {
    position: fixed;
    font-size: 14px;
    color: #4a4a4a;
    font-family: "CinzelDecorative";
    z-index: 110;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.top-left    { top: 26px; left: 28px; }
.top-right   { top: 26px; right: 28px; }
.bottom-left { bottom: 26px; left: 28px; }
.bottom-right{ bottom: 26px; right: 28px; }

/* --------------------------------------------------
   CENTER HEADER
-------------------------------------------------- */
.center-header {
    position: fixed;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: 900;
    color: #303030;
    letter-spacing: 1px;
    z-index: 120;
    text-decoration: none !important;
}

/* --------------------------------------------------
   BACKGROUND
-------------------------------------------------- */
#bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/bg/h2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.45s ease, background-image 0.45s ease;
    z-index: 0;
    pointer-events: none;
}

/* --------------------------------------------------
   HERO MENU
-------------------------------------------------- */

.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    position: relative;
    z-index: 5;
}

.hero-menu {
    display: flex;
    flex-direction: column;
}

.menu-item {
    font-size: 74px;
    font-weight: 900;
    color: #4a4a4a;
    line-height: 1.05;
    transition: transform 0.25s ease, color 0.25s ease;
}

.menu-item:hover {
    transform: translateX(12px) scale(1.03);
    color: #000;
}


/* --------------------------------------------------
   PLACEHOLDER SECTIONS
-------------------------------------------------- */
.section {
    height: 100vh;
    background: white;
    z-index: 5;
}
#skills {
    scroll-margin-top: 160px;
}

#contact {
    scroll-margin-top: -60px !important;
}
#about {
    scroll-margin-top: -120px !important;
}
#portfolio {
    scroll-margin-top: -120px !important;
}
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: rgba(0, 0, 0, 0.85);
    padding: 16px 32px;
    border-radius: 14px;
    color: #fff;
    font-family: "CinzelDecorative";
    font-size: 14px;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* --------------------------------------------------
   CUSTOM CURSORS
-------------------------------------------------- */

/* DEFAULT CURSOR – Ranke */
.hero {
    cursor: url("/assets/img/cursor/default.png") 0 0, auto !important;
}

/* TEXT CURSOR – Comic-Strich */
p, span, h1, h2, h3, h4, h5, h6,
input, textarea, label, a, button {

}

/* LINK / BUTTON CURSOR – Mickey-Hand */
a, button, .clickable {

}
/* ALLE klickbaren Elemente → Mickey-Hand */
a,
button,
.clickable,
.menu-item,
.hotspot,
.portfolio-item,
.contact-submit {

}

/* --------------------------------------------------
   COOKIE SETTINGS BUTTON (Right • Vertical)
-------------------------------------------------- */

.cookie-button {
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: "CinzelDecorative";
    font-size: 14px;
    color: #4a4a4a;
    opacity: 0.85;
    cursor: pointer;
    z-index: 2000;
    letter-spacing: 1px;
    transition: opacity 0.25s ease;
}

.cookie-button:hover {
    opacity: 1;
}


/* --------------------------------------------------
   PREMIUM COOKIE POPUP
-------------------------------------------------- */

#cookie-popup {
    position: fixed;
    bottom: 50px;
    right: 50px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(25px);
    transition: all 0.35s ease;

    z-index: 3000;
}

#cookie-popup.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cookie-popup-box {
    width: 520px;
    padding: 35px 40px;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    border-radius: 26px;

    border: 1px solid rgba(150,150,150,0.35);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);

    font-family: "CinzelDecorative";
    color: #2f2f2f;
}

.cookie-popup-box h2 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.cookie-popup-box p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.65;
    margin-bottom: 28px;
}


/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

.cookie-actions {
    display: flex;
    gap: 14px;
}

.cookie-btn {
    padding: 10px 26px;
    border-radius: 18px;

    border: 1px solid rgba(0,0,0,0.35);
    background: rgba(255,255,255,0.65);

    cursor: pointer;
    font-family: "CinzelDecorative";
    font-size: 14px;

    color: #222;
    transition: 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.cookie-btn:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-1px);
}

.cookie-btn.more {
    background: transparent;
}

.cookie-btn.more:hover {
    background: rgba(255,255,255,0.4);
}
/* ===========================
   LANGUAGE SYSTEM
=========================== */

.corner-lang {
    position: fixed;
    left: 0px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-family: "CinzelDecorative";
    font-size: 14px;
    color: #4a4a4a;
    opacity: 0.85;
    letter-spacing: 2px;
    cursor: pointer;
    z-index: 5000; /* über Rahmen, unter Popups */
    transition: opacity 0.25s ease;
}

.corner-lang:hover {
    opacity: 1;
}

/* Overlay */
.lang-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 8000;
}

.lang-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Popup */
.lang-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 320px;
    transform: translate(-50%, -50%) scale(0.85);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    padding: 24px 26px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 9000;
}

.lang-popup.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.lang-title {
    margin-bottom: 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: #2b2b2b;
}

.lang-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: rgba(0,0,0,0.05);
}

.lang-option img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
}

.lang-option span {
    font-size: 14px;
    color: #2b2b2b;
}

/* Utility */
.hidden {
    display: none !important;
}
/* ===========================
   CURSOR FIX FOR LANGUAGE POPUP
=========================== */

/* Hover-Cursor für alle auswählbaren Sprachelemente */
.lang-option,
.lang-option *,
.lang-popup,
.lang-popup * {
    cursor: url("/assets/img/cursor/hover.png") 5 2, pointer !important;
}
@media (max-width: 720px) {

    /* FRAME ABSTÄNDE – mehr Raum */
    .frame-top { top: 32px; }
    .frame-bottom { bottom: 32px; }
    .frame-left { left: 26px; }
    .frame-right { right: 26px; }

    /* CORNER TEXTE – kleiner + neue Position */
    .corner {
        font-size: 10px;
        opacity: 0.8;
        letter-spacing: 0.4px;
    }

    .top-left {
        top: 40px;
        left: 32px;
    }

    .top-right {
        top: 40px;
        right: 32px;
    }

    .bottom-left {
        bottom: 30px;
        left: 32px;
    }

    .bottom-right {
        bottom: 30px;
        right: 32px;
    }

    /* HEADER NAME */
    .center-header {
        font-size: 13px;
        top: 62px;
        letter-spacing: 0.5px;
        line-height: 1.25;
        text-align: center;
        width: max-content;
        white-space: nowrap;
    }

    /* HERO MENU */
    .hero-menu .menu-item {
        font-size: 32px !important;
        line-height: 1.1;
        margin-bottom: 4px;
    }

    /* COOKIES BUTTON */
    .cookie-button {
        right: 14px;
        font-size: 12px;
        opacity: 0.8;
    }

    /* COOKIE POPUP */
    #cookie-popup {
        bottom: 40px;
        right: 50%;
        transform: translateX(50%) translateY(25px);
        width: 92%;
        max-width: 420px;
    }

    #cookie-popup.show {
        transform: translateX(50%) translateY(0);
    }

    .cookie-popup-box {
        width: 100%;
        padding: 26px 28px;
        border-radius: 22px;
        backdrop-filter: blur(16px);
        background: rgba(255,255,255,0.6);
        box-shadow: 0 16px 34px rgba(0,0,0,0.22);
    }

    .cookie-popup-box h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .cookie-popup-box p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    .cookie-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-btn {
        width: 100%;
        font-size: 14px;
        padding: 12px;
    }

    /* KLEINERE GERÄTE AUTOMATISCH INTEGRIERT */
    @media (max-width: 480px) {
        .frame-top { top: 30px; }
        .frame-left { left: 20px; }
        .frame-right { right: 20px; }
        .corner { font-size: 9px; }

        .top-left, .top-right { top: 38px; }
        .bottom-left, .bottom-right { bottom: 26px; }

        .center-header {
            font-size: 12px;
            top: 58px;
        }

        .hero-menu .menu-item {
            font-size: 26px !important;
        }

        .cookie-button {
            right: 10px;
            font-size: 11px;
        }

        #cookie-popup {
            max-width: 360px;
            bottom: 26px;
        }

        .cookie-popup-box {
            padding: 22px 22px;
            border-radius: 18px;
        }

        .cookie-popup-box h2 { font-size: 20px; }
        .cookie-popup-box p { font-size: 13px; }
        .cookie-btn { font-size: 13px; padding: 10px; }
    }

    @media (max-width: 380px) {
        .frame-top { top: 28px; }
        .corner { font-size: 8.5px; }

        .top-left, .top-right { top: 36px; }
        .bottom-left, .bottom-right { bottom: 22px; }

        .center-header {
            font-size: 11px;
            top: 56px;
        }

        .hero-menu .menu-item {
            font-size: 22px !important;
        }

        #cookie-popup { max-width: 320px; }
        .cookie-popup-box {
            padding: 18px 18px;
            border-radius: 16px;
        }

        .cookie-popup-box h2 { font-size: 18px; }
        .cookie-popup-box p { font-size: 12px; }
        .cookie-btn { font-size: 12px; padding: 8px; }
    }

}
@media (max-width: 720px) {

    /* Abstand der unteren Corner-Texte erhöhen */
    .bottom-left,
    .bottom-right {
        bottom: 40px !important;
    }

    /* Abstand der Legal-Links erhöhen (damit sie nicht am Rahmen kleben) */
    .legal-links {
        bottom: 14px !important;
        transform: translateX(-50%);
        gap: 20px;
    }

    /* Sicherheit: Schrift kleiner auf Mobile */
    .legal-links a {
        font-size: 12px !important;
        letter-spacing: 0.4px;
    }
}

@media (max-width: 480px) {

    .bottom-left,
    .bottom-right {
        bottom: 44px !important;
    }

    .legal-links {
        bottom: 12px !important;
        gap: 16px;
    }

    .legal-links a {
        font-size: 11px !important;
    }
}

@media (max-width: 380px) {

    .bottom-left,
    .bottom-right {
        bottom: 48px !important;
    }

    .legal-links {
        bottom: 10px !important;
        gap: 14px;
    }

    .legal-links a {
        font-size: 10px !important;
    }
}
@media (max-width: 720px) {

    /* Abstand der unteren Corner-Texte erhöhen */
    .bottom-left,
    .bottom-right {
        bottom: 40px !important;
    }

    /* Abstand der Legal-Links erhöhen (damit sie nicht am Rahmen kleben) */
    .legal-links {
        bottom: 14px !important;
        transform: translateX(-50%);
        gap: 20px;
    }

    /* Sicherheit: Schrift kleiner auf Mobile */
    .legal-links a {
        font-size: 12px !important;
        letter-spacing: 0.4px;
    }
}

@media (max-width: 480px) {

    .bottom-left,
    .bottom-right {
        bottom: 44px !important;
    }

    .legal-links {
        bottom: 12px !important;
        gap: 16px;
    }

    .legal-links a {
        font-size: 11px !important;
    }
}

@media (max-width: 380px) {

    .bottom-left,
    .bottom-right {
        bottom: 48px !important;
    }

    .legal-links {
        bottom: 10px !important;
        gap: 14px;
    }

    .legal-links a {
        font-size: 10px !important;
    }
}
/* =============================================
   GLOBAL MOBILE LAYOUT FIX – verhindert Links-Kleben
============================================= */
@media (max-width: 720px) {

    section,
    .section,
    #about,
    #skills,
    #portfolio,
    #contact {
        padding-left: 32px !important;
        padding-right: 32px !important;
        width: calc(100% - 64px) !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {

    section,
    .section,
    #about,
    #skills,
    #portfolio,
    #contact {
        padding-left: 24px !important;
        padding-right: 24px !important;
        width: calc(100% - 48px) !important;
    }
}

@media (max-width: 380px) {

    section,
    .section,
    #about,
    #skills,
    #portfolio,
    #contact {
        padding-left: 18px !important;
        padding-right: 18px !important;
        width: calc(100% - 36px) !important;
    }
}
