/* ============================================
   Sue-Kreativ Trauer- 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-light-gray: #f6f3f3;
    --color-mid-gray: #4d4d4d;
    --color-middle-gray: #b3b3b3;
    --color-white: #ffffff;
    --color-black: #000000;
    --font-main: 'Noto Sans', sans-serif;
    --frame-offset: 3%;

    /* Grundfarben */
    --color-red: #e4301e;

    /* THEME – Standard (Light Mode) */
    --bg-gradient-start: #1a1a1a;
    --bg-gradient-end: #4d4d4d;

    --text-color: white;
    --link-color: white;
    --link-hover: var(--color-red);

    --footer-text: #000000;

    /* Wash-Overlay über dem Hintergrund-Gradient (body-background) */
    --overlay-color: rgba(255, 255, 255, 0.95);

}

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


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

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


body {
    background:
        linear-gradient(
            to bottom,
            var(--bg-gradient-start) -20%,
            var(--bg-gradient-end) 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: 90vh;
    display: flex;
    flex-direction: column;
    min-height: calc(90vh - (2 * var(--frame-offset)));
    border: 6px solid black;
    border-radius: 10vw 1.5vw 1.5vw 1.5vw;
    position: relative;
    padding: 0rem 0rem 0rem 0rem;
    box-shadow:
        0 0 40px 15px rgba(255, 255, 255, 0.08);
}

.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;
    pointer-events: none;
}

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

/* Setting-Button im Footer soll wie ein normaler Footer-Link aussehen,
   nicht wie ein Browser-Button */
button.footer-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
}
/*====================================*/


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

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

.logo {
    width: 14vw;
    height: auto;
    animation: pulse 3s ease-in-out infinite;
}

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

h1 {
    color: var(--color-red);
    font-style: italic;
    font-size: 2rem;
    text-shadow:
        0 0 20px rgba(196, 30, 58, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    line-height: 1.3;
    display: inline;
    pointer-events: none;
    user-select: none;
}

h2 {
    color: var(--text-color);
    display: inline;
    font-size: 1.4rem;
    margin-bottom: 4vh;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

h3 {
    color: var(--color-red);
    display: inline;
    font-style: italic;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
}

h4 {
    color: var(--text-color);
    display: inline;
    font-style: italic;
    font-size: 1.4rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
    font-weight: 300;
}

h5 {
    color: var(--color-red);
    display: inline;
    font-style: italic;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
}

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

h1 {
    color: var(--color-red);
    font-style: italic;
    font-size: 2rem;
    line-height: 2.5;
    text-shadow:
        0 0 20px rgba(196, 30, 58, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
}

h2 {
    color: var(--text-color);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 4vh;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

h3 {
    color: var(--color-red);
    display: inline;
    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;
    pointer-events: none;
    user-select: none;
}

h4 {
    color: var(--text-color);
    display: inline;
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
    font-weight: 300;
}

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


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

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


/* =================================
   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 Angebot anfragen
====================== */

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

/* ==============================
   BILD MODAL + ZOOM
============================== */

.produktbild{
    cursor: zoom-in;
    height: 500px;
}

.bild-modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    pointer-events:none;
    transition:0.3s;

    z-index:10000;
}

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

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

.bild-container{
    overflow:hidden;
}

#bildZoom{
    max-width:90vw;
    max-height:90vh;
    transition: transform 0.15s ease;
    transform: scale(1);
}

.bild-container:hover #bildZoom{
    transform: scale(1.6);
}

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

.bild-wrapper{
text-align:center;
}

.thumbs{
display:flex;
justify-content:center;
gap:10px;
margin-top:15px;
}

.thumbs img{
/*width:80px;*/
height: 120px;
cursor:pointer;
border:2px solid transparent;
transition:0.2s;
}

.thumbs img:hover{
border:2px solid white;
}

.bild-container{
overflow:hidden;
}

#bildZoom{
max-width:85vw;
max-height:80vh;
transition:transform 0.15s;
transform-origin:center center;
cursor:zoom-in;
}

.bild-text{
margin-top:10px;
font-size:1.2rem;
color: red;
text-align:center;
}



/* ==============================
   TRAUERANZEIGEN – LISTENANSICHT
============================== */

.content-produktliste {
    /* Gleiche Ausgangsposition wie der Inhalt auf /trauer/index.php */
    margin: 2rem 2rem 1rem 10rem;

    /* Breite wächst mit dem Bildschirm mit, bleibt aber begrenzt lesbar */
    width: calc(100% - 12rem);
    max-width: min(96rem, calc(100% - 12rem));

    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1rem;
}

.produkt-einleitung {
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
    padding: 1rem 1.2rem;
    color: var(--color-white);
    font-size: clamp(0.95rem, 1.15vw, 1.15rem);
    line-height: 1.6;
    background: rgba(34, 34, 34, 0.55);
    border-radius: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
}

.produkt-einleitung p + p {
    margin-top: 0.8rem;
}

.produkt-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

/* Desktop: feste 4-Spalten-Liste, immer sichtbar ab 1025px */
.produkt-grid.content-desktop {
    grid-template-columns: repeat(4, 1fr);
}

/* Mobil: eigene Listenansicht, auf Desktop ausgeblendet
   (wird erst in skt_style_responsive.css eingeblendet) */
.produkt-grid.content-mobile {
    display: none;
}

.produkt-card {
    min-width: 0;
    text-align: center;
}

