/*
Theme Name:   VWT Theme
Theme URI:    https://www.villa-wellentanz.ch
Author:       Imaago GmbH
Author URI:   https://www.imaago.ch
Description:  Massgeschneidertes Theme für die Villa Wellentanz – VWT Event Suite.
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  vwt-theme
Tags:         two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	background-color: #f4f4f2;
	background-image: url( img/bg-img.png );
	background-repeat: repeat;
	background-position: top center;
	/* background-attachment: fixed – wird via wp_head mit !important gesetzt */
	font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #333;
	-webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TYPOGRAFIE
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.75em;
	color: #1a1a1a;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
	margin: 0 0 1.25rem;
	padding: 0;
}

a {
	color: #1a6e3c;
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: #145530;
}

ul, ol {
	margin: 0 0 1.25rem 1.5rem;
	padding: 0;
}

li { margin-bottom: 0.3em; }

blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.5rem;
	border-left: 4px solid #1a6e3c;
	background: #f0f7f3;
	color: #444;
	font-style: italic;
}

blockquote p:last-child { margin-bottom: 0; }

hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 2rem 0;
}

code, pre {
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.875rem;
	background: #f5f5f5;
	border-radius: 3px;
}

code { padding: 0.15em 0.4em; }

pre {
	padding: 1rem 1.25rem;
	overflow-x: auto;
	margin: 0 0 1.5rem;
}

sup, sub { font-size: 0.75em; }

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
}

th, td {
	border: 1px solid #ddd;
	padding: 0.5rem 0.75rem;
	text-align: left;
}

th {
	background: #f5f5f5;
	font-weight: 700;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================================
   LAYOUT – WRAPPER & GRID
   ========================================================================== */

.content-wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

#page.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#content.site-content {
	flex: 1;
}

#content .content-wrap {
	display: flex;
	gap: 2rem;
	padding-top: 1rem;
	padding-bottom: 2.5rem;
	align-items: flex-start;
}

#primary.content-area {
	flex: 1;
	min-width: 0;
	overflow-x: hidden;
	max-width: 100%;
}

#secondary.featured-sidebar {
	width: 300px;
	flex-shrink: 0;
}

/* Vollbreite: kein Sidebar */
#primary.fullwidth-area-blog {
	flex: 1;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

#masthead.site-header {
	background-color: #1a1a1a;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.top-nav-wrapper {
	background-color: #1a1a1a;
}

.top-nav-wrapper .content-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0;
	padding-bottom: 0;
	min-height: 64px;
}

/* Logo */
.logo-container {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.logo-container img {
	max-height: 52px;
	width: auto;
}

a.logofont {
	color: #fff;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-decoration: none;
}

a.logofont:hover { color: #ccc; }

/* Hauptnavigation */
.center-main-menu {
	display: flex;
	align-items: center;
}

.primary-menu.main-navigation ul.pmenu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0;
}

.primary-menu.main-navigation ul.pmenu > li {
	position: relative;
	margin: 0;
}

.primary-menu.main-navigation ul.pmenu > li > a {
	display: block;
	padding: 0.9rem 1.1rem;
	color: #eee;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.2s, background 0.2s;
}

.primary-menu.main-navigation ul.pmenu > li > a:hover,
.primary-menu.main-navigation ul.pmenu > li.current-menu-item > a,
.primary-menu.main-navigation ul.pmenu > li.current_page_item > a {
	color: #fff;
	background: #1a6e3c;
}

/* Dropdown */
.primary-menu.main-navigation ul.pmenu li ul.sub-menu,
.primary-menu.main-navigation ul.pmenu li ul.children {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #222;
	min-width: 200px;
	z-index: 999;
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
	border-top: 3px solid #1a6e3c;
}

.primary-menu.main-navigation ul.pmenu li:hover > ul.sub-menu,
.primary-menu.main-navigation ul.pmenu li:hover > ul.children {
	display: block;
}

.primary-menu.main-navigation ul.pmenu li ul li a {
	display: block;
	padding: 0.5rem 1.25rem;
	color: #ccc;
	font-size: 0.875rem;
	white-space: nowrap;
	transition: color 0.2s, background 0.2s;
}

.primary-menu.main-navigation ul.pmenu li ul li a:hover {
	color: #fff;
	background: #1a6e3c;
}

/* Sub-Arrow */
.sub-arrow {
	display: inline-block;
	font-size: 0.65rem;
	margin-left: 0.3rem;
	vertical-align: middle;
	color: #999;
}

/* Mobile Menu Toggle */
.smenu-hide.toggle-mobile-menu.menu-toggle {
	display: none;
	color: #fff;
	font-size: 1rem;
	padding: 0.5rem 1rem;
	cursor: pointer;
	border: 1px solid #444;
	border-radius: 3px;
}

.super-menu {
	display: none;
	background: #1a1a1a;
	padding: 0.75rem 1.25rem;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #333;
}

.super-menu-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.toggle-mobile-menu.menu-toggle {
	background: none;
	border: 1px solid #555;
	color: #eee;
	padding: 0.5rem 0.65rem;
	cursor: pointer;
	border-radius: 3px;
	font-size: 1.1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
}

.hamburger-bar {
	display: block;
	width: 22px;
	height: 2px;
	background-color: #eee;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.toggle-mobile-menu.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.toggle-mobile-menu.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
	opacity: 0;
}
.toggle-mobile-menu.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

#mobile-menu-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	z-index: 9998;
}

