/*
Theme Name:   Travelify Child – direktvomhof
Template:     travelify
Version:      1.0.0
Description:  Modernes Upgrade: frischeres Layout, echtes Hamburger-Menü, bessere Lesbarkeit.
*/

/* ════════════════════════════════════════════════════════════════
   DESIGN-TOKENS
   Palette: Natur/Hof – satt grün, cremeweiß, dunkelbraun, gold
   ════════════════════════════════════════════════════════════════ */
:root {
	--c-brand:       #3a7d44;   /* Sattes Waldgrün  */
	--c-brand-dark:  #2c5f34;   /* Hover/Active     */
	--c-accent:      #d4a017;   /* Stroh-Gold        */
	--c-bg:          #fafaf7;   /* Cremeweiß        */
	--c-surface:     #ffffff;
	--c-text:        #2b2b2b;
	--c-text-muted:  #6b6b6b;
	--c-border:      #e2e0d8;
	--c-nav-bg:      #2c5f34;
	--c-nav-text:    #f0f4f0;
	--c-nav-hover:   #3a7d44;

	--radius:        6px;
	--shadow-sm:     0 1px 3px rgba(0,0,0,.08);
	--shadow-md:     0 4px 16px rgba(0,0,0,.10);
	--transition:    .2s ease;

	--font-display:  'Playfair Display', Georgia, serif;
	--font-body:     'Inter', 'Ubuntu', system-ui, sans-serif;
}

/* ── Google Fonts laden ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@600;700&display=swap');

/* ════════════════════════════════════════════════════════════════
   BASE
   ════════════════════════════════════════════════════════════════ */
body {
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.wrapper {
	background: var(--c-bg);
	border-radius: 0 !important;
	overflow: visible !important;
}

a {
	color: var(--c-brand);
	transition: color var(--transition);
}
a:hover { color: var(--c-brand-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	line-height: 1.25;
	color: var(--c-text);
}

/* ════════════════════════════════════════════════════════════════
   HEADER / BRANDING
   ════════════════════════════════════════════════════════════════ */
#branding {
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-border);
	box-shadow: var(--shadow-sm);
}

.hgroup-wrap {
	padding: 18px 0;
}

#site-title a {
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--c-brand-dark) !important;
	letter-spacing: -.01em;
	text-decoration: none;
}

#site-description {
	color: var(--c-text-muted);
	font-size: .85rem;
	margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════════
   NAVIGATION – Desktop
   ════════════════════════════════════════════════════════════════ */
#main-nav {
	background: var(--c-nav-bg) !important;
	border: none !important;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

#main-nav .container {
	display: flex;
	align-items: center;
	position: relative;
}

#main-nav ul.root {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

#main-nav ul.root > li > a {
	display: block;
	padding: 14px 18px;
	color: var(--c-nav-text) !important;
	font-size: .9rem;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background var(--transition), color var(--transition);
	border-radius: 0;
}

#main-nav ul.root > li > a:hover,
#main-nav ul.root > li.current-menu-item > a,
#main-nav ul.root > li.current_page_item > a,
#main-nav ul.root > li.current-menu-ancestor > a,
#main-nav ul.root > li:hover > a {
	background: var(--c-brand) !important;
	color: #fff !important;
}

/* Dropdown */
#main-nav ul ul,
#main-nav ul li:hover ul,
#main-nav ul li:focus-within ul {
	background: var(--c-nav-bg) !important;
	border: none !important;
	box-shadow: var(--shadow-md);
	border-radius: 0 0 var(--radius) var(--radius);
	min-width: 200px;
}

#main-nav ul li ul li a,
#main-nav ul li.current-menu-item ul li a,
#main-nav ul li ul li.current-menu-item a,
#main-nav ul li.current_page_ancestor ul li a,
#main-nav ul li.current-menu-ancestor ul li a,
#main-nav ul li.current_page_item ul li a {
	color: var(--c-nav-text) !important;
	background: var(--c-nav-bg) !important;
	padding: 10px 18px;
	font-size: .875rem;
}

#main-nav ul li ul li a:hover,
#main-nav ul li ul li:hover > a {
	background: var(--c-brand) !important;
	color: #fff !important;
}

