/* Ayyoub Aharchi – Websites für Läden in Essen
   Schrift: DINish (SIL OFL), selbst gehostet. Keine externen Anfragen. */

@font-face {
	font-family: "DIN Schmal";
	src: url("fonts/din-schmal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DIN Schmal Ersatz";
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("Roboto Bold");
	font-weight: 700;
	size-adjust: 70.1%;
	ascent-override: 146.2%;
	descent-override: 34.5%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "DIN";
	src: url("fonts/din.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DIN Ersatz";
	src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Roboto");
	font-weight: 400;
	size-adjust: 90.5%;
	ascent-override: 113.3%;
	descent-override: 26.8%;
	line-gap-override: 0%;
}

:root {
	--papier: #f5f6f3;
	--weiss: #ffffff;
	--tinte: #172230;
	--grau: #536071;
	--linie: #d3d8dc;
	--kobalt: #1e44a8;
	--kobalt-tief: #16347f;
	--gruen: #1b8a50;
	--schmal: "DIN Schmal", "DIN Schmal Ersatz", "Arial Narrow", sans-serif;
	--text: "DIN", "DIN Ersatz", Arial, sans-serif;
	--rand: clamp(20px, 5.2vw, 56px);
	--breite: 1160px;
	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--papier);
	color: var(--tinte);
	font-family: var(--text);
	font-size: 1.0625rem;
	line-height: 1.55;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--kobalt);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
a:hover {
	color: var(--kobalt-tief);
}
:focus-visible {
	outline: 3px solid var(--tinte);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3 {
	font-family: var(--schmal);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.005em;
	margin: 0;
	text-wrap: balance;
}

p,
li {
	margin: 0;
	text-wrap: pretty;
}

.wrap {
	width: 100%;
	max-width: calc(var(--breite) + 2 * var(--rand));
	margin-inline: auto;
	padding-inline: var(--rand);
}

.skip {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 10;
	padding: 10px 16px;
	background: var(--tinte);
	color: var(--weiss);
	font-family: var(--schmal);
	font-size: 1.125rem;
	text-decoration: none;
	border-radius: 8px;
}
.skip:focus {
	top: 12px;
	color: var(--weiss);
}

/* Kopf */
.kopf {
	border-bottom: 1px solid var(--linie);
}
.kopf__innen {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
}
.marke {
	font-family: var(--schmal);
	font-size: 1.375rem;
	letter-spacing: 0.01em;
	color: var(--tinte);
	text-decoration: none;
}
.marke:hover {
	color: var(--tinte);
}
.kopf__tel {
	font-size: 1rem;
	color: var(--tinte);
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}
.kopf__tel:hover {
	color: var(--kobalt);
}

/* Einstieg */
.held {
	padding-block: clamp(36px, 7vw, 96px) clamp(56px, 8vw, 112px);
}
.held__raster {
	display: grid;
	gap: clamp(40px, 6vw, 72px);
	align-items: center;
}
.held h1 {
	font-size: clamp(3rem, 10.4vw, 7.25rem);
	line-height: 0.94;
	max-width: 11ch;
}
.held__zusage {
	margin-top: clamp(20px, 3vw, 32px);
	font-size: clamp(1.25rem, 2.4vw, 1.625rem);
	line-height: 1.35;
	max-width: 34ch;
}
.held__zusage span {
	display: block;
	text-wrap: balance;
}
.aktionen {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(28px, 4vw, 40px);
}
.held__hinweis {
	margin-top: 18px;
	max-width: 44ch;
	color: var(--grau);
	font-size: 0.9375rem;
}

.knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 24px;
	border: 2px solid var(--kobalt);
	border-radius: 10px;
	font-family: var(--schmal);
	font-size: 1.25rem;
	letter-spacing: 0.01em;
	line-height: 1;
	color: var(--kobalt);
	background: transparent;
	text-decoration: none;
	transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.knopf:hover {
	border-color: var(--kobalt-tief);
	color: var(--kobalt-tief);
}
.knopf--voll {
	background: var(--kobalt);
	color: var(--weiss);
}
.knopf--voll:hover {
	background: var(--kobalt-tief);
	color: var(--weiss);
}
.knopf svg {
	width: 22px;
	height: 22px;
	flex: none;
}

/* Porträt mit Emaille-Schild */
.held__bild {
	position: relative;
	margin: 0;
	max-width: 460px;
	justify-self: center;
	width: 100%;
}
.held__bild img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 4px;
	background: #dfe3e6;
}
.schild {
	position: absolute;
	left: 16px;
	bottom: 20px;
	display: grid;
	justify-items: start;
	padding: 18px 26px 16px;
	border-radius: 14px;
	color: var(--weiss);
	background: linear-gradient(158deg, #2c57c7 0%, var(--kobalt) 42%, #193a91 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		0 18px 34px -16px rgba(12, 24, 60, 0.6),
		0 3px 8px rgba(12, 24, 60, 0.22);
	transform: rotate(-2deg);
}
.schild::before {
	content: "";
	position: absolute;
	inset: 6px;
	border: 2px solid rgba(255, 255, 255, 0.92);
	border-radius: 9px;
	pointer-events: none;
}
.schild__preis {
	font-family: var(--schmal);
	font-size: clamp(3rem, 8vw, 4rem);
	line-height: 0.9;
	letter-spacing: 0.005em;
	font-variant-numeric: tabular-nums;
}
.schild__zusatz {
	margin-top: 4px;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	opacity: 0.9;
}

/* Abschnitte */
.abschnitt {
	padding-block: clamp(56px, 9vw, 112px);
	border-top: 1px solid var(--linie);
}
.abschnitt h2 {
	font-size: clamp(2.25rem, 5.4vw, 3.5rem);
	max-width: 18ch;
}
.abschnitt__einleitung {
	margin-top: 16px;
	max-width: 52ch;
	color: var(--grau);
	font-size: 1.125rem;
}

/* Was drin ist */
.merkmale {
	display: grid;
	gap: 0;
	margin: clamp(28px, 4vw, 48px) 0 0;
}
.merkmal {
	padding-block: 22px;
	border-top: 1px solid var(--linie);
}
.merkmal dt {
	font-family: var(--schmal);
	font-size: clamp(1.375rem, 2.2vw, 1.625rem);
	line-height: 1.15;
}
.merkmal dd {
	margin: 8px 0 0;
	max-width: 46ch;
	color: var(--grau);
	text-wrap: pretty;
}
.beispiel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 16px;
	color: var(--tinte);
	font-size: 0.9375rem;
}
.status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 14px;
	border: 1px solid var(--linie);
	border-radius: 999px;
	background: var(--weiss);
	font-family: var(--schmal);
	font-size: 1.125rem;
	line-height: 1.1;
	color: var(--tinte);
	white-space: nowrap;
}
.status::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #98a2ad;
	flex: none;
}
.status--offen::before {
	background: var(--gruen);
	box-shadow: 0 0 0 0 rgba(27, 138, 80, 0.45);
	animation: puls 2.4s ease-out infinite;
}
@keyframes puls {
	0% {
		box-shadow: 0 0 0 0 rgba(27, 138, 80, 0.45);
	}
	70%,
	100% {
		box-shadow: 0 0 0 9px rgba(27, 138, 80, 0);
	}
}

