/* ============================================
   Sue-Kreativ - Stylesheet
   ============================================ */

/* Reset und Basis */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*outline: 1px solid red;*/
}

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


:root {
    --color-red: #e4301e;
    --color-red-hover: #e4301e;
    --color-dark-gray: #1a1a1a;
    --color-mid-gray: #4d4d4d;
    --color-white: #ffffff;
    --color-black: #000000;
    --font-main: 'Noto Sans', sans-serif;
    --frame-offset: 3%;
}

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


html, body {
    height: 100%;
    margin: 0;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-white);
}

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


body {
    background: linear-gradient(to bottom, var(--color-dark-gray) -20%, var(--color-mid-gray) 80%);
    height: 100vh;
    overflow: hidden;
}

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


/* =====================
   Links
===================== */

a {
    text-decoration: none;
    color: var(--color-white);
}

a:focus, a:active {
    color: var(--color-white);
}

a:hover {
    color: var(--color-red);
    -webkit-text-stroke-color: white;
    -webkit-text-stroke-width: 1px;
    text-shadow: none;
}

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

/* =====================
   Frame Container
===================== */

.frame-container {
    min-height: 100%;
    padding: var(--frame-offset);
}

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


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

.red-frame {
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    min-height: calc(90vh - (2 * var(--frame-offset)));
    border: 4px solid black;
    border-radius: 10vw 1.5vw 1.5vw 1.5vw;
    position: relative;
    padding: 0rem 0rem 0rem 0rem;
    box-shadow:
        /* Innerer schwarzer Schatten */
        inset 0 0 30px 10px rgba(28, 28, 28, 0.5),
        /* inset 0 0 60px 20px rgba(0, 0, 0, 0.4), */
        /* Äußerer weißer Nebel */
        0 0 40px 15px rgba(255, 255, 255, 0.15),
        0 0 80px 30px rgba(255, 255, 255, 0.08),
        0 0 120px 50px rgba(255, 255, 255, 0.04);
}

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

/*Damit liegt der Content über dem Bild*/
.red-frame>* {
    position: relative;
    z-index: 1;
}

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


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

.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    /* Logo links, Nav rechts */
    align-items: flex-start;
    width: 100%;
    padding: 0.5rem 2rem;
    padding-bottom: 0;
}

/*Dadurch bleibt der Footer unten*/
.site-main {
    flex: 1;
    margin-top: 2rem;
}

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


/* =====================
   Footer
===================== */

.main-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;

    font-size: clamp(0.75rem, 1.2vw, 1rem);
    font-weight: 400;
    color: var(--text-color);
}

/* Links */
.footer-link {
    display: flex;
    align-items: center;
    gap: .3rem;
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-red);
}

/* Punkte + Links */
.item {
    display: flex;
    align-items: center;
    gap: .4rem;
}

/* Punkt */
.dot {
    width: 6px;
    height: 6px;
    background: red;
    border-radius: 50%;
}

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


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

.logo-container {
    position: relative;
    margin-left: .5rem;
}

.logo {
    width: 14vw;
    height: auto;
    animation: pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(196, 30, 58, 0.5));
}

.logo-klein {
    width: clamp(14px, 1.6vw, 22px);
    height: auto;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

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


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

.main-nav {
    display: flex;
    align-items: center;
    text-shadow: 0 0 5px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 1);

    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
    transition: .5s;
    margin: 2rem 0 0 0;
}

/* Menü rechts */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2vw;
    flex-direction: row;
}

nav a {
    font-size: 3.5vh;
    color: black;
    text-shadow: 0 0 5px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 1);

    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
    transition: .5s;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-red);
    transition: width 0.4s ease 0.1s;
}

.nav-link:hover {
    color: var(--color-red);
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 40px rgba(255, 255, 255, 0.7),
        0 0 60px rgba(255, 255, 255, 0.5),
        0 0 80px rgba(255, 255, 255, 0.3);
}

.nav-link:hover::after {
    width: 100%;
}

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


/* =======================
   Hamburger (Standard: Desktop aus)
======================= */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: var(--color-red);
    border-radius: 3px;
    transition: 0.3s;
}

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


/* =====================
   Überschriften
===================== */

