/* CSS Variables & Reset */
:root {
    --orange: #E87722;
    --black: #111111;
    --white: #FFFFFF;
    --off-white: #F5F5F0;
    
    --font-heading: 'Squada One', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --border-thick: 3px solid var(--black);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 600; /* Poppins Halbfett is the default vibe */
    color: var(--black);
    background-color: var(--white);
    line-height: 1.5;
    letter-spacing: 0.01em; /* ~10 in tracking */
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .logo, .footer-logo, .huge-title, .step-number, .btn {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em; /* ~ -40 in tracking */
    text-transform: uppercase;
}

h1 {
    font-size: clamp(64px, 10vw, 110px);
    margin-bottom: 24px;
}

h2.section-title {
    font-size: clamp(48px, 7vw, 80px);
    margin-bottom: 56px;
}

.huge-title {
    font-size: clamp(80px, 12vw, 160px);
    margin-bottom: 24px;
}

.subline {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    margin-bottom: 48px;
}

p {
    margin-bottom: 16px;
    font-weight: 400; /* Normal text for longer paragraphs */
}

a {
    color: inherit;
    text-decoration: none;
}

.text-orange {
    color: var(--orange);
}

.text-center {
    text-align: center;
}

/* The signature white offset shadow from the brand guide */
.text-shadow-white {
    text-shadow: 4px 4px 0px var(--white);
}

/* Layout & Spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

section.project-editorial.section-padding {
    padding-top: 40px;
}

.mb-64 {
    margin-bottom: 64px;
}

.bg-off-white {
    background-color: var(--off-white);
}

.bg-orange {
    background-color: var(--orange);
}

/* Components */
.btn {
    display: inline-block;
    padding: 20px 40px;
    font-size: 32px;
    border: var(--border-thick);
    border-radius: 0;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: var(--white);
}

.btn-primary {
    background-color: var(--orange);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--black);
    color: var(--white);
}

.btn-dark {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-dark:hover {
    background-color: var(--white);
    color: var(--black);
}

/* 1. Nav */
.site-header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    border-bottom: var(--border-thick);
    z-index: 100;
    padding: 24px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 40px;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 32px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
}

/* 2. Hero */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-images {
    display: flex;
    gap: -20px; /* Overlap slightly */
    justify-content: center;
    align-items: center;
}

.portrait {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 6px solid var(--orange);
    overflow: hidden;
    background-color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portrait-emilia {
    z-index: 2;
    transform: translateX(20px);
}

.portrait-marco {
    z-index: 1;
    transform: translateX(-20px);
}

.portrait-placeholder {
    font-family: var(--font-heading);
    font-size: 120px;
    color: var(--white);
}

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3. Who we help */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.card {
    background-color: var(--white);
    border: var(--border-thick);
    padding: 48px 32px;
    transition: transform 0.2s ease;
}

.card h3 {
    font-size: 48px;
    margin-bottom: 24px;
}

/* Brutalist Rotations */
.card-rotate-left {
    transform: rotate(-2deg);
}
.card-rotate-right {
    transform: rotate(2deg);
}
.card:hover {
    transform: rotate(0deg) scale(1.02);
}

/* 4. What we do */
.pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.pill {
    display: inline-block;
    padding: 20px 48px;
    background-color: var(--white);
    border: var(--border-thick);
    font-family: var(--font-heading);
    font-size: 40px;
    transition: all 0.2s ease;
}

.pill-rotate-left {
    transform: rotate(-2deg);
}
.pill-rotate-right {
    transform: rotate(2deg);
}

.pill:hover {
    background-color: var(--black);
    color: var(--white);
    transform: rotate(0deg);
}

/* 5. A-Z Arbeitsweise */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 150px;
}

.step-number {
    font-size: 80px;
    color: var(--orange);
    margin-bottom: -16px; /* Overlap text slightly */
    padding-bottom: 20px;
}

.step-title {
    font-size: 32px;
    border-top: var(--border-thick);
    padding-top: 16px;
}

.step-arrow {
    font-family: var(--font-heading);
    font-size: 64px;
    color: var(--black);
    margin-top: 40px;
}

