/* TECHART · GTstreet Countdown (special, Seite 3196) — Nachbau von Baustein 727 auf dev */

/* Elementor gibt jedem Container transition: transform 0.4s; GSAP setzt transform in jedem Bild,
   mit Uebergang gleitet das Element hinterher. Nur der transform-Uebergang faellt weg. */
.ta-gts .elementor .e-con { transition-property: background, border, box-shadow !important; }

.ta-w { display: inline-block; will-change: transform, opacity; }

/* Bis das Skript laeuft: die Buehne wartet verdeckt (kein Aufblitzen des fertigen Zustands). */
html.ta-gts-intro .elementor [data-id="62d7aaa8"],
html.ta-gts-intro .elementor [data-id="1b5cc762"],
html.ta-gts-intro .elementor [data-id="125853f4"],
html.ta-gts-intro .elementor [data-id="275f6bb9"],
html.ta-gts-intro .elementor [data-id="392c4947"],
html.ta-gts-intro .elementor [data-id="4cdd8653"] { opacity: 0; }

/* ---------- Bildstrecke der bisherigen Modelle: das Foto zoomt beim Hover leicht ---------- */
.ta-gts .elementor [data-id="6900a229"] > .ta-in img { transition: transform 900ms cubic-bezier(0.16, 0.84, 0.28, 1); }
.ta-gts .elementor [data-id="6900a229"] > .ta-in:hover img { transform: scale(1.045); }

/* ---------- Zeitleiste 996 > 997 > 991 > 992.1 > neuer GTstreet, senkrecht wie auf Marke (dev 456) ----------
   Strahl in der Mitte, Stationen wechselnd links/rechts, Punkte als 12-Grad-Parallelogramm auf Hoehe der Modellzeile,
   Jahr auf der Gegenseite. Beim Scrollen fuellt sich der Strahl in Weissgold bis zur Lesemitte (42 %),
   die aktive Station steht voll, die anderen gedimmt. Unten fuehrt der Strahl in einen offenen Ring ueber dem Raetsel.
   Handy: Strahl links (4 px), alle Stationen rechts davon, Jahr ueber der Station. */
/* Strahl beginnt im ersten Punkt (Mitte Modellueberschrift), seit v1.3.9 */
html .elementor [data-id="6900a229"] { position: relative; --ta-axis-top: calc(clamp(20px, 2vw, 32px) / 2); }
html .elementor [data-id="6900a229"]::before {
	content: ""; position: absolute; left: 50%; top: var(--ta-axis-top); bottom: 0; width: 1px; margin-left: -0.5px; background: #D9DADC;
}
.ta-axis-fill {
	position: absolute; left: 50%; top: var(--ta-axis-top); width: 3px; height: 100%; margin-left: -1.5px; z-index: 1;
	background: #D6C9A5; transform-origin: 50% 0; transform: scaleY(0); pointer-events: none;
}
html .elementor [data-id="1e74b9ee"], html .elementor [data-id="557950f2"], html .elementor [data-id="1aa3b1bf"], html .elementor [data-id="425478ee"] { position: relative; }
html .elementor [data-id="1e74b9ee"]::after, html .elementor [data-id="557950f2"]::after, html .elementor [data-id="1aa3b1bf"]::after, html .elementor [data-id="425478ee"]::after {
	content: ""; position: absolute; inset: auto; top: calc(clamp(20px, 2vw, 32px) / 2 - 6.5px); width: 13px; height: 13px; z-index: 2;
	background: #8C8D90; clip-path: polygon(2.8px 0, 100% 0, calc(100% - 2.8px) 100%, 0 100%);
	transition: background-color 0.4s ease, scale 0.4s ease;
}
html .elementor [data-id="1e74b9ee"]::after, html .elementor [data-id="557950f2"]::after { right: -6.5px; }
html .elementor [data-id="1aa3b1bf"]::after, html .elementor [data-id="425478ee"]::after { left: -6.5px; }
/* Erster Punkt (2001) 6 px hoeher, seit 1.3.14 (Wunsch Nutzer 12.11.2026) */
html .elementor [data-id="1e74b9ee"]::after { top: calc(clamp(20px, 2vw, 32px) / 2 - 12.5px); }
/* Jahr auf der Gegenseite, auf Hoehe des Punkts (= Mitte Modellueberschrift, seit v1.3.7).
   Span setzt das Skript (seit v1.3.5 nur das Jahr, helles Grau, heller als die Punkte). translate statt transform, weil GSAP transform beim Einblenden ueberschreibt. */
