/* ==========================================================================
   Irrsinn Brauerei – Grundlayout
   ========================================================================== */

:root {
	--bg: #141C17;
	--bg-deep: #0F1612;
	--surface: #1F2C24;
	--surface-2: #18231C;
	--line: #2E3D33;
	--line-2: #34463A;
	--line-3: #3A4D40;
	--text: #F2E8D5;
	--text-2: #DDD3BF;
	--text-3: #C9BFAA;
	--muted: #A99F8A;
	--accent: #D2A84E;
	--accent-ink: #141C17;
	--ok: #8DBF74;
	--ok-text: #B8D3A8;
	--warn: #D9785A;
	--warn-text: #F0A58C;
	--font-head: 'Oswald', 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--radius: 8px;
	--radius-sm: 4px;
	--gutter: 32px;
}

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

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--text);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin: 0 0 0.5em;
	color: var(--text);
}

p {
	margin: 0 0 1em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 20px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	border-radius: var(--radius-sm);
}

.container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.container--text {
	max-width: 860px;
}

.muted {
	color: var(--muted);
}

.eyebrow {
	margin: 0 0 12px;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--accent);
}

.eyebrow--dark {
	color: #3A2E12;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 30px;
	border: 1.5px solid transparent;
	border-radius: var(--radius-sm);
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, filter 0.15s;
}

.btn--primary {
	background: var(--accent);
	color: var(--accent-ink);
}

.btn--primary:hover {
	color: var(--accent-ink);
	filter: brightness(1.08);
}

.btn--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--text);
	font-weight: 500;
}

.btn--ghost:hover {
	background: var(--text);
	color: var(--bg);
}

.btn--dark {
	background: var(--bg);
	color: var(--text);
}

.btn--dark:hover {
	background: #000;
	color: var(--text);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

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

.site-header {
	position: relative;
	z-index: 20;
	background: var(--bg-deep);
	border-bottom: 1px solid var(--line);
}

.site-header--overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom: 0;
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.brand {
	display: inline-flex;
	flex-direction: column;
	line-height: 1;
	color: var(--text);
	text-decoration: none;
}

.brand:hover {
	color: var(--text);
}

.brand__name {
	font-family: var(--font-head);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.brand__sub {
	margin-top: 4px;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.42em;
	color: var(--accent);
}

.brand--small .brand__name {
	font-size: 28px;
}

.brand--small .brand__sub {
	font-size: 11px;
}

.custom-logo-link img {
	display: block;
	max-height: 64px;
	width: auto;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	order: 3;
}

.site-nav {
	order: 2;
	margin-left: auto;
}

.site-nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-family: var(--font-head);
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text);
	text-decoration: none;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
	color: var(--accent);
}

.cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--accent);
	border-radius: var(--radius-sm);
	font-family: var(--font-head);
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text);
	text-decoration: none;
}

.cart-link:hover {
	color: var(--accent);
}

.cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--text);
	cursor: pointer;
}

.nav-toggle__close {
	display: none;
}

/* Kasse: reduzierter Header */

.site-header--checkout .site-header__inner {
	padding-top: 18px;
	padding-bottom: 18px;
}

.checkout-steps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-head);
	font-size: 15px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.checkout-steps__item + .checkout-steps__item::before {
	content: '—';
	margin-right: 12px;
	color: #5E6B60;
}

.checkout-steps__item.is-current {
	color: var(--accent);
}

.checkout-steps a {
	color: var(--text-3);
	text-decoration: none;
}

.secure-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--text-3);
}

/* Hero ------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 680px;
	overflow: hidden;
}

.hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% center;
}

.hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(0deg, var(--bg) 0%, rgba(20, 28, 23, 0) 24%),
		linear-gradient(90deg, rgba(20, 28, 23, 0.94) 0%, rgba(20, 28, 23, 0.78) 38%, rgba(20, 28, 23, 0.15) 70%, rgba(20, 28, 23, 0) 100%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	padding-top: 96px;
	padding-bottom: 120px;
}

.hero__content {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 600px;
}

.hero__content .eyebrow {
	margin: 0;
}

.hero__title {
	margin: 0;
	font-size: clamp(48px, 7vw, 92px);
	line-height: 0.98;
}

.hl {
	color: var(--accent);
}

.hero__text {
	margin: 0;
	max-width: 480px;
	font-size: 20px;
	color: var(--text-2);
}

/* Vorteile --------------------------------------------------------------- */