/* Altes <select>-Menü komplett verstecken */
#main-nav select { display: none !important; }

/* ════════════════════════════════════════════════════════════════
   HAMBURGER BUTTON (nur mobile)
   ════════════════════════════════════════════════════════════════ */
.dvh-menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding: 10px 14px;
	background: transparent;
	border: 1.5px solid rgba(255,255,255,.4);
	border-radius: var(--radius);
	color: var(--c-nav-text);
	font-size: .85rem;
	font-weight: 500;
	cursor: pointer;
	transition: background var(--transition), border-color var(--transition);
}

.dvh-menu-toggle:hover,
.dvh-menu-toggle[aria-expanded="true"] {
	background: var(--c-brand);
	border-color: var(--c-brand);
}

.dvh-hamburger {
	width: 20px;
	height: 14px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.dvh-hamburger span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .25s ease, opacity .25s ease;
	transform-origin: center;
}

/* Burger → X */
.dvh-menu-toggle[aria-expanded="true"] .dvh-hamburger span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}
.dvh-menu-toggle[aria-expanded="true"] .dvh-hamburger span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.dvh-menu-toggle[aria-expanded="true"] .dvh-hamburger span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ════════════════════════════════════════════════════════════════
   MOBILE MENÜ (Slide-down Panel)
   ════════════════════════════════════════════════════════════════ */
@media only screen and (max-width: 767px) {

	.dvh-menu-toggle { display: flex; }

	#main-nav {
		height: auto !important;
		padding: 0 !important;
	}

	#main-nav .container {
		flex-wrap: wrap;
		padding: 10px 16px;
	}

	/* Menü standardmäßig versteckt – per JS/Klasse einblenden */
	#main-nav ul.root {
		display: none !important;
		flex-direction: column;
		width: 100%;
		gap: 0;
		padding: 8px 0 12px;
		border-top: 1px solid rgba(255,255,255,.12);
		margin-top: 8px;
	}

	#main-nav ul.root.dvh-open {
		display: flex !important;
	}

	#main-nav ul.root > li > a {
		padding: 12px 16px;
		font-size: 1rem;
		text-transform: none;
		border-radius: 0;
	}

	/* Mobile Sub-Menü */
	#main-nav ul ul {
		position: static !important;
		display: none;
		box-shadow: none;
		background: rgba(0,0,0,.15);
		border-radius: 0;
	}

	#main-nav ul li.dvh-sub-open > ul {
		display: block;
	}

	#main-nav ul li ul li a {
		padding: 10px 16px 10px 32px;
	}

	/* Sub-Menü-Toggle Pfeil */
	#main-nav ul.root > li.menu-item-has-children > a::after {
		content: " ▾";
		font-size: .75em;
		opacity: .7;
	}

	#main-nav ul.root > li.menu-item-has-children.dvh-sub-open > a::after {
		content: " ▴";
	}
}

/* ════════════════════════════════════════════════════════════════
   BEITRAGS-KARTEN
   ════════════════════════════════════════════════════════════════ */
#content .post,
#content article {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 0;
	margin-bottom: 32px;
	overflow: hidden;
	transition: box-shadow var(--transition), transform var(--transition);
}

#content .post:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.post-featured-image {
	margin: 0 0 20px !important;
	overflow: hidden;
}

.post-featured-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform .4s ease;
}

#content .post:hover .post-featured-image img {
	transform: scale(1.03);
}

.entry-header {
	padding: 0 24px;
}

.entry-title {
	font-family: var(--font-display) !important;
	font-size: 1.4rem !important;
	line-height: 1.3 !important;
	margin: 0 0 10px !important;
}

.entry-title a {
	color: var(--c-text) !important;
	text-decoration: none;
}

.entry-title a:hover { color: var(--c-brand) !important; }

.entry-content {
	padding: 0 24px !important;
	color: var(--c-text-muted);
	font-size: .95rem;
}

/* Meta-Leiste */
.entry-meta-bar {
	padding: 6px 24px;
	border-top: 1px solid var(--c-border);
	margin-top: 16px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	background: var(--c-bg);
	min-height: 0;
}

/* entry-meta inline style überschreiben */
.entry-meta-bar .entry-meta {
	padding-bottom: 0 !important;
	margin: 0 !important;
}