/* So läuft es */
.schritte {
	list-style: none;
	margin: clamp(28px, 4vw, 48px) 0 0;
	padding: 0;
	display: grid;
	gap: 28px;
	counter-reset: schritt;
}
.schritte li {
	counter-increment: schritt;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 14px;
	align-items: start;
	align-content: start;
	font-size: 1.25rem;
	line-height: 1.4;
}
.schritte li::before {
	content: counter(schritt);
	font-family: var(--schmal);
	font-size: 3.5rem;
	line-height: 0.8;
	padding-top: 2px;
	color: var(--kobalt);
	font-variant-numeric: tabular-nums;
}

/* Preise wie ein Aushang */
.aushang {
	list-style: none;
	margin: clamp(28px, 4vw, 48px) 0 0;
	padding: 0;
	max-width: 760px;
}
.aushang li {
	padding-block: 14px;
}
.aushang__zeile {
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-family: var(--schmal);
	font-size: clamp(1.25rem, 3vw, 2rem);
	line-height: 1.15;
}
.aushang__was {
	flex: 0 1 auto;
	min-width: 0;
}
.aushang__punkte {
	flex: 1 1 24px;
	min-width: 24px;
	border-bottom: 3px dotted #9aa5b1;
	transform: translateY(-0.28em);
}
.aushang__preis {
	flex: none;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.aushang__notiz {
	margin-top: 6px;
	max-width: 52ch;
	color: var(--grau);
	font-size: 1rem;
}
.aushang__fuss {
	margin-top: 28px;
	max-width: 60ch;
	color: var(--grau);
	font-size: 0.9375rem;
}

/* Wer das macht */
.ueber {
	display: grid;
	gap: 20px;
}
.ueber__text {
	display: grid;
	gap: 16px;
	max-width: 58ch;
	font-size: 1.1875rem;
}

/* Kontakt */
.kontakt__nummer {
	display: inline-block;
	margin-top: clamp(24px, 4vw, 40px);
	font-family: var(--schmal);
	font-size: clamp(3rem, 11vw, 7rem);
	line-height: 0.95;
	letter-spacing: -0.005em;
	color: var(--tinte);
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}
.kontakt__nummer:hover {
	color: var(--kobalt);
}
.kontakt .aktionen {
	margin-top: 28px;
}
.kontakt__mail {
	margin-top: 22px;
	font-size: 1.125rem;
}

/* Fuß */
.fuss {
	border-top: 1px solid var(--linie);
	padding-block: 32px 44px;
	color: var(--grau);
	font-size: 0.9375rem;
}
.fuss__innen {
	display: grid;
	gap: 14px;
}
.fuss nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}
.fuss a {
	color: var(--tinte);
}

