/* ============================================================
   Techtanium OPC-/LANDINGPAGE-KOMPONENTEN
   (Stand D0 2026-06-12 → F2-Fixpaket 0.5.0, 2026-07-05:
   sichtbare Fokusringe fuer clip-path-Elemente ergaenzt)
   Uebertrag der freigegebenen B1/B2-Art-Direction als tt-*-Klassen.
   Verwendung: ausschliesslich in OPC-Inhalten / Landingpage-Sektionen
   (Startseite, Kategorie-Koepfe, Themen-Seiten). Keine NOVA-Overrides.

   C1b-Regeln: keine hartcodierten Kategorien/Menuelinks in CSS;
   alle Inhalte kommen aus OPC. Namespace-Verbot beachten:
   typeahead.js nutzt tt-menu/tt-input/... (siehe techtanium.css).
   Budgets: Gesamt-CSS <= 60 KB minifiziert (Designsystem 10).
   ============================================================ */

/* ---------- Layout-Basis fuer OPC-Sektionen ---------- */
.tt-wrap { max-width: var(--tt-maxw); margin: 0 auto; padding: 0 28px; }
.tt-sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.tt-sec--alt { background: var(--tt-bg-2); border-top: 1px solid var(--tt-hairline); border-bottom: 1px solid var(--tt-hairline); }
.tt-sec--stage { background: var(--tt-bg); }

/* Blueprint-Hintergrund (rein CSS) */
.tt-gridbg {
    background-image:
        linear-gradient(rgb(61 71 85 / 7%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(61 71 85 / 7%) 1px, transparent 1px);
    background-size: var(--tt-grid-wide) var(--tt-grid-wide);
}

/* ---------- Editorial-Typo ---------- */
.tt-kicker {
    font-family: var(--tt-font-mono);
    font-size: 11.5px;
    letter-spacing: var(--tt-ls-kicker);
    text-transform: uppercase;
    color: var(--tt-orange);
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
}
.tt-kicker::before { content: ""; width: 44px; height: 1px; background: var(--tt-orange); flex: none; }

.tt-headline {
    font-family: var(--tt-font-head);
    font-size: clamp(28px, 2.4vw + 14px, 50px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.06;
    color: var(--tt-white);
    margin: 0 0 16px;
}
.tt-headline em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px rgb(201 207 213 / 75%); }
.tt-sub { max-width: 640px; color: var(--tt-steel); font-size: 16px; margin: 0 0 44px; }
.tt-index { font-family: var(--tt-font-mono); font-size: 12px; letter-spacing: 0.3em; color: var(--tt-steel); }

/* ---------- Hero (Markenbuehne) ---------- */
.tt-hero { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--tt-hairline); background: var(--tt-bg); }
.tt-hero__bg { position: absolute; inset: -5% -2%; width: 104%; height: 110%; object-fit: cover; object-position: right center; z-index: 0; will-change: transform; filter: saturate(0.92) contrast(1.04); }
.tt-hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tt-hero__scrim--side { background: linear-gradient(92deg, rgb(10 12 14 / 97%) 0%, rgb(10 12 14 / 88%) 30%, rgb(10 12 14 / 40%) 56%, rgb(10 12 14 / 8%) 78%, rgb(10 12 14 / 35%) 100%); }
.tt-hero__scrim--bottom { background: linear-gradient(180deg, rgb(10 12 14 / 62%) 0%, transparent 18%, transparent 62%, rgb(10 12 14 / 92%) 100%); }
.tt-hero__light {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(620px 460px at var(--tt-mx, 60%) var(--tt-my, 40%),
        rgb(255 132 51 / 9%), rgb(255 106 0 / 4%) 42%, transparent 70%);
    mix-blend-mode: screen;
}
.tt-hero__cad { position: absolute; inset: 0; z-index: 3; pointer-events: none; will-change: transform; }
.tt-hero__cad svg { width: 100%; height: 100%; }
.tt-cadline { stroke: var(--tt-orange); fill: none; opacity: 0.55; }
.js .tt-cadline { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tt-draw 1.7s var(--tt-ease) forwards; }
.js .tt-cadline:nth-of-type(2) { animation-delay: .3s; }
.js .tt-cadline:nth-of-type(3) { animation-delay: .55s; }
.js .tt-cadline:nth-of-type(4) { animation-delay: .8s; }
.js .tt-cadline:nth-of-type(5) { animation-delay: 1.05s; }
@keyframes tt-draw { to { stroke-dashoffset: 0; } }
.tt-cadtext { font-family: var(--tt-font-mono); font-size: 11px; letter-spacing: .18em; fill: var(--tt-orange); opacity: .8; }
.tt-cadtext--steel { fill: var(--tt-steel); opacity: .65; }

