/******************************************************************************
 *
 * Kuczinski FineArt 2026
 * Datei : layout.css
 * Version: 1.0
 *
 ******************************************************************************/

/* ===== ALLE SEITEN ===================================================== */

/* =====================================================
   SEITENFARBEN
===================================================== */

.body-global-pages
{
    background:
        var(--color-global-bg);

    color:
        var(--color-global-text);
}

.body-gallery-page
{
    background:
        var(--color-body-gallery);

    color:
        var(--color-text-gallery);
}

/* ===== Hauptbereich ===================================================== */

main {
    width: 100%;
}

/* ===== Zentrierter Seitenbereich ======================================= */

.container,
.site-footer
{
    width: min(100%, var(--page-width));

    margin-left: auto;
    margin-right: auto;
}

/* ===== Klasse fuer andere Bereiche ===================================== */

.page-section {

    width: min(100%, var(--page-width));

    margin-left: auto;
    margin-right: auto;

}

/* ===== Breiter Seitenbereich ab 260820 ================================ */

.page-section-wide
{
    width: 100%;

    padding-left:
        clamp(16px, 3vw, 48px);

    padding-right:
        clamp(16px, 3vw, 48px);

    margin-left: auto;
    margin-right: auto;

    box-sizing: border-box;
}

/* ===== Willkommen ======================================================= */

.welcome {

    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);

    max-width: var(--content-width);

    text-align: center;                 /* ~~~kucz vorl. */

}

/* ====================================================
    GLOBAL INFO / LEGAL TEXT

    Verwendung:
        About
        Kontakt
        Impressum
        DSGVO
==================================================== */

.legal-text
{
    max-width:
        var(--content-width);

    margin:
        0 auto;

    padding:
        20px;

    box-sizing:
        border-box;

    line-height:
        1.4;
}


.legal-text h3
{
    margin:
        32px 0 12px;

    font-size:
        1rem;

    font-weight:
        600;
}


.legal-text p
{
    margin:
        0 0 20px;

    font-size:
        0.96rem;

}


/* ====================================================
   KONTAKT BEREICH 2 spaltig

   Aufgabe:
       Titel und Beschreibung schmaler halten
       und Bildbereich ...
==================================================== */
.contact-grid
{
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap:
        40px;

/*
align-items:
center;
*/ 
    align-items:
        start;
}

.contact-image img
{
    display: block;

    width:
        100%;

    height:
        auto;

    max-width:
        100%;
}

/* ====================================================
   GALERIE / SEITENKOPF

   Aufgabe:
       Titel und Beschreibung schmaler halten
       und Abstand zum Bildbereich reduzieren.
==================================================== */

.topTitle
{
    max-width:
        1100px;

    margin-left:
        auto;

    margin-right:
        auto;

    padding-top:
        24px;

    padding-bottom:
        16px;

    text-align:
        center;
}


.topTitle h1
{
    margin-bottom:
        14px;
}


.topTitle p
{
    margin:
        0;

    line-height:
        1.5;

    padding-left:
        20px;

    padding-right:
        20px;

    box-sizing:
        border-box;        
}


/* ===== Galerie ========================================================== 

alle Parts verschoben nach gal_evt.css

========================================================================= */


/* ===== Wandkalender Gruppen ================================================ */

.home-calendar-preview {

    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);

    /* max-width: var(--content-width);   */

    text-align: center;                 /* ~~~kucz Texte zentriert */

}

/* ein Kalender :: Title fuer mehrere Bilder */ 
#calendarHomeGrid .home-calendar-item h3
{
    margin:
        0 0 4px 0;

    font-size:
        1rem;

    font-weight:
        400;

    color: #3c00ffe3;

    letter-spacing:
        .04em;
}

.home-calendar-grid {

    display: flex;

    flex-direction: column;

    gap: var(--space-xl);

}

.home-calendar-images {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    /* justify-content: flex-start;  linksbuendig! */

    gap: var(--space-md);

}
/* Kalender-Box pro Bild in HOME */
.calendar-home-entry
{
    width: 360px;

    padding:
        12px
        var(--space-md)
        var(--space-md);

    text-align: center;

    color: var(--color-calendar-home-entry);

/*    border: 1px solid var(--color-border); */
}

.calendar-home-entry p
{
    margin-top: 4px;
    margin-bottom: 4px;

    line-height: 1.25;

    color: var(--color-calendar-home-entry);
}

/* Kalender-Bild in HOME */
.calendar-home-entry img
{
    display: block;
    width: auto;        /* war 320px */
    height: auto;

    margin-left: auto;
    margin-right: auto;

    /* falls Polaroidbild */
    border: 2px solid white;

    cursor:
        pointer;

    transition:
        transform 500ms ease;    
}

.calendar-home-entry img:hover
{
    transform:
        scale(1.025);
}

.calendar-home-entry img.is-hint
{
    transform:
        scale(1.025);
}

.calendar-home-entry p,
.calendar-home-entry .calendar-static-test
{
    margin-left: 0;
    margin-right: 0;

    text-align: center;
}

/* tests 260806 */
.home-calendar-block
{
  display: block;
  resize: horizontal;
  max-width: 1000px;
  text-align: left;
  /* justify-content: flex-start;  linksbuendig! */
  line-height: 98%;  
  font-size: 12pt;
}

/* ===== Wandkalender Shop-Gruppe ========================================= */

.home-calendar-shops {

    margin-top: var(--space-lg);

    text-align: center;

}

