/*
Theme Name: SH Packaging Solutions
Theme URI: https://example.com/sh-packaging
Author: SH Packaging Solutions
Author URI: https://example.com
Description: Dunkles, elegantes WordPress-Theme fuer Verpackungshersteller. Enthaelt eine modulare Startseite (Hero, Produkte, Ueber uns, Kennzahlen, Kontakt-CTA), einen eigenen Produkt-Inhaltstyp und vollstaendige Anpassung ueber den Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sh-packaging
Tags: business, dark, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Design-Tokens
   ========================================================================== */

:root {
	--sh-black: #0b0b0c;
	--sh-black-soft: #111113;
	--sh-black-card: #16161a;
	--sh-gold: #c39b4e;
	--sh-gold-light: #dcbb78;
	--sh-gold-dark: #9c7a37;
	--sh-cream: #f4f1ea;
	--sh-muted: #a29c93;
	--sh-line: rgba(195, 155, 78, 0.22);
	--sh-line-soft: rgba(244, 241, 234, 0.09);

	--sh-font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--sh-font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

	--sh-step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.85rem);
	--sh-step-0: clamp(0.95rem, 0.92rem + 0.15vw, 1.03rem);
	--sh-step-1: clamp(1.3rem, 1.15rem + 0.6vw, 1.7rem);
	--sh-step-2: clamp(1.8rem, 1.4rem + 1.6vw, 2.9rem);
	--sh-step-3: clamp(2.5rem, 1.7rem + 3.2vw, 4.6rem);

	--sh-shell: 1440px;
	--sh-gutter: clamp(1.25rem, 4vw, 3.5rem);
	--sh-section: clamp(3.5rem, 7vw, 6.5rem);
	--sh-radius: 2px;
	--sh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Basis
   ========================================================================== */

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

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

body {
	margin: 0;
	background-color: var(--sh-black);
	color: var(--sh-muted);
	font-family: var(--sh-font-body);
	font-size: var(--sh-step-0);
	font-weight: 300;
	line-height: 1.75;
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a {
	color: var(--sh-gold-light);
	text-decoration: none;
	transition: color 0.25s var(--sh-ease);
}

a:hover,
a:focus-visible {
	color: var(--sh-cream);
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sh-font-display);
	color: var(--sh-cream);
	font-weight: 300;
	line-height: 1.12;
	letter-spacing: 0.005em;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1.2em;
}

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

ul, ol {
	padding-left: 1.15rem;
}

blockquote {
	margin: 2rem 0;
	padding-left: 1.5rem;
	border-left: 2px solid var(--sh-gold);
	font-family: var(--sh-font-display);
	font-size: var(--sh-step-1);
	color: var(--sh-cream);
}

hr {
	border: 0;
	border-top: 1px solid var(--sh-line-soft);
	margin: 2.5rem 0;
}

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

th, td {
	border-bottom: 1px solid var(--sh-line-soft);
	padding: 0.65rem 0.75rem;
	text-align: left;
}

code, pre {
	font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
	font-size: 0.9em;
	background: var(--sh-black-card);
}

pre {
	padding: 1.25rem;
	overflow-x: auto;
	border: 1px solid var(--sh-line-soft);
}

