/*
Theme Name: Sport Automobile
Theme URI: https://www.sportautomobile.ch/
Author: Picline GmbH
Author URI: https://picline.ch/
Description: Schlankes Theme für Sport Automobile GmbH, Schafisheim. Dunkler Auftritt, Inhalte der Startseite im Customizer.
Version: 4.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: Proprietär
Text Domain: sportautomobile
*/

/* ==========================================================================
   Schrift: Archivo variabel (Breite 62–125 %, Stärke 100–900), lokal
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-latin-wdth.woff2") format("woff2-variations"),
		url("assets/fonts/archivo-latin-wdth.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--black: #0a0a0a;
	/* Dunkelgrau mit einem Hauch Erdton */
	--panel: #181613;
	--panel-2: #211e1a;
	--white: #fff;
	--red: #ff0001;
	/* Rote Flächen (Buttons) leicht dunkler: grosse Flächen wirken heller als das Rot im Logo */
	--red-fill: #e30001;
	/* Erdtöne nur in Schrift: Sand auf Schwarz, Bronze auf Weiss */
	--sand: #eae3d6;
	/* Bronze minimal dunkler als #8c7355: Kontrast auf Weiss 5,1:1 statt 4,48:1 (kleine Dachzeilen, WCAG AA) */
	--bronze: #84694c;

	--fg: var(--white);
	--soft: rgba(234, 227, 214, 0.76);
	--mute: rgba(234, 227, 214, 0.52);
	--line: rgba(234, 227, 214, 0.14);
	/* Feine Linien in Sand, etwas deutlicher als --line */
	--line-sand: rgba(234, 227, 214, 0.3);

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;

	--max: 1320px;
	--gutter: clamp(20px, 5vw, 80px);
	--gap: clamp(12px, 1.4vw, 20px);
	--space: clamp(88px, 10vw, 168px);

	--header-h: 76px;
	--logo-h: 32px;
	--top: var(--wp-admin--admin-bar--height, 0px);
}

@media (min-width: 1080px) {
	:root {
		--header-h: 112px;
		--logo-h: 46px;
	}
}

/* ==========================================================================
   Basis
   ========================================================================== */

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

html {
	background: var(--black);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + var(--top));
	color-scheme: dark;
}

html.is-locked {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--black);
	color: var(--fg);
	font-family: var(--font);
	font-size: 1.0625rem;
	font-stretch: 100%;
	font-weight: 400;
	line-height: 1.6;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

figure {
	margin: 0;
}

a {
	color: inherit;
}

p {
	margin: 0 0 1em;
}

address {
	font-style: normal;
}

:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
}

::selection {
	background: var(--red);
	color: var(--white);
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--white);
	color: var(--black);
	text-decoration: none;
}

.skip-link:focus {
	top: calc(var(--top) + 12px);
}

.wrap {
	width: min(calc(100% - 2 * var(--gutter)), var(--max));
	margin-inline: auto;
}

/* ==========================================================================
   Typografie
   ========================================================================== */