a.readmore {
	margin: 0 !important;
}

.entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	flex: 1;
	font-size: .82rem;
	color: var(--c-text-muted);
}

.entry-meta a { color: var(--c-text-muted); }
.entry-meta a:hover { color: var(--c-brand); }

/* Weiterlesen-Button */
a.readmore {
	display: inline-block;
	padding: 7px 18px !important;
	background: var(--c-brand) !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--radius) !important;
	font-size: .85rem !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background var(--transition), transform var(--transition) !important;
	white-space: nowrap;
}

a.readmore:hover {
	background: var(--c-brand-dark) !important;
	transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════════
   SIDEBAR / WIDGETS
   ════════════════════════════════════════════════════════════════ */
.widget {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 24px !important;
	box-shadow: var(--shadow-sm);
}

.widget-title {
	font-family: var(--font-display) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: var(--c-brand-dark) !important;
	padding-bottom: 10px !important;
	margin-bottom: 12px !important;
	border-bottom: 2px solid var(--c-accent) !important;
}

.widget ul li {
	padding: 4px 0;
	border-bottom: 1px solid var(--c-border);
	font-size: .9rem;
}

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

/* Suchfeld im Widget */
.widget_search input.s {
	border: 1px solid var(--c-border) !important;
	border-radius: var(--radius) !important;
	padding: 8px 12px !important;
	font-size: .9rem !important;
	width: 100% !important;
	transition: border-color var(--transition) !important;
}

.widget_search input.s:focus {
	border-color: var(--c-brand) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(58,125,68,.15);
}

/* ════════════════════════════════════════════════════════════════
   BREADCRUMB / PAGE TITLE
   ════════════════════════════════════════════════════════════════ */
.page-title-wrap {
	background: linear-gradient(135deg, var(--c-brand-dark), var(--c-brand));
	padding: 18px 0;
}

.page-title {
	color: #fff !important;
	font-size: 1.3rem !important;
	margin: 0 !important;
}

.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
#site-generator {
	background: var(--c-text) !important;
	color: rgba(255,255,255,.7) !important;
	padding: 20px 0 !important;
	font-size: .85rem;
}

#site-generator a {
	color: rgba(255,255,255,.7);
}

#site-generator a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE FEINSCHLIFF
   ════════════════════════════════════════════════════════════════ */
@media only screen and (max-width: 767px) {
	#content .post {
		border-radius: 0;
		margin-bottom: 16px;
		border-left: none;
		border-right: none;
	}

	.entry-meta-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.entry-title { font-size: 1.2rem !important; }
}

/* ════════════════════════════════════════════════════════════════
   ACCESSIBILITY: FOCUS
   ════════════════════════════════════════════════════════════════ */
a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--c-accent);
	outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition: none !important;
		animation: none !important;
	}
}

/* ════════════════════════════════════════════════════════════════
   HEADER-BILD MIT TITEL-OVERLAY
   Echte Struktur:
     #branding
       > .container > .hgroup-wrap (Titel)
       > img.header-image
       > #main-nav               ← NAV IST INSIDE #branding!
   ════════════════════════════════════════════════════════════════ */

.wrapper { border-radius: 0 !important; }

/* #branding: kein overflow:hidden – Navi muss sichtbar bleiben */
#branding {
	position: relative !important;
	display: block !important;
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

/* Bild: normal im Flow, volle Breite */
#branding > img.header-image {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 360px;
	min-height: 180px;
	object-fit: cover;
	position: relative;
	z-index: 0;
}

/* .container (Titel): absolut über dem Bild, am unteren Rand */
#branding > .container {
	position: absolute !important;
	bottom: 52px !important;   /* Navhöhe freilassen */
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 20px !important;
	z-index: 2 !important;
	background: transparent !important;
	display: block !important;
}

/* Gradient: Pseudo auf dem Bild via #branding::before */
#branding::before {
	content: '';
	position: absolute;
	left: 0; right: 0;
	bottom: 52px;   /* bis Oberkante Navi */
	height: 60%;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 100%);
	z-index: 1;
	pointer-events: none;
}