.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 {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 999;
	background: var(--sh-gold);
	color: var(--sh-black);
	padding: 0.75rem 1.25rem;
	font-size: var(--sh-step--1);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.skip-link:focus {
	top: 1rem;
	color: var(--sh-black);
}

/* ==========================================================================
   3. Layout-Hilfsklassen
   ========================================================================== */

.sh-shell {
	width: 100%;
	max-width: var(--sh-shell);
	margin-inline: auto;
	padding-inline: var(--sh-gutter);
}

.sh-section {
	padding-block: var(--sh-section);
}

.sh-section--tight {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.sh-section--soft {
	background-color: var(--sh-black-soft);
}

.sh-eyebrow {
	display: block;
	font-size: var(--sh-step--1);
	font-weight: 400;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--sh-gold);
	margin-bottom: 0.9rem;
}

.sh-section-head {
	text-align: center;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.sh-section-head .sh-eyebrow {
	margin-bottom: 0.75rem;
}

.sh-rule {
	display: block;
	width: 68px;
	height: 1px;
	margin: 0 auto;
	background: linear-gradient(90deg, transparent, var(--sh-gold), transparent);
}

.sh-rule--left {
	margin-inline: 0;
}

/* Blattornament als Trenner */
.sh-leaf-divider {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 1.5rem 0 1.75rem;
}

.sh-leaf-divider::before,
.sh-leaf-divider::after {
	content: "";
	height: 1px;
	flex: 1 1 auto;
	max-width: 88px;
	background: linear-gradient(90deg, transparent, var(--sh-line), transparent);
}

.sh-leaf-divider svg {
	width: 26px;
	height: auto;
	color: var(--sh-gold);
	flex: none;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.sh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.25rem;
	min-height: 52px;
	padding: 0.85rem 1.35rem;
	font-family: var(--sh-font-body);
	font-size: var(--sh-step--1);
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border: 1px solid var(--sh-gold);
	border-radius: var(--sh-radius);
	background: transparent;
	color: var(--sh-cream);
	cursor: pointer;
	transition: background-color 0.3s var(--sh-ease), color 0.3s var(--sh-ease), border-color 0.3s var(--sh-ease);
}

.sh-btn svg {
	width: 18px;
	height: 10px;
	flex: none;
	transition: transform 0.3s var(--sh-ease);
}

.sh-btn:hover svg,
.sh-btn:focus-visible svg {
	transform: translateX(5px);
}

.sh-btn--solid {
	background-color: var(--sh-gold);
	border-color: var(--sh-gold);
	color: black;
}

.sh-btn--solid:hover,
.sh-btn--solid:focus-visible {
	background-color: var(--sh-gold-light);
	border-color: var(--sh-gold-light);
	color: var(--sh-black);
}

.sh-btn--ghost:hover,
.sh-btn--ghost:focus-visible {
	background-color: rgba(195, 155, 78, 0.12);
	color: var(--sh-cream);
}

.sh-btn--outline-light {
	border-color: rgba(244, 241, 234, 0.35);
}

.sh-btn--outline-light:hover,
.sh-btn--outline-light:focus-visible {
	border-color: var(--sh-cream);
	background-color: rgba(244, 241, 234, 0.08);
}

.sh-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 2rem;
}

/* ==========================================================================
   5. Kopfbereich
   ========================================================================== */

.sh-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 100;
	padding-block: clamp(1rem, 2vw, 1.6rem);
	transition: background-color 0.35s var(--sh-ease), padding 0.35s var(--sh-ease);
}

.sh-header.is-stuck {
	position: fixed;
	background-color: rgba(11, 11, 12, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--sh-line-soft);
	padding-block: 0.7rem;
}

.sh-header--inner {
	position: relative;
	background-color: var(--sh-black-soft);
	border-bottom: 1px solid var(--sh-line-soft);
}

.sh-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1rem, 3vw, 3rem);
}

/* Wortmarke */
.sh-brand {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	color: var(--sh-cream);
	line-height: 1;
}

.sh-brand:hover,
.sh-brand:focus-visible {
	color: var(--sh-cream);
}

.sh-brand__mark {
	font-family: var(--sh-font-display);
	font-size: clamp(2rem, 3.2vw, 3.1rem);
	font-weight: 300;
	letter-spacing: 0.1em;
	text-indent: 0.1em;
}

.sh-brand__line {
	width: 100%;
	height: 1px;
	background: var(--sh-line);
}

.sh-brand__sub {
	font-size: clamp(0.53rem, 0.75vw, 0.66rem);
	letter-spacing: 0.42em;
	text-transform: uppercase;
	text-indent: 0.42em;
	color: var(--sh-muted);
}

.sh-brand__logo img {
	max-height: 76px;
	width: auto;
}

/* Navigation */
.sh-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 2.4rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.sh-nav a {
	position: relative;
	display: inline-block;
	padding-block: 0.55rem;
	font-size: var(--sh-step--1);
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--sh-cream);
	white-space: nowrap;
}

.sh-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: var(--sh-gold);
	transition: width 0.3s var(--sh-ease);
}

.sh-nav a:hover::after,
.sh-nav a:focus-visible::after,
.sh-nav .current-menu-item > a::after,
.sh-nav .current_page_item > a::after,
.sh-nav .current-menu-ancestor > a::after {
	width: 100%;
}

