/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;900&display=swap');
@import url("https://use.typekit.net/aff0sjq.css");

@font-face {
    font-family: 'Chido';
    src: url('fonts/chido.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --brand-color: #1a1a1a; 
    --bg-color: #F4F1EA;
    --accent-orange: #F04C30;
    --minoh-red: #DA4338;
}

/* Base Styles */
body {
    font-family: "acumin-pro-semi-condensed", sans-serif;
    background-color: var(--bg-color);
    color: var(--brand-color);
    margin: 0;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.index-page {
    font-family: 'Inter', sans-serif;
}

body.loaded { 
    opacity: 1; 
}

/* Typography Utilities */
.font-chido {
    font-family: 'Chido', sans-serif !important;
}

p {
    hyphens: auto;
    text-rendering: optimizeLegibility;
}

.hyphenate {
    hyphens: auto;
    text-align: justify;
}

/* Animations */
.fade-in { 
    animation: fadeIn 1.5s ease-out; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes subtleZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Hero & Texture Containers */
.texture-container, .hero-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.texture-container {
    height: 65vh; /* Standard für Beanz */
    background-color: #000;
}

.hero-container {
    height: 65vh;
    background-color: var(--minoh-red);
}

.texture-img, .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texture-img {
    opacity: 0.8;
}

.hero-img {
    opacity: 0.85;
    animation: subtleZoom 20s infinite alternate;
}

.hero-logo-overlay {
    position: absolute;
    width: 35%;
    max-width: 400px;
    z-index: 10;
}

.hero-text-overlay {
    position: absolute;
    z-index: 10;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-style: italic;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
}

/* Logic/Explain Grids (Minoh specific, but good for reuse) */
.logic-text {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    color: #444444;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.logic-headline {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    color: var(--minoh-red);
    text-align: center;
}

/* Index Page specific */
.project-image {
    filter: grayscale(0%);
    transition: filter 0.6s ease-in-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .project-image {
    filter: grayscale(100%);
    transform: scale(1.08);
}
/* Offset für Anchor-Links (wegen des Sticky Headers) */
#works,
#about {
    scroll-margin-top: 120px; /* Passt genau für den flachen Header am PC */
}

/* Auf dem Handy ist der Header höher, weil Logo und Menü übereinander stehen */
@media (max-width: 768px) {
    #works,
    #about {
        scroll-margin-top: 200px; /* Deutlich mehr Abstand für Handys */
    }
}
