/* xmas.css */

/* Externer Font */
@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-Light.woff2") format("woff2"), url("fonts/Roboto-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-LightItalic.woff2") format("woff2"), url("fonts/Roboto-LightItalic.woff") format("woff");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-Regular.woff2") format("woff2"), url("fonts/Roboto-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-RegularItalic.woff2") format("woff2"), url("fonts/Roboto-RegularItalic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-Bold.woff2") format("woff2"), url("fonts/Roboto-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-BoldItalic.woff2") format("woff2"), url("fonts/Roboto-BoldItalic.woff") format("woff");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #ffffff;
}

body {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
    font-weight: 300;
    color: #606060;
}

.xmas-page {
    position: relative;
    min-height: 100vh;
    background: #ffffff;
    overflow: hidden;
}

/* Schneeflocken-Overlay NUR über dem Baum */
.xmas-tree-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 80vh;
}

/* Linke Spalte: Canvas ausfüllen lassen */
.xmas-column-tree {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Baum-Canvas */
.xmas-tree-canvas {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    display: block;
}

/* Schnee-Canvas nur über dem Baum */
.xmas-snow-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: transparent;
}

/* Inhalt */
.xmas-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

/* Spalten */
.xmas-column {
    flex: 1 1 50%;
    box-sizing: border-box;
    padding: 4vw;
}

/* Rechte Spalte: Text */
.xmas-column-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xmas-text-inner {
    border-top: 2px solid #db8d20;
    padding-top: 2rem;
    max-width: 34rem;
    line-height: 1.5;
    font-size: 1rem;
}

.names {
    color: #db8d20;
}

.xmas-text-inner p {
    margin: 0 0 1rem;
}

.xmas-text-inner p:first-child {
    margin-top: 0;
}

.xmas-text-inner strong {
    font-weight: 600;
}

/* Footer-Hinweis */
.xmas-footer-note {
    margin-top: 2rem;
    max-width: 34rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #606060;
}

/* Responsiv: ab Tablet vertikal untereinander */
@media (max-width: 900px) {
    .xmas-content {
        flex-direction: column;
    }

    .xmas-column {
        flex: 0 0 auto;
        padding: 6vw 5vw;
    }

    .xmas-column-tree {
        min-height: 40vh;
    }

    .xmas-tree-canvas {
        max-height: 50vh;
    }

    .xmas-text-inner,
    .xmas-footer-note {
        max-width: 100%;
    }
}
