/* Korrektur Menü-Link Album „Hybris“ */
#menu-item-121 {
    transform: translateY(-0.37em);
}



/* Grundlayout */
*,
*::before,
*::after {
    box-sizing: border-box;
}



html {
    scroll-behavior: auto;
}



body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: rgb(218, 189, 20);
    background: rgba(20, 11, 0, 1);
}


html,
body {
    -webkit-text-size-adjust: 100%;
}


/* Standard-Textfarbe für typische Textelemente */
p,
h1,
h2,
h3,
h4,
h5,
h6,
li {
    color: rgb(218, 189, 20);
}



/* Header: transparent, fix oben über dem Inhalt */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: none;
}



.header-inner {
    margin: 0 auto;
    padding: 25px 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}



/* Desktop-Menü */
.main-nav .main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
}



.main-menu li a {
    color: rgb(255, 218, 0);
    text-decoration: none;
    font-size: clamp(1.27rem, 1.9vw, 1.8rem);
    transition: color 0.2s ease;
    font-family: "TG-Futura-Book", system-ui, sans-serif;
    letter-spacing: 0.05rem;
}



/* Main Menu Responsive before switch to Burger Menu */
/*
@media (min-width: 921px) and (max-width: 1132px) {
    .main-menu li a {
        font-size: 1.32rem;
    }

    .lang-switcher {
        font-size: 1.32rem !important;
    }
}
*/



.main-menu li a:hover {
    color: #ffffff;
}



/* Burger: Checkbox verstecken (Toggle-Element) */
.menu-toggle {
    display: none;
}



/* Burger-Icon */
.burger-icon {
    display: none;
    width: 32px;
    height: 28px;
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    z-index: 120;
}



.burger-icon span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: rgb(255, 218, 0);
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease, bottom 0.3s ease;
}



/* Drei Linien */
.burger-icon span:nth-child(1) {
    top: 2px;
}



.burger-icon span:nth-child(2) {
    top: 13px;
}



.burger-icon span:nth-child(3) {
    bottom: 2px;
}



/* Hover */
@media (hover: hover) {
    .burger-icon:hover span:nth-child(1) {
        top: 1px;
    }



    .burger-icon:hover span:nth-child(3) {
        bottom: 1px;
    }
}



/* Geöffneter Zustand: Hamburger -> X */
.menu-toggle:checked+.burger-icon span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
}



.menu-toggle:checked+.burger-icon span:nth-child(2) {
    opacity: 0;
}



.menu-toggle:checked+.burger-icon span:nth-child(3) {
    bottom: auto;
    top: 13px;
    transform: rotate(-45deg);
}



/* KEIN Abstandsausgleich für Header mehr */
.site-main {
    margin-top: 0;
}



/* Sektionen allgemein */
.section {
    min-height: 100vh;
    padding-top: 88px;
    margin: 0;
}



.section .section-inner {
    max-width: 100%;
    min-height: calc(100vh - 76px);
    padding-bottom: 1px;
}



@media screen and (-webkit-min-device-pixel-ratio:0) {



    .section-album,
    .section-about,
    .section-gallery {
        margin-top: 0px;
    }
}



.section h2 {
    font-size: 2rem;
    margin: 0 0 1rem;
}



.section p {
    line-height: 1.6;
}



/* Hero/Slider */
.section-hero {
    position: relative;
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
}



/* Sektion Album Hybris – Container */
.section-album {
    background-image: url(https://www.trio-glanz.de/wp-content/uploads/2025/12/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1907a-scaled-e1765570964323.jpg);
    background-color: rgba(20, 11, 0, 0.92);
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}



/* section-inner hier als Flexbox: ah-container zentrieren */
#album-hybris.section-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 76px);
    padding: 0 0 1px;
}



/* Grid-Container für die zwei Hälften */
.ah-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 90%;
    max-width: 2000px;
    margin-bottom: 70px !important;
}



/* Linkes Quadrat definiert Höhe im 2-Spalten-Layout */
.ah-left {
    border-style: solid;
    border-width: 1px;
    border-color: rgba(235, 250, 255, 0.9);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    text-align: center;
}



/* Drei Rows: 40% / 20% / 40% */
.ah-left-row {
    display: flex;
    align-items: center;
    justify-content: center;
}



.ah-left-row-1 {
    flex: 4 0 0;
    transform: translateY(-10%);
}



