/* =========================================================
   Theodor's: Kopfzeile, Vollbild-Menü, Fußzeile
   ========================================================= */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
/* ---------- Kopfzeile ---------- */
.th-header {
	position: absolute; inset: 0 0 auto 0; z-index: 50;
}
.th-header__bar {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	padding: 20px clamp(16px, 3vw, 40px);
	transition: background-color .3s ease, padding .3s ease, transform .35s ease;
}
.th-header__icon img, .th-header__burger { width: 48px; height: 48px; display: block; }
.th-header__reserve { justify-self: start; border-radius: 50%; }
.th-header__logo { justify-self: center; display: block; }
.th-header__logo img { width: clamp(110px, 12vw, 150px); height: auto; display: block; transition: width .3s ease; }
.th-header__burger {
	justify-self: end; position: relative; cursor: pointer; z-index: 102;
	border: 2px solid var(--wp--preset--color--base); border-radius: 50%; background: transparent; padding: 0;
}
.th-header__burger span:not(.screen-reader-text) {
	position: absolute; left: 13px; right: 13px; height: 2px; background: var(--wp--preset--color--base);
	transition: transform .35s ease, opacity .2s ease, top .35s ease;
}
.th-header__burger span:nth-child(1) { top: 15px; }
.th-header__burger span:nth-child(2) { top: 22px; }
.th-header__burger span:nth-child(3) { top: 29px; }
.th-is-menu-open .th-header__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.th-is-menu-open .th-header__burger span:nth-child(2) { opacity: 0; }
.th-is-menu-open .th-header__burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
/* Nach dem Hero: feste, schmale Leiste, nur beim Hochscrollen sichtbar */
.th-header.is-sticky .th-header__bar {
	position: fixed; inset: 0 0 auto 0; padding-block: 10px;
	background: var(--wp--preset--color--contrast); transform: translateY(-110%);
}
.th-header.is-sticky.is-visible .th-header__bar { transform: none; }
.th-header.is-sticky .th-header__logo img { width: 90px; }
.th-header.is-sticky .th-header__icon img, .th-header.is-sticky .th-header__burger { width: 42px; height: 42px; }
.th-header.is-sticky .th-header__burger span:nth-child(1) { top: 12px; }
.th-header.is-sticky .th-header__burger span:nth-child(2) { top: 19px; }
.th-header.is-sticky .th-header__burger span:nth-child(3) { top: 26px; }
.th-is-menu-open .th-header { z-index: 101; }
.th-is-menu-open .th-header .th-header__bar { transform: none; background: transparent; }
/* Fokus sichtbar auf dunklem Grund */
.th-header a:focus-visible, .th-header button:focus-visible, .th-menu a:focus-visible {
	outline: 2px solid var(--wp--preset--color--base); outline-offset: 4px;
}
/* ---------- Vollbild-Menü ---------- */
.th-menu {
	position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
	visibility: hidden; pointer-events: none;
}
.th-menu.is-open { visibility: visible; pointer-events: auto; }
.th-menu__panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.th-menu__panels i { background: var(--wp--preset--color--primary); transform: scaleY(0); transform-origin: top; }
.th-menu__nav { position: relative; text-align: center; padding: 100px 20px 40px; max-height: 100dvh; overflow-y: auto; }
.th-menu__tree { width: 80px; height: auto; margin: 0 auto 28px; display: block; opacity: 0; }
.th-menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 1.6vh, 18px); }
.th-menu__list li { opacity: 0; }
.th-menu__list a {
	font-family: var(--wp--preset--font-family--playfair); font-weight: 500;
	font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.25;
	color: var(--wp--preset--color--base); text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 50% 100% / 0 1px no-repeat;
	transition: background-size .3s ease; padding-bottom: 2px;
}
.th-menu__list a:hover, .th-menu__list .current-menu-item > a { background-size: 100% 1px; }
/* Ohne JS bzw. reduzierte Bewegung: sofort sichtbar */
.no-gsap .th-menu.is-open .th-menu__panels i { transform: none; }
.no-gsap .th-menu.is-open .th-menu__tree, .no-gsap .th-menu.is-open .th-menu__list li { opacity: 1; }
/* ---------- Fußzeile ---------- */
.th-footer {
	display: flex; flex-direction: column; align-items: center; gap: 32px;
	padding: 64px 20px; background: var(--wp--preset--color--secondary); text-align: center;
}
.th-footer__logo img { width: 160px; height: auto; display: block; }
.th-footer__insta img { display: block; transition: transform .25s ease; }
.th-footer__insta:hover img { transform: scale(1.08); }
.th-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; max-width: 760px; }
.th-footer__menu a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.th-footer__menu a:hover, .th-footer__menu a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
/* Editor: Kopfzeile nicht über den Inhalt legen */
.editor-styles-wrapper .th-header { position: relative; background: var(--wp--preset--color--contrast); }
@media (prefers-reduced-motion: reduce) {
	.th-header__bar, .th-header__burger span, .th-menu__list a { transition: none; }
}/* =========================================================
   Seiten-Sektionen
   ========================================================= *//* ---------- Startseite ----------
   Gestaltung über Block-Attribute. Hier nur, was Gutenberg nicht kann. */