.tt-hero__content { position: relative; z-index: 4; max-width: var(--tt-maxw); margin: 0 auto; padding: 100px 28px 150px; width: 100%; }
.tt-hero__content h1 {
    font-family: var(--tt-font-head);
    font-size: clamp(42px, 5.8vw + 8px, 96px);
    line-height: 1.0;
    font-weight: 700;
    letter-spacing: -0.022em;
    color: var(--tt-white);
    margin: 0 0 24px;
    max-width: 13ch;
}
.tt-hero__lead { max-width: 540px; color: var(--tt-steel-light); font-size: 17px; margin: 0 0 40px; }
.tt-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.tt-scrollhint {
    position: absolute; right: 40px; bottom: 105px; z-index: 4;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    color: var(--tt-steel); font-family: var(--tt-font-mono);
    font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; writing-mode: vertical-rl;
}
.tt-scrollhint::after { content: ""; width: 1px; height: 64px; background: linear-gradient(180deg, var(--tt-orange), transparent); }
.js .tt-scrollhint::after { animation: tt-hint 2.4s var(--tt-ease) infinite; }
@keyframes tt-hint {
    0% { transform: scaleY(0); transform-origin: top; }
    45% { transform: scaleY(1); transform-origin: top; }
    55% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Spec-Leiste (Buehnenkante) */
.tt-specbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; border-top: 1px solid var(--tt-hairline); background: rgb(10 12 14 / 72%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tt-specbar ul { max-width: var(--tt-maxw); margin: 0 auto; padding: 0 28px; display: flex; overflow-x: auto; list-style: none; }
.tt-specbar li { padding: 15px 28px 15px 0; margin-right: 28px; border-right: 1px solid var(--tt-hairline); font-family: var(--tt-font-mono); font-size: 11.5px; letter-spacing: 0.18em; color: var(--tt-steel); white-space: nowrap; }
.tt-specbar li:last-child { border-right: 0; }
.tt-specbar b { color: var(--tt-steel-light); font-weight: 600; }

/* Grosse Buttons der Buehne (CTA) */
.tt-cta {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 17px 30px; font-size: 13.5px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    font-family: var(--tt-font-head); border: 0; cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
    transition: background var(--tt-dur) var(--tt-ease), color var(--tt-dur) var(--tt-ease), transform var(--tt-dur) var(--tt-ease);
    text-decoration: none;
}
.tt-cta--primary { background: var(--tt-orange); color: var(--tt-bg); }
.tt-cta--primary:hover { background: var(--tt-orange-hover); color: var(--tt-bg); transform: translateY(-2px); }
.tt-cta--ghost { background: transparent; color: var(--tt-steel-light); box-shadow: inset 0 0 0 1px var(--tt-hairline-2); }
.tt-cta--ghost:hover { color: var(--tt-orange); box-shadow: inset 0 0 0 1px var(--tt-orange); }

/* Fokus-Sichtbarkeit (0.5.0): clip-path schneidet aussenliegende
   Outlines/Schatten ab → fuer gefaste Elemente INNENLIEGENDE
   Fokusringe; fuer Links in gefasten Containern Outline nach
   innen ziehen. WCAG-sichtbar, kein Standard-Blau. */
.tt-cta:focus-visible { outline: none; }
.tt-cta--primary:focus-visible {
    background: var(--tt-orange-hover);
    box-shadow: inset 0 0 0 3px rgb(10 12 14 / 85%);
}
.tt-cta--ghost:focus-visible {
    color: var(--tt-orange);
    box-shadow: inset 0 0 0 2px var(--tt-orange);
}
.tt-entry:focus-visible {
    outline: none;
    background: rgb(255 106 0 / 7%);
    box-shadow: inset 0 0 0 2px var(--tt-orange);
}
.tt-card-dark a:focus-visible,
.tt-matpanel a:focus-visible,
.tt-chat a:focus-visible,
.tt-finder__console a:focus-visible:not(.tt-entry) {
    outline: 2px solid var(--tt-orange);
    outline-offset: -2px;   /* Ring liegt IM Element → nicht abgeschnitten */
}

/* ---------- Manifest ---------- */
.tt-manifest { text-align: center; }
.tt-manifest .tt-statement {
    max-width: 21ch; margin: 0 auto;
    font-family: var(--tt-font-head);
    font-size: clamp(28px, 3vw + 10px, 54px);
    font-weight: 700; letter-spacing: -0.02em; line-height: 1.18;
    color: var(--tt-white);
}
.tt-manifest .tt-statement b { color: var(--tt-orange); font-weight: inherit; }
.tt-manifest .tt-note { max-width: 520px; margin: 32px auto 0; color: var(--tt-steel); font-size: 15.5px; }
.tt-margin-note { position: absolute; top: 56px; font-family: var(--tt-font-mono); font-size: 10.5px; letter-spacing: 0.3em; color: var(--tt-steel); text-transform: uppercase; }
.tt-margin-note--l { left: 44px; }
.tt-margin-note--r { right: 44px; text-align: right; }

/* ---------- Leitwelt / Editorial-Feature ---------- */
.tt-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 60px; align-items: center; margin-bottom: 96px; }
.tt-lead__imgwrap { position: relative; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); border: 1px solid var(--tt-hairline-2); }
.tt-lead__imgwrap img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform 1s var(--tt-ease); display: block; }
.tt-lead__imgwrap:hover img { transform: scale(1.03); }
.tt-lead__imgwrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgb(10 12 14 / 55%)); pointer-events: none; }
.tt-lead__tag { position: absolute; left: 22px; bottom: 18px; z-index: 2; font-family: var(--tt-font-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--tt-white); }
.tt-lead__tag b { color: var(--tt-orange); }
.tt-lead__body h3 { font-family: var(--tt-font-head); font-size: clamp(26px, 2.2vw + 12px, 44px); color: var(--tt-white); font-weight: 700; letter-spacing: -0.018em; line-height: 1.05; margin: 0 0 18px; }
.tt-lead__body p { color: var(--tt-steel); max-width: 46ch; margin: 0 0 26px; }
.tt-arrowlink { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tt-white); font-family: var(--tt-font-head); text-decoration: none; }
.tt-arrowlink::after { content: "\2192"; color: var(--tt-orange); transition: transform var(--tt-dur) var(--tt-ease); }
.tt-arrowlink:hover { color: var(--tt-white); }
.tt-arrowlink:hover::after { transform: translateX(6px); }

