html
{
    scroll-behavior: smooth;
}

/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* BODY */
body {
    font-family: Georgia, serif;
    background-color: #22201e;
    color: #e6e0d8;
}

a {

    color: #e3d3a2;
    text-decoration: none;
    position: relative;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover,
a:focus,
a:active {
    color: #f2c97d;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85),
        0 0 6px rgba(242,201,125,0.35),
        0 0 10px rgba(242,201,125,0.25);
}

/* PAGE WRAPPER */
.page-wrapper {
    width: 1024px;
    margin: 0 auto;
    background: url("../images/content_bg.png") repeat-y center top;
    box-shadow: 0 0 40px rgba(0,0,0,0.85);
}

/* =========================
   FIXED HEADER
   ========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1024px;
    height: 160px;
    z-index: 1000;
}

.header-inner {
    position: relative;
    height: 100%;
}

.header-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* klickbarer Bereich über der Hintergrundgrafik / Header */
.logo-link {
    position: absolute;
    top: 20;
    left: 220;

    width: 540px;   /* exakt Größe des Logos */
    height: 120px;

    z-index: 10;

    display: block;
}



/* SHADOW INTO CONTENT */
.header-shadow {
    position: fixed;
    top: 160px;
    left: 50%;
    transform: translateX(-50%);
    width: 1024px;
    height: 70px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0)
    );
    pointer-events: none;
    z-index: 900;
}

/* PHYSICAL SPACER */
.header-spacer {
    height: 160px;
    pointer-events: none;
}

/* =========================
   NAVIGATION
   ========================= */

.main-nav {
    position: absolute;
    bottom: 20px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 28px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: bold;
    font-size: 1.25rem;
}

.main-nav a {
    color: #e3d3a2;
    text-decoration: none;
    position: relative;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a:active {
    color: #f2c97d;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85),
        0 0 6px rgba(242,201,125,0.35),
        0 0 10px rgba(242,201,125,0.25);
}

/* =========================
   DROPDOWN
   ========================= */

.nav-item {
    position: relative;
}

.has-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: none;
    min-width: 220px;
    background: rgba(18,16,14,0.96);
    border: 1px solid #000;
    padding: 6px 0;
}

.dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 1rem;
    color: #e0c48a;
    text-decoration: none;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.95),
        0 4px 8px rgba(0,0,0,0.85);
}

.dropdown a:hover {
    color: #f2c97d;
    background: rgba(255,200,120,0.08);
}

.has-dropdown:hover .dropdown {
    display: block;
}

/* =========================
   SEARCH
   ========================= */

@keyframes searchPulse {
    0% {
        box-shadow:
            0 0 6px rgba(242,201,125,0.25),
            0 0 12px rgba(0,0,0,0.8);
    }
    50% {
        box-shadow:
            0 0 14px rgba(242,201,125,0.6),
            0 0 22px rgba(242,201,125,0.35),
            0 0 18px rgba(0,0,0,0.9);
    }
    100% {
        box-shadow:
            0 0 6px rgba(242,201,125,0.25),
            0 0 12px rgba(0,0,0,0.8);
    }
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
}

#search-toggle {
    display: none;
}

.search-icon img {
    width: 28px;
    cursor: pointer;
    transition: transform 0.28s ease, filter 0.35s ease;
}

.search-icon img:hover {
    transform: scale(1.3);
    filter: brightness(1.8);
}

.search-input {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    padding: 6px 10px;
    background: rgba(20,18,16,0.95);
    border: 2px solid #c98a3a;
    color: #f2c97d;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    pointer-events: none;
    box-shadow: 0 6px 14px rgba(0,0,0,0.85);
    transition: width 0.4s ease, opacity 0.3s ease, border-color 0.3s ease;
    color: #2b1c12;
    background: url("../images/input_bg.png") right center no-repeat;
    background-size: cover;
    border: 1px solid #8f5a2c;
    outline: none;
}

#search-toggle:checked ~ .search-input {
    width: 180px;
    opacity: 1;
    pointer-events: auto;
}

.search-input:focus {
    outline: none;
    border-color: #f2c97d;
    animation: searchPulse 2.2s ease-in-out infinite;
}

/* =========================
   SOCIAL ICONS
   ========================= */

.header-icons {
    position: absolute;
    top: 16px;
    right: 24px;
    display: flex;
    gap: 12px;
}

.icon-link img {
    width: 36px;
    transition: transform 0.28s ease, filter 0.35s ease;
}

.icon-link img:hover {
    transform: scale(1.3);
    filter: brightness(1.8);
}

/* =========================
   CONTENT
   ========================= */

.site-content {
    padding: 48px 64px 48px;
}

/* =========================
   BREADCRUMB
   ========================= */

.breadcrumb {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: -2px;
    padding-top: 0px;
    padding-left: 2px;
    color: #b9a06a;
}

.breadcrumb a {
    color: #d8c08a;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #f2c97d;
    text-decoration: underline;
}

.breadcrumb-separator {
font-weight: bold;
    margin: 0 6px;
    color: #8f7a4a;
}

.breadcrumb-current {
    color: #f2c97d;
}

/* =========================
   MASTERBLOCK (EDITORIAL)
   ========================= */

.masterblock {
    position: relative;
    margin-bottom: 64px;
}

.masterblock-inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 48px 48px 56px;
    background: rgba(20,18,16,0.50);
    box-shadow:
        inset 0 0 0 1px rgba(119, 61, 32, 0.65),
        0 20px 40px rgba(0,0,0,0.85);
}

.masterblock-text {
padding-right: 350px; 
}

.masterblock h1 {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 2.6rem;
    font-weight: bold;
    letter-spacing: 0.02em;
    color: #f2c97d;
    margin-bottom: 18px;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}

.masterblock-intro {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.60;
    margin-bottom: 28px;
    color: #e6e0d8;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}

.masterblock-actions {
    display: flex;
    gap: 24px;
}

.masterblock-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 44px;
    padding: 2px 28px 0;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    color: #f2c97d;
    text-decoration: none;
    background: url("../images/button3.png") center center no-repeat;
    background-size: 100% 100%;
    text-shadow: 0 1px 2px rgba(0,0,0,0.9);
    transition: filter 0.25s ease;
}

