/* pcmac-dreiland.css v5 - Dreiländereck in der Hero der Startseite (R37 V76, 29.11.2026; v4 war R37 V74, v3 R37 V73, v2 R37 V72, v1 R37 V70)
   Gehört zu pcmac-dreiland.js. Baut auf pcmac-trace.css (V69) auf: --trace-c, --trace-o, --trace-bg.
   Ab 977 px die Platine als 3D-Objekt (Bühne über der Hero), darunter die drei Flaggen-Pads am Untertitel als Sprachwahl.
   Neu in v2 (Raumschiff): Zustände waiting, arriving, parked, leaving, hidden, resisting, returning, annoyed, firing;
   Atmen im Stand, Kanonen, Laser und Treffer, wärmere Linien bei Ärger, Ziehen auch mit dem Finger.
   Neu in v3: Wasser im Rhein - erstes Wasser mit hellem Kopf (b-head), danach zwei Lagen wandernder Lichter (b-flow).
   Neu in v4: Beim Spielen mit der Platine wird nichts markiert (html.dl-play, Bühne, Porträt und Ringtext der Hero).
   Neu in v5: Schwelle 977 px statt 1200 px; die Pads blenden weich ein und aus (Deckkraft und Breite, ohne display-Wechsel).
   Herkunft: Specimen 90_Specimen/2026-11-27_V70-Dreilaendereck (Runde 4), nur Vorschlag A. */