/* Startseite: großes Logo steht im Hero, Kopfzeilen-Logo erst in der festen Leiste */
.home .th-header:not(.is-sticky) .th-header__logo { opacity: 0; pointer-events: none; }
/* Hero-Buttons mobil volle Breite (Gutenberg kennt keine Breite pro Gerät) */@media (max-width: 781px) {
	.th-hero .wp-block-buttons { flex-direction: column; }
	.th-hero .wp-block-button { width: 100% !important; }
}/* Bildpaar: zweites Bild überlappt das erste (Gutenberg kann nicht überlappen) */
.th-overlap-pair { position: relative; padding-bottom: 18%; }
.th-overlap-pair > .wp-block-image { margin: 0; }
.th-overlap { position: absolute !important; right: -6%; bottom: 0; width: 72%; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); }
@media (max-width: 781px) {
	.th-overlap { right: 0; }
}/* ---------- Intro (Startseite, einmal pro Sitzung) ---------- */
.th-intro { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: repeat(3, 1fr); pointer-events: none; }
.th-intro i { background: var(--wp--preset--color--primary); }
.th-intro img { position: absolute; left: 50%; top: 50%; width: 140px; margin: -70px 0 0 -70px; }
/* Nach-oben-Knopf */
.th-totop img { display: block; width: 48px; height: 48px; }
.th-is-menu-open .th-totop { visibility: hidden; }


/* ---------- Akkordeon (Events, Karriere) ----------
   Farben, Schrift und Innenabstand der Balken kommen aus den Block-Attributen.
   Hier nur, was Gutenberg nicht abbilden kann: Balken-Layout, Plus-Symbol, Hover, Datum rechts. */
.th-acc .wp-block-accordion-heading { margin: 0; }
.th-acc .wp-block-accordion-heading__toggle { width: 100%; display: flex; align-items: center; gap: 16px; border: 0; cursor: pointer; text-align: left; transition: filter .25s ease; }
.th-acc .wp-block-accordion-heading__toggle:hover { filter: brightness(.93); }
.th-acc .wp-block-accordion-heading__toggle:focus-visible { outline: 3px solid var(--wp--preset--color--contrast); outline-offset: 3px; }
.th-acc .wp-block-accordion-heading__toggle-title { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.th-acc__date { margin-left: auto; font-family: var(--wp--preset--font-family--system); font-size: 1.0625rem; font-weight: 600; }
.th-acc .wp-block-accordion-heading__toggle-icon { font-size: 1.75rem; line-height: 1; font-family: var(--wp--preset--font-family--system); }
.th-acc .wp-block-accordion-heading__toggle-icon::after { content: none; }
.th-acc { --wk-accordion-gap: 0px; }
/* Popup: eckig wie das restliche Theme */
.blueprint-popup-card { border-radius: 0; }
/* Burger-X in der schmalen, festen Leiste: Mitte liegt bei 19px statt 22px */
.th-is-menu-open .th-header.is-sticky .th-header__burger span:nth-child(1),
.th-is-menu-open .th-header.is-sticky .th-header__burger span:nth-child(3) { top: 19px; }
/* Orange als kleiner Text: dunklerer Ton für ausreichenden Kontrast (5,1:1 auf Weiß) */
p.has-primary-color, li.has-primary-color { color: #C2440A !important; }
/* ---------- Team (Über uns) ---------- */
.th-team { gap: 32px 24px !important; margin-top: 48px !important; }
.th-team .theodors-member { display: flex; flex-direction: column; gap: 10px; }
.th-team .theodors-member .wp-block-image { margin: 0; overflow: hidden; }
.th-team .theodors-member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.th-team .theodors-member h3, .th-team .theodors-member h2, .th-team .theodors-member h4 { margin: 8px 0 0; }
.th-team .theodors-member p { margin: 0; }
@media (max-width: 781px) {
	.th-team { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}/* Zweispalter mit Bild: Bild füllt die Spalte *//* Bildstrecke im Endloslauf: Blueprint nimmt dort die natürliche Bildbreite.
   Feste Breiten wie im alten Theme: 2 / 3 / 4 Bilder (Abstand 20 / 40 / 50 px). */
.th-marquee .swiper-slide, .wk-query-slider.th-marquee .swiper-slide { width: calc((100vw - 20px) / 2) !important; }
@media (min-width: 600px) {
	.th-marquee .swiper-slide, .wk-query-slider.th-marquee .swiper-slide { width: calc((100vw - 80px) / 3) !important; }
}@media (min-width: 1024px) {
	.th-marquee .swiper-slide, .wk-query-slider.th-marquee .swiper-slide { width: calc((100vw - 150px) / 4) !important; }
}/* ---------- Speisekarte ---------- *//* Gestaltung komplett über Block-Attribute; hier nur, was Gutenberg nicht kann: */
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
#menue { scroll-margin-top: 90px; }
/* ---------- Galerie ---------- */
.theodors-galerie { gap: 16px !important; }
.theodors-galerie .wp-block-image img { aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.theodors-galerie .wp-block-image:hover img { transform: scale(1.03); }
.th-team .theodors-member > * + * { margin-top: 6px !important; }
.th-team .theodors-member > .wp-block-image + * { margin-top: 16px !important; }
.th-team .theodors-member > * { flex: 0 0 auto !important; }
