/* Olafs teaser cards */

.teaser-grid {
    display: grid;
    /* RECHNERISCH MAXIMAL 3 SPALTEN: */
    /* Wenn genug Platz ist, teilt er den Raum perfekt auf 3 Spalten auf. */
    grid-template-columns: repeat(auto-fit, 250px);
    max-width: 900px; /* 3 mal 250px + Gaps gleich 900px */
    
    /* ZENTRIERUNG IM HAUPTCONTAINER: */
    margin-left: auto;
    margin-right: auto;
    
    /* ZENTRIERUNG INNERHALB DES GRIDS (falls es z.B. nur 1 oder 2 Kacheln gibt): */
    justify-content: center; 
    
    gap: 1.5rem;
    margin-bottom: 2rem;
}



/*
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
*/
.teaser { 
    background-color: var(--white); 
    min-height: 180px; 
/*	max-width: 250px; */
	aspect-ratio: 4 /5;
    border: solid 1px var(--slate-300); 
    border-radius: var(--std-border-radius);
    padding: 2rem 1.2rem 1.2rem 1.2rem; 
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none; 
 	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.05), 0px 1px 3px rgba(0, 0, 0, 0.1); 
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.teaser:hover {
    transform: translateY(-4px);
	box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1), 0px 4px 6px rgba(0, 0, 0, 0.05); 
}
.teaser h1 {color: var(--white); font-size: var(--h2-font-size); margin: 0.5rem 0; }
.teaser p { color: var(--white); font-size: var(--h3-font-size); margin: 0; padding-bottom: 1rem; }

/* Plus-Zeichen */
.teaser .PLUS { 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 1.2em; 
    height: 1.2em; 
    line-height: 1.2em; 
    background: var(--white); 
    color: #ff8d00; 
    font-size: 1.8rem; 
    font-weight: bold;
    border-top-right-radius: 4px; 
}

/* Big Menu - Tiles */
.tilemenu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.tilemenu-btn {
    background-color: var(--form-input-bg);
    border: 1px solid var(--form-input-border);
    color: var(--form-input-text);
    border-radius: var(--std-border-radius);
    /* Square */
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    
    cursor: pointer;
    text-decoration: none;
    padding: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
    
    /* Text-Styling */
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}
/* Tilemenu */
.tilemenu-btn:hover {
    border-color: var(--form-input-border);
    background-color: var(--form-input-bg);
    box-shadow: 0 7px 10px var(--form-input-border);
    transform: translateY(-2px); /* Kleiner Bonus-Effekt für Buttons */
}
.tilemenu-btn:focus {
    background-color: white;
    outline: 2px solid var(--form-input-border);
    outline-offset: -1px;
}
.tilemenu-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px var(--form-input-border);
}
/* Icon-Skalierung */
.tilemenu-btn svg {
    width: 2rem;
    height: 2rem;
    stroke-width: 1.5; 
}
