/*
 * alles-rund-ums-auto.de – Design-Layer für zeeDynamic
 * Wird nach zeeDynamic Pro geladen und überschreibt Farben, Typografie, Abstände.
 */

:root {
	--ara-ink: #0f172a;
	--ara-text: #334155;
	--ara-muted: #64748b;
	--ara-line: #e2e8f0;
	--ara-bg: #eef2f6;
	--ara-surface: #ffffff;
	--ara-soft: #f8fafc;
	--ara-accent: #d62828;
	--ara-accent-dark: #a61b1b;
	--ara-link: #b91c1c;
	--ara-nav: #0f172a;
	--ara-radius: 10px;
	--ara-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Grundlagen ---------- */

body,
body.custom-background {
	background: var(--ara-bg);
	color: var(--ara-text);
	font-family: var(--ara-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
button, input, select, textarea {
	font-family: var(--ara-font);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--ara-ink);
	letter-spacing: -0.01em;
}

a,
a:link,
a:visited {
	color: var(--ara-link);
}

a:hover,
a:focus,
a:active {
	color: var(--ara-accent-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--ara-accent);
	outline-offset: 2px;
}

#page.site {
	max-width: 1180px;
	background: var(--ara-surface);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 12px 40px rgba(15, 23, 42, 0.07);
}

/* ---------- Header ---------- */

.header-main {
	padding-top: 1.6em;
	padding-bottom: 1.6em;
}

.site-branding .site-title {
	margin: 0;
	font-family: var(--ara-font);
	font-weight: 800;
	font-size: 1.9rem;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.site-title a,
.site-title a:link,
.site-title a:visited {
	color: var(--ara-ink);
	text-decoration: none;
}

.site-title a::before {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.55em;
	margin-right: 0.35em;
	border-radius: 3px;
	background: var(--ara-accent);
	vertical-align: 0.06em;
}

.site-title a:hover,
.site-title a:focus {
	color: var(--ara-accent-dark);
}

.site-description {
	display: block;
	margin: 0.25em 0 0;
	color: var(--ara-muted);
	font-size: 0.95rem;
}

/* ---------- Hauptnavigation ---------- */

.primary-navigation-wrap,
.primary-navigation {
	background: var(--ara-nav);
}

.main-navigation-menu a,
.main-navigation-menu a:link,
.main-navigation-menu a:visited {
	padding: 1em 1.25em;
	color: #e2e8f0;
	font-family: var(--ara-font);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
}

.main-navigation-menu a:hover,
.main-navigation-menu a:focus,
.main-navigation-menu a:active,
.main-navigation-menu li.current-menu-item > a,
.main-navigation-menu li.current-menu-ancestor > a,
.main-navigation-menu li.current-post-ancestor > a {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	box-shadow: inset 0 -3px 0 var(--ara-accent);
	text-decoration: none;
}

.main-navigation-menu ul {
	background: var(--ara-nav);
}

.main-navigation-toggle,
.main-navigation-toggle:hover,
.main-navigation-toggle:focus {
	background: var(--ara-nav);
	color: #fff;
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs-container {
	padding: 0.7em 2em;
	background: var(--ara-soft);
	border-bottom: 1px solid var(--ara-line);
	color: var(--ara-muted);
	font-size: 0.85rem;
}

.breadcrumbs-container a,
.breadcrumbs-container a:link,
.breadcrumbs-container a:visited {
	color: var(--ara-text);
	text-decoration: none;
}

.breadcrumbs-container a:hover {
	color: var(--ara-accent-dark);
	text-decoration: underline;
}

/* ---------- Abschnitts- und Widget-Titel ---------- */

.widget-header {
	position: relative;
	margin: 0 0 1.25em;
	background: none;
	border-bottom: 2px solid var(--ara-line);
}

.widget-title {
	position: relative;
	padding: 0 0 0.55em;
	color: var(--ara-ink);
	font-family: var(--ara-font);
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 3px;
	border-radius: 2px;
	background: var(--ara-accent);
}

.widget-title a,
.widget-title a:link,
.widget-title a:visited {
	color: var(--ara-ink);
	text-decoration: none;
}

.widget-title a:hover,
.widget-title a:focus {
	color: var(--ara-accent-dark);
	text-decoration: none;
}

.widget-title .category-archive-link::after {
	content: " \2192";
	color: var(--ara-accent);
}

/* ---------- Beitragstitel & Meta ---------- */

.entry-title {
	color: var(--ara-ink);
	font-family: var(--ara-font);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.25;
	text-transform: none;
}

.entry-title a,
.entry-title a:link,
.entry-title a:visited {
	color: var(--ara-ink);
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {
	color: var(--ara-accent-dark);
}

.single .type-post .entry-header .entry-title,
.page .type-page .entry-header .entry-title {
	display: block;
	margin-bottom: 0.35em;
	font-size: 2.1rem;
	line-height: 1.2;
}

.entry-meta {
	color: var(--ara-muted);
	font-size: 0.82rem;
}

.entry-meta a,
.entry-meta a:link,
.entry-meta a:visited {
	color: var(--ara-muted);
}

.entry-meta a:hover {
	color: var(--ara-accent-dark);
}

.entry-meta span:before {
	color: var(--ara-accent);
}

.entry-meta > span {
	margin-right: 1em;
}

/* ---------- Bilder ---------- */

.type-post .wp-post-image,
.widget-magazine-posts .type-post .wp-post-image,
.tzwb-posts-list img,
.entry-content img {
	border-radius: 8px;
}

a .wp-post-image {
	transition: opacity 0.2s ease;
}

a:hover .wp-post-image {
	opacity: 0.88;
}

/* ---------- Magazin-Startseite ---------- */

.widget-magazine-posts .large-post .entry-title {
	font-size: 1.3rem;
}

.widget-magazine-posts .medium-post .entry-title,
.widget-magazine-posts .small-post .entry-title {
	font-family: var(--ara-font);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.35;
}

.widget-magazine-posts .small-post .entry-title {
	font-size: 0.95rem;
}

.widget-magazine-posts .small-post {
	padding-bottom: 0.9em;
	border-bottom: 1px solid var(--ara-line);
}

.widget-magazine-posts .type-post .entry-content {
	color: var(--ara-text);
	font-size: 0.97rem;
	line-height: 1.65;
}

.widget-magazine-posts .large-post .entry-header {
	margin-bottom: 0.4em;
}

/* ---------- Buttons & Formulare ---------- */

.more-link,
.more-link:link,
.more-link:visited,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	border-radius: 6px;
	background: var(--ara-accent);
	color: #fff;
	font-family: var(--ara-font);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	text-decoration: none;
}

.more-link {
	padding: 0.55em 1.1em;
	font-size: 0.88rem;
}

.more-link::after {
	content: " \2192";
}

.more-link:hover,
.more-link:focus,
button:hover,
button:focus,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--ara-ink);
	color: #fff;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
	border: 1px solid var(--ara-line);
	border-radius: 6px;
	background: #fff;
	color: var(--ara-text);
}

.search-form .search-submit {
	border-radius: 0 6px 6px 0;
}

.search-form .search-field {
	border-radius: 6px 0 0 6px;
}

.entry-tags .meta-tags a,
.entry-tags .meta-tags a:link,
.entry-tags .meta-tags a:visited,
.widget_tag_cloud .tagcloud a,
.widget_tag_cloud .tagcloud a:link,
.widget_tag_cloud .tagcloud a:visited {
	margin: 0 0.35em 0.45em 0;
	padding: 0.3em 0.8em;
	border: 1px solid var(--ara-line);
	border-radius: 999px;
	background: var(--ara-soft);
	color: var(--ara-text);
	font-family: var(--ara-font);
	font-size: 0.8rem !important;
	text-transform: none;
	text-decoration: none;
}

.entry-tags .meta-tags a:hover,
.widget_tag_cloud .tagcloud a:hover {
	border-color: var(--ara-accent);
	background: var(--ara-accent);
	color: #fff;
}

.pagination .current,
.pagination a:hover {
	background: var(--ara-accent);
	color: #fff;
}

/* ---------- Slider ---------- */

.post-slider-container {
	margin-bottom: 2.2em;
	border-radius: var(--ara-radius);
	overflow: hidden;
}

.post-slider .zeeslide {
	position: relative;
}

.post-slider .zeeslide .slide-image-wrap {
	margin: 0;
}

.post-slider .zeeslide img {
	display: block;
	width: 100%;
	border-radius: 0;
}

.post-slider .zeeslide .slide-post {
	margin: 0;
	padding: 1.2em 1.5em 1.4em;
	border: none;
	background: var(--ara-ink);
}

.post-slider .zeeslide .slide-post .entry-title {
	display: block;
	font-size: 1.5rem;
	line-height: 1.2;
}

.post-slider .zeeslide .slide-post .entry-title a,
.post-slider .zeeslide .slide-post .entry-title a:link,
.post-slider .zeeslide .slide-post .entry-title a:visited {
	background: none;
	color: #fff;
	text-decoration: none;
}

.post-slider .zeeslide .slide-post .entry-title a:hover {
	color: #fecaca;
}

.post-slider .zeeslide .slide-post .entry-content {
	color: #cbd5e1;
	font-size: 0.95rem;
}

.post-slider .zeeslide .slide-post .entry-content p {
	margin: 0.5em 0 0;
}

@media only screen and (min-width: 60em) {
	.post-slider .zeeslide .slide-post {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		padding: 5em 1.75em 1.5em;
		background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.75) 55%, rgba(15, 23, 42, 0) 100%);
	}

	.post-slider .zeeslide .slide-post .entry-title {
		font-size: 1.75rem;
	}
}