.masterblock-button:hover {
    filter: brightness(1.70);
}

.masterblock-button:active {
    filter: brightness(1.2);
}

/* FIGURE – FIXED POSITIONING */
.masterblock-figure {
    position: absolute;
    right: 0;
    bottom: 2px ;
    pointer-events: none;
}

.masterblock-figure img {
    max-width: 100%;
    max-height: 300px;
    display: block;
    position: relative;
    z-index: 200;
}

/* Decorative Corner */
.masterblock-corner {
    position: absolute;
    right: -14px;
    bottom: -19px;
    width: 180px;
    height: 180px;
    background: url("../images/boxcorner.png") no-repeat right bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 100;
}

/* =========================
   SECTION DIVIDER (FINAL)
   ========================= */

.section-divider {
    position: relative;
    width: 66%;
    height: 3px;
    margin: 56px auto;
    background: radial-gradient(
        ellipse at center,
        rgba(255,220,150,0.85) 0%,
        rgba(255,210,135,0.55) 16%,
        rgba(242,201,125,0.30) 32%,
        rgba(242,201,125,0.0) 65%
    );
}

.section-divider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(242,201,125,0),
        rgba(242,201,125,0.55),
        rgba(242,201,125,0)
    );
}

.section-divider::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0,0,0,0.95);
    box-shadow:
        0 10px 18px rgba(0,0,0,0.95),
        0 20px 36px rgba(0,0,0,0.8);
}

/* =========================
   FOOTER (FINAL)
   ========================= */

.site-footer {
    height: 50px;
    width: 100%;
    background: url("../images/footer.png") repeat-x center center;
    background-size: auto 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.footer-text {
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    flex: 1;
    text-align: center;
    color: #e3d3a2;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.9),
        0 4px 8px rgba(0,0,0,0.7);
}

.footer-icon img {
    width: 36px;
    transition: transform 0.28s ease, filter 0.35s ease;
}

.footer-icon img:hover {
    transform: scale(1.5);
    filter: brightness(1.8);
}


/* =========================
   TUTORIAL PREVIEW GRID
   ========================= */

.tutorials-preview {
    margin-top: 10px;
}

.tutorials-title {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 2rem;
    margin-bottom: 32px;
    color: #f2c97d;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9);
}

.tutorial-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* IMAGE */

.tutorial-card-image {
    height: 180px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 1px;
}

/* untere Trennlinie wie Außenrahmen */
.tutorial-card-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(119, 61, 32, 0.65); /* exakt wie Box-Rahmen */
    pointer-events: none;
    z-index: 3;
}

.tutorial-card-image img {
    height: 100%;
    width: auto;
    max-width: 100%;
    display: block;
}



/* CONTENT */

.tutorial-card-content {
    padding: 16px 18px 0;
    height: 170px;
    overflow: hidden;
    position: relative;
    z-index: 2;
        font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.60;
    margin-bottom: 28px;
    color: #e6e0d8;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}

.tutorial-card-content h3 {
    font-size: 1.2rem;
 font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: bold;
    letter-spacing: 0.02em;
    color: #f2c97d;
    margin-bottom: 6px;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}

.tutorial-date {
    display: block;
    font-size: 0.8rem;
 font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: bold;
    letter-spacing: 0.02em;
    color: #f2c97d;
    margin-bottom: 4px;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
        margin-bottom: 10px;
}

.tutorial-card-content p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* FOOTER */

.tutorial-card-footer {
    position: absolute;
    bottom: 10px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.tutorial-card-icons {
    display: flex;
    gap: 10px;
}

.tutorial-icon-item img
{
    width: 40px;

    background: transparent !important;

    border: none !important;

    box-shadow: none !important;

    transition: transform 0.28s ease, filter 0.35s ease;
}


.tutorial-icon-item img:hover {
    transform: scale(1.3);
    filter: brightness(1.8);
}


.tutorial-readmore {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: bold;
    font-size: 1.0rem;
    color: #f2c97d;
    text-decoration: none;
    margin-right: 15px;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.tutorial-readmore:hover {
    color: #f2c97d;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85),
        0 0 6px rgba(242,201,125,0.35),
        0 0 10px rgba(242,201,125,0.25);
}

.tutorial-icon-item {
    display: flex;
    align-items: center;   /* vertikal perfekt mittig */
    gap: 6px;
}

.tutorial-icon-count {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 0.60rem;
    font-weight: bold;
    color: #f2c97d;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9);
    line-height: 1;
}


/* CORNER */

.tutorial-card-corner {
    position: absolute;
    right: -12px;
    bottom: -15px;
    width: 160px;
    height: 160px;
    background: url("../images/boxcorner.png") no-repeat right bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

/* CARD */

.tutorial-card {
    position: relative;
    height: 420px;
    background: rgba(20,18,16,0.55);
    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.65),
        0 16px 32px rgba(0,0,0,0.85);
    overflow: hidden;

    /* NEU */
    transition:
        transform 0.6s ease,
        box-shadow 0.6s ease;
}

/* HOVER – GESAMTE CARD */

.tutorial-card:hover {
    transform: scale(1.025);
    box-shadow:
        inset 0 0 0 1px rgba(242,201,125,0.9),
        0 0 18px rgba(242,201,125,0.35),
        0 20px 40px rgba(0,0,0,0.95);
}

/* =========================
   NEWSLETTER
   ========================= */

.newsletter-block {
    position: relative;
    margin: 64px 0;
    padding: 48px 48px 56px;
    background: rgba(20,18,16,0.55);
    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.65),
        0 20px 40px rgba(0,0,0,0.85);
    text-align: center;
    overflow: hidden;
}

/* TITLE */

.newsletter-title {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 2rem;
    color: #f2c97d;
    margin-bottom: 14px;
    text-shadow:
    0 4px 6px rgba(0,0,0,1),
    0 10px 10px rgba(0,0,0,0.95);
}

/* TEXT */

.newsletter-text {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #e6e0d8;
    margin-bottom: 32px;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}

.newsletter-archive-link {
 		font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #e6e0d8;
    margin-bottom: 32px;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}

.newsletter-archive-link a {
    color: #e3d3a2;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.newsletter-archive-link a:hover,
a:focus,
a:active {
    color: #f2c97d;
    font-weight: bold;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85),
        0 0 6px rgba(242,201,125,0.35),
        0 0 10px rgba(242,201,125,0.25);
}

/* FORM */

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* INPUT ROW */

.newsletter-input-row {
    display: flex;
    gap: 14px;
}

/* INPUT */

.newsletter-input {
    width: 440px;
    height: 48px;
    padding: 0 16px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 0.95rem;
    color: #2b1c12;
    background: url("../images/input_bg.png") center center no-repeat;
    background-size: cover;
    border: 1px solid #8f5a2c;
    outline: none;
}

.newsletter-input::placeholder {
    color: #5a3b22;
}

/* BUTTON */

.newsletter-button {
    height: 48px;
    padding: 0 22px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    color: #f2c97d;
    background: rgba(120,45,15,0.9);
    border: 1px solid #c98a3a;
    cursor: pointer;
    text-shadow:
        0 1px 2px rgba(0,0,0,0.9);
    transition: filter 0.25s ease;
}

.newsletter-button:hover {
    filter: brightness(1.3);
}

/* CHECKBOX */

.newsletter-options {
    margin-top: 6px;
}

.newsletter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 0.75rem;
    color: #e3d3a2;
    cursor: pointer;
    user-select: none;
}

.newsletter-checkbox input {
    display: none;
}

.checkbox-custom {
    width: 14px;
    height: 14px;
    border: 1px solid #c98a3a;
    background: rgba(20,18,16,0.9);
    box-shadow: inset 0 0 4px rgba(0,0,0,0.8);
}

.newsletter-checkbox input:checked + .checkbox-custom {
    background:
        radial-gradient(
            ellipse at center,
            rgba(242,201,125,0.9) 0%,
            rgba(242,201,125,0.4) 60%,
            rgba(0,0,0,0) 100%
        );
}

/* =========================
   NEWSLETTER CORNER
   ========================= */

.newsletter-corner {
    position: absolute;
    right: -12px;
    bottom: -15px;
    width: 160px;
    height: 160px;
    background: url("../images/boxcorner.png") no-repeat right bottom;
    background-size: contain;
    pointer-events: none;
}

/* =========================
   KONTAKTFORMULAR
   ========================= */

.contact-block {
    position: relative;
    margin: 0px 0;
    padding: 48px 48px 56px;
    background: rgba(20,18,16,0.55);
    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.65),
        0 20px 40px rgba(0,0,0,0.85);
}

