/* ==========================================================================
   1. GLOBALE BASIS & BOOTSTRAP-ANPASSUNGEN
   ========================================================================== */
body {
    background-color: #fff;
    color: #000;
    padding: 0;
    margin: 0;
}

body{
  font-family: 'Roboto Condensed', sans-serif; font-weight: 300; text-align: left;
}
h1 {font-family: "Times New Roman",serif; font-size: 40px; font-weight: normal; line-height: 120%}
h1.overview {font-size: 70%; font-family: 'Roboto Condensed', sans-serif; }

.small {
    font-size: 50%;
}

.logo{
  color:#333;
  text-align: left;
  padding:4.4em;
  background-image: url(../logo/logo-Lutzgrossmann.svg);
  margin: -0.3em 0 1em -0.6em ;
  background-position-x: -16px;
  background-size: 114% auto;
}

/* Kontaktbox */
.contact-fixed {
    position: absolute;
    color: #000;
    top: 1em;
    right: 1em;
    background: #d8dbe1;
    padding: 0.5em 1em 0.5em 1em;
    border-radius: 0.3em;
    z-index: 100;
    font-size: 90%;
}
.contact-fixed a {
    padding-right: 0.8em;
    border: 0px;
    border-right: solid 1px #000;
    margin-right: 0.6em;
    text-decoration: none;
}
.contact-fixed a,.contact-fixed p {
font-style: italic;
margin: 0;
}




.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
}


.sidebar-brand a {
    border: 0px;
    text-transform: uppercase;
}

.home-heroimage-image img {width: 100%;}

/* ==========================================================================
   Vita & Termiene (33% / 66%)
   ========================================================================== */

   /*Vita & Termine*/

   .dates-sidebar {
     width: 40%;
   }
   .dates-sidebar img {
     width: 90%;}

   .dates-content {
     width: 58%;
   }
   .dates-profile-image img {
     border-radius: 100rem;
   }
   .portfolio-toggle-btn {
       cursor: pointer;
       font-weight: bold;
   }

/* Der gemeinsame Eltern-Container */
.dates-layout, .about-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem; /* Fester Abstand zwischen beiden Spalten */
    width: 100%;
}

/* Linke Spalte (Infotext, Bild & Kontakt): Exakt 33% */
.dates-sidebar {
    flex: 0 0 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
}

/* Rechte Spalte (Deine Terminlisten): Exakt 66% */
.dates-content {
    flex: 0 0 calc(66.666% - 2rem);
    max-width: calc(66.666% - 2rem);
}

/* --- Mobile Optimierung (Unter 800px Bildschirmbreite) --- */
@media (max-width: 799px) {
    .dates-layout {
        display: block; /* Spalten auf Smartphones untereinander stapeln */
    }

    .dates-sidebar, .dates-content {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
    }

    .dates-content {
        margin-top: 3rem; /* Abstand zwischen Infospalte und Terminen auf Handys */
    }

    .logo{
      background-size: 65% auto;
      background-position: center center;
      background-repeat: no-repeat;
    }
}



/* ==========================================================================
   1. RESET & BASISTYPOGRAFIE
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    color: #000;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

p {
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   2. SEITEN-LAYOUT (Zweispaltig für Desktop)
   ========================================================================== */
@media (min-width: 800px) {
    body {
        padding: 4rem 3rem;
    }

    .site-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 4rem;
    }

    /* Feste, linksbündige Navigation */
    .site-sidebar {
        flex: 0 0 200px;
        position: sticky;
        top: 4rem;
    }

    /* Hauptinhalt rechts daneben */
    .site-main-content {
        flex: 1;
        max-width: 1400px;
    }
}

/* ==========================================================================
   3. NAVIGATION (Minimalistisch & Vertikal)
   ========================================================================== */