.display,
.h2,
.h3 {
	margin: 0;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.h2 {
	font-size: clamp(2rem, 1.2rem + 3vw, 4rem);
	font-stretch: 110%;
	line-height: 1.02;
}

.h3 {
	font-size: 1.125rem;
	font-stretch: 108%;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
}

@media (min-width: 700px) {
	.nobr {
		white-space: nowrap;
	}
}

/* Kleine Dachzeile in Sand */
.eyebrow {
	margin: 0 0 18px;
	color: var(--sand);
	font-size: 0.75rem;
	font-stretch: 125%;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.label {
	display: block;
	margin: 0;
	color: var(--mute);
	font-size: 0.6875rem;
	font-stretch: 125%;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.text-link {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.text-link:hover {
	text-decoration-color: var(--red);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 30px;
	border: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var(--white);
	font: inherit;
	font-size: 0.9375rem;
	font-stretch: 108%;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.btn .icon {
	width: 18px;
	height: 18px;
	stroke-width: 1.8;
}

.btn--red {
	border-color: var(--red-fill);
	background: var(--red-fill);
}

.btn--red:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--black);
}

/* Sekundärer Button: auf Schwarz weisser Rahmen, auf Weiss schwarzer Rahmen */
.btn--dark {
	border-color: #111;
	background: #111;
	color: var(--white);
}

.btn--dark:hover {
	border-color: var(--red-fill);
	background: var(--red-fill);
	color: var(--white);
}

.btn--outline {
	border-color: rgba(255, 255, 255, 0.85);
	color: var(--white);
}

.btn--outline:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--black);
}

/* ==========================================================================
   Kopfzeile: durchsichtig auf dem Titelbild, beim Scrollen schwarz
   ========================================================================== */

.site-header {
	position: fixed;
	top: var(--top);
	right: 0;
	left: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
}

.site-header.is-solid,
body:not(.home):not(.has-hero) .site-header,
.site-header[data-menu="open"] {
	border-bottom-color: var(--line);
	background: var(--black);
}

body:not(.home):not(.has-hero) > main {
	padding-top: var(--header-h);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: var(--header-h);
}

/* Querformat-Logo: Der Schriftzug sitzt bei 62 % der Logohöhe, also 12 % unter der Mitte.
   Das Logo wird um diese 12 % angehoben, damit Schriftzug, Menü und Button auf einer Linie stehen. */
.site-header__logo {
	flex: none;
	display: block;
	transform: translateY(calc(var(--logo-h) * -0.12));
}

.site-header__logo img {
	width: auto;
	height: var(--logo-h);
}

.site-header__name {
	font-weight: 700;
	font-stretch: 112%;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.site-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	text-decoration: none;
}

/* «Verkauf 076 460 24 60» mit weissem Rahmen */
.call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 46px;
	height: 46px;
	padding: 0 20px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	color: var(--white);
	font-size: 0.875rem;
	font-stretch: 106%;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.call .icon {
	flex: none;
	width: 17px;
	height: 17px;
	stroke-width: 1.8;
}

.call:hover {
	border-color: var(--red-fill);
	background: var(--red-fill);
}

/* WhatsApp: quadratisch, gleicher Rahmen wie «Verkauf»; beim Darüberfahren weiss mit schwarzem Symbol */
.call--wa {
	width: 46px;
	padding: 0;
}

.call--wa .wa-icon {
	flex: none;
	width: 18px;
	height: 18px;
}

.call--wa:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--black);
}
.site-nav__call {
	display: none;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 46px;
	padding: 0 4px 0 12px;
	border: 0;
	background: none;
	color: var(--white);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

.menu-toggle__icon {
	position: relative;
	width: 24px;
	height: 8px;
	border-top: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
}

.site-header[data-menu="open"] .menu-toggle__icon {
	height: 1.5px;
	border-bottom: 0;
}

/* Mobil und Tablet: Menü als schwarze Fläche */
@media (max-width: 1079.98px) {
	.site-nav {
		display: none;
	}

	.site-header[data-menu="open"] .site-nav {
		position: fixed;
		inset: calc(var(--top) + var(--header-h)) 0 0 0;
		display: flex;
		flex-direction: column;
		gap: 32px;
		padding: 8px var(--gutter) 32px;
		background: var(--black);
		overflow-y: auto;
	}

	.site-nav__list a {
		display: block;
		padding: 16px 0;
		border-bottom: 1px solid var(--line);
		font-size: clamp(1.625rem, 7vw, 2.25rem);
		font-stretch: 112%;
		font-weight: 700;
		letter-spacing: -0.015em;
		line-height: 1.1;
	}

	.site-nav__list a:hover {
		color: var(--red);
	}

	.site-header[data-menu="open"] .site-nav__call {
		display: inline-flex;
		min-height: 60px;
	}

	.call {
		width: 46px;
		padding: 0;
	}

	.call__text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* Kleine Handys: Logo, Telefon, WhatsApp und Menü passen nebeneinander */
@media (max-width: 479.98px) {
	:root {
		--logo-h: 28px;
	}

	.site-header__inner {
		gap: 14px;
	}

	.site-header__actions {
		gap: 6px;
	}

	.call,
	.call--wa {
		width: 44px;
		min-width: 44px;
		height: 44px;
	}

	.menu-toggle {
		padding: 0 0 0 6px;
	}
}

@media (max-width: 374.98px) {
	:root {
		--logo-h: 24px;
	}

	.site-header__inner {
		gap: 10px;
	}

	.site-header__actions {
		gap: 4px;
	}

	.call,
	.call--wa {
		width: 40px;
		min-width: 40px;
		height: 40px;
	}
}

@media (max-width: 339.98px) {
	:root {
		--logo-h: 21px;
	}
}
@media (max-width: 479.98px) {
	.menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* Desktop: Menü in der Zeile */
@media (min-width: 1080px) {
	.site-nav {
		display: flex;
		margin-left: auto;
	}

	.site-nav__list {
		display: flex;
		gap: clamp(26px, 2.6vw, 44px);
	}

	.site-nav__list a {
		display: block;
		padding: 8px 0;
		background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 1px;
		font-size: 0.9375rem;
		font-weight: 500;
		letter-spacing: 0.01em;
	}

	.site-nav__list a:hover,
	.site-nav__list .current-menu-item > a {
		background-size: 100% 1px;
	}

	.site-header__actions {
		margin-left: 12px;
	}

	.menu-toggle {
		display: none;
	}
}

/* ==========================================================================
   Abschnitte
   ========================================================================== */

.section,
.action-wrap,
.brands {
	padding-block: var(--space);
}

/* Helle Abschnitte: Schrift fast schwarz, Linien hellgrau, Erdton nur in Schrift */
.statement,
.action-wrap,
.showroom,
.brands,
.contact-band,
.is-light {
	--fg: #111;
	--soft: #4a4a4a;
	--mute: #6b6b6b;
	--line: #e5e5e5;
	--line-sand: #e5e5e5;
	background: var(--white);
	color: #111;
}

.statement .eyebrow,
.action-wrap .eyebrow,
.showroom .eyebrow,
.brands .eyebrow,
.contact-band .eyebrow,
.is-light .eyebrow {
	color: var(--bronze);
}

.statement .btn--outline,
.action-wrap .btn--outline,
.showroom .btn--outline,
.brands .btn--outline,
.contact-band .btn--outline,
.is-light .btn--outline {
	border-color: #111;
	color: #111;
}

.statement .btn--outline:hover,
.action-wrap .btn--outline:hover,
.showroom .btn--outline:hover,
.brands .btn--outline:hover,
.contact-band .btn--outline:hover,
.is-light .btn--outline:hover {
	border-color: #111;
	background: #111;
	color: var(--white);
}

.head-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px 48px;
	margin-bottom: clamp(36px, 4vw, 64px);
}

/* ==========================================================================
   1 · Titelbild: wie ein Filmplakat
   ========================================================================== */

.hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 640px;
	overflow: hidden;
	background: var(--black);
}

.hero__media {
	position: absolute;
	inset: 0;
}

.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

/* Kino-Licht: Spot auf das Fahrzeug, Ränder dunkel, oben Raum für den Titel,
   unten Verlauf ins Schwarz */
.hero__shade {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(58% 46% at 50% 52%, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0) 55%, rgba(10, 10, 10, 0.5) 100%),
		linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.62) 20%, rgba(10, 10, 10, 0.12) 34%, rgba(10, 10, 10, 0) 50%, rgba(10, 10, 10, 0.35) 66%, rgba(10, 10, 10, 0.86) 80%, #0a0a0a 92%),
		rgba(10, 10, 10, 0.22);
}