/* 6. Featured Projects & Archive */
.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.project-card {
    background-color: var(--white);
    border: var(--border-thick);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: var(--black);
    border-bottom: var(--border-thick);
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 32px 24px;
}

.project-tag {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.05em;
}

.project-name {
    font-size: 40px;
}

/* 7. Kontakt */
.kontakt {
    border-top: var(--border-thick);
    border-bottom: var(--border-thick);
}

/* 8. Footer */
.site-footer {
    border-top: var(--border-thick);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-col h3.footer-logo {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.01em;
    text-transform: none;
    margin-bottom: 24px;
    line-height: 1.4;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.01em;
    text-transform: none;
    margin-bottom: 24px;
}

.footer-col p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-col a {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    display: inline-block;
    line-height: 1.6;
    color: var(--black);
}

.footer-link-underline {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-legal-links {
    margin-top: 48px;
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    font-weight: 600;
}

.footer-col a:hover {
    text-decoration: none;
    color: var(--orange);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-images {
        margin-top: 48px;
    }
    
    .cards-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin-left: 16px;
        margin-top: 0;
        margin-bottom: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .portrait {
        width: 180px;
        height: 180px;
    }
    
    .portrait-placeholder {
        font-size: 80px;
    }
    
    .huge-title {
        font-size: 64px;
    }
}

/* Archive Specific Styles */
.archive-hero {
    padding-top: 80px;
    padding-bottom: 80px;
}

.archive-hero-image {
    width: 100%;
    height: 400px;
    background-image: url('images/entdeckungstour-1.jpg');
    border: var(--border-thick);
    margin-bottom: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

.placeholder-text {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--white);
    letter-spacing: 0.05em;
}

.archive-hero-content {
    text-align: center;
}

.archive-intro {
    max-width: 660px;
    margin: 0 auto;
}

.archive-intro-grid {
    max-width: 880px;
    margin: 0 auto;
}

.archive-intro-col p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.archive-intro-col .subline {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 80px;
}

.page-link, .page-current {
    font-family: var(--font-heading);
    font-size: 32px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--border-thick);
    background-color: var(--white);
    transition: all 0.2s ease;
}

.page-current {
    background-color: var(--orange);
    color: var(--black);
}

.page-link:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-4px);
}

@media (max-width: 992px) {
    .cards-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .archive-hero-image {
        height: 250px;
    }
    
    .placeholder-text {
        font-size: 32px;
    }
}


/* Single Project V1 (Split Layout) */
.project-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.project-title {
    font-size: clamp(64px, 8vw, 100px);
    margin-top: 16px;
    margin-bottom: 32px;
}

.project-image-large {
    width: 100%;
    aspect-ratio: 4/3;
    border: var(--border-thick);
}

.gallery-image-flexible {
    width: 100%;
    height: auto;
    display: block;
    border: var(--border-thick);
}

.project-image-medium {
    width: 100%;
    aspect-ratio: 16/9;
    border: var(--border-thick);
}

/* Meta Section */
.project-meta-section {
    /* border-top: var(--border-thick);
    border-bottom: var(--border-thick); */
}

.meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 48px;
    padding: 64px 0;
}

.meta-grid p {
    font-size: 18px;
}

.meta-label {
    font-size: 32px;
    color: var(--orange);
    margin-bottom: 16px;
}

.brutalist-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.brutalist-list li {
    font-weight: 600;
    font-size: 20px;
    position: relative;
    /* padding-left: 32px; */
}

.brutalist-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1;
    top: -1px;
    display: none;
}

/* Task Section */
.task-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
}

