/* latin-ext */
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(/fonts/Montserrat-bold-ext.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(/fonts/Montserrat-bold.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url(/fonts/Montserrat-black-ext.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url(/fonts/Montserrat-black.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: local('Open Sans Light'), local('OpenSans-Light'), url(/fonts/OpenSans-300.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local('Open Sans Regular'), local('OpenSans-Regular'), url(/fonts/OpenSans-400.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), url(/fonts/OpenSans-600.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: local('Open Sans Bold'), local('OpenSans-Bold'), url(/fonts/OpenSans-700.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
	One system for the whole site.

	It was worked out on the two open-source pages and then rolled out to
	everything else, so those pages are no longer a special case and nothing
	here is scoped to them. What the system is made of:

	- Ink. The header, the bar under the hero and the closing band share one
	  near-black ground, and the hero's photograph is darkened into it where
	  the words are, so every page opens and closes on it.
	- The square. The Data JT logo is built from squares, and so is everything
	  that marks something: list bullets, the navigation's markers, the hero's
	  eyebrow, the map and the chips on the open-source page, step numbers.
	- Red with intent. Red is an action (a button), a marker (a square), "the
	  other half" — the way across in the bar under the hero and the band that
	  leads there — and the one rule every hero stands on. It is not used for
	  other rules or borders, or for large fields that lead nowhere.
	- One grid. From 1080px every band has a narrow column that names it and a
	  wide one that fills it. The narrow column carries the band's heading, and
	  on a page's first band the contact card or the contents list.
	- Sentence case in Montserrat Black for headings, Open Sans at weight 400
	  for text, and whatever monospace the reader's system has for code.
*/
:root {
	--color-accent: #b42828;
	--color-accent-dark: #922020;
	/* The accent lifted for use on ink, and only there. #b42828 sits at about
	   3:1 on that ground, which is too little for a mark that has to be seen. */
	--color-accent-on-ink: #cf3030;
	--color-ink: #12100f;
	/* One step up from ink: the footer under the closing band, and the code
	   box inside an ink band. */
	--color-dark: #1c1917;
	--color-bg: #fafafa;
	--color-bg-alt: #f0ede8;
	--color-text: #1c1917;
	/* Secondary text. 7:1 on the page ground, 6.3:1 on the tint. */
	--color-muted: #5c554e;
	--color-rule: #d5cec5;
	/* The edge of a form control; see the note at .input. */
	--color-edge: #8a827a;
	/* The blue end of the logo's squares. The quiet counterpart to the red:
	   unlit markers, plain list bullets, values and the prompt in code. */
	--color-slate: #556e8d;
	--color-slate-on-ink: #a9c3da;
	--color-on-ink: #f0ede8;
	--font-head: 'Montserrat', sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
	/*
		The label column and the gutter beside it.

		22.5rem is not a round number by accident: at the heading size below it
		is the width of "Datenschutzbeauftragter," — the longest word any
		section heading on the site contains — so no heading has to be broken
		to fit its column. German compounds set the grid here, not taste.
	*/
	--side: 22.5rem;
	--gap: 64px;
	--header: 60px;
	--radius: 6px;
	--transition: 0.2s ease;
}

html {
	scroll-behavior: smooth;
	/* Whatever a link jumps to — a heading from the contents list, a module
	   from the hero's index — lands clear of the fixed header. */
	scroll-padding-top: calc(var(--header) + 20px);
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}
body {
	width: 100%;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: 'Open Sans', sans-serif;
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.65;
	/* The legal texts quote web addresses longer than a phone is wide. */
	overflow-wrap: break-word;
	display: flex;
	flex-direction: column;
}

/*
	Headings.

	Sentence case, as the text is written; nothing is uppercased by the
	stylesheet any more.

	No automatic hyphenation. Switched on, it does not wait until a word fails
	to fit — it breaks "Region" to fill a line. So the sizes are chosen so that
	no section heading needs it: one is as large as the label column allows the
	site's longest word to be. The vw terms do the same job on a phone: at 5.6vw
	"Datenschutzbeauftragter," fits the column of a 320px screen with room to
	spare, and 5.1vw is "Auftragsverarbeitungsvertrag" behind its square. The
	hero's headline is the one exception, on a phone only; see there.
*/
h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 900;
	overflow-wrap: break-word;
}
h2 {
	font-size: clamp(1.2rem, 5.6vw, 1.6rem);
	line-height: 1.15;
	letter-spacing: -0.012em;
}
h3 {
	font-size: clamp(1rem, 5.1vw, 1.2rem);
	line-height: 1.3;
}
h4 {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

p {
	margin: 0;
}
a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
code {
	font-family: var(--font-mono);
	font-size: 0.9em;
}

/* A plain list. Its bullet is the square, small and in slate; the red square
   is kept for the things a page wants counted (.points, .items). */
.list li {
	position: relative;
	padding-left: 1.4em;
}
.list li + li {
	margin-top: 0.35em;
}
.list li::before {
	content: '';
	position: absolute;
	left: 0.2em;
	top: 0.62em;
	width: 6px;
	height: 6px;
	background: var(--color-slate);
}

.list-ordered {
	padding-left: 1.4em;
	list-style: decimal;
}
.list-ordered li + li {
	margin-top: 0.35em;
}

.smaller {
	font-size: 0.9rem;
	line-height: 1.55;
}

/* Read by a screen reader, not drawn. */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	-webkit-user-select: none;
	user-select: none;
}

.wrapper {
	display: block;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* The wordmark, wherever the firm names itself in running text. The one
   place the site still sets capitals, because the logo does. */
.brand {
	font-family: var(--font-head);
	font-weight: 900;
	text-transform: uppercase;
	white-space: nowrap;
}

/* A link the prose wants followed. */
.highlight {
	font-weight: 600;
	color: var(--color-accent);
}

/*
	The header.

	On ink, the same ground as the hero directly beneath it, so the two read as
	one field with the logo and the navigation set into its top edge. The
	hairline is what separates it from light content once the page has
	scrolled; the shadow app.js adds on scroll does the rest.
*/
#header {
	position: fixed;
	top: 0; right: 0; left: 0;
	display: block;
	height: var(--header);
	padding: 0 15px;
	background: var(--color-ink);
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	box-sizing: border-box;
	-webkit-user-select: none;
	user-select: none;
	z-index: 9;
	transition: box-shadow 0.3s ease;
}
#header.scrolled {
	box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
#header a {
	text-decoration: none;
}
#header .wrapper {
	display: flex;
	align-items: center;
	height: 100%;
	background: inherit;
}

#logo {
	flex: 1;
	display: flex;
	height: 50%;
	margin-right: 15px;
}
#logo img {
	display: block;
	width: auto;
	height: 100%;
}

#menu {
	display: block;
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
}
#menu .icon,
#menu svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: #fff;
}