/* Inhalt liegt über Bild und Verlauf; Bild und Verlauf beziehen sich am
   Desktop auf den ganzen Abschnitt (.hero ist der Bezugsrahmen). */
.hero__content {
	width: min(calc(100% - 2 * var(--gutter)), 1760px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding-top: calc(var(--header-h) + clamp(-8px, -2vh + 24px, 12px));
	padding-bottom: clamp(44px, 9vh, 104px);
	text-align: center;
}

.hero__top,
.hero__bottom {
	position: relative;
	z-index: 2;
}

.hero__eyebrow {
	margin-bottom: clamp(10px, 1.6vh, 18px);
}

.hero__eyebrow-short {
	display: none;
}

/* Handy: kurze Dachzeile, damit sie nicht umbricht */
@media (max-width: 699.98px) {
	.hero__eyebrow-long {
		display: none;
	}

	.hero__eyebrow-short {
		display: inline;
	}
}

/* Titel auf einer breiten Zeile über dem Fahrzeug; die Grösse richtet sich
   nach Breite und Höhe, damit er nie in das Auto ragt. */
.hero__title {
	margin: 0 auto;
	font-size: clamp(2.375rem, min(4.6vw, 6.7vh), 6rem);
	font-stretch: 114%;
	font-weight: 760;
	line-height: 1;
	letter-spacing: -0.032em;
	text-wrap: balance;
}

.hero__title-1,
.hero__title-2 {
	display: block;
}

.hero__title-2 {
	margin-top: 0.06em;
	font-weight: 250;
	letter-spacing: -0.02em;
}

.hero__text {
	margin: 0 auto clamp(18px, 2.6vh, 28px);
	color: var(--soft);
	font-size: clamp(1rem, 0.9rem + 0.35vw, 1.1875rem);
	line-height: 1.5;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* Handy und Tablet hoch: Bild als Bühne zwischen Titel und Buttons */
@media (max-width: 699.98px) {
	.hero {
		height: auto;
		min-height: 100svh;
	}

	.hero__content {
		height: auto;
		min-height: 100svh;
		padding-top: calc(var(--header-h) + 20px);
		text-align: left;
	}

	.hero__media {
		position: relative;
		inset: auto;
		z-index: 1;
		width: 190vw;
		margin: -96px calc(50% - 95vw) -48px;
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 74%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 74%, transparent 100%);
	}

	.hero__img {
		height: auto;
		aspect-ratio: 1672 / 941;
		filter: brightness(0.88);
	}

	.hero__shade {
		display: none;
	}

	.hero__title {
		margin: 0;
		font-size: clamp(2.125rem, 10.4vw, 2.75rem);
	}

	.hero__actions {
		flex-direction: column;
	}

	.hero__actions .btn {
		width: 100%;
	}
}
/* Dezenter Hover: Bild wird leicht heller */
a.car:hover .car__media img {
	filter: brightness(1);
}

/* ==========================================================================
   2 · Statement und Vorteile (weiss)
   ========================================================================== */

.statement__title {
	max-width: 22ch;
	margin: 0;
	color: #111;
	font-size: clamp(2rem, 1rem + 3.8vw, 4.75rem);
	font-stretch: 108%;
	font-weight: 300;
	line-height: 1.06;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.advantages {
	display: grid;
	gap: var(--gap);
	margin: clamp(56px, 7vw, 104px) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.advantages {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1080px) {
	.advantages {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Hellgraue Karte mit feiner Linie oben, rotem Icon, Titel immer auf zwei Zeilen */
.advantage {
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 2.6vw, 40px) clamp(24px, 2.2vw, 34px) clamp(32px, 3vw, 44px);
	border-top: 2px solid #111;
	background: #f5f5f5;
}

.advantage__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: clamp(28px, 2.6vw, 40px);
}

.advantage .icon {
	width: 52px;
	height: 52px;
	color: var(--red);
	stroke-width: 1.1;
}

.advantage__num {
	color: var(--bronze);
	font-size: 0.8125rem;
	font-stretch: 125%;
	font-weight: 500;
	letter-spacing: 0.1em;
}

.advantage__title {
	min-height: 2.4em;
	margin: 0 0 14px;
	color: #111;
	font-size: clamp(1.1875rem, 1rem + 0.4vw, 1.375rem);
	font-stretch: 110%;
	font-weight: 650;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.advantage__text {
	margin: 0;
	color: #4a4a4a;
	text-wrap: pretty;
	font-size: 1rem;
	line-height: 1.7;
}
/* ==========================================================================
   4 · Aktuelle Fahrzeuge
   ========================================================================== */

.cars {
	display: grid;
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.cars {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1080px) {
	.cars {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Karten gleich hoch; Eckdaten, Linie, Preis und Link stehen unten bündig */
.car {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--panel);
	text-decoration: none;
}

.car__media {
	position: relative;
	overflow: hidden;
	background: var(--panel-2);
}

/* Etikett «Neu» oben links auf dem Bild: rot, eckig, klein */
.car__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 5px 9px 4px;
	background: var(--red);
	color: var(--white);
	font-size: 0.6875rem;
	font-stretch: 125%;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.car__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	filter: brightness(0.86);
	transition: filter 0.3s ease;
}

.car__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 22px 22px 24px;
}

/* Titel immer genau 2 Zeilen hoch; längere Titel enden nach 2 Zeilen mit «…» */
.car__title {
	display: -webkit-box;
	min-height: 2.5em;
	margin: 0 0 14px;
	overflow: hidden;
	font-size: 1.125rem;
	font-stretch: 108%;
	font-weight: 650;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

/* Alles nach dem Titel (auch wenn Eckdaten fehlen) an den unteren Rand */
.car__body > .car__title + * {
	margin-top: auto;
}

.car__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0 0 18px;
	padding: 0 0 18px;
	border-bottom: 1px solid var(--line-sand);
	color: var(--mute);
	font-size: 0.8125rem;
	list-style: none;
}

.car__price {
	margin: 0;
	font-size: 1.125rem;
	font-stretch: 110%;
	font-weight: 700;
}

a.car:hover .car__title {
	color: var(--red);
}

/* Fahrzeug ohne Bild: ruhige Fläche im gleichen Format */
.car__noimg {
	display: block;
	aspect-ratio: 3 / 2;
}

.vehicles__text {
	max-width: 52ch;
	margin: 16px 0 0;
	color: var(--mute);
	font-size: 1.0625rem;
	line-height: 1.6;
	text-wrap: balance;
}

.vehicles__note {
	margin: 18px 0 0;
	color: var(--mute);
	font-size: 0.8125rem;
}

/* ==========================================================================
   5 · Aktionsblock Eintausch mit rotem Rahmen (weiss)
   ========================================================================== */

.action {
	display: grid;
	gap: 32px 64px;
	padding: clamp(32px, 5vw, 80px);
	border: 1px solid var(--red);
	background: var(--white);
}

.action__lead {
	max-width: 44ch;
	margin: 20px 0 0;
	color: var(--soft);
	font-size: 1.0625rem;
}

.action__buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.action__buttons .btn {
	width: 100%;
}

@media (min-width: 1000px) {
	.action {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		align-items: center;
	}
}

/* ==========================================================================
   6 · Showroom Schafisheim
   ========================================================================== */

.showroom {
	padding-bottom: var(--space);
}

/* Seepanorama auf allen Bildschirmen: volle Breite, Originalverhältnis, nichts beschnitten */
.showroom__banner {
	position: relative;
}

.showroom__media {
	margin: 0;
}

.showroom__media img {
	display: block;
	width: 100%;
	height: auto;
}

/* Sanfter Übergang ins Schwarz oben (nur Himmel und Bäume, keine Fahrzeuge) */
.showroom__banner::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 18%;
	background: linear-gradient(180deg, #0a0a0a 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0) 100%);
	pointer-events: none;
}

.showroom__head {
	padding-top: var(--space);
}

.showroom__title {
	font-size: clamp(2.25rem, 1.2rem + 4vw, 5.25rem);
}

.showroom__text {
	max-width: 46ch;
	margin: 20px 0 0;
	color: var(--soft);
}

.showroom__grid {
	display: grid;
	gap: 40px;
	margin-top: clamp(36px, 4vw, 56px);
}

.tour {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--panel);
}

@media (min-width: 700px) {
	.tour {
		aspect-ratio: 16 / 10;
	}
}

.tour__poster,
.tour iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.tour__poster {
	object-fit: cover;
}

.tour__overlay {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 14px;
	padding: 24px;
	background: rgba(10, 10, 10, 0.55);
	text-align: center;
}

.tour__hint {
	margin: 0;
	color: var(--soft);
	font-size: 0.8125rem;
}

.tour.is-active .tour__poster,
.tour.is-active .tour__overlay {
	display: none;
}

/* Karte mit Standort: dunkel eingefärbt, nicht verschiebbar, Klick öffnet Google Maps */
.map {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f5f5f5;
}

.map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(1.05);
	pointer-events: none;
}

/* Eigener Pin: Spitze genau in der Kartenmitte (dort liegt der Standort) */
.map__pin {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 48px;
	height: 62px;
	transform: translate(-50%, -100%);
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}

.map__pin svg {
	display: block;
}

.map__pin img {
	position: absolute;
	top: 8px;
	left: 9px;
	width: 30px;
	height: 30px;
	filter: brightness(0) invert(1);
}

.map:focus-visible {
	outline-offset: 4px;
}

.hours {
	margin: 0;
	border-bottom: 1px solid var(--line);
}

.hours__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 16px;
	padding: 11px 0;
	border-top: 1px solid var(--line);
	font-size: 0.9375rem;
}

.hours dt {
	font-weight: 600;
}

.hours dd {
	margin: 0;
	color: var(--soft);
}

.hours dd span {
	display: block;
}

/* Desktop: Rundgang und Karte gleich hoch nebeneinander, Adresse unter der Karte */
@media (min-width: 1080px) {
	.showroom__grid {
		grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
		grid-template-areas: "tour map";
		gap: var(--gap);
	}

	.tour {
		grid-area: tour;
	}

	.map {
		grid-area: map;
		height: 100%;
		aspect-ratio: auto;
	}
}

/* ==========================================================================
   7 · Marken als ruhiges Raster (weiss)
   ========================================================================== */

.brands__text {
	max-width: 62ch;
	text-wrap: pretty;
	margin: 18px 0 0;
	color: var(--mute);
	font-size: 1rem;
	line-height: 1.65;
}

/* Wie eine edle Tabelle: sehr feine, helle Linien */
.brands__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: clamp(36px, 4vw, 56px) 0 0;
	padding: 0;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	list-style: none;
}