.sh-nav .current-menu-item > a,
.sh-nav .current_page_item > a {
	color: var(--sh-gold);
}

/* Untermenues */
.sh-nav li {
	position: relative;
}

.sh-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	padding: 0.6rem 0;
	background: var(--sh-black-soft);
	border: 1px solid var(--sh-line-soft);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.25s var(--sh-ease), transform 0.25s var(--sh-ease), visibility 0.25s;
}

.sh-nav li:hover > .sub-menu,
.sh-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sh-nav .sub-menu a {
	display: block;
	width: 100%;
	padding: 0.5rem 1.1rem;
	letter-spacing: 0.12em;
}

.sh-header__cta {
	display: none;
}

/* Menue-Umschalter */
.sh-menu-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0 10px;
	background: transparent;
	border: 1px solid var(--sh-line);
	border-radius: var(--sh-radius);
	cursor: pointer;
}

.sh-menu-toggle span {
	display: block;
	height: 1px;
	background: var(--sh-cream);
	transition: transform 0.3s var(--sh-ease), opacity 0.2s var(--sh-ease);
}

.sh-menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.sh-menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.sh-menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 1100px) {
	.sh-menu-toggle {
		display: none;
	}

	.sh-header__cta {
		display: inline-flex;
	}
}

@media (max-width: 1099px) {
	.sh-nav {
		position: fixed;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		background: rgba(11, 11, 12, 0.985);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s var(--sh-ease), visibility 0.3s;
	}

	.sh-nav.is-open {
		opacity: 1;
		visibility: visible;
	}

	.sh-nav ul {
		flex-direction: column;
		gap: 1.35rem;
		text-align: center;
	}

	.sh-nav a {
		font-size: 1.05rem;
		letter-spacing: 0.22em;
	}

	.sh-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		background: transparent;
		padding-top: 0.4rem;
	}
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.sh-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(92vh, 940px);
	padding-top: clamp(7rem, 14vw, 11rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
	overflow: hidden;
	background-color: var(--sh-black);
}

.sh-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.sh-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
	opacity: 0.85;
}

.sh-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, var(--sh-black) 8%, rgba(11, 11, 12, 0.86) 38%, rgba(11, 11, 12, 0.28) 66%, rgba(11, 11, 12, 0.55) 100%),
		linear-gradient(180deg, rgba(11, 11, 12, 0.75) 0%, transparent 32%, var(--sh-black) 99%);
}

.sh-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.sh-hero__copy {
	max-width: 47rem;
}

.sh-hero__title {
	font-size: var(--sh-step-3);
	line-height: 1.02;
	margin-bottom: 0;
	text-wrap: balance;
}

.sh-hero__title em {
	font-style: normal;
	color: var(--sh-gold);
}

.sh-hero__text {
	max-width: 34rem;
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
	color: var(--sh-muted);
}

/* Vorteilsleiste */
.sh-usps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	max-width: 46rem;
	list-style: none;
	padding: 0;
}

.sh-usp {
	padding: 0.25rem clamp(0.75rem, 2vw, 1.6rem);
	border-left: 1px solid var(--sh-line-soft);
}

.sh-usp:first-child {
	padding-left: 0;
	border-left: 0;
}

.sh-usp svg {
	width: 34px;
	height: 34px;
	color: var(--sh-gold);
	margin-bottom: 0.85rem;
}

.sh-usp span {
	display: block;
	font-size: var(--sh-step--1);
	line-height: 1.5;
	color: var(--sh-cream);
	letter-spacing: 0.04em;
}

/* Rundes Siegel */
.sh-seal {
	position: absolute;
	right: clamp(1rem, 4vw, 3.2rem);
	bottom: clamp(2rem, 8vw, 6rem);
	z-index: 3;
	display: none;
	width: 132px;
	height: 132px;
	border: 1px solid var(--sh-gold);
	border-radius: 50%;
	background: rgba(11, 11, 12, 0.55);
	backdrop-filter: blur(2px);
	color: var(--sh-cream);
	text-align: center;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1.5;
	animation: sh-seal-float 7s ease-in-out infinite;
}

.sh-seal svg {
	width: 22px;
	height: 22px;
	color: var(--sh-gold);
}

@keyframes sh-seal-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-9px); }
}

@media (min-width: 900px) {
	.sh-seal {
		display: flex;
	}
}

