/* VERGABE·EUROPA – Zukunfts-Look (dunkel, Hologramm-Cyan, Signal-Orange). Liegt über style.css. */
:root {
  --papier: #050c17; --papier2: #0a1626; --karte: rgba(13, 29, 48, .72); --tinte: #e6f3ff; --tinte2: #b2c6d8; --leise: #7d93a8;
  --linie: rgba(110, 210, 255, .16); --nacht: #03080f; --cyan: #3ee8ff; --cyan2: #9ff4ff; --gelb: #5a4a12;
  --schatten: 0 0 0 1px rgba(62, 232, 255, .06), 0 20px 50px -30px rgba(0, 0, 0, .9);
}
body { background: radial-gradient(1200px 600px at 80% -10%, rgba(62, 232, 255, .07), transparent 60%), var(--papier); color: var(--tinte); }
.offen { color: #ffe680; }
::selection { background: rgba(62, 232, 255, .35); }

/* Kopf und Knöpfe */
.kopf { background: rgba(4, 10, 20, .72); border-bottom-color: rgba(62, 232, 255, .14); }
.nav a:hover, .nav a[aria-current] { background: rgba(62, 232, 255, .1); }
.marke b { color: var(--cyan); }
.knopf { background: rgba(62, 232, 255, .1); color: var(--tinte); box-shadow: inset 0 0 0 1px rgba(62, 232, 255, .45); }
.knopf:hover { background: rgba(62, 232, 255, .22); }
.knopf.signal { background: linear-gradient(135deg, #f08a3c, #d9641e); color: #fff; box-shadow: 0 0 24px -6px rgba(240, 138, 60, .8); }
.knopf.signal:hover { background: linear-gradient(135deg, #ff9b4e, #e06b22); }
.knopf.hell { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1px rgba(230, 243, 255, .4); }
.knopf.hell:hover { background: rgba(230, 243, 255, .1); color: #fff; }
input, select, textarea, .chips label, .blase, .gespraeche button.aktiv { background: rgba(6, 16, 30, .85); color: var(--tinte); border-color: rgba(110, 210, 255, .22); }
input::placeholder, textarea::placeholder { color: #6f86a0; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(62, 232, 255, .18); }
select option { background: #0a1626; }
.lage3d .tip, .tp-tip { background: rgba(4, 12, 24, .95); color: var(--tinte); border: 1px solid rgba(62, 232, 255, .4); }
.projekt .sym { background: color-mix(in srgb, var(--gfarbe) 18%, #07111f); }

/* Karten mit Glas und Lichtkante */
.werkzeug, .rolle, .preis, .person, .fragen details, .tafel, .tabelle-rahmen, .projekt, .karte, .blatt {
  background: var(--karte) !important; border-color: var(--linie) !important; backdrop-filter: blur(6px); }
.werkzeug { position: relative; overflow: hidden; transition: transform .35s, border-color .35s, box-shadow .35s; }
.werkzeug::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(62, 232, 255, .09) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s; pointer-events: none; }
.werkzeug:hover { transform: translateY(-3px); border-color: rgba(62, 232, 255, .55) !important; box-shadow: 0 0 0 1px rgba(62, 232, 255, .25), 0 20px 50px -25px rgba(62, 232, 255, .45); }
.werkzeug:hover::after { transform: translateX(100%); }
.werkzeug .nr, .kopfzeile .nr { color: var(--cyan); }
.preis.stark { box-shadow: 0 0 0 1px rgba(240, 138, 60, .6), 0 30px 70px -30px rgba(240, 138, 60, .55) !important; }
.abschnitt { position: relative; }
.abschnitt.hell2 { background: linear-gradient(180deg, rgba(62, 232, 255, .035), transparent 40%), var(--papier2); }
.abschnitt::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(62, 232, 255, .35), transparent); }
.band { background: #030912; border-top: 1px solid rgba(62, 232, 255, .2); border-bottom: 1px solid rgba(62, 232, 255, .12); }
.band .zahl { background: linear-gradient(180deg, #fff, var(--cyan2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vergleich th { background: rgba(62, 232, 255, .06) !important; }
.vergleich td.ja { color: #7ff0c0; }
#team img { background: #fff !important; }
.fuss { background: #02060c; border-top: 1px solid rgba(62, 232, 255, .15); }

/* ---------- Teleporter-Bühne ---------- */
.portal { position: relative; min-height: min(92vh, 860px); background: radial-gradient(ellipse 60% 55% at 62% 45%, rgba(62, 232, 255, .1), transparent 65%), #03080f; color: #eef6ff; overflow: hidden; display: flex; flex-direction: column; }
.tp-buehne { position: absolute; inset: 0; }
.tp-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.tp-buehne::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3, 8, 15, .92) 0%, rgba(3, 8, 15, .55) 34%, transparent 58%), linear-gradient(0deg, #03080f 0%, transparent 22%); }
.tp-buehne .zweid { position: absolute; inset: 90px 24px 120px 46%; display: none; }
.portal.warp .tp-buehne::before, .tp-buehne.warp::before { opacity: 1; }
.tp-buehne::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s ease; background: radial-gradient(circle at 60% 50%, rgba(159, 244, 255, .18), transparent 55%); }
.tp-tip { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; padding: 8px 12px; border-radius: 6px; font-size: .86rem; max-width: 320px; box-shadow: 0 0 30px -8px rgba(62, 232, 255, .6); }
.tp-hud { position: absolute; inset: 82px 22px 22px; pointer-events: none; z-index: 2; }
.tp-hud .ecke { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(62, 232, 255, .55); }
.ecke.lo { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; } .ecke.ro { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.ecke.lu { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; } .ecke.ru { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.tp-kopf { position: absolute; left: 38px; right: 38px; top: -2px; display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .14em; color: rgba(159, 244, 255, .7); }

.portal-raster { position: relative; z-index: 3; flex: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 560px) 1fr minmax(0, 340px); gap: 32px; align-items: center; padding-top: 110px; padding-bottom: 40px; pointer-events: none; }
.portal-raster > * { pointer-events: auto; }
.portal-text { grid-column: 1; }
.portal-panel { grid-column: 3; align-self: end; }
.portal h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); text-shadow: 0 0 40px rgba(62, 232, 255, .25); }
.portal h1 em { font-style: normal; background: linear-gradient(90deg, #9ff4ff, #3ee8ff 45%, #f08a3c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.portal .lead { color: #b9cbdb; font-size: 1.15rem; max-width: 33em; }
.portal .vorzeile { color: var(--cyan2); display: flex; align-items: center; gap: 10px; }
.puls { width: 8px; height: 8px; border-radius: 50%; background: #5dffb0; box-shadow: 0 0 0 0 rgba(93, 255, 176, .6); animation: puls 2.8s ease-out infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(93, 255, 176, .55); } 100% { box-shadow: 0 0 0 12px rgba(93, 255, 176, 0); } }
.suche-zukunft { display: flex; gap: 8px; margin: 26px 0 0; padding: 6px; border-radius: 10px; background: rgba(6, 16, 30, .75); box-shadow: inset 0 0 0 1px rgba(62, 232, 255, .35), 0 0 40px -14px rgba(62, 232, 255, .5); }
.suche-zukunft input { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none !important; }
.portal .vertrauen { color: #8fa7bc; }

.portal-panel { background: rgba(5, 14, 27, .78); border: 1px solid rgba(62, 232, 255, .3); border-radius: 12px; padding: 16px 16px 14px; backdrop-filter: blur(10px); box-shadow: 0 0 50px -20px rgba(62, 232, 255, .55); }
.pp-kopf { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .14em; color: var(--cyan2); margin-bottom: 6px; }
.portal-panel h3 { margin: 0 0 10px; font-size: 1.25rem; }
.portal-panel ol { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.portal-panel li { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 8px; cursor: pointer; background: rgba(62, 232, 255, .04); border: 1px solid transparent; transition: border-color .25s, background .25s; }
.portal-panel li:hover { border-color: rgba(62, 232, 255, .45); background: rgba(62, 232, 255, .09); }
.portal-panel li.leer { cursor: default; color: var(--leise); }
.portal-panel .kz { flex: none; font: 600 .7rem 'JB Mono', monospace; padding: 3px 6px; border-radius: 4px; background: rgba(62, 232, 255, .14); color: var(--cyan2); }
.portal-panel .t { display: block; font-size: .9rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.portal-panel .u { display: block; font-size: .78rem; color: #8fa7bc; margin-top: 2px; }
.portal-panel .knopf { width: 100%; }

.portal-ziele { position: relative; z-index: 3; display: flex; justify-content: center; gap: 8px; padding: 0 16px 30px; flex-wrap: wrap; }
.portal-ziele button { cursor: pointer; display: grid; gap: 2px; min-width: 96px; padding: 9px 12px; border-radius: 10px; color: #dff6ff; font: inherit; text-align: left;
  background: rgba(5, 14, 27, .7); border: 1px solid rgba(62, 232, 255, .28); backdrop-filter: blur(8px); transition: border-color .3s, box-shadow .3s, transform .3s; }
.portal-ziele button b { font: 700 1.05rem 'Saira SC', sans-serif; letter-spacing: .06em; }
.portal-ziele button small { font-size: .74rem; color: #8fa7bc; }
.portal-ziele button:hover { transform: translateY(-2px); border-color: rgba(62, 232, 255, .7); }
.portal-ziele button[aria-pressed="true"] { border-color: var(--cyan); box-shadow: 0 0 0 1px rgba(62, 232, 255, .4), 0 0 30px -6px rgba(62, 232, 255, .7); }
.portal-ziele button[aria-pressed="true"] b { color: var(--cyan2); }
.portal-ziele button[data-ziel="gross"] b { color: #ffb06a; }

@media (max-width: 1100px) { .portal-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); } .portal-panel { grid-column: 2; } }
@media (max-width: 920px) {
  .portal { min-height: 0; }
  .tp-buehne { position: relative; order: 2; height: 440px; inset: auto; }
  .tp-buehne::after { background: linear-gradient(0deg, #03080f 0%, transparent 25%), linear-gradient(180deg, #03080f 0%, transparent 18%); }
  .tp-buehne .zweid { inset: 30px 16px; }
  .tp-hud { inset: 14px 12px; }
  .tp-kopf { font-size: .62rem; left: 30px; right: 30px; }
  .portal-raster { display: contents; }
  .portal-text { order: 1; padding: 92px 16px 0; }
  .portal-ziele { order: 3; margin-top: -84px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 18px; scrollbar-width: none; }
  .portal-ziele button { min-width: 104px; flex: none; }
  .portal-panel { order: 4; margin: 6px 16px 28px; }
}
@media (prefers-reduced-motion: reduce) { .puls { animation: none; } .werkzeug::after { display: none; } }

/* Stellen, die vorher dunkle Tinte als Fläche nutzten */
.rolle .etikett, .person .bild, .kachel .sym, .kz.dunkel, .blase.ich, .chips label:has(input:checked) { background: linear-gradient(135deg, #0f3550, #0a2238) !important; color: var(--cyan2) !important; border-color: rgba(62, 232, 255, .45) !important; box-shadow: inset 0 0 0 1px rgba(62, 232, 255, .4); }
.rolle.firma .etikett { background: linear-gradient(135deg, #f08a3c, #d9641e) !important; color: #fff !important; box-shadow: none; }
.person .bild { box-shadow: 0 0 22px -6px rgba(62, 232, 255, .7), inset 0 0 0 1px rgba(62, 232, 255, .5); }
.marke2 { background: rgba(62, 232, 255, .1); color: var(--cyan2); }
.marke2.privat { background: rgba(240, 138, 60, .18); color: #ffc08f; } .marke2.oeff { background: rgba(62, 232, 255, .14); color: var(--cyan2); }
.marke2.gut { background: rgba(93, 255, 176, .14); color: #8dffc6; } .marke2.warn { background: rgba(255, 214, 90, .16); color: #ffe27a; } .marke2.schlecht { background: rgba(255, 92, 122, .16); color: #ff9db0; }
.marke2.gross { background: rgba(240, 138, 60, .2); color: #ffd2ad; }
.person a { color: var(--cyan2); text-decoration: none; }

.marke-logo { height: 38px; width: auto; background: #fff; border-radius: 7px; padding: 3px 5px; box-shadow: 0 0 18px -6px rgba(62, 232, 255, .6); }

/* Sprachwahl */
.sprache { display: inline-flex; align-items: center; gap: 6px; margin: 0 4px; padding: 0 8px; border-radius: var(--r); color: var(--cyan2); box-shadow: inset 0 0 0 1px rgba(62, 232, 255, .3); font-weight: 500; }
.sprache select { width: auto; border: 0; background: transparent; color: var(--tinte); padding: 8px 2px; font-size: .92rem; cursor: pointer; box-shadow: none !important; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 720px) { .sprache { padding: 0 4px; } .sprache svg { display: none; } }

/* Werbetexte nicht markierbar (Hürde gegen Kopieren); Eingaben und Auftrags-Details bleiben normal */
main .portal, main .abschnitt, main .band { -webkit-user-select: none; user-select: none; }
main input, main textarea, main .tafel, .fenster, .blatt { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; }
@media (max-width: 520px) { .marke span { display: none; } }