/* Below 900px the navigation is a panel that slides in from the right, under
   the header bar. */
#navigation {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	min-width: 60%;
	max-width: 100%;
	padding-top: calc(var(--header) + 12px);
	background: rgba(18, 16, 15, 0.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: -4px 0 30px rgba(0,0,0,0.3);
	box-sizing: border-box;
	z-index: -1;
	transform: translateX(100%);
	transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), visibility .25s, opacity .25s;
	visibility: hidden;
	opacity: 0;
	overflow: auto;
}
#navigation.active {
	transform: translateX(0);
	visibility: visible;
	opacity: 1;
}
/* An entry: a square and a word. The square is slate until the entry is the
   page being read or is pointed at, then red — the same marker, behaving the
   same way, as in the module index on the open-source page. */
/* nowrap: an entry is one label, never two lines. Firefox broke "Data
   protection" after the first word in the bar while Chromium did not, with
   room to spare in both — the link is a flex container, and the two engines
   disagree about how wide its text may be. */
#navigation a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 20px;
	white-space: nowrap;
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 700;
	color: rgba(255,255,255,0.86);
	transition: color var(--transition);
}
#navigation a::before {
	content: '';
	flex: 0 0 9px;
	height: 9px;
	background: var(--color-slate);
	transition: background var(--transition);
}
#navigation a:hover,
#navigation a.active {
	color: #fff;
}
#navigation a:hover::before,
#navigation a.active::before {
	background: var(--color-accent-on-ink);
}
#navigation .contact {
	margin: 24px 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,0.16);
	font-size: 0.9rem;
	line-height: 1.6;
	color: rgba(255,255,255,0.8);
}
#navigation .contact p + p {
	margin-top: 10px;
}

main {
	position: relative;
	padding-top: var(--header);
	z-index: 1;
}

/*
	The hero.

	One hero on every page: the page's photograph full-bleed behind the words,
	a scrim that turns it to ink where the words are, and the same height
	everywhere, so the bar beneath it does not move as a visitor goes from
	page to page. The pages without a photograph — the two open-source pages
	and the error pages — are the same component on plain ink.

	The height is a floor, not a fixed size: it has to clear the tallest
	headline on the site rather than sit under it, so the padding is small and
	the minimum generous, and the words are centred in a stable box instead of
	inflating it. A headline longer than any here would still push past; there
	is no way to have both a fixed height and unbounded copy, and the copy is
	the thing worth keeping.

	It stands on a red rule. That rule is the hero's lower edge on every page,
	whether or not a bar follows, and the one place red is a line.
*/
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(440px, 50vh, 540px);
	padding: clamp(36px, 4vh, 56px) 15px;
	background: var(--color-ink);
	color: #fff;
	border-bottom: 4px solid var(--color-accent);
	box-sizing: border-box;
}
/* Grain over the whole hero, so the ink is a surface and not a flat fill. An
   inline SVG filter; nothing is fetched. */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	opacity: 0.045;
	pointer-events: none;
	z-index: 2;
}
.hero-image {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.hero-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/*
	The scrim: two gradients, not one wash.

	A single left-to-right wash dims the whole photograph and still never
	gives the type a solid ground — the worst of both. This one is near-opaque
	where the words are and clears by the right edge, so the picture is only
	darkened where it has to be; the second pass, from the bottom, seats the
	red rule instead of letting it float on a bright edge.

	Where the words are is not a share of the window. The text column starts
	at the wrapper's left edge and is 44rem wide at most, so --edge is that
	column's right-hand side, and the scrim holds at least 72% up to it —
	enough for the eyebrow, the smallest type here, to clear 4.5:1 on a white
	part of a picture — and only then lets go. On a wide screen that leaves the
	right half of the photograph nearly untouched. On a phone --edge is beyond
	the screen, so the whole picture is held dark: the words run the full
	width there, and they come first.
*/
.hero-image::after {
	--edge: calc(max(15px, 50% - 600px) + 44rem);
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg,
			rgba(18,16,15,0.9) 0,
			rgba(18,16,15,0.8) calc(var(--edge) * 0.55),
			rgba(18,16,15,0.72) var(--edge),
			rgba(18,16,15,0.14) calc(var(--edge) + 26%),
			rgba(18,16,15,0.06) 100%),
		linear-gradient(0deg,
			rgba(18,16,15,0.6) 0%,
			rgba(18,16,15,0) 42%);
}
.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	z-index: 3;
}
.hero-text {
	max-width: 44rem;
}
/* The eyebrow: the site's square and a line in sentence case. It replaces the
   capitals and the letterhead rule the hero used to open with; the square is
   the only red in the hero above its lower edge. */