@media (min-width: 800px) {
	.brands__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.brands__grid li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(96px, 9vw, 132px);
	padding: 20px 16px;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
	text-align: center;
}

/* Logos in Originalfarbe; die Höhe kommt aus PHP
   (gleiche Fläche pro Logo), höchstens 44 px. */
.brand-logo {
	width: auto;
	height: var(--logo-h, 32px);
	max-width: 85%;
	object-fit: contain;
}

/* Fehlt ein Logo: Name als ruhiger Schriftzug, gleich grau und gleich gewichtig */
.brand-name {
	color: #111;
	font-size: clamp(0.8125rem, 0.7rem + 0.4vw, 1.0625rem);
	font-stretch: 125%;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	opacity: 0.55;
}

.brands__grid li:hover .brand-name {
	opacity: 1;
}
/* ==========================================================================
   8 · Kundenstimmen: Hauptzitat, Google-Übersicht, drei kurze Stimmen (schwarz)
   ========================================================================== */

.reviews__title {
	max-width: 20ch;
}

.reviews__lead {
	max-width: 56ch;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.reviews__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 56px;
	margin-top: clamp(56px, 6vw, 96px);
}

/* Desktop: Google-Karte rechts oben, auf Höhe der Dachzeile; links Kopf und Hauptzitat */
@media (min-width: 960px) {
	.reviews .wrap {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		grid-template-areas:
			"head  rating"
			"quote rating"
			"voices voices";
		column-gap: clamp(48px, 6vw, 112px);
		align-items: start;
	}

	.reviews__head {
		grid-area: head;
	}

	.reviews__main {
		display: contents;
	}

	.reviews .feature-quote {
		grid-area: quote;
		margin-top: clamp(56px, 6vw, 96px);
	}

	.rating {
		grid-area: rating;
	}

	.voices {
		grid-area: voices;
	}
}