.post-slider-controls .zeeflex-direction-nav a,
.post-slider-controls .zeeflex-direction-nav a:link,
.post-slider-controls .zeeflex-direction-nav a:visited {
	border-radius: 6px;
	background: rgba(15, 23, 42, 0.65);
	color: #fff;
}

.post-slider-controls .zeeflex-direction-nav a:hover {
	background: var(--ara-accent);
}

.post-slider-controls .zeeflex-control-paging li a {
	background: rgba(15, 23, 42, 0.25);
}

.post-slider-controls .zeeflex-control-paging li a.zeeflex-active,
.post-slider-controls .zeeflex-control-paging li a:hover {
	background: var(--ara-accent);
}

/* ---------- Sidebar ---------- */

.sidebar .widget {
	padding: 1.1em 1.2em;
	border: 1px solid var(--ara-line);
	border-radius: var(--ara-radius);
	background: var(--ara-soft);
}

.sidebar .widget_search {
	padding: 0;
	border: none;
	background: none;
}

.sidebar .widget ul {
	padding: 0;
	list-style: none;
}

.sidebar .widget li {
	padding: 0.45em 0;
	border-bottom: 1px solid var(--ara-line);
}

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

.sidebar .widget li a,
.sidebar .widget li a:link,
.sidebar .widget li a:visited {
	color: var(--ara-ink);
	font-weight: 600;
	text-decoration: none;
}

