/* ============================================================
   Information pages (European sites): FAQ, privacy policy, terms of service, cookie policy, imprint,
   accessibility statement, 404 and integrations. One calm reading layout on the new look (base.css):
   a soft hero band with a kicker, the title and the date or a lead; then a readable article column (about
   70 characters) with a sticky "on this page" list beside it on desktop, and ruled sections.
   The page's own text is untouched; this file only lays it out.
   ============================================================ */

/* ---------- Hero band ---------- */

.inf .inf-hero {
	padding-block: calc(68px + clamp(48px, 5vw, 80px)) clamp(40px, 4.5vw, 64px);
}

.inf .inf-hero__kicker {
	margin-bottom: 14px;
	color: var(--acn-accent-hover);
	font-size: 0.9375rem;
	font-weight: 500;
}

.inf .inf-hero__title {
	max-width: 18em;
	color: var(--acn-ink);
	font-size: clamp(2.125rem, 1.4rem + 2.2vw, 3.25rem);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.inf .inf-hero__title span {
	color: var(--acn-muted);
	font-weight: 500;
}

.inf .inf-hero__sub {
	max-width: 640px;
	margin-top: 18px;
	color: var(--acn-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.inf .inf-hero__sub a {
	color: var(--acn-accent-hover);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Body: the "on this page" list beside the article ---------- */

.inf .inf-body {
	padding-block: clamp(48px, 5vw, 80px) clamp(72px, 7vw, 112px);
}

.inf-body__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
}

.inf-body__grid--toc {
	grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 96px);
}

.inf .inf-toc {
	position: sticky;
	top: 96px;
	align-self: start;
	max-height: calc(100vh - 120px);
	overflow: auto;
	padding-left: 18px;
	border-left: 1px solid var(--acn-line);
}

.inf .inf-toc__label {
	margin-bottom: 12px;
	color: var(--acn-ink);
	font-size: 0.875rem;
	font-weight: 500;
}

.inf .inf-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.inf .inf-toc li + li {
	margin-top: 2px;
}

.inf .inf-toc a {
	display: block;
	padding: 6px 0;
	color: var(--acn-muted);
	font-size: 0.9375rem;
	line-height: 1.45;
	text-decoration: none;
}

.inf .inf-toc a:hover {
	color: var(--acn-accent-hover);
}

.inf .inf-toc a:focus-visible {
	outline: 2px solid var(--acn-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---------- The article ---------- */

.inf .inf-article {
	max-width: 70ch;
	color: var(--acn-ink);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.inf .inf-body__grid:not(.inf-body__grid--toc) .inf-article {
	margin-inline: auto;
}

/* Every section heading starts a ruled section */
.inf .inf-article h2 {
	margin: 56px 0 18px;
	padding-top: 32px;
	border-top: 1px dashed var(--acn-line); /* taste-skill-ignore: dashed rules from the site design */
	color: var(--acn-ink);
	font-size: clamp(1.375rem, 1.15rem + 0.6vw, 1.75rem);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.01em;
	scroll-margin-top: 96px;
}

.inf .inf-article > h2:first-child,
.inf .inf-article > :first-child h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.inf .inf-article h3 {
	margin: 32px 0 12px;
	color: var(--acn-ink);
	font-size: 1.1875rem;
	font-weight: 500;
	line-height: 1.4;
	scroll-margin-top: 96px;
}

.inf .inf-article h4,
.inf .inf-article h5 {
	margin: 24px 0 8px;
	color: var(--acn-ink);
	font-size: 1.0625rem;
	font-weight: 500;
}

.inf .inf-article p,
.inf .inf-article li {
	color: #44434e;
	font-size: 1.0625rem;
	line-height: 1.75;
}

.inf .inf-article p {
	margin: 0 0 16px;
}

.inf .inf-article ul,
.inf .inf-article ol {
	margin: 0 0 18px;
	padding-left: 1.4em;
}

.inf .inf-article li + li {
	margin-top: 6px;
}

.inf .inf-article strong,
.inf .inf-article b {
	color: var(--acn-ink);
	font-weight: 600;
}

.inf .inf-article a {
	color: var(--acn-accent-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
	word-break: break-word;
}

.inf .inf-article a:focus-visible {
	outline: 2px solid var(--acn-accent);
	outline-offset: 2px;
}

.inf .inf-article table {
	width: 100%;
	margin: 8px 0 24px;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.inf .inf-article th,
.inf .inf-article td {
	padding: 10px 12px;
	border: 1px solid var(--acn-line);
	text-align: left;
	vertical-align: top;
}

.inf .inf-article th {
	background: var(--acn-soft);
	font-weight: 500;
}

/* The legal pages' numbered clauses (.legal-item: a number beside its paragraph) */
.inf .inf-article .legal-item {
	display: flex;
	gap: 12px;
	margin-bottom: 14px;
}

.inf .inf-article .legal-item p {
	margin: 0;
}

.inf .inf-article .item-number,
.inf .inf-article .sub-item-number,
.inf .inf-article .sub-sub-item-number {
	flex: 0 0 auto;
	min-width: 3em;
	color: var(--acn-accent-hover);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

/* The accessibility statement's check lists */
.inf .inf-article .list--icons {
	padding-left: 0;
	list-style: none;
}

.inf .inf-article .list__icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 4px 12px 0 0;
	color: var(--acn-accent);
	fill: currentColor;
}

.inf .inf-article .ls4-flex {
	display: flex;
	align-items: flex-start;
}

/* ---------- FAQ: categories as sections, questions as the site's ruled list ---------- */

.inf .inf-faq + .inf-faq {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px dashed var(--acn-line); /* taste-skill-ignore: dashed rules from the site design */
}

.inf .inf-faq h2 {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.inf .inf-faq .acn-faq__list {
	max-width: none;
}

.inf .inf-faq .acn-faq__a p {
	color: var(--acn-muted);
	font-size: 1rem;
}

.inf .inf-more {
	margin-top: 48px;
	padding: 24px 28px;
	border: 1px solid var(--acn-line);
	border-radius: var(--acn-radius);
	background: var(--acn-soft);
	color: var(--acn-ink);
	font-size: 1.0625rem;
}

.inf .inf-more a {
	color: var(--acn-accent-hover);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
	.inf-body__grid--toc {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	/* On small screens the list sits above the article, in a soft box, not sticky */
	.inf .inf-toc {
		position: static;
		max-height: none;
		padding: 18px 20px;
		border: 1px solid var(--acn-line);
		border-radius: var(--acn-radius);
		background: var(--acn-soft);
	}

	.inf .inf-toc ol {
		columns: 2;
		column-gap: 24px;
	}

	.inf .inf-toc li {
		break-inside: avoid;
	}
}

@media (max-width: 575px) {
	.inf .inf-toc ol {
		columns: 1;
	}

	.inf .inf-article,
	.inf .inf-article p,
	.inf .inf-article li {
		font-size: 1rem;
	}

	.inf .inf-article .legal-item {
		flex-direction: column;
		gap: 2px;
	}
}

/* ---------- 404: a short message, the way home, and the most visited pages ---------- */

.inf .inf-404 {
	padding-block: calc(68px + clamp(56px, 7vw, 112px)) clamp(72px, 8vw, 128px);
}

.inf .inf-404__code {
	color: var(--acn-accent-hover);
	font-size: clamp(4.5rem, 3rem + 6vw, 8rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
}

.inf .inf-404__title {
	max-width: 20em;
	margin-top: 18px;
	color: var(--acn-ink);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
	font-weight: 500;
	line-height: 1.3;
	text-wrap: balance;
}

.inf .inf-404__actions {
	margin-top: 32px;
}

.inf .inf-404__links {
	margin-top: clamp(48px, 6vw, 72px);
	padding-top: 28px;
	border-top: 1px dashed var(--acn-line); /* taste-skill-ignore: dashed rules from the site design */
}

.inf .inf-404__links p {
	margin-bottom: 14px;
	color: var(--acn-muted);
	font-size: 0.9375rem;
}

.inf .inf-404__links ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.inf .inf-404__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--acn-line);
	border-radius: 999px;
	background: #ffffff;
	color: var(--acn-ink);
	font-size: 0.9375rem;
	text-decoration: none;
}

.inf .inf-404__links a:hover {
	border-color: var(--acn-accent);
	color: var(--acn-accent-hover);
}

/* ---------- Integrations: the platforms as a grid of tiles ---------- */

.inf .inf-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.inf .inf-tiles li {
	display: flex;
	margin: 0 -1px -1px 0;
}

.inf .inf-tile {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: clamp(22px, 2.4vw, 32px);
	border: 1px solid var(--acn-line);
	background: #ffffff;
	color: var(--acn-ink);
	text-decoration: none;
	transition: background-color 0.25s ease;
}

.inf .inf-tile:hover {
	background: #faf7fe;
}

.inf .inf-tile:focus-visible {
	position: relative;
	z-index: 1;
	outline: 2px solid var(--acn-accent);
	outline-offset: -2px;
}

.inf .inf-tile__logo {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border: 1px solid var(--acn-line);
	border-radius: 12px;
	background: #ffffff;
}

.inf .inf-tile__logo img {
	width: 34px;
	height: 34px;
	object-fit: contain;
}

.inf .inf-tile__name {
	font-size: 1.0625rem;
	font-weight: 500;
}

.inf .inf-tile__go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--acn-accent-hover);
	font-size: 0.9375rem;
	font-weight: 500;
}

.inf .inf-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: clamp(48px, 6vw, 72px);
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--acn-radius);
	background: var(--acn-dark);
	color: #ffffff;
}

.inf .inf-help__title {
	color: #ffffff;
	font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem);
	font-weight: 500;
}

.inf .inf-help__text {
	margin-top: 6px;
	color: var(--acn-on-dark-muted);
}

@media (max-width: 991px) {
	.inf .inf-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.inf .inf-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* A button under the hero text */
.inf .inf-hero__actions {
	margin-top: 28px;
}

/* Long guide labels ("Implementierungsleitfaden") wrap inside the tile; one column on small phones */
.inf .inf-tiles li,
.inf .inf-tile {
	min-width: 0;
}

.inf .inf-tile__go {
	flex-wrap: wrap;
	overflow-wrap: anywhere;
}

@media (max-width: 479px) {
	.inf .inf-tiles {
		grid-template-columns: minmax(0, 1fr);
	}
}
