/*
Theme Name:  ToriiWerk
Description: ToriiWerk – Manufaktur für japanische Torii-Tore. Child-Theme auf Basis von Kadence.
Template:    kadence
Version:     1.0.0
Text Domain: kadence-child
Author:      ToriiWerk / Asia Art Factory
*/

/* ============================================================
   FARBPALETTE – Warm-Weiß mit Japanrot-Akzent
   Kadence CSS-Variablen werden hier für das gesamte Theme gesetzt.
   ============================================================ */
html {
    font-size: 17px; /* Basis angehoben von 16px; alle rem-Werte skalieren mit */
}

:root {
    /* Primärfarben */
    --global-palette1: #C0341D;   /* Torii-Rot – Hauptakzent */
    --global-palette2: #9B2918;   /* Dunkleres Rot – Hover */
    --global-palette3: #1A1815;   /* Tiefes Warmcharcoal – Überschriften */
    --global-palette4: #2E2A27;   /* Dunkles Warmbraun */
    --global-palette5: #5C5550;   /* Mittleres Warmgrau – Fließtext */
    --global-palette6: #8C8580;   /* Helles Warmgrau */
    --global-palette7: #EAE4DC;   /* Warmbeige – Trennlinien */
    --global-palette8: #F5F0E8;   /* Sehr helles Warm-Weiß */
    --global-palette9: #FDFAF6;   /* Hintergrundf. Körper */

    /* Link & Highlight */
    --global-palette-highlight:      #C0341D;
    --global-palette-highlight-alt:  #9B2918;
    --global-palette-highlight-alt2: rgba(192, 52, 29, 0.15);

    /* Button */
    --global-palette-btn:         #FDFAF6;
    --global-palette-btn-hover:   #FDFAF6;
    --global-palette-btn-bg:      #C0341D;
    --global-palette-btn-bg-hover:#9B2918;

    /* Schriften */
    --global-heading-font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --global-body-font-family:    'Jost', 'Helvetica Neue', Arial, sans-serif;
    --global-fallback-font:       serif;

    /* Einheitliche Hero-Höhe für alle Unterseiten */
    --tw-hero-height:        420px;
    --tw-hero-height-mobile: 240px;
}

/* ============================================================
   GRUNDLAYOUT
   ============================================================ */
html,
body {
    background-color: var(--global-palette9);
    color: var(--global-palette5);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   TYPOGRAFIE
   ============================================================ */
body,
p,
li,
td,
input,
textarea,
select {
    font-family: var(--global-body-font-family);
    font-weight: 400;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
    font-family: var(--global-heading-font-family);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--global-palette3);
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }

/* ============================================================
   HEADER – Elegant, minimal
   ============================================================ */

/* ============================================================
   HEADER – Original (transparent, minimal)
   ============================================================ */
.site-header,
#masthead {
    background-color: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Header Unterseiten: voller Hintergrund, saubere Linie nach unten */
body:not(.tw-frontpage) .site-header,
body:not(.tw-frontpage) #masthead {
    background-color: var(--global-palette9) !important;
    border-bottom: 1px solid var(--global-palette7) !important;
}





.header-main-inner .site-branding,
.header-main-inner .site-header-inner {
    justify-content: center;
}

.primary-navigation a,
.main-navigation a {
    color: var(--global-palette3);
    font-family: var(--global-body-font-family);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.primary-navigation a:hover,
.main-navigation a:hover {
    color: var(--global-palette1);
}

/* Kein Gap zwischen Header und Hero */
.tw-mfk-hero {
    margin-top: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.wp-block-button__link,
.button,
a.button,
input[type="submit"],
.kadence-button,
.kt-button {
    font-family: var(--global-body-font-family);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

/* Outline-Button-Stil (für Primäre CTAs auf Frontpage) */
.btn-outline {
    display: inline-block;
    padding: 12px 36px;
    border: 1px solid var(--global-palette3);
    background: transparent;
    color: var(--global-palette3);
    font-family: var(--global-body-font-family);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-outline:hover {
    background: var(--global-palette3);
    color: var(--global-palette9);
}
.btn-outline--red {
    border-color: var(--global-palette1);
    color: var(--global-palette1);
}
.btn-outline--red:hover {
    background: var(--global-palette1);
    color: var(--global-palette9);
}

/* ============================================================
   LINKS
   ============================================================ */
a {
    color: var(--global-palette1);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--global-palette2); }

/* ============================================================
   FRONTPAGE – HERO
   ============================================================ */
.tw-hero {
    position: relative;
    min-height: 115svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #F0E8DF;
}

.tw-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    /* Torii-Gate weiter oben positionieren */
    background-position: center 46%;
    background-repeat: no-repeat;
}
.tw-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Stärkerer Overlay – wäscht Design-Elemente im Hintergrund aus */
    background: linear-gradient(
        to bottom,
        rgba(253, 250, 246, 0.70) 0%,
        rgba(253, 250, 246, 0.30) 35%,
        rgba(253, 250, 246, 0.30) 65%,
        rgba(253, 250, 246, 0.75) 100%
    );
}

.tw-hero__logo-block {
    position: absolute;
    top: clamp(3rem, 8vh, 6rem);
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
}
.tw-hero__icon {
    width: 52px;
    height: auto;
    display: block;
    margin: 0 auto 0.6rem;
}
.tw-hero__logo-name {
    font-family: var(--global-heading-font-family);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--global-palette3);
    line-height: 1;
}

.tw-hero__bottom {
    position: absolute;
    bottom: 28%;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 0 1.5rem;
}

.tw-hero__scroll {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--global-palette5);
    opacity: 0.65;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.tw-hero__scroll.is-hidden {
    opacity: 0;
}
.tw-hero__scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 36px;
    background: var(--global-palette6);
}

.tw-hero__tagline {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    letter-spacing: -0.01em;
    margin: 0 0 1.75rem;
    line-height: 1.25;
}

/* ============================================================
   SEKTIONEN – Allgemein
   ============================================================ */
.tw-section {
    padding: clamp(4rem, 8vw, 8rem) 1.5rem;
}
.tw-section--alt {
    background-color: var(--global-palette8);
}
.tw-container {
    max-width: 1100px;
    margin: 0 auto;
}
.tw-container--narrow {
    max-width: 720px;
    margin: 0 auto;
}

.tw-section__label {
    font-family: var(--global-body-font-family);
    font-size: 0.72rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--global-palette1);
    margin-bottom: 1.25rem;
    display: block;
    opacity: 0.9;
}
.tw-section__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--global-palette3);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.tw-section__lead {
    font-size: 1.05rem;
    color: var(--global-palette5);
    line-height: 1.75;
    max-width: 600px;
}

/* Trennlinie – Architektonischer Akzent mit Fortschritts-Logik */
.tw-divider {
    --tw-divider-progress: 20px;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, var(--global-palette1) var(--tw-divider-progress), var(--global-palette7) var(--tw-divider-progress));
    margin: 2.5rem 0;
    transition: background 0.4s ease;
}

/* Fortschritts-Stufen */
.tw-step-1 { --tw-divider-progress: 20px; }
.tw-step-2 { --tw-divider-progress: 30px; }
.tw-step-3 { --tw-divider-progress: 40px; }
.tw-step-4 { --tw-divider-progress: 50px; }
.tw-step-5 { --tw-divider-progress: 60px; }
.tw-step-6 { --tw-divider-progress: 70px; }
.tw-step-7 { --tw-divider-progress: 80px; }

.tw-divider--red { 
    --tw-divider-progress: 80px;
    opacity: 0.85; 
}

/* ============================================================
   SEKTION 2 – WAS WIR TUN
   ============================================================ */
.tw-leistungen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.tw-leistung {
    text-align: center;
}
.tw-leistung__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    opacity: 0.7;
}
.tw-leistung__title {
    font-family: var(--global-heading-font-family);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--global-palette3);
    margin-bottom: 0.75rem;
}
.tw-leistung__text {
    font-size: 0.9rem;
    color: var(--global-palette5);
    line-height: 1.7;
}

/* ============================================================
   SEKTION 3 – TORII-WELTEN (Typologien)
   ============================================================ */
.tw-typologien {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
    margin-top: 3rem;
}
.tw-typologie {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: var(--global-palette7);
    cursor: pointer;
}
.tw-typologie__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.tw-typologie:hover .tw-typologie__bg {
    transform: scale(1.04);
}
.tw-typologie__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,24,21,0.6) 0%, transparent 60%);
}
.tw-typologie__content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    color: #FDFAF6;
}
.tw-typologie__title {
    font-family: var(--global-heading-font-family);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}
.tw-typologie__sub {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.75;
}

/* ============================================================
   SEKTION 4 – STANDARD / MASSANFERTIGUNG
   ============================================================ */
.tw-varianten {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}
@media (max-width: 680px) {
    .tw-varianten { grid-template-columns: 1fr; gap: 3rem; }
}
.tw-variante__label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--global-palette6);
    margin-bottom: 0.75rem;
    display: block;
}
.tw-variante__title {
    font-family: var(--global-heading-font-family);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--global-palette3);
    margin-bottom: 1.5rem;
}
.tw-variante__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.tw-variante__list li {
    font-size: 0.9rem;
    color: var(--global-palette5);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--global-palette7);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.tw-variante__list li::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--global-palette1);
    flex-shrink: 0;
}

/* ============================================================
   SEKTION 5 – GALERIE
   ============================================================ */
.tw-galerie {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 4px;
    margin-top: 3rem;
}
.tw-galerie__item {
    overflow: hidden;
    background-color: var(--global-palette7);
}
.tw-galerie__item:nth-child(1) { grid-column: span 7; aspect-ratio: 4/3; }
.tw-galerie__item:nth-child(2) { grid-column: span 5; aspect-ratio: 3/4; grid-row: span 2; }
.tw-galerie__item:nth-child(3) { grid-column: span 4; aspect-ratio: 1/1; }
.tw-galerie__item:nth-child(4) { grid-column: span 3; aspect-ratio: 1/1; }
.tw-galerie__item img,
.tw-galerie__item .tw-galerie__ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.tw-galerie__item:hover img { transform: scale(1.03); }