/* ==========================================================================
   7. Produktraster
   ========================================================================== */

.sh-products {
	background-color: var(--sh-black-soft);
}

.sh-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr));
	gap: 1px;
	background-color: var(--sh-line-soft);
	border: 1px solid var(--sh-line-soft);
}

.sh-card {
	display: flex;
	flex-direction: column;
	background-color: var(--sh-black-card);
	padding: 0 0 1.5rem;
	transition: background-color 0.35s var(--sh-ease);
}

.sh-card:hover {
	background-color: #1c1c21;
}

.sh-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: #101014;
}

.sh-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--sh-ease);
}

.sh-card:hover .sh-card__media img {
	transform: scale(1.05);
}

.sh-card__media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sh-gold-dark);
}

.sh-card__media--empty svg {
	width: 54px;
	height: 54px;
}

.sh-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 1.4rem clamp(0.9rem, 1.1vw, 1.05rem) 0;
}

.sh-card__title {
	font-family: var(--sh-font-body);
	font-size: 0.62rem;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--sh-cream);
	margin-bottom: 0.7rem;
	overflow-wrap: break-word;
}

.sh-card__text {
	font-size: 0.86rem;
	hyphens: auto;
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.sh-card__link {
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--sh-gold);
	font-size: var(--sh-step--1);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sh-card__link svg {
	width: 20px;
	height: 10px;
	transition: transform 0.3s var(--sh-ease);
}

.sh-card:hover .sh-card__link svg {
	transform: translateX(5px);
}

/* ==========================================================================
   8. Ueber uns und Kennzahlen
   ========================================================================== */

.sh-about__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
	grid-template-columns: 1fr;
}

@media (min-width: 900px) {
	.sh-about__grid {
		grid-template-columns: 1fr 0.8fr 1.5fr;
	}
}

.sh-about__title {
	font-size: var(--sh-step-2);
	margin-bottom: 1.1rem;
}

.sh-about__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 1px solid var(--sh-line-soft);
}

.sh-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem) 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sh-stat {
	padding-inline: clamp(0.5rem, 1.1vw, 1rem);
	border-left: 1px solid var(--sh-line-soft);
	text-align: center;
}

.sh-stat:first-child {
	border-left: 0;
}

.sh-stat svg {
	width: 34px;
	height: 34px;
	color: var(--sh-gold);
	margin: 0 auto 0.9rem;
}

.sh-stat__value {
	display: block;
	white-space: nowrap;
	font-family: var(--sh-font-display);
	font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
	line-height: 1;
	color: var(--sh-cream);
	margin-bottom: 0.45rem;
}

.sh-stat__label {
	display: block;
	font-size: var(--sh-step--1);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sh-cream);
	margin-bottom: 0.35rem;
}

.sh-stat__text {
	display: block;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--sh-muted);
}

/* ==========================================================================
   9. Abschluss-Aufforderung
   ========================================================================== */

.sh-cta {
	position: relative;
	border-top: 1px solid var(--sh-line-soft);
	background-color: var(--sh-black);
	overflow: hidden;
}

.sh-cta__ornament {
	position: absolute;
	right: -70px;
	bottom: -80px;
	width: 250px;
	color: rgba(195, 155, 78, 0.14);
	pointer-events: none;
}

.sh-cta__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: clamp(2rem, 4vw, 3rem);
}

.sh-cta__copy {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 1.75rem);
}

.sh-cta__copy > svg {
	width: 44px;
	height: 44px;
	flex: none;
	color: var(--sh-gold);
}

.sh-cta__title {
	font-size: var(--sh-step-1);
	margin-bottom: 0.2rem;
}

.sh-cta__text {
	font-size: 0.95rem;
}

.sh-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

/* ==========================================================================
   10. Innenseiten
   ========================================================================== */

.sh-page-header {
	padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
	border-bottom: 1px solid var(--sh-line-soft);
	text-align: center;
}

.sh-page-header__title {
	font-size: var(--sh-step-2);
	margin-bottom: 0.5rem;
}

.sh-breadcrumb {
	font-size: var(--sh-step--1);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sh-muted);
}

.sh-content {
	max-width: 46rem;
	margin-inline: auto;
}

.sh-content h2 {
	font-size: var(--sh-step-2);
	margin-top: 2.2rem;
}

