/*
 * Stile der "de-city"-Landingpage (Shortcode [taxi_eu_de_city]).
 * Wird nur auf Seiten geladen, die den Shortcode verwenden.
 */

/*
 * Uncode/WPBakery umschließt den Seiteninhalt mit
 * .main-container > .row-container > .row-parent (und .wpb_wrapper
 * innerhalb der Spalte), die ein eigenes Padding haben (meist 72px oben/
 * unten — Utility triple-padding). Das addiert sich zum Padding unserer
 * Sections und zerstört den Full-Width-Look von Hero/Infoleiste. Wird
 * nur bei den Wrappern zurückgesetzt, die .tc-city enthalten — andere
 * Rows auf der Website bleiben unberührt.
 */
.row-parent:has( .tc-city ),
.row-container:has( .tc-city ),
.main-container:has( .tc-city ),
.wpb_wrapper:has( > .tc-city ) {
	padding: 0 !important;
	margin: 0 !important;
}

.tc-city {
	--tc-navy: #12283f;
	--tc-navy-dark: #0c1c2e;
	--tc-gold: #f3a627;
	--tc-gold-dark: #d6910f;
	--tc-cream: #f7f3ec;
	--tc-cream-alt: #f1ede4;
	--tc-ink: #1c2733;
	--tc-muted: #5c6773;
	--tc-line: #e4ded2;
	font-family: inherit;
	font-size: 18px;
	color: var( --tc-ink );
	overflow-x: hidden;
	/* WPBakery-Spalten auf der Seite nutzen oft align_center — Reset, damit unser Text linksbündig bleibt (zentrierte Überschriften setzen ihr text-align selbst, spezifischer). */
	text-align: left;
}

.tc-city * {
	box-sizing: border-box;
}

.tc-city section {
	padding: 64px 24px;
}

.tc-city h1,
.tc-city h2,
.tc-city h3 {
	margin: 0 0 16px;
	color: var( --tc-navy );
	line-height: 1.2;
}

.tc-city h2 {
	font-size: clamp( 1.9rem, 3vw, 2.5rem );
}

.tc-city h3 {
	font-size: 1.3rem;
}

.tc-city p {
	margin: 0 0 16px;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var( --tc-muted );
}

.tc-city ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/*
 * Das Theme setzt eigene a-Farben/Hover mit teils höherer Spezifität
 * (grauer Link-Text auf dunklem Grund statt Weiß). Innerhalb von
 * .tc-city erben Links immer die Textfarbe ihres Elternelements — jede
 * Komponente (Button, Badge, Infobar-Item) setzt ihre Farbe selbst.
 */
.tc-city a,
.tc-city a:where( :link, :visited, :hover, :focus, :active ) {
	color: inherit;
	text-decoration: none;
}

.tc-icon,
.tc-icon-img {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	object-fit: contain;
}

/* Buttons */

.tc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	border: 2px solid transparent;
	transition: opacity 0.15s ease;
}

.tc-btn:hover {
	opacity: 0.85;
}

.tc-city .tc-btn--gold {
	background: var( --tc-gold );
	color: var( --tc-navy-dark );
}

.tc-city .tc-btn--gold:hover {
	/* Auf Wunsch: Hover ändert beim goldenen Button nichts sichtbar (kein Opacity-Fade wie beim Rest). */
	opacity: 1;
}