/* Galerie Placeholder */
.tw-galerie__ph {
    background: linear-gradient(135deg, var(--global-palette7), var(--global-palette8));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--global-palette6);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .tw-galerie { grid-template-columns: 1fr 1fr; }
    .tw-galerie__item { grid-column: span 1 !important; grid-row: span 1 !important; aspect-ratio: 1/1 !important; }
}

/* ============================================================
   SEKTION 6 – KARTE
   ============================================================ */
.tw-karte-wrapper {
    margin-top: 3rem;
    background-color: var(--global-palette8);
    border: 1px solid var(--global-palette7);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--global-palette6);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* ============================================================
   SEKTION 7 – AUFBAU & MONTAGE
   ============================================================ */
.tw-montage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
@media (max-width: 768px) {
    .tw-montage { grid-template-columns: 1fr; gap: 3rem; }
}
.tw-montage__image {
    aspect-ratio: 4/5;
    background-color: var(--global-palette7);
    overflow: hidden;
}
.tw-montage__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tw-montage__facts {
    margin-top: 2rem;
}
.tw-montage__fact {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--global-palette7);
}
.tw-montage__fact:first-child { border-top: 1px solid var(--global-palette7); }
.tw-montage__fact-title {
    font-family: var(--global-heading-font-family);
    font-size: 1.1rem;
    color: var(--global-palette3);
    margin-bottom: 0.25rem;
}
.tw-montage__fact-text {
    font-size: 0.88rem;
    color: var(--global-palette5);
    line-height: 1.6;
}

/* ============================================================
   SEKTION 8 – SHOP-TEASER
   ============================================================ */
.tw-shop-teaser {
    text-align: center;
    padding: clamp(4rem, 8vw, 7rem) 1.5rem;
    background-color: var(--global-palette8);
}
.tw-shop-teaser .tw-divider { margin: 1.5rem auto; }
.tw-shop-teaser__sub {
    font-size: 0.9rem;
    color: var(--global-palette5);
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
}
.tw-shop-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}
.tw-shop-card {
    width: 240px;
    text-align: center;
}
.tw-shop-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 3/4;
    background-color: var(--global-palette7);
    margin-bottom: 1rem;
    overflow: hidden;
}
.tw-shop-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tw-shop-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}
.tw-shop-card__title a:hover { color: var(--global-palette1); }
.tw-shop-card__title {
    font-family: var(--global-heading-font-family);
    font-size: 1.1rem;
    color: var(--global-palette3);
    margin-bottom: 0.25rem;
}
.tw-shop-card__price {
    font-size: 0.85rem;
    color: var(--global-palette5);
    margin-bottom: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
#colophon {
    border-top: 1px solid var(--global-palette7);
    background-color: var(--global-palette9);
}
.footer-bottom-wrap {
    font-size: 0.78rem;
    color: var(--global-palette6);
    letter-spacing: 0.05em;
}

/* ============================================================
   HEADER AUF DER FRONTPAGE – Transparent über dem Hero
   ============================================================ */

/* Mobil: Logo im Header ausblenden – es erscheint bereits im Hero */
@media (max-width: 767px) {
    .tw-frontpage .site-branding {
        display: none !important;
    }
}

/* Mobiles Menü: aktive Einträge mit rotem linken Akzentbalken */
@media (max-width: 1024px) {
    .mobile-navigation .current-menu-item > a,
    .mobile-navigation .current-page-ancestor > a,
    .mobile-navigation .current-menu-ancestor > a,
    .kadence-mobile-nav .current-menu-item > a,
    .kadence-mobile-nav .current-page-ancestor > a {
        color: #fdfaf6 !important;
        border-left: 3px solid #C0341D;
        padding-left: 0.75rem !important;
    }
}

.tw-frontpage .site-header,
.tw-frontpage #masthead {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent !important;
}

/* Damit der Hero die volle Höhe einnimmt trotz abs. positioniertem Header */
.tw-frontpage .tw-hero {
    padding-top: 0;
}

/* ============================================================
   RESPONSIV – Mobile First
   ============================================================ */
@media (max-width: 480px) {
    .tw-hero__tagline { font-size: 1.5rem; margin: 2rem 0 2rem; }
    .tw-leistungen { grid-template-columns: 1fr; gap: 2rem; }
    .tw-typologien { grid-template-columns: 1fr; }
    .tw-galerie { gap: 2px; }
}

/* ============================================================
   KADENCE-DEFAULTS ÜBERSCHREIBEN
   Einzelne Elemente aus dem Parent-Theme zurücksetzen
   ============================================================ */
.wp-site-blocks > .alignfull { margin-left: 0; margin-right: 0; }
.is-root-container { padding: 0 !important; }

/* Kadence setzt box-shadow auf .entry – entfernen */
.entry.single-entry,
.entry.loop-entry { box-shadow: none !important; }

/* ============================================================
   MANUFAKTUR – Layout-Korrekturen
   ============================================================ */

/* Manufaktur-Seite: Content-Bereich nach dem Hero */
.page-id-61-content.content-area {
    margin-top: 0 !important;
}
.tw-mfk-content-wrap {
    padding: 0 !important;
}

/* Header Option B: kein roter Rand */
.tw-cover-b { border-top: none !important; }

/* ============================================================
   MANUFAKTUR HERO – SSR Block tw/manufaktur-hero
   ============================================================ */
/* Hero */
.tw-mfk-hero {
    position: relative;
    width: 100%;
    min-height: var(--tw-hero-height);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: 50% 28%;
    background-repeat: no-repeat;
}
/* Gleichmäßiges Overlay */
.tw-mfk-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,24,21,0.25);
    z-index: 1;
}
/* Kanji: vertikal im Band, rechts */
.tw-mfk-hero__kanji {
    position: absolute;
    bottom: 0.4rem;
    left: calc(50% - 550px + 0.5rem);
    top: auto;
    right: auto;
    transform: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0;
    color: rgba(253,250,246,0.45);
    z-index: 4;
    pointer-events: none;
    line-height: 1;
    height: 2.4rem;
    width: 1.8rem;
    overflow: hidden;
    padding: 0;
}
/* Content-Block: nicht mehr im Flow nötig */
.tw-mfk-hero__content {
    position: relative;
    z-index: 2;
    padding: 0;
    background: none;
}
/* Label: ausgeblendet */
.tw-mfk-hero__label { display: none; }
/* Heading: im Band, links */
.tw-mfk-hero__heading {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: auto;
    writing-mode: horizontal-tb;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.1em;
    text-transform: none;
    color: rgba(253,250,246,0.9);
    margin: 0;
    line-height: 1;
    text-align: left;
    background: rgba(26,24,21,0.55);
    padding: 0.9rem 2.5rem;
    padding-left: calc(50% - 550px + 3.6rem);
    text-shadow: none;
    z-index: 3;
}
/* Separator: ausgeblendet */
.tw-mfk-hero__sep { display: none; }
/* Subtitle: ausgeblendet – Heading übernimmt das Band */
.tw-mfk-hero__subtitle { display: none; }
/* Stats-Band */
.tw-mfk-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.tw-mfk-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0 1.6rem;
}
.tw-mfk-hero__stat-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    color: #fdfaf6;
    line-height: 1;
}
.tw-mfk-hero__stat-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(234,228,220,0.5);
}
.tw-mfk-hero__stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(253,250,246,0.15);
    flex-shrink: 0;
}
@media (max-width: 767px) {
    .tw-mfk-hero__stat { padding: 0 1rem; }
    .tw-mfk-hero__stat-num { font-size: 1.5rem; }
}
@media (max-width: 767px) {
    .tw-mfk-hero { min-height: var(--tw-hero-height-mobile); }

    /* Subtitle ausblenden */
    .tw-mfk-hero__subtitle { display: none; }

    /* Heading im Band */
    .tw-mfk-hero__heading {
        position: absolute;
        bottom: 0; left: 0; right: 0;
        top: auto;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 1.3rem;
        letter-spacing: 0.1em;
        text-align: left;
        background: rgba(26,24,21,0.50);
        padding: 0.7rem 1.5rem;
        padding-left: calc(1rem + 1.4rem + 1rem);
        color: rgba(253,250,246,0.85);
        text-shadow: none;
    }

    /* Kanji im Band, vor Manufaktur */
    .tw-mfk-hero__kanji {
        position: absolute;
        bottom: 0.5rem;
        left: 1rem;
        top: auto;
        right: auto;
        transform: none;
        font-size: 1.4rem;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        height: 1.6rem;
        width: 1.4rem;
        overflow: hidden;
        line-height: 1;
        padding: 0;
        color: rgba(253,250,246,0.45);
        z-index: 4;
    }
}

/* Header Option C: Split – Bild links, Textblock rechts */
.tw-cover-c {
    min-height: 380px;
}
.tw-cover-c .wp-block-media-text__media {
    min-height: 380px;
}
.tw-cover-c .wp-block-media-text__media img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: 50% 28% !important;
}
.tw-cover-c .wp-block-media-text__content {
    background-color: #F5F0E8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3.5rem !important;
    min-height: 380px;
}
.tw-cover-c .wp-block-media-text__content h1 {
    margin-bottom: 0;
}

/* ============================================================
   MANUFAKTUR – Mobile Optimierung
   ============================================================ */
@media (max-width: 767px) {
    .page-id-61 .wp-block-spacer[style*="60px"] { height: 20px !important; }

    /* Cover-Block: weniger Höhe auf Mobile */
    .page-id-61 .wp-block-cover.alignfull {
        min-height: 260px !important;
    }
    /* Heading im Cover kleiner */
    .page-id-61 .wp-block-cover h1 {
        font-size: 2rem !important;
        margin-bottom: 0.4rem;
    }
    .page-id-61 .wp-block-cover p {
        font-size: 0.9rem !important;
    }
    /* Spalten untereinander statt nebeneinander */
    .page-id-61 .wp-block-columns {
        flex-direction: column !important;
    }
    .page-id-61 .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }
    /* Bilder auf Mobile: weniger hoch */
    .page-id-61 .wp-block-image img {
        height: 220px;
    }
    /* Stat-Zahlen auf Mobile: kleiner */
    .tw-stat__number { font-size: 2.4rem; }
    /* Mehr Luft bei Sektionen auf Mobile */
    .page-id-61 .wp-block-group.alignwide,
    .page-id-61 .wp-block-columns.alignwide {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* Kein Abstand oben auf Frontpage (wegen transparentem Header) */
.tw-frontpage .site-main { margin-top: 0 !important; padding-top: 0 !important; }
.tw-frontpage .content-container { padding: 0 !important; }
.tw-frontpage .entry-content { margin: 0 !important; padding: 0 !important; }

/* Unterseiten: Content-Offset passend zur Startseite */
.page-id-61-content .entry-content-wrap,
.tw-mfk-content-wrap {
    padding: 0 !important;
    box-shadow: none !important;
}
.page-id-61-content .entry.single-entry {
    box-shadow: none !important;
    background: transparent !important;
}
.page-id-61-content .content-container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* Scrollbar verfeinern */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--global-palette9); }
::-webkit-scrollbar-thumb { background: var(--global-palette7); border-radius: 3px; }

