/**
 * Sprach-Fallback-Hinweis (#991, Nachbesserung #991 04.08.)
 *
 * WAS:    Schmale Leiste unter dem Hauptmenü, wenn eine Seite in der gewählten
 *         Sprache fehlt und die Standardsprache ausgeliefert wird.
 * WARUM:  Ehrlicher Hinweis statt stiller Umleitung.
 * DESIGN: Erste Fassung (03.08.) stand auf Sand-Light mit Bordeaux nur als
 *         Akzent — Gregors Wort dazu (04.08.): "ich hätte es aber gerne in
 *         rot und bisschen catchier. Es ist eben ein Warnhinweis!" Fläche
 *         daher jetzt volle Bordeaux-Fläche (--kw-bordeaux, die Marken-"Rot"-
 *         Farbe, SSOT data/ssot/design/styleguide) statt nur Akzent, dazu ein
 *         Hinweis-Icon (Dreieck+Ausrufezeichen, eigenes SVG, kein Emoji) --
 *         weiterhin Marken-CI (kein Grün, keine fremde Warnfarbe erfunden).
 *         Mobil einzeilig gestapelt, damit sie auf 375px nur wenig Höhe frisst.
 *         Bestehende übersetzte Banner-Texte (PHP-Strings) unveraendert.
 */

.kw-i18n-fallback {
	width: 100%;
	background: var(--kw-bordeaux);
	border-bottom: 2px solid var(--kw-bordeaux-dark);
	box-shadow: var(--kw-shadow-sm);
	color: #fff;
}

.kw-i18n-fallback__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	font-family: var(--kw-font-body);
	font-size: 15px;
	line-height: 1.4;
}

/* Hinweis-Icon (Dreieck + Ausrufezeichen) — eigenes SVG per background-image,
   kein Emoji (Wording-Regel), keine zusätzliche Font-Ikonografie nötig.
   currentColor geht bei background-image nicht, darum Weiß fest im SVG. */
.kw-i18n-fallback__icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	display: inline-block;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 L22 20.5 L2 20.5 Z'/%3E%3Cline x1='12' y1='9.5' x2='12' y2='14.5'/%3E%3Ccircle cx='12' cy='17.5' r='0.9' fill='white' stroke='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.kw-i18n-fallback__tag {
	flex: 0 0 auto;
	display: inline-block;
	background: #fff;
	color: var(--kw-bordeaux-dark);
	font-family: var(--kw-font-display);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.06em;
	line-height: 1;
	padding: 5px 8px;
	border-radius: var(--kw-radius-sm);
}

.kw-i18n-fallback__text {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 600;
}

.kw-i18n-fallback__link {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	color: #fff;
	background: transparent;
	border: 1.5px solid #fff;
	border-radius: var(--kw-radius-sm);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.kw-i18n-fallback__link:hover,
.kw-i18n-fallback__link:focus {
	color: var(--kw-bordeaux-dark);
	background: #fff;
	text-decoration: none;
}

@media (max-width: 767px) {
	.kw-i18n-fallback__inner {
		padding: 10px 16px;
		font-size: 14px;
		gap: 6px 10px;
	}

	/* Icon + Tag + Text in einer Zeile, Link-Knopf darunter volle Breite —
	   hält die Leiste flach und gibt dem Knopf trotzdem ein sattes Tap-Ziel. */
	.kw-i18n-fallback__text {
		flex: 1 1 180px;
	}

	.kw-i18n-fallback__link {
		flex: 1 0 100%;
		justify-content: center;
	}
}