/* Sterne in Rot */
.stars {
	display: inline-flex;
	gap: 3px;
}

.stars svg {
	fill: rgba(234, 227, 214, 0.18);
}

.stars__star.is-on svg {
	fill: var(--red);
}

/* Hauptzitat */
.feature-quote {
	position: relative;
	margin: 0;
	padding-left: clamp(24px, 3vw, 44px);
	border-left: 1px solid var(--red);
}

/* Wasserzeichen: Symbol von Sport Automobile in Rot, dezent hinter dem Zitat */
.feature-quote__mark {
	position: absolute;
	top: clamp(-72px, -4vw, -32px);
	right: 0;
	z-index: 0;
	width: clamp(150px, 17vw, 250px);
	height: auto;
	opacity: 0.06;
	pointer-events: none;
	user-select: none;
}

@media (max-width: 699.98px) {
	.feature-quote__mark {
		top: -28px;
		width: 120px;
		opacity: 0.06;
	}
}

.feature-quote > :not(.feature-quote__mark) {
	position: relative;
	z-index: 1;
}

.feature-quote .stars {
	margin-bottom: 24px;
}

.feature-quote__text {
	margin: 0;
}

.feature-quote__text p {
	margin: 0;
	color: var(--white);
	font-size: clamp(1.625rem, 1rem + 1.7vw, 2.5rem);
	font-stretch: 100%;
	font-weight: 300;
	line-height: 1.32;
	letter-spacing: -0.01em;
	text-wrap: pretty;
}