/* ============================================================
   MANUFAKTUR-SEITE – Akzent-Elemente & Typografie
   ============================================================ */

/* Kleines rotes Label über Überschriften */
.tw-label {
    display: block;
    font-family: var(--global-body-font-family);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--global-palette1);
    margin-bottom: 1rem;
}

/* Kurze rote Linie unter Überschriften */
.tw-accent-line {
    display: none;
}

/* Akzentlinie entfernt – konsistenz über alle Seiten */
.tw-label--accent::after {
    display: none;
}

/* Philosophie-Block */
.tw-phil {
    padding-top: 0.25rem;
}
.tw-phil .tw-label {
    margin-bottom: 1.5rem;
}
.tw-phil__statement {
    font-family: var(--global-body-font-family);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75;
    color: var(--global-palette5);
    margin: 0 0 2rem;
}
.tw-phil__rule {
    border: none;
    border-top: 1px solid var(--global-palette7);
    margin: 0 0 1.25rem;
}
.tw-phil__keywords {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--global-palette3);
    letter-spacing: 0.04em;
    margin: 0.5rem 0 1rem;
}
.tw-phil__body {
    font-size: 0.9rem;
    color: var(--global-palette6);
    line-height: 1.75;
    margin: 0;
}

/* Werte-Block: dünne Trennlinie + graue Caption */
.tw-werte-block {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--global-palette7);
}
.tw-werte-block--first {
    margin-top: 0.75rem;
    border-top: none;
    padding-top: 0;
}
.tw-werte-caption {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--global-palette6);
    margin-bottom: 0.55rem;
}
.tw-werte-block p {
    margin: 0;
    color: var(--global-palette5);
    line-height: 1.75;
}

/* 2×2-Werte-Raster */
.tw-werte-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 1.5rem;
    margin-top: 0.75rem;
}
.tw-werte-grid span {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--global-palette3);
    letter-spacing: 0.03em;
}
.tw-werte-grid span::before {
    content: '·';
    color: var(--global-palette1);
    margin-right: 0.45em;
    font-style: normal;
}

/* Lead-Absatz: erster größerer Einleitungstext */
p.tw-lead,
.tw-lead > p {
    font-size: 1.13rem;
    line-height: 1.8;
    color: var(--global-palette4);
}

/* Highlight-Box mit linkem roten Rand */
.tw-highlight {
    border-left: 3px solid #C0341D;
    padding: 1.1rem 1.6rem;
    background: #F5F0E8;
    margin: 1.75rem 0;
}
.tw-highlight p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.28rem;
    font-style: italic;
    line-height: 1.65;
    color: var(--global-palette3);
    margin: 0;
}

/* Kennzahlen / Stats */
.tw-stat {
    text-align: center;
    padding: 1.5rem 1rem;
}
.tw-stat__number {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.2rem;
    font-style: italic;
    color: #C0341D;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.tw-stat__label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--global-palette5);
}

/* Stats-Band (tw/stats-band Block) */
.tw-stats-band {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F0E8;
    padding: 3rem 2rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.tw-stats-band__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0 2.5rem;
    text-align: center;
}
.tw-stats-band__num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.6rem;
    font-weight: 300;
    font-style: italic;
    color: #C0341D;
    line-height: 1;
    letter-spacing: -0.01em;
}
.tw-stats-band__label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--global-palette5);
    opacity: 0.8;
}
.tw-stats-band__divider {
    width: 1px;
    height: 32px;
    background: var(--global-palette7);
    flex-shrink: 0;
    opacity: 0.4;
}
@media (max-width: 767px) {
    .tw-stats-band { flex-direction: row; flex-wrap: nowrap; gap: 0; padding: 1.5rem 1rem; justify-content: space-around; }
    .tw-stats-band__divider { display: none; }
    .tw-stats-band__item { padding: 0 0.5rem; flex: 1; }
    .tw-stats-band__num { font-size: 1.8rem; }
    .tw-stats-band__label { font-size: 0.58rem; letter-spacing: 0.12em; }
}

/* FAQ – gestylt */
.tw-faq .wp-block-details {
    border-top: 1px solid var(--global-palette7);
    padding: 1.1rem 0;
}
.tw-faq .wp-block-details:last-child {
    border-bottom: 1px solid var(--global-palette7);
}
.tw-faq .wp-block-details summary {
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--global-palette3);
}
.tw-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.tw-faq .wp-block-details summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #C0341D;
    flex-shrink: 0;
    margin-left: 1rem;
}
.tw-faq .wp-block-details[open] summary::after { content: '−'; }
.tw-faq .wp-block-details p {
    margin-top: 0.65rem;
    color: var(--global-palette5);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* CTA-Button Torii-Rot – Outline-Stil, passend zur Startseite */
.tw-btn-red .wp-block-button__link,
.tw-btn-red .wp-element-button {
    background: transparent !important;
    color: #C0341D !important;
    border: 1px solid #C0341D !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.15em;
    padding: 12px 36px;
    border-radius: 0 !important;
    transition: background-color 0.2s;
}
.tw-btn-red .wp-block-button__link:hover,
.tw-btn-red .wp-element-button:hover {
    background-color: #C0341D !important;
    color: #FDFAF6 !important;
}

/* Absatz-Farbhierarchie: erster Absatz dunkler, Folgeabsätze heller */
.page-id-61 .wp-block-columns:first-of-type .wp-block-column:first-child .wp-block-paragraph:first-child p {
    color: var(--global-palette4);
}
.page-id-61 .wp-block-columns:first-of-type .wp-block-column:first-child .wp-block-paragraph:not(:first-child) p {
    color: var(--global-palette5);
}

/* Bilder auf der Manufaktur-Seite: einheitliche Höhe */
.page-id-61 .wp-block-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* ============================================================
   SHOP-INTRO (kein Bild-Hero)
   ============================================================ */
.tw-shop-intro {
    background-color: var(--global-palette8);
    padding: 3rem 1.5rem 2.5rem;
    border-bottom: 1px solid var(--global-palette7);
}
.tw-shop-intro__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.tw-shop-intro__kanji {
    display: block;
    font-family: var(--global-heading-font-family);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--global-palette1);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 0.6rem;
}
.tw-shop-intro__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0 0 1.25rem;
    line-height: 1.2;
}
.tw-shop-intro__rule {
    width: 48px;
    height: 1px;
    background: var(--global-palette1);
    margin-bottom: 1.25rem;
}
.tw-shop-intro__lead {
    font-size: 0.95rem;
    color: var(--global-palette5);
    line-height: 1.75;
    margin: 0;
    max-width: 560px;
}

/* ============================================================
   TORII-HAUPTSEITE
   ============================================================ */

.tw-torii-hero {
    position: relative;
    width: 100%;
    min-height: var(--tw-hero-height);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: 50% 28%;
    background-repeat: no-repeat;
    background-color: var(--global-palette8);
}
.tw-torii-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,24,21,0.25);
    z-index: 1;
}
.tw-torii-hero__kanji {
    position: absolute;
    bottom: 0.4rem;
    left: calc(50% - 550px + 0.5rem);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: rgba(253,250,246,0.45);
    z-index: 4;
    pointer-events: none;
    line-height: 1;
    height: 2.4rem;
    width: 1.8rem;
    overflow: hidden;
    padding: 0;
}
.tw-torii-hero__heading {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.1em;
    color: rgba(253,250,246,0.9);
    margin: 0;
    line-height: 1;
    background: rgba(26,24,21,0.55);
    padding: 0.9rem 2.5rem;
    padding-left: calc(50% - 550px + 3.6rem);
    z-index: 3;
}
.tw-torii-hero__content { display: none; }
.tw-torii-hero__subtitle { display: none; }
@media (max-width: 767px) {
    .tw-torii-hero { min-height: var(--tw-hero-height-mobile); }
    .tw-torii-hero__heading {
        font-size: 1.3rem;
        padding: 0.7rem 1.5rem;
        padding-left: calc(1rem + 1.4rem + 1rem);
    }
    .tw-torii-hero__kanji {
        bottom: 0.5rem;
        left: 1rem;
        font-size: 1.4rem;
        height: 1.6rem;
        width: 1.4rem;
        z-index: 4;
    }
}

/* Einleitung (alt, nicht mehr aktiv) */
.tw-torii-intro {
    padding: 4.5rem 1.5rem;
    text-align: center;
}
.tw-torii-intro__inner {
    max-width: 660px;
    margin: 0 auto;
}
.tw-torii-intro__text {
    font-size: 1.05rem;
    color: var(--global-palette5);
    line-height: 1.85;
    margin: 0;
}