/* #main-nav: normal im Flow, am Ende von #branding – bleibt unter dem Bild */
#branding > #main-nav {
	position: relative !important;
	z-index: 100;
}

#main-nav {
	overflow: visible !important;
}

#main-nav > .container {
	overflow: visible !important;
	display: flex !important;
	align-items: stretch !important;
	padding: 0 !important;
	max-width: 100%;
}

#main-nav ul.root {
	flex: 1 1 auto;
	display: flex;
	align-items: stretch;
}

/* hgroup */
.hgroup-wrap {
	padding: 0 0 24px !important;
	background: transparent !important;
	text-align: left;
}

.hgroup-right { display: none !important; }
#site-logo { text-align: left; }

#site-title a,
#site-title a:hover {
	color: #fff !important;
	font-family: var(--font-display) !important;
	font-size: 2.6rem; font-weight: 700;
	letter-spacing: -.02em;
	text-shadow: 0 1px 0 rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.55);
	text-decoration: none; line-height: 1.15;
}

#site-description {
	display: inline-block;
	margin-top: 10px !important;
	padding: 4px 12px !important;
	background: #fff !important;
	color: var(--c-nav-bg) !important;
	font-family: var(--font-body) !important;
	font-size: .72rem !important;
	font-weight: 700 !important;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-shadow: none !important;
	border-radius: 3px;
	box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* Social Icons */
.dvh-social-icons {
	flex: 0 0 auto;
	display: flex; align-items: center;
	padding: 0 8px;
	border-left: 1px solid rgba(255,255,255,.15);
	align-self: stretch;
}
#main-nav .dvh-social-icons a {
	display: flex; align-items: center; justify-content: center;
	width: 36px; align-self: stretch;
	color: rgba(255,255,255,.78) !important;
	transition: background var(--transition), color var(--transition);
	text-decoration: none;
}
#main-nav .dvh-social-icons a:hover { background: rgba(255,255,255,.12); color: #fff !important; }
#main-nav .dvh-social-icons svg { display: block; flex-shrink: 0; }

/* Submenüs */
#main-nav ul ul { position: absolute !important; z-index: 99999 !important; }

/* ── Mobile ─────────────────────────────────────────────────── */
@media only screen and (max-width: 767px) {

	#branding > img.header-image { max-height: 200px; min-height: 130px; }
	#branding > .container { bottom: 48px !important; padding: 0 16px !important; }
	#branding::before { bottom: 48px; }

	#site-title a { font-size: 1.5rem; }
	#site-description { font-size: .68rem !important; letter-spacing: .14em !important; padding: 3px 10px !important; }
	.hgroup-wrap { padding: 0 0 16px !important; }

	.dvh-menu-toggle { display: flex !important; }

	#main-nav { height: auto !important; padding: 0 !important; }

	#main-nav > .container {
		flex-wrap: wrap !important;
		padding: 10px 16px !important;
		align-items: center !important;
	}

	#main-nav ul.root {
		display: none !important;
		flex-direction: column;
		width: 100%; flex: 0 0 100%;
		gap: 0;
		padding: 8px 0 12px;
		border-top: 1px solid rgba(255,255,255,.12);
		margin-top: 8px;
	}
	#main-nav ul.root.dvh-open { display: flex !important; }

	#main-nav ul.root > li > a { padding: 12px 16px; font-size: 1rem; text-transform: none; }

	#main-nav ul ul {
		position: static !important;
		display: none;
		box-shadow: none;
		background: rgba(0,0,0,.15) !important;
		border-radius: 0;
	}
	#main-nav ul li.dvh-sub-open > ul { display: block; }
	#main-nav ul li ul li a { padding: 10px 16px 10px 32px; }

	#main-nav ul.root > li.menu-item-has-children > a::after { content: " ▾"; font-size: .75em; opacity: .7; }
	#main-nav ul.root > li.menu-item-has-children.dvh-sub-open > a::after { content: " ▴"; }

	/* Social Icons mobil: komplett ausblenden – JS zeigt sie im offenen Menü */
	#main-nav .dvh-social-icons { display: none !important; }
	#main-nav .dvh-social-icons.dvh-mobile-visible {
		display: flex !important;
		border-left: none;
		border-top: 1px solid rgba(255,255,255,.12);
		padding: 12px 16px;
		width: 100%; flex: 0 0 100%;
		gap: 8px;
	}
	#main-nav .dvh-social-icons a {
		width: 38px; height: 38px;
		align-self: auto;
		border-radius: 50%;
		border: 1px solid rgba(255,255,255,.3);
	}
	.dvh-menu-toggle { margin-left: auto; }
}