.hero-eyebrow {
	margin-bottom: 18px;
	font-family: var(--font-head);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
	color: rgba(255,255,255,0.82);
	text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.hero-eyebrow::before {
	content: '';
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 12px;
	background: var(--color-accent-on-ink);
}
/* The headline is white, not accent red. Red at 3:1 over a photograph made
   the most important line on the page the hardest one to read, and no
   text-shadow fixes a hue that dark against mid-tones. 3.2rem is the largest
   size at which "Datenschutzbeauftragter" still fits the 44rem column. */
.hero h1 {
	font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 18px rgba(0,0,0,0.45);
	text-wrap: balance;
}
.hero-lede {
	max-width: 52ch;
	margin-top: 22px;
	font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
	line-height: 1.55;
	color: rgba(255,255,255,0.9);
	text-shadow: 0 1px 10px rgba(0,0,0,0.5);
	text-wrap: pretty;
}
/*
	The phone concession.

	From 480px every word of every headline fits its line at the size above.
	Below that "Datenschutzbeauftragter" at 2rem is wider than the screen. The
	headline could be shrunk until it fits — it was, for a while, and at 26px
	it was barely larger than the section headings under it. Instead the long
	compounds may be hyphenated, and only those: hyphenate-limit-chars keeps
	the browser away from any word under 18 letters, so "Region" and
	"Datenschutz" stay whole and "Datenschutzbeauf-tragter" breaks once. A
	browser that does not know the property hyphenates more freely, which is
	what this site did on phones before; one that cannot hyphenate German at
	all falls back to overflow-wrap and breaks the word where it runs out.
*/
@media only screen and (max-width: 479px) {
	.hero h1 {
		hyphens: auto;
		-webkit-hyphenate-limit-before: 6;
		-webkit-hyphenate-limit-after: 6;
		hyphenate-limit-chars: 18 6 6;
	}
}

/*
	The map on the first open-source page: one square per country, the ones
	our software comes from in red and named. Text inside the SVG scales with
	it, so the codes stay inside their tiles at every width.
*/
.hero-map {
	max-width: 21rem;
	margin: 0;
}
.hero-map svg {
	display: block;
	width: 100%;
	height: auto;
}
.map-field rect {
	fill: var(--color-slate);
	fill-opacity: 0.26;
}
.map-lit rect {
	fill: var(--color-accent);
}
/* 19 of the drawing's 490 units: about 16px beside the headline and 13px on
   a phone, where a tile is 38px across. */
.map-lit text {
	fill: #fff;
	font-family: var(--font-head);
	font-size: 19px;
	font-weight: 700;
}
.hero-map figcaption {
	margin-top: 18px;
	font-size: 0.85rem;
	line-height: 1.5;
	color: rgba(255,255,255,0.72);
}
/* The site's one unprompted movement: the seven tiles light in the order the
   table names them. Only where motion is welcome, and only as an addition —
   without it the tiles are simply lit. */
@media (prefers-reduced-motion: no-preference) {
	.map-lit > g {
		animation: light-up 0.5s ease-out both;
	}
	.map-lit > g:nth-child(1) { animation-delay: 0.25s; }
	.map-lit > g:nth-child(2) { animation-delay: 0.37s; }
	.map-lit > g:nth-child(3) { animation-delay: 0.49s; }
	.map-lit > g:nth-child(4) { animation-delay: 0.61s; }
	.map-lit > g:nth-child(5) { animation-delay: 0.73s; }
	.map-lit > g:nth-child(6) { animation-delay: 0.85s; }
	.map-lit > g:nth-child(n+7) { animation-delay: 0.97s; }
}
@keyframes light-up {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* The second open-source page's counterpart to the map: the modules by the
   name they have on the Forge, each a jump to its entry. The square in front
   of a name is an unlit tile that lights when the name is pointed at. */
.hero-index {
	max-width: 26rem;
}
.hero-index li {
	border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-index li:last-child {
	border-bottom: 1px solid rgba(255,255,255,0.16);
}
.hero-index a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 15px 0;
	color: var(--color-on-ink);
	font-size: 0.875rem;
	line-height: 1.4;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.hero-index code {
	font-size: 1em;
}
.hero-index a::before {
	content: '';
	flex: 0 0 10px;
	height: 10px;
	background: var(--color-slate);
	transition: background var(--transition);
}
.hero-index a:hover,
.hero-index a:focus-visible {
	color: #fff;
}
.hero-index a:hover::before,
.hero-index a:focus-visible::before {
	background: var(--color-accent-on-ink);
}

/*
	The bar under the hero: the page's name.

	It used to be a solid red band carrying one word. It keeps the word — as
	the h2 it has always been — on a strip of ink the full width of the
	window, directly under the hero's red rule, so the hero reads as standing
	on a base that says where you are. Nothing is cut out of it and it has no
	halves: on a page with nowhere across to go it is one plain strip.
*/
.pagebar {
	padding: 0 15px;
	background: var(--color-ink);
	color: #fff;
	overflow: hidden;
}
.pagebar .wrapper {
	isolation: isolate;
}
.pagebar h2,
.pagebar a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 56px;
	padding: 12px 24px 12px 0;
	box-sizing: border-box;
	font-family: var(--font-head);
	font-size: clamp(1rem, 0.9rem + 0.45vw, 1.2rem);
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: 0;
	text-decoration: none;
}

/*
	Two halves. Where a page has a counterpart — the two open-source pages, a
	product and the product list above it — the bar names both and is split at
	the middle of the wrapper. The half being read is the strip as it is on
	any other page; the other is red out to the edge of the window, and is the
	way across. It is the one large red field on the site, and it is red
	because it leads somewhere.

	The red is drawn by a pseudo-element running out to the window's edge,
	because the link itself has to stop at the wrapper to keep its text on the
	page's left edge.
*/
.pagebar-pair ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.pagebar-pair h2,
.pagebar-pair a {
	height: 100%;
	min-height: 68px;
}
.pagebar-pair li + li > * {
	padding: 12px 0 12px clamp(16px, 3vw, 40px);
}
.pagebar-role {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.85rem;
	font-weight: 400;
}
.pagebar-pair a[aria-current] {
	cursor: default;
}
.pagebar-pair a[aria-current] .pagebar-role {
	color: rgba(255,255,255,0.78);
}
.pagebar-pair a:not([aria-current])::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: -100vw;
	z-index: -1;
	background: var(--color-accent);
	transition: background var(--transition);
}
.pagebar-pair li:first-child a:not([aria-current])::before {
	left: -100vw;
	right: 0;
}
.pagebar-pair a:not([aria-current]):hover::before {
	background: var(--color-accent-dark);
}
.pagebar-pair a:not([aria-current]):hover .pagebar-name,
.pagebar-pair a:not([aria-current]):not(:has(.pagebar-name)):hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
/* Inside the bar, which clips: a ring outside the link would be cut off. */
.pagebar a:focus-visible {
	outline-offset: -3px;
}

/*
	Bands, and the grid inside them.

	A band is one argument of a page on one ground. The grounds alternate
	between the page colour and the warm tint, and the templates say which —
	app.js used to count bands and tint every other one, which is a decision a
	stylesheet reader could not find. Ink and red are the two grounds with a
	meaning: ink closes the page, red leads to the other half.
*/
.band {
	padding: clamp(44px, 6.5vw, 84px) 15px;
	background: var(--color-bg);
}
.band-tint {
	background: var(--color-bg-alt);
}
.band-ink {
	background: var(--color-ink);
	color: var(--color-on-ink);
}
.band-red {
	background: var(--color-accent);
	color: #fff;
}
.band-ink h2,
.band-ink h3 {
	color: #fff;
}
/* The label column's content, and the gap under it while the two columns are
   still stacked. */
.side {
	margin-bottom: 24px;
}
.side p {
	max-width: 34rem;
	margin-top: 20px;
	color: var(--color-muted);
}
.band > .wrapper > h2 {
	margin-bottom: 28px;
}

/*
	The wide column.

	Its direct children are a page's running text, and they keep the measure:
	38rem is roughly 80 characters, the long end of the usual advice and the
	right end for German, whose compounds do not break. Only prose is capped —
	grids of items, forms and tables are structure and use the column.

	The spacing is between neighbours rather than on each element, so a block
	never has to know what comes before it; a heading opens more space above
	itself than below.
*/
.main > p,
.main > ul,
.main > ol,
.main > h2,
.main > h3,
.main > h4,
.prose {
	max-width: 38rem;
}
.main > * + *,
.prose > * + * {
	margin-top: 1em;
}
.main > h2 {
	margin-top: 2.4em;
}
.main > h3 {
	margin-top: 1.9em;
}
.main > h4 {
	margin-top: 1.6em;
}
.main > h2 + *,
.main > h3 + *,
.main > h4 + * {
	margin-top: 0.5em;
}
.main > h2:first-child,
.main > h3:first-child {
	margin-top: 0;
}
/* A paragraph that holds a button rather than prose. */
.action,
.main > .action,
.prose > .action {
	margin-top: 28px;
}

/* The opening of an open-source page: the page's argument in one sentence,
   set large and light so the two things it turns on can carry the weight, and
   beside it the paragraph that qualifies it. */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}