/* ── Übergang ───────────────────────────────────────────────── */
.tw-torii-uebergang {
    padding: 6rem 1.5rem;
    background: var(--global-palette9);
    border-bottom: 1px solid var(--global-palette7);
}
.tw-torii-uebergang__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5rem;
    align-items: center;
}
.tw-torii-uebergang__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    line-height: 1.3;
    margin: 0.75rem 0 2rem;
}
.tw-torii-uebergang__body p {
    font-size: 0.97rem;
    color: var(--global-palette5);
    line-height: 1.9;
    margin: 0 0 1rem;
    max-width: 600px;
}
.tw-torii-uebergang__body p:last-child { margin-bottom: 0; }
.tw-torii-uebergang__zitat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding-left: 3rem;
    border-left: 1px solid var(--global-palette7);
}
.tw-torii-uebergang__zitat-kanji {
    font-family: var(--global-heading-font-family);
    font-size: clamp(4rem, 7vw, 6.5rem);
    font-weight: 300;
    color: var(--global-palette3);
    opacity: 0.18;
    line-height: 1;
}
.tw-torii-uebergang__zitat-text {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--global-palette6);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* ── Proportion ─────────────────────────────────────────────── */
.tw-torii-proportion {
    padding: 6rem 1.5rem;
    background: var(--global-palette8);
    border-top: 1px solid var(--global-palette7);
    border-bottom: 1px solid var(--global-palette7);
}
.tw-torii-proportion__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}
.tw-torii-proportion__quote {
    border-left: 2px solid var(--global-palette1);
    padding-left: 2.5rem;
}
.tw-torii-proportion__quote p {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-style: italic;
    font-weight: 400;
    color: var(--global-palette3);
    line-height: 1.6;
    margin: 0;
}
.tw-torii-proportion__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--global-palette3);
    margin: 0.75rem 0 1.5rem;
    line-height: 1.25;
}
.tw-torii-proportion__text p {
    font-size: 0.97rem;
    color: var(--global-palette5);
    line-height: 1.85;
    margin: 0 0 1rem;
}
.tw-torii-proportion__text p:last-child { margin-bottom: 0; }

/* ── Vier Wirkungstypen ─────────────────────────────────────── */
.tw-torii-wirkung {
    padding: 6rem 1.5rem;
    background: var(--global-palette9);
    border-bottom: 1px solid var(--global-palette7);
}
.tw-torii-wirkung__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.tw-torii-wirkung__header {
    text-align: center;
    margin-bottom: 4rem;
}
.tw-torii-wirkung__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0.75rem 0 1rem;
}
.tw-torii-wirkung__lead {
    font-size: 0.97rem;
    color: var(--global-palette5);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}
.tw-torii-wirkung__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    background: var(--global-palette7);
    border: 1.5px solid var(--global-palette7);
}

/* Wirkungskarte */
.tw-wirkung-card {
    background: var(--global-palette9);
    padding: 3rem 2.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.25s;
}
.tw-wirkung-card:hover {
    background: var(--global-palette8);
}
.tw-wirkung-card__num {
    font-family: var(--global-heading-font-family);
    font-size: 4rem;
    font-weight: 300;
    color: var(--global-palette3);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: 1.5rem;
    user-select: none;
}
.tw-wirkung-card__title {
    font-family: var(--global-heading-font-family);
    font-size: 1.35rem;
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0 0 0.9rem;
}
.tw-wirkung-card__text {
    font-size: 0.92rem;
    color: var(--global-palette5);
    line-height: 1.85;
    margin: 0 0 1.5rem;
}
.tw-wirkung-card__tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.tw-wirkung-card__tags li {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--global-palette6);
    border: 1px solid var(--global-palette7);
    padding: 0.3rem 0.8rem;
}

/* ── Material & Oberfläche ──────────────────────────────────── */
.tw-torii-material {
    padding: 6rem 1.5rem;
    background: var(--global-palette8);
    border-top: 1px solid var(--global-palette7);
    border-bottom: 1px solid var(--global-palette7);
}
.tw-torii-material__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}
.tw-torii-material__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0.75rem 0 1.5rem;
    line-height: 1.25;
}
.tw-torii-material__text p {
    font-size: 0.97rem;
    color: var(--global-palette5);
    line-height: 1.85;
    margin: 0 0 1rem;
}
.tw-torii-material__text p:last-child { margin-bottom: 0; }
.tw-torii-material__liste {
    padding-top: 0.5rem;
}
.tw-torii-material__item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    align-items: baseline;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--global-palette7);
}
.tw-torii-material__item:first-child {
    border-top: 1px solid var(--global-palette7);
}
.tw-torii-material__item-label {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--global-palette6);
    font-weight: 500;
    white-space: nowrap;
}
.tw-torii-material__item-val {
    font-size: 0.93rem;
    color: var(--global-palette4);
    line-height: 1.55;
}

/* ── Statement ──────────────────────────────────────────────── */
.tw-torii-statement {
    padding: 7rem 1.5rem;
    background: var(--global-palette9);
    border-top: 1px solid var(--global-palette7);
    border-bottom: 1px solid var(--global-palette7);
    text-align: center;
}
.tw-torii-statement__inner {
    max-width: 720px;
    margin: 0 auto;
}
.tw-torii-statement__text {
    font-size: 0.97rem;
    color: var(--global-palette6);
    line-height: 1.9;
    margin: 0 0 3rem;
    font-style: italic;
}
.tw-torii-statement__text::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--global-palette6);
    margin: 2.5rem auto 0;
}
.tw-torii-statement__claim {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.7rem, 3.5vw, 2.9rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    line-height: 1.45;
    margin: 0;
}

/* ── Einstieg: Header ───────────────────────────────────────── */
.tw-torii-einstieg__header {
    text-align: center;
    padding: 5rem 0 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.tw-torii-einstieg__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0.75rem 0 0;
}

/* ── Shop-Teaser ────────────────────────────────────────────── */
.tw-torii-shop-teaser {
    padding: 5rem 1.5rem;
    background: var(--global-palette9);
    border-top: 1px solid var(--global-palette7);
}
.tw-torii-shop-teaser__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}
.tw-torii-shop-teaser__text { flex: 1; }
.tw-torii-shop-teaser__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0.5rem 0 1rem;
}
.tw-torii-shop-teaser__text p {
    font-size: 0.95rem;
    color: var(--global-palette5);
    line-height: 1.8;
    margin: 0;
    max-width: 500px;
}
.tw-torii-shop-teaser__btn {
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--global-palette1);
    border: 1px solid var(--global-palette1);
    text-decoration: none;
    padding: 0.85rem 2.5rem;
    transition: background 0.2s, color 0.2s;
}
.tw-torii-shop-teaser__btn:hover {
    background: var(--global-palette1);
    color: #fff;
}

/* Einstiegs-Kacheln */
.tw-torii-einstieg {
    padding: 0 1.5rem 5rem;
}
.tw-torii-einstieg__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.tw-torii-kachel {
    display: flex;
    flex-direction: column;
    padding: 3rem 2.5rem;
    background-color: var(--global-palette8);
    border: 1px solid var(--global-palette7);
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
.tw-torii-kachel:hover {
    background-color: var(--global-palette7);
    border-color: var(--global-palette6);
}
.tw-torii-kachel__label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--global-palette1);
    margin-bottom: 1rem;
}
.tw-torii-kachel__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0 0 1.25rem;
    line-height: 1.2;
}
.tw-torii-kachel__text {
    font-size: 0.93rem;
    color: var(--global-palette5);
    line-height: 1.75;
    flex: 1;
    margin: 0 0 2rem;
}
.tw-torii-kachel__cta {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--global-palette4);
    transition: color 0.2s ease;
}
.tw-torii-kachel:hover .tw-torii-kachel__cta {
    color: var(--global-palette1);
}

/* Sonderanfertigung */
.tw-torii-sonder {
    padding: 5rem 1.5rem;
    background-color: var(--global-palette7);
}
.tw-torii-sonder__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
.tw-torii-sonder__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    color: var(--global-palette3);
    margin: 0.5rem 0 1.5rem;
}
.tw-torii-sonder__lead {
    font-size: 1rem;
    color: var(--global-palette5);
    line-height: 1.8;
    margin-bottom: 1.75rem;
}
.tw-torii-sonder__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
}
.tw-torii-sonder__list li {
    font-size: 0.9rem;
    color: var(--global-palette4);
    padding: 0.5rem 0 0.5rem 1.25rem;
    border-bottom: 1px solid rgba(26,24,21,0.08);
    position: relative;
    line-height: 1.5;
}
.tw-torii-sonder__list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--global-palette1);
}
.tw-btn-sonder {
    display: inline-block;
    background: transparent;
    color: var(--global-palette1);
    border: 1px solid var(--global-palette1);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 36px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.tw-btn-sonder:hover {
    background-color: var(--global-palette1);
    color: var(--global-palette9);
}
.tw-torii-sonder__kanji {
    font-family: var(--global-heading-font-family);
    font-size: clamp(6rem, 10vw, 9rem);
    font-weight: 300;
    color: var(--global-palette1);
    opacity: 0.15;
    line-height: 1;
    user-select: none;
}

/* Projekt-Anker */
.tw-torii-projekte {
    padding: 5rem 1.5rem;
}
.tw-torii-projekte__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.tw-torii-projekte__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 3rem 0;
}
.tw-torii-projekt__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background-color: var(--global-palette7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--global-palette6);
    letter-spacing: 0.1em;
}
.tw-torii-projekt__body { padding-top: 1.5rem; }
.tw-torii-projekt__typ {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--global-palette1);
    margin-bottom: 0.5rem;
}
.tw-torii-projekt__title {
    font-family: var(--global-heading-font-family);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--global-palette3);
    margin: 0 0 0.75rem;
}
.tw-torii-projekt__text {
    font-size: 0.92rem;
    color: var(--global-palette5);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.tw-torii-projekt__link {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--global-palette4);
    text-decoration: none;
    transition: color 0.2s ease;
}
.tw-torii-projekt__link:hover { color: var(--global-palette1); }
.tw-torii-projekte__more { text-align: center; }

/* Mobil */
@media (max-width: 767px) {
    .tw-torii-einstieg__grid,
    .tw-torii-projekte__grid { grid-template-columns: 1fr; gap: 1rem; }
    .tw-torii-sonder__inner { grid-template-columns: 1fr; }
    .tw-torii-sonder__deco { display: none; }

    /* Neue Abschnitte */
    .tw-torii-uebergang { padding: 4rem 1.25rem; }
    .tw-torii-uebergang__inner { grid-template-columns: 1fr; gap: 3rem; }
    .tw-torii-uebergang__zitat { flex-direction: row; border-left: none; border-top: 1px solid var(--global-palette7); padding-left: 0; padding-top: 2rem; }
    .tw-torii-uebergang__zitat-text { writing-mode: horizontal-tb; }

    .tw-torii-proportion { padding: 4rem 1.25rem; }
    .tw-torii-proportion__inner { grid-template-columns: 1fr; gap: 3rem; }
    .tw-torii-proportion__quote { padding-left: 1.5rem; }

    .tw-torii-wirkung { padding: 4rem 1.25rem; }
    .tw-torii-wirkung__grid { grid-template-columns: 1fr; }
    .tw-wirkung-card { padding: 2.5rem 1.5rem; }

    .tw-torii-material { padding: 4rem 1.25rem; }
    .tw-torii-material__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .tw-torii-material__item { grid-template-columns: 100px 1fr; gap: 1rem; }

    .tw-torii-statement { padding: 5rem 1.25rem; }

    .tw-torii-shop-teaser { padding: 4rem 1.25rem; }
    .tw-torii-shop-teaser__inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .tw-torii-shop-teaser__btn { width: 100%; text-align: center; }

    .tw-torii-einstieg__header { padding: 4rem 0 2rem; }
}

