/******************************************************************************
 *
 * 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. */

}

/* ==================================================
   HOME HERO – POSTER / KALENDER. ab 260911
=================================================== */

.home-hero
{
    position:
        relative;

    height:
        clamp(360px, 30vw, 540px);

    margin:
        0 auto 48px auto;

    background-image:
        url("../img/home_hero_26products_mup02.webp");

    background-size:
        cover;

    background-position:
        center;

    background-repeat:
        no-repeat;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    overflow:
        hidden;
}

.home-hero-content
{
    position:
        relative;

    z-index:
        1;

    width:
        34%;

    text-align:
        center;
}

.home-hero-kicker
{
    margin-bottom:
        10px;

    font-size:
        0.72rem;

    font-weight:
        600;

    letter-spacing:
        0.18em;

    text-transform:
        uppercase;

    color:
        #666;
}

.home-hero-content h2
{
    margin:
        0 0 14px 0;

    font-family:
        var(--font-heading);

    font-size:
        clamp(1.8rem, 2.4vw, 2.8rem);

    font-weight:
        500;

    line-height:
        1.08;

    color:
        #222;
}

.home-hero-content p
{
    margin:
        0 auto 22px auto;

    max-width:
        320px;

    font-size:
        0.92rem;

    line-height:
        1.45;

    color:
        #555;
}

.home-hero-links
{
    display:
        flex;

    justify-content:
        center;

    gap:
        10px;

    flex-wrap:
        wrap;
}

.home-hero-button
{
    display:
        inline-block;

    padding:
        8px 16px;

    border:
        1px solid #333;

    background:
        rgba(255,255,255,0.76);

    color:
        #222;

    font-size:
        0.84rem;

    font-weight:
        500;

    text-decoration:
        none;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.home-hero-button
{
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        154px;

    padding:
        8px 16px;

    border:
        1px solid #333;

    background:
        rgba(255,255,255,0.76);

    color:
        #222;

    font-size:
        0.84rem;

    font-weight:
        500;

    text-decoration:
        none;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.home-hero-button:hover
{
    background:
        #222;

    color:
        #fff;
}

.home-hero-button-primary
{
    background:
        #163E9F;

    border-color:
        #163E9F;

    color:
        #fff;
}

/* ====================================================
    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 gm_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;
}

/* ====================================================
    PORTRAIT - HOME. 261105 Portrait Update

    Aufgabe:
        Hochformat-Kalender auf HOME nicht auf
        die volle Standardbreite von 320px ziehen.

    REM:
        Entspricht der bereits vorhandenen
        Portrait-Regel für calendar_shops.html.
==================================================== */

.calendar-home-entry .calendar-image.portrait
{
    width:
        auto;

    max-width:
        211px !important;

    height:
        auto;
}

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


/* ====================================================
    POSTER EINZELDRUCKE - GRID
==================================================== */

#posterPrintsGrid
{
    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap:
        24px;

    max-width:
        1000px;

    margin:
        0 auto;
}


.poster-print-entry
{
    text-align:
        center;
}


.poster-print-entry img
{
    display:
        block;

    width:
        100%;

    max-width:
        280px;

    height:
        auto;

    margin:
        0 auto 10px auto;

    cursor:
        pointer;

    box-shadow:
        0 4px 12px
        rgba(0, 0, 0, 0.28);
}


.poster-print-entry p
{
    margin:
        0;

    line-height:
        1.3;
}

/* ====================================================
    POSTER PRINTS - INFO / LINKBOX

    Aufgabe:
        Stil analog About-Infobox.
==================================================== */

.poster-print-info
{
    width:
        100%;

    max-width:
        360px;

    min-height:
        160px;

    margin:
        14px auto 0;

    padding:
        16px 18px;

    box-sizing:
        border-box;

    background:
        #f5f5f5;

    border-left:
        4px solid #333;

    text-align:
        left;

    display:
        flex;

    flex-direction:
        column;
}

.poster-print-info p
{
    margin:
        0 0 14px 0;

    min-height:
        62px;
                
    font-size:
        0.92rem;

    line-height:
        1.45;

    color:
        #333;
}


.poster-print-info a
{
    display:
        inline-block;

    padding:
        10px 18px;

    margin-top:
        auto;

    background:
        #333;

    color:
        #fff;

    font-size:
        0.92rem;

    font-weight:
        600;

    line-height:
        1.2;

    text-decoration:
        none;

    border-radius:
        3px;
}

.poster-print-info a:hover
{
    background:
        #555;

    color:
        #fff;
}

/* ====================================================
    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.00rem;

    line-height:
        1.33;
}

.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;
}