/*
Theme Name: The Black Rose 2026
Theme URI: https://the-black-rose.de
Description: Kind-Theme von Twenty Twenty-Five fuer the-black-rose.de - dunkles Design, Produktkatalog mit Bestellung ueber Amazon bzw. Anfrage, barrierearm (WCAG 2.1 AA als Ziel), ohne Drittanbieter und Cookies.
Author: Claude fuer diovina GmbH
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: tbr-2026
License: GNU General Public License v2 or later
*/

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--wp--preset--color--rose-hell); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }

/* Kopf (sticky am Template-Part-Container) */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.mt-logo { display: inline-block; line-height: 0; }
.mt-logo img { width: 230px; height: auto; display: block; }
.mt-kopf .wp-block-navigation a { text-decoration: none; }
.mt-kopf .wp-block-navigation a:hover, .mt-kopf .wp-block-navigation a:focus { text-decoration: underline; text-underline-offset: .25em; }
.mt-kopf [aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--wp--preset--color--rose-hell); text-underline-offset: .3em; }
.mt-kopf .wp-block-navigation__submenu-container { border: 1px solid var(--wp--preset--color--rand); border-top: 3px solid var(--wp--preset--color--rose-hell); min-width: 14rem; padding: .4rem 0; }
.mt-kopf .wp-block-navigation__submenu-container a { padding: .45rem 1rem; font-weight: 500; }

/* Titelband und Seitenkopf */
.mt-hero { background: radial-gradient(circle at 75% 35%, #4a0f1d 0%, #0E0E0E 62%); color: #fff; }
.mt-hero h1 { color: #fff; margin-top: 0; }
.mt-hero .mt-dachzeile, .mt-dachzeile { color: #ff8a9c; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: var(--wp--preset--font-size--small); margin-bottom: .5rem; }
.mt-hero .wp-block-image img { border-radius: 14px; height: auto; }
.mt-seitenkopf { background: #161616; color: #fff; border-bottom: 1px solid var(--wp--preset--color--rand); }
.mt-seitenkopf h1 { color: #fff; margin: 0; }

/* Kacheln */
.mt-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; max-width: none !important; }
.mt-kacheln > * { margin: 0 !important; }
.mt-kachel { background: var(--wp--preset--color--karte); border: 1px solid var(--wp--preset--color--rand); border-top: 4px solid var(--wp--preset--color--rose-hell); border-radius: 6px; padding: 1.25rem; height: 100%; }
.mt-kachel h3 { margin-top: 0; }
.mt-band { background: var(--wp--preset--color--hell); }

/* Katalog */
.mt-sprung ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.mt-sprung a { display: inline-block; padding: .35rem .9rem; border: 1px solid var(--wp--preset--color--rand); border-radius: 999px; text-decoration: none; color: var(--wp--preset--color--contrast); }
.mt-sprung a:hover, .mt-sprung a:focus { border-color: var(--wp--preset--color--rose-hell); }
.mt-kategorie { scroll-margin-top: 7rem; border-top: 1px solid var(--wp--preset--color--rand); padding-top: 1.5rem; margin-top: 2.5rem; }
.mt-katalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.25rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.mt-produkt { display: flex; flex-direction: column; background: var(--wp--preset--color--karte); border: 1px solid var(--wp--preset--color--rand); border-radius: 6px; overflow: hidden; }
.mt-produkt img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: #fff; display: block; border-bottom: 1px solid var(--wp--preset--color--rand); }
.mt-produkt .mt-text { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.mt-produkt h3 { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.mt-produkt p { margin: 0; font-size: .95rem; color: var(--wp--preset--color--grau-text); }
.mt-produkt .mt-art { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.mt-produkt .mt-kaufen { margin-top: auto; padding-top: .5rem; }
.mt-produkt .mt-kaufen a { display: inline-block; background: var(--wp--preset--color--rose); color: #fff; padding: .5rem .9rem; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.mt-produkt .mt-kaufen a:hover, .mt-produkt .mt-kaufen a:focus { background: #F2EFEA; color: #0E0E0E; }

/* Fuß */
.mt-fuss a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.mt-fuss a:hover, .mt-fuss a:focus { color: #ff8a9c; }
/* Dunkles Design: Untermenue, mobiles Menue, Fuss */
.mt-kopf .wp-block-navigation__submenu-container { background: #161616 !important; color: #F2EFEA !important; }
.mt-kopf .wp-block-navigation__responsive-container.is-menu-open { background: #0E0E0E !important; color: #F2EFEA !important; }
.mt-fuss { border-top: 1px solid var(--wp--preset--color--rand); }
.mt-produkt .mt-art { color: var(--wp--preset--color--grau-text); }