.ah-left-row-2 {
    flex: 2 0 0;
    transform: translateY(-30%);
}



.ah-left-row-3 {
    flex: 4 0 0;
    transform: translateY(-10%);
}



/* Hybris-Titel in Row 1 – Schriftgröße relativ zur Box */
.ah-left-title {
    font-family: "TG-DeVinne-Roman", system-ui, sans-serif;
    color: rgba(235, 250, 255, 0.9);
    margin: 0;
}



/* Exzerpte in Row 2 – kleinerer DeVinne */
.ah-left-subtitle {
    font-family: "TG-DeVinne-Roman", system-ui, sans-serif;
    letter-spacing: 0.08em;
    color: rgba(235, 250, 255, 0.9);
}



/* Wrapper für den Diamant-SVG in Row 3 */
.ah-left-diamond {
    color: rgba(235, 250, 255, 0.9);
    max-width: 60%;
}



.ah-left-diamond svg {
    width: 100%;
    height: auto;
    display: block;
}



.diamond-icon-3 {
    display: inline-block;
    width: 75%;
}



.diamond-icon-3 svg .g {
    stroke: rgba(235, 250, 255, 0.9);
    fill: none;
    stroke-miterlimit: 10;
    stroke-width: 3px;
}


/* Rechte Box – Desktop: Höhe von ah-left, Mobile: eigenes Quadrat */
.ah-right {
    border-style: solid;
    border-width: 1px;
    border-color: rgba(235, 250, 255, 0.9);
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    text-align: center;
    gap: 0;
}



/* jede Row nimmt 1/3 der Höhe von ah-right */
.ah-player-row {
    flex: 1 1 33.3333%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



/* Player skaliert innerhalb der Row */
.ah-player {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 80%;
    height: 30%;
    margin: 0;
}



/* Album Hybris Right Side Audio-Player – gemeinsame Styles */



/* Button-Box: Größe relativ zur Player-Höhe */
.ah-player-button {
    border: none;
    background: transparent;
    color: rgba(235, 250, 255, 0.9);
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    aspect-ratio: 1 / 1;
}



/* Play/Pause-Button */
.ah-pp-btn {
    position: relative;
    width: 100%;
    height: 50%;
    cursor: pointer;
}



/* Grundposition wie SALP */
.ah-pp-bar {
    display: inline-block;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 5.5%;
    height: 100%;
    border-radius: 3px;
    background-color: rgba(235, 250, 255, 0.9);
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transition: background 0.1s ease-in-out, -webkit-transform 0.4s ease-in-out;
    transition: background 0.1s ease-in-out, -webkit-transform 0.4s ease-in-out;
    transition: transform 0.5s ease-in-out, background 0.1s ease-in-out;
    transition: transform 0.5s ease-in-out, background 0.1s ease-in-out, -webkit-transform 0.5s ease-in-out;
}



/* PLAY / PAUSE */
.ah-pp-btn.play .bar-1 {
    transform:
        translateX(calc((50 / 100) * var(--width))) translateY(calc((-22.5 / 100) * var(--height))) rotate(-60deg) !important;
}



.ah-pp-btn.play .bar-2 {
    transform:
        translateX(calc((50 / 100) * var(--width))) translateY(calc((22.5 / 100) * var(--height))) rotate(-120deg) !important;
}



.ah-pp-btn.pause .bar-1 {
    transform:
        translateX(calc((37.5 / 100) * var(--width))) translateY(0px) rotate(0deg) !important;
}



.ah-pp-btn.pause .bar-2 {
    transform:
        translateX(calc((62.5 / 100) * var(--width))) translateY(0px) rotate(0deg) !important;
}



/* Scrub-Bar */
.ah-player-bar {
    position: relative;
    flex: 1;
    height: 30px;
    background: transparent;
    cursor: pointer;
    border: none;
}



/* iOS: Text-/Element-Selektion auf Scrub-Bar unterbinden */
.ah-player-bar,
.ah-player-bar * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}



/* Keine Textselektion auf Play-Buttons und Scrub-Balken */
.ah-player-button,
.ah-player-button *,
.ah-player-bar,
.ah-player-bar * {
    -webkit-user-select: none;
    /* iOS / Safari */
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}



