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

html, body {
    background-color: #b5987d;
    height: 100%;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(circle at center, #e8d5bc 0%, #b5987d 100%);
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4a3728;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    text-align: center;
}

h1 {
    font-size: 8vw;
    font-weight: 600;
    text-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
    line-height: 1.1;

    /* --- ANIMATIONEN --- */
    /* 1. Einblenden: 1.5s Dauer, Apple-Easing, bleibt am Ende sichtbar */
    /* 2. Atmen: 5s Dauer, startet nach 1.5s (wenn Fade fertig ist), loopt unendlich */
    animation: 
        fadeInUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards,
        breathe 5s ease-in-out 1.5s infinite;
    
    /* Sorgt für flüssigere Animation auf Macs/iPhones */
    will-change: transform, opacity;
}

/* Definition: Von unten nach oben einfaden */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Definition: Sanftes Pulsieren/Atmen */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03); /* Ganz dezente Vergrößerung */
    }
}

/* Umbruch auf Desktop verstecken */
.mobile-break {
    display: none;
}

/* Mobile Optimierungen */
@media (max-width: 600px) {
    h1 {
        font-size: 14vw;
        letter-spacing: -0.01em;
    }
    .mobile-break {
        display: block;
    }
}