.usp-bar {
	background: var(--surface-2);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.usp-bar__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px 32px;
	padding-top: 28px;
	padding-bottom: 28px;
}

.usp {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--font-head);
	font-size: 16px;
	letter-spacing: 0.1em;
	line-height: 1.25;
	text-transform: uppercase;
}

.usp .icon {
	flex: none;
	color: var(--accent);
}

/* Abschnitte ------------------------------------------------------------- */

.section {
	padding: 110px 0;
}

.products-section {
	padding-bottom: 40px;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 40px;
	margin-bottom: 56px;
}

.section-head__text {
	max-width: 420px;
	margin: 0;
	color: var(--text-3);
}

.section-title {
	margin: 0;
	font-size: clamp(38px, 5vw, 60px);
	line-height: 1;
}

.section-title--md {
	font-size: clamp(34px, 4.5vw, 54px);
	line-height: 1.02;
}

/* Bierkarten ------------------------------------------------------------- */

.beer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 32px;
}

.beer-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--surface);
	border-radius: var(--radius);
}

.beer-card__media {
	position: relative;
	display: block;
	height: 420px;
	overflow: hidden;
	background: #2A3A2F;
}

.beer-card__media img,
.beer-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 55%;
}

.beer-badge {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 3;
	padding: 6px 14px;
	border-radius: 3px;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.beer-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
}

.beer-card__title {
	margin: 0;
	font-size: 40px;
	line-height: 1;
}

.beer-card__title a {
	color: var(--text);
	text-decoration: none;
}

.beer-card__title a:hover {
	color: var(--accent);
}

.beer-card__desc {
	color: var(--text-2);
}

.beer-card__desc p:last-child {
	margin-bottom: 0;
}

.facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 16px 0;
	border-top: 1px solid var(--line-2);
	border-bottom: 1px solid var(--line-2);
}

.facts dt {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.facts dd {
	margin: 4px 0 0;
	font-family: var(--font-head);
	font-size: 20px;
	line-height: 1.2;
}

.beer-card__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
}

.beer-card__price .price {
	display: block;
	font-family: var(--font-head);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--text);
}

.beer-card__price .price del {
	font-size: 0.6em;
	color: var(--muted);
}

.beer-card__price .price ins {
	text-decoration: none;
}

.price-note {
	margin: 2px 0 0;
	font-size: 14px;
	color: var(--muted);
}

.price-note a {
	color: var(--text-3);
}

.soldout-tag {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1.5px solid var(--warn);
	border-radius: var(--radius-sm);
	color: var(--warn-text);
	font-family: var(--font-head);
	font-size: 15px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Eine große Karte, wenn es nur ein Bier gibt */

.beer-card--wide {
	flex-flow: row wrap;
}

.beer-card--wide .beer-card__media {
	flex: 1 1 480px;
	height: auto;
	min-height: 560px;
}

.beer-card--wide .beer-card__media img {
	position: absolute;
	inset: 0;
}

.beer-card--wide .beer-card__body {
	flex: 1 1 420px;
	min-width: 0;
	justify-content: center;
	gap: 20px;
	padding: 48px;
}

.beer-card--wide .beer-card__title {
	font-size: 64px;
}

.beer-card--wide .beer-card__buy {
	margin-top: 8px;
}

.admin-hint {
	padding: 20px;
	border: 1.5px dashed var(--accent);
	border-radius: var(--radius);
	color: var(--text-2);
}

/* Brauerei --------------------------------------------------------------- */

.about__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 48px;
}

.about__media {
	position: relative;
	flex: 1 1 520px;
	min-height: 460px;
	overflow: hidden;
	border-radius: var(--radius);
	background: #2A3A2F;
}

