/* --- 1. VARIABLEN --- */
:root {
    --navy: #0F172A;
    --coral: #ff5e4d;
    --cyan: #86D2E1;
    --text-light: #475569;
}

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

/* --- 2. HINTERGRUND & BODY --- */
body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    line-height: 1.6;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, #f9f7f2 40%, #ece7de 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* --- COMPANY IN FOUNDATION WATERMARK (Rot-Beige Update) --- */
.foundation-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    
    /* Ein helles, warmes Rot-Beige (Mischung aus Coral und Cream) */
    color: #e6b3a8; 
    
    /* Deckkraft leicht erhöht (0.15 statt 0.04), da die Farbe heller ist */
    opacity: 0.15; 
    
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* --- 3. NAVIGATION --- */
nav { display: flex; justify-content: space-between; align-items: center; padding: 2rem 8%; position: relative; z-index: 10; }
.logo-container { display: flex; flex-direction: column; }
.logo-text { font-size: 2.5rem; font-weight: 300; letter-spacing: -1.5px; line-height: 1; }
.bold-text { font-weight: 700; }
.tagline { font-size: 1rem; margin-top: 2px; }
nav ul { display: flex; list-style: none; gap: 2.5rem; align-items: center; }
nav a { text-decoration: none; color: var(--navy); font-weight: 500; transition: 0.3s; }
nav a:hover { color: var(--coral); }

/* --- 4. HERO --- */
.hero { min-height: 75vh; display: flex; justify-content: space-between; align-items: center; padding: 0 8%; gap: 40px; position: relative; z-index: 5; }
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.hero-content { flex: 1.2; max-width: 700px; }

/* --- 5. BUTTONS --- */
.btn-primary {
    background-color: var(--navy); color: white !important; padding: 1.1rem 2.2rem;
    border-radius: 4px; text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-block;
}
.btn-primary:hover { background-color: var(--coral); transform: translateY(-2px); }
.btn-secondary { margin-left: 1.5rem; border-bottom: 2px solid var(--coral); padding-bottom: 5px; text-decoration: none; font-weight: 600; color: var(--navy); }

/* --- 6. ANIMATION --- */
.particles-flowing circle { fill: var(--cyan); opacity: 0; animation: moveIntoCube 4s linear infinite; }
.particles-flowing circle:nth-child(3n) { animation-delay: 0s; }
.particles-flowing circle:nth-child(3n+1) { animation-delay: 1.3s; }
.particles-flowing circle:nth-child(3n+2) { animation-delay: 2.6s; }
@keyframes moveIntoCube { 0% { opacity: 0; } 15% { opacity: 0.7; } 85% { opacity: 0.7; } 100% { opacity: 0; cx: 100; cy: 95; } }
.cube-geometry { filter: drop-shadow(0 20px 50px rgba(0,0,0,0.06)); }

/* --- 7. INHALTSSEITEN & ZOOM --- */
.content-page { min-height: 80vh; display: flex; justify-content: center; align-items: center; padding: 4rem 5%; position: relative; z-index: 5; }
.text-content-area { max-width: 1400px; width: 95%; }
.serif-title { font-family: 'Centaur', 'EB Garamond', serif; font-size: 3.5rem; font-weight: 400; margin-bottom: 2.5rem; color: var(--navy); }
.serif-body { font-family: 'Centaur', 'EB Garamond', serif; font-size: 1.8rem; line-height: 1.5; color: var(--navy); }

.content-zoom .serif-title { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; }
.content-zoom .serif-body { font-size: clamp(1.4rem, 2.5vw, 2.3rem); line-height: 1.4; }

/* --- 8. SERVICES & PROCESS --- */
.services-grid { display: flex; flex-direction: column; gap: 3rem; margin-top: 4rem; }
.service-row { display: flex; gap: 3rem; align-items: flex-start; text-align: left; }
.service-box { flex: 0 0 320px; background: white; padding: 2rem; border: 1px solid var(--navy); box-shadow: 8px 8px 0px var(--navy); font-size: 1.3rem; }
.service-text { flex: 1; font-size: 1.6rem; }

.process-wrapper { display: flex; align-items: center; width: 100%; gap: 60px; max-width: 1600px; }
.process-visual-side { flex: 0.7; }
.process-content-side { flex: 2; }
.process-grid-large { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.framework-item-large { 
    background: rgba(255,255,255,0.7); border: 1px solid #ddd; padding: 1.5rem; 
    font-family: 'Inter', sans-serif; font-size: 0.95rem; text-align: center;
    min-height: 140px; display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden; transition: all 0.4s ease; cursor: pointer;
}
.default-content { transition: all 0.3s ease; opacity: 1; }
.hover-content { 
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 1.5rem;
    background: #ffebd2; color: var(--navy); font-size: 0.9rem; display: flex; 
    align-items: center; justify-content: center; opacity: 0; visibility: hidden;
    transform: translateY(100%); transition: all 0.4s ease; font-weight: 500;
}
.framework-item-large:hover .default-content { opacity: 0; }
.framework-item-large:hover .hover-content { opacity: 1; visibility: visible; transform: translateY(0); }
.highlight-box { background: #ffebd2; border: 2px solid var(--coral); }
.highlight-box .hover-content { background: var(--coral); color: white; }

/* FOOTER */
footer { padding: 3rem 8% 1rem; font-family: 'Centaur', serif; font-size: 1rem; position: relative; z-index: 10; }
.footer-info { display: flex; justify-content: space-between; border-top: 1px solid #ccc; padding-top: 1rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero, .process-wrapper { flex-direction: column-reverse; text-align: center; }
    .process-grid-large { grid-template-columns: 1fr; }
    .foundation-watermark { font-size: 4rem; transform: translate(-50%, -50%) rotate(-30deg); }
}