.tc-city .tc-btn--outline {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.tc-btn--block {
	display: flex;
	width: 100%;
}

/* Hero */

.tc-hero {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: center;
	padding: 96px 24px 64px;
	background-image: linear-gradient( 100deg, rgba( 12, 28, 46, 0.92 ) 0%, rgba( 12, 28, 46, 0.55 ) 55%, rgba( 12, 28, 46, 0.15 ) 100% ), var( --tc-city-hero );
	background-size: cover;
	background-position: center;
	color: #fff;
}

.tc-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.tc-hero__text {
	width: 480px;
	max-width: 100%;
}

.tc-hero h1 {
	color: #fff;
	line-height: 1;
	font-size: clamp( 2.5rem, 5vw, 3.75rem );
}

.tc-accent {
	color: var( --tc-gold );
}

.tc-hero__text > p {
	color: rgba( 255, 255, 255, 0.85 );
	font-size: 1.3rem;
}

.tc-hero__group {
	display: grid;
	/* minmax(0, max-content) statt max-content: die Spalte darf auf
	   Mobile schrumpfen, sonst erzwingt max-content bei z. B. 3
	   Badges in einer Reihe eine Breite, die den Viewport sprengt,
	   statt dass .tc-hero__badges (flex-wrap) umbricht. */
	grid-template-columns: minmax( 0, max-content );
	gap: 28px;
	max-width: 100%;
}

.tc-hero__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.tc-hero__actions .tc-btn {
	width: 100%;
	justify-content: center;
}

.tc-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tc-city .tc-badge {
	display: flex;
	flex-direction: column;
	padding: 8px 16px;
	border: 1px solid rgba( 255, 255, 255, 0.5 );
	border-radius: 6px;
	color: #fff;
	text-decoration: none;
	line-height: 1.3;
}

.tc-badge__eyebrow {
	font-size: 0.75rem;
	opacity: 0.75;
}

.tc-badge__label {
	font-size: 1rem;
	font-weight: 700;
}

.tc-city .tc-badge--img {
	padding: 0;
	border: none;
}

.tc-badge__img {
	display: block;
	height: 44px;
	width: auto;
}

.tc-city .tc-badge--icon {
	flex-direction: row;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 1rem;
}

.tc-badge--icon i {
	font-size: 1.3rem;
}

.tc-hero__car {
	position: absolute;
	right: 4%;
	bottom: -6%;
	max-width: 46%;
	height: auto;
	filter: drop-shadow( 0 30px 30px rgba( 0, 0, 0, 0.35 ) );
}

/* USP */

.tc-usp {
	background: var( --tc-cream );
}

.tc-usp h2 {
	text-align: center;
	margin-bottom: 40px;
	position: relative;
	padding-bottom: 18px;
}

.tc-usp h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX( -50% );
	width: 60px;
	height: 3px;
	background: var( --tc-gold );
}

.tc-usp__grid {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 32px;
}

/* Feature-Item: Icon links (oben auf Mobile), Titel/Text rechts, linksbündig. Auch in calc verwendet. */

.tc-feature {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	text-align: left;
}

.tc-feature__body p {
	font-size: 1rem;
	margin: 0;
}

.tc-icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var( --tc-gold );
	color: var( --tc-navy-dark );
}

.tc-icon-circle .tc-icon,
.tc-icon-circle .tc-icon-img {
	width: 26px;
	height: 26px;
}

/* Steps */

.tc-steps {
	background: #fff;
	text-align: center;
}

.tc-steps h2 {
	text-align: center;
	margin-bottom: 40px;
}

.tc-steps__grid {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
}

.tc-steps__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	text-align: left;
	max-width: 260px;
}

.tc-steps__head {
	display: flex;
	align-items: center;
	gap: 10px;
	/* Fixe Höhe, damit die Fotos darunter bei unterschiedlich langen Titeln (1–2 Zeilen) trotzdem auf einer Linie beginnen. */
	min-height: 52px;
}

.tc-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var( --tc-gold );
	color: var( --tc-navy-dark );
	font-weight: 700;
}

.tc-steps__item h3 {
	font-size: 1.2rem;
	margin: 0;
}

.tc-steps__photo {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
}

.tc-steps__photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var( --tc-cream );
	border: 2px dashed var( --tc-line );
	color: var( --tc-muted );
	font-size: 0.9rem;
}

.tc-steps__arrow {
	align-self: center;
	color: var( --tc-gold );
	font-size: 1.4rem;
	margin-top: 60px;
}

/* App promo */

/* Standard (kein Foto): heller Hintergrund wie im Entwurf. Sobald background_image gesetzt ist (Klasse .tc-app--photo), dunkles Foto mit Overlay. */

.tc-app {
	background-color: var( --tc-cream-alt );
	background-size: cover;
	background-position: center;
}

.tc-app--photo {
	background-color: var( --tc-navy );
	background-image: linear-gradient( 100deg, rgba( 12, 28, 46, 0.9 ) 0%, rgba( 12, 28, 46, 0.6 ) 60%, rgba( 12, 28, 46, 0.35 ) 100% ), var( --tc-app-bg );
	color: #fff;
}

.tc-app__logo {
	display: block;
	max-height: 48px;
	width: auto;
	margin: 0 auto 32px;
}

.tc-app__inner {
	max-width: 640px;
	margin: 0 auto;
	text-align: left;
}

.tc-app__inner--split {
	max-width: 1100px;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.tc-app__photo {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.tc-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	font-weight: 700;
	color: var( --tc-gold-dark );
	margin-bottom: 8px;
}

.tc-app--photo .tc-eyebrow {
	color: var( --tc-gold );
}

.tc-app h2 {
	margin-bottom: 20px;
}

.tc-app--photo h2 {
	color: #fff;
}

.tc-city .tc-checklist {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 32px;
}

.tc-checklist li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.05rem;
	color: var( --tc-ink );
}