#smobile-menu {
	display: block;
	position: fixed;
	top: 0;
	right: -300px;
	width: 300px;
	height: 100%;
	background: #1a1a1a;
	z-index: 9999;
	overflow-y: auto;
	transition: right 0.3s ease;
	visibility: hidden;
	padding-top: 1rem;
}

#smobile-menu.show {
	right: 0;
	visibility: visible;
}

#smobile-menu .main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 1rem 0;
}

#smobile-menu .main-navigation ul li {
	border-bottom: 1px solid #2a2a2a;
}

#smobile-menu .main-navigation ul li a {
	display: block;
	padding: 0.85rem 1.25rem;
	color: #fff;
	font-size: 1rem;
	text-decoration: none;
}

#smobile-menu .main-navigation ul li a:hover,
#smobile-menu .main-navigation ul li a:active {
	background: #1a6e3c;
	color: #fff;
}

#smobile-menu .main-navigation ul ul.children,
#smobile-menu .main-navigation ul ul.sub-menu {
	display: none;
	background: #111;
	position: static !important;
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	box-shadow: none !important;
	border-top: none !important;
	z-index: auto !important;
	padding-left: 1rem;
	padding-top: 0;
	padding-bottom: 0;
}

#smobile-menu .main-navigation ul ul.children.active,
#smobile-menu .main-navigation ul ul.sub-menu.active {
	display: block;
}

.sub-arrow-btn {
	background: none;
	border: none;
	color: #aaa;
	font-size: 1.1rem;
	padding: 0.85rem 1rem;
	cursor: pointer;
	line-height: 1;
	flex-shrink: 0;
}

.sub-arrow-btn:hover,
.sub-arrow-btn:active {
	color: #fff;
	background: #1a6e3c;
}

/* ==========================================================================
   HEADER-BILD / BANNER
   ========================================================================== */

.bottom-header-wrapper {
	position: relative;
	overflow: hidden;
	background: #1a1a1a;
}

.bottom-header-wrapper img {
	width: 100%;
	height: auto;
	display: block;
}

.bottom-header-text {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;
}

.bottom-header-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,0.5);
	margin-bottom: 0.5rem;
}

.bottom-header-paragraph {
	font-size: 1.1rem;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0,0,0,0.5);
	margin-bottom: 1rem;
}

.header-button-wrap {
	margin-top: 0.75rem;
}

.header-button-wrap a {
	display: inline-block;
	background: #1a6e3c;
	color: #fff;
	padding: 0.7rem 1.75rem;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: background 0.2s;
}

.header-button-wrap a:hover {
	background: #145530;
	color: #fff;
}

/* ==========================================================================
   HEADER-WIDGETS (oben)
   ========================================================================== */

.header-widgets-wrapper {
	display: flex;
	gap: 1.5rem;
	padding: 1.25rem 0;
}

.header-widgets-three {
	flex: 1;
}

.header-widget.swidgets-wrap {
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 0.75rem 1rem;
}

/* ==========================================================================
   INHALTSBEREICH – POSTS & SEITEN
   ========================================================================== */

/* Post/Seiten-Box */
article.fbox,
section.fbox {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	margin-bottom: 1.75rem;
	overflow: hidden;
}