.sidebar .widget li a:hover {
	color: var(--ara-accent-dark);
}

.tzwb-posts-list li {
	line-height: 1.4;
}

.tzwb-posts-list li.tzwb-has-thumbnail {
	display: flex;
	align-items: flex-start;
	gap: 0.85em;
}

.tzwb-posts-list li.tzwb-has-thumbnail > a:first-child {
	flex: 0 0 80px;
}

.tzwb-posts-list li.tzwb-has-thumbnail > a:first-child img {
	float: none;
	display: block;
	width: 80px;
	height: auto;
	margin: 0;
}

.tzwb-posts-list li img {
	border-radius: 6px;
}

/* ---------- Einzelbeitrag ---------- */

.entry-content {
	color: var(--ara-text);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.entry-content h2 {
	margin: 1.7em 0 0.6em;
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.25;
}

.entry-content h3 {
	margin: 1.5em 0 0.5em;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.3;
}

.entry-content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.entry-content blockquote {
	margin: 1.5em 0;
	padding: 0.8em 1.2em;
	border-left: 4px solid var(--ara-accent);
	background: var(--ara-soft);
	color: var(--ara-ink);
}

.entry-content table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
	padding: 0.55em 0.75em;
	border: 1px solid var(--ara-line);
}

.entry-content th {
	background: var(--ara-soft);
	color: var(--ara-ink);
}

/* Autorenbox */

.entry-content .ara-author-box {
	display: flex;
	align-items: flex-start;
	gap: 1em;
	margin: 2.5em 0 0;
	padding: 1.25em 1.4em;
	border: 1px solid var(--ara-line);
	border-left: 4px solid var(--ara-accent);
	border-radius: var(--ara-radius);
	background: var(--ara-soft);
}

.entry-content .ara-author-badge {
	display: flex;
	flex: 0 0 52px;
	align-items: center;
	justify-content: center;
	height: 52px;
	border-radius: 50%;
	background: var(--ara-ink);
	color: #fff;
}

.entry-content .ara-author-text p {
	margin: 0;
	line-height: 1.5;
}

.entry-content .ara-author-label {
	color: var(--ara-muted);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-content .ara-author-name {
	font-weight: 800;
	font-size: 1.05rem;
}

.entry-content .ara-author-name a,
.entry-content .ara-author-name a:link,
.entry-content .ara-author-name a:visited {
	color: var(--ara-ink);
	text-decoration: none;
}

.entry-content .ara-author-text .ara-author-bio {
	margin-top: 0.4em;
	color: var(--ara-text);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ---------- Footer ---------- */

.footer-wrap {
	background: var(--ara-nav);
}

.site-footer {
	color: #cbd5e1;
	font-size: 0.85rem;
}

.site-footer a,
.site-footer a:link,
.site-footer a:visited {
	color: #e2e8f0;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-navigation {
	background: #1e293b;
}

.footer-navigation-menu {
	background: transparent;
}

.footer-navigation .today {
	display: none;
}

.footer-navigation-menu a,
.footer-navigation-menu a:link,
.footer-navigation-menu a:visited {
	color: #e2e8f0;
	text-transform: none;
	font-family: var(--ara-font);
}

.scroll-to-top-button,
.scroll-to-top-button:hover {
	border-radius: 6px;
	background: var(--ara-accent);
}

/* ---------- Mobil ---------- */

@media only screen and (max-width: 60em) {
	#page.site {
		box-shadow: none;
	}

	.site-branding .site-title {
		font-size: 1.5rem;
	}

	.single .type-post .entry-header .entry-title,
	.page .type-page .entry-header .entry-title {
		font-size: 1.65rem;
	}

	.breadcrumbs-container {
		padding: 0.6em 1.2em;
	}
}

@media only screen and (max-width: 40em) {
	.entry-content .ara-author-box {
		flex-direction: column;
	}
}