.hero-14 { --dl-line: var(--trace-c, #8ABAE6); --dl-o: var(--trace-o, .6); }

/* ---------- Flaggen-Pads am Untertitel: unter 977 px die Sprachwahl ---------- */
.dl-f { display: inline-block; flex: none; width: calc(var(--dl-fh, 11px) * 1.55); height: var(--dl-fh, 11px); border-radius: 1.5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); vertical-align: middle; }
.dl-de { background: linear-gradient(#111 0 33.4%, #D00 33.4% 66.7%, #FFCE00 66.7%); }
.dl-fr { background: linear-gradient(90deg, #0055A4 0 33.4%, #FFF 33.4% 66.7%, #EF4135 66.7%); }
.dl-ch { width: var(--dl-fh, 11px); background: linear-gradient(#FFF, #FFF) center / 62% 19% no-repeat, linear-gradient(#FFF, #FFF) center / 19% 62% no-repeat, #DA291C; }
.pcmac-dl-keep { white-space: nowrap; }
.pcmac-dl-chips { display: inline-flex; align-items: center; gap: max(10px, .34em); position: relative; top: -.06em; vertical-align: middle; --dl-fh: clamp(12px, .47em, 15px);
  /* aus: ohne Breite und unsichtbar (kein display: none, damit die Überblendung in allen Browsern läuft); an: siehe unten */
  max-width: 0; margin-left: 0; padding-left: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .9s cubic-bezier(.4, 0, .2, 1), max-width .9s cubic-bezier(.4, 0, .2, 1), margin-left .9s cubic-bezier(.4, 0, .2, 1), padding-left .9s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .9s; }
@media (max-width: 976.98px) {
  .pcmac-dl-chips { max-width: 140px; margin-left: .45em; padding-left: max(12px, .72em); opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .9s cubic-bezier(.4, 0, .2, 1), max-width .9s cubic-bezier(.4, 0, .2, 1), margin-left .9s cubic-bezier(.4, 0, .2, 1), padding-left .9s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
}
/* Fehlt am großen Bildschirm der Platz für die Platine, setzt das Skript dl-pads: dann gelten die Pads auch dort */
html.dl-pads .pcmac-dl-chips { max-width: 140px; margin-left: .45em; padding-left: max(12px, .72em); opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .9s cubic-bezier(.4, 0, .2, 1), max-width .9s cubic-bezier(.4, 0, .2, 1), margin-left .9s cubic-bezier(.4, 0, .2, 1), padding-left .9s cubic-bezier(.4, 0, .2, 1), visibility 0s; align-items: center; gap: max(10px, .34em); position: relative; top: -.06em; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { .pcmac-dl-chips, html.dl-pads .pcmac-dl-chips { transition: none !important; } }
.pcmac-dl-chips::before { content: ""; position: absolute; left: 0; right: -12px; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--dl-line); opacity: var(--dl-o); }
.pcmac-dl-chips::after { content: ""; position: absolute; right: -19px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--dl-line); opacity: var(--dl-o); }
.pcmac-dl-chips .dl-f { position: relative; z-index: 1; }
/* Die Pads sind Links: Trefferfläche größer als das Pad (mindestens 24 px Abstand von Mitte zu Mitte), Ring für die aktuelle Sprache */
a.dl-f { text-decoration: none; cursor: pointer; transition: box-shadow .16s ease, transform .16s ease; }
a.dl-f::after { content: ""; position: absolute; left: -5px; right: -5px; top: -11px; bottom: -11px; }
a.dl-f[aria-current="page"] { box-shadow: 0 0 0 1px rgba(255, 255, 255, .3), 0 0 0 2.5px var(--dl-line); }
a.dl-f:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 0 0 3px rgba(138, 186, 230, .6); transform: translateY(-1px); }
a.dl-f:focus-visible { outline: 2px solid #FFF; outline-offset: 3px; }

/* ---------- Platine: 3D-Objekt oben rechts, ab 977 px ---------- */
/* Die Bühne deckt die Hero ab und schneidet am Rand ab: beim An- und Abflug entsteht kein Rollbalken, und nichts ragt in den nächsten Abschnitt.
   Sie nimmt selbst keine Zeigerereignisse an; anklickbar sind nur die Länderbereiche und Flaggen der stehenden Platine. */
/* Die Bühne legt das Skript nur an, wenn die Platine ins Fenster passt (ab 977 px), und blendet sie selbst wieder aus.
   Sie gilt deshalb ohne Breitenabfrage: Wird das Fenster schmaler, bleibt der Abflug der Platine sichtbar (v2). */
.pcmac-dl-stage { display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 4; overflow: hidden; overflow: clip; pointer-events: none; }
/* Ebenen der Hero: Sternenfeld 2, Inhalt (.container) 3. Die Bühne liegt darüber, sonst fängt die Inhaltsspalte die Klicks ab.
   Beim Abflug taucht sie unter den Inhalt: die Platine fliegt hinter Überschrift und Text durch, der Text bleibt lesbar. */
.pcmac-dl-stage[data-state="leaving"], .pcmac-dl-stage[data-state="hidden"] { z-index: 2; }
@media print { .pcmac-dl-stage { display: none !important; } }
/* touch-action: Ein Finger auf einem Länderbereich oder einer Flagge zieht die Platine und rollt nicht die Seite.
   Das gilt nur dort, wo die Platine Zeigerereignisse annimmt (stehend, auf ihren Bereichen); überall sonst rollt die Seite wie gewohnt. */
.pcmac-dl-board { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; touch-action: none; }
.pcmac-dl-board a { -webkit-touch-callout: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; }
.pcmac-dl-stage[data-state="arriving"] .pcmac-dl-board, .pcmac-dl-stage[data-state="leaving"] .pcmac-dl-board,
.pcmac-dl-stage[data-state="resisting"] .pcmac-dl-board, .pcmac-dl-stage[data-state="returning"] .pcmac-dl-board,
.pcmac-dl-stage[data-state="annoyed"] .pcmac-dl-board, .pcmac-dl-stage[data-state="firing"] .pcmac-dl-board { will-change: transform; }
/* Atmen: Die stehende Platine schwebt kaum merklich auf und ab und wiegt sich leicht, in zwei verschiedenen Takten.
   Reine CSS-Animation über translate und rotate, sie beginnt bei null (kein Sprung nach der Landung) und kostet kein Skript.
   Unter dem Zeiger hält sie still. Verlässt die Platine den Stand, übernimmt das Skript den augenblicklichen Versatz. */
.pcmac-dl-stage[data-state="parked"] .pcmac-dl-board { animation: pcmac-dl-bob 2.9s cubic-bezier(.37, 0, .63, 1) .5s infinite alternate, pcmac-dl-sway 4.3s cubic-bezier(.37, 0, .63, 1) .5s infinite alternate; }
.pcmac-dl-stage[data-state="parked"] .pcmac-dl-board:hover { animation-play-state: paused; }
@keyframes pcmac-dl-bob { from { translate: 0 0; } to { translate: 0 -3px; } }
@keyframes pcmac-dl-sway { from { rotate: 0deg; } to { rotate: .45deg; } }
/* Solange die Platine mit Maus, Stift oder Finger gezogen wird: Greifhand überall, kein Markieren von Text */
html.dl-held, html.dl-held * { cursor: grabbing !important; -webkit-user-select: none !important; user-select: none !important; }
/* Nichts markieren beim Spielen (v4). Die Grafik der Platine ist nie markierbar. Porträt und Ringtext der Hero sind Schmuck:
   ebenfalls nie markierbar. Solange gespielt wird (html.dl-play: Die Platine
   wird gezogen, fliegt heim, ist verärgert oder schießt), ist auf der ganzen Seite nichts markierbar, Eingabefelder ausgenommen.
   Die übrigen Fälle (kurz nach dem Spiel, Druck dicht neben die Platine) fängt das Skript ab. */
.pcmac-dl-stage, .pcmac-dl-stage * { -webkit-user-select: none; user-select: none; }
.hero-14 .hero-img, .hero-14 .hero-img * { -webkit-user-select: none; user-select: none; }
html.dl-play, html.dl-play *:not(input):not(textarea) { -webkit-user-select: none !important; user-select: none !important; }
/* Ärger: Je voller der Zähler, desto wärmer die Linien der Platine (das Skript setzt --dl-mad von 0 bis 1) */
@supports (color: color-mix(in srgb, #000, #fff)) {
  .pcmac-dl-board { --dl-line: color-mix(in srgb, var(--trace-c, #8ABAE6), #FF9466 calc(var(--dl-mad, 0) * 86%)); }
}
/* Spur über der Hero: Abgaspunkte der Düsen, Laser und Treffer. Nimmt keine Zeigerereignisse an. */
.pcmac-dl-trail { position: absolute; left: 0; top: 0; pointer-events: none; }
.pcmac-dl-trail .t-dot { fill: var(--dl-line); }
/* Laser: kurzer heller Strich aus drei Lagen (weiter Schein, Mantel, weißer Kern) */
.pcmac-dl-trail .t-bolt line { stroke-linecap: round; }
.pcmac-dl-trail .t-bolt-a { stroke: #5AB4FF; stroke-width: 11; stroke-opacity: .16; }
.pcmac-dl-trail .t-bolt-b { stroke: #9ED8FF; stroke-width: 4.6; stroke-opacity: .55; }
.pcmac-dl-trail .t-bolt-c { stroke: #FFF; stroke-width: 1.9; }
/* Treffer am Zeiger: Blitz, Ring und Funken */
.pcmac-dl-trail .t-hit-ring { fill: none; stroke: #BFE6FF; }
.pcmac-dl-trail .t-hit-flash { fill: #FFF; }
.pcmac-dl-trail .t-hit-spark { stroke: #E3F4FF; stroke-width: 1.2; stroke-linecap: round; }
.pcmac-dl-board .b-shadow { fill: #01050C; opacity: .55; }
.pcmac-dl-board .b-top { fill: #0E1E36; fill-opacity: .92; stroke: var(--dl-line); stroke-width: 1.3; stroke-opacity: .75; stroke-linejoin: round; }
.pcmac-dl-board .b-side { fill: #1A3357; stroke: var(--dl-line); stroke-width: 1; stroke-opacity: .5; stroke-linejoin: round; }
.pcmac-dl-board .b-deco { fill: none; stroke: var(--dl-line); stroke-width: 1; stroke-opacity: .28; stroke-linejoin: round; }
.pcmac-dl-board .b-border { fill: none; stroke: var(--dl-line); stroke-width: 1; stroke-opacity: .55; stroke-dasharray: 3 3.5; }
.pcmac-dl-board .b-bed { fill: none; stroke: #050D19; stroke-width: 8; stroke-linejoin: round; opacity: .9; }
.pcmac-dl-board .b-rhine { fill: none; stroke: var(--dl-line); stroke-width: 2.6; stroke-linejoin: round; }
/* Wasser im Rhein. Erstes Wasser: Das Skript füllt die Linie in Fließrichtung, b-head ist der helle Kopf an der Spitze.
   Danach (Klasse is-wet an der Bühne) blenden zwei Lagen heller Lichter ein und wandern langsam in Fließrichtung, in zwei
   verschiedenen Takten: etwa 12 und 8 Pixel je Sekunde. Die Linie beginnt im Osten, ein negativer Versatz schiebt das Muster
   also flussabwärts. Ist die Platine nicht zu sehen (wartend, weg, Hero außer Sicht), ruhen die Daueranimationen. */
.pcmac-dl-board .b-flow { fill: none; stroke: #F2FAFF; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 2.4s ease; }
.pcmac-dl-board .b-flow-a { stroke-width: 1.3; stroke-opacity: .8; stroke-dasharray: 6 20; animation: pcmac-dl-flow-a 2.1s linear infinite; }
.pcmac-dl-board .b-flow-b { stroke-width: .8; stroke-opacity: .5; stroke-dasharray: 2.5 31.5; animation: pcmac-dl-flow-b 4s linear infinite; }
.pcmac-dl-stage.is-wet .b-flow { opacity: 1; }
.pcmac-dl-board .b-head { fill: none; stroke: #FFF; stroke-width: 3.8; stroke-linecap: round; }
@keyframes pcmac-dl-flow-a { to { stroke-dashoffset: -26; } }
@keyframes pcmac-dl-flow-b { to { stroke-dashoffset: -34; } }
.pcmac-dl-stage[data-state="waiting"] .b-flow, .pcmac-dl-stage[data-state="hidden"] .b-flow,
.pcmac-dl-stage.is-off .b-flow, .pcmac-dl-stage.is-off .b-halo { animation-play-state: paused; }
.pcmac-dl-board .b-net { fill: none; stroke: var(--dl-line); stroke-width: 1.1; stroke-opacity: .6; stroke-linejoin: round; }
.pcmac-dl-board .b-pad { fill: #0B1422; stroke: var(--dl-line); stroke-width: 1.3; }
.pcmac-dl-board .b-halo { fill: var(--dl-line); opacity: .16; animation: pcmac-dl-ping 3.8s ease-in-out infinite; }
.pcmac-dl-board .b-tri { fill: #0B1422; stroke: #FFF; stroke-width: 1.5; stroke-opacity: .92; }
.pcmac-dl-board .b-tri-dot { fill: #FFF; opacity: .92; }
.pcmac-dl-board .b-chip-side { fill: #5F93C9; stroke: #0B1422; stroke-width: .6; stroke-linejoin: round; }
.pcmac-dl-board .b-chip-top { fill: #A9CDF0; stroke: #0B1422; stroke-width: .6; stroke-linejoin: round; }
.pcmac-dl-board .b-pole { stroke: #C9D8EA; stroke-width: 1.1; stroke-linecap: round; }
.pcmac-dl-board .b-foot { fill: #C9D8EA; opacity: .75; }
.pcmac-dl-board .b-home-dot { fill: #FFF; }
.pcmac-dl-board .b-label { font-family: var(--body-font); font-size: clamp(10.5px, calc(12px * var(--dl-u, 1)), 14px); font-weight: 500; letter-spacing: .05em; fill: #FFF; fill-opacity: .92; }
.pcmac-dl-board .b-silk { font-family: var(--body-font); font-size: clamp(9.5px, calc(11px * var(--dl-u, 1)), 13px); font-weight: 400; letter-spacing: .06em; fill: #C9D8EA; fill-opacity: .8; }
@keyframes pcmac-dl-ping { 0%, 100% { opacity: .1; } 50% { opacity: .3; } }

/* Länderbereiche: Rollover und Sprachwahl. Bedienbar nur, solange die Platine steht (data-state="parked"). */
.pcmac-dl-board .b-zone { fill: var(--dl-line); fill-opacity: 0; stroke: var(--dl-line); stroke-opacity: 0; stroke-width: 1.5; stroke-linejoin: round; transition: fill-opacity .18s ease, stroke-opacity .18s ease; }
.pcmac-dl-board .b-zone.is-now { fill-opacity: .07; }
.pcmac-dl-board .b-zone.is-hot { fill-opacity: .2; stroke-opacity: .95; }
.pcmac-dl-board a { outline: none; }
.pcmac-dl-board a:focus-visible .b-zone { fill-opacity: .2; stroke: #FFF; stroke-opacity: 1; stroke-width: 2.2; }
.pcmac-dl-stage[data-state="parked"] .b-zone { pointer-events: all; cursor: pointer; }
.pcmac-dl-stage[data-state="parked"] .b-flag { pointer-events: visiblePainted; cursor: pointer; }
.pcmac-dl-board .b-zone.is-ping { animation: pcmac-dl-zone-ping .5s ease; }
@keyframes pcmac-dl-zone-ping { 35% { fill-opacity: .36; } }
/* einmaliger Hinweis nach der ersten Landung: die drei Bereiche leuchten nacheinander kurz auf */
.pcmac-dl-stage.is-wink .b-zone { animation: pcmac-dl-zone-wink 1.1s ease backwards; }
.pcmac-dl-stage.is-wink .b-zone-ch { animation-delay: .24s; }
.pcmac-dl-stage.is-wink .b-zone-fr { animation-delay: .48s; }
@keyframes pcmac-dl-zone-wink { 40% { fill-opacity: .2; stroke-opacity: .6; } }
/* Hinweisfähnchen am Zeiger: nennt die Sprache, auf die ein Klick schaltet */
.pcmac-dl-tip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px 7px 12px; border: 1px solid rgba(138, 186, 230, .45); border-radius: 999px; background: rgba(6, 14, 28, .95); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); font-family: var(--body-font), system-ui, sans-serif; font-size: 12.5px; font-weight: 500; line-height: 1; letter-spacing: .04em; color: #FFF; white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.pcmac-dl-tip.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pcmac-dl-tip b { font-weight: 500; }
.pcmac-dl-tip i { font-style: normal; color: var(--dl-line); }
/* Triebwerk: zwei Düsen an der hinteren Kante, im Stand eingefahren; Flammen und Schein nur mit Schub */
.pcmac-dl-board .b-jet-top { fill: #2A4E80; stroke: var(--dl-line); stroke-width: .9; stroke-opacity: .7; stroke-linejoin: round; }
.pcmac-dl-board .b-jet-side { fill: #1A3357; stroke: var(--dl-line); stroke-width: .9; stroke-opacity: .5; stroke-linejoin: round; }
.pcmac-dl-board .b-flame-core { fill: #FFF; }
.pcmac-dl-board .b-glow { fill: #BFE0FF; }
/* Kanonen: zwei Teleskoprohre an der Nase, nur bei Ärger ausgefahren; helle Mündung mit Licht */
.pcmac-dl-board .b-gun-top { fill: #2F5588; stroke: var(--dl-line); stroke-width: .8; stroke-opacity: .75; stroke-linejoin: round; }
.pcmac-dl-board .b-gun-side { fill: #1A3357; stroke: var(--dl-line); stroke-width: .8; stroke-opacity: .5; stroke-linejoin: round; }
.pcmac-dl-board .b-gun-tip-top { fill: #A9CDF0; stroke: #0B1422; stroke-width: .5; stroke-linejoin: round; }
.pcmac-dl-board .b-gun-tip-side { fill: #5F93C9; stroke: #0B1422; stroke-width: .5; stroke-linejoin: round; }
.pcmac-dl-board .b-gun-glow { fill: #EAF6FF; }

/* Bewegung reduziert: Das Skript lässt die Platine nicht fliegen, nicht drehen und nicht ziehen; hier entfallen die übrigen Animationen */
@media (prefers-reduced-motion: reduce) {
  .pcmac-dl-board, .pcmac-dl-board .b-halo, .pcmac-dl-board .b-zone, .pcmac-dl-board .b-flow { animation: none !important; }
  .pcmac-dl-board .b-flow, .pcmac-dl-board .b-head { display: none !important; }
  .pcmac-dl-board .b-zone, .pcmac-dl-tip, a.dl-f { transition: none !important; }
}