.tc-app--photo .tc-checklist li {
	color: #fff;
}

.tc-checklist .tc-icon-circle {
	width: 24px;
	height: 24px;
}

.tc-checklist .tc-icon-circle .tc-icon {
	width: 14px;
	height: 14px;
}

.tc-app .tc-badge {
	color: var( --tc-navy );
	border-color: rgba( 18, 40, 63, 0.3 );
}

.tc-app--photo .tc-badge {
	color: #fff;
	border-color: rgba( 255, 255, 255, 0.5 );
}

/* Services */

.tc-services {
	background: #fff;
	text-align: center;
}

.tc-services h2 {
	text-align: center;
	margin-bottom: 40px;
}

.tc-services__grid {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 24px;
}

.tc-services__item {
	border: 1px solid var( --tc-line );
	border-radius: 10px;
	padding: 28px 20px;
	text-align: left;
}

.tc-services__item .tc-icon {
	width: 65px;
	height: 65px;
	color: var( --tc-navy );
	margin-bottom: 12px;
}

.tc-services__item h3 {
	font-size: 1.15rem;
	margin-bottom: 6px;
}

.tc-services__item p {
	font-size: 1rem;
	margin: 0;
}

/* Stats */

.tc-stats {
	background: var( --tc-navy );
	color: #fff;
	text-align: center;
}

.tc-stats h2 {
	color: #fff;
	text-align: center;
	margin-bottom: 36px;
}

.tc-stats__grid {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
}

.tc-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0 16px;
	border-left: 1px solid rgba( 255, 255, 255, 0.15 );
}

.tc-stats__item:first-child {
	border-left: none;
}

.tc-stats__item .tc-icon {
	color: var( --tc-gold );
	width: 65px;
	height: 65px;
}

.tc-stats__item strong {
	font-size: 1.75rem;
}

.tc-stats__item span {
	font-size: 0.95rem;
	opacity: 0.75;
}

/* Price calculator */

.tc-calc {
	background-image: linear-gradient( 90deg, #fff 0%, #fff 55%, rgba( 255, 255, 255, 0.75 ) 100% ), var( --tc-city-cta );
	background-size: cover;
	background-position: right center;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: center;
}

.tc-calc__text .tc-feature__body {
	max-width: 420px;
}

.tc-calc__text .tc-feature__body h3 {
	font-size: 1.6rem;
}

.tc-calc__embed {
	min-height: 320px;
}

.tc-calc__placeholder {
	height: 100%;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	background: #fff;
	border: 2px dashed var( --tc-line );
	border-radius: 10px;
	color: var( --tc-muted );
	font-size: 1rem;
}

.tc-calc__embed iframe {
	width: 100%;
	min-height: 320px;
	border: 0;
	border-radius: 10px;
}

/* Bottom info bar */

.tc-infobar {
	background: var( --tc-navy-dark );
	color: #fff;
	padding: 28px 24px;
}

.tc-infobar__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 24px;
}

.tc-city .tc-infobar__item {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	transition: opacity 0.15s ease;
}

.tc-city .tc-infobar__item:hover {
	opacity: 0.8;
}

.tc-infobar__item .tc-icon {
	color: var( --tc-gold );
	width: 22px;
	height: 22px;
}

.tc-city .tc-infobar__item small {
	color: #fff;
	font-weight: 600;
}

/* Responsive */

@media ( max-width: 960px ) {
	.tc-checklist li {
		justify-content: center;
	}

	.tc-calc {
		grid-template-columns: 1fr;
		background-image: linear-gradient( 180deg, rgba( 255, 255, 255, 0.9 ), rgba( 255, 255, 255, 0.9 ) ), var( --tc-city-cta );
	}

	.tc-hero__car {
		display: none;
	}
}

@media ( max-width: 720px ) {
	.tc-city section {
		padding: 48px 20px;
	}

	.tc-hero__actions {
		grid-template-columns: 1fr;
	}

	.tc-usp__grid,
	.tc-services__grid {
		grid-template-columns: 1fr;
	}

	.tc-feature {
		flex-direction: column;
		align-items: flex-start;
	}

	.tc-steps__grid {
		flex-direction: column;
		align-items: stretch;
	}

	.tc-steps__item {
		max-width: none;
	}

	.tc-steps__arrow {
		display: none;
	}

	.tc-stats__grid,
	.tc-infobar__inner {
		grid-template-columns: repeat( 2, 1fr );
		row-gap: 28px;
	}

	.tc-stats__item {
		border-left: none;
	}

	.tc-hero {
		min-height: 80vh;
		text-align: left;
	}
}