/* Track-Titles */
.track-title {
    font-family: "TG-DeVinne-Roman", system-ui, sans-serif;
    font-size: 1.8rem;
    /* Fallback */
    font-size: clamp(1.2rem, 1.8vw, 2.6rem);
    letter-spacing: 0.08em;
    color: rgba(235, 250, 255, 0.9);
    margin-bottom: 0.4rem;
}



.track-title.title-wo {
    color: rgb(153, 89, 21);
}



.track-title.title-monopoly {
    color: rgba(168, 168, 168, 0.9);
}



.ah-track-time {
    color: rgba(235, 250, 255, 0.9);
    font-family: "TG-DeVinne-Roman", system-ui, sans-serif;
    font-size: 1.6rem;
    /* Fallback */
    font-size: clamp(1.2rem, 1.5vw, 2.6rem);
}



/* Hero-Slider: Bilder */
.custom-crossfade-slider {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}



/* Slides */
.cf-slide {
    position: absolute;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 4s ease;
}



.cf-slide.cf-active {
    opacity: 1;
}



/* Standard-Bilder (Landscape / Default) */
.slide-1 {
    background-image: url('https://www.trio-glanz.de/wp-content/uploads/2025/12/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1571-scaled-e1765399147804.jpg');
}



.slide-2 {
    background-image: url('https://www.trio-glanz.de/wp-content/uploads/2025/12/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1889-scaled-e1765399240821.jpg');
}



.slide-3 {
    background-image: url('https://www.trio-glanz.de/wp-content/uploads/2025/12/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1629-scaled-e1765399293784.jpg');
}



.slide-4 {
    background-image: url('https://www.trio-glanz.de/wp-content/uploads/2025/12/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1596-scaled-e1765399362672.jpg');
}



.slide-5 {
    background-image: url('https://www.trio-glanz.de/wp-content/uploads/2025/12/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1580-scaled-e1766237061347.jpg');
}



/* WRAPPER GLANZ & Hybris */
.g-h-overlay-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 35%;
    margin-top: auto;
    display: flex;
    flex-direction: row;
    gap: 5%;
    padding: 0 2vw;
    align-items: stretch;
    overflow: hidden;
}



/* Spalte für GLANZ (links, 60%) */
.glanz-part {
    flex: 0 0 60%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-width: 0;
}



/* GLANZ Overlay */
.glanz-overlay {
    color: rgba(255, 218, 0, 0.75);
    font-size: 7rem;
    /* Fallback */
    font-size: clamp(8rem, 16vw, 22rem);
    font-weight: 400;
    text-transform: uppercase;
    font-family: "TG-Futura-Book", system-ui, sans-serif;
    line-height: 1;
    text-align: left;
}



/* Spalte für Album (rechts, 35%) */
.album-part {
    flex: 0 0 35%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    min-width: 0;
}



/* Album Overlay */
.album-overlay {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    cursor: pointer;
    width: 100%;
    text-align: right;
    text-decoration: none;
}



/* „Neues Album …“ */
.album-text {
    font-size: 1.7rem;
    /* Fallback */
    font-size: clamp(1.4rem, 3.2vw, 2.6rem);
    color: rgba(235, 250, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin: 0;
    letter-spacing: 0.05rem;
    line-height: 1.1;
    font-family: "TG-Futura-Book", system-ui, sans-serif;
    max-width: 95%;
    word-wrap: break-word;
}



.album-arrow {
    display: inline-block;
    font-size: 1.7rem;
    /* Fallback */
    font-size: clamp(1.4rem, 3.2vw, 2.6rem);
    color: rgba(235, 250, 255, 0.9);
    transform-origin: center center;
    transition: transform 0.3s ease;
}



.album-overlay:hover .album-arrow {
    transform: rotate(90deg);
}



/* RESPONSIVE GLANZ & Neues Album Hybris */
@media (max-width: 620px) {
    .g-h-overlay-wrapper {
        flex-direction: column-reverse;
        gap: 1.2rem;
        height: 35%;
        padding: 0 2vw;
    }


    .glanz-part {
        flex: 0 0 auto;
        width: 100%;
        align-items: flex-end;
        justify-content: flex-start;
    }


    .glanz-overlay {
        text-align: left;
        font-size: 6.8rem;
        /* Fallback */
        font-size: clamp(5rem, 29vw, 32rem);
        line-height: 0.9;
    }


    .album-part {
        flex: 0 0 auto;
        width: 70%;
        align-items: flex-start;
        justify-content: flex-start;
    }


    .album-overlay {
        align-items: flex-start;
        text-align: left;
    }


    .album-text {
        font-size: 1.4rem;
        /* Fallback */
        font-size: clamp(1.4rem, 4vw, 2.4rem);
    }


    .album-arrow {
        font-size: 1.4rem;
        /* Fallback */
        font-size: clamp(1.4rem, 4vw, 2.4rem);
    }


    html.ios-safari .g-h-overlay-wrapper {
        margin-bottom: 150px;
    }


    html.ios-chrome .g-h-overlay-wrapper {
        margin-bottom: 75px;
    }
}



/* Vollflächiges Overlay für mobiles Menü – Basiszustand (immer aus) */
.menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(20, 11, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 40;
}


/* Fallback für alte Browser ohne 'inset': explizite Ränder setzen */
.menu-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}