/* Editorial-Raster (Figur + Bildunterschrift, keine Boxen) */
.tt-wgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 52px 30px; }
.tt-w { grid-column: span 4; }
.tt-w--wide { grid-column: span 8; }
.tt-w figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--tt-hairline); }
.tt-w figure img, .tt-w .tt-imgph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 900ms var(--tt-ease); display: block; }
.tt-w--wide figure img { aspect-ratio: 21 / 9; }
.tt-w:hover figure img { transform: scale(1.04); }
.tt-imgph {
    background: linear-gradient(135deg, #262C33 0%, #3E454D 36%, #20262C 64%, #353C44 100%);
    display: flex; align-items: center; justify-content: center;
    color: var(--tt-steel); font-family: var(--tt-font-mono);
    font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
}
.tt-w__cap { border-top: 1px solid var(--tt-hairline-2); margin-top: 18px; padding-top: 16px; position: relative; }
.tt-w__cap::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--tt-orange); transition: width 500ms var(--tt-ease); }
.tt-w:hover .tt-w__cap::before { width: 100%; }
.tt-w__cap .tt-index { display: block; margin-bottom: 8px; }
.tt-w__cap h4 { color: var(--tt-white); font-family: var(--tt-font-head); font-size: 19px; font-weight: 650; margin: 0 0 6px; letter-spacing: -0.01em; }
.tt-w__cap p { margin: 0 0 8px; font-size: 14px; color: var(--tt-steel); max-width: 52ch; }
.tt-w__cap .tt-tags { font-family: var(--tt-font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--tt-steel); opacity: .8; }