.ueberschrift_rot {
    color: red;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ueberschrift_weiss {
    color: white;
    margin-top: 1rem;
}

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


/* =====================
   Hauptinhalt
===================== */

::-webkit-scrollbar {
    width: 2px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: red;
    border-radius: 8px;
}

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

.content_impressum {
    margin: 3rem 1rem 1rem 6.7rem;
    /* oben | rechts | unten | links */
    flex: 1;
    /* nimmt restliche Höhe ein */
    overflow-y: auto;
    /* Scrollbalken wenn nötig */
    overflow-x: hidden;
}

.content_leistungen {
    margin: 3rem 1rem 1rem 6.7rem;
    /* oben | rechts | unten | links */
    flex: 1;
    /* nimmt restliche Höhe ein */
    overflow-y: auto;
    /* Scrollbalken wenn nötig */
    overflow-x: hidden;
}

.content_kontakt {
    margin: 0rem 2rem 1rem 15rem;
    /* oben | rechts | unten | links */
    flex: 1;
    /* nimmt restliche Höhe ein */
    overflow-y: auto;
    /* Scrollbalken wenn nötig */
    overflow-x: hidden;
}

.content_muster {
    margin: 1rem 2rem 1rem 8rem;
    /* oben | rechts | unten | links */
    flex: 1;
    /* nimmt restliche Höhe ein */
    overflow-y: hidden;
    /* Scrollbalken wenn nötig */
    overflow-x: hidden;
}

.spruch {
    position: absolute;
    top: 8rem;
    /* Abstand unter Header */
    right: 2rem;
    /* Abstand vom rechten Rand */
    width: 14rem;
    padding: 1.2rem;

    background-color: rgba(234, 232, 232, 0.4);
    color: black;
    font-size: 1rem;
    line-height: 1.5;

    border-radius: 4vh 1vh 1vh 1vh;
    backdrop-filter: blur(3px);
}

.main-title {
    color: var(--color-red);
    margin-bottom: 3vh;
}

.title-line {
    display: block;
    /*nimmt volle Breite ein, beginnt neue Zeile*/
    font-size: 2rem;
    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.5rem;
    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.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.quote_text_red {
    color: var(--color-red);
    font-style: italic;
    font-size: clamp(0.9rem, 1.8vw, 1.8rem);
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    font-weight: 600;
}

.hero-section {
    width: 100%;
    overflow-y: auto;
    /* nur vertikaler Scroll, wenn nötig */
    overflow-x: hidden;
    /* kein horizontaler Scroll */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* oben beginnen, scrollt bei Bedarf */
    align-items: center;
    text-align: left;
}

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


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

/*
.menupunkt {
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 1rem;
    bottom: 7rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    z-index: 100;
}

.menupunkt .mp_haupt {
    color: var(--color-red);
    font-size: 2rem;
    font-weight: 400;
    text-shadow:
        1px 1px 2px black,
        0 0 1rem #fff,
        0 0 4rem #fff,
        0 0 6rem #fff,
        0 0 10rem #fff;
}*/

.menupunkt {

    position: absolute;
    display: flex;
    flex-direction: column;
    /* untereinander */
    left: 1rem;
    bottom: 7rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    z-index: 100;
}

.mp_haupt {
    color: var(--color-red);
    font-size: 2rem;
    font-weight: 400;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.6),
        0 0 0.4rem #ffffff,
        0 0 1rem #f2f2f3,
        0 0 2rem hsl(0, 0%, 91%),
        0 0 3rem #eceeef;
}


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

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

/* =====================
   LEISTUNGEN
===================== */

.grid_leistungen {
    display: grid;
    gap: 5rem;
    grid-template-columns: 1fr 1fr;
}

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

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


/* =====================
    DATENSCHUTZ
===================== */

.grid_datenschutz {
    display: grid;
    grid-template-columns: 1fr;
}

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



/* =========================
   Traueranzeigen Slider
========================= */

.trauer-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: 100%;
}

.slider-arrow.hidden {
    visibility: hidden;
}

/* Slides */
.slide {
    display: none;
}

.slide.active {
    display: block;
}

.artikel-tabelle {
    /*background: rgba(51, 51, 51, 0.8);*/
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    overflow: hidden;
    /*border: 2px solid #666;*/
    padding: 2.5vh;
    width: 20rem;
    /* Basisbreite */
    max-width: 90%;
    /* Nicht breiter als Bildschirm minus Rand */
    min-width: 8rem;
    /* Minimalbreite, um Inhalte nicht zu quetschen */
    margin: 0 auto;
    /* Zentrieren auf Seite */
    box-sizing: border-box;
    /* Padding wird zur Breite dazugerechnet */
    margin-top: .8rem;

}

/* Responsiv für kleine Bildschirme */
@media (max-width: 600px) {
    .table-class {
        width: 90%;
        /* fast volle Breite */
        font-size: 0.8rem;
        /* Schrift etwas kleiner */
        padding: 1.5vh;
        /* weniger Padding */
    }
}

