/* SD24 Warenaufnahme – Aussehen der eigenen Seite. Baut auf erfassung.css auf und setzt die Farben des Shops. */

.sd24-seite,
.sd24-seite .sd24 {
	--sd24-text: #1c1b1a;
	--sd24-leise: #5e5a54;
	--sd24-rand: #ddd7ce;
	--sd24-flaeche: #fff;
	--sd24-haupt: #ab2323;
	--sd24-haupt-dunkel: #861a1a;
	--sd24-gut: #1a7f37;
	--sd24-gut-flaeche: #edf8ef;
	--sd24-warn: #8a5a00;
	--sd24-warn-flaeche: #fdf6e3;
	--sd24-fehlt: #b32d2e;
	--sd24-fehlt-flaeche: #fdf0f0;
	--sd24-info-flaeche: #fbf1f1;
	--sd24-hinweis: #2b5f8a;
	--sd24-hinweis-flaeche: #eef4f9;
	--sd24-grund: #f5f3f0;
}

[hidden] {
	display: none !important;
}

.sd24-seite {
	margin: 0;
	background: var(--sd24-grund);
	color: var(--sd24-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

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

.sd24-seite a {
	color: var(--sd24-haupt);
}

.sd24-seite :focus-visible {
	outline: 3px solid #f0b849;
	outline-offset: 2px;
}

.sd24-sprung {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 50;
	padding: .6rem 1rem;
	background: #fff;
}

.sd24-sprung:focus {
	left: .5rem;
	top: .5rem;
}

/* Kopf */
.sd24-top {
	position: sticky;
	top: 0;
	z-index: 20;
	border-top: 4px solid var(--sd24-haupt);
	border-bottom: 1px solid var(--sd24-rand);
	background: #fff;
}

.sd24-top-innen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .75rem;
	max-width: 920px;
	margin: 0 auto;
	padding: .55rem 1rem;
}

.sd24-top-marke {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--sd24-text) !important;
	font-weight: 700;
	text-decoration: none;
}

.sd24-top-marke img {
	display: block;
	width: auto;
	max-width: 170px;
	height: auto;
	max-height: 40px;
}

.sd24-top-titel {
	padding: .2rem .7rem;
	border-radius: 999px;
	background: var(--sd24-haupt);
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.sd24-top-konto {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: .4rem .75rem;
	margin-left: auto;
	font-size: .9rem;
}

.sd24-top-name {
	color: var(--sd24-leise);
	overflow-wrap: anywhere;
}

.sd24-top-knopf {
	min-height: 40px;
	padding: .35rem .9rem;
	border: 1px solid #cfc8bd;
	border-radius: 9px;
	background: #fff;
	color: var(--sd24-text);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.sd24-top-knopf:hover {
	border-color: var(--sd24-haupt);
	color: var(--sd24-haupt-dunkel);
}

/* Inhalt */
.sd24-haupt {
	max-width: 920px;
	margin: 0 auto;
	padding: 1.25rem 1rem 3rem;
}

.sd24-lade {
	margin: 3rem 0;
	color: var(--sd24-leise);
	text-align: center;
}

.sd24-fuss {
	padding: 0 1rem 2rem;
	font-size: .9rem;
	text-align: center;
}

.sd24-seite .sd24 {
	max-width: none;
	margin: 0;
}

.sd24-seite .sd24 h1 {
	font-size: 1.6rem;
	letter-spacing: -.01em;
}

/* Anmeldung */
.sd24-anmeldung {
	display: flex;
	justify-content: center;
	padding: 1.5rem 0;
}

.sd24-anmeldekarte {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	width: 100%;
	max-width: 420px;
	padding: 1.75rem 1.5rem;
	border: 1px solid var(--sd24-rand);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 32px rgba(0, 0, 0, .06);
}

.sd24-anmeldekarte h1 {
	margin: 0;
	font-size: 1.5rem;
	letter-spacing: -.01em;
}

.sd24-anmeldekarte > label:not(.sd24-haken) {
	margin-top: .4rem;
	font-weight: 600;
}

.sd24-anmeldekarte input[type="text"],
.sd24-anmeldekarte input[type="password"] {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: .5rem .75rem;
	border: 1px solid #8f8a82;
	border-radius: 10px;
	background: #fff;
	color: var(--sd24-text);
	font: inherit;
	font-size: 16px; /* Unter 16 Pixel zoomt das iPhone beim Antippen in die Seite. */
}

.sd24-anmeldekarte .sd24-knopf-gross {
	flex: 0 0 auto;
	width: 100%;
	margin-top: .5rem;
}

.sd24-anmeldekarte .sd24-meldung {
	margin: .25rem 0 0;
}

.sd24-anmeldung-neben {
	align-self: center;
	margin-top: .25rem;
	font-size: .9rem;
}

/* Die Erfassung im Aussehen der Seite */
.sd24-seite .sd24-knopf {
	border-radius: 10px;
}

.sd24-seite .sd24-knopf-haupt {
	box-shadow: 0 1px 2px rgba(134, 26, 26, .25);
}

.sd24-seite .sd24-karte,
.sd24-seite .sd24-foto,
.sd24-seite .sd24-zuordnung-zeile,
.sd24-seite .sd24-lauf,
.sd24-seite .sd24-meldung,
.sd24-seite .sd24-kasten {
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.sd24-seite .sd24-karte {
	padding: .75rem;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.sd24-seite .sd24-karte:hover {
	box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.sd24-seite .sd24-karte-bild {
	border-radius: 8px;
}

.sd24-seite .sd24-gruppe {
	margin-top: 1.75rem;
	border-bottom-color: var(--sd24-rand);
	font-size: .82rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--sd24-leise);
}

.sd24-seite .sd24-marke-wartet,
.sd24-seite .sd24-marke-in_arbeit,
.sd24-seite .sd24-quelle-info {
	background: var(--sd24-hinweis-flaeche);
	color: var(--sd24-hinweis);
}

.sd24-seite .sd24-meldung-info {
	border-color: var(--sd24-hinweis);
	background: var(--sd24-hinweis-flaeche);
}

.sd24-seite .sd24-leiste-fest {
	background: var(--sd24-grund);
}

.sd24-seite .sd24 input[type="text"],
.sd24-seite .sd24 select,
.sd24-seite .sd24 textarea {
	border-radius: 10px;
	font-family: inherit;
}

.sd24-seite .sd24-kategorien {
	border-radius: 10px;
}

@media (min-width: 700px) {
	.sd24-haupt {
		padding-top: 2rem;
	}

	.sd24-seite .sd24-liste {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 .75rem;
	}

	.sd24-seite .sd24-liste > .sd24-gruppe,
	.sd24-seite .sd24-liste > .sd24-leer,
	.sd24-seite .sd24-liste > p,
	.sd24-seite .sd24-liste > .sd24-meldung {
		grid-column: 1 / -1;
	}
}