/* Desktop: Overlay nie sichtbar */
@media (min-width: 1024px) {
    .menu-overlay {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}



/* Footer – ausgeblendet */
.site-footer {
    padding: 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgb(218, 189, 20);
    background: rgba(20, 11, 0, 0.92);
    display: none;
}



/* RESPONSIVE: ab 1023px und kleiner -> Burger Menu */
@media (max-width: 1023px) {
    .main-nav .main-menu {
        display: none;
    }



    .menu-toggle {
        display: block;
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }



    .burger-icon {
        display: flex;
    }



    .main-nav {
        position: static;
        width: 100%;
    }



    .main-nav .main-menu {
        display: none;
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        padding: 16px 24px;
        background: transparent;
        flex-direction: column;
        gap: 0;
        z-index: 110;
    }



    .main-menu li {
        margin: 0;
        width: 100%;
        list-style: none;
    }



    .main-menu li a {
        display: block;
        padding: 8px 0;
        font-size: 1.2rem;
        border: none;
        background: transparent;
        text-align: left;
        line-height: 1.5em;
    }



    .main-menu li a:hover {
        background: transparent;
        color: #ffffff;
    }



    .menu-toggle:checked~.main-nav .main-menu {
        display: flex;
    }



    .menu-toggle:checked~.menu-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }



    .header-inner {
        display: block;
        float: right;
        padding: 24px 24px;
        position: relative;
    }



    .section-hero {
        padding-top: 0px !important;
    }
}



/* Tablets im Portrait bis 834px + iPad Pro Portrait (device-width 1032px) */
@media (max-width: 1032px) and (orientation: portrait) {



    .ah-container {
        grid-template-columns: 1fr !important;
        width: 90% !important;
        max-width: 600px !important;
        row-gap: 20px !important;
    }



    .ah-left {
        aspect-ratio: 1 / 1 !important;
    }



    .ah-right {
        aspect-ratio: 1 / 1 !important;
    }



    .ah-player-row {
        flex: 1 1 33.3333% !important;
    }



    .ah-left-title {
        font-size: clamp(5.25rem, 13.5vw, 7rem);
    }
}



/* PORTRAIT: eigene Hero-Bilder für die Slides */
@media screen and (orientation: portrait) {
    .slide-1 {
        background-image: url('https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1567_01-e1768778211376.jpg');
    }



    .slide-2 {
        background-image: url('https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1865_03-e1768778323823.jpg');
    }



    .slide-3 {
        background-image: url('https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1541_01-e1768778352514.jpg');
    }



    .slide-4 {
        background-image: url('https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1636_02-e1768778446625.jpg');
    }



    .slide-5 {
        background-image: url('https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1583_01-e1768778489355.jpg');
    }



    /* NEU: Album-Sektion Portrait-Background */
    .section-album {
        background-image: url('https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1912a_03-e1768778530294.jpg');
        background-size: cover;
        background-position: center;
        background-blend-mode: multiply;
    }
}



/* ============================= */
/*   ÜBER-GLANZ SLIDER          */
/* ============================= */



/* Section analog album-hybris: Rahmen, Slider füllt area */
.section-about {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: rgba(20, 11, 0, 0.92);
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}



/* section-inner als Anker, gleiche Logik wie album-hybris */
#ueber-glanz.section-inner {
    max-width: 100%;
    min-height: calc(100vh - 76px);
    padding: 0 0 1px;
}