.home-calendar-shop-grid {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

}

.home-calendar-shop-grid a {

    width: 180px;

}

.home-calendar-shop-grid img {

    display: block;

    width: 180px;

    height: auto;

}

/* TEST DEBUG */ 
.calendar-popup-debugTextFeld {

    text-align: left;

}

.calendar-shops-entry p
{
    margin-top: 4px;
    margin-bottom: 4px;

    line-height: 1.25;

    color: var(--color-calendar-home-entry);
}

/* Kalender-Box pro Bild in HOME + SHOP */
.calendar-home-entry img,
.calendar-shops-entry img
{
    width: 320px;
    max-width: 100%;

    height: 300px;
    object-fit: contain;

    display: block;
    margin: 20px auto;
    /* shadow ~~~kucz? */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.67);        
}

/* hier fixiert max. height Portraits */
.calendar-home-entry img,
.calendar-shops-entry img
{
    height: auto;
    max-height: 300px;
}

.calendar-title
{
    color: 
        var(--color-calendar-home-entry);
}


/* ====================================================
    CALENDAR-SHOPS POPUP LAYOUTS
==================================================== */

.calendar-popup-entry
{
    max-width: 520px;
    margin: 0 auto;

    text-align: center;

border: 0px solid lime;         /* zu Testzwecken */

}

.calendar-popup-title
{
    margin: 0 0 18px 0;

    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: .04em;
}

.calendar-popup-image
{
    display: block;

    max-width: 100%;
    max-height: 320px;

    width: auto;
    height: auto;

    margin: 0 auto 14px auto;

    object-fit: contain;

border: 8px solid gainsboro;

}

.calendar-popup-image-title
{
    margin: 0 0 18px 0;

    font-size: .95rem;
    line-height: 1.3;

    color: #555;
}

/* Beschreibung aus tpl_calendar_home.txttpl */
.calendar-popup-description
{
    margin: 0 auto 14px auto;

    max-width: 440px;

    font-size: 1.00rem;           /* 260831 description war .8rem ~~~kucz */
    line-height: 1.2;
}

.calendar-popup-link
{
    margin: 8px 0 0 0;

    font-size: .95rem;
    line-height: 1.3;
}

.calendar-popup-link a
{
    text-decoration: none;
}

.calendar-popup-link a:hover
{
    text-decoration: underline;
}

/* ====================================================
    ABOUT EDITORIAL GRID

    Aufbau:
        Text | Bild
        Bild | Text

    Ziel:
        Editorial-/Magazinlayout ohne Überlappungen.
==================================================== */

.about-editorial
{
    width:
        min(100%, var(--page-width));

    max-width:
        1400px;

    margin:
        0 auto;

    padding:
        20px;

    box-sizing:
        border-box;
}


.about-editorial-row
{
    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        0;

    align-items:
        stretch;
}


.about-editorial-text
{
    padding:
        32px;

    box-sizing:
        border-box;

    font-size:
        1.0rem;

    line-height:
        1.4;
}

.about-editorial-text h3
{
    margin:
        0 0 16px;

    font-size:
        1.1rem;
}


.about-editorial-text p
{
    margin:
        0 0 18px;
}


.about-editorial-image
{
    min-width:
        0;
}


.about-editorial-image img
{
    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;
}


/* ====================================================
    GESPIEGELTER BLOCK

    Bild links / Text rechts
==================================================== */

.about-editorial-reverse
    .about-editorial-text
{
    grid-column:
        2;
}


.about-editorial-reverse
    .about-editorial-image
{
    grid-column:
        1;

    grid-row:
        1;
}



/* ====================================================
    DEBUG LAYOUTS

    Nur fuer optische Kontrolle.
    Vor finaler Version wieder auskommentieren.
==================================================== */

.calendar-home-entry
{
    /* border: 3px solid lime; */
    background-color:#dEdEdE;

    padding: 16px 32px 62px 32px;
/*    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);    */
}

.calendar-shops-entry
{
    /* border: 3px solid blueviolet; */
    width: 384px;
    background-color: white;
    padding: 16px 32px 62px 32px;
    /* padding: 1rem; */
}

.calendar-shops-entry .calendar-image.portrait
{
    width: auto;
    max-width: 211px !important;
    height: auto;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.67);
}

.calendar-home-entry p,
.calendar-shops-entry p
{
    cxxxxxxolor: var(--color-calendar-home-entry);
}


/* ====================================================
    VITA LAYOUT

    Katy
==================================================== */

.vita-grid
{
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(260px, 360px);

    gap:
        48px;

    align-items:
        start;
}

.vita-text h3
{
    margin-top:
        28px;

    margin-bottom:
        6px;
}

.vita-subtitle
{
    font-weight:
        600;
}

.vita-list
{
    margin:
        0;
}

.vita-list div
{
    display:
        grid;

    grid-template-columns:
        52px
        minmax(0, 1fr);

    gap:
        8px;
}

.vita-list dt,
.vita-list dd
{
    margin:
        0;
}

.vita-images
{
    display:
        flex;

    flex-direction:
        column;

    gap:
        36px;
}

.vita-images img
{
    width:
        240px;

    height:
        auto;
}

.vita-page
{
    background-image:
        url("../img/vita_pinsel_007blue_560.png");

    background-repeat:
        no-repeat;

    background-position:
        right 140px bottom 0px;

    background-size:
        356px auto;
}