.statement {
	max-width: 30em;
	font-size: clamp(1.3rem, 1.05rem + 1.05vw, 1.8rem);
	font-weight: 300;
	line-height: 1.42;
}
.statement strong {
	font-weight: 700;
}
/* A link in the statement is marked by its rule, not by turning red: at this
   size a red phrase would shout over the sentence it is part of. */
.statement a {
	font-weight: 700;
	text-decoration-color: var(--color-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}
.statement a:hover {
	color: var(--color-accent);
}

/*
	A band's summary list, titled so it can stand alone: the things a page
	wants counted, two across, each behind a red square.
*/
.points {
	margin-top: 1.8em;
}
.points-eyebrow,
.rail-eyebrow {
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.3;
}
.points .list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 48px;
	margin-top: 14px;
}
.points .list li {
	padding-left: 26px;
}
.points .list li + li {
	margin-top: 0;
}
.points .list li::before,
.items > div::before,
.faq::before,
.qa p::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 11px;
	height: 11px;
	background: var(--color-accent);
}

/*
	A set of things that can be read in any order — principles, ways of
	contributing, a question and its answer — so they get a square and not a
	number, and tile two across. Prose that builds an argument gets the column
	instead; it has to be read in sequence.

	The questions are real headings (.faq), which is what the FAQ structured
	data claims they are. On the Freiburg page they are still a bold line and
	a break inside a paragraph (.qa); the stylesheet gives those the same
	look without touching the outline of a page that ranks.
*/
.items,
.grid-2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px 56px;
}
.main.grid-2 > * {
	margin-top: 0;
}
.grid-2 > p {
	max-width: none;
}
.items > div,
.faq,
.qa p {
	position: relative;
	max-width: 34rem;
	padding-left: 26px;
}
.items h3 + p,
.faq h3 + p {
	margin-top: 8px;
}
.qa p + p {
	margin-top: 32px;
}
.qa p > strong:first-child {
	display: block;
	margin-bottom: 8px;
	font-family: var(--font-head);
	font-size: clamp(1rem, 5.1vw, 1.2rem);
	font-weight: 900;
	line-height: 1.3;
	overflow-wrap: break-word;
}
.qa p > strong:first-child + br {
	display: none;
}