/* Container für den Über-GLANZ-Slider, füllt die Section */
.about-slider {
    position: absolute;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 76px);
    overflow: hidden;
}

/* einzelne Slides (Bild-Fade) */
.about-slide {
    position: absolute;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 4s ease;
}

/* Bild-Layer */
.about-slide-bg {
    position: absolute;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
}



/* Text-Overlay-Wrapper */
.about-slide-text {
    position: absolute;
    bottom: 7%;
    max-width: 60%;
    opacity: 0;
    transition: opacity 1.5s ease-out;
}



/* Text mit Background */
.about-text-bg {
    display: inline;
    background: rgba(20, 11, 0, 0.75);
    color: rgba(255, 218, 0, 0.75);
    font-family: "TG-Futura-Book", system-ui, sans-serif;
    font-size: 1.8rem;
    /* Fallback */
    font-size: clamp(2rem, 2vw, 2.5rem);
    line-height: 1.8;
    letter-spacing: 0.03em;
    padding: 0.15em 0.2em 0.2em 1.5em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}



/* aktiver Slide (Bild sichtbar) */
.about-slide.as-active {
    opacity: 1;
    pointer-events: auto;
}



/* Text-Zyklus:
   - Startet mit Delay, fadet dann 1.5s rein
   - Bleibt stehen, bis Slide deaktiviert wird
   - Fadet zusammen mit dem Bild aus, wenn .as-active entfernt wird */
.about-slide.as-active .about-slide-text {
    opacity: 1;
    transition-delay: 2.5s;
}



/* Beim Deaktivieren: Text wieder auf 0, ohne extra Delay, damit er
   synchron mit dem Bild-Fade-Out verschwindet */
.about-slide:not(.as-active) .about-slide-text {
    opacity: 0;
    transition-delay: 0s;
}



/* Bilder für die acht Slides (Landscape / Default) */
.about-slide-1 .about-slide-bg {
    background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A2125_02-e1768194688261.jpg");
}



.about-slide-2 .about-slide-bg {
    background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1890-e1768195292217.jpg");
}



.about-slide-3 .about-slide-bg {
    background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1577-e1768195474427.jpg");
}



.about-slide-4 .about-slide-bg {
    background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1642-e1768195650948.jpg");
}



.about-slide-5 .about-slide-bg {
    background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1855-2-e1768195929407.jpg");
}



/* NEU: Portrait-Slides (Landscape / Default) */
.about-slide-6 .about-slide-bg {
    background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Inma-Galiot_Foto_Dovile-Sermokas-E36A1663-e1768780004508.jpg");
}



.about-slide-7 .about-slide-bg {
    background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Marco-Fox_Foto_Dovile-Sermokas-E36A1830-e1768780029641.jpg");
}



.about-slide-8 .about-slide-bg {
    background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Alois-Spaeth_Foto_Dovile-Sermokas-E36A1758-e1768780057977.jpg");
}



/* Responsive Anpassungen */
@media (max-width: 900px) {
    .about-slide-text {
        max-width: 90%;
        bottom: 10%;
    }



    .about-text-bg {
        font-size: 1.3rem;
        /* Fallback */
        font-size: clamp(1.3rem, 4vw, 1.9rem);
    }
}



@media (max-width: 600px) {
    .about-slide-text {
        max-width: 100%;
        bottom: 14%;
    }
}



@media (max-width: 926px) and (orientation: landscape) {
    .about-text-bg {
        font-size: 1.4rem;
        /* Fallback */
        font-size: clamp(1rem, 3vw, 1.5rem);
    }



    .about-slide-text {
        bottom: 3%;
    }
}



/* PORTRAIT: eigene Bilder für ÜBER-GLANZ-SLIDER 1–8 */
@media screen and (orientation: portrait) {
    .about-slide-1 .about-slide-bg {
        background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1854-e1768779727565.jpg");
    }



    .about-slide-2 .about-slide-bg {
        background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1610-e1768779749471.jpg");
    }



    .about-slide-3 .about-slide-bg {
        background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1597-e1768779768923.jpg");
    }



    .about-slide-4 .about-slide-bg {
        background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1593-e1768779790520.jpg");
    }



    .about-slide-5 .about-slide-bg {
        background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Foto_Dovile-Sermokas-E36A1921_02-e1768779816261.jpg");
    }



    .about-slide-6 .about-slide-bg {
        background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Inma-Galiot_Foto_Dovile-Sermokas-E36A1663_01-e1768779298255.jpg");
    }



    .about-slide-7 .about-slide-bg {
        background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Marco-Fox_Foto_Dovile-Sermokas-E36A1830_01-e1768779319945.jpg");
    }



    .about-slide-8 .about-slide-bg {
        background-image: url("https://www.trio-glanz.de/wp-content/uploads/2026/01/2025-10-14_Glanz_Alois-Spaeth_Foto_Dovile-Sermokas-E36A1758_01-e1768779345213.jpg");
    }
}