.sidebar-brand {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.nav-links {
    list-style: none;
    margin-top: 7rem;
}

.nav-links li {
    margin-bottom: 0.8rem;
}

.nav-links li a {
    color: #666;
    font-size: 1.05rem;
    display: inline-block;
}

.nav-links li.is-active a,
.nav-links li a:hover {
    color: #000;
    text-decoration: underline;
}

/* ==========================================================================
   4. STÜCKE-RISTER (Das Kachel-Grid: 3-spaltig / 2-spaltig / 1-spaltig)
   ========================================================================== */

h1.portfolio-main-title  {
       font-size: 85%;
       font-family: 'Roboto Condensed', sans-serif;
       margin-bottom: 0.3rem;
   }
   .divider {
       border: solid 3px #000;
       padding: 0;
       margin: 0.8em 0;
       width: 4.5em;
       visibility: visible;
     }
.portfolio-grid {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
    width: 100%;
}
.infotext {
    height: 50px;
}

/* Mobilgeräte standardmäßig einspaltig */
@media (max-width: 599px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablets (600px - 1099px): 2 Spalten */
@media (min-width: 600px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Große Desktop-Monitore (ab 1100px): Exakt 3 Spalten */
@media (min-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-card a {
    display: block;
    border-bottom: 2px solid;
}

.portfolio-thumbnail {
    margin-bottom: 1rem;
}

.portfolio-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s;
}

.portfolio-card a:hover img {
    opacity: 0.85;
}

.portfolio-main-title {
    font-family: Georgia, Times, serif;
    font-weight: normal;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.portfolio-item-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.portfolio-item-subtitle p {
    font-size: 0.9rem;
    line-height: 110%;
    color: #666;
    padding-left: 2em;
    font-weight: 100;
}
.hrsubtitle {
    background: #000;
    margin: 0.6em 0 0 0;
    height: 3px;
    width: 1.8em;
    float: left;
    visibility: visible;
}

h2.portfolio-subtitle {
    font-size: 1.1em;
    line-height: 120%;
    font-weight: 400;
    color: #9a9a9a;
    margin: 0 0 1rem 0;
}

ol,  ul  {
    list-style: none;
    font-weight: 300;
    padding: 0;
}
.press-quotes p {
    line-height: 160%;
    font-family: serif;
    font-size: 125%;
    padding-left: 1em;
    padding-bottom: 0.6em;
    font-style: italic;
}
.portfolio-dates, .portfolio-trailer, .portfolio-content, .portfolio-press {
  margin-bottom: 1em;
}
.portfolio-dates h3 {
    font-size: 1em;
    margin-bottom: 1em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-left: 1.8em;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
}
.dates-list blockquote {
    padding: 0px 20px;
    margin: 0;
    border-left: 5px solid #333;
}
blockquote p {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.5rem;
    margin: 0;
    padding: 0.1em 0;
}

.portfolio-pagination a{
  text-decoration: none;
  padding-bottom: 1em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.portfolio-pagination a:hover {
    border-bottom: 1px solid #000;
}
.pagination-prev, .pagination-overview, .pagination-next {
    width: 33.33%;
    float: left;
}
.pagination-overview{
    text-align: center;
}
.pagination-next {
    text-align: right;
}

.portfolio-pagination {
  display: flex;
 justify-content: space-between;
 align-items: center;
 margin-top: 2.5rem;
}
/* --- Minimalistisches Bilder-Karussell --- */
.portfolio-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.portfolio-carousel {
    position: relative;
    width: 100%;
    min-height: 400px; /* Verhindert das Zusammenbrechen des Layouts bei großen Bildern */
}

/* Alle Slides sind standardmäßig unsichtbar und absolut positioniert */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Nur der aktive Slide wird weich eingeblendet */
.carousel-slide.is-active {
    position: relative; /* Das aktive Bild bestimmt die dynamische Höhe des Containers */
    opacity: 1;
    visibility: visible;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigations-Pfeile links und rechts */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: #000;
    border: none;
    font-size: 1.5rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    user-select: none;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-prev { left: 0; }
.btn-next { right: 0; }

/* --- Foto-Copyright direkt unter dem Karussell --- */
.portfolio-image-copyright {
    font-family: sans-serif;
    font-size: 0.8rem;
    color: #888;
    text-align: right; /* Rechtsbündig unter dem Bild, wie bei Stacey üblich */
    margin-top: 0.5rem; /* Minimaler, sauberer Abstand zur Bildkante */
    margin-bottom: 0;
    width: 100%;
    display: block;
    clear: both;
}

/* Verhindert übergroßen Abstand vom Spaltenende zur Fußnavigation */
.project-footer-area {
    width: 100%;
    margin-top: 3rem;
    clear: both;
}
footer {text-align: right;}

.portfolio-divider {
    border: 0;
    width: 0;
    color: transparent;
    margin: 5rem 0 2rem 0;
}

/* Punkte-Indikatoren (Dots) am unteren Bildrand */
.carousel-dots {
    text-align: center;
    width: 100%;
    z-index: 11;
}

.carousel-dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 4px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.2s;
}

.carousel-dot.is-active, .carousel-dot:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* --- Detailseiten-Layout: 40% Text links / 60% Galerie rechts --- */
.portfolio-detail-wrapper {
    width: 100%;
    clear: both;
}

/* Der Flex-Container für große Bildschirme */
@media (min-width: 800px) {
    .project-two-columns {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 4rem; /* Abstand zwischen Text- und Bildspalte */
        width: 100%;
    }

    /* Linke Spalte: Exakt 40% Breite minus Gap-Anteil */
    .project-text-column {
        flex: 0 0 calc(40% - 2rem);
        max-width: calc(40% - 2rem);
    }

    /* Rechte Spalte: Exakt 60% Breite minus Gap-Anteil */
    .project-media-column {
        flex: 0 0 calc(60% - 2rem);
        max-width: calc(60% - 2rem);
    }
}



/* --- Mobile Optimierung (Unter 800px Bildschirmbreite) --- */
@media (max-width: 799px) {
    .project-two-columns {
        display: block; /* Untereinander stapeln auf Handys */
    }

    .project-text-column,
    .project-media-column {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
    }

    .project-media-column {
        margin-top: 3rem; /* Abstand zwischen Textende und Galerie-Anfang auf Handys */
    }
}


/* ==========================================================================
   5. INHALTS-TOGGLE (Archiv / Pressestimmen)
   ========================================================================== */
.portfolio-toggle-content {
    display: none;
    margin-top: 1.5rem;
}

.portfolio-toggle-content.is-visible {
    display: block;
}

/* ==========================================================================
   6. MOBILES VERHALTEN (Unter 800px - Echtes Kirby-Style Burger Menü)
   ========================================================================== */
@media (max-width: 799px) {
    body {
        padding: 0; /* Entfernt den inneren Standardabstand auf Handys */
    }

    .site-wrapper {
        display: block;
        padding: 5rem 1rem 1rem 1rem; /* Schafft Platz für die fixierte Kopfzeile oben */
    }

    /* Fixierte obere Menüleiste auf dem Smartphone */
    .sidebar-header-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 6rem;
        background-color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.5rem;
        border-bottom: 1px solid #eee;
        z-index: 2000; /* Liegt immer über dem Inhalt */
    }

    .sidebar-brand {
        margin-bottom: 0;
        font-size: 1.1rem;
    }

    /* BURGER-BUTTON KORREKTUR: Sichtbare, dimensionierte Box */
    .menu-toggle-button {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px; /* Abstand zwischen den 3 Linien */
        background: none;
        border: none;
        cursor: pointer;
        width: 40px;
        height: 40px;
        padding: 0;
    }

    /* Die drei einzelnen Linien des Buttons */
    .menu-toggle-button .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #000; /* Klare schwarze Farbe */
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    /* Mobile Navigations-Box (wird unter die Kopfzeile geklappt) */
    .sidebar-navigation {
        display: none;
        position: fixed;
        top: 4rem;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 1.5rem;
        border-bottom: 1px solid #eee;
        z-index: 1999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    /* CSS-Schnittstelle für Vanilla-JS: Macht das Menü sichtbar */
    .sidebar-navigation.is-open {
        display: block !important;
    }

    .nav-links {
        margin-top: 0;
    }

    .nav-links li {
        margin-bottom: 1rem;
    }

    .nav-links li a {
        font-size: 1.15rem;
        display: block;
        width: 100%;
        padding: 0.3rem 0;
    }

    /* Wenn das Menü geöffnet ist, verwandelt sich der Burger optional in ein "X" */
    .sidebar-navigation.is-open ~ .sidebar-header-mobile .menu-toggle-button .icon-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .sidebar-navigation.is-open ~ .sidebar-header-mobile .menu-toggle-button .icon-bar:nth-child(2) {
        opacity: 0;
    }
    .sidebar-navigation.is-open ~ .sidebar-header-mobile .menu-toggle-button .icon-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }


/* CSS-Schnittstelle für Vanilla-JS: Macht das Menü sichtbar */
.sidebar-navigation.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Sorgt dafür, dass die Links untereinander stehen */
.sidebar-navigation.is-open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
}
}

/* ==========================================================================
   7. GLOBALER FOOTER
   ========================================================================== */


#site-footer {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: #666;
    padding-bottom: 4rem;
}

@media (min-width: 800px) {
    #site-footer {
        padding-left: 240px; /* Bündig mit dem Hauptinhalt ausrichten */
    }
}
