/* ==========================================
   CSS FÜR CASE STUDY: TIMEWEAVE
   ========================================== */

/* Reset & Basis-Schriften */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    color: #333333;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.page-container {
    max-width: 900px; /* Perfekt lesbare Breite für Artikel-Layouts */
    margin: 0 auto;
    padding: 60px 24px;
}

/* --- HEADER BANNER (Wie auf dem Foto) --- */
.case-study-header {
    width: 100%;
}

.header-banner {
    background-color: #F3E5D8; /* Eleganter, warmer Beigeton */
    position: relative;
    padding: 50px 40px;
    height: 140px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.header-banner h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    color: #3e332a;
    z-index: 2;
}

/* Dekorative geschwungene Linien im Header (CSS-nachgebildet) */
.header-curves {
    position: absolute;
    right: -10%;
    top: -20%;
    width: 300px;
    height: 200px;
    border: 1px solid rgba(114, 98, 85, 0.25);
    border-radius: 50%;
    z-index: 1;
}

.header-curves::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 20px;
    width: 280px;
    height: 180px;
    border: 1px solid rgba(114, 98, 85, 0.15);
    border-radius: 50%;
}

.header-bottom-border {
    height: 1px;
    background-color: #d1bba4;
    width: 100%;
}

/* --- SECTION DESIGN (Überschrift, Linie, Nummer) --- */
.cs-section {
    margin-bottom: 70px;
}

.cs-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.cs-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    color: #8c7662; /* Edles Graubraun */
    white-space: nowrap;
}

.cs-title-line {
    flex-grow: 1;
    height: 1px;
    background-color: #d1bba4;
    margin: 0 25px;
}

.cs-section-number {
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #d1bba4;
    letter-spacing: 1px;
}

/* Content innerhalb der Sektionen */
.cs-section-content p {
    font-size: 15.5px;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.cs-section-content strong {
    font-weight: 600;
    color: #3e332a;
}

/* --- INTERAKTIVER PROTOTYP (EMBED) --- */
.figma-section {
    margin: 30px 0;
}

.figma-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.figma-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- DOWNLOAD ACTIONS & BUTTONS --- */
.download-action-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-top: 25px;
}

/* Neuer Button angelehnt an das Hauptseiten-Design */
.newButton {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #b59f8c;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.newButton:hover {
    background-color: #726255;
    transform: translateY(-2px);
}

.figma-link-text {
    font-size: 14px !important;
    color: #666666;
}

.figma-link-text a {
    color: #b59f8c;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.figma-link-text a:hover {
    border-color: #b59f8c;
}

/* --- LEICHTER FOOTER (Wie auf dem Foto) --- */
.light-footer {
    margin-top: 100px;
    padding-top: 30px;
    width: 100%;
}

.footer-top-border {
    height: 1px;
    background-color: #e6ded6; /* Sehr sanfte Linie */
    width: 100%;
    margin-bottom: 25px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #3e332a;
}

.footer-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #8c827a;
}

.footer-copyright {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    color: #b5aba4;
    margin-top: 10px;
}

.footer-right {
    display: flex;
    align-items: center;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #5d534c; /* Dunkleres, klares Grau für die Icons auf weißem Grund */
    transition: color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: #b59f8c;
    transform: scale(1.1);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .header-banner h1 {
        font-size: 32px;
    }

    .cs-section-title {
        font-size: 22px;
    }

    .cs-section-number {
        font-size: 22px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-right {
        width: 100%;
        justify-content: flex-start;
    }
}

/* --- ELEGANT BACK TO HOME BUTTON --- */
.back-navigation-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px 10px 24px;
    display: flex;
    justify-content: flex-start;
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c7662; /* Warmer Graubraun-Ton passend zur Sektionsüberschrift */
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-home-link svg {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

/* Interaktiver Effekt beim Drüberschweben */
.back-home-link:hover {
    color: #3e332a; /* Wird beim Hovern dunkler */
}

.back-home-link:hover svg {
    transform: translateX(-5px); /* Der Pfeil bewegt sich elegant nach links */
}