/**
 * Calles Base – minimal modern reset.
 */

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

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

body {
	margin: 0;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
	margin-block-start: 0;
}

/* Long German compound words must not overflow narrow screens. */
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
dd {
	overflow-wrap: break-word;
}

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

img,
picture,
video,
canvas,
svg {
	vertical-align: middle;
}

iframe {
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* !important is required here to override any animation set elsewhere. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