.about__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about__content {
	display: flex;
	flex: 1 1 420px;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 24px;
}

.about__content .eyebrow,
.about__content .section-title {
	margin: 0;
}

.about__text {
	color: var(--text-2);
}

.about__text p:last-child {
	margin-bottom: 0;
}

/* Bestellschritte -------------------------------------------------------- */

.steps {
	padding: 96px 0;
	background: var(--accent);
	color: var(--accent-ink);
}

.steps .section-title {
	margin: 0 0 56px;
	color: var(--accent-ink);
}

.steps__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 40px;
	margin: 0 0 56px;
	padding: 0;
	list-style: none;
}

.step {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 20px;
	border-top: 2px solid var(--accent-ink);
}

.step__num {
	font-family: var(--font-head);
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
}

.step__title {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 600;
	color: var(--accent-ink);
}

.step p {
	margin: 0;
}

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

.site-footer {
	background: var(--bg-deep);
	border-top: 1px solid var(--line);
	color: var(--text-2);
	font-size: 15px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	padding: 72px 0 48px;
}

.site-footer__brand .muted {
	margin-top: 12px;
}

.footer-title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.18em;
	color: var(--accent);
}

.site-footer address {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-style: normal;
}

.site-footer a {
	color: var(--text-2);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--accent);
}