/* TITLE */

.contact-title {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 2.2rem;
    margin-bottom: 14px;
    color: #f2c97d;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9);
}

/* INTRO */

.contact-intro {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 32px;
    color: #e6e0d8;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9);
}

/* FORM */

.contact-form {
    max-width: 520px;
}

/* ROWS */

.contact-row {
    margin-bottom: 18px;
}

/* INPUT OVERRIDES */

.contact-input {
    width: 100%;
}

/* TEXTAREA */

.contact-textarea {
    width: 100%;
    height: 140px;
    padding: 12px 16px;
    resize: vertical;
    line-height: 1.4;
}

/* ACTIONS */

.contact-actions {
    margin-top: 12px;
}

/* CORNER */

.contact-corner {
    position: absolute;
    right: -14px;
    bottom: -18px;
    width: 160px;
    height: 160px;
    background: url("../images/boxcorner.png") no-repeat right bottom;
    background-size: contain;
    pointer-events: none;
}

/* =========================
   TUTORIAL HERO BLOCK
   ========================= */

.tutorial-hero-block {
    margin-top: 18px;
}


/* =========================
   HERO FRAME
   ========================= */

.tutorial-hero-frame {

    position: relative;

    width: 100%;
    height: 420px;
    

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

    background:
        radial-gradient(
            ellipse at center,
            rgba(20,18,16,0) 58%,
            rgba(20,18,16,0.85) 100%
        ),
        url("../images/content_bg.png");

    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.65),
        0 20px 40px rgba(0,0,0,0.85);

    overflow: hidden;
}



/* HERO IMAGE */

.tutorial-hero-image-container {

    height: 100%;

    box-sizing: border-box;

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



.tutorial-hero-image {

    height: calc(100% - 6px);
    width: auto;

    display: block;

    box-shadow:
        0 12px 24px rgba(0,0,0,0.85);
}



/* HERO CORNER */

.tutorial-hero-corner {

    position: absolute;

    right: -12px;
    bottom: -16px;

    width: 160px;
    height: 160px;

    background: url("../images/boxcorner.png") no-repeat right bottom;
    background-size: contain;

    pointer-events: none;
}


/* =========================
   SUMMARY BLOCK
   ========================= */

.tutorial-summary-block {

    position: relative;

    margin-top: 18px;

    padding: 22px 26px;

    min-height: 130px;   /* WICHTIG: sorgt dafür, dass die Corner vollständig sichtbar ist */

    background: rgba(20,18,16,0.55);

    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.65),
        0 12px 24px rgba(0,0,0,0.65);
}


/* META */

.tutorial-summary-meta {

    display: flex;
    gap: 28px;

    margin-bottom: 12px;

    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 0.85rem;
}

.tutorial-meta-item {

    display: flex;
    gap: 6px;
}

.tutorial-meta-label {

    color: #c9b07a;
    font-weight: bold;
}

.tutorial-meta-value {

    color: #e6e0d8;
}


/* SUMMARY TEXT */

.tutorial-summary-text {

    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 0.95rem;

    line-height: 1.5;

    color: #e6e0d8;

    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9);
}


/* SUMMARY CORNER */

.tutorial-summary-corner {

    position: absolute;

    right: -12px;
    bottom: -18px;

    width: 160px;
    height: 160px;

    background: url("../images/boxcorner.png") no-repeat right bottom;
    background-size: contain;

    pointer-events: none;
}