.feature-quote .voice__author {
	margin-top: clamp(28px, 3vw, 40px);
}

/* Google-Karte: hellgrau, viel Innenabstand */
.rating {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(32px, 3.4vw, 52px);
	background: #161616;
}

.rating__source {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--soft);
	font-size: 0.9375rem;
	font-weight: 500;
}

.rating__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px 18px;
	margin-top: 22px;
}

/* Note gross in der breiten, fetten Titelschrift */
.rating__score {
	margin: 0;
	color: var(--white);
	font-size: clamp(4.5rem, 3rem + 4vw, 6rem);
	font-stretch: 114%;
	font-weight: 760;
	line-height: 0.86;
	letter-spacing: -0.03em;
}

.rating__row .stars {
	gap: 4px;
	padding-bottom: 6px;
}

.rating__row .stars svg {
	width: 22px;
	height: 22px;
}

.rating__count {
	margin: 18px 0 0;
	color: var(--mute);
	font-size: 0.9375rem;
}

.rating__btn {
	max-width: 100%;
	margin-top: 32px;
	white-space: normal;
}

/* Drei kurze Stimmen ohne Kästen */
.voices {
	display: grid;
	gap: 40px var(--gap);
	margin-top: clamp(64px, 7vw, 112px);
}

@media (min-width: 800px) {
	.voices {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: clamp(28px, 3vw, 48px);
	}
}

.voice {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid #2a2a2a;
}

.voice .stars {
	margin-bottom: 14px;
}

.voice .stars svg {
	width: 14px;
	height: 14px;
}

.voice__text {
	flex: 1;
	margin: 0;
}

/* Höchstens drei Zeilen */
.voice__text p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

/* Autor: Initiale, Name, «Google-Bewertung» */
.voice__author {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
}

.voice__initial {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border: 1px solid var(--sand);
	border-radius: 50%;
	color: var(--sand);
	font-size: 0.9375rem;
	font-weight: 700;
}

.voice__who {
	display: grid;
	gap: 2px;
}

.voice__name {
	font-size: 0.9375rem;
	font-weight: 600;
}

.voice__source {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--mute);
	font-size: 0.8125rem;
}
/* ==========================================================================
   9 · Kontaktband (weiss)
   ========================================================================== */

.contact-band__text {
	margin: 18px 0 0;
	color: var(--soft);
}

.contact-band__list {
	display: grid;
	gap: 0 var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-band__list li {
	display: grid;
	gap: 8px;
	padding: 22px 0 26px;
	border-top: 1px solid var(--line-sand);
}

.contact-band__list a {
	justify-self: start;
	padding-bottom: 6px;
	background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 1px;
	font-size: clamp(1.375rem, 1rem + 1.3vw, 2.25rem);
	font-stretch: 108%;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact-band__list a:hover {
	background-size: 100% 1px;
}

@media (min-width: 900px) {
	.contact-band__list {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
	}
}

@media (max-width: 599.98px) {
	.head-row > .btn {
		width: 100%;
	}
}

/* ==========================================================================
   Fusszeile
   ========================================================================== */

.site-footer {
	padding: clamp(80px, 9vw, 140px) 0 clamp(40px, 4vw, 60px);
	border-top: 1px solid #222;
	background: var(--black);
	font-size: 0.9375rem;
	line-height: 1.75;
}

/* 1 · Grosser Kontaktbereich */
.footer-cta__head {
	max-width: 900px;
}

.footer-cta__title {
	margin: 0;
	color: var(--white);
	font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5.5rem);
	font-stretch: 114%;
	font-weight: 760;
	line-height: 1;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.footer-cta__text {
	max-width: 52ch;
	margin: clamp(18px, 2vw, 28px) 0 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
	line-height: 1.55;
}

.footer-cards {
	display: grid;
	gap: var(--gap);
	margin: clamp(40px, 5vw, 72px) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1180px) {
	.footer-cards {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
	}
}

/* Kontaktfeld: feiner weisser Rahmen; beim Darüberfahren weiss mit schwarzem Inhalt */
.footer-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 18px;
	row-gap: 4px;
	height: 100%;
	padding: clamp(24px, 2.4vw, 36px);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: var(--white);
	text-decoration: none;
}

.footer-card .icon,
.footer-card .wa-icon {
	grid-row: 1 / span 2;
	width: 30px;
	height: 30px;
}

.footer-card .icon {
	stroke-width: 1.4;
}

.footer-card__label {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.75rem;
	font-stretch: 125%;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.footer-card__value {
	font-size: clamp(1.125rem, 0.95rem + 0.6vw, 1.5rem);
	font-stretch: 108%;
	font-weight: 650;
	line-height: 1.2;
	letter-spacing: -0.01em;
	overflow-wrap: normal;
}

.site-footer a.footer-card:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--black);
	text-decoration: none;
}