/* Letzte Sektion Kontakt / Login / Impressum CSS */
#kontakt-impressum {
    display: grid;
    padding: 2% 4%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    align-content: start;
    column-gap: 2rem;
    align-items: baseline;
    /* NEU */
}



/* WICHTIG: display: contents macht die Kinder zu Grid-Items */
.contact-form,
.login-form {
    display: contents;
}



/* Titles auf Row 1 - gleiche Höhe! */
.contact-form .form-title {
    grid-column: 1;
    grid-row: 1;
}



.login-form .form-title {
    grid-column: 2;
    grid-row: 1;
}



/* Forms auf Row 2 - starten auf gleicher Höhe! */
.contact-form .contact-form-inner {
    grid-column: 1;
    grid-row: 2;
}



.login-form .login-form-inner {
    grid-column: 2;
    grid-row: 2;
}



/* FIX: Toggle nimmt volle Breite der Grid-Zeile */
.toggle-impressum {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 3.5rem;
    width: 100%;
}



/* Responsive --- Portrait */
@media screen and (orientation: portrait) {
    .toggle-impressum {
        margin-top: 0.2rem;
        grid-column: 1;
        grid-row: 3;
        width: 100%;
    }
}



.form-title {
    font-family: "TG-Futura-Book", system-ui, sans-serif;
    font-size: 1.5rem;
    /* Fallback */
    font-size: clamp(1.7rem, 1.4vw, 1.8rem);
    color: rgba(255, 218, 0, 0.8);
    margin: 0 0 2.5rem 0;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}



/* Resonsive --- Landscapes under 926px */
@media (min-width: 626px) and (max-width: 926px) and (orientation: landscape) {
    .form-title {
        font-size: 1.2rem;
        /* Fallback */
        font-size: clamp(1.2rem, 1.4vw, 1.8rem);
    }
}


@media (max-width: 625px) and (orientation: landscape) {
    .form-title {
        font-size: 1rem;
        /* Fallback */
        font-size: clamp(1rem, 1.4vw, 1.8rem);
    }
}



.album-hybris-text {
    font-family: "TG-DeVinne-Roman", serif;
    font-size: 120%;
    display: inline-block;
    position: relative;
}



.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    flex: 0 0 auto;
}



.form-row label {
    font-size: 0.9rem;
    color: rgba(235, 250, 255, 0.9);
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
    font-family: "TG-Futura-Book", system-ui, sans-serif;
}



.form-row input,
.form-row textarea {
    padding: 0.7rem 0.8rem;
    border-radius: 3px;
    border: 1px solid rgba(235, 250, 255, 0.4);
    background: rgba(20, 11, 0, 0.85);
    color: rgba(235, 250, 255, 0.9);
    font-family: "TG-Futura-Book", system-ui, sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}



.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(235, 250, 255, 0.4);
}



.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: rgba(235, 250, 255, 0.9);
    background: rgba(20, 11, 0, 0.95);
}



.form-row textarea {
    resize: vertical;
    min-height: 100px;
}



.form-button {
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgb(218, 189, 20);
    background: transparent;
    color: rgba(255, 218, 0, 0.8);
    cursor: pointer;
    font-family: "TG-Futura-Book", system-ui, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}



.form-button:hover {
    background: rgba(218, 189, 20, 0.1);
    border-color: rgb(218, 189, 20);
}



.form-message {
    margin-top: 0.8rem;
    padding: 0.6rem 0.8rem;
    border-radius: 3px;
    font-size: 0.9rem;
    font-family: "TG-Futura-Book", system-ui, sans-serif;
}



.form-message-success {
    background: rgba(95, 212, 143, 0.15);
    color: rgba(95, 212, 143, 0.9);
    border: 1px solid rgba(95, 212, 143, 0.3);
}