/* =========================================================
   TUTORIAL DETAIL – BLOCK A
   Standard Abschnitt mit:
   - Titel
   - Beschreibung
   - Scrollbare Thumbnail-Leiste
   - Klick-Overlay mit großem Bild
   ========================================================= */


/* =========================================================
   BLOCK CONTAINER
   Wichtig: position relative = Referenz für Overlay
   ========================================================= */

.tutorial-block-a {

    position: relative;

    margin-top: 48px;

}


/* =========================================================
   TITEL
   ========================================================= */

.tutorial-block-a-title {

    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1.45rem;

    margin-bottom: 10px;

    color: #f2c97d;

    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9);

}


/* =========================================================
   TEXT
   ========================================================= */

.tutorial-block-a-text {

    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 0.95rem;

    line-height: 1.6;

    margin-bottom: 18px;

    color: #e6e0d8;

    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9);

}


/* =========================================================
   THUMBNAIL SCROLL CONTAINER
   ========================================================= */

.tutorial-block-a-gallery {

    position: relative;

}

.tutorial-block-a-gallery,
.tutorial-block-b .tutorial-block-a-gallery
{
    margin-top: 10px;
}



/* Scroll Track */

.tutorial-block-a-track {

    display: flex;

    gap: 16px;

    overflow-x: auto;

    padding-bottom: 12px;

}


/* Scrollbar Styling (identisch mit Galerie-System) */

.tutorial-block-a-track {
    scrollbar-width: thin;
    scrollbar-color: #c98a3a rgba(20,18,16,0.6);
}

.tutorial-block-a-track::-webkit-scrollbar {
    height: 10px;
}

.tutorial-block-a-track::-webkit-scrollbar-track {
    background: rgba(20,18,16,0.6);
}

.tutorial-block-a-track::-webkit-scrollbar-thumb {

    background: linear-gradient(
        to bottom,
        #c98a3a,
        #8f5a2c
    );

    border-radius: 6px;

    border: 1px solid rgba(0,0,0,0.6);

}


/* =========================================================
   THUMBNAIL BOX
   ========================================================= */

.tutorial-block-a-image {

    position: relative;

    flex: 0 0 auto;

    width: 200px;
    height: 130px;

    background: rgba(20,18,16,0.55);

    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.65),
        0 12px 24px rgba(0,0,0,0.85);

    overflow: hidden;

    cursor: zoom-in;

}


/* Thumbnail Image */

.tutorial-block-a-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

}


/* Corner Decoration */

.tutorial-block-a-image-corner {

    position: absolute;

    right: -12px;
    bottom: -16px;

    width: 120px;
    height: 120px;

    background: url("../images/boxcorner.png") no-repeat right bottom;
    background-size: contain;

    pointer-events: none;

}


/* =========================================================
   OVERLAY SYSTEM
   Großes Bild bei Klick
   ========================================================= */

.tutorial-block-a-overlay {

    position: fixed;

    inset: 0;

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

    opacity: 0;

    pointer-events: none;

    z-index: 1000;

    transition: opacity 1s ease;

}


/* Active State */

.tutorial-block-a-overlay.active {

    opacity: 1;

    pointer-events: auto;

}


/* Background Dim Layer */

.tutorial-block-a-overlay-bg {

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.75);

    opacity: 0;

    transition: opacity 1.2s ease;

}

.tutorial-block-a-overlay.active .tutorial-block-a-overlay-bg {

    opacity: 1;

}


/* Large Preview Image */

.tutorial-block-a-overlay-image {

    position: relative;

    max-width: 780px;
    max-height: 520px;

    /* STARTZUSTAND – leicht zurückgesetzt */
    transform:
        scale(0.88)
        translateY(18px)
        translateZ(0);

    opacity: 0;

    transition:
        transform 1.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.9s ease;

    will-change: transform, opacity;

}



/* Image visible when active */

.tutorial-block-a-overlay.active .tutorial-block-a-overlay-image {

    transform:
        scale(1)
        translateY(0)
        translateZ(0);

    opacity: 1;

}

/* =========================================================
   BLOCK B GRID LAYOUT
   ========================================================= */

.tutorial-block-b {

    position: relative;

    margin-top: 48px;

}


/* GRID */

.tutorial-block-b-grid {

    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 28px;

    align-items: start;

}


/* =========================================================
   LINKER BEREICH
   ========================================================= */

.tutorial-block-b-left {

    min-width: 0;

}


/* Scrollbar Styling für Block B */

.tutorial-block-b .tutorial-block-a-track {

    scrollbar-width: thin;

    scrollbar-color: #c98a3a rgba(20,18,16,0.6);

}

.tutorial-block-b .tutorial-block-a-track::-webkit-scrollbar {

    height: 10px;

}

.tutorial-block-b .tutorial-block-a-track::-webkit-scrollbar-track {

    background: rgba(20,18,16,0.6);

}

.tutorial-block-b .tutorial-block-a-track::-webkit-scrollbar-thumb {

    background: linear-gradient(to bottom, #c98a3a, #8f5a2c);

    border-radius: 6px;

}


/* =========================================================
   TIPPS BOX
   ========================================================= */

.tutorial-tipps-box {

    position: relative;

    padding: 18px 20px 24px;

    background: rgba(20,18,16,0.55);

    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.65),
        0 16px 32px rgba(0,0,0,0.85);

}


/* Header Grafik */

.tutorial-tipps-header {

    width: 100%;

    max-width: 240px;

    height: auto;

    margin-bottom: 14px;

}


/* Liste */

.tutorial-tipps-list {

    list-style: none;

    padding-left: 0;

}


/* Listenelement */

.tutorial-tipps-list li {

    position: relative;

    padding-left: 26px;

    margin-bottom: 10px;

    font-family: "Trebuchet MS", Arial, sans-serif;

    font-size: 0.9rem;

    line-height: 1.5;

    color: #e6e0d8;

}


/* Custom Bullet */