.ta-st-meta {
	position: absolute; top: calc(clamp(20px, 2vw, 32px) / 2); translate: 0 -50%; display: flex; flex-direction: column; gap: 10px; pointer-events: none;
	font-family: "Square721", sans-serif; color: #A7A9AC;
}
html .elementor [data-id="1e74b9ee"] > .ta-st-meta, html .elementor [data-id="557950f2"] > .ta-st-meta { left: calc(100% + clamp(32px, 4vw, 64px)); align-items: flex-start; }
html .elementor [data-id="1aa3b1bf"] > .ta-st-meta, html .elementor [data-id="425478ee"] > .ta-st-meta { right: calc(100% + clamp(32px, 4vw, 64px)); align-items: flex-end; }
.ta-st-nr { font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; line-height: 0.85; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
/* aktive Station (Klassen setzt das Skript; ohne Skript bleibt alles voll sichtbar) */
.ta-gts .elementor .e-con.ta-entry { opacity: 0.42; transition: opacity 0.6s ease !important; }
.ta-gts .elementor .e-con.ta-entry.is-on { opacity: 1; }
.ta-gts .elementor .e-con.ta-entry.is-on::after { background-color: #D6C9A5; scale: 1.5; }
/* Uebergang zum Raetsel: Strahl laeuft durch den Abstand weiter in einen offenen Parallelogramm-Ring */
html .elementor [data-id="3b501b0f"] { position: relative; }
html .elementor [data-id="3b501b0f"]::before {
	content: ""; position: absolute; inset: auto; left: 50%; bottom: calc(100% - 2px); height: calc(clamp(32px, 4vw, 64px) + 2px); width: 1px; margin-left: -0.5px; background: #D9DADC;
}
html .elementor [data-id="3b501b0f"]::after {
	content: ""; position: absolute; inset: auto; left: 50%; top: 0; width: 15px; height: 15px; margin-left: -7.5px; box-sizing: border-box;
	border: 2px solid #0B0B0C; background: #FFFFFF; transform: skewX(-12deg);
	transition: background-color 0.4s ease, border-color 0.4s ease;
}
/* Fuellung ist am Ring angekommen: Ring Weissgold wie die aktiven Punkte (Klasse setzt das Skript) */
.ta-gts .elementor [data-id="3b501b0f"].is-reached::after { background-color: #D6C9A5; border-color: #D6C9A5; }
html .elementor [data-id="639c278b"] > img { pointer-events: none; }

@media (max-width: 767px) {
	html .elementor [data-id="6900a229"] { --ta-axis-top: 15.5px; }
	html .elementor [data-id="6900a229"]::before, .ta-axis-fill { left: 4px; }
	html .elementor [data-id="1e74b9ee"]::after, html .elementor [data-id="557950f2"]::after, html .elementor [data-id="1aa3b1bf"]::after, html .elementor [data-id="425478ee"]::after { left: -2.5px; right: auto; top: 9px; }
	html .elementor [data-id="1e74b9ee"]::after { top: 3px; }
	/* Handy: Jahr als Zeile ueber der Modellueberschrift */
	html .elementor .e-con > .ta-st-meta { position: static; translate: none; order: -1; flex-direction: row; align-items: baseline; gap: 14px; margin-bottom: 8px; }
	.ta-st-nr { font-size: 24px; }
	html .elementor [data-id="3b501b0f"]::before, html .elementor [data-id="3b501b0f"]::after { left: 4px; }
	html .elementor [data-id="3b501b0f"]::before { height: 50px; }
}

/* ---------- Countdown (auf dev im Seiten-CSS von 693): nur Ergaenzungen, die das Widget nicht kann ---------- */
html .elementor [data-id="125853f4"] .elementor-widget-countdown { width: 100%; }
html .elementor [data-id="125853f4"] .elementor-countdown-wrapper { margin-inline: auto; }
/* gleich breite Kaesten */
html .elementor [data-id="125853f4"] .elementor-countdown-item { flex: 1 1 0; min-width: 0; }
/* 12-Grad-Parallelogramm mit leichter Flaeche (Versatz = tan 12 Grad x Kastenhoehe 147 px) */
html .elementor [data-id="125853f4"] .elementor-countdown-item { background-color: rgba(255,255,255,0.05); clip-path: polygon(31px 0, 100% 0, calc(100% - 31px) 100%, 0 100%); }
/* gleich breite Ziffern, damit beim Zaehlen nichts springt */
html .elementor [data-id="125853f4"] .elementor-countdown-digits { font-variant-numeric: tabular-nums; }
/* Brand-Schrift (Brand Book: Square 721). Das V3-Widget hat Saira/Inter fest eingestellt, hier ueberschrieben. */
html .elementor [data-id="125853f4"] .elementor-countdown-digits,
html .elementor [data-id="125853f4"] .elementor-countdown-label,
html .elementor [data-id="125853f4"] .elementor-countdown-expire--message { font-family: "Square721", sans-serif !important; }

/* ---------- Responsive (gilt auch ohne Skript) ---------- */

/* Datum unter dem Countdown immer einzeilig. */
.elementor .e-206ede57-b28f { white-space: nowrap; }

/* Countdown mobil: 64-px-Ziffern passen unter ~420 px nicht in die Kaesten, kleinere Ziffern.
   Die Kaesten sind dort nur ~72 px breit: mit voller 12-Grad-Schraege (25 px) schneidet die Kante
   "Stunden/Minuten/Sekunden" ab. Deshalb flachere Schraege (10 px) und kleinere Beschriftung. */
@media (max-width: 767px) {
	html .elementor [data-id="125853f4"] .elementor-countdown-digits { font-size: 44px !important; }
	html .elementor [data-id="125853f4"] .elementor-countdown-label { font-size: 9px !important; letter-spacing: 0.5px !important; }
	html .elementor [data-id="125853f4"] .elementor-countdown-item { clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%) !important; }
}

/* Niedrige Fenster (Laptop): Abstaende der Buehne enger, damit Countdown und Datum auf den ersten Bildschirm passen.
   Die negativen Raender von Limitierung und Datum gleichen den Containerabstand aus und muessen ihm folgen. */
@media (max-height: 760px) and (min-width: 768px) {
	html .elementor [data-id="8eca00"] { gap: clamp(16px, 3.2vh, 56px); padding-block-start: clamp(16px, 2.4vh, 56px); padding-block-end: clamp(16px, 2.4vh, 64px); }
	html .elementor [data-id="125853f4"] { margin-block-start: clamp(8px, 2vh, 64px); }
	html .elementor [data-id="275f6bb9"] { margin-block-start: calc(20px - clamp(16px, 3.2vh, 56px)); }
	html .elementor [data-id="392c4947"] { margin-block-start: calc(40px - clamp(16px, 3.2vh, 56px)); margin-block-end: calc(24px - clamp(16px, 3.2vh, 56px)); }
	html .elementor .e-206ede57-b28f { margin-block-start: calc(16px - clamp(16px, 3.2vh, 56px)); }
	html .elementor .e-549e51a9-b804 { width: min(56vw, 820px, 95vh); }
}

/* Verknappungszeile: Desktop eine Zeile mit Mittelpunkt, mobil zwei Zeilen ohne Punkt.
   Elementor entfernt Klassen im Text, deshalb greifen die Regeln direkt auf span (Punkt) und br. */
.elementor .e-738056a-2d48 br { display: none; }
@media (max-width: 767px) {
	.elementor .e-738056a-2d48 span { display: none; }
	.elementor .e-738056a-2d48 br { display: inline; }
}

/* ---------- Buehne Weissgold (Variante A, 26.10.2026) ----------
   Lichtkegel, Farben und Schrift stehen in den Elementor-Stilen; hier nur, was Elementor nicht kann. */

/* Lichtstreif: laeuft alle 7 s einmal ueber den Schriftzug (Maske = dieselbe SVG-Datei 3204) */
html .elementor [data-id="a81df90"] { position: relative; }
html .elementor [data-id="a81df90"]::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	-webkit-mask: url("/wp-content/uploads/2026/10/Techart_GTStreet_white.svg") center / contain no-repeat;
	mask: url("/wp-content/uploads/2026/10/Techart_GTStreet_white.svg") center / contain no-repeat;
	background: linear-gradient(105deg, rgba(214,201,165,0) 40%, #F4ECD6 46%, #D6C9A5 50%, #F4ECD6 54%, rgba(214,201,165,0) 60%);
	background-size: 320% 100%; background-position: 100% 0;
	animation: ta-sheen 7s cubic-bezier(0.16, 0.84, 0.28, 1) 5s infinite;
}
@keyframes ta-sheen { 0% { background-position: 100% 0; } 38%, 100% { background-position: 0% 0; } }

/* Limitierung: Stueckzahl in Square Bold weiss */
html .elementor [data-id="392c4947"] strong { font-family: "Square721", sans-serif; font-weight: 700; color: #FFFFFF; }

/* Knopf: Pfeil hinter dem Text, Farbe folgt der Schrift */
html .elementor [data-id="1b5cc762"] { transition: background-color 0.35s cubic-bezier(0.16, 0.84, 0.28, 1); }
html .elementor [data-id="1b5cc762"]:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 6px; }
html .elementor [data-id="3d1e0c25"] { display: inline-flex; align-items: center; gap: 16px; }
html .elementor [data-id="3d1e0c25"]::after {
	content: ""; flex: none; width: 18px; height: 12px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M0 6h16M11 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M0 6h16M11 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.35s cubic-bezier(0.16, 0.84, 0.28, 1);
}
html .elementor [data-id="1b5cc762"]:hover [data-id="3d1e0c25"]::after { transform: translateX(4px); }

/* Countdown: Weissgold-Haarlinie oben an jedem Kasten (alle vier Kaesten gleich, seit 1.3.13) */
html .elementor [data-id="125853f4"] .elementor-countdown-item { background-image: linear-gradient(180deg, rgba(214,201,165,0.55) 0, rgba(214,201,165,0.55) 1px, rgba(0,0,0,0) 1px); }

::selection { background: #D6C9A5; color: #000000; }

@media (prefers-reduced-motion: reduce) {
	html .elementor [data-id="a81df90"]::after { animation: none; display: none; }
}

/* v1.3.1: Fusszeile ist jetzt normal im Seitenfluss (3339 DE / 3340 EN, V4) –
   keine Ebenen-Regeln mehr fuer Abschnitte und Kopfzeile noetig. */