/* Rechtstexte */
.recht {
	padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px);
}
.recht h1 {
	font-size: clamp(2.5rem, 7vw, 4.25rem);
}
.recht__inhalt {
	max-width: 66ch;
	margin-top: clamp(24px, 4vw, 40px);
}
.recht h2 {
	font-size: 1.625rem;
	margin-top: 40px;
	line-height: 1.1;
}
.recht p,
.recht ul {
	margin: 12px 0 0;
}
.recht ul {
	padding-left: 1.2em;
}
.recht li + li {
	margin-top: 6px;
}
.recht address {
	font-style: normal;
}
.recht__stand {
	margin-top: 40px;
	color: var(--grau);
	font-size: 0.9375rem;
}

/* Breite Bildschirme */
@media (min-width: 880px) {
	.held__raster {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	}
	.held__bild {
		justify-self: end;
	}
	.schild {
		left: -36px;
		bottom: 40px;
	}
	.merkmale {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 56px;
	}
	.merkmal--breit {
		grid-column: 1 / -1;
	}
	.schritte {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px;
	}
	.schritte li {
		grid-template-columns: 1fr;
		gap: 14px;
		font-size: 1.1875rem;
	}
	.ueber {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: 56px;
		align-items: start;
	}
	.fuss__innen {
		grid-template-columns: 1fr auto;
		align-items: baseline;
	}
}

@media (max-width: 479px) {
	.aktionen .knopf {
		width: 100%;
	}
	.kopf__tel {
		font-size: 0.9375rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.status--offen::before {
		animation: none;
	}
	.knopf {
		transition: none;
	}
}
