/* ==========================================================================
   08 – BRANCHEN-SEITEN (Luft- & Raumfahrt, Medizintechnik, Maschinenbau,
   Halbleitertechnik)
   ==========================================================================
   Alle 4 Seiten teilen sich dieses eine Stylesheet und dasselbe Template
   (template-branchen.php) – nur die Texte/Bilder unterscheiden sich.
   ========================================================================== */

/* --------------------------------------------------------------------
   HERO (ap-hero) – Klassennamen 1:1 aus der Vorschau übernommen (vorher
   abweichend .br-hero/.br-breadcrumb/.eyebrow/.br-zert-badge, siehe
   KORREKTUREN.md)
   -------------------------------------------------------------------- */
.ap-hero { position: relative; background: var(--gray-lt); padding: 80px 40px 72px; border-bottom: 1px solid var(--line); overflow: hidden; }
.ap-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.ap-breadcrumb { font-size: 13px; color: var(--gray); margin-bottom: 18px; }
.ap-breadcrumb a { color: var(--gray); text-decoration: none; }
.ap-breadcrumb a:hover { color: var(--blue); }
.ap-hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.ap-hero-tag::before { content: ''; width: 26px; height: 2px; background: var(--blue); }
.ap-hero h1 { font-size: clamp(2.2rem,5vw,3.5rem); font-weight: 700; line-height: 1.05; color: var(--black); margin-bottom: 16px; }
.ap-hero h1 span { color: var(--blue); }
.ap-hero-sub { font-size: 16.5px; line-height: 1.8; color: var(--gray); max-width: 560px; }
.ap-hero-sub strong { color: var(--blue); font-weight: 700; }
.ap-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ap-hero-cta .btn-blue, .ap-hero-cta .btn-outline-blue { text-decoration: none; }
/* Auf dem hellen Hero-Hintergrund (var(--gray-lt)) braucht "Projekt anfragen"
   die helle Variante (weiß/blauer Rahmen) statt der globalen dunklen Variante
   aus 03-buttons-komponenten.css (dort für Verwendung auf dunklem/blauem
   Grund gedacht, z. B. im CTA-Band) – Original nutzt denselben Klassennamen
   hier mit anderer, seitenlokaler Bedeutung. */
.ap-hero-cta .btn-outline-blue { background: var(--white); color: var(--blue); border: 2px solid var(--blue); }
.ap-hero-cta .btn-outline-blue:hover { background: var(--blue); color: #fff; }
.ap-hero-media { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.18); aspect-ratio: 3/2; }
.ap-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); will-change: transform; }
.ap-hero.visible .ap-hero-media img { animation: mtKenburns 18s ease-in-out infinite alternate; }
@keyframes mtKenburns { 0% { transform: scale(1.06) translate(0,0); } 100% { transform: scale(1.14) translate(-2%,-1.5%); } }
/* Scan-Glint (Lichtreflex, wie ein Qualitäts-Scan) */
.ap-hero-media::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg,transparent 30%,rgba(255,255,255,.14) 45%,rgba(0,150,255,.22) 50%,rgba(255,255,255,.14) 55%,transparent 70%); transform: translateX(-120%); }
.ap-hero.visible .ap-hero-media::before { animation: mtScan 5.5s ease-in-out 1s infinite; }
@keyframes mtScan { 0% { transform: translateX(-120%); } 55% { transform: translateX(120%); } 100% { transform: translateX(120%); } }
/* Blauer Verlaufsrahmen unten für Tiefe */
.ap-hero-media::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top,rgba(28,28,27,.35),transparent 45%); }
.ap-hero-badge { position: absolute; left: 18px; bottom: 18px; z-index: 2; background: rgba(28,28,27,.78); backdrop-filter: blur(6px); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; border-radius: 8px; display: flex; align-items: center; gap: 8px; }
.ap-hero-badge svg { width: 14px; height: 14px; color: var(--blue); }
@media (max-width: 880px) { .ap-hero-inner { grid-template-columns: 1fr; gap: 32px; } .ap-hero-media { order: -1; aspect-ratio: 16/10; } }
@media (prefers-reduced-motion: reduce) { .ap-hero-media img, .ap-hero-media::before { animation: none; transition: none; } .ap-hero-media img { transform: scale(1.04); } }

/* --------------------------------------------------------------------
   KENNZAHLEN (stat-band) – Klassennamen 1:1 aus der Vorschau übernommen
   (vorher abweichend .stat-band-grid statt .stat-inner, Präfix/Suffix
   nicht als eigenes .stat-unit ausgezeichnet, Hintergrund zu dunkel)
   -------------------------------------------------------------------- */