.sh-content h3 {
	font-size: var(--sh-step-1);
	margin-top: 1.8rem;
}

.sh-content ul li,
.sh-content ol li {
	margin-bottom: 0.4rem;
}

.sh-content img,
.wp-block-image img {
	border-radius: var(--sh-radius);
}

.wp-block-button__link {
	border-radius: var(--sh-radius);
}

.alignwide {
	max-width: min(1180px, 100%);
	margin-inline: auto;
}

.alignfull {
	max-width: none;
}

.sh-post-meta {
	font-size: var(--sh-step--1);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sh-gold);
}

.sh-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 1.5rem;
}

.sh-pagination {
	margin-top: 3rem;
	text-align: center;
}

.sh-pagination .page-numbers {
	display: inline-block;
	min-width: 42px;
	padding: 0.45rem 0.6rem;
	margin: 0 0.2rem;
	border: 1px solid var(--sh-line-soft);
	font-size: var(--sh-step--1);
	color: var(--sh-cream);
}

.sh-pagination .page-numbers.current,
.sh-pagination .page-numbers:hover {
	border-color: var(--sh-gold);
	color: var(--sh-gold);
}

.sh-404 {
	text-align: center;
	padding-block: clamp(4rem, 10vw, 8rem);
}

.sh-404__code {
	font-family: var(--sh-font-display);
	font-size: clamp(4rem, 12vw, 8rem);
	line-height: 1;
	color: var(--sh-gold);
}

/* Suchformular */
.sh-search {
	display: flex;
	gap: 0.5rem;
	max-width: 420px;
	margin-inline: auto;
}

.sh-search input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
	width: 100%;
	padding: 0.8rem 1rem;
	background: var(--sh-black-card);
	border: 1px solid var(--sh-line-soft);
	border-radius: var(--sh-radius);
	color: var(--sh-cream);
	font-family: var(--sh-font-body);
	font-size: var(--sh-step-0);
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--sh-gold);
	outline: none;
}

/* ==========================================================================
   11. Fussbereich
   ========================================================================== */

.sh-footer {
	background-color: var(--sh-black-soft);
	border-top: 1px solid var(--sh-line-soft);
	padding-block: clamp(2.75rem, 5vw, 4rem) 0;
	font-size: 0.9rem;
}

.sh-footer__grid {
	display: grid;
	gap: clamp(1.75rem, 3vw, 3rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	padding-bottom: clamp(2rem, 4vw, 3rem);
}

.sh-footer__title {
	font-family: var(--sh-font-body);
	font-size: var(--sh-step--1);
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--sh-gold);
	margin-bottom: 1.1rem;
}

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

.sh-footer li {
	margin-bottom: 0.55rem;
}

.sh-footer a {
	color: var(--sh-muted);
}

.sh-footer a:hover,
.sh-footer a:focus-visible {
	color: var(--sh-gold-light);
}

.sh-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 1.25rem;
	border-top: 1px solid var(--sh-line-soft);
	font-size: var(--sh-step--1);
	letter-spacing: 0.06em;
	color: var(--sh-muted);
}

.sh-footer__bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.sh-footer__bottom li {
	margin: 0;
}

.sh-to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--sh-line);
	border-radius: 50%;
	background: rgba(11, 11, 12, 0.85);
	color: var(--sh-gold);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s var(--sh-ease), transform 0.3s var(--sh-ease), visibility 0.3s;
	cursor: pointer;
}

.sh-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* ==========================================================================
   12. Bewegung
   ========================================================================== */

.sh-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s var(--sh-ease), transform 0.7s var(--sh-ease);
}

.sh-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.sh-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ==========================================================================
   13. Kleine Bildschirme
   ========================================================================== */

@media (max-width: 640px) {
	.sh-usp,
	.sh-stat {
		border-left: 0;
		padding-inline: 0;
		text-align: left;
	}

	.sh-stat svg {
		margin-inline: 0;
	}

	.sh-usps,
	.sh-stats {
		gap: 1.5rem;
	}

	.sh-btn {
		width: 100%;
	}

	.sh-cta__inner {
		align-items: flex-start;
	}
}

/* Admin-Leiste beachten */
.admin-bar .sh-header.is-stuck {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .sh-header.is-stuck {
		top: 46px;
	}
}
