﻿/* ========================= */
/* ===== Basis-Styles ===== */
/* ========================= */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #FCEDBA;   /* Humberg-Hof Hintergrundfarbe */
    color: #000;
}

main.doorway {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.kachelgrid {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.kachel img {
    width: 100%;
    height: auto;
    display: block;
}

.kachel-label {
    text-align: center;
    margin-top: 3px;        /* enger am Bild */
    font-size: 13px;        /* vorher 18px */
    font-weight: bold;
    white-space: nowrap;    /* EINZEILIG */
    overflow: hidden;
    text-overflow: ellipsis;
}




.textblock {
    max-width: 760px;
    margin: 0 auto;
}

.textblock p { 				/* Normale Absätze außerhalb der Liste >> BASIS */
    font-size: 14px;
    line-height: 1.2;
    margin-top: 0px;
    margin-bottom: 0px;
}


.textblock ul {
    list-style: none;
    padding-left: 0;
}


/* Pfeil außerhalb, Text eingerückt */
.textblock ul li {
    position: relative;
    padding-left: 28px;   /* Einrückung für den Text */
}

.textblock ul li::before {
    content: "➤";
    position: absolute;
    left: 0;
    top: 0;
}






/* LISTE – Bullet groß, Text kleiner */
.textblock li {
    font-size: 20px;   /* Bullet + erste Zeile */
    font-weight:bold;
    line-height: 1.1;
    margin-top: 0px;
    margin-bottom: 10px;

}

.textblock li p {
    font-size: 14px;   /* erklärender Text */
    font-weight:normal;
    line-height: 1.1;
    margin-left: 0;    /* bündig */
    margin-top: 0px;
    margin-bottom: 3px;
}




/* Farben für Listenpunkte */
.pfeil-bullets li.hofladen 		{ color: #664400;}
.pfeil-bullets li.bauernmarkt 	{ color: #0000FF;}
.pfeil-bullets li.instagram 	{ color: #660066;}
.pfeil-bullets li.whatsapp-kanal { color: #003300;}
.pfeil-bullets li.whatsapp-chat { color: #006600;}



    
/* --- Bilder Schatten --- */
.img-shadow 		{ box-shadow: 2px 4px 6px rgba(0,0,0,0.2); }
.img-shadow-small 	{ box-shadow: 2px 4px 6px rgba(0,0,0,0.2);  }



/* --- Hover Effekt für Bilder --- */

/* Gemeinsame Basis */
.hover-zoom {
    transition: transform 0.3s ease;
    display: block; /* verhindert Layout-Sprünge */
}

/* Große Bilder – dezenter Hover */
.hover-zoom-big:hover {
    transform: scale(1.02);
}

/* Kleine Bilder – stärkerer Hover */
.hover-zoom-small:hover {
    transform: scale(1.05);
}


.desktop 	{  display: block; }
.smartphone {  display: none; }




/* ========================= */
/* ===== Desktop-Layout ==== */
/* ========================= */

@media (min-width: 1001px) {

    /* Haupt-Container: großes Bild links, QR-Spalte rechts */
	.kachelgrid {
	    display: flex;
	    gap: 20px;
	    align-items: flex-start;
	    width: 760px;      /* exakt passende Breite */
	    margin: 0 auto;    /* zentriert */
	}

    /* Großes Bild links */
    .kachel-website {
        flex: 0 0 580px;
    }

    /* QR-Gruppe rechts */
    .kachelgruppe {
        display: flex;
        flex-direction: column;
        gap: 4px;
        flex: 0 0 140px;
    }

    /* QR-Bilder */
    .kachelgruppe .kachel img {
        width: 135px;
        height: 135px;
        object-fit: cover;
    }

    /* Textblock */
    .textblock {
        font-size: 18px;
        line-height: 1.4;
    }
    
	p.desktop {
	    /* font-size: 20px;  --- wird schon oben für alle normalen Absätze --- */
	    margin-top: 0px;
	    margin-bottom: 0px;
    	text-indent: 5px;
	}  
    
}





/* ========================= */
/* ==== Smartphone-Layout == */
/* ========================= */

@media (max-width: 1000px) {

   /* Debug – später entfernen */
 /* * { outline: 1px solid red; }  */





.kachelgrid {
    display: grid;
 /* grid-template-columns: 1fr 1fr;*/ /* ließ zum Schluss hin leicht unterschiedlich schrumpfen */
    grid-template-columns: repeat(2, minmax(120px, 1fr)); /* Jede Kachel darf nie kleiner als 120px werden, Beide Spalten schrumpfen gleichmäßig, Keine Seite wird bevorzugt, Die 2×2‑Matrix bleibt stabil und symmetrisch */
    row-gap: 2px;   	/* vertikal */
    column-gap: 20px; 	/* horizontal */    
}

.kachelgruppe {
    display: contents;   /* Wrapper auflösen → alle .kachel werden Grid-Items */
}

/* falls fixe Größe gewünscht
.kachel {
	width: 140px;
    height: 140px; 
}
*/

.kachel img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 160px;
    max-height: 160px;	
    display: block;
    margin-left: auto;
    margin-right: auto;	    
}

.kachel-label {
    font-size: 16px;
    margin-top: 2px;
}



.textblock {
    padding: 0 10px;
    margin-top: 0px;
    margin-bottom: 20px;

}


/* LISTE – Hier nur Abweichungen zum Basis Style */
.textblock li {
    font-size: 19px;   /* Bullet + erste Zeile */
}



/* Normale Absätze außerhalb der Liste >> SMARTPHONE */
.textblock p {
    font-size: 16px;
    line-height: 1.2;
    margin-top: 0px;
    margin-bottom: 0px;
}

p.smartphone {
    text-align: center;
    /* font-size: 20px;  --- wird schon oben für alle normalen Absätze --- */
    margin-top: 0px;
    margin-bottom: 20px;
}  


.desktop 	{ display: none; }
.smartphone { display: block; }



    
    
    
 
}