/* Doppelten Seitentitel nur auf der Startseite ausblenden */
.home .entry-header {
	display: none;
}

/* Seitentitel: h1, linksbündig */
.entry-header .entry-title,
.entry-title {
	text-align: left !important;
}
.entry-header h2.entry-title {
	font-size: 1.9rem !important;
}

/* ════════════════════════════════════════════════════════════════
   LOGO NEBEN TITEL
   ════════════════════════════════════════════════════════════════ */

/* hgroup-wrap als Flex-Row: Logo | Titel+Subtitle */
.hgroup-wrap {
	display: flex !important;
	align-items: center !important;
	gap: 18px;
	text-align: left !important;
}

/* Logo-Container */
.dvh-header-logo {
	flex: 0 0 auto;
	line-height: 0;
}

.dvh-header-logo img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}

.dvh-header-logo a { display: block; }

/* Titel + Subtitle als Block nebeneinander */
#site-logo {
	flex: 1 1 auto;
	text-align: left !important;
}

/* Mobile: Logo etwas kleiner */
@media only screen and (max-width: 767px) {
	.dvh-header-logo img {
		width: 48px;
		height: 48px;
	}

	.hgroup-wrap { gap: 12px; }
}

/* ── Blog-Header ────────────────────────────────────────────── */
.dvh-blog-header {
	padding: 12px 0 4px;
}

.dvh-blog-title {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 700;
	color: var(--c-text);
	margin: 0 0 8px;
}

.dvh-blog-desc {
	font-size: .97rem;
	color: var(--c-text-muted);
	margin: 0;
	line-height: 1.6;
}

/* Leeren Bereich nach entry-meta-bar entfernen */
.entry-meta-bar ~ *:empty {
	display: none;
}

#content .post > *:last-child,
#content article > *:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* entry-content kein extra padding unten wenn meta-bar folgt */
.entry-content {
	padding-bottom: 0 !important;
}

/* ════════════════════════════════════════════════════════════════
   NEUESTER CONNECTIONS-EINTRAG [dvh_neuester_hof]
   ════════════════════════════════════════════════════════════════ */
.dvh-newest-entry {
	margin: 2em 0;
}

.dvh-newest-entry__heading {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--c-brand-dark);
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--c-accent);
	display: inline-block;
}

.dvh-newest-entry__card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: box-shadow var(--transition);
}

.dvh-newest-entry__card:hover {
	box-shadow: var(--shadow-md);
}

/* Bild */
.dvh-newest-entry__image-link {
	flex: 0 0 140px;
	display: block;
	overflow: hidden;
}

.dvh-newest-image {
	width: 140px;
	height: 140px;
	min-height: 140px;
	overflow: hidden;
	flex-shrink: 0;
}

.dvh-newest-image img {
	width: 140px !important;
	height: 140px !important;
	object-fit: cover !important;
	object-position: center center;
	display: block !important;
	transition: transform .4s ease;
}

.dvh-newest-entry__card:hover .dvh-newest-image img {
	transform: scale(1.05);
}