/*
	The card in the label column: a contact route on the pages that sell, a
	conclusion where a band argues towards one, the contents list on the two
	privacy policies.

	Not a box. It hangs from the heavy rule the tables and lists of the
	open-source pages hang from, and from 1080px it sticks in its column while
	the band scrolls past.
*/
.rail {
	margin-top: 36px;
}
.rail[hidden] {
	display: none;
}
/* A card that comes before its band's text in the source — the contents list
   — leads on a phone, so its gap is beneath it. */
.rail:first-child {
	margin-top: 0;
	margin-bottom: 32px;
}
.rail-card {
	padding-top: 18px;
	border-top: 2px solid var(--color-text);
}
.rail-lead {
	margin-top: 8px;
	font-size: 1rem;
	line-height: 1.55;
}
.rail-contact {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 14px;
	font-weight: 600;
}
.rail-contact a,
.rail-toc a,
.cta-contact a,
.facts a,
.module-links a,
.product h3 a {
	text-decoration-color: #b9b1a7;
}
.rail-contact a:hover,
.rail-toc a:hover,
.facts a:hover,
.module-links a:hover,
.product h3 a:hover {
	color: var(--color-accent);
	text-decoration-color: var(--color-accent);
}
.rail .button {
	margin-top: 20px;
}
.rail-toc {
	margin-top: 12px;
	font-size: 0.95rem;
	line-height: 1.4;
}
.rail-toc li + li {
	margin-top: 9px;
}
.rail-toc a {
	text-decoration: none;
}
.rail-toc a:hover {
	text-decoration: underline;
}

/* The long legal texts: their section headings are in the text column, one
   step down from a band's, because there are nine of them. */
.legal > h2 {
	font-size: clamp(1.15rem, 5.2vw, 1.4rem);
}

/* A pointer to somewhere else, ahead of the text it interrupts. */
.notice {
	max-width: 38rem;
	padding: 20px 24px 24px;
	background: var(--color-bg-alt);
	border-top: 2px solid var(--color-text);
	box-sizing: border-box;
}
.notice p + p {
	margin-top: 16px;
}

/* What a form says after it has been sent, or why it was not. app.js builds
   these, and the customer pages render them server-side. */
.box {
	max-width: 38rem;
	padding: 14px 18px;
	border-left: 4px solid var(--color-edge);
	background: var(--color-bg-alt);
	box-sizing: border-box;
}
.box.box-green {
	background: #e8f5e9;
	border-left-color: #2e7d32;
}
.box.box-red {
	background: #ffebee;
	border-left-color: #c62828;
}
.contact-form + .box,
.box + .contact-form {
	margin-top: 1em;
}

/*
	The features of a product, as rows of one band: the feature's name in the
	label column, what it does beside it. The names are h2s — each was a
	section of its own — set a step smaller here, because there are eight in a
	row.
*/
.features {
	border-top: 2px solid var(--color-text);
}
.feature {
	padding: 26px 0 28px;
	border-bottom: 1px solid #cbc3b9;
}
.feature:last-child {
	padding-bottom: 0;
	border-bottom: none;
}
.feature h2 {
	margin-bottom: 8px;
	font-size: 1.25rem;
	line-height: 1.25;
	letter-spacing: 0;
}
.feature p {
	max-width: 38rem;
}

/* A product: its picture, its name, what it is for. */
.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"image"
		"heading"
		"p";
	gap: 12px 28px;
	padding: 28px 0;
	border-bottom: 1px solid var(--color-rule);
}
.main > .product {
	margin-top: 0;
}
.product:first-child {
	padding-top: 0;
}
.product:last-child {
	padding-bottom: 0;
	border-bottom: none;
}
.product .image {
	grid-area: image;
	display: block;
	max-width: 15rem;
}
.product .image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.product h3 {
	grid-area: heading;
}
.product p {
	grid-area: p;
}

/*
	The software table on the first open-source page.

	Three attributes per row, so it is a table; but a three-column table does
	not fit a phone, so below 800px each row becomes a block: the job, the
	software beneath it, the origin last. The column heads are hidden there
	rather than removed, so a screen reader still has them.
*/
.stack {
	width: 100%;
	border-collapse: collapse;
	border-top: 2px solid var(--color-text);
	text-align: left;
}
.stack thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
.stack tbody tr {
	display: block;
	padding: 18px 0;
	border-bottom: 1px solid var(--color-rule);
}
.stack th,
.stack td {
	display: block;
	padding: 0;
	vertical-align: top;
}
.stack-area {
	margin-bottom: 4px;
	font-size: 0.95rem;
	font-weight: 400;
	color: var(--color-muted);
}
.stack-software li {
	font-family: var(--font-head);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
}
.stack-software a {
	text-decoration-color: #b9b1a7;
	text-underline-offset: 4px;
}
.stack-software a:hover {
	color: var(--color-accent);
	text-decoration-color: var(--color-accent);
}
.stack-note {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--color-muted);
}
.origin {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 12px;
	line-height: 1.4;
}
.origin > span:last-child {
	padding-top: 3px;
}
/* The map's tile again, at the size of a line of text. */
.chip {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: var(--color-accent);
	color: #fff;
	font-family: var(--font-head);
	font-size: 0.72rem;
	font-weight: 700;
	box-sizing: border-box;
}
/* No single country, so no code and no fill. */
.chip-none {
	background: none;
	border: 1.5px dashed var(--color-edge);
}