/* =============================================================
   KONTAKT-SEITE
   ============================================================= */

.tw-kontakt-page {
    padding: 4rem 1.5rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.tw-kontakt-page__inner {
    max-width: 960px;
    margin: 0 auto;
}
.tw-kontakt-header {
    margin-bottom: 3rem;
}
.tw-kontakt-header__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-style: italic;
    font-weight: 400;
    color: var(--global-palette3);
    margin: 0 0 0.75rem;
}
.tw-kontakt-header__lead {
    font-size: 0.95rem;
    color: var(--global-palette5);
    margin: 0;
}

/* Grid: Info links, Formular rechts */
.tw-kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

/* Info-Spalte */
.tw-kontakt-info__block {
    margin-bottom: 2rem;
}
.tw-kontakt-info__label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--global-palette1);
    margin-bottom: 0.5rem;
}
.tw-kontakt-info__address {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--global-palette5);
    line-height: 1.8;
}
.tw-kontakt-info__tel,
.tw-kontakt-info__mail {
    font-size: 0.9rem;
    color: var(--global-palette4);
    text-decoration: none;
    transition: color 0.2s;
}
.tw-kontakt-info__tel:hover,
.tw-kontakt-info__mail:hover { color: var(--global-palette1); }
.tw-kontakt-info__text {
    font-size: 0.9rem;
    color: var(--global-palette5);
    margin: 0;
}

/* CF7 Formular-Styling */
.tw-kontakt-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.tw-kontakt-form .wpcf7-form p {
    margin: 0;
}
.tw-kontakt-form .wpcf7-form .hidden-fields-container {
    border: 0;
    padding: 0;
    margin: 0;
    min-inline-size: 0;
}
.tw-kontakt-form .wpcf7-form input[type="text"],
.tw-kontakt-form .wpcf7-form input[type="email"],
.tw-kontakt-form .wpcf7-form input[type="tel"],
.tw-kontakt-form .wpcf7-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--global-palette7);
    padding: 0.6rem 0;
    font-family: var(--global-body-font-family);
    font-size: 0.95rem;
    color: var(--global-palette3);
    outline: none;
    transition: border-color 0.2s;
    box-shadow: none;
    border-radius: 0;
    -webkit-appearance: none;
}
.tw-kontakt-form .wpcf7-form input[type="text"]:focus,
.tw-kontakt-form .wpcf7-form input[type="email"]:focus,
.tw-kontakt-form .wpcf7-form input[type="tel"]:focus,
.tw-kontakt-form .wpcf7-form textarea:focus {
    border-bottom-color: var(--global-palette1);
}
.tw-kontakt-form .wpcf7-form input::placeholder,
.tw-kontakt-form .wpcf7-form textarea::placeholder {
    color: var(--global-palette6);
    font-size: 0.9rem;
}
.tw-kontakt-form .wpcf7-form textarea {
    resize: vertical;
    min-height: 130px;
}
.tw-kontakt-form .wpcf7-form input[type="submit"] {
    align-self: flex-start;
    background: var(--global-palette1);
    color: #fff;
    border: none;
    padding: 0.85rem 2.5rem;
    font-family: var(--global-body-font-family);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0;
    width: auto;
    border-bottom: none;
}
.tw-kontakt-form .wpcf7-form input[type="submit"]:hover {
    background: var(--global-palette2);
}
.tw-kontakt-form .wpcf7-not-valid-tip {
    font-size: 0.75rem;
    color: var(--global-palette1);
    margin-top: 0.25rem;
}
/* CF7-Fehlerliste nur für Screenreader (sonst erscheinen die Meldungen
   sichtbar oben). Markierung an den Feldern (.wpcf7-not-valid-tip) reicht. */
.tw-kontakt-form .screen-reader-response {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
.tw-kontakt-form .wpcf7-response-output {
    font-size: 0.85rem;
    color: var(--global-palette5);
    border: 0;
    padding: 0;
    margin: 0;
}
.tw-kontakt-form .wpcf7-response-output:not(:empty) {
    padding: 0.75rem 1rem;
    border: 1px solid var(--global-palette7);
    margin-top: 1rem;
}

/* Mobil */
@media (max-width: 767px) {
    .tw-kontakt-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .tw-kontakt-form .wpcf7-form input[type="submit"] {
        width: 100%;
        text-align: center;
    }
}

/* =============================================================
   PRODUKT-EINZELSEITE (tw-product)
   ============================================================= */

/* WooCommerce-Tabs ausblenden */
.tw-product .woocommerce-tabs,
.tw-product .woocommerce-product-rating,
.tw-product .product_meta { display: none !important; }

/* Summary-Hooks-Inhalte unterdrücken (nur SEO-Daten bleiben) */
.tw-product .summary.entry-summary { display: none !important; }

/* Oberer Bereich: Bild + Summary */
/* Produktseite: Container auf 1200px, Artikel-Box entfernen */
.single-product .content-container.site-container {
    max-width: 1200px !important;
}
.single-product .content-area {
    margin-top: 2rem !important;
    margin-bottom: 3rem !important;
}
/* Produkt-Div hat entry-content-wrap class – Padding + Shadow entfernen */
.single-product .tw-product.type-product {
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
/* Breadcrumb bleibt mit Innenabstand */
.single-product .product-title.product-above {
    padding: 0 0 1rem;
}

/* Oberer Bereich: Flexbox – in Flex-Kontext werden WC-Floats und width:48% ignoriert */
.tw-product__top {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 1rem 0 4rem;
}

/* Gallery: flex-Anteil 3, WC-Eigenschaften werden in Flex-Kontext nicht wirksam */
.tw-product__top > .woocommerce-product-gallery {
    flex: 3 1 0%;
    min-width: 0;
    margin-bottom: 0;
}

/* Summary: flex-Anteil 2 */
.tw-product__summary {
    flex: 2 1 0%;
    min-width: 0;
    padding-left: 3rem;
    padding-top: 0.5rem;
}
/* flex-viewport auf volle Gallery-Breite – korrigiert Timing-Diskrepanz zwischen JS und CSS */
.tw-product__top .flex-viewport {
    width: 100% !important;
}

/* jQuery-Zoom-Overlay darf auf Touch-Geräten den Tap nicht abfangen,
   sonst öffnet PhotoSwipe unzuverlässig (mal ja, mal nein).
   Auf Desktop NICHT setzen, sonst flackert der Hover-Zoom. */
@media (hover: none) and (pointer: coarse) {
    .tw-product__top .zoomImg {
        pointer-events: none;
    }
}

/* Thumbnails */
.tw-product__top .flex-control-thumbs {
    margin-top: 0.75rem;
}
.tw-product__top .flex-control-thumbs li {
    padding: 2px;
}
.tw-product__top .flex-control-thumbs img {
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s;
    outline: 2px solid transparent;
    outline-offset: -2px;
    display: block;
    width: 100%;
}
.tw-product__top .flex-control-thumbs img:hover {
    opacity: 0.9;
}
.tw-product__top .flex-control-thumbs img.flex-active {
    opacity: 1 !important;
    outline: 2px solid var(--global-palette1) !important;
    border: none !important;
}

/* Summary Spalte */
.tw-product__cat {
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--global-palette1);
    margin-bottom: 0.75rem;
}
.tw-product__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-style: italic;
    font-weight: 400;
    color: var(--global-palette3);
    margin: 0 0 1.25rem;
    line-height: 1.15;
}
.tw-product__excerpt {
    font-size: 0.95rem;
    color: var(--global-palette5);
    line-height: 1.75;
    margin: 0 0 1.5rem;
    border-left: 2px solid var(--global-palette7);
    padding-left: 1.1rem;
}
.tw-product__price {
    font-family: var(--global-heading-font-family);
    font-size: 1.5rem;
    color: var(--global-palette3);
    margin-bottom: 2rem;
}
.tw-product__price .woocommerce-Price-amount { color: var(--global-palette3); }

/* Warenkorb-Button (primär) */
.single-product .tw-product__cart .single_add_to_cart_button,
.single-product .tw-product__cart button.button,
.single-product .tw-product__cart input[type="submit"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--global-palette1) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 1rem 2rem !important;
    font-family: var(--global-body-font-family) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    width: 100% !important;
    transition: background 0.2s !important;
    margin-bottom: 0.75rem !important;
    line-height: 1 !important;
}
.tw-product__cart .single_add_to_cart_button:hover,
.tw-product__cart button.button:hover {
    background: var(--global-palette2) !important;
    color: #fff !important;
}
.tw-product__cart .quantity { display: none; }
.tw-product__cart form.cart { margin: 0; }

/* Anfrage-Link (dezent, Ghost) */
.tw-product__btn-anfrage {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--global-palette5) !important;
    text-decoration: none;
    padding: 0.75rem 2rem;
    font-family: var(--global-body-font-family);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--global-palette7);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    margin-bottom: 0;
}
.tw-product__btn-anfrage:hover {
    background: var(--global-palette8);
    border-color: var(--global-palette4);
    color: var(--global-palette3) !important;
}

/* ── Beschreibung ──────────────────────────────────────────── */
.tw-product__description {
    background: var(--global-palette8);
    border-top: 1px solid var(--global-palette7);
    border-bottom: 1px solid var(--global-palette7);
    padding: 4rem 1.5rem;
}
.tw-product__description-inner {
    max-width: 720px;
    margin: 0 auto;
}