/* Placeholder wenn kein Bild */
.dvh-newest-image--placeholder {
	background: var(--c-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
}

/* Text-Bereich */
.dvh-newest-entry__body {
	flex: 1;
	padding: 14px 16px 14px 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dvh-newest-entry__date {
	font-size: .78rem;
	color: var(--c-text-muted);
	letter-spacing: .02em;
}

.dvh-newest-entry__name {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.3;
}

.dvh-newest-entry__name a {
	color: var(--c-text);
	text-decoration: none;
}
.dvh-newest-entry__name a:hover { color: var(--c-brand); }

.dvh-newest-entry__desc {
	font-size: .88rem;
	color: var(--c-text-muted);
	margin: 0;
	line-height: 1.5;
}

.dvh-newest-entry__link {
	display: inline-block;
	margin-top: 4px;
	font-size: .82rem;
	font-weight: 600;
	color: var(--c-brand);
	text-decoration: none;
	letter-spacing: .02em;
}
.dvh-newest-entry__link:hover { color: var(--c-brand-dark); }

@media only screen and (max-width: 767px) {
	.dvh-newest-entry__card { flex-direction: row; align-items: flex-start; }
	.dvh-newest-entry__image-link { flex: 0 0 100px; }
	.dvh-newest-image { width: 100px !important; height: 100px !important; min-height: 100px; }
	.dvh-newest-image img { width: 100px !important; height: 100px !important; }
	.dvh-newest-entry__body { padding: 10px 12px; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE REFRESH – Header, Typo, Content
   ════════════════════════════════════════════════════════════════ */
@media only screen and (max-width: 767px) {

	/* ── Header-Bild größer ──────────────────────────────────── */
	#branding > img.header-image {
		max-height: 240px !important;
		min-height: 180px !important;
	}

	#branding > .container {
		bottom: 44px !important;
		padding: 0 20px !important;
	}

	#branding::before { bottom: 44px; }

	/* ── Logo größer + Schatten ──────────────────────────────── */
	.dvh-header-logo img {
		width: 64px !important;
		height: 64px !important;
		filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)) !important;
	}

	.hgroup-wrap {
		gap: 14px !important;
		padding: 0 0 20px !important;
		align-items: center !important;
	}

	/* ── Titel: größer, stärker ──────────────────────────────── */
	#site-title a,
	#site-title a:hover {
		font-size: 1.75rem !important;
		letter-spacing: -.025em !important;
		text-shadow:
			0 1px 0 rgba(0,0,0,.4),
			0 3px 12px rgba(0,0,0,.6) !important;
	}

	/* ── Subtitle mobil: gleiche Badge-Optik ────────────────── */
	#site-description {
		font-size: .68rem !important;
		letter-spacing: .14em !important;
		padding: 3px 10px !important;
		margin-top: 8px !important;
		border-top: none !important;
	}

	/* ── Content: mehr Luft, bessere Typografie ─────────────── */
	#main {
		padding: 0 !important;
	}

	#content {
		padding: 16px 0 !important;
	}

	/* Startseiten-Intro-Text aufwerten */
	.home #content .entry-content > p:first-of-type,
	.page-id-2 #content .entry-content > p:first-of-type {
		font-size: 1rem !important;
		line-height: 1.75 !important;
		color: var(--c-text) !important;
	}

	/* Listenelemente auf der Startseite */
	.home .entry-content ul,
	.page-id-2 .entry-content ul {
		padding-left: 0 !important;
		list-style: none !important;
	}

	.home .entry-content ul li,
	.page-id-2 .entry-content ul li {
		padding: 6px 0 6px 24px !important;
		position: relative !important;
		border-bottom: 1px solid var(--c-border) !important;
		font-size: .93rem !important;
	}

	.home .entry-content ul li::before,
	.page-id-2 .entry-content ul li::before {
		content: '🌿' !important;
		position: absolute !important;
		left: 0 !important;
		font-size: .8rem !important;
	}

	/* h2/h3 im Content klarer */
	.entry-content h2 {
		font-size: 1.25rem !important;
		margin-top: 1.5em !important;
		padding-bottom: 6px !important;
		border-bottom: 2px solid var(--c-accent) !important;
		display: inline-block !important;
	}

	.entry-content h3 {
		font-size: 1.05rem !important;
		color: var(--c-brand-dark) !important;
	}

	/* Burger-Button etwas größer */
	.dvh-menu-toggle {
		padding: 10px 16px !important;
		font-size: .9rem !important;
		border-radius: 6px !important;
	}

	/* Neuester Eintrag Card auf Mobile */
	.dvh-newest-entry__heading {
		font-size: 1rem !important;
	}

	.dvh-newest-entry__card {
		border-radius: var(--radius) !important;
		box-shadow: var(--shadow-md) !important;
	}
}

/* ════════════════════════════════════════════════════════════════
   DESKTOP CONTENT REFRESH
   ════════════════════════════════════════════════════════════════ */