.form-message-error {
    background: rgba(255, 102, 102, 0.15);
    color: rgba(255, 102, 102, 0.9);
    border: 1px solid rgba(255, 102, 102, 0.3);
}



/* ============================= */
/*   TOGGLE IMPRESSUM           */
/* ============================= */



.toggle-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    border: none;
    color: rgba(255, 218, 0, 0.8);
    cursor: pointer;
    font-family: "TG-Futura-Book", system-ui, sans-serif;
    font-size: 1.4rem;
    /* Fallback */
    font-size: clamp(1.7rem, 1.4vw, 1.8rem);
    letter-spacing: 0.05rem;
    padding: 0;
    transition: color 0.2s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: 2em;
}


.toggle-impressum p {
    font-family: "TG-Futura-Book", system-ui, sans-serif;
    font-size: 1.4rem;
    /* Fallback */
    font-size: clamp(1.7rem, 1.4vw, 1.8rem);
    /* DAS NICHT RAUS!!! */
    letter-spacing: 0.05rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: rgba(255, 218, 0, 0.8);
}


.toggle-impressum a {
    color: rgba(255, 218, 0, 0.8);
}


/* Resonsive --- Landscapes under 926px */
@media (min-width: 626px) and (max-width: 926px) and (orientation: landscape) {
    .toggle-button {
        font-size: 1.2rem;
        /* Fallback */
        font-size: clamp(1.2rem, 1.4vw, 1.8rem);
    }


    .toggle-impressum p {
        font-size: 1.2rem;
        /* Fallback */
        font-size: clamp(1.2rem, 1.4vw, 1.8rem);
    }
}


@media (max-width: 625px) and (orientation: landscape) {
    .toggle-button {
        font-size: 1rem;
        /* Fallback */
        font-size: clamp(1rem, 1.4vw, 1.8rem);
    }


    .toggle-impressum p {
        font-size: 1rem;
        /* Fallback */
        font-size: clamp(1rem, 1.4vw, 1.8rem);
    }
}



.toggle-text {
    color: rgba(255, 218, 0, 0.8);
}



.toggle-button:hover .toggle-text {
    color: rgba(235, 250, 255, 0.9);
}



.toggle-button.open .toggle-text {
    color: rgba(255, 218, 0, 0.8);
}



.toggle-button.open:hover .toggle-text {
    color: rgba(235, 250, 255, 0.9);
}



.toggle-arrow {
    display: inline-block;
    font-size: inherit;
    transition: transform 0.3s ease, color 0.2s ease;
    transform-origin: center;
    color: rgba(255, 218, 0, 0.8);
}



.toggle-button:hover .toggle-arrow {
    color: rgba(235, 250, 255, 0.9);
}



.toggle-button.open .toggle-arrow {
    transform: rotate(90deg);
    color: rgba(255, 218, 0, 0.8);
}



.toggle-button.open:hover .toggle-arrow {
    color: rgba(235, 250, 255, 0.9);
}



/* FIX: Toggle-Content ohne starre max-height, nur über Opacity animiert */
.toggle-content {
    max-height: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
    margin-top: 0;
}



.toggle-content.open {
    opacity: 1;
    margin-top: 1rem;
}



/* FIX: Lange Texte/Links im Impressum sauber umbrechen */
#toggle-impressum-content {
    overflow-wrap: anywhere;
    word-wrap: break-word;
}


#toggle-impressum-content a {
    word-break: break-all;
}


#toggle-impressum-content,
#toggle-impressum-content p,
#toggle-impressum-content a {
    overflow-wrap: anywhere;
    word-wrap: break-word;
}



.toggle-content p {
    font-size: 1rem;
    /* Fallback */
    font-size: clamp(1rem, 2.4vw, 1.2rem) !important;
    line-height: 1.7;
    color: rgba(255, 218, 0, 0.8);
    margin: 0;
    font-family: "TG-Futura-Book", system-ui, sans-serif;
}



.toggle-content a {
    color: rgba(255, 218, 0, 0.8);
    text-decoration: underline;
    transition: color 0.2s ease;
}



.toggle-content a:hover {
    color: rgba(235, 250, 255, 0.9);
}


/* sorgt dafür, dass JS-Overrides greifen können */
.section-contact,
.section-contact .section-inner {
    position: relative;
}