/* Beschreibungs-Sektionen */
.tw-product__description-inner h3,
.tw-product__description-inner h3 strong {
    font-family: var(--global-heading-font-family);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    color: var(--global-palette3);
    margin: 2.5rem 0 0.75rem;
    border-bottom: 1px solid var(--global-palette7);
    padding-bottom: 0.5rem;
    letter-spacing: 0;
}
.tw-product__description-inner h3:first-child { margin-top: 0; }

.tw-product__description-inner p {
    font-size: 0.97rem;
    color: var(--global-palette5);
    line-height: 1.85;
    margin: 0 0 1rem;
}
.tw-product__description-inner strong {
    color: var(--global-palette4);
    font-weight: 500;
}

/* ── Technische Daten ──────────────────────────────────────── */
.tw-product__specs {
    padding: 3.5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.tw-product__specs-inner {
    max-width: 600px;
}
.tw-product__specs-title {
    font-family: var(--global-heading-font-family);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 400;
    color: var(--global-palette3);
    margin: 0 0 0.75rem;
}
.tw-product__specs-rule {
    width: 48px;
    height: 1px;
    background: var(--global-palette1);
    margin-bottom: 2rem;
}
.tw-product__specs-list { margin: 0; padding: 0; }
.tw-product__specs-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid var(--global-palette7);
    padding: 0.65rem 0;
}
.tw-product__specs-key {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--global-palette6);
    font-weight: 500;
}
.tw-product__specs-val {
    font-size: 0.92rem;
    color: var(--global-palette4);
}

/* ── CTA-Band ──────────────────────────────────────────────── */
.tw-product__cta-band {
    background: var(--global-palette8);
    border-top: 1px solid var(--global-palette7);
    border-bottom: 1px solid var(--global-palette7);
    padding: 3rem 1.5rem;
}
.tw-product__cta-band-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: space-between;
}
.tw-product__cta-text {
    font-size: 0.97rem;
    color: var(--global-palette5);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}
/* CTA-Band: Anfrage-Button hebt sich durch Torii-Rot ab */
.tw-product__cta-band .tw-product__btn-anfrage {
    white-space: nowrap;
    flex-shrink: 0;
    width: auto;
    display: inline-block;
    background: var(--global-palette1) !important;
    color: #fff !important;
    border: none !important;
    padding: 0.9rem 2.5rem !important;
}

/* Related Products */
.tw-product .related.products,
.tw-product .upsells.products {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}
.tw-product .related.products h2,
.tw-product .upsells.products h2 {
    font-family: var(--global-heading-font-family);
    font-style: italic;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--global-palette3);
    margin-bottom: 1.5rem;
}

/* Mobil */
@media (max-width: 900px) {
    .tw-product__top {
        flex-direction: column;
        gap: 2.5rem;
        padding: 1rem 0 3rem;
    }
    .tw-product__top > .woocommerce-product-gallery,
    .tw-product__summary {
        flex: 1 1 auto;
        width: 100%;
        padding-left: 0;
    }
    .tw-product__gallery .woocommerce-product-gallery { position: static; }
    .tw-product__cta-band-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .tw-product__cta-band .tw-product__btn-anfrage { width: 100%; }
    .tw-product__specs-row { grid-template-columns: 140px 1fr; }
}

/* ============================================================
   NACH ANWENDUNG – Übersichtsseite
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.tw-anw-hero {
    position: relative;
    width: 100%;
    min-height: var(--tw-hero-height);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: 50% 35%;
    background-repeat: no-repeat;
    background-color: var(--global-palette8);
}
.tw-anw-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,24,21,0.25);
    z-index: 1;
}
.tw-anw-hero__kanji {
    position: absolute;
    bottom: 0.4rem;
    left: calc(50% - 550px + 0.5rem);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: rgba(253,250,246,0.45);
    z-index: 4;
    pointer-events: none;
    line-height: 1;
    height: 2.4rem;
    width: 1.8rem;
    overflow: hidden;
    padding: 0;
}
.tw-anw-hero__heading {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.1em;
    color: rgba(253,250,246,0.9);
    margin: 0;
    line-height: 1;
    background: rgba(26,24,21,0.55);
    padding: 0.9rem 2.5rem;
    padding-left: calc(50% - 550px + 3.6rem);
    z-index: 3;
}
@media (max-width: 767px) {
    .tw-anw-hero { min-height: var(--tw-hero-height-mobile); }
    .tw-anw-hero__heading {
        font-size: 1.3rem;
        padding: 0.7rem 1.5rem;
        padding-left: calc(1rem + 1.4rem + 1rem);
    }
    .tw-anw-hero__kanji {
        bottom: 0.5rem;
        left: 1rem;
        font-size: 1.4rem;
        height: 1.6rem;
        width: 1.4rem;
        z-index: 4;
    }
}

/* ── Intro ──────────────────────────────────────────────────── */
.tw-anw-intro {
    padding: 4.5rem 1.5rem;
    border-bottom: 1px solid var(--global-palette7);
}
.tw-anw-intro__inner {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
}
.tw-anw-intro__inner p {
    font-size: 1rem;
    color: var(--global-palette5);
    line-height: 1.85;
    margin: 0 0 1rem;
}
.tw-anw-intro__inner p:last-child { margin: 0; }

/* ── Anwendungstyp – horizontale Sektion ────────────────────── */
.tw-anw-typ {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
    max-width: 1300px;
    margin: 0 auto;
    border-bottom: 1px solid var(--global-palette7);
    border-left: 1px solid var(--global-palette7);
    border-right: 1px solid var(--global-palette7);
}
.tw-anw-typ--flip {
    direction: rtl; /* Spalten umkehren ohne DOM-Änderung */
}
.tw-anw-typ--flip > * {
    direction: ltr;
}

.tw-anw-typ__img-wrap {
    display: block;
    overflow: hidden;
    background: var(--global-palette7);
    position: relative;
}
.tw-anw-typ__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.tw-anw-typ__img-wrap:hover .tw-anw-typ__img {
    transform: scale(1.03);
}
.tw-anw-typ__img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 460px;
    background: var(--global-palette7);
}

.tw-anw-typ__body {
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--global-palette9);
    position: relative;
    overflow: hidden;
}
.tw-anw-typ--flip .tw-anw-typ__body {
    background: var(--global-palette8);
}
.tw-anw-typ__kanji {
    position: absolute;
    bottom: -0.5rem;
    right: 1.5rem;
    font-family: var(--global-heading-font-family);
    font-size: clamp(5rem, 9vw, 8rem);
    font-weight: 300;
    color: var(--global-palette3);
    opacity: 0.05;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}
.tw-anw-typ__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0.5rem 0 1.25rem;
    line-height: 1.2;
}
.tw-anw-typ__text {
    font-size: 0.95rem;
    color: var(--global-palette5);
    line-height: 1.85;
    margin: 0 0 2rem;
    max-width: 400px;
}
.tw-anw-typ__link {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--global-palette1);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
    align-self: flex-start;
}
.tw-anw-typ__link:hover {
    border-bottom-color: var(--global-palette1);
}

/* ── CTA-Band ───────────────────────────────────────────────── */
.tw-anw-cta {
    padding: 5rem 1.5rem;
    background: var(--global-palette8);
    border-top: 1px solid var(--global-palette7);
    text-align: center;
}
.tw-anw-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}
.tw-anw-cta__text {
    font-size: 1rem;
    color: var(--global-palette5);
    line-height: 1.8;
    margin: 0 0 2rem;
}

/* ── Mobil ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .tw-anw-typ {
        grid-template-columns: 1fr;
        direction: ltr;
        min-height: unset;
    }
    .tw-anw-typ--flip { direction: ltr; }
    .tw-anw-typ__img-wrap { min-height: 240px; aspect-ratio: 4/3; }
    .tw-anw-typ__img-placeholder { min-height: 240px; }
    .tw-anw-typ__body { padding: 2.5rem 1.25rem; }
    .tw-anw-typ__body,
    .tw-anw-typ--flip .tw-anw-typ__body { background: var(--global-palette9); }
    .tw-anw-typ__text { max-width: 100%; }
}

/* ============================================================
   BACK-TO-TOP – Variante A (dezent)
   ============================================================ */
.tw-scrolltop {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--global-palette9);
    border: 1px solid var(--global-palette7);
    color: var(--global-palette5);
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(26, 24, 21, 0.06);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, color .2s ease, border-color .2s ease;
    z-index: 9998;
    -webkit-tap-highlight-color: transparent;
}
.tw-scrolltop.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.tw-scrolltop svg {
    width: 18px;
    height: 18px;
    display: block;
}
.tw-scrolltop:hover,
.tw-scrolltop:focus-visible {
    color: var(--global-palette1);
    border-color: var(--global-palette1);
    outline: none;
}

@media (min-width: 901px) {
    .tw-scrolltop {
        width: 40px;
        height: 40px;
        right: 24px;
        bottom: 24px;
    }
    .tw-scrolltop svg { width: 16px; height: 16px; }
}

/* ============================================================
   PROJEKTE-SEITE
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.tw-proj-hero {
    position: relative;
    width: 100%;
    min-height: var(--tw-hero-height);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: 50% 40%;
    background-repeat: no-repeat;
    background-color: var(--global-palette8);
}
.tw-proj-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,24,21,0.28);
    z-index: 1;
}
.tw-proj-hero__kanji {
    position: absolute;
    bottom: 0.4rem;
    left: calc(50% - 550px + 0.5rem);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: rgba(253,250,246,0.45);
    z-index: 4;
    pointer-events: none;
    line-height: 1;
    height: 2.4rem;
    width: 1.8rem;
    overflow: hidden;
    padding: 0;
}
.tw-proj-hero__heading {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.1em;
    color: rgba(253,250,246,0.9);
    margin: 0;
    line-height: 1;
    background: rgba(26,24,21,0.55);
    padding: 0.9rem 2.5rem;
    padding-left: calc(50% - 550px + 3.6rem);
    z-index: 3;
}
@media (max-width: 767px) {
    .tw-proj-hero { min-height: var(--tw-hero-height-mobile); }
    .tw-proj-hero__heading {
        font-size: 1.3rem;
        padding: 0.7rem 1.5rem;
        padding-left: calc(1rem + 1.4rem + 1rem);
    }
    .tw-proj-hero__kanji {
        bottom: 0.5rem;
        left: 1rem;
        font-size: 1.4rem;
        height: 1.6rem;
        width: 1.4rem;
    }
}

/* ── Intro ──────────────────────────────────────────────────── */
.tw-proj-intro {
    padding: 5rem 1.5rem;
    border-bottom: 1px solid var(--global-palette7);
}
.tw-proj-intro__inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.tw-proj-intro__inner p.tw-proj-intro__lead {
    font-family: var(--global-heading-font-family);
    font-size: 40px;
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    line-height: 1.2;
    margin: 0 0 2.5rem;
}
@media (max-width: 767px) {
    .tw-proj-intro__inner p.tw-proj-intro__lead {
        font-size: 26px;
    }
}
.tw-proj-intro__inner p {
    font-size: 1rem;
    color: var(--global-palette5);
    line-height: 1.85;
    margin: 0 0 1rem;
}
.tw-proj-intro__inner p:last-child { margin: 0; }