.tutorial-tipps-list li::before {

    content: "";

    position: absolute;

    left: 0;

    top: 6px;

    width: 10px;

    height: 10px;

    background:

        radial-gradient(
            ellipse at center,
            #f2c97d 0%,
            #c98a3a 60%,
            transparent 100%
        );

}


/* Corner */

.tutorial-tipps-corner {

    position: absolute;

    right: -12px;

    bottom: -16px;

    width: 140px;

    height: 140px;

    background: url("../images/boxcorner.png") no-repeat right bottom;

    background-size: contain;

}

/* =========================================================
   OVERLAY ARROWS
   ========================================================= */

.tutorial-overlay-arrow {

    position: absolute;

    top: 50%;

    width: 120px;
    height: 41px;

    transform: translateY(-50%);

    cursor: pointer;

    z-index: 1002;

    opacity: 0.45;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

}


/* Hover Effekt */

.tutorial-overlay-arrow:hover {

    opacity: 1;

    transform: translateY(-50%) scale(1.15);

}


/* LINKER PFEIL */

.tutorial-overlay-arrow-left {

    left: 24px;

background: url("../images/pfeil_links.png") no-repeat center;

}


/* RECHTER PFEIL */

.tutorial-overlay-arrow-right {

    right: 24px;

background: url("../images/pfeil_rechts.png") no-repeat center;

}


/* =========================================================
   TUTORIAL BLOCK C
   Eyecatcher / Zwischenbild mit dekorativem Rahmen
   ========================================================= */

.tutorial-block-c {

    margin-top: 64px;

}


/* =========================================================
   TITEL
   ========================================================= */

.tutorial-block-c-title {

    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1.45rem;

    margin-bottom: 18px;

    color: #f2c97d;

    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9);

}


/* =========================================================
   FRAME CONTAINER
   Wichtig: position relative für Overlay
   ========================================================= */

.tutorial-block-c-frame {

    position: relative;

    width: 896px;
    height: 680px;

    margin: 0 auto;

}


/* =========================================================
   BILD
   ========================================================= */

.tutorial-block-c-image {

    position: absolute;

    top: 15px;
    left: 33px;

    width: 830px;
    height: 650px;

    display: block;

}


/* =========================================================
   FRAME OVERLAY
   liegt ÜBER dem Bild
   ========================================================= */

.tutorial-block-c-overlay {

    position: absolute;

    top: 0;
    left: 0;

    width: 896px;
    height: 680px;

    pointer-events: none;

    z-index: 10;

}

/* =========================================================
   TUTORIAL BLOCK C Ende
   Eyecatcher / Zwischenbild mit dekorativem Rahmen
   ========================================================= */
   
   
/* =========================================================
   TUTORIAL BLOCK D
   YouTube Video mit dekorativem Rahmen
   ========================================================= */

.tutorial-block-d {

    margin-top: 64px;

}


/* =========================================================
   TITEL
   ========================================================= */

.tutorial-block-d-title {

    font-family: "Trebuchet MS", Arial, sans-serif;

    font-size: 1.45rem;

    margin-bottom: 18px;

    color: #f2c97d;

    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9);

}


/* =========================================================
   FRAME CONTAINER
   ========================================================= */

.tutorial-block-d-frame {

    position: relative;

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

}

.tutorial-block-d-frame iframe
{
    display:block;
}



/* =========================================================
   YOUTUBE VIDEO
   exakt Innenmaß Frame
   ========================================================= */

.tutorial-block-d-video {

    width: 830px;

    height: 650px;

    border: none;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.85);

}


/* =========================================================
   FRAME OVERLAY
   ========================================================= */

.tutorial-block-d-overlay {

    position: absolute;

    width: 896px;

    height: 680px;

    pointer-events: none;

    z-index: 10;

}

/* =========================================================
   BLOCK D ENDE
   ========================================================= */


/* =========================================================
   BLOCK E – CONTAINER
   ========================================================= */

.gallery-detail-block-e {

    margin-top: 48px;

}


/* =========================================================
   FRAME CONTAINER
   ========================================================= */

.gallery-detail-frame-e {

    position: relative;

    width: 100%;
    max-width: 896px;
    height: 680px;

    margin: 0 auto;

}


/* =========================================================
   MAIN IMAGE AREA (LEFT)
   ========================================================= */

.gallery-detail-main-e {

    position: absolute;

    left: 42px;
    top: 28px;

    width: 640px;
    height: 624px;

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

    overflow: hidden;

    z-index: 1;

}


.gallery-detail-main-e img {

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    cursor: zoom-in;

    transition: transform 0.3s ease;

}


/* =========================================================
   NAVIGATION AREA (RIGHT)
   ========================================================= */

.gallery-detail-nav-e {

    position: absolute;

    right: 24px;
    top: 28px;

    width: 180px;
    height: 624px;

    overflow: hidden;

    z-index: 1;

}


.gallery-detail-nav-track-e {

    display: flex;
    flex-direction: column;

    gap: 12px;

    overflow-y: auto;

    height: 100%;

		 padding-top: 30px;
    padding-right: 6px;
    padding-bottom: 15px;

}


/* Scrollbar Styling */

.gallery-detail-nav-track-e::-webkit-scrollbar {

    width: 8px;

}

.gallery-detail-nav-track-e::-webkit-scrollbar-thumb {

    background: linear-gradient(
        to bottom,
        #c98a3a,
        #8f5a2c
    );

    border-radius: 4px;

}


/* =========================================================
   THUMBNAILS
   ========================================================= */

.gallery-thumb-e {

    width: 100%;
    height: 100px;

    object-fit: cover;

    cursor: pointer;

    opacity: 0.6;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

}


.gallery-thumb-e:hover {

    opacity: 1;

    transform: scale(1.05);

}


.gallery-thumb-e.active {

    opacity: 1;

    outline: 2px solid rgba(242,201,125,0.8);

}


/* =========================================================
   FRAME OVERLAY
   ========================================================= */

.gallery-detail-frame-overlay-e {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: 10;

}

/* =========================================================
   BLOCK E – CONTAINER Ende
   ========================================================= */
   
   