/* Links im Content einheitlich grün */
.entry-content a {
	color: var(--c-brand) !important;
	text-decoration: none;
	border-bottom: 1px solid rgba(58,125,68,.25);
	transition: color var(--transition), border-color var(--transition);
}
.entry-content a:hover {
	color: var(--c-brand-dark) !important;
	border-bottom-color: var(--c-brand);
}

/* Erster Absatz im Content: etwas größer und stärker */
.entry-content > p:first-of-type {
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--c-text);
}

/* h2 im Content mit goldener Unterstreichung */
.entry-content h2 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	margin-top: 1.8em;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--c-accent);
	display: inline-block;
}

.entry-content h3 {
	font-family: var(--font-display);
	font-size: 1.15rem;
	color: var(--c-brand-dark);
	margin-top: 1.4em;
}

/* Aufzählungslisten: grüne Emoji-Bullets */
.entry-content ul {
	list-style: none !important;
	padding-left: 0 !important;
}

.entry-content ul li {
	padding: 6px 0 6px 26px;
	position: relative;
	border-bottom: 1px solid var(--c-border);
	font-size: .95rem;
	line-height: 1.6;
}

.entry-content ul li:last-child {
	border-bottom: none;
}

.entry-content ul li::before {
	content: '🌿';
	position: absolute;
	left: 0;
	font-size: .78rem;
	top: 9px;
}

/* Bilder im Content runder + Schatten */
.entry-content img {
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	max-width: 100%;
	height: auto;
}

/* Neuester Eintrag Card Desktop */
.dvh-newest-entry__card {
	box-shadow: var(--shadow-md) !important;
}

/* PLZ-Ziffern-Index */
.cn-zipindex {
	margin-bottom: 1em;
}

.cn-zipindex .cn-char,
.cn-zipindex .cn-char-current {
	display: inline-block;
	padding: 4px 10px;
	margin: 2px;
	border-radius: var(--radius);
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--transition), color var(--transition);
}

.cn-zipindex .cn-char {
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	color: var(--c-brand);
}

.cn-zipindex .cn-char:hover,
.cn-alphaindex .cn-char:hover {
	background: var(--c-brand-dark) !important;
	color: #fff !important;
	border-color: var(--c-brand-dark) !important;
}

.cn-zipindex .cn-char-current,
.cn-alphaindex .cn-char-current {
	background: var(--c-accent) !important;
	color: #fff !important;
	border: 1px solid var(--c-accent) !important;
}

/* ════════════════════════════════════════════════════════════════
   LIGHTBOX für Connections-Eintragsbilder
   ════════════════════════════════════════════════════════════════ */
.cn-image-style img,
.cn-image.photo,
.cn-image.logo {
	cursor: zoom-in;
	transition: opacity .2s ease;
}
.cn-image-style img:hover,
.cn-image.photo:hover,
.cn-image.logo:hover {
	opacity: .88;
}

/* Overlay */
#dvh-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0,0,0,.88);
	align-items: center;
	justify-content: center;
	cursor: zoom-out;
	padding: 20px;
}
#dvh-lightbox.dvh-lb-open {
	display: flex;
}
#dvh-lightbox img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: var(--radius);
	box-shadow: 0 8px 40px rgba(0,0,0,.6);
	cursor: default;
	animation: dvhLbIn .2s ease;
}
@keyframes dvhLbIn {
	from { opacity: 0; transform: scale(.95); }
	to   { opacity: 1; transform: scale(1); }
}
#dvh-lightbox-close {
	position: fixed;
	top: 16px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: rgba(255,255,255,.15);
	border: none;
	border-radius: 50%;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s;
}
#dvh-lightbox-close:hover {
	background: rgba(255,255,255,.3);
}

/* ════════════════════════════════════════════════════════════════
   FAQ [dvh_faq]
   ════════════════════════════════════════════════════════════════ */
.dvh-faq {
	margin: 2em 0;
}

.dvh-faq__title {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--c-text);
	margin: 0 0 1em;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--c-accent);
	display: inline-block;
}

.dvh-faq__item {
	border-bottom: 1px solid var(--c-border);
}

.dvh-faq__item:first-of-type {
	border-top: 1px solid var(--c-border);
}