/* ── Ablauf – 4 Schritte ────────────────────────────────────── */
.tw-proj-ablauf {
    padding: 5.5rem 1.5rem;
    background: var(--global-palette8);
    border-bottom: 1px solid var(--global-palette7);
    text-align: center;
}
.tw-proj-ablauf .tw-label {
    text-align: center;
}
.tw-proj-ablauf__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0 0 1rem;
    line-height: 1.3;
}
.tw-proj-ablauf__sub {
    font-size: 1rem;
    color: var(--global-palette5);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto 3.5rem;
}
.tw-proj-ablauf__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: left;
}
.tw-proj-step {
    background: var(--global-palette9);
    border: 1px solid var(--global-palette7);
    padding: 2rem 1.75rem;
    position: relative;
}
.tw-proj-step__num {
    display: block;
    font-family: var(--global-heading-font-family);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--global-palette1);
    opacity: 0.7;
    line-height: 1;
    margin-bottom: 1.25rem;
}
.tw-proj-step__title {
    font-family: var(--global-heading-font-family);
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0 0 1rem;
    line-height: 1.3;
}
.tw-proj-step p {
    font-size: 0.92rem;
    color: var(--global-palette5);
    line-height: 1.75;
    margin: 0 0 0.75rem;
}
.tw-proj-step__note {
    font-size: 0.85rem !important;
    color: var(--global-palette6) !important;
    font-style: italic;
    margin-top: 0.75rem !important;
}

/* ── Projektarten – alternierende Bild/Text-Sektionen ───────── */
.tw-proj-arten {
    padding: 5.5rem 0 0;
    text-align: center;
}
.tw-proj-arten .tw-container {
    padding: 0 1.5rem 3.5rem;
}
.tw-proj-arten .tw-label {
    text-align: center;
}
.tw-proj-arten__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0 0 1rem;
    line-height: 1.3;
}
.tw-proj-arten__sub {
    font-size: 1rem;
    color: var(--global-palette5);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto;
}

.tw-proj-art {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 440px;
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid var(--global-palette7);
}
.tw-proj-art:last-child {
    border-bottom: 1px solid var(--global-palette7);
}
.tw-proj-art--flip {
    direction: rtl;
}
.tw-proj-art--flip > * {
    direction: ltr;
}
.tw-proj-art__img-wrap {
    display: block;
    overflow: hidden;
    background: var(--global-palette7);
    position: relative;
}
.tw-proj-art__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.tw-proj-art__img-wrap:hover .tw-proj-art__img {
    transform: scale(1.03);
}
.tw-proj-art__img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 440px;
    background: var(--global-palette7);
}
.tw-proj-art__body {
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--global-palette9);
    position: relative;
    overflow: hidden;
    text-align: left;
}
.tw-proj-art--flip .tw-proj-art__body {
    background: var(--global-palette8);
}
.tw-proj-art__kanji {
    position: absolute;
    bottom: -0.5rem;
    right: 1.5rem;
    font-family: var(--global-heading-font-family);
    font-size: clamp(5rem, 9vw, 8rem);
    font-weight: 300;
    color: var(--global-palette3);
    opacity: 0.05;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}
.tw-proj-art__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0 0 1.25rem;
    line-height: 1.2;
}
.tw-proj-art__text {
    font-size: 0.95rem;
    color: var(--global-palette5);
    line-height: 1.85;
    margin: 0 0 1.25rem;
    max-width: 420px;
}
.tw-proj-art__focus {
    font-size: 0.82rem;
    color: var(--global-palette1);
    letter-spacing: 0.05em;
    margin: 0;
    font-style: italic;
}

/* ── Beispiele – Galerie ────────────────────────────────────── */
.tw-proj-beispiele {
    padding: 5.5rem 0;
    background: var(--global-palette8);
    border-top: 1px solid var(--global-palette7);
    border-bottom: 1px solid var(--global-palette7);
    text-align: center;
}
.tw-proj-beispiele .tw-container {
    padding: 0 1.5rem;
}
.tw-proj-beispiele .tw-label {
    text-align: center;
}
.tw-proj-beispiele__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0 0 1rem;
    line-height: 1.3;
}
.tw-proj-beispiele__sub {
    font-size: 1rem;
    color: var(--global-palette5);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 3rem;
}
.tw-proj-beispiele__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1300px;
    margin: 0 auto;
}
.tw-proj-beispiele__item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--global-palette7);
    cursor: zoom-in;
    position: relative;
}
.tw-proj-beispiele__item:focus-visible {
    outline: 2px solid var(--global-palette1);
    outline-offset: 2px;
}
.tw-proj-beispiele__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.tw-proj-beispiele__item:hover img {
    transform: scale(1.04);
}

/* ── Was wir benötigen ──────────────────────────────────────── */
.tw-proj-benoetigen {
    padding: 5rem 1.5rem;
}
.tw-proj-benoetigen__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.tw-proj-benoetigen__head .tw-label {
    text-align: center;
}
.tw-proj-benoetigen__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0 0 2.5rem;
    line-height: 1.3;
}
.tw-proj-benoetigen__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: inline-block;
    text-align: left;
}
.tw-proj-benoetigen__list li {
    position: relative;
    padding: 0.85rem 0 0.85rem 2rem;
    font-size: 1rem;
    color: var(--global-palette5);
    line-height: 1.5;
    border-bottom: 1px solid var(--global-palette7);
}
.tw-proj-benoetigen__list li:last-child {
    border-bottom: none;
}
.tw-proj-benoetigen__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0.85rem;
    color: var(--global-palette1);
    font-weight: 400;
}
.tw-proj-benoetigen__footer {
    font-size: 0.95rem;
    color: var(--global-palette6);
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}

/* ── Statement ──────────────────────────────────────────────── */
.tw-proj-statement {
    padding: 7rem 1.5rem;
    background: var(--global-palette9);
    border-top: 1px solid var(--global-palette7);
    border-bottom: 1px solid var(--global-palette7);
    text-align: center;
}
.tw-proj-statement__inner {
    max-width: 760px;
    margin: 0 auto;
}
.tw-proj-statement__text {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    line-height: 1.55;
    margin: 0 0 2.75rem;
}
.tw-proj-statement__elements {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--global-body-font-family);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--global-palette1);
}
.tw-proj-statement__elements li {
    position: relative;
    padding: 0.35rem 1.4rem;
}
.tw-proj-statement__elements li + li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    background: var(--global-palette6);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}
.tw-proj-statement__coda {
    position: relative;
    font-size: 0.97rem;
    color: var(--global-palette5);
    line-height: 1.8;
    margin: 0;
    font-style: italic;
    padding-top: 2.25rem;
}
.tw-proj-statement__coda::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--global-palette6);
    margin: 0 auto 2.25rem;
}
@media (max-width: 767px) {
    .tw-proj-statement__elements {
        font-size: 0.72rem;
        letter-spacing: 0.22em;
    }
    .tw-proj-statement__elements li {
        padding: 0.3rem 0.9rem;
    }
}

/* ── CTA ────────────────────────────────────────────────────── */
.tw-proj-cta {
    padding: 5.5rem 1.5rem;
    background: var(--global-palette8);
    text-align: center;
}
.tw-proj-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}
.tw-proj-cta__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--global-palette3);
    margin: 0 0 1rem;
    line-height: 1.3;
}
.tw-proj-cta__text {
    font-size: 1rem;
    color: var(--global-palette5);
    line-height: 1.8;
    margin: 0 0 2.25rem;
}
.tw-proj-cta__alt {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: center;
}
.tw-proj-cta__alt a {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--global-palette5);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.tw-proj-cta__alt a:hover {
    color: var(--global-palette1);
    border-bottom-color: var(--global-palette1);
}

/* ── Mobil ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .tw-proj-ablauf__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .tw-proj-beispiele__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .tw-proj-intro { padding: 3.5rem 1.25rem; }
    .tw-proj-ablauf { padding: 4rem 1.25rem; }
    .tw-proj-ablauf__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .tw-proj-step { padding: 1.75rem 1.5rem; }
    .tw-proj-arten { padding: 4rem 0 0; }
    .tw-proj-art {
        grid-template-columns: 1fr;
        direction: ltr;
        min-height: unset;
    }
    .tw-proj-art--flip { direction: ltr; }
    .tw-proj-art__img-wrap { min-height: 240px; aspect-ratio: 4/3; }
    .tw-proj-art__img-placeholder { min-height: 240px; }
    .tw-proj-art__body { padding: 2.5rem 1.25rem; }
    .tw-proj-art__body,
    .tw-proj-art--flip .tw-proj-art__body { background: var(--global-palette9); }
    .tw-proj-art__text { max-width: 100%; }
    .tw-proj-beispiele { padding: 4rem 0; }
    .tw-proj-beispiele__grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0.75rem;
        padding: 0 1.25rem 0.5rem;
        scrollbar-width: none;
        scroll-padding-left: 1.25rem;
    }
    .tw-proj-beispiele__grid::-webkit-scrollbar { display: none; }
    .tw-proj-beispiele__item {
        flex: 0 0 82%;
        scroll-snap-align: start;
        aspect-ratio: 4 / 3;
    }
    .tw-proj-beispiele__item:last-child {
        padding-right: 1.25rem;
    }
    .tw-proj-benoetigen { padding: 3.5rem 1.25rem; }
    .tw-proj-statement { padding: 4.5rem 1.25rem; }
    .tw-proj-cta { padding: 4rem 1.25rem; }
}

/* ── Lightbox (Projekte-Galerie) ────────────────────────────── */
.tw-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 13, 11, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}
.tw-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}
.tw-lightbox__img {
    max-width: min(92vw, 1400px);
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,.35);
    user-select: none;
    -webkit-user-drag: none;
}
.tw-lightbox__counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(253,250,246,.55);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    font-family: var(--global-body-font-family);
}
.tw-lightbox__close,
.tw-lightbox__prev,
.tw-lightbox__next {
    position: absolute;
    background: transparent;
    border: none;
    color: rgba(253,250,246,0.85);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.tw-lightbox__close:hover,
.tw-lightbox__prev:hover,
.tw-lightbox__next:hover,
.tw-lightbox__close:focus-visible,
.tw-lightbox__prev:focus-visible,
.tw-lightbox__next:focus-visible {
    color: #fff;
    outline: none;
}
.tw-lightbox__close {
    top: 1rem;
    right: 1.25rem;
    font-size: 2rem;
    width: 44px;
    height: 44px;
}
.tw-lightbox__prev,
.tw-lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.75rem;
    width: 56px;
    height: 56px;
}
.tw-lightbox__prev { left: 0.75rem; }
.tw-lightbox__next { right: 0.75rem; }
@media (max-width: 767px) {
    .tw-lightbox__prev,
    .tw-lightbox__next {
        display: none;
    }
}