.site-footer a.footer-card:hover .footer-card__label {
	color: #555;
}

/* 2 · Ruhige Spalten unter der Linie */
.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px var(--gap);
	align-items: start;
	margin-top: clamp(64px, 7vw, 112px);
	padding-top: clamp(48px, 5vw, 72px);
	border-top: 1px solid #222;
}

.site-footer__brand {
	grid-column: 1 / -1;
}

.site-footer__logo {
	display: inline-block;
	margin-bottom: 24px;
}

.site-footer__logo img {
	width: auto;
	max-width: 100%;
	height: 40px;
	object-fit: contain;
	object-position: left center;
}

.site-footer .address {
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.75;
}

/* Kontaktblock unter dem Logo: Firmenname weiss und fett, Rest hellgrau, Nummern weiss */
.footer-contact {
	color: rgba(255, 255, 255, 0.6);
	font-style: normal;
	line-height: 1.75;
}

.footer-contact p {
	margin: 0;
}

.footer-contact p + p {
	margin-top: 1.1em;
}

.footer-contact__name {
	color: var(--white);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.footer-contact__label {
	color: var(--mute);
}

.footer-contact a {
	color: var(--white);
	white-space: nowrap;
}

.footer-contact a[href^="mailto:"] {
	color: rgba(255, 255, 255, 0.6);
}

.footer-contact a[href^="mailto:"]:hover {
	color: var(--white);
}

@media (max-width: 599.98px) {
	.footer-contact {
		font-size: 1rem;
		line-height: 2.1;
	}

	/* Grössere Tippfläche: ganze Zeilenhöhe statt nur Schrifthöhe */
	.footer-contact a {
		display: inline-block;
	}
}

.site-footer__label {
	margin: 0 0 20px;
	font-size: 0.75rem;
	font-stretch: 125%;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
	text-decoration-color: var(--red);
	text-underline-offset: 0.3em;
}

.plain-list {
	margin: 0;
	padding: 0;
	color: var(--mute);
	list-style: none;
	overflow-wrap: anywhere;
}

.plain-list li + li {
	margin-top: 10px;
}

.plain-list a {
	color: var(--white);
}

.social {
	display: flex;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 50%;
}

.social a:hover {
	border-color: var(--red-fill);
	background: var(--red-fill);
}

.social .icon {
	width: 20px;
	height: 20px;
	stroke-width: 1.5;
}

/* Öffnungszeiten im Stil des früheren Showroom-Kastens: Tag weiss und fett, Zeiten grau */
.hours--footer {
	--line: #222;
}

.hours--footer .hours__row:first-child {
	padding-top: 0;
	border-top: 0;
}
.site-footer__col--hours {
	grid-column: 1 / -1;
}

/* Route planen: kleine Karte dunkel in Graustufen, Klick öffnet die Routenplanung */
.site-footer .map--footer {
	width: 100%;
	max-width: 280px;
	height: auto;
	aspect-ratio: 280 / 180;
	border: 1px solid #333;
	background: #161616;
}

.map--footer iframe {
	filter: grayscale(1) invert(0.92) contrast(0.9);
}

.map--footer .map__pin {
	transform: translate(-50%, -100%) scale(0.72);
	transform-origin: 50% 100%;
}

.site-footer a.map--footer:hover {
	border-color: #555;
	text-decoration: none;
}

.footer-route__address {
	margin: 14px 0 4px;
	color: var(--mute);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.site-footer .footer-route__link {
	display: inline-block;
	color: var(--mute);
	font-size: 0.8125rem;
	line-height: 1.5;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.site-footer .footer-route__link:hover {
	color: var(--white);
	text-decoration-color: var(--red);
}

@media (min-width: 1080px) {
	.site-footer__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / span 3;
	}

	.site-footer__col {
		grid-column: span 2;
	}

	.site-footer__col--route {
		grid-column: 6 / span 3;
	}

	.site-footer__col--hours {
		grid-column: 9 / span 4;
	}
}

@media (max-width: 599.98px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}
}
/* Schlusszeile: feine Linie, links Copyright, Mitte Rechtliches, rechts Webdesign */
.site-footer__bottom {
	display: grid;
	gap: 14px;
	justify-items: center;
	margin-top: clamp(64px, 6vw, 88px);
	padding-top: 28px;
	border-top: 1px solid #222;
	color: var(--mute);
	font-size: 0.8125rem;
	line-height: 1.5;
	text-align: center;
}

@media (min-width: 900px) {
	.site-footer__bottom {
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		justify-items: stretch;
		text-align: left;
	}

	.site-footer__bottom > nav {
		justify-self: center;
	}

	.site-footer__credit {
		text-align: right;
	}
}

.site-footer__bottom p {
	margin: 0;
}

.legal-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.legal-list li + li::before {
	content: "·";
	margin: 0 10px;
	color: var(--mute);
}

.site-footer__bottom a {
	color: var(--mute);
}

.site-footer__bottom a:hover {
	color: var(--white);
	text-decoration: none;
}
/* ==========================================================================
   Inhaltsseiten
   ========================================================================== */

/* Zwischenseite, solange eine Seite noch keinen Inhalt hat */
.placeholder {
	position: relative;
	display: flex;
	align-items: center;
	min-height: calc(78vh - var(--header-h));
	overflow: hidden;
	border-bottom: 1px solid #222;
	background: var(--black);
}

.placeholder__inner {
	position: relative;
	z-index: 1;
	padding-block: var(--space);
}

.placeholder__title {
	max-width: 16ch;
}

.placeholder__text {
	max-width: 40ch;
	margin: clamp(20px, 2.4vw, 32px) 0 0;
	color: var(--soft);
	font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
	line-height: 1.5;
}

.placeholder__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(32px, 4vw, 48px);
}