.footer-menu {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.withdrawal-link {
	display: inline-block;
	margin-top: 12px;
	text-decoration: underline !important;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding: 24px 0 32px;
	border-top: 1px solid var(--line);
	font-size: 14px;
	color: var(--muted);
}

.site-footer--compact .site-footer__bottom {
	border-top: 0;
	padding: 28px var(--gutter);
}

.footer-inline-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.footer-inline-nav .withdrawal-link {
	margin-top: 0;
}

/* Seiten ----------------------------------------------------------------- */

.page-main {
	padding: 64px 0 110px;
}

.page-title {
	margin: 0 0 32px;
	font-size: clamp(40px, 5vw, 60px);
	line-height: 1;
}

.entry-meta {
	color: var(--muted);
	font-size: 15px;
}

.entry-content {
	color: var(--text-2);
}

.entry-content h2 {
	margin: 1.6em 0 0.5em;
	font-size: 32px;
}

.entry-content h3 {
	margin: 1.4em 0 0.4em;
	font-size: 24px;
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin: 1.2em 0 0.4em;
	font-size: 19px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

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

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.5em;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content blockquote {
	margin: 1.5em 0;
	padding-left: 20px;
	border-left: 3px solid var(--accent);
	color: var(--text);
}

.entry-content img {
	border-radius: var(--radius-sm);
}

.entry-thumb {
	margin-bottom: 32px;
}

.post-list {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.post-card__title {
	margin: 0 0 4px;
	font-size: 30px;
}

.post-card__title a {
	color: var(--text);
	text-decoration: none;
}

.nav-links {
	display: flex;
	gap: 16px;
	margin-top: 48px;
}

.not-found .btn-row {
	margin-top: 32px;
}

/* Formulare (allgemein) -------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	background: var(--surface);
	border: 1.5px solid var(--line-3);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.4;
}

textarea {
	min-height: 120px;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 2px rgba(210, 168, 78, 0.35);
}

::placeholder {
	color: #8F8672;
	opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
	width: 20px;
	height: 20px;
	accent-color: var(--accent);
}

label {
	color: var(--text-3);
}

/* Gutenberg-Grundformate */

.wp-block-button__link {
	border-radius: var(--radius-sm);
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-head);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.alignwide {
	max-width: 1280px;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 900px) {
	:root {
		--gutter: 20px;
	}

	body {
		font-size: 16px;
	}

	.site-header__inner {
		flex-wrap: nowrap;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.site-header--checkout .site-header__inner {
		flex-wrap: wrap;
	}

	.site-header--overlay {
		position: relative;
		background: var(--bg-deep);
		border-bottom: 1px solid var(--line);
	}

	.brand__name {
		font-size: 24px;
	}

	.brand__sub {
		font-size: 10px;
		margin-top: 3px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.cart-link {
		padding: 0;
		width: 44px;
		justify-content: center;
		border: 0;
	}

	.cart-link__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.cart-link .cart-count {
		position: absolute;
		top: 2px;
		right: -2px;
		min-width: 18px;
		height: 18px;
		font-size: 11px;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		padding: 8px var(--gutter) 20px;
		background: var(--bg-deep);
		border-bottom: 1px solid var(--line);
	}

	.site-header.is-open .site-nav {
		display: block;
	}

	.site-header.is-open .nav-toggle__open {
		display: none;
	}

	.site-header.is-open .nav-toggle__close {
		display: inline;
	}

	.site-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav li + li {
		border-top: 1px solid var(--line);
	}

	.site-nav a {
		display: flex;
		min-height: 52px;
		font-size: 18px;
	}

	.hero {
		min-height: 640px;
	}

	.hero__img {
		object-position: 50% center;
	}

	.hero__shade {
		background: linear-gradient(0deg, var(--bg) 0%, rgba(20, 28, 23, 0.88) 42%, rgba(20, 28, 23, 0.1) 75%, rgba(20, 28, 23, 0) 100%);
	}

	.hero__inner {
		padding-top: 220px;
		padding-bottom: 36px;
	}

	.hero__content {
		gap: 18px;
	}

	.hero__title {
		font-size: clamp(40px, 12.5vw, 56px);
	}

	.hero__text {
		font-size: 17px;
	}

	.hero .btn-row {
		flex-direction: column;
		gap: 12px;
	}

	.hero .btn-row .btn {
		width: 100%;
	}

	.usp-bar__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1px;
		padding: 0;
		background: var(--line);
	}

	.usp {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 18px var(--gutter);
		background: var(--surface-2);
		font-size: 14px;
		letter-spacing: 0.08em;
	}

	.section {
		padding: 64px 0;
	}

	.products-section {
		padding-bottom: 24px;
	}

	.section-head {
		margin-bottom: 24px;
	}

	.section-title {
		font-size: 38px;
	}

	.section-title--md {
		font-size: 34px;
	}

	.beer-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.beer-card__media,
	.beer-card--wide .beer-card__media {
		flex-basis: auto;
		height: 300px;
		min-height: 0;
		width: 100%;
	}

	.beer-card__body,
	.beer-card--wide .beer-card__body {
		padding: 20px;
		gap: 12px;
	}

	.beer-card__title,
	.beer-card--wide .beer-card__title {
		font-size: 32px;
	}

	.facts dd {
		font-size: 17px;
	}

	.beer-card__price .price {
		font-size: 26px;
	}

	.price-note {
		font-size: 12.5px;
	}

	.about__grid {
		gap: 20px;
	}

	.about__media {
		flex-basis: auto;
		width: 100%;
		min-height: 240px;
	}

	.about__content {
		gap: 18px;
	}

	.about__content .btn {
		width: 100%;
	}

	.steps {
		padding: 56px 0;
	}

	.steps .section-title {
		margin-bottom: 32px;
	}

	.steps__list {
		gap: 24px;
		margin-bottom: 32px;
	}

	.step {
		flex-direction: row;
		gap: 16px;
		padding-top: 16px;
	}

	.step__num {
		font-size: 36px;
	}

	.step__title {
		font-size: 20px;
	}

	.steps .btn {
		width: 100%;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 16px;
		padding: 48px 0 32px;
	}

	.site-footer__brand,
	.site-footer__col--contact {
		grid-column: 1 / -1;
	}

	.footer-menu a {
		display: inline-flex;
		align-items: center;
		min-height: 40px;
	}

	.site-footer__bottom {
		flex-direction: column;
	}

	.page-main {
		padding: 40px 0 72px;
	}

	.checkout-steps {
		order: 3;
		width: 100%;
		font-size: 13px;
	}

	.secure-note {
		font-size: 13px;
	}
}

@media (max-width: 420px) {
	.facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   1.0.4: Seitenlayout, Buttons in Formularen, Elementor-Inhalte
   ========================================================================== */

/* Hintergrund gegen Elementor-Kit durchsetzen, Footer immer unten */
body[class] {
	background: var(--bg);
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1 0 auto;
}

/* Allgemeine Buttons (Formulare, Blöcke, Plugins) im Theme-Stil.
   :where() hält die Spezifität bei 0, eigene Klassen überschreiben das. */
:where(button[type="submit"], input[type="submit"], input[type="button"], .wp-block-button__link, .wp-element-button, .contact-form .pushbutton-wide) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 52px;
	padding: 0 30px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

:where(button[type="submit"], input[type="submit"], input[type="button"], .wp-block-button__link, .wp-element-button):hover {
	filter: brightness(1.08);
	color: var(--accent-ink);
}

/* Jetpack-Formulare (z. B. „Vertrag widerrufen“) */
.contact-form,
.wp-block-jetpack-contact-form {
	max-width: 640px;
}

.contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.contact-form textarea,
.contact-form select {
	width: 100% !important;
	max-width: 100%;
}

.contact-form label,
.contact-form .grunion-field-label {
	display: block;
	margin: 18px 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-3);
}

.contact-form label span,
.contact-form .grunion-label-required {
	font-weight: 400;
	color: var(--muted);
}

.contact-form .contact-submit,
.contact-form .wp-block-jetpack-button {
	margin-top: 24px;
}

.contact-form button[type="submit"],
.contact-form .wp-block-jetpack-button .wp-block-button__link {
	width: auto !important;
	min-width: 240px;
	min-height: 56px;
	padding: 0 32px !important;
	border: 0 !important;
	border-radius: var(--radius-sm) !important;
	background: var(--accent) !important;
	color: var(--accent-ink) !important;
	font-family: var(--font-head) !important;
	font-size: 18px !important;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Elementor-Seiten (z. B. „Über uns“) */
.elementor-widget-image img {
	object-fit: cover !important;
}

.elementor-widget-button .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 30px;
	border-radius: var(--radius-sm);
	background-color: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.elementor-widget-button .elementor-button:hover {
	background-color: var(--accent);
	color: var(--accent-ink);
	filter: brightness(1.08);
}

.elementor-widget-heading .elementor-heading-title {
	font-family: var(--font-head);
	text-transform: uppercase;
}

.elementor-widget-text-editor {
	color: var(--text-2);
}

@media (max-width: 900px) {
	.hero__inner {
		padding-top: 220px;
	}

	.hero__content .eyebrow {
		text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
	}
}

/* Original-Logo (SVG) links neben dem Schriftzug ----------------------- */
.brand {
	position: relative;
	padding-left: 70px;
}

.brand::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 56px;
	height: 60px;
	transform: translateY(-50%);
	background: url("../img/irrsinn-logo.svg") center / contain no-repeat;
}

.brand--small {
	padding-left: 60px;
}

.brand--small::before {
	width: 48px;
	height: 52px;
}

@media (max-width: 760px) {
	.brand {
		padding-left: 54px;
	}

	.brand::before {
		width: 43px;
		height: 46px;
	}
}

/* Startseite: Produktbild in der breiten Karte vollständig zeigen */
@media (min-width: 901px) {
	.beer-card--wide .beer-card__media {
		flex: 0 0 auto;
		width: min(45%, 480px);
		height: auto;
		min-height: 0;
		aspect-ratio: 4 / 5;
		align-self: center;
	}

	.beer-card--wide .beer-card__body {
		flex: 1 1 0;
	}
}

/* Handy/Tablet: Produktbild in der breiten Karte vollständig zeigen */
@media (max-width: 900px) {
	.beer-card--wide .beer-card__media {
		width: 100%;
		max-width: 480px;
		height: auto;
		min-height: 0;
		margin-inline: auto;
		aspect-ratio: 4 / 5;
	}
}

/* Newsletter-Formulare (listmonk) ---------------------------------------- */
.newsletter {
	margin: 0;
}

.newsletter__title {
	margin: 0 0 10px;
	font-weight: 600;
	color: var(--text);
}

.newsletter__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 520px;
}

.newsletter__input {
	flex: 1 1 220px;
	min-width: 0;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	font: inherit;
}

.newsletter__input:focus {
	outline: 2px solid var(--accent);
	outline-offset: 1px;
	border-color: transparent;
}

.newsletter__button {
	flex: 0 0 auto;
	min-height: 48px;
	padding-inline: 22px;
	white-space: nowrap;
}

.newsletter__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.newsletter__message {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--text-2);
}

.newsletter__message.is-ok {
	color: var(--accent);
}

.newsletter__message.is-error {
	color: #E08A6B;
}

.newsletter.is-done .newsletter__row {
	display: none;
}

.newsletter__legal {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: var(--muted);
}

.newsletter__legal a {
	color: var(--text-3);
}

/* Produktseite: unter „Gerade ausverkauft“ */
.newsletter--product {
	margin: 4px 0 24px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

/* Footer: eigene Zeile über den Spalten */
.site-footer__newsletter {
	display: flex;
	padding: 56px 0 44px;
	border-bottom: 1px solid var(--line);
}

.site-footer__newsletter + .site-footer__grid {
	padding-top: 56px;
}

.newsletter--footer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	column-gap: 32px;
	align-items: center;
	width: 100%;
}

.newsletter--footer .newsletter__title {
	margin: 0;
	font-family: var(--font-head);
	font-size: 22px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.newsletter--footer .newsletter__row,
.newsletter--footer .newsletter__message,
.newsletter--footer .newsletter__legal {
	grid-column: 2;
}

.newsletter--footer .newsletter__title {
	grid-row: 1;
	align-self: center;
}

@media (max-width: 760px) {
	.site-footer__newsletter {
		padding: 40px 0 32px;
	}

	.site-footer__newsletter + .site-footer__grid {
		padding-top: 40px;
	}

	.newsletter--footer {
		display: block;
	}

	.newsletter--footer .newsletter__title {
		margin-bottom: 12px;
		font-size: 18px;
	}

	.newsletter__row {
		flex-direction: column;
	}

	.newsletter__button {
		width: 100%;
	}
}

/* Newsletter kompakter (1.0.15). „form.“ erhöht die Spezifität,
   damit die WooCommerce-Buttonregel (.woocommerce .btn--primary) nicht greift. */
form.newsletter .newsletter__row {
	gap: 8px;
	max-width: 440px;
}

form.newsletter .newsletter__input {
	flex: 1 1 200px;
	min-height: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 14px;
}

form.newsletter .newsletter__button {
	min-height: 40px;
	height: 40px;
	padding: 0 18px;
	font-size: 13px;
}

form.newsletter .newsletter__legal {
	margin-top: 6px;
	font-size: 12px;
}

form.newsletter--product {
	margin: 0 0 20px;
	padding: 14px 16px;
}

form.newsletter--product .newsletter__title {
	margin-bottom: 8px;
	font-size: 15px;
}

@media (max-width: 760px) {
	/* Feld und Button untereinander: flex-basis darf nicht zur Höhe werden */
	form.newsletter .newsletter__input {
		flex: 0 0 auto;
		width: 100%;
	}

	form.newsletter .newsletter__button {
		width: 100%;
	}
}


/* Hinweis „Bild KI-generiert“ ------------------------------------------- */

.ai-note {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 3;
	padding: 3px 8px;
	border-radius: var(--radius-sm);
	background: rgba(15, 22, 18, 0.72);
	color: var(--text-2);
	font-family: var(--font-body);
	font-size: 11px;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: none;
	pointer-events: none;
}

.hero .ai-note--hero {
	right: 16px;
	bottom: 16px;
}

.woocommerce-product-gallery__image {
	position: relative;
}

@media (max-width: 900px) {
	.hero .ai-note--hero {
		right: 8px;
		bottom: 6px;
		font-size: 10px;
	}
}
