/* ============================================
   ============================================
   Responsive Design
   ============================================
   ============================================*/

@media screen and (max-width: 1024px) {

:root {
        --frame-offset: 2%;
        --border-radius: 6vw;
}

html, body {
        font-size: 0.9rem;
}

body{
    height: 85vh;
}

.content {
    margin: 5rem 1rem 1rem 1rem;
        /* oben | rechts | unten | links */
}

.content_impressum {
    margin: 7rem 1rem 1rem 1rem;
        /* oben | rechts | unten | links */
}

.content_muster {
    margin: 7rem 1rem 0rem 1rem;
    /* oben | rechts | unten | links */
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.title-line {
    display: block;
    /*nimmt volle Breite ein, beginnt neue Zeile*/
    font-size: 1.7rem;
    line-height: 1.2;
    text-shadow:
        0 0 20px rgba(196, 30, 58, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-text {
    color: var(--color-white);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 4vh;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.quote-text {
    color: var(--color-white);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.quote_text_red {
    font-size: 1.3rem;
    line-height: 1.2;
    
}

.site-main {
        margin-top: 0;
        /* falls hier zusätzlicher Abstand entsteht */
}
/*====================================*/


/* =====================
   Roter Rahmen
===================== */

.red-frame {
    border-radius: 10vh 2vh 2vh 2vh;
    border: 2px solid black;
    height: 95vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.red-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("images/sue_trauer_background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    border-radius: inherit;
}

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

/* =================================
   Menüpunkt
==================================== */

.menupunkt {
    position: absolute;
    flex-direction: row;  /* nebeneinander */
    gap: 1rem;          /* Abstand zwischen den Wörtern */
    left: 1rem;
    top: 10rem;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: rotate(0deg);
    z-index: 1;
}

.menupunkt .mp_haupt {
    color: var(--color-red);
    font-size: 1.7rem;
    font-weight: 400;
    text-shadow:
        1px 1px 2px black,
        0 0 1em #f5f3f3,
        0 0 0.2em #f5f3f3;
}

.menupunkt .mp_sub {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-top: 0.4rem;
    font-weight: 400;
    text-shadow:
        1px 1px 2px black,
        0 0 1em #f5f3f3,
        0 0 0.2em #f5f3f3;
}

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


/* =======================
   Header
======================= */

.header-inner {
        justify-content: space-between;
        align-items: center;
}
/*====================================*/


/* =====================
   Logo
===================== */

.logo {
        width: clamp(120px, 35vw, 200px);
        height: auto;
}
/*====================================*/


/* =======================
   Mobile Navigation
======================= */

/* Hamburger anzeigen */
.hamburger {
    display: flex;
    z-index: 200;
}

/* Menü verstecken */
.nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-dark-gray);
    flex-direction: column;
    width: 70%;
    padding:1.5rem;
    gap: 1.5rem;
    display: none;
    border: 2px solid var(--color-red);
    border-radius: 4vh 1vh 1vh 1vh;
}

/* Wenn aktiv → anzeigen */
.nav-menu.active {
    display: flex;
}

.nav-link {
    color: var(--color-white);
    font-weight: 400;
    font-size: 2vw;
    position: relative;
    padding: .5rem 0;
    transition: all 0.3s ease;
}

.nav-menu .nav-link {
    font-size: 1.5rem;
    color: var(--color-white) !important;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

.nav-menu .nav-link:hover {
    color: var(--color-red);
} 
/*====================================*/


/* =====================
   Footer
===================== */
   
.main-footer {
    display: flex;
    flex-direction: row;   /* nebeneinander */
    align-items: center;   /* vertikal mittig */
    justify-content: center; /* optional: mittig ausrichten */
    gap: 1rem;             /* Abstand zwischen Links */
    font-size: 0.9rem;
    flex-wrap: nowrap;     /* kein Umbruch */
}
/*====================================*/




/* =====================
   MUSTER
===================== */

.grid_muster {
    display: grid;
    gap: 1.5em;
    grid-template-columns: 1fr;
}

.text_main p{
    margin-bottom: 1rem;
}

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


/* =====================
   SLIDER
===================== */

.artikel-tabelle {
    width: 100%;
    font-size: 0.9rem;
    padding: 1rem;
    border-radius: 1rem;
}

.buy-btn {
    margin-top: 1rem;
    text-align: center;
}

/* Slider zentrieren */
.trauer-slider {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.slide-inner {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
}

/* Pfeile */
.slider-arrow {
    font-size: 2.5rem;
}

.slider-arrow.left,
.slider-arrow.right {
    grid-column: 1;
    grid-row: 2;
}

.slider-arrow.left {
    justify-self: left;
    margin-right: 2rem;
    left: 0.5rem;
}

.slider-arrow.right {
    justify-self: right;
    margin-left: 2rem;
    right: 0.5rem;
}

/* Artikel-Box unter dem Bild */
.artikel-box {
    grid-row: 3;
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

/* Bild an Bildschirmbreite anpassen */
.slide-inner img {
    max-width: 90%;
    border-radius: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}



/* ======================
   MODAL
====================== */

  
.modal-product-image{
    width:100%;
    max-width:80px;
    display:block;
    margin:0.5rem 1rem 0.5rem 1rem;
    border-radius:6px;
}

.spruch{
    display: none;
}



}