.placeholder__phone {
	margin: 20px 0 0;
	color: var(--mute);
	font-size: 0.875rem;
}

.placeholder__phone a {
	color: var(--white);
	text-decoration: none;
}

.placeholder__phone a:hover {
	color: var(--red);
}

/* Wasserzeichen wie beim Hauptzitat der Startseite */
.placeholder__mark {
	position: absolute;
	top: 50%;
	right: clamp(-80px, -4vw, -24px);
	width: clamp(220px, 34vw, 520px);
	height: auto;
	opacity: 0.08;
	transform: translateY(-50%);
	pointer-events: none;
	user-select: none;
}

@media (max-width: 599.98px) {
	.placeholder__actions .btn {
		width: 100%;
	}

	.placeholder__mark {
		top: 18%;
		width: 200px;
		opacity: 0.07;
	}
}

.display {
	font-size: clamp(2.25rem, 1.2rem + 4vw, 5rem);
	font-stretch: 112%;
	line-height: 1;
}

.page__title {
	max-width: 16ch;
}

.page__content {
	max-width: 68ch;
	margin-top: 40px;
	color: var(--soft);
}

/* ==========================================================================
   Gemeinsam für alle Seiten: Hilfsklassen, Abschnittskopf, Aktionsleiste
   ========================================================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Kopf eines Abschnitts: Dachzeile, H2, Satz */
.section-head {
	max-width: 880px;
	margin-bottom: clamp(36px, 4vw, 64px);
}

.lead {
	max-width: 56ch;
	margin: 20px 0 0;
	color: var(--soft);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.6;
	text-wrap: pretty;
}

/* Fusszeile ohne grossen Kontaktbereich (Fahrzeuge, Kontakt) */
.site-footer--compact {
	padding-top: clamp(64px, 6vw, 96px);
}

.site-footer--compact .site-footer__grid {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

/* Aktionsleiste am unteren Rand: nur auf dem Handy, schwarz mit weissen Symbolen */
.action-bar {
	display: none;
}

@media (max-width: 699.98px) {
	body.has-bar {
		padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
	}

	/* Telefon und WhatsApp stehen unten; oben bleiben Logo und Menü */
	body.has-bar .site-header__actions .call {
		display: none;
	}

	.action-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 45;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		padding-bottom: env(safe-area-inset-bottom, 0px);
		border-top: 1px solid #262626;
		background: var(--black);
	}

	.action-bar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 64px;
		color: var(--white);
		font-size: 0.6875rem;
		font-stretch: 112%;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 0.08em;
		text-decoration: none;
		text-transform: uppercase;
	}

	.action-bar__item + .action-bar__item {
		border-left: 1px solid #262626;
	}

	.action-bar__item .icon,
	.action-bar__item .wa-icon {
		width: 22px;
		height: 22px;
	}

	.action-bar__item .icon {
		stroke-width: 1.6;
	}

	.action-bar__item:hover,
	.action-bar__item:active {
		background: #161616;
	}

	.action-bar__item:focus-visible {
		outline-offset: -4px;
	}
}

@media print {
	.action-bar,
	.site-header {
		display: none;
	}
}
/* Kleine Handys: lange Wörter in grossen Titeln trennen statt abschneiden */
@media (max-width: 479.98px) {
	.h2,
	.display,
	.statement__title,
	.page-head__title,
	.offer__title,
	.footer-cta__title {
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		hyphens: auto;
	}
}