/* =========================================================
   BLOCK E – ZOOM OVERLAY CONTAINER
   Fullscreen Overlay, initial unsichtbar
   ========================================================= */

.gallery-overlay-e {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

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

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s ease;

    z-index: 9999;

}


/* =========================================================
   ACTIVE STATE
   Overlay sichtbar
   ========================================================= */

.gallery-overlay-e.active {

    opacity: 1;
    pointer-events: auto;

}


/* =========================================================
   BACKGROUND
   dunkelt Seite ab
   ========================================================= */

.gallery-overlay-bg-e {

    position: absolute;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.92);

}


/* =========================================================
   ZOOM IMAGE
   Bild selbst
   ========================================================= */

.gallery-overlay-image-e {

    position: relative;

    max-width: 90vw;
    max-height: 90vh;

    object-fit: contain;

    transform: scale(0.92);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;

    opacity: 0;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.9);

}


/* =========================================================
   ACTIVE IMAGE STATE
   Bild fährt weich rein
   ========================================================= */

.gallery-overlay-e.active .gallery-overlay-image-e {

    transform: scale(1);

    opacity: 1;

}


/* =========================================================
   CURSOR
   ========================================================= */

.gallery-detail-main-e img {

    cursor: zoom-in;

}

.gallery-overlay-image-e {

    cursor: zoom-out;

}

/* =========================================================
   BLOCK E – ZOOM OVERLAY ENDE
   ========================================================= */
  
  
/* =========================================================
   BLOCK E – OVERLAY ARROWS
   identisch zum Tutorial-System
   ========================================================= */

/* Basis für beide Pfeile */

.gallery-overlay-arrow-e {

    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 64px;
    height: 64px;

    cursor: pointer;

    z-index: 20;

    opacity: 0.85;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

}


/* Hover Effekt */

.gallery-overlay-arrow-e:hover {

    transform: translateY(-50%) scale(1.15);

    opacity: 1;

}



/* =========================================================
   LINKER PFEIL
   ========================================================= */

.gallery-overlay-arrow-e.left {

    left: 24px;

    background:
        url("../images/pfeil_links.png")
        no-repeat center;

    background-size: contain;

}



/* =========================================================
   RECHTER PFEIL
   ========================================================= */

.gallery-overlay-arrow-e.right {

    right: 24px;

    background:
        url("../images/pfeil_rechts.png")
        no-repeat center;

    background-size: contain;

}


/* =========================================================
   BLOCK E – OVERLAY ARROWS Ende
   identisch zum Tutorial-System
   ========================================================= */


/* =========================================================
   BLOCK F – KOMMENTARE
   basiert visuell auf newsletter-block / contact-block
   ========================================================= */

/* =========================================================
   BLOCK CONTAINER
   ========================================================= */

.tutorial-comments-block {

    position: relative;

    margin-top: 48px;

}


/* =========================================================
   INNER BOX
   identische visuelle Logik wie newsletter-block
   ========================================================= */

.tutorial-comments-inner {

    position: relative;

    padding: 32px 36px 40px;

    background: rgba(20,18,16,0.55);

    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.65),
        0 20px 40px rgba(0,0,0,0.85);

}


/* =========================================================
   TITLE
   ========================================================= */

.tutorial-comments-title {

    font-family: "Trebuchet MS", Arial, sans-serif;

    font-size: 1.0rem;

    margin-bottom: 24px;

    color: #f2c97d;

    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9);

}


/* =========================================================
   COMMENT LIST CONTAINER
   ========================================================= */

.tutorial-comments-list {

    display: flex;

    flex-direction: column;

    gap: 18px;

    margin-bottom: 24px;

}


/* =========================================================
   SINGLE COMMENT BOX
   ========================================================= */

.tutorial-comment {

    padding: 14px 16px 16px;

    background: rgba(20,18,16,0.65);

    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.45),
        0 6px 14px rgba(0,0,0,0.65);

}


/* =========================================================
   COMMENT META LINE
   ========================================================= */

.tutorial-comment-meta {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 6px;

}


/* AUTHOR */

.tutorial-comment-author {

    font-family: "Trebuchet MS", Arial, sans-serif;

    font-size: 0.85rem;

    font-weight: bold;

    color: #f2c97d;

}


/* DATE */

.tutorial-comment-date {

    font-family: "Trebuchet MS", Arial, sans-serif;

    font-size: 0.7rem;

    color: #c8b07a;

}


/* =========================================================
   COMMENT TEXT
   ========================================================= */

.tutorial-comment-text {

    font-family: "Trebuchet MS", Arial, sans-serif;

    font-size: 0.9rem;

    line-height: 1.5;

    color: #e6e0d8;

    text-shadow:
        0 2px 2px rgba(0,0,0,0.9);

}


/* =========================================================
   PAGINATION CONTAINER
   ========================================================= */

.tutorial-comments-pagination {

    display: flex;

    gap: 10px;

    justify-content: center;

    margin-bottom: 28px;

}


/* SINGLE PAGE BUTTON */

.tutorial-comments-page {

    padding: 6px 12px;

    font-family: "Trebuchet MS", Arial, sans-serif;

    font-size: 0.8rem;

    font-weight: bold;

    color: #e3d3a2;

    background: rgba(40,30,20,0.85);

    border: 1px solid rgba(119,61,32,0.65);

    cursor: pointer;

    user-select: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;

}


/* HOVER */

.tutorial-comments-page:hover {

    color: #f2c97d;

    background: rgba(90,50,20,0.85);

    box-shadow:
        0 0 10px rgba(242,201,125,0.25);

}


/* ACTIVE PAGE */

.tutorial-comments-page.active {

    color: #2b1c12;

    background:

        linear-gradient(
            to bottom,
            #f2c97d,
            #c98a3a
        );

}


/* =========================================================
   COMMENT FORM
   ========================================================= */

.tutorial-comment-form {

    display: flex;

    flex-direction: column;

    gap: 14px;

}


/* NAME INPUT */

