/*
 * Produkt-Detailseiten (de|en)/(loyalty|accessory|aftersales)-navigator/.
 *
 * Flaechen, Buttons und Kennzahl-Kacheln kommen aus assets/css/components-itt.css
 * und sehen damit aus wie die Loesungskarten der Startseite. Hier steht nur noch
 * das Seitenlayout und die Typografie-Zuordnung:
 *   h1 -> Hero-Typografie der Startseite (primary)
 *   h2 -> Sektionsueberschrift der Startseite (secondary)
 *   h3 -> Kartenueberschrift der Loesungskarten
 * Typografie wird auf den Sektions-Wurzeln explizit gesetzt, weil das globale
 * Seiten-Kit sonst font-size/line-height 88px in neue Sektionen vererbt.
 */
.itt-product {
	--itt-accent: #30abe1;
	--itt-ink: #eef1f6;
	--itt-muted: #bdbdc0;
	max-width: 1200px;
	margin: 0 auto;
	/* 10rem oben, damit auch die Breadcrumb unter dem fixierten Header beginnt. */
	padding: 10rem 32px 96px;
	font-family: "Lato", sans-serif;
	font-size: 1.25rem;
	/* Ohne diese Angabe erbt der Lauftext die 700 des Seiten-Kits. */
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.02em;
	color: var(--itt-ink);
}

.itt-product--loyalty-navigator { --itt-accent: #2babe2; }
.itt-product--accessory-navigator { --itt-accent: #48bd9c; }
.itt-product--aftersales-navigator { --itt-accent: #c3bc4f; }

.itt-product section {
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.02em;
	margin: 0 0 96px;
}

.itt-product section:last-child {
	margin-bottom: 0;
}

/* Groesse, Gewicht und Farbe der Ueberschriften stehen in components-itt.css. */
.itt-product h1 { margin: 32px 0 16px; }
.itt-product h2 { margin: 0 0 28px; }
.itt-product h3 { margin: 0 0 12px; }

.itt-product p {
	max-width: 68ch;
	margin: 0 0 20px;
}

.itt-product__breadcrumb {
	font-size: 1rem;
	line-height: 1.4;
	margin: 0 0 32px;
	color: var(--itt-muted);
}

.itt-product__breadcrumb a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.itt-product__breadcrumb a:hover {
	color: #fff;
}

/* Die Produktlogos haben dunkle Wortmarken und brauchen einen hellen Grund,
   genau wie in den Ansprechpartner-Bloecken der Startseite. */
.itt-product__logo {
	max-width: 400px;
	width: 100%;
	height: auto;
	display: block;
	background: #fff;
	border-radius: 24px;
	padding: 24px 28px;
	box-sizing: border-box;
}

.itt-product__claim {
	font-size: var(--e-global-typography-accent-font-size, clamp(2rem, 1.7857rem + 0.7143vw, 2.5rem));
	font-weight: 500;
	line-height: 1.2;
	color: var(--itt-accent);
	margin: 0 0 20px;
}

.itt-product__intro {
	max-width: 68ch;
	color: var(--itt-muted);
}

.itt-product__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 32px 0 0;
}

.itt-product__features ul {
	max-width: 68ch;
	margin: 0 0 20px;
	padding-left: 24px;
}

.itt-product__features li {
	margin: 0 0 12px;
}

.itt-product__features li strong {
	color: var(--itt-accent);
}

/* Kennzahlen als Kachelraster; die Flaeche selbst kommt aus components-itt.css. */
.itt-kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	margin: 8px 0 0;
}

/* Kennzahl und Label nutzen die Komponenten; hier nur Produktfarbe und Abstand. */
.itt-kpi__value {
	color: var(--itt-accent);
}

.itt-kpi__label {
	display: block;
	margin: 12px 0 6px;
}

.itt-kpi__note {
	display: block;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--itt-muted);
}

.itt-product__reference-partner {
	margin: 0 0 12px;
}

.itt-product blockquote {
	margin: 32px 0 0;
	font-size: 1.25rem;
	line-height: 1.5;
	letter-spacing: -0.02em;
}

.itt-product blockquote p {
	max-width: none;
	font-style: italic;
}

.itt-product blockquote footer {
	font-size: 1rem;
	font-style: normal;
	font-weight: 700;
	color: var(--itt-accent);
}

/* Ansprechpartner-Karte; Person, Foto und Kurztext entsprechen dem Team-Bereich
   der Startseite. Die Flaeche kommt aus components-itt.css. */
.itt-contact {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px;
	margin: 8px 0 0;
	font-size: 1.125rem;
	line-height: 1.5;
	letter-spacing: -0.02em;
}

.itt-contact__photo {
	flex: 0 0 200px;
	width: 200px;
	height: auto;
	display: block;
	border-radius: 16px;
}

.itt-contact__body {
	flex: 1 1 320px;
	min-width: 0;
}

.itt-contact p {
	max-width: none;
	margin: 0 0 16px;
}

.itt-contact__name {
	margin: 0 0 6px;
}

.itt-contact__role {
	margin: 0 0 16px;
}

.itt-contact__note {
	color: var(--itt-muted);
}

@media (max-width: 767px) {
	.itt-product {
		padding: 6.5rem 20px 64px;
		font-size: 1.125rem;
	}

	.itt-product section {
		font-size: 1.125rem;
		margin-bottom: 64px;
	}

	.itt-product p {
		margin-bottom: 16px;
	}

	.itt-product__logo {
		border-radius: 16px;
		padding: 18px 20px;
	}

	.itt-contact {
		gap: 20px;
		font-size: 1rem;
	}

	.itt-contact__photo {
		flex-basis: 140px;
		width: 140px;
	}

	.itt-kpis {
		grid-template-columns: 1fr;
	}
}

/*
 * Die Produktnamen sind Eigennamen und duerfen nie umbrechen (.itt-nobreak).
 * Das Hero-Minimum des Kits (3.75rem) waere dafuer auf schmalen Viewports zu
 * gross, deshalb skaliert die H1 der Produktseiten dort mit der Viewportbreite.
 */
@media (max-width: 767px) {
	.itt-product h1 {
		font-size: min(3.75rem, 9.6vw);
		line-height: 1.1;
	}
}