/* ============================================================
   FOOTER: Rechtliches + Copyright
   ============================================================ */
.tw-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
    margin-bottom: 0.6em;
}
.tw-footer-nav a {
    color: var(--global-palette5);
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.tw-footer-nav a:hover {
    color: var(--global-palette1);
}
.tw-footer-copyright {
    color: var(--global-palette6);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-align: center;
}
@media (max-width: 600px) {
    .tw-footer-nav {
        gap: 1em;
    }
    .tw-footer-nav a {
        font-size: 0.8rem;
    }
}

@media (hover: none) {
    #site-navigation .menu-item-has-children {
        position: relative;
    }
    #site-navigation .menu-item-has-children > a,
    #site-navigation .menu-item-has-children > a * {
        pointer-events: auto;
    }
    #site-navigation .dropdown-nav-special-toggle {
        position: absolute;
        top: 0;
        left: auto;
        right: 0;
        width: 2.4em;
        height: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
        border: 0;
        z-index: 2;
        cursor: pointer;
    }

    /* iOS/iPad: Submenü NICHT per Hover öffnen. Sonst löst der erste Tap auf
       einen Dropdown-Parent nur das Hover aus (Submenü erscheint) statt zu
       navigieren – zweiter Tap nötig. Öffnen jetzt ausschließlich über den
       Pfeil-Button (Kadence-Klasse .menu-item--toggled-on). */
    #site-navigation .menu-item-has-children:hover > .sub-menu,
    #site-navigation .menu-item-has-children:focus-within > .sub-menu {
        display: none;
    }
    #site-navigation .menu-item-has-children.menu-item--toggled-on > .sub-menu {
        display: block !important;
    }

    /* Keine rote Hover-Farbe auf Touch – verhindert den „erst rot, dann Tap"-
       Effekt; der Link reagiert direkt beim ersten Antippen. */
    #site-navigation .menu-item > a:hover,
    #site-navigation .menu-item > a:focus,
    #site-navigation .menu-item > a:active {
        color: var(--global-palette5);
    }
}

/* Shop-Loop: Action-Wrap immer sichtbar im Fluss (statt Hover-Overlay) */
.products .product-details {
    height: auto;
}
.products .product-action-wrap {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    top: auto !important;
    margin-top: 1rem;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}
.products .product-action-wrap > .button,
.products .product-action-wrap > .added_to_cart {
    margin: 0;
}
.products .product-action-wrap .added_to_cart {
    display: inline-block;
    background: transparent;
    color: var(--global-palette5);
    border: 1px solid var(--global-palette7);
    padding: 0.45em 0.9em;
    font-size: 0.78rem;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
}
.products .product-action-wrap .added_to_cart:hover,
.products .product-action-wrap .added_to_cart:focus {
    border-color: var(--global-palette1);
    color: var(--global-palette1);
}

/* Warenkorb-Icon im Hauptmenü */
#site-navigation .tw-cart-item > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.6em;
    padding-right: 0.6em;
    position: relative;
}
#site-navigation .tw-cart-item .tw-cart-svg {
    width: 1.25em;
    height: 1.25em;
    color: currentColor;
}
/* Im mobilen Drawer kein Menü-Warenkorb (das eigene Header-Icon .tw-mobile-cart
   übernimmt das mobil) – sonst doppelt. Desktop-Nav (#site-navigation) bleibt. */
#mobile-site-navigation .tw-cart-item {
    display: none;
}
/* Mobiles Warenkorb-Icon (neben dem Hamburger; per JS injiziert) */
.tw-mobile-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--global-palette3);
    margin-right: 0.5em;
    padding: 0.25em;
    text-decoration: none;
}
.tw-mobile-cart .tw-cart-svg {
    width: 1.45em;
    height: 1.45em;
    color: currentColor;
}
/* Anzahl-Badge am Warenkorb-Symbol (per JS aus Cookie befüllt) */
#site-navigation .tw-cart-item .tw-cart-count,
.tw-mobile-cart .tw-cart-count {
    position: absolute;
    top: 0.15em;
    right: 0.05em;
    min-width: 1.15em;
    height: 1.15em;
    padding: 0 0.25em;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--global-palette1);
    color: #fff;
    border-radius: 1em;
    font-family: var(--global-body-font-family);
    font-size: 0.62rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    pointer-events: none;
}
.tw-mobile-cart .tw-cart-count {
    top: -0.1em;
    right: -0.2em;
}

/* ============================================================
   LEERER WARENKORB – ruhige, markenkonforme Gestaltung
   (ersetzt die WooCommerce-Cartoon-Ikone durch klare Typografie + CTAs)
   ============================================================ */
.wp-block-woocommerce-empty-cart-block {
    text-align: center;
    padding: 2rem 1.5rem 0;
}
/* Falls der Icon-Klassenrest doch greift: Cartoon-Ikone sicher ausblenden */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    display: none !important;
}
.tw-cart-empty__title {
    font-family: var(--global-heading-font-family);
    font-size: clamp(1.6rem, 3vw, 2.1rem) !important;
    font-weight: 400;
    color: var(--global-palette3);
    margin: 0 0 0.6rem !important;
}
.tw-cart-empty__text {
    color: var(--global-palette5);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 32rem;
    margin: 0 auto 1.8rem !important;
}
.tw-cart-empty__actions {
    gap: 1rem !important;
    margin: 0 0 2.5rem !important;
}
/* Beide CTAs (Zum Shop / Torii entdecken) exakt gleiche Box-Maße.
   !important nötig, da WP-Core den is-style-outline-Button sonst kleiner
   rendert (anderes Padding + 2px Rahmen). border-box → gleiche Höhe. */
.tw-cart-empty__actions .wp-block-button {
    margin: 0;
}
.tw-cart-empty__actions .wp-block-button__link {
    box-sizing: border-box;
    border-radius: 0 !important;
    border-width: 1px !important;
    border-style: solid !important;
    font-family: var(--global-body-font-family);
    font-size: 0.78rem !important;
    font-weight: 400;
    letter-spacing: 0.15em !important;
    text-transform: uppercase;
    padding: 0.85rem 2.2rem !important;
    line-height: 1.2 !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tw-cart-empty__actions .is-style-fill .wp-block-button__link {
    background: var(--global-palette1);
    color: #fff;
    border-color: var(--global-palette1) !important;
}
.tw-cart-empty__actions .is-style-fill .wp-block-button__link:hover {
    background: var(--global-palette2);
    border-color: var(--global-palette2) !important;
}
.tw-cart-empty__actions .is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--global-palette3);
    border-color: var(--global-palette7) !important;
}
.tw-cart-empty__actions .is-style-outline .wp-block-button__link:hover {
    border-color: var(--global-palette1) !important;
    color: var(--global-palette1);
}
/* "Neu im Shop"-Abschnitt ruhig absetzen */
.wp-block-woocommerce-empty-cart-block .is-style-dots {
    margin: 2.5rem auto 1.5rem;
    max-width: 6rem;
    opacity: 0.5;
}
.wp-block-woocommerce-empty-cart-block .is-style-dots + .wp-block-heading {
    font-family: var(--global-heading-font-family);
    font-weight: 400;
    color: var(--global-palette3);
}

/* ============================================================
   CROSS-SELL-PRODUKTE (leerer Warenkorb) – Größen auf Shop-Archiv
   normalisieren. Die Kacheln nutzen .wc-block-grid, das den Karten-
   inhalt auf 0.75em skaliert → Titel/Preis/Button zu klein.
   rem = wurzelrelativ, unabhängig von dieser Skalierung.
   ============================================================ */
ul.wc-block-grid__products li.wc-block-grid__product {
    font-size: 1rem !important;
}
.wc-block-grid__product .wc-block-grid__product-title,
.wc-block-grid__product .wc-block-grid__product-title a,
.wc-block-grid__product .woocommerce-loop-product__title {
    font-size: 1rem !important;
    line-height: 1.3;
}
.wc-block-grid__product .wc-block-grid__product-price,
.wc-block-grid__product .price,
.wc-block-grid__product .woocommerce-Price-amount {
    font-size: 0.86rem !important;
}
.wc-block-grid__product .wc-block-grid__product-add-to-cart .wp-block-button,
.wc-block-grid__product .wp-block-button {
    width: 100%;
}
/* Cross-Sell-Teaser auf dem leeren Warenkorb bleibt ruhig: kein Kauf-Button
   (passt zur Marke; Klick auf Bild/Titel führt zum Produkt). Verhindert auch
   den abgeschnittenen, nur-bei-Hover-Button in den schmalen Kacheln. */
.wc-block-grid__product .wc-block-grid__product-add-to-cart {
    display: none !important;
}
/* Bild/Titel als ruhiger Klickbereich */
.wc-block-grid__product .wc-block-grid__product-title a {
    text-decoration: none;
    color: var(--global-palette3);
}
.wc-block-grid__product .wc-block-grid__product-title a:hover {
    color: var(--global-palette1);
}