.tutorial-comment-input {

    height: 42px;

    padding: 0 12px;

    font-family: "Trebuchet MS", Arial, sans-serif;

    font-size: 0.9rem;

    color: #2b1c12;

    background: url("../images/input_bg.png") center center no-repeat;

    background-size: cover;

    border: 1px solid #8f5a2c;

    outline: none;

}


/* TEXTAREA */

.tutorial-comment-textarea {

    min-height: 120px;

    padding: 10px 12px;

    font-family: "Trebuchet MS", Arial, sans-serif;

    font-size: 0.9rem;

    line-height: 1.4;

    color: #2b1c12;

    background: url("../images/input_bg.png") center center no-repeat;

    background-size: cover;

    border: 1px solid #8f5a2c;

    outline: none;

    resize: vertical;

}


/* BUTTON */

.tutorial-comment-button {

    align-self: flex-start;

    padding: 10px 18px;

    font-family: "Trebuchet MS", Arial, sans-serif;

    font-weight: bold;

    font-size: 0.85rem;

    color: #f2c97d;

    background: rgba(120,45,15,0.9);

    border: 1px solid #c98a3a;

    cursor: pointer;

    text-shadow:
        0 1px 2px rgba(0,0,0,0.9);

    transition: filter 0.25s ease;

}


/* BUTTON HOVER */

.tutorial-comment-button:hover {

    filter: brightness(1.35);

}


/* =========================================================
   CORNER DECORATION
   ========================================================= */

.tutorial-comments-corner {

    position: absolute;

    right: -12px;

    bottom: -18px;

    width: 160px;

    height: 160px;

    background: url("../images/boxcorner.png") no-repeat right bottom;

    background-size: contain;

    pointer-events: none;

}


/* =========================================================
   BLOCK F – KOMMENTARE
   basiert visuell auf newsletter-block / contact-block
   ========================================================= */
   
   
   /* =========================================================
   CONTENT BOX (für Block A und B links)
   ========================================================= */

.tutorial-content-box
{
    position: relative;

    padding: 18px 20px 24px;

    background: rgba(20,18,16,0.55);

    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.65),
        0 16px 32px rgba(0,0,0,0.85);
}

.tutorial-content-corner
{
    position:absolute;

    right:0;
    bottom:0;

    width:80px;
    height:80px;

    background:url('../images/boxcorner.png') no-repeat bottom right;

    background-size:contain;

    pointer-events:none;
}

.tutorial-block-a-corner
{
    position: absolute;

    right: -12px;

    bottom: -16px;

    width: 140px;

    height: 140px;

    background: url("../images/boxcorner.png") no-repeat right bottom;

    background-size: contain;
}


   /* =========================================================
   CONTENT BOX (für Block A und B links) Ende
   ========================================================= */
   
/* =========================================================
   COMMENT OVERLAY – USE EXISTING CMS BOX STYLE
   ========================================================= */