/* Toggle-Content ohne starre max-height */
.toggle-content {
    max-height: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 0;
}


.toggle-content.open {
    opacity: 1;
    margin-top: 1rem;
}



/* Responsive --- Portrait */
@media screen and (orientation: portrait) {
    #kontakt-impressum {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 3rem;
    }



    /* Portrait: Zurück zu normalem Display */
    .contact-form,
    .login-form {
        display: flex;
        flex-direction: column;
    }



    .contact-form {
        grid-column: 1;
        grid-row: 1;
    }



    .login-form {
        grid-column: 1;
        grid-row: 2;
    }



    .toggle-impressum {
        grid-column: 1;
        grid-row: 3;
    }



    /* Portrait: Titles sind wieder normale Kinder */
    .contact-form .form-title,
    .login-form .form-title {
        grid-column: auto;
        grid-row: auto;
    }



    .contact-form .contact-form-inner,
    .login-form .login-form-inner {
        grid-column: auto;
        grid-row: auto;
    }



    .form-title {
        font-size: 1.3rem;
        /* Fallback */
        font-size: clamp(1.3rem, 3vw, 1.8rem);
    }



    .form-row input,
    .form-row textarea {
        font-size: 1rem;
    }



    .toggle-button {
        font-size: 1.3rem;
        /* Fallback */
        font-size: clamp(1.3rem, 3vw, 1.8rem);
    }


    .toggle-impressum p {
        font-size: 1rem;
        /* Fallback */
        font-size: clamp(1.3rem, 3vw, 1.8rem);
    }
}

/* Wichtige Regel für altes iPhone Safari iOS */
html.old-ios .ah-pp-btn {
    width: var(--width);
    height: var(--height);
    position: relative;
}

/* OLD iOS: About-Text etwas höher setzen (falls du NICHT global 7% willst) */
html.old-ios .about-slide-text {
    bottom: 12%;
}

@media all and (orientation: portrait) {

    html.ios-safari.old-ios .g-h-overlay-wrapper {
        margin-bottom: 75px;
        /* Abstand zur unteren Leiste auf iPhone iOS alt */
    }
}

@media (max-width: 620px) and (orientation: portrait) {
    html.old-ios .album-part {
        margin-bottom: 20px;
    }
}

@media (max-width: 926px) and (orientation: landscape) {
    html.old-ios .about-slide-text {
        bottom: 5%;
    }
}

/* Tap-Ziel des Burger-Icons für alte iOS-Geräte vergrößern */
html.old-ios .burger-icon {
    padding: 8px 10px;
    /* mehr Fläche um die Linien herum */
    margin-right: -10px;
    /* falls das Layout sonst rutscht */
}

/* Checkbox selbst als größeres unsichtbares Tap-Ziel */
html.old-ios #menu-toggle {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 20px;
    /* an dein Layout anpassen */
    right: 24px;
    opacity: 0;
    /* unsichtbar, aber tappbar */
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: "TG-Futura-Book", system-ui, sans-serif;
    font-size: clamp(1.27rem, 1.9vw, 1.8rem);
    line-height: 1;
    transform: translateY(-0.07em);
}

.lang-link {
    color: rgb(255, 218, 0);
    text-decoration: none;
    padding: 0;
    transition: color 0.2s ease;
    cursor: pointer;
}

.lang-link:hover {
    color: #ffffff;
}

.lang-link.active {
    color: #ffffff;
    font-weight: 700;
    pointer-events: none;
    cursor: default;
}

.lang-switcher span {
    color: rgb(255, 218, 0);
    user-select: none;
    padding: 0 0.1rem;
    line-height: 1;
}

/* Desktop: rechts neben den Menülinks (optional, falls Flex-Order genutzt wird) */
@media (min-width: 921px) {
    .lang-switcher {
        order: 2;
        margin-left: 2rem;
    }
}

/* Korrektur Link Album „Hybris“ */
#menu-item-709 {
    transform: translateY(-0.37em);
}

/* Mobile: DE|EN nur anzeigen, wenn Burger offen (neben dem X) */
@media (max-width: 1023px) {
    .lang-switcher {
        position: absolute;
        top: 2rem;
        right: 5em;
        z-index: 120;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    #menu-toggle:checked~.lang-switcher {
        opacity: 1;
        pointer-events: auto;
    }
}