.stat-band { background: var(--gray); padding: 60px 40px; color: #fff; }
.stat-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.stat-item { position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: rgba(255,255,255,.15); }
.stat-num { font-size: clamp(2rem,4vw,2.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: #fff; display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.stat-num .stat-unit { font-size: .5em; color: var(--blue); font-weight: 700; }
.stat-label { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.65); letter-spacing: .03em; line-height: 1.4; }
@media (max-width: 700px) {
	.stat-inner { grid-template-columns: repeat(2,1fr); gap: 22px 16px; }
	.stat-item:nth-child(2n+1)::before { display: none; }
}

/* --------------------------------------------------------------------
   3D-PRODUKTVIEWER
   -------------------------------------------------------------------- */
.pv-section { padding: clamp(44px,8vw,92px) clamp(20px,4vw,40px); background: var(--white); border-bottom: 1px solid var(--line); }
.pv-inner { max-width: 1100px; margin: 0 auto; }
.pv-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.pv-tab { font-size: 14px; font-weight: 700; color: var(--gray); background: var(--gray-lt); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: all .2s; }
.pv-tab:hover { border-color: var(--blue); color: var(--blue-dk); }
.pv-tab.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pv-stage { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); }
.pv-canvas-wrap { position: relative; background: linear-gradient(135deg,#2b3138,#1c2025); min-height: 440px; display: flex; align-items: center; justify-content: center; }
.pv-canvas-wrap canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; touch-action: none; }
.pv-canvas-wrap:active canvas { cursor: grabbing; }
.pv-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.pv-spinner { width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--blue); border-radius: 50%; animation: pvspin .8s linear infinite; }
@keyframes pvspin { to { transform: rotate(360deg); } }
.pv-hint { position: absolute; left: 16px; bottom: 14px; z-index: 3; color: rgba(255,255,255,.55); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; display: flex; align-items: center; gap: 7px; pointer-events: none; }
.pv-hint svg { width: 15px; height: 15px; }
.pv-badge { position: absolute; right: 16px; top: 14px; z-index: 3; background: rgba(0,150,255,.16); border: 1px solid rgba(0,150,255,.4); color: #8fd0ff; font-size: 11px; font-weight: 700; letter-spacing: .05em; padding: 6px 11px; border-radius: 7px; }
.pv-info { padding: 36px 34px; display: flex; flex-direction: column; }
.pv-info-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.pv-info h3 { font-size: 1.5rem; font-weight: 700; color: var(--black); margin-bottom: 6px; letter-spacing: -.01em; }
.pv-info-lead { font-size: 14px; color: var(--gray); margin-bottom: 22px; line-height: 1.6; }
.pv-specs { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 14px; }
.pv-specs li { position: relative; padding-left: 26px; }
.pv-specs li::before { content: ''; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 4px; background: var(--blue-lt); border: 2px solid var(--blue); }
.pv-specs strong { display: block; font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.pv-specs span { font-size: 13.5px; color: var(--gray); line-height: 1.5; }
.pv-note { margin-top: auto; padding-top: 22px; font-size: 12px; color: var(--gray); opacity: .75; font-style: italic; }
@media (max-width: 880px) {
	.pv-stage { grid-template-columns: 1fr; }
	.pv-canvas-wrap { min-height: 340px; }
}

/* --------------------------------------------------------------------
   FEATURE-KARTEN
   -------------------------------------------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 36px; }
.feat-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; overflow: hidden; isolation: isolate; display: block; }
.feat-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; transition: opacity .25s; z-index: -1; }
.feat-card:hover .feat-bg { opacity: .3; }
.feat-body h3 { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 12px; letter-spacing: -.01em; }
.feat-body ul { list-style: none; padding: 0; margin: 0; position: relative; }
.feat-body li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.6; color: var(--gray); margin-bottom: 9px; }
.feat-body li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; gap: 16px; } }

/* --------------------------------------------------------------------
   STATEMENT-BAND
   -------------------------------------------------------------------- */
.stmt-band { padding: clamp(56px,9vw,100px) 40px; background: var(--blue-lt); text-align: center; }
.stmt-inner { max-width: 760px; margin: 0 auto; }
.stmt-band blockquote { font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; color: var(--black); line-height: 1.35; margin: 16px 0 18px; }
.stmt-band blockquote strong { color: var(--blue); }
.stmt-sub { font-size: 15px; color: var(--gray); line-height: 1.6; }

/* .chip-row/.chip: siehe 03-buttons-komponenten.css (gemeinsamer Baustein,
   wird auch auf den Karriere-Seiten für Schlagwort-Chips genutzt). */

/* --------------------------------------------------------------------
   QUALITÄT-BADGE
   -------------------------------------------------------------------- */
.q-badge { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--blue-dk); background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 8px 16px; margin: 10px 0 18px; }
.mt-section--alt .q-badge { background: var(--white); }

/* .ap-cta/… (finales CTA-Band): siehe 03-buttons-komponenten.css
   (gemeinsamer Baustein, auch auf den Karriere-Seiten genutzt). Der
   Ansprechpartner-Block direkt darüber nutzt auf den Branchen-Seiten
   dagegen eine EIGENE Komponente (.ap-contact), 1:1 aus der HTML-Vorschau
   übernommen – dort abweichend von der Karriere-Ansprechpartner-Karte
   gestaltet (eigener Hintergrund, echtes <h2>, Kontaktzeilen mit
   Text-Label vor jedem Link). */
.ap-contact { padding: 60px 40px; background: var(--white); }
.ap-contact-inner { max-width: 760px; margin: 0 auto; text-align: center; border: 1px solid var(--line); border-radius: 16px; padding: 44px 36px; background: var(--gray-lt); }
.ap-contact-inner .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.ap-contact-inner h2 { font-size: 1.5rem; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.ap-contact-role { font-size: 14px; color: var(--gray); margin-bottom: 22px; }
.ap-contact-lines { display: flex; flex-direction: column; gap: 8px; align-items: center; font-size: 15px; color: var(--gray); }
.ap-contact-lines a { color: var(--blue); text-decoration: none; font-weight: 700; }
.ap-contact-lines a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------- */
.faq-liste { display: flex; flex-direction: column; gap: 12px; max-width: 800px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; }
.faq-item summary { cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: var(--black); padding: 18px 24px 18px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 16px; font-size: 20px; color: var(--blue); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { font-size: 14px; line-height: 1.65; color: var(--gray); padding-bottom: 20px; }

/* --------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------- */
@media (max-width: 600px) {
	.stat-inner { grid-template-columns: 1fr; }
	.stat-item + .stat-item::before { display: none; }
	.pv-section { padding-left: 20px; padding-right: 20px; }
}