.comment-overlay
{
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.comment-overlay.active
{
    display: flex;
}

.comment-overlay-bg
{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
}


/* WICHTIG: echte CMS Box verwenden */

.comment-overlay-box
{
    position: relative;
    z-index: 2;

    /* exakt dieselbe Box wie im CMS */
    background: transparent;
    padding: 0;
}


/* wir nutzen tutorial-comments-inner als echte Box */

.comment-overlay-box .comment-overlay-content
{
    display: block;

    background: rgba(15,15,15,0.95);

    border: 1px solid rgba(255,255,255,0.08);

    padding: 30px;

    position: relative;
}


/* echte Corner wie im CMS */

.comment-overlay-box .comment-overlay-content::after
{
    content: "";

    position: absolute;

    bottom: 0;
    right: 0;

    width: 24px;
    height: 24px;

    border-right: 2px solid rgba(255,255,255,0.3);
    border-bottom: 2px solid rgba(255,255,255,0.3);
}


/* Text nutzt CMS Typography */

.comment-overlay-text
{
    font-size: 18px;
    margin-bottom: 20px;
}


/* Button nutzt CMS Button Style */

.comment-overlay-button
{
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 18px;
    color: #ddd;
    cursor: pointer;
}

.comment-overlay-button:hover
{
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

/* =========================================================
   COMMENT REPLIES
   ========================================================= */

.tutorial-comment-item
{
	border: 1px solid rgba(255,140,0,0.6);
	padding: 10px;
	  font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.60;
    margin-bottom: 28px;
    color: #e6e0d8;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}


.tutorial-comment-reply
{
    margin-left: 40px;
    margin-top: 15px;

    padding: 15px;

    background:
        linear-gradient(
            to bottom,
            rgba(255,140,0,0.08),
            rgba(0,0,0,0.4)
        );

    border-left: 3px solid rgba(255,140,0,0.6);

    position: relative;
    
        font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.60;
    margin-bottom: 28px;
    color: #e6e0d8;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}


/* Corner */

.tutorial-comment-reply::after
{
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 16px;
    height: 16px;

    border-right: 2px solid rgba(255,140,0,0.7);
    border-bottom: 2px solid rgba(255,140,0,0.7);

    opacity: 0.7;
    box-shadow: 0 0 40px rgba(0,0,0,0.85);
}


/* Admin Kennzeichnung */

.tutorial-comment-reply .tutorial-comment-author::after
{
    content: " (Admin)";

    color: #ff8c00;

    font-size: 0.85em;

    margin-left: 6px;
}

/* =========================================================
   COMMENT REPLIES Ende
   ========================================================= */

.admin-comment-card
{
    background: rgba(0,0,0,0.45);

    padding: 20px;

    margin-bottom: 20px;

    border-left: 3px solid rgba(255,140,0,0.5);
}

/* =========================================================
   Admin COMMENT Text
   ========================================================= */

.admin-comment-meta
{
    font-size: 14px;

    margin-bottom: 10px;

    color: #aaa;
}


.admin-comment-author
{
    font-weight: bold;

    margin-bottom: 8px;
}


.admin-comment-text
{
    margin-bottom: 15px;

    line-height: 1.5;
}


.admin-comment-actions a
{
    display: inline-block;

    margin-right: 15px;

    margin-top: 5px;

    text-decoration: none;
}

/* =========================================================
   Admin COMMENT Text Ende
   ========================================================= */
   
   /* =========================================================
   LIKE BUTTON AM TUTORIAL ENDE - Anfang
   ========================================================= */

.tutorial-like-bottom
{
    margin-top: 2px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1.0rem;
    font-weight: bold;
    letter-spacing: 0.02em;
    color: #f2c97d;
    margin-bottom: 10px;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}

.tutorial-like-box
{
    display: inline-block;

    position: relative;
}


.tutorial-like-box .like-container
{
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 8px;
}

   /* =========================================================
   LIKE BUTTON AM TUTORIAL ENDE - Ende
   ========================================================= */

/* =========================================================
   GALERIE CARD SYSTEM
   basiert exakt auf tutorial-card
   ========================================================= */

.gallery-card
{
    position: relative;

    height: 420px;

    background: rgba(20,18,16,0.55);

    box-shadow:
        inset 0 0 0 1px rgba(119,61,32,0.65),
        0 16px 32px rgba(0,0,0,0.85);

    overflow: hidden;

    transition:
        transform 0.6s ease,
        box-shadow 0.6s ease;
}

/* identisches Hover wie Tutorial */

.gallery-card:hover
{
    transform: scale(1.025);

    box-shadow:
        inset 0 0 0 1px rgba(242,201,125,0.9),
        0 0 18px rgba(242,201,125,0.35),
        0 20px 40px rgba(0,0,0,0.95);
}


/* IMAGE */

.gallery-card-image
{
    height: 180px;

    position: relative;

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

    overflow: hidden;
}

.gallery-card-image::after
{
    content: "";

    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;

    height: 1px;

    background: rgba(119,61,32,0.65);
}

.gallery-card-image img
{
    height: 100%;
    width: auto;
    max-width: 100%;
}


/* CONTENT */

.gallery-card-content
{
    padding: 16px 18px 0;

    height: 170px;

    overflow: hidden;

    font-family: "Trebuchet MS", Arial, sans-serif;

    color: #e6e0d8;

    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}

.gallery-card-content h3
{
    font-size: 1.2rem;

    color: #f2c97d;

    margin-bottom: 6px;
}

.gallery-date
{
    font-size: 0.6rem;

    color: #f2c97d;

    margin-bottom: 4px;
}


/* FOOTER */

.gallery-card-footer
{
    position: absolute;

    bottom: 10px;
    left: 16px;
    right: 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LINK */

.gallery-readmore
{
    font-family: "Trebuchet MS", Arial, sans-serif;

    font-weight: bold;

    font-size: 1.0rem;

    color: #f2c97d;

    text-decoration: none;

    margin-right: 15px;

    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}


/* CORNER */

.gallery-card-corner
{
    position: absolute;

    right: -12px;
    bottom: -15px;

    width: 160px;
    height: 160px;

    background: url("../images/boxcorner.png") no-repeat right bottom;

    background-size: contain;

    pointer-events: none;
}

/* =========================================================
   GLOBAL PAGINATION (Galerie + Tutorials)
   ========================================================= */

.site-pagination
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;

    margin: 70px 0 90px 0;
}


.site-pagination a
{
    min-width: 46px;
    height: 46px;

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

    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;

    color: #f2c97d;

    background: rgba(20,18,16,0.75);

    border: 1px solid rgba(201,138,58,0.7);

    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,0.8),
        0 6px 16px rgba(0,0,0,0.85);

    text-decoration: none;

    transition: all 0.2s ease;
}


.site-pagination a:hover
{
    transform: scale(1.15);

    background: rgba(120,45,15,0.9);
}


.site-pagination a.active
{
    color: #2b1c12;

    background:
        linear-gradient(
            to bottom,
            #f2c97d,
            #c98a3a
        );

    transform: scale(1.2);
}


/* Pfeile */

.site-pagination-arrow
{
    width: 58px;
    height: auto;

    opacity: 0.85;

    transition: all 0.2s ease;
}

.site-pagination-arrow:hover
{
    opacity: 1;

    transform: scale(1.2);
}

/* =========================================================
   PAGINATION ARROW LINKS – ohne Box / Rahmen
   ========================================================= */

.site-pagination a:has(.site-pagination-arrow)
{
    background: none;
    border: none;
    box-shadow: none;
    min-width: auto;
    height: auto;
    padding: 0;
}

.site-pagination a:has(.site-pagination-arrow):hover
{
    background: none;
    border: none;
    box-shadow: none;
    transform: scale(1.2);
}

.site-pagination a img.site-pagination-arrow
{
    display: block;
}

.site-pagination a
{
    padding: 0;
}

.site-pagination a img.site-pagination-arrow
{
    background: none;
    border: none;
    box-shadow: none;
}

.site-pagination-first,
.site-pagination-last
{
    display: flex;
    align-items: center;
    gap: 0px;
}

.site-pagination-dots
{
    color: #c98a3a;
    font-size: 22px;
    padding: 0 6px;
}

.gallery-image-count
{
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 0.9rem;

    color: #c9b07a;

    margin-top: 4px;

    text-shadow:
        0 2px 2px rgba(0,0,0,0.9);
}

.newsletter-archive-page {

    max-width: 900px;
    margin: auto;
    padding: 40px 20px;

}

.newsletter-archive-title {

    text-align: center;
    margin-bottom: 30px;

}

.newsletter-archive-item {

    margin-bottom: 40px;
    padding: 20px;

}

.newsletter-archive-item-title {

    margin-bottom: 10px;

}

.newsletter-archive-item-date {

    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 15px;

}

.newsletter-archive-item-content {

    line-height: 1.6;

}

.newsletter-archive-link-wrapper {
	margin-top: 20px;
	}

.newsletter-info {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: bold;
    font-size: 0.6rem;
    color: #f2c97d;
    text-decoration: none;
    margin-top: 15px;
    text-shadow:
        0 2px 2px rgba(0,0,0,1),
        0 4px 6px rgba(0,0,0,0.9),
        0 6px 10px rgba(0,0,0,0.85);
}