/* ---------- Produktfinder-Konsole ---------- */
.tt-finder__console { border: 1px solid var(--tt-hairline-2); background: var(--tt-panel); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.tt-finder__input { display: flex; align-items: center; gap: 18px; padding: 24px 28px; border-bottom: 1px solid var(--tt-hairline); font-family: var(--tt-font-mono); font-size: clamp(13px, 1vw + 8px, 17px); color: var(--tt-steel); }
.tt-finder__input .tt-prompt { color: var(--tt-orange); }
.tt-finder__input .tt-cursor { display: inline-block; width: 9px; height: 1.1em; background: var(--tt-orange); vertical-align: text-bottom; }
.js .tt-finder__input .tt-cursor { animation: tt-blink 1.1s steps(1) infinite; }
@keyframes tt-blink { 50% { opacity: 0; } }
.tt-finder__entries { display: grid; grid-template-columns: repeat(5, 1fr); }
.tt-entry { padding: 28px 22px; border-right: 1px solid var(--tt-hairline); display: flex; flex-direction: column; gap: 12px; transition: background var(--tt-dur) var(--tt-ease); position: relative; text-decoration: none; }
.tt-entry:last-child { border-right: 0; }
.tt-entry:hover { background: rgb(255 106 0 / 5%); }
.tt-entry::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tt-orange); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--tt-ease); }
.tt-entry:hover::after { transform: scaleX(1); }
.tt-entry svg { width: 30px; height: 30px; stroke: var(--tt-orange); fill: none; stroke-width: 1.3; }
.tt-entry b { color: var(--tt-white); font-family: var(--tt-font-head); font-size: 14.5px; font-weight: 650; }
.tt-entry span { font-size: 12.5px; color: var(--tt-steel); }
.tt-entry .tt-ex { font-family: var(--tt-font-mono); font-size: 11px; color: var(--tt-steel); letter-spacing: .08em; }

/* ---------- Anwendungs-Indexliste ---------- */
.tt-applist { border-top: 1px solid var(--tt-hairline-2); }
.tt-app { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.1fr) 220px; gap: 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--tt-hairline); position: relative; transition: padding-left 350ms var(--tt-ease); text-decoration: none; }
.tt-app::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--tt-orange); transition: width 500ms var(--tt-ease); }
.tt-app:hover::before { width: 100%; }
.tt-app:hover { padding-left: 10px; }
.tt-app h4 { margin: 0; color: var(--tt-white); font-family: var(--tt-font-head); font-size: clamp(18px, 1.4vw + 8px, 25px); font-weight: 650; letter-spacing: -0.01em; }
.tt-app p { margin: 0; font-size: 14px; color: var(--tt-steel); }
.tt-app .tt-thumb { height: 84px; overflow: hidden; border: 1px solid var(--tt-hairline); justify-self: end; width: 100%; }
.tt-app .tt-thumb img, .tt-app .tt-thumb .tt-imgph { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }

/* ---------- Material & Normen ---------- */
.tt-matgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.tt-matpanel { border: 1px solid var(--tt-hairline-2); background: var(--tt-panel); padding: 36px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.tt-matpanel h3 { color: var(--tt-white); font-family: var(--tt-font-head); font-size: 23px; margin: 0 0 10px; letter-spacing: -0.01em; }
.tt-matpanel .tt-grade { font-family: var(--tt-font-mono); font-size: 42px; color: var(--tt-orange); line-height: 1; margin-bottom: 16px; display: block; }
.tt-matpanel p { color: var(--tt-steel); font-size: 14.5px; margin: 0 0 14px; }
.tt-soon { font-family: var(--tt-font-mono); font-size: 11px; letter-spacing: .2em; color: var(--tt-steel); text-transform: uppercase; border: 1px solid var(--tt-hairline-2); display: inline-block; padding: 5px 10px; }
.tt-dim svg { width: 100%; height: auto; }
.tt-normchips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tt-normchips a, .tt-normchips span { font-family: var(--tt-font-mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--tt-steel-light); border: 1px solid var(--tt-hairline-2); padding: 7px 13px; text-decoration: none; transition: border-color var(--tt-dur) var(--tt-ease), color var(--tt-dur) var(--tt-ease); }
.tt-normchips a:hover { border-color: var(--tt-orange); color: var(--tt-orange); }
.tt-facts { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--tt-hairline-2); }
.tt-facts li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--tt-hairline); font-size: 14px; color: var(--tt-steel); }
.tt-facts li b { color: var(--tt-steel-light); font-weight: 600; font-family: var(--tt-font-mono); font-size: 12.5px; letter-spacing: .1em; }

/* ---------- KI-Berater-Platzhalter ---------- */
.tt-badge { display: inline-block; font-family: var(--tt-font-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tt-orange); border: 1px solid var(--tt-orange-dim); padding: 7px 13px; margin-bottom: 20px; }
.tt-ailist { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--tt-hairline-2); }
.tt-ailist li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--tt-hairline); position: relative; color: var(--tt-steel-light); font-size: 15px; }
.tt-ailist li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 11px; height: 11px; transform: translateY(-50%) rotate(45deg); border: 1px solid var(--tt-orange); border-left: 0; border-bottom: 0; }
.tt-chat { background: var(--tt-panel); border: 1px solid var(--tt-hairline-2); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); padding: 26px; }
.tt-chat__head { display: flex; justify-content: space-between; font-family: var(--tt-font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tt-steel); border-bottom: 1px solid var(--tt-hairline); padding-bottom: 15px; margin-bottom: 20px; }
.tt-chat__head b { color: var(--tt-orange); }
.tt-bubble { max-width: 88%; padding: 13px 17px; font-size: 13.5px; margin-bottom: 13px; border: 1px solid var(--tt-hairline); }
.tt-bubble--user { margin-left: auto; background: rgb(255 106 0 / 9%); border-color: var(--tt-orange-dim); }
.tt-bubble--bot { background: var(--tt-panel-2); }
.tt-chat__input { display: flex; border: 1px solid var(--tt-hairline-2); margin-top: 20px; font-family: var(--tt-font-mono); font-size: 12px; color: var(--tt-steel); }
.tt-chat__input span { flex: 1; padding: 13px 15px; }
.tt-chat__input i { background: var(--tt-orange); color: var(--tt-bg); font-style: normal; padding: 13px 17px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .tt-lead { grid-template-columns: 1fr; gap: 36px; }
    .tt-w, .tt-w--wide { grid-column: span 12; }
    .tt-finder__entries { grid-template-columns: 1fr 1fr; }
    .tt-entry { border-bottom: 1px solid var(--tt-hairline); }
    .tt-app { grid-template-columns: 56px 1fr; }
    .tt-app p { grid-column: 2; }
    .tt-app .tt-thumb { display: none; }
    .tt-matgrid { grid-template-columns: 1fr; gap: 40px; }
    .tt-scrollhint { display: none; }
    .tt-margin-note--l, .tt-margin-note--r { display: none; }
}
@media (max-width: 640px) {
    .tt-wrap { padding: 0 20px; }
    .tt-hero { min-height: auto; }
    .tt-hero__content { padding: 72px 20px 150px; }
    .tt-finder__entries { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .js .tt-cadline { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
    .tt-hero__light { opacity: 0; }
}