.artikel-tabelle th,
.artikel-tabelle td {
    padding: 0.2rem 0.4rem;
    text-align: left;
    vertical-align: top;
}

td, th {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

/* rechte Außenlinie entfernen */
td:last-child,
th:last-child {
    border-right: none;
}

/* untere Außenlinie entfernen */
tr:last-child td,
tr:last-child th {
    border-bottom: none;
}

/*Anfragebutton */
.buy-btn {
    display: block;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-left: 3rem;
    height: 5.7vh;
    background: rgba(51, 51, 51, 0.8);
    border-radius: .8vh .8vh .8vh .6vh;
    border: 0.1rem solid red;
    cursor: pointer;
    padding: 0.7vh;
    padding-right: 1rem;
    padding-left: 1rem;
    box-shadow:
        1px 1px 2px black,
        0 0 0.6rem #f5f3f3,
        0 0 0.2rem #f5f3f3;

}

/*Anfragebutton hover*/
.buy-btn:hover {
    background: #666;
    border: 2px solid white;
    color: red;
}

.artikel-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Button zentriert unter Tabelle */
    align-self: flex-start;
    width: 17rem;
    margin-top: 2rem;
}

.artikel-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Button zentriert unter Tabelle */
    align-self: flex-start;
    width: 19rem;
    border-radius: 1vh 1vh 1vh 1vh;
    box-shadow:
        1px 1px 2px black,
        0 0 1em #f5f3f3,
        0 0 0.2em #f5f3f3;
    padding-top: .5rem;
}


/* Pfeile standard */
.slider-arrow {
    background: none;
    border: none;
    color: var(--color-red);
    font-size: 3rem;
    cursor: pointer;
    opacity: 1;
    /* Standard voll sichtbar */
    transition: opacity 0.3s;
    text-shadow:
        2px 2px 3px black,
        2px 2px 1rem #f5f3f3,
        0px 0px 1rem #f5f3f3;

}

/* deaktiviert/transparent */
.slider-arrow.disabled {
    opacity: 0.3;
    cursor: default;
}

/* ================= DESKTOP ================= */


/* Pfeile neben dem Bild positionieren */
.slider-controls {
    display: contents;
    /* Container verschwindet visuell */
}

/* ======================
   DESKTOP GRID VERSION
====================== */

.slide-inner {
    display: grid;
    grid-template-columns: auto auto auto 1fr;
    align-items: start;
    gap: 2rem;
}

/* Pfeile */
.slider-arrow {
    background: none;
    border: none;
    color: var(--color-red);
    font-size: 3rem;
    cursor: pointer;
    align-self: flex-end;
}

/* Bild */
.slide-inner img {
    max-width: 580px;
    width: 100%;
    height: auto;
    align-self: center;
}


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

.modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.7);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index: 9999;
    opacity:0;
    pointer-events:none;
    transition:0.3s;
}

.modal.show{
    opacity:1;
    pointer-events:auto;
}

.modal-content{
    position: relative;
    background:#222;
    padding: 0.8rem 1.5rem 0.8rem 1.5rem;
    width:500px;
    border-radius: 0.8rem;
    border: 3px solid red;

    
}
.modal input,
.modal textarea{
    width:100%;
    margin:0.5rem 0;
    padding:0.3rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
    background: transparent;
    border-radius: 1vh;
    border: 0.1rem solid rgba(51, 51, 51, 0.8);
    font-size: 2.7vh;
    color: white;
    box-shadow:
        1px 1px 2px black,
        0 0 0.6rem #f5f3f3,
        0 0 0.2rem #f5f3f3;
}

.close{
    position:absolute;
    top:10px;
    right:15px;
    font-size:1.8rem;
    cursor:pointer;
}

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

.modal_produkt{
    display: flex;
    position: relative;
    align-items: center;
    /* Button zentriert unter Tabelle */
    align-self: flex-start;
    border-radius: 1vh 1vh 1vh 1vh;
    box-shadow:
        1px 1px 2px black,
        0 0 1em #f5f3f3,
        0 0 0.2em #f5f3f3;
    padding-top: .2rem;
    margin-top: 0.8rem;
}

.btn {
    display: block;
    text-align: center;
    margin: auto; 
    width: 50%;
    color: white;
    height: 5.7vh;
    background: rgba(51, 51, 51, 0.8);
    border-radius: .8vh .8vh .8vh .6vh;
    border: 0.1rem solid red;
    cursor: pointer;
    font-size: 1.2rem;
}

.btn:hover {
    background: #666;
    border: 2px solid white;
    color: red;}