/* The facts under the second open-source page's opening: label over value,
   in a row. */
.facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: clamp(36px, 5vw, 60px) 0 0;
	border-top: 2px solid var(--color-text);
}
.facts > div {
	padding: 14px 20px 15px 0;
	border-bottom: 1px solid var(--color-rule);
}
.facts dt {
	font-size: 0.9rem;
	color: var(--color-muted);
}
.facts dd {
	margin: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

/*
	The module entries.

	One full-width entry per module rather than a grid of cards: what a module
	manages is a sentence-long list, and the thing a reader came for is
	`puppet module install datajt-proxmox_virtual_environment`, which needs the
	width. From 1080px the entry takes the page's grid — its name in the label
	column, so the five can be scanned down the left edge.
*/
.modules {
	border-top: 2px solid var(--color-text);
}
.module {
	padding: 36px 0 40px;
	border-bottom: 1px solid #cbc3b9;
}
.module:last-child {
	padding-bottom: 0;
	border-bottom: none;
}
.module-head {
	margin-bottom: 18px;
}
.module-head h3 {
	margin-bottom: 6px;
	font-size: 1.4rem;
	line-height: 1.2;
}
.module-id,
.module-os {
	font-size: 0.9rem;
	color: var(--color-muted);
	overflow-wrap: anywhere;
}
.module-text,
.module-scope {
	max-width: 40rem;
}
.module-text {
	font-size: 1.15rem;
	line-height: 1.5;
}
.module-scope {
	margin-top: 16px;
	font-size: 1rem;
}
.module-scope b {
	display: block;
	font-family: var(--font-head);
	font-size: 0.9rem;
	font-weight: 700;
}
/*
	The command, on ink so it reads as a terminal rather than as more prose.

	It never wraps: a command shown on two lines reads as two commands, and
	the only place it could break is after the hyphen in the module's name.
	Where it does not fit, the box scrolls and the keyboard can reach it. On a
	phone the copy button takes a row of its own and the type steps down, so
	the box shows the command as far as the part that tells the modules apart
	instead of `puppet module install data` five times over. From 660px the
	whole command fits beside the button.
*/
.cmd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 4px 10px;
	max-width: 46rem;
	margin-top: 24px;
	padding: 6px 6px 6px 14px;
	background: var(--color-ink);
	color: var(--color-on-ink);
	border-radius: var(--radius);
	box-sizing: border-box;
}
.cmd pre {
	flex: 1 1 100%;
	min-width: 0;
	margin: 0;
	padding: 10px 0 6px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	line-height: 1.5;
	white-space: pre;
	overflow-x: auto;
}
/* user-select: all — one click takes the whole command, which is the only
   thing anyone does with it. */
.cmd code {
	font-size: 1em;
	-webkit-user-select: all;
	user-select: all;
}
.cmd code::before {
	content: '$ ';
	color: var(--color-slate-on-ink);
}
.copy {
	flex: none;
	padding: 8px 14px;
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.32);
	border-radius: 4px;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	transition: background var(--transition), border-color var(--transition);
}
.copy:hover {
	background: rgba(255,255,255,0.12);
	border-color: rgba(255,255,255,0.6);
}
.module-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 28px;
	margin-top: 16px;
	font-weight: 600;
}

/* Describe, compare, converge. This one is a sequence, so the squares carry
   numbers, and from 800px a line runs from each to the next. */
.steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px 40px;
	counter-reset: step;
}
.steps li {
	position: relative;
	counter-increment: step;
}
.steps li::before {
	content: counter(step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 18px;
	background: var(--color-accent);
	color: #fff;
	font-family: var(--font-head);
	font-size: 1.1rem;
	font-weight: 900;
	line-height: 1;
}
.steps h3 {
	margin-bottom: 8px;
}
.steps p {
	font-size: 1rem;
	color: rgba(255,255,255,0.82);
}

/* What "as code" looks like: an excerpt from a module's README. */
.code-sample {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 40px;
	margin: clamp(36px, 5vw, 56px) 0 0;
}
.code-sample pre {
	margin: 0;
	padding: 22px 24px;
	background: var(--color-dark);
	color: var(--color-on-ink);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: var(--radius);
	font-family: var(--font-mono);
	font-size: 0.875rem;
	line-height: 1.65;
	overflow-x: auto;
}
.code-sample code {
	font-size: 1em;
}
.code-value {
	color: var(--color-slate-on-ink);
}
.code-sample figcaption {
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(255,255,255,0.72);
}

/*
	Form controls.

	WCAG 1.4.11 asks 3:1 of the boundary that tells you where a control is.
	#ddd gave 1.36:1 against a field's own white fill and 1.16:1 against the
	tint the forms sit on, so the edge was decorative rather than legible.
	#8a827a is the same warm family as the rest of the palette and clears the
	bar on both grounds (3.78:1 and 3.24:1).
*/
.input,
.select,
.textarea {
	display: block;
	width: 100%;
	border: 1.5px solid var(--color-edge);
	border-radius: var(--radius);
	/* Opaque white, not transparent: the forms sit on the warm tint, and a
	   transparent field was almost indistinguishable from the page behind it. */
	background: #fff;
	color: #000;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	outline: none;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}
.input,
.select {
	height: 44px;
}
.input,
.textarea {
	padding: 9px 12px;
}
.select {
	padding: 0 8px;
}
.textarea {
	min-height: 160px;
	line-height: 1.5;
}
.input:focus,
.textarea:focus,
.select:focus {
	border-color: var(--color-accent);
}

/* The button: the one thing on the site that is red because it does
   something. */
.button {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	background: var(--color-accent);
	color: #fff;
	border: none;
	border-radius: var(--radius);
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	-webkit-user-select: none;
	user-select: none;
	cursor: pointer;
	transition: background 0.15s ease;
}
.button:hover {
	background: var(--color-accent-dark);
}
.button.button-disabled {
	cursor: default;
	background: #8e8e8e;
}
a.button {
	text-decoration: none;
}
/* On the red band the button cannot be red. */
.band-red .button {
	background: #fff;
	color: var(--color-text);
}
.band-red .button:hover {
	background: var(--color-bg-alt);
}

.checkbox {
	position: relative;
	display: block;
	width: 20px;
	min-width: 20px;
	height: 20px;
	margin-top: 2px;
	cursor: pointer;
	z-index: 1;
}
.checkbox > input,
.checkbox > span {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.checkbox > input {
	margin: 0;
	padding: 0;
	box-shadow: none !important;
	z-index: 1;
}
/* This was a #f0f0f0 fill with no border at all, on the #f0ede8 tint the
   forms sit on: 1.02:1, which is not a boundary — the box was invisible
   until you clicked where you guessed it was. It takes the same opaque fill
   and visible edge as the text fields, so the whole form reads as one set of
   controls. */
.checkbox > span {
	z-index: 2;
	background: #fff;
	border: 1.5px solid var(--color-edge);
	border-radius: 4px;
	box-sizing: border-box;
	pointer-events: none;
}
.checkbox > span:after {
	content: '';
	position: absolute;
	top: 0; left: 5px;
	transform: rotate(45deg);
	height: 12px;
	width: 6px;
	border-bottom: 3px solid #016f52;
	border-right: 3px solid #016f52;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility .2s;
}
.checkbox > input:checked ~ span:after {
	opacity: 1;
	visibility: visible;
}

/*
	A form: a label above each field, the fields two across from 700px where
	the form says so. Labels used to sit to the left of their fields in a
	125px column, which "E-Mail-Adresse Ihres Kontos" did not fit.
*/
.contact-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 24px;
	max-width: 46rem;
}
.main > .contact-form,
.main > .form-intro + .contact-form {
	margin-top: 28px;
}
.contact-form .label {
	display: block;
}
.contact-form .label .text {
	display: block;
	margin-bottom: 5px;
	font-size: 0.95rem;
	font-weight: 600;
}
.contact-form .label.label-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.required {
	color: var(--color-accent);
}
/* The contact page's lead-in to its form: two paragraphs and the three
   questions worth answering in the message. */
.form-intro > p {
	max-width: 38rem;
}
.form-intro > * + * {
	margin-top: 1em;
}
.form-intro .points {
	margin-top: 1.6em;
}
/* Three questions to answer one after the other, so one column. */
.form-intro .points .list {
	grid-template-columns: minmax(0, 38rem);
}

/* The closing band: the question in the label column, the routes beside it.
   Ink, like the hero, so the page opens and closes on the same ground. */
.cta .main p {
	max-width: 44ch;
}
.cta .main > p:first-child {
	color: rgba(255,255,255,0.82);
}
.cta-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	font-weight: 600;
	color: #fff;
}
.cta-contact a {
	text-decoration-color: rgba(255,255,255,0.4);
}
.cta-contact a:hover {
	text-decoration-color: var(--color-accent-on-ink);
}

/* The footer: who, and the handful of links that belong on every page, on the
   wrapper's two edges like everything above it. One step lighter than ink, so
   it reads as a separate strip under the closing band. */
footer {
	flex: 1;
	width: 100%;
	padding: 0 15px;
	background: var(--color-dark);
	color: rgba(255,255,255,0.86);
	font-size: 0.9rem;
	box-sizing: border-box;
}
footer .wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px 40px;
	padding: 28px 0 32px;
}
.footer-contact,
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
}
.footer-links a {
	text-decoration-color: rgba(255,255,255,0.4);
}
.footer-links a:hover {
	color: #fff;
	text-decoration-color: #fff;
}
/*
	The flag beside the language link. inline-block is what keeps the link's
	underline from being ruled through the emoji: a decoration is drawn by the
	ancestor that declares it and cannot be switched off by a descendant, but
	it does skip atomic inline boxes.
*/
footer .language-switch .flag {
	display: inline-block;
	margin-right: 0.4em;
	font-size: 1.1em;
}

/*
	Keyboard focus has to be visible. The form controls set outline: none and
	replace it with a border colour, so anything else a keyboard can reach
	needs the ring. :focus-visible keeps it off mouse clicks. On ink and on
	red the ring is white, because the accent would not show.
*/
:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: 2px;
}
#header :focus-visible,
footer :focus-visible,
.hero :focus-visible,
.pagebar :focus-visible,
.band-ink :focus-visible,
.band-red :focus-visible,
.cmd :focus-visible {
	outline-color: #fff;
}
/* The checkbox keeps the browser's own focus ring rather than the accent one
   above. Focus is visible, so this is a consistency wart rather than a bug,
   and the obvious author overrides do not take: the same rule applies when
   injected into the page at runtime but not when it is served in this file,
   which is not understood. Left alone deliberately — a rule that measurably
   does nothing is worse than a known gap. */

/*
	Respect a stated preference for less motion. The site smooth-scrolls and
	has a handful of colour transitions; none of it is load-bearing. The one
	animation, on the map, is only declared where motion is welcome.
*/
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media only screen and (min-width: 600px) {
	.product {
		grid-template-columns: 12.5rem minmax(0, 1fr);
		grid-template-rows: min-content 1fr;
		grid-template-areas:
			"image heading"
			"image p";
	}
}