.lead-text {
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Gallery Stack */
.gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Single Project V2 (Poster Layout) */
.single-project-hero-poster {
    padding-top: 48px;
}

.poster-image-wrapper {
    position: relative;
    width: 100%;
}

.poster-image {
    width: 100%;
    height: 60vh;
    min-height: 500px;
    border: var(--border-thick);
}

.poster-title {
    /* position: absolute; */
    bottom: -40px;
    left: 48px;
    font-size: clamp(80px, 12vw, 160px);
    color: var(--orange);
    margin: 0;
    z-index: 10;
}

aside.editorial-sidebar .subline {
    font-size: clamp(20px, 3vw, 24px);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    margin-top: 48px;
}

.editorial-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.meta-block-small {
    margin: 48px 0;
    padding-top: 24px;
    border-top: var(--border-thick);
}

.btn-full {
    width: 100%;
    text-align: center;
    font-size: 20px;
    padding: 16px 24px;
}

.spacer-large {
    height: 120px;
}

.text-block {
    margin-bottom: 48px;
    max-width: 800px;
}

.editorial-text .lead-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .project-hero-grid,
    .task-grid,
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .meta-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .meta-services {
        grid-column: 1 / -1;
    }
    
    .poster-title {
        left: 24px;
        bottom: -24px;
    }
    
    .editorial-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .meta-grid {
        grid-template-columns: 1fr;
    }
    
    .brutalist-list {
        grid-template-columns: 1fr;
    }
}


/* 3. About Section */
/* 3. About Section */
.about-poster-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 80px;
    align-items: center;
}

.brutalist-image {
    width: 100%;
    height: auto;
    display: block;
    border: var(--border-thick);
}

.about-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-logo {
    margin-bottom: 20px;
}

.about-logo img {
    width: 100%;
    max-width: 320px;
}

.about-avatars-container {
    max-width: 260px;
    margin: 0 auto 20px auto;
}

.avatars-image-large {
    width: 100%;
    height: auto;
    display: block;
}

p.avatars-text {
    color: #E87722;
    margin: 0;
    font-style: italic;
}

.about-text-content {
    max-width: 600px;
    margin: 0 auto;
}

.about-text-content .lead-text {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.5;
}

.mt-4 {
    margin-top: 32px;
}

@media (max-width: 992px) {
    .about-poster-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }
}


/* 6. Featured Projects (Homepage Split Layout) */
.featured-projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.featured-projects-content .section-title {
    margin-bottom: 32px;
}

.featured-projects-content .lead-text {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.5;
}

.featured-projects-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.project-thumb {
    aspect-ratio: 4/3;
    /* border: var(--border-thick); */
    width: 100%;
    background-color: var(--black);
    transition: transform 0.2s ease;
    object-fit: cover;
}

.project-thumb:hover {
    transform: scale(1.05);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thumb-title {
    font-size: 40px;
    color: var(--black);
}

@media (max-width: 992px) {
    .featured-projects-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }
}

@media (max-width: 768px) {
    .archive-intro-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}


/* Profil Page Styles */

/* 1. Intro Section */
.profil-intro-content .profil-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 32px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.profil-intro-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.profil-avatars-image {
    width: 100%;
    height: auto;
}

/* 2. A-Z Section */
.brutalist-list-no-arrow {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brutalist-list-no-arrow li {
    font-weight: 600;
    font-size: 24px; /* Larger font size for the AZ list */
}

/* 3. History Section */
/* 3. History Section (Timeline) */
.timeline-content {
    display: flex;
    flex-direction: column;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 32px;
    padding-top: 32px;
    margin-bottom: 32px;
    border-top: var(--border-thick);
}

.timeline-item:first-child {
    border-top: none;
    padding-top: 0;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--black);
    line-height: 1;
}

.timeline-text {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.history-logo {
    margin-top: 32px;
}

.history-logo img {
    max-width: 300px;
    height: auto;
}

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* 4. Contact Section */
.contact-profiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portrait-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 6px solid var(--orange);
    overflow: hidden;
    margin-bottom: 24px;
}

.portrait-image-profile {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-role {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--black);
    margin-bottom: 4px;
}

.profile-name {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.text-left {
    text-align: left;
}

@media (max-width: 768px) {
    .contact-profiles-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }
}

/* A-Z Section Revamp */
.az-brutalist-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: stretch;
}

.az-card {
    padding: 64px 48px;
}

.az-card .huge-title {
    margin-bottom: 48px;
    border-bottom: var(--border-thick);
    padding-bottom: 16px;
}

.az-card.bg-orange .huge-title {
    border-bottom-color: var(--white);
}

.az-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .az-brutalist-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .az-arrow {
        transform: rotate(90deg);
        margin: 24px 0;
    }
}