.dvh-faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 4px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-body);
	font-size: .97rem;
	font-weight: 600;
	color: var(--c-text);
	transition: color var(--transition);
}

.dvh-faq__question:hover {
	color: var(--c-brand);
}

.dvh-faq__question[aria-expanded="true"] {
	color: var(--c-brand-dark);
}

.dvh-faq__icon {
	flex-shrink: 0;
	font-size: 1.2rem;
	color: var(--c-brand);
	line-height: 1;
	transition: transform var(--transition);
}

.dvh-faq__answer {
	padding: 0 4px 16px;
}

.dvh-faq__answer p {
	font-size: .93rem;
	line-height: 1.7;
	color: var(--c-text-muted);
	margin: 0;
}

@media only screen and (max-width: 767px) {
	.dvh-faq__question { font-size: .92rem; padding: 12px 4px; }
}

/* ════════════════════════════════════════════════════════════════
   REGIONALE KEYWORDS [dvh_regionen]
   ════════════════════════════════════════════════════════════════ */
.dvh-regionen {
	margin: 2em 0;
}

.dvh-regionen__title {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--c-text);
	margin: 0 0 .6em;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--c-accent);
	display: inline-block;
}

.dvh-regionen__intro {
	font-size: .95rem;
	line-height: 1.75;
	color: var(--c-text-muted);
	margin: 0 0 1.2em;
}

.dvh-regionen__subtitle {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--c-brand-dark);
	margin: 1.2em 0 .6em;
}

.dvh-regionen__list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 1em !important;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dvh-regionen__list li::before {
	display: none !important;
}

.dvh-regionen__list li {
	border-bottom: none !important;
	padding: 0 !important;
}

.dvh-regionen__list a {
	display: inline-block;
	padding: 5px 12px;
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: 20px;
	font-size: .83rem;
	color: var(--c-brand) !important;
	border-bottom: 1px solid var(--c-border) !important;
	text-decoration: none;
	transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.dvh-regionen__list a:hover {
	background: var(--c-brand);
	color: #fff !important;
	border-color: var(--c-brand) !important;
}

/* Hofladen der Stunde – Bild oben, Text unten */
.dvh-hds .dvh-newest-entry__card {
	flex-direction: column;
}

.dvh-hds .dvh-newest-entry__image-link {
	flex: none;
	width: 100%;
}

.dvh-hds .dvh-newest-image {
	width: 100% !important;
	height: 180px !important;
	border-radius: var(--radius) var(--radius) 0 0;
}

.dvh-hds .dvh-newest-image img {
	width: 100% !important;
	height: 180px !important;
}

.dvh-hds .dvh-newest-entry__body {
	padding: 12px 16px 14px;
}

/* Neu im Hofladen-Verzeichnis + Neu im Blog – Bild oben, Text unten */
.dvh-newest-entry:not(.dvh-hds) .dvh-newest-entry__card {
	flex-direction: column;
}

.dvh-newest-entry:not(.dvh-hds) .dvh-newest-entry__image-link {
	flex: none;
	width: 100%;
}

.dvh-newest-entry:not(.dvh-hds) .dvh-newest-image {
	width: 100% !important;
	height: 200px !important;
	border-radius: var(--radius) var(--radius) 0 0;
}

.dvh-newest-entry:not(.dvh-hds) .dvh-newest-image img,
.dvh-newest-entry:not(.dvh-hds) .dvh-newest-blog__img {
	width: 100% !important;
	height: 200px !important;
	object-fit: cover !important;
	display: block !important;
}

.dvh-newest-entry:not(.dvh-hds) .dvh-newest-entry__body {
	padding: 14px 16px 16px;
}

/* ════════════════════════════════════════════════════════════════
   HOFLADEN ICONS
   ════════════════════════════════════════════════════════════════ */
.dvh-entry-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 12px;
}

.dvh-entry-icon {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: 20px;
	font-size: .78rem;
	color: var(--c-brand-dark);
	white-space: nowrap;
}

.dvh-entry-icon i {
	color: var(--c-brand);
	font-size: .82rem;
}

.dvh-entry-icon__label {
	font-weight: 500;
}