@media only screen and (min-width: 660px) {
	.cmd {
		flex-wrap: nowrap;
	}
	.cmd pre {
		flex: 1;
		padding: 10px 0;
		font-size: 0.875rem;
	}
}

@media only screen and (min-width: 700px) {
	.items,
	.grid-2,
	.points .list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.grid-2 > .grid-span {
		grid-column: 1 / -1;
	}
	.facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* The two forms with short fields set them two across; the message, the
	   consent and the button always take the row. */
	.contact-form-general,
	.contact-form-beschwerde {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.contact-form-general > .label:nth-child(n+6),
	.contact-form-beschwerde > .label:nth-child(n+4) {
		grid-column: 1 / -1;
	}
}

@media only screen and (min-width: 800px) {
	/* The software table gets its columns back. */
	.stack thead {
		position: static;
		width: auto;
		height: auto;
		clip-path: none;
	}
	.stack thead th {
		padding: 12px 24px 12px 0;
		border-bottom: 1px solid var(--color-rule);
		font-size: 0.9rem;
		font-weight: 400;
		color: var(--color-muted);
	}
	.stack tbody tr {
		display: table-row;
		padding: 0;
	}
	.stack th,
	.stack td {
		display: table-cell;
		padding: 18px 24px 18px 0;
	}
	.stack tbody th,
	.stack tbody td {
		border-bottom: 1px solid var(--color-rule);
	}
	.stack-area {
		width: 25%;
		margin: 0;
		padding-top: 22px;
	}
	.stack th:last-child,
	.stack td:last-child {
		width: 33%;
		padding-right: 0;
	}
	.origin {
		margin-top: 0;
	}

	.steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.steps li:not(:last-child)::after {
		content: '';
		position: absolute;
		top: 20px;
		left: 54px;
		right: -26px;
		height: 1px;
		background: rgba(255,255,255,0.24);
	}

	.code-sample {
		grid-template-columns: minmax(0, 31rem) minmax(0, 1fr);
		align-items: end;
	}
	.code-sample figcaption {
		max-width: 17rem;
		padding-bottom: 4px;
	}
}

/* On the two open-source pages the hero has a second column — the map, the
   module index — as soon as the headline and the longest module name fit
   beside each other. The floor rises with it, so that these two heroes are
   no taller than every other page's. */
@media only screen and (min-width: 860px) {
	.hero {
		min-height: clamp(470px, 52vh, 540px);
	}
	.hero-aside .hero-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
		column-gap: 40px;
	}
}

/* From 900px the navigation fits in the bar: four words, no icons. */
@media only screen and (min-width: 900px) {
	#menu {
		display: none;
	}
	#navigation {
		position: static;
		display: flex;
		align-items: stretch;
		height: 100%;
		min-width: 0;
		max-width: none;
		padding-top: 0;
		background: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		box-shadow: none;
		transform: none;
		visibility: visible;
		opacity: 1;
		z-index: 1;
		overflow: visible;
	}
	#navigation a {
		gap: 10px;
		padding: 0 0 0 30px;
		font-size: 0.95rem;
	}
	#navigation a::before {
		flex-basis: 8px;
		height: 8px;
	}
	#navigation .contact {
		display: none;
	}
}

@media only screen and (min-width: 1080px) {
	/* 524px is the map with its caption plus the hero's padding and rule: the
	   tallest thing any hero holds, and so the floor for all of them. */
	.hero {
		min-height: clamp(524px, 56vh, 560px);
	}
	.hero-aside .hero-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
		column-gap: 72px;
	}
	.hero-map {
		max-width: none;
	}
	.hero-index a {
		padding: 16px 0;
		font-size: 1.05rem;
	}

	.split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
		column-gap: 72px;
		align-items: start;
	}
	.split .prose {
		padding-top: 0.5rem;
	}
	.facts {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	/*
		The grid every band shares: a narrow column that names it, a wide one
		that fills it. A module entry and a feature row are the same grid one
		level down.

		Whatever is not the label goes in the wide column. The label column
		holds the band's heading (.side), and the card (.rail) where there is
		one: under the heading, or alone where the band has none. A band with
		a card needs two rows so the card can sit under the heading while the
		text runs the full height beside both; the second row takes all the
		height the heading does not use.

		The label sticks while its band scrolls past — in a band without a
		card that is the heading, in a band with one it is the card.
	*/
	.cols,
	.module,
	.feature {
		display: grid;
		grid-template-columns: var(--side) minmax(0, 1fr);
		column-gap: var(--gap);
		align-items: start;
	}
	.cols > * {
		grid-column: 2;
	}
	.cols > .side,
	.cols > .rail {
		grid-column: 1;
		margin-top: 0;
		margin-bottom: 0;
	}
	.cols > .side,
	.cols > .rail {
		position: sticky;
		top: calc(var(--header) + 32px);
	}
	.cols.has-rail {
		grid-template-rows: auto 1fr;
	}
	.cols.has-rail > .main,
	.cols.has-rail > .rail {
		grid-row: 1 / span 2;
	}
	.cols.has-rail > .side {
		grid-row: 1;
		position: static;
	}
	.cols.has-rail > .side ~ .rail {
		grid-row: 2;
		margin-top: 32px;
	}

	.module-head,
	.feature h2 {
		margin-bottom: 0;
	}
	.module-id {
		font-size: 0.8rem;
	}
	.module-os {
		margin-top: 10px;
	}
}