.produkt-vorschau-button {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: rgba(34, 34, 34, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1.2rem 0.35rem 0.35rem 0.35rem;
    cursor: pointer;
    box-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.75),
        0 0 0.65rem rgba(255, 255, 255, 0.45);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.produkt-vorschau-button:hover,
.produkt-vorschau-button:focus-visible {
    transform: translateY(-2px);
    border-color: var(--color-red);
    box-shadow:
        1px 2px 5px rgba(0, 0, 0, 0.8),
        0 0 0.9rem rgba(228, 48, 30, 0.55);
    outline: none;
}

.produkt-vorschau {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.16);
}

.produktnummer {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    line-height: 1.2;
    color: var(--color-white);
    letter-spacing: 0.04em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.keine-produkte {
    padding: 1rem;
}

/* ==============================
   PRODUKTDETAIL-MODAL
============================== */

.produktdetail-modal {
    z-index: 9999;
}

.produktdetail-content {
    position: relative;
    width: min(1000px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.25rem 1.5rem 1.5rem;
    background: #222;
    border: 3px solid var(--color-red);
    border-radius: 1rem;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.8);
}

.produktdetail-close {
    position: absolute;
    top: 0.45rem;
    right: 0.8rem;
    z-index: 2;
    border: 0;
    background: transparent;
    color: var(--color-white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.produktdetail-close:hover,
.produktdetail-close:focus-visible {
    color: var(--color-red);
    outline: none;
}

.produktdetail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
}

.produktdetail-bildbereich {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    padding: 0.75rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
}

.produktdetail-bild {
    display: block;
    max-width: 100%;
    max-height: 68vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.produktdetail-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

.produktdetail-ueberschrift {
    margin-bottom: 0.5rem;
    text-align: center;
}

.produktdetail-tabelle {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1rem;
    overflow-wrap: anywhere;
    border-radius: 0.75rem;
    box-shadow:
        1px 1px 2px black,
        0 0 0.75rem rgba(245, 243, 243, 0.65);
}

.produktdetail-aktionen {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Beide Buttons im Produktdetail-Modal identisch */
.produktdetail-info .produktdetail-aktionen .buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 1 1 12rem;
    width: auto;
    min-width: 12rem;
    min-height: 48px;
    height: auto;

    margin: 0;
    padding: 0.7rem 1.2rem;

    box-sizing: border-box;
    border: 0.1rem solid red;
    border-radius: 0.8vh 0.8vh 0.8vh 0.6vh;

    background: rgba(51, 51, 51, 0.8);
    color: white;

    font-family: inherit;
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;

    cursor: pointer;

    box-shadow:
        1px 1px 2px black,
        0 0 0.6rem #f5f3f3,
        0 0 0.2rem #f5f3f3;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

/* Identischer Hover- und Tastaturfokus */
.produktdetail-info .produktdetail-aktionen .buy-btn:hover,
.produktdetail-info .produktdetail-aktionen .buy-btn:focus-visible {
    background: #666;
    color: red;
    border: 2px solid white;
    text-decoration: none;
    outline: none;
}
.produktdetail-editor-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.close {
    border: 0;
    background: transparent;
    color: var(--color-white);
    line-height: 1;
}

.close:hover,
.close:focus-visible {
    color: var(--color-red);
    outline: none;
}

/* Beide Modal-Buttons in allen Zuständen identisch */
.produktdetail-aktionen button.buy-btn,
.produktdetail-aktionen a.buy-btn,
.produktdetail-aktionen a.buy-btn:link,
.produktdetail-aktionen a.buy-btn:visited {
    background: rgba(51, 51, 51, 0.8) !important;
    color: white !important;
    border: 0.1rem solid red !important;
    text-decoration: none !important;
}

/* Hover bei beiden identisch */
.produktdetail-aktionen button.buy-btn:hover,
.produktdetail-aktionen a.buy-btn:hover {
    background: #666 !important;
    color: red !important;
    border: 2px solid white !important;
    text-decoration: none !important;
}

/* Fokus und Klick ebenfalls identisch */
.produktdetail-aktionen button.buy-btn:focus,
.produktdetail-aktionen button.buy-btn:focus-visible,
.produktdetail-aktionen button.buy-btn:active,
.produktdetail-aktionen a.buy-btn:focus,
.produktdetail-aktionen a.buy-btn:focus-visible,
.produktdetail-aktionen a.buy-btn:active {
    background: #666 !important;
    color: red !important;
    border: 2px solid white !important;
    text-decoration: none !important;
    outline: none !important;
}

*,
header,
nav,
.site-header,
.header-inner,
.main-nav,
.nav-menu,
.nav-link {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/*=====================
ÜBERSCHRIFT in Schreibmaschine
===================== */

.sk-letter {
    -webkit-text-stroke-width: 0px;
    -webkit-text-stroke-color: transparent;
    font-size: 1em;
    animation: sk-outline-cycle 6s ease-in-out infinite;
}

.sk-letter.sk-typing {
    animation-play-state: paused;
    color: var(--color-white);
    -webkit-text-stroke-width: 0.4px;
    -webkit-text-stroke-color: var(--color-white);
    font-size: calc(1em + 0.5pt);
    transition: color 0.12s ease, -webkit-text-stroke-width 0.12s ease, font-size 0.12s ease;
}

@keyframes sk-outline-cycle {
    0%, 100% {
        -webkit-text-stroke-width: 0px;
        -webkit-text-stroke-color: transparent;
        font-size: 1em;
    }
    50% {
        -webkit-text-stroke-width: 0.4px;
        -webkit-text-stroke-color: var(--color-white);
        font-size: calc(1em + 0.5pt);
    }
}
/*====================================*/