/* Blog-Liste */
.blogposts-list.fbox {
	display: flex;
	flex-direction: column;
}

.featured-img-box,
.no-featured-img-box {
	width: 100%;
}

.featured-img-box a.featured-thumbnail img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.featured-img-box a.featured-thumbnail:hover img {
	transform: scale(1.02);
}

.content-wrapper {
	padding: 1.5rem 1.75rem 1rem;
}

/* Titel in der Blog-Liste */
.content-wrapper h2.entry-title,
.blogposts-list h2.entry-title {
	font-size: 1.35rem;
	margin-bottom: 0.4rem;
}

.content-wrapper h2.entry-title a,
.blogposts-list h2.entry-title a {
	color: #1a1a1a;
}

.content-wrapper h2.entry-title a:hover,
.blogposts-list h2.entry-title a:hover {
	color: #1a6e3c;
}

/* Beitrags-Meta */
.entry-meta {
	margin-bottom: 0.75rem;
}

.blog-data-wrapper {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.post-data-divider {
	width: 3px;
	height: 1.1rem;
	background: #1a6e3c;
	border-radius: 2px;
	flex-shrink: 0;
}

.post-data-text {
	font-size: 0.8rem;
	color: #777;
}

.post-author-wrapper { font-style: italic; }

/* Weiterlesen-Link */
a.read-story {
	display: inline-block;
	margin: 0.5rem 1.75rem 1.25rem;
	padding: 0.4rem 1.1rem;
	border: 1.5px solid #1a6e3c;
	border-radius: 4px;
	color: #1a6e3c;
	font-size: 0.85rem;
	font-weight: 600;
	transition: background 0.2s, color 0.2s;
}

a.read-story:hover {
	background: #1a6e3c;
	color: #fff;
}

/* Einzelbeitrag / Seite */
.featured-thumbnail {
	width: 100%;
}

.featured-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

article.posts-entry.fbox {
	padding: 0;
}

.entry-header {
	padding: 1.5rem 1.75rem 0.5rem;
}

h1.entry-title {
	font-size: 1.75rem;
	margin-bottom: 0.4rem;
}

.entry-content {
	padding: 0.5rem 1.75rem 1.5rem;
	max-width: 100%;
}

.entry-content p,
.entry-content li,
.entry-content dd,
.entry-content dt,
.entry-content address,
.entry-content ol,
.entry-content table {
	color: #333;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	line-height: 1.35;
}

.entry-content a { color: #1a6e3c; }
.entry-content a:hover { color: #145530; }

.entry-content ul li,
.entry-content ol li {
	margin-bottom: 0.3em;
}

/* Seitennavigation (Einzelbeitrag) */
.post-navigation {
	display: flex;
	justify-content: space-between;
	margin: 1.5rem 0 0.5rem;
	padding: 1rem 1.75rem;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	font-size: 0.875rem;
}

.post-navigation a { color: #1a6e3c; }

/* ==========================================================================
   MEDIA & TEXT BLOCK – Fix
   ========================================================================== */

/* Override WordPress Core padding (style.min.css verwendet .wp-block-media-text>.wp-block-media-text__content) */
.wp-block-media-text > .wp-block-media-text__content {
	align-self: start;
}

/* Bild rechts: Text links soll auf gleicher Linie wie restlicher Content beginnen */
.wp-block-media-text.has-media-on-the-right > .wp-block-media-text__content {
	padding-left: 0 !important;
	padding-right: 1rem !important;
}

/* Bild links: Text rechts – kompakter Abstand zum Bild */
.wp-block-media-text:not(.has-media-on-the-right) > .wp-block-media-text__content {
	padding-right: 0 !important;
	padding-left: 1rem !important;
}

/* Sicherstellen dass Media-Text-Blöcke nicht aus dem Container ausbrechen */
.entry-content .wp-block-media-text {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
}

@media screen and (max-width: 600px) {
	/* Gestapelt auf Mobile: Bild und Text gleich breit */
	.wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content {
		padding: 0.75rem 0 0 !important;
	}

	.wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media,
	.wp-block-media-text.is-stacked-on-mobile > figure {
		margin: 0 !important;
		max-width: 100% !important;
	}

	.wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media img {
		max-width: 100% !important;
		width: 100% !important;
	}
}

/* ==========================================================================
   SEITEN-PAGINATION
   ========================================================================== */

.pag-wrapper {
	text-align: center;
	margin: 1rem 0 0.5rem;
}

.pag-wrapper ul.page-numbers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	gap: 0.4rem;
	flex-wrap: wrap;
	justify-content: center;
}

.pag-wrapper ul.page-numbers li {
	margin: 0;
}

.pag-wrapper ul.page-numbers li a.page-numbers,
.pag-wrapper ul.page-numbers li span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 0.6rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	color: #333;
	font-size: 0.9rem;
	transition: background 0.2s, color 0.2s;
}

.pag-wrapper ul.page-numbers li a.page-numbers:hover {
	background: #1a6e3c;
	color: #fff;
	border-color: #1a6e3c;
}

.pag-wrapper ul.page-numbers li span.current {
	background: #1a6e3c;
	color: #fff;
	border-color: #1a6e3c;
}

.pag-wrapper ul.page-numbers li span.dots {
	border: none;
	background: none;
	color: #999;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

#secondary.featured-sidebar {
	margin-top: 0;
}

.fbox.swidgets-wrap.widget {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	margin-bottom: 1.5rem;
	padding: 1.25rem 1.25rem 1rem;
	overflow: hidden;
}

.sidebar-headline-wrapper {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.sidebarlines-wrapper { display: flex; align-items: center; }

.widget-title-lines {
	position: relative;
	width: 30px;
}

.widget-title-lines::before,
.widget-title-lines::after {
	content: '';
	display: block;
	height: 2px;
	background: #1a6e3c;
	border-radius: 2px;
}

.widget-title-lines::before { margin-bottom: 4px; width: 100%; }
.widget-title-lines::after  { width: 60%; }

h4.widget-title {
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #1a1a1a;
	margin: 0;
}

#secondary .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#secondary .widget ul li {
	border-bottom: 1px solid #f0f0f0;
	padding: 0.4rem 0;
	font-size: 0.9rem;
}

#secondary .widget ul li:last-child { border-bottom: none; }

#secondary .widget a { color: #1a6e3c; }
#secondary .widget a:hover { color: #145530; }

#secondary .widget p {
	font-size: 0.9rem;
	color: #555;
}

.search-field {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.9rem;
	font-family: inherit;
}

/* ==========================================================================
   KOMMENTARE
   ========================================================================== */

.comments-area {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 1.5rem 1.75rem;
	margin-top: 1.5rem;
}

h2.comments-title {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .comment {
	border-bottom: 1px solid #eee;
	padding: 1rem 0;
}

.comment-list .comment:last-child { border-bottom: none; }

.comment-meta .comment-metadata a {
	font-size: 0.8rem;
	color: #999;
}

.comment-author .fn { font-weight: 700; }

.comment-content { margin-top: 0.5rem; font-size: 0.95rem; }

.reply a {
	font-size: 0.8rem;
	color: #1a6e3c;
}

.comment-respond {
	margin-top: 1.5rem;
}

h3.comment-reply-title { font-size: 1.1rem; margin-bottom: 1rem; }

.comments-area .comment-respond input[type="text"],
.comments-area .comment-respond input[type="email"],
.comments-area .comment-respond input[type="url"],
.comments-area .comment-respond textarea {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.95rem;
	font-family: inherit;
	margin-bottom: 0.75rem;
}

.comments-area p.form-submit { margin-bottom: 0; }

.comments-area p.form-submit input[type="submit"] {
	background: #1a6e3c;
	color: #fff;
	border: none;
	padding: 0.6rem 1.5rem;
	border-radius: 4px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s;
}

.comments-area p.form-submit input[type="submit"]:hover {
	background: #145530;
}

/* Kommentar-Felder nebeneinander */
.single-post p.comment-form-author,
.single-post p.comment-form-email {
	display: inline-block;
	width: 49%;
	vertical-align: top;
}

.single-post p.comment-form-email { margin-left: 1%; }

.single-post p.comment-form-url,
.single-post p.comment-form-cookies-consent {
	display: inline-block;
	width: 100%;
	text-align: left;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

#colophon.site-footer {
	background: #1a1a1a;
	color: #bbb;
	margin-top: auto;
}

#colophon .content-wrap {
	padding-top: 2.5rem;
	padding-bottom: 1rem;
	flex-direction: column;
}

.footer-column-wrapper {
	display: flex;
	gap: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #2a2a2a;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.footer-column-three {
	flex: 1;
	min-width: 200px;
}

.footer-column-three h3,
.footer-column-three h4,
.footer-column-three h5,
.footer-column-three h2 {
	color: #fff;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.85rem;
}

.footer-column-three h3::after {
	content: '';
	display: block;
	height: 2px;
	width: 30px;
	background: #1a6e3c;
	margin-top: 0.4rem;
}

.footer-column-three p,
.footer-column-three li,
.footer-column-three td,
.footer-column-three th {
	color: #bbb;
	font-size: 0.9rem;
}

.footer-column-three a {
	color: #aaa;
}

.footer-column-three a:hover { color: #fff; }

.footer-column-three ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-column-three ul li {
	border-bottom: 1px solid #2a2a2a;
	padding: 0.35rem 0;
	font-size: 0.9rem;
}

.footer-column-three ul li:last-child { border-bottom: none; }

.site-info {
	font-size: 0.8rem;
	color: #666;
	text-align: left;
	padding: 0.75rem 0;
	border-top: 1px solid #2a2a2a;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-info a { color: #888; }
.site-info a:hover { color: #bbb; }

.footer-info-right { margin-left: auto; }

/* ==========================================================================
   SKIP-LINK / ACCESSIBILITY
   ========================================================================== */

.skip-link.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link.screen-reader-text:focus {
	left: 6px;
	top: 6px;
	width: auto;
	height: auto;
	padding: 0.5rem 1rem;
	background: #fff;
	border: 2px solid #1a6e3c;
	color: #1a6e3c;
	font-size: 0.9rem;
	z-index: 9999;
}

/* ==========================================================================
   GUTENBERG-BLÖCKE
   ========================================================================== */

/* Ausrichtung */
.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin: 0 auto 1rem;
	text-align: center;
}

.alignnone { margin-bottom: 1rem; }

/* Clearfix */
.entry-content::after,
.content-wrapper::after {
	content: '';
	display: table;
	clear: both;
}

/* Cover Block */
.wp-block-cover .wp-block-cover__inner-container p {
	line-height: 1.35;
	margin-bottom: 1rem;
}

/* Separator */
.wp-block-separator {
	border: none;
	border-top: 1px solid #ddd;
	margin: 2rem 0;
}

/* Bild-Bildunterschriften */
figcaption {
	font-size: 0.8rem;
	color: #888;
	text-align: center;
	margin-top: 0.4rem;
}

/* Social Links */
.wp-block-social-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wp-block-social-links li {
	display: inline-block !important;
	width: auto !important;
	padding: 0 !important;
	margin: 3px !important;
	box-shadow: none !important;
}

.wp-block-social-links .wp-social-link { border-bottom: 0 !important; }
.wp-block-social-links .wp-social-link:first-of-type { margin-left: 0 !important; }

/* Pullquote */
.wp-block-pullquote {
	border-top: 4px solid #1a6e3c;
	border-bottom: 4px solid #1a6e3c;
	text-align: center;
	padding: 1.5rem;
	margin: 2rem 0;
}

/* ==========================================================================
   404 / SUCHE / KEIN ERGEBNIS
   ========================================================================== */

.no-results.not-found {
	padding: 2rem;
	text-align: center;
}

.no-results h1.page-title {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 400px;
	margin: 1rem auto;
}

.search-form label { flex: 1; }

.search-form .search-field {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.95rem;
}

.search-form .search-submit {
	padding: 0.5rem 1.1rem;
	background: #1a6e3c;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.95rem;
	font-family: inherit;
}

.search-form .search-submit:hover { background: #145530; }

/* ==========================================================================
   VWT – EVENT-SPEZIFISCH
   ========================================================================== */

/* Allgemeine Button-Klasse für vwt-events */
.vwt-btn {
	display: inline-block;
	padding: 0.6rem 1.4rem;
	background: #1a6e3c;
	color: #fff;
	border-radius: 4px;
	font-size: 0.9rem;
	font-weight: 600;
	border: none;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s;
	text-decoration: none;
}

.vwt-btn:hover { background: #145530; color: #fff; }

.vwt-btn-outline {
	background: transparent;
	color: #1a6e3c;
	border: 2px solid #1a6e3c;
}

.vwt-btn-outline:hover {
	background: #1a6e3c;
	color: #fff;
}

/* Status-Badges */
.vwt-badge {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.vwt-badge-confirmed { background: #d4edda; color: #1a6e3c; }
.vwt-badge-pending   { background: #fff3cd; color: #856404; }
.vwt-badge-cancelled { background: #f8d7da; color: #721c24; }
.vwt-badge-waitlist  { background: #d1ecf1; color: #0c5460; }
.vwt-badge-sold-out  { background: #f8d7da; color: #721c24; }

/* Formular-Styles für vwt-Formulare */
.vwt-form label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.3rem;
	color: #444;
}

.vwt-form input[type="text"],
.vwt-form input[type="email"],
.vwt-form input[type="tel"],
.vwt-form input[type="password"],
.vwt-form input[type="number"],
.vwt-form select,
.vwt-form textarea {
	width: 100%;
	padding: 0.55rem 0.8rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.95rem;
	font-family: inherit;
	transition: border-color 0.2s;
	background: #fff;
}

.vwt-form input:focus,
.vwt-form select:focus,
.vwt-form textarea:focus {
	outline: none;
	border-color: #1a6e3c;
	box-shadow: 0 0 0 2px rgba(26, 110, 60, 0.15);
}

.vwt-form .form-group { margin-bottom: 1rem; }

.vwt-form .form-row {
	display: flex;
	gap: 1rem;
}

.vwt-form .form-row .form-group { flex: 1; }

/* Meldungs-Boxen */
.vwt-notice {
	padding: 0.85rem 1.1rem;
	border-radius: 4px;
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.vwt-notice-success { background: #d4edda; color: #1a6e3c; border: 1px solid #c3e6cb; }
.vwt-notice-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.vwt-notice-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.vwt-notice-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

/* Mein Konto – Tabs */
.vwt-account-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #e0e0e0;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.vwt-account-tabs a {
	padding: 0.65rem 1.25rem;
	color: #555;
	font-size: 0.9rem;
	font-weight: 600;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color 0.2s, border-color 0.2s;
}

.vwt-account-tabs a:hover,
.vwt-account-tabs a.active {
	color: #1a6e3c;
	border-bottom-color: #1a6e3c;
}

/* Ticket-Liste im Profil */
.vwt-ticket-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vwt-ticket-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.85rem 0;
	border-bottom: 1px solid #f0f0f0;
	gap: 1rem;
	flex-wrap: wrap;
}

.vwt-ticket-list li:last-child { border-bottom: none; }

.vwt-ticket-info { flex: 1; min-width: 180px; }

.vwt-ticket-title {
	font-weight: 600;
	font-size: 0.95rem;
	color: #1a1a1a;
}

.vwt-ticket-date {
	font-size: 0.8rem;
	color: #888;
	margin-top: 0.15rem;
}

/* Scanner-Seite */
.vwt-scanner-wrapper {
	max-width: 480px;
	margin: 0 auto;
	text-align: center;
}

/* ==========================================================================
   VOLLBREITE-TEMPLATE
   ========================================================================== */

.content-none #content .content-wrap {
	max-width: 100%;
	padding: 0;
}

/* ==========================================================================
   GO TO TOP
   ========================================================================== */

#goTop {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	background: #1a6e3c;
	color: #fff;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	cursor: pointer;
	z-index: 900;
	border: none;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	transition: background 0.2s;
}

#goTop:hover { background: #145530; }
#goTop.visible { display: flex; }

/* ==========================================================================
   RESPONSIV
   ========================================================================== */

@media screen and (max-width: 1024px) {
	#secondary.featured-sidebar { width: 260px; }
}

@media screen and (max-width: 860px) {
	/* Navigation verstecken, Mobile zeigen */
	.top-nav-wrapper { display: none; }
	.super-menu { display: flex; }

	/* Zweispaltenlayout aufheben */
	#content .content-wrap {
		flex-direction: column;
	}

	#secondary.featured-sidebar {
		width: 100%;
	}

	.footer-column-wrapper { flex-direction: column; gap: 1.5rem; }

	.bottom-header-title { font-size: 1.6rem; }
	.bottom-header-paragraph { font-size: 0.95rem; }

	h1 { font-size: 1.6rem; }
	h2 { font-size: 1.35rem; }

	/* Kommentar-Felder übereinander auf klein */
	.single-post p.comment-form-author,
	.single-post p.comment-form-email {
		max-width: 100%;
		width: 100%;
		margin-left: 0;
	}

	.vwt-form .form-row { flex-direction: column; gap: 0; }
}

@media screen and (max-width: 600px) {
	.header-widgets-wrapper { flex-direction: column; }
	.content-wrapper { padding: 1.1rem 1.1rem 0.75rem; }
	.entry-header { padding: 1.1rem 1.1rem 0.5rem; }
	.entry-content { padding: 0.5rem 1.1rem 1.1rem; }
	a.read-story { margin: 0.5rem 1.1rem 1rem; }

	.search-form { flex-direction: column; }

	.site-info { flex-direction: column; gap: 0.25rem; text-align: center; }
	.footer-info-right { margin-left: 0; }

	.vwt-account-tabs { gap: 0; }
	.vwt-account-tabs a { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
}

/* ==========================================================================
   VWT EVENT DETAILSEITE – Abstand-Fix
   ========================================================================== */

.vwt-event-page {
	padding-top: 0;
	margin-top: 0;
}

body:has(.vwt-event-page) #content .content-wrap {
	padding-top: 0.5rem;
}

/* Gleicher Innenabstand wie .content-wrapper auf anderen Seiten */
.vwt-event-detail {
	padding: 0;
	max-width: 100%;
	box-sizing: border-box;
}

/* ==========================================================================
   VWT – MOBILE OVERFLOW-SCHUTZ
   ========================================================================== */

/* Verhindere dass irgendein VWT-Inhalt den Viewport sprengt */
.vwt-event-page,
.vwt-event-detail,
.vwt-booking-form,
.vwt-account-content,
.vwt-course-detail {
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

/* Checkbox-Zeilen (AGB etc.) – Text soll umbrechen, nicht ausbrechen */
.vwt-form label[for*="agb"],
.vwt-form label[for*="terms"],
.vwt-form .vwt-checkbox-label,
.vwt-form label input[type="checkbox"] ~ *,
.vwt-form label:has(input[type="checkbox"]) {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	line-height: 1.4;
}

.vwt-form label:has(input[type="checkbox"]) a {
	word-break: break-word;
	overflow-wrap: break-word;
}

/* Alle VWT-Seiten auf Mobile: Paddings reduzieren */
@media screen and (max-width: 860px) {
	/* content-wrap: weniger seitliches Padding auf Event-Detail- und Konto-Seiten */
	body:has(.vwt-event-page) #content .content-wrap,
	body:has(.vwt-account-content) #content .content-wrap {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	.vwt-event-detail {
		padding: 0;
	}

	.vwt-booking-form,
	.vwt-form {
		max-width: 100%;
	}

	/* Tabellen im Event-Detail nicht überlaufen lassen */
	.vwt-event-detail table,
	.entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

@media screen and (max-width: 600px) {
	body:has(.vwt-event-page) #content .content-wrap,
	body:has(.vwt-account-content) #content .content-wrap {
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}

	.vwt-event-detail {
		padding: 0;
	}
}

/* ==========================================================================
   404 – SEITE NICHT GEFUNDEN
   ========================================================================== */

.vwt-404-wrapper {
	padding: 2rem 1.75rem 3rem;
}

.vwt-404-code {
	font-size: 5rem;
	font-weight: 800;
	line-height: 1;
	color: #1a6e3c;
	opacity: 0.15;
	margin-bottom: 0.25rem;
	letter-spacing: -0.04em;
}

.vwt-404-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 0.75rem;
}

.vwt-404-text {
	font-size: 1rem;
	color: #555;
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

.vwt-404-links {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.vwt-404-search {
	border-top: 1px solid #e0e0e0;
	padding-top: 1.25rem;
}

.vwt-404-search-label {
	font-size: 0.875rem;
	color: #888;
	margin: 0 0 0.75rem;
}

@media screen and (max-width: 600px) {
	.vwt-404-wrapper {
		padding: 1.5rem 1.1rem 2rem;
	}

	.vwt-404-code {
		font-size: 4rem;
	}

	.vwt-404-title {
		font-size: 1.25rem;
	}
}