:root {
    --ah-red: #d43b30;
    --ah-text-dark: #32373c;
    --ah-text-gray: #707070;
    --ah-bg-light: #f8fafc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0; padding: 0; color: var(--ah-text-gray); background-color: #ffffff; line-height: 1.6; overflow-x: hidden;
}

/* HEADER & NAVIGATION */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(5px); border-top: 1px solid #d5d5d5; border-bottom: 1px solid #d5d5d5; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; padding: 0 5%; height: 55px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.logo { height: 100%; overflow: hidden; }
.logo a { display: flex; align-items: center; height: 100%; padding: 0; box-sizing: border-box; }
.logo img { height: calc(100% - 2px); width: auto; display: block; }
.nav { display: flex; gap: 25px; align-items: center; height: 100%; }
.nav a { text-decoration: none; color: var(--ah-text-gray); font-weight: 400; font-size: 16px; transition: color 0.2s; }
.nav > .nav-item > a:hover { color: var(--ah-red); }
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background-color: #ffffff; min-width: 220px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-top: 2px solid var(--ah-red); z-index: 1100; padding: 0; }
.nav-item:hover .dropdown { display: block; }
.dropdown a { color: var(--ah-text-gray); padding: 15px 20px; display: block; text-transform: none; font-weight: 400; font-size: 15px; border-bottom: 1px solid #707070; }
.dropdown a:hover { color: #000000; background-color: #fcfcfc; }
.dropdown-toggle { display: none; }
.lang-container { display: flex; align-items: center; }
.lang-container a { padding: 0 10px; }
.lang-container a:first-child { border-right: 1px solid #707070; }

/* HERO BEREICHE (Startseite & Unterseiten) */
.hero-video-wrapper { position: relative; width: 100%; height: 75vh; max-height: 850px; min-height: 500px; background-color: #000; overflow: hidden; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 2; }

/* Eingebettetes Content-Video (z.B. Imagefilm auf unternehmen.html) - ohne diese Regel rendert das <video> in nativer Pixelgroesse */
.video-wrapper { max-width: 100%; margin: 40px auto; }
.video-wrapper video { display: block; width: 100%; height: auto; }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; text-align: center; color: #fff; padding: 0 20px; width: 100%; max-width: 900px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 300; letter-spacing: 1px; line-height: 1.2; }
.hero-content p { font-size: 1.5rem; margin-bottom: 40px; font-weight: 300; }

.subpage-hero { position: relative; width: 100%; height: 400px; background-image: url('images/werkzeugbau.webp'); background-size: cover; background-position: center; margin-bottom: 80px; }
.hero-title-box { position: absolute; bottom: -25px; left: max(5%, calc((100% - 1400px) / 2)); background-color: var(--ah-red); color: white; padding: 20px 50px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); z-index: 10; }
.hero-title-box h1 { margin: 0; font-size: 2.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* BUTTONS & LINKS */
.cta-button, .cta-btn { display: inline-block; background-color: var(--ah-red); color: #fff; padding: 18px 40px; font-size: 1.1rem; font-weight: bold; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: background-color 0.3s, transform 0.3s; box-shadow: 0 4px 15px rgba(212, 59, 48, 0.4); }
.cta-button:hover, .cta-btn:hover { background-color: #b52c22; transform: translateY(-2px); }
.cta-btn { background-color: var(--ah-text-dark); padding: 14px 32px; font-weight: 500; text-transform: none; }
.cta-btn:hover { background-color: var(--ah-red); box-shadow: 0 8px 20px rgba(212, 59, 48, 0.3); }
.page-cta-box { text-align: center; max-width: 700px; margin: 60px auto 0 auto; padding-top: 40px; border-top: 1px solid #eaeaea; }
.page-cta-box .bodytext { margin-bottom: 25px; }
.video-link { display: inline-block; margin-top: 25px; color: #ffffff; font-size: 1rem; text-decoration: none; font-weight: 300; letter-spacing: 0.5px; opacity: 0.8; transition: opacity 0.3s, color 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; padding-bottom: 3px; }
.video-link:hover { opacity: 1; color: var(--ah-red); border-color: var(--ah-red); }

/* ALLGEMEINES LAYOUT & TEXTE */
.content-container { max-width: 1400px; margin: 0 auto 100px auto; padding: 0 5%; }
.split-row { display: flex; gap: 80px; align-items: center; margin-bottom: 80px; }
.split-row.reverse { flex-direction: row-reverse; }
.split-text { flex: 1; min-width: 300px; }
.split-image { flex: 1; text-align: center; min-width: 300px; }
.split-image img { width: 100%; height: auto; max-height: 500px; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

/* Bildunterschrift-Variante (nur bueroorganisation.html) */
.split-image.captioned img { max-width: 550px; max-height: none; margin-bottom: 15px; }
.image-caption { font-size: 0.95rem; color: var(--ah-text-gray); font-style: italic; margin: 0; }
.section-headline { font-size: 2.5rem; color: var(--ah-text-dark); margin-top: 0; margin-bottom: 25px; font-weight: 300; line-height: 1.2; }
/* Lange deutsche Komposita duerfen auf schmalen Displays nicht ueber den Rand laufen; greift nur, wenn ein Einzelwort breiter als die Zeile ist */
.section-headline, .hero-title-box h1, .article-body h1, .article-body h2 { overflow-wrap: break-word; }
.sub-headline { font-size: 1.3rem; color: var(--ah-text-dark); margin-top: 0; margin-bottom: 10px; font-weight: 600; }
.bodytext { font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }
.highlight-box { background: var(--ah-bg-light); padding: 40px; border-left: 4px solid var(--ah-red); box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 40px;}
.icon-grid-2 + .highlight-box { margin-top: 30px; }
.highlight-box h4 { margin: 0 0 10px 0; color: var(--ah-text-dark); font-size: 1.1rem; font-weight: 600; }
.highlight-box p { margin: 0; font-size: 0.95rem; color: var(--ah-text-gray); line-height: 1.6; }

/* GRID-SYSTEME */
.split-image-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; min-width: 300px; }
.split-image-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: transform 0.3s; background-color: #fff;}
.split-image-grid img:hover { transform: scale(1.05); z-index: 2; position: relative; }

/* Gerahmte Kachel-Variante (nur montage.html) */
.split-image-grid.tiles { max-width: 480px; min-width: 320px; align-self: center; margin: 0 auto; }
.split-image-grid.tiles img { object-fit: contain; box-shadow: 0 4px 12px rgba(0,0,0,0.06); border: 1px solid #eaeaea; padding: 10px; box-sizing: border-box; }
.split-image-grid.tiles img:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.1); }

/* ~10% kleiner, sonst wie Ausgangszustand (nur veredelung.html) */
.split-image-grid.compact { flex: 0.82; background: #fff; border-radius: 6px; padding: 15px; box-shadow: none; box-sizing: border-box; }
.split-image-grid.compact img { box-shadow: none; border-radius: 0; object-fit: contain; }
.split-image-grid.compact img:hover { transform: none; }

/* KARTEN & FEATURES */
.features-wrapper { margin-top: 80px; margin-bottom: 80px; text-align: center; }
.features-wrapper h3 { font-weight: 300; color: var(--ah-text-dark); font-size: 1.8rem; margin-bottom: 30px; margin-top: 60px; border-bottom: 1px solid #eaeaea; padding-bottom: 15px; display: inline-block;}

.cards-flex, .technique-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 40px; }

.card-item, .technique-card { background: #fdfdfd; border-top: 3px solid var(--ah-text-dark); padding: 25px 20px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); text-align: center; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1 1 220px; max-width: 280px; min-height: 90px; }
.card-item:hover, .technique-card:hover { transform: translateY(-4px); border-top-color: var(--ah-red); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.card-item h4 { margin: 0; font-size: 1.05rem; color: var(--ah-text-dark); font-weight: 600; }
.card-item span, .technique-card span { font-weight: 400; font-size: 0.85rem; color: var(--ah-text-gray); margin-top: 6px; }

/* Verlinkte Kachel-Basis (jede Seite mit <a class="card-item">) */
a.card-item { text-decoration: none; color: inherit; }
a.card-item h4 { transition: color 0.3s; }
a.card-item:hover h4 { color: var(--ah-red); }

/* Breite 4-spaltige Variante (nur leistungen.html) */
a.card-item.wide { flex: 1 1 250px; width: calc(25% - 15px); min-height: 110px; }
a.card-item.wide h4 { font-size: 1.2rem; }
@media (max-width: 1024px) {
    a.card-item.wide { width: calc(50% - 10px); flex-basis: 40%; }
}
@media (max-width: 600px) {
    a.card-item.wide { width: 100%; flex-basis: 100%; }
}

/* TECH-DATEN & ICONS */
.tech-data-container { display: flex; gap: 60px; margin-top: 60px; flex-wrap: wrap; text-align: left; }
.tech-column { flex: 1; min-width: 300px; }
.tech-column h3 { font-size: 1.5rem; color: var(--ah-text-dark); border-bottom: 1px solid #eaeaea; padding-bottom: 15px; margin-bottom: 25px; font-weight: 400;}

.icon-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; text-align: left; }
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.icon-card { display: flex; align-items: center; gap: 15px; padding: 15px 20px; background: #fff; border: 1px solid #eaeaea; border-top: 3px solid var(--ah-text-dark); border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; height: 100%; box-sizing: border-box; }
.icon-card:hover { border-color: var(--ah-red); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.icon-svg { width: 38px; height: 38px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #005a87; background-color: rgba(0, 90, 135, 0.08); }
.icon-card-content { display: flex; flex-direction: column; justify-content: center; }
.icon-card-content h4 { margin: 0; font-size: 1.05rem; color: var(--ah-text-dark); font-weight: 600;}
.icon-card-content span { font-size: 0.85rem; color: var(--ah-text-gray); margin-top: 2px; font-weight: 400;}

.icon-mold .icon-svg { color: #005a87; background-color: rgba(0, 90, 135, 0.08); }
.icon-machine .icon-svg { color: var(--ah-text-dark); background-color: rgba(50, 55, 60, 0.08); }
.icon-data .icon-svg { color: var(--ah-red); background-color: rgba(212, 59, 48, 0.08); }
.icon-concept .icon-svg { color: #005a87; background-color: rgba(0, 90, 135, 0.08); }
.icon-realize .icon-svg { color: var(--ah-red); background-color: rgba(212, 59, 48, 0.08); }
.icon-software .icon-svg { color: #005a87; background-color: rgba(0, 90, 135, 0.08); }
.icon-format .icon-svg { color: var(--ah-red); background-color: rgba(212, 59, 48, 0.08); }

/* STARTSEITE: TRUST-BAR & SERVICES */
.trust-bar { background-color: var(--ah-bg-light); padding: 40px 0; text-align: center; border-bottom: 1px solid #eaeaea; overflow: hidden; position: relative; }
.trust-bar p { text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; color: #999; margin-bottom: 30px; font-weight: bold; padding: 0 20px; }
.trust-bar::before, .trust-bar::after { content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; }
.trust-bar::before { left: 0; background: linear-gradient(to right, var(--ah-bg-light) 0%, transparent 100%); }
.trust-bar::after { right: 0; background: linear-gradient(to left, var(--ah-bg-light) 0%, transparent 100%); }
.logos-ticker-wrapper { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.trust-bar:hover .logos-ticker-wrapper { animation-play-state: paused; }
.logos-container { display: flex; justify-content: flex-start; align-items: center; gap: 50px; padding-right: 50px; width: max-content; }
.partner-logo { max-height: 45px; width: auto; transition: transform 0.3s ease; }
.partner-logo:hover { transform: scale(1.1); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.services-section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--ah-text-dark); margin-bottom: 60px; font-weight: 300; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.service-card { position: relative; background: #fff; border: 1px solid #eaeaea; border-top: 4px solid var(--ah-red); padding: 40px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.service-card h3 { font-size: 1.5rem; color: var(--ah-text-dark); margin-top: 0; margin-bottom: 20px; }
.service-card p { margin-bottom: 30px; flex-grow: 1; }
.service-link { color: var(--ah-red); font-weight: bold; text-decoration: none; text-transform: uppercase; font-size: 0.9rem; display: inline-flex; align-items: center; }
.service-link:hover { text-decoration: underline; }
.service-link::after { content: ""; position: absolute; inset: 0; }

.services-section p a { color: var(--ah-red); font-weight: 600; text-decoration: none; }
.services-section p a:hover { text-decoration: underline; }

.bodytext a { color: var(--ah-red); font-weight: 600; text-decoration: none; }
.bodytext a:hover { text-decoration: underline; }

/* CTA BOX (Montage) */
.cta-box { background-color: var(--ah-bg-light); border-top: 3px solid var(--ah-red); padding: 50px 30px; text-align: center; border-radius: 4px; margin-top: 100px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.cta-box h3 { font-size: 1.8rem; color: var(--ah-text-dark); margin-top: 0; font-weight: 300; margin-bottom: 20px;}

/* HOVER GALERIE (Expertise-Seiten) */
.gallery-wrapper { margin-top: 80px; margin-bottom: 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.gallery-item { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); aspect-ratio: 1; display: block; background: #fff; border: 1px solid #eaeaea; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; background-color: #fff; padding: 20px; box-sizing: border-box; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0)); padding: 40px 20px 20px 20px; color: #fff; transform: translateY(100%); transition: transform 0.3s ease-out; pointer-events: none; }
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption h4 { margin: 0; font-size: 1.05rem; font-weight: 500; line-height: 1.4; text-align: center; }

/* Breite Variante ohne Caption (4 Spalten, volle Breite) */
.gallery-grid.wide { grid-template-columns: repeat(4, 1fr); gap: 15px; max-width: none; }
.gallery-grid.wide .gallery-item img { padding: 15px; }
@media (max-width: 1024px) {
    .gallery-grid.wide { grid-template-columns: repeat(2, 1fr); }
}

/* Verlinkte Branchenkacheln mit festem Titelbalken (nur expertise.html) */
.gallery-grid.linked { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1200px; }
.gallery-item.linked { width: 260px; text-decoration: none; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.gallery-item.linked:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--ah-red); }
.gallery-item.linked img { height: calc(100% - 50px); padding: 25px; }
.gallery-item.linked .gallery-caption { background: var(--ah-red); padding: 0; height: 50px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1rem; transform: none; pointer-events: auto; transition: background-color 0.3s ease; }
.gallery-item.linked:hover .gallery-caption { background-color: #b52c22; transform: none; }
@media (max-width: 900px) {
    .gallery-item.linked { width: calc(50% - 10px); }
}
@media (max-width: 600px) {
    .gallery-item.linked { width: 100%; }
}

/* Zentriert ein einzelnes überzähliges letztes Element in der letzten Reihe (z.B. 7 Bilder in 3er-Raster) */
.gallery-grid.center-orphan .gallery-item:last-child:nth-child(3n - 2) { grid-column: 2; }
@media (max-width: 900px) {
    .gallery-grid.center-orphan .gallery-item:last-child:nth-child(3n - 2) { grid-column: auto; }
}

/* PREMIUM FEATURE-CARDS (grauer Vollbreite-Block, z.B. Schaltergriffe) */
.premium-features-section { background-color: var(--ah-bg-light); padding: 80px 5%; margin: 0 0 80px 0; }
.premium-features-section .section-headline { text-align: center; margin-bottom: 50px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1400px; margin: 0 auto; }
.feature-card { background: #fff; padding: 30px; border-radius: 6px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border-top: 3px solid var(--ah-text-dark); transition: transform 0.3s ease, border-color 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); border-top-color: var(--ah-red); }
.feature-icon { width: 45px; height: 45px; color: var(--ah-red); margin-bottom: 20px; }
.feature-card h4 { font-size: 1.2rem; color: var(--ah-text-dark); margin: 0 0 15px 0; font-weight: 600; }
.feature-card p { font-size: 0.95rem; color: var(--ah-text-gray); margin: 0; line-height: 1.6; }
@media (max-width: 900px) {
    .premium-features-section { padding: 50px 20px; margin: 0 0 50px 0; }
}

/* FOOTER */
.footer-image-top { width: 100%; height: auto; display: block; margin-bottom: -45px; clip-path: inset(0 0 45px 0); }
.footer-bottom { background-color: #2b3036; color: #fff; text-align: center; padding: 40px 20px; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-top: 20px; }
.footer-links a { color: #aaa; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }

/* FLOATING CTA WIDGET */
.floating-cta-wrapper { position: fixed; top: 50%; right: -320px; transform: translateY(-50%); width: 320px; background: #ffffff; box-shadow: -5px 0 25px rgba(0,0,0,0.1); border-radius: 8px 0 0 8px; border: 1px solid #eaeaea; border-right: none; z-index: 9999; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.floating-cta-wrapper.is-open { right: 0; }
.floating-cta-tab { position: absolute; left: -48px; top: 50%; transform: translateY(-50%); width: 48px; height: 140px; background-color: var(--ah-red); color: #ffffff; border-radius: 8px 0 0 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; box-shadow: -4px 0 10px rgba(212, 59, 48, 0.2); transition: background-color 0.3s; border: none; padding: 0; font-family: inherit; }
.floating-cta-tab:hover { background-color: #b52c22; }
.floating-cta-tab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.floating-cta-tab span { writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); font-weight: 600; letter-spacing: 1px; font-size: 0.9rem; }
.floating-cta-content { padding: 30px; }
.floating-cta-content h4 { margin: 0 0 15px 0; color: var(--ah-text-dark); font-size: 1.2rem; font-weight: 600; border-bottom: 2px solid var(--ah-bg-light); padding-bottom: 10px; }
.floating-cta-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ah-text-gray); margin-bottom: 15px; font-size: 0.95rem; transition: color 0.2s; }
.floating-cta-link:hover { color: var(--ah-red); }
.floating-cta-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.floating-cta-btn { display: block; text-align: center; background-color: var(--ah-text-dark); color: #fff; text-decoration: none; padding: 12px; border-radius: 4px; font-weight: 600; font-size: 0.9rem; margin-top: 25px; transition: background-color 0.3s, transform 0.2s; }
.floating-cta-btn:hover { background-color: var(--ah-red); transform: translateY(-2px); }

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .icon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .header { flex-direction: column; gap: 15px; height: auto; padding: 15px; }
    .logo { height: 40px; }
    .nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
    /* Dropdown auf Mobile: kein echtes :hover auf Touch, daher blieb das Menu nur bei langem Druck
       sichtbar. Hover-Anzeige wird deaktiviert, stattdessen oeffnet ein eigener Toggle-Button (naechste
       Regeln) das Untermenue per Tap - siehe .dropdown-toggle Skript am Seitenende. */
    .nav-item:hover .dropdown { display: none; }
    .nav-item { position: relative; }
    .dropdown-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 32px; height: 32px; margin-left: 2px; padding: 0;
        background: none; border: none; font-size: 14px; color: var(--ah-text-gray); cursor: pointer;
    }
    .nav-item .dropdown.is-open { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.2rem; }
    .logos-container { gap: 30px; }
    .subpage-hero { height: 250px; }
    .hero-title-box { left: 20px; right: 20px; text-align: center; padding: 15px; }
    .hero-title-box h1 { font-size: 1.4rem; }
    .split-row, .split-row.reverse { flex-direction: column; gap: 40px; margin-top: 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-data-container { flex-direction: column; gap: 40px; }
}
@media (max-width: 600px) {
    .floating-cta-wrapper { width: 280px; right: -280px; }
    .split-image-grid { grid-template-columns: repeat(2, 1fr); }
    .icon-grid-2 { grid-template-columns: 1fr; }
    .icon-grid { grid-template-columns: 1fr; }
    .card-item, .technique-card { width: 100%; max-width: 100%; }
    .gallery-grid { grid-template-columns: 1fr; }
}
/* ===== FIRMENGESCHICHTE: TEAM-KACHELN & TIMELINE (nur geschichte.html) ===== */
.management-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 100px; max-width: 1100px; margin-left: auto; margin-right: auto; margin-top: 40px; }
.management-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--ah-text-dark); }
.management-card img { width: 100%; height: auto; display: block; aspect-ratio: 3/2; object-fit: cover; }
.management-caption { padding: 25px; font-size: 1rem; color: var(--ah-text-gray); line-height: 1.6; }
.management-caption strong { color: var(--ah-text-dark); display: block; margin-bottom: 8px; }

.timeline { position: relative; max-width: 1000px; margin: 80px auto; }
.timeline::after {
    content: ''; position: absolute; width: 4px;
    background: linear-gradient(to bottom, rgba(212, 59, 48, 0.0) 0%, var(--ah-red) 15%, var(--ah-red) 85%, rgba(212, 59, 48, 0.0) 100%);
    top: 0; bottom: 0; left: 50%; margin-left: -2px; border-radius: 4px;
}

.timeline-item { padding: 10px 45px; position: relative; background-color: inherit; width: 50%; box-sizing: border-box; margin-bottom: 30px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

.timeline-dot {
    position: absolute; width: 22px; height: 22px; background-color: #fff;
    border: 4px solid var(--ah-red); border-radius: 50%; top: 32px; right: -11px;
    z-index: 2; box-shadow: 0 0 0 4px rgba(212, 59, 48, 0.15); transition: background-color 0.3s, transform 0.3s;
}
.timeline-item:nth-child(even) .timeline-dot { left: -11px; }

.timeline-date {
    font-family: inherit; font-size: 2.4rem; color: var(--ah-text-dark);
    font-weight: 800; letter-spacing: -1px; position: absolute; top: 14px; width: 120px;
    transition: color 0.3s ease;
}
.timeline-item:nth-child(odd) .timeline-date { right: -170px; text-align: left; }
.timeline-item:nth-child(even) .timeline-date { left: -170px; text-align: right; }

.timeline-content {
    padding: 30px; background: #fff; border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04); border: 1px solid #eaeaea;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; position: relative;
}
.timeline-content p { margin: 0; font-size: 1.05rem; color: var(--ah-text-dark); line-height: 1.6; }
.timeline-content a { color: var(--ah-red); font-weight: 600; text-decoration: none; }
.timeline-content a:hover { text-decoration: underline; }

.timeline-item:hover .timeline-content {
    transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); border-color: rgba(212,59,48,0.4);
}
.timeline-item:hover .timeline-dot { background-color: var(--ah-red); transform: scale(1.1); }
.timeline-item:hover .timeline-date { color: var(--ah-red); }

.timeline-content::before { content: ''; position: absolute; top: 30px; width: 0; height: 0; border-style: solid; z-index: 1; }
.timeline-content::after { content: ''; position: absolute; top: 31px; width: 0; height: 0; border-style: solid; z-index: 2; }

.timeline-item:nth-child(odd) .timeline-content::before { right: -12px; border-width: 10px 0 10px 12px; border-color: transparent transparent transparent #eaeaea; }
.timeline-item:nth-child(odd) .timeline-content::after { right: -10px; border-width: 9px 0 9px 11px; border-color: transparent transparent transparent #fff; }

.timeline-item:nth-child(even) .timeline-content::before { left: -12px; border-width: 10px 12px 10px 0; border-color: transparent #eaeaea transparent transparent; }
.timeline-item:nth-child(even) .timeline-content::after { left: -10px; border-width: 9px 11px 9px 0; border-color: transparent #fff transparent transparent; }

@media (max-width: 900px) {
    .management-grid { grid-template-columns: 1fr; gap: 30px; }
    .timeline { margin: 40px auto; padding: 0 15px; }
    .timeline::after { left: 35px; background: var(--ah-red); }
    .timeline-item { width: 100%; padding-left: 75px; padding-right: 0; text-align: left !important; margin-bottom: 40px; }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot { left: 24px !important; top: 12px !important; }
    .timeline-date { position: relative; top: 0; left: 0 !important; right: 0 !important; text-align: left !important; margin-bottom: 10px; font-size: 1.8rem; }
    .timeline-item:nth-child(odd) .timeline-content::before, .timeline-item:nth-child(even) .timeline-content::before { left: -12px; right: auto; border-width: 10px 12px 10px 0; border-color: transparent #eaeaea transparent transparent; top: 20px; }
    .timeline-item:nth-child(odd) .timeline-content::after, .timeline-item:nth-child(even) .timeline-content::after { left: -10px; right: auto; border-width: 9px 11px 9px 0; border-color: transparent #fff transparent transparent; top: 21px; }
}

/* ===== MASCHINENPARK: MASCHINEN-KARTEN (nur maschinenpark.html) ===== */
.machine-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.machine-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-top: 4px solid var(--ah-red);
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.machine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.card-image-wrapper {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--ah-bg-light);
    padding-bottom: 20px;
}

.card-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 4px;
    transition: transform 0.3s;
}

.machine-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.machine-card h2 { font-size: 1.6rem; color: var(--ah-text-dark); margin: 0 0 10px 0; font-weight: 300;}
.machine-card h4 { font-size: 1.05rem; color: var(--ah-red); margin: 0 0 20px 0; font-weight: 600;}

@media (max-width: 900px) {
    .machine-cards-grid { grid-template-columns: 1fr; }
}

/* ===== PARTNER: INTRO & PARTNER-GRID (nur partner.html) ===== */
.intro-block { max-width: 900px; margin: 0 auto 60px auto; text-align: center; }

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 30px 20px;
    background: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: var(--ah-red);
}

.partner-logo-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.partner-logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.partner-card:hover .partner-logo-wrapper img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-card h4 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--ah-text-dark);
    font-weight: 600;
}

.partner-card p {
    font-size: 0.95rem;
    color: var(--ah-text-gray);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

@media (max-width: 900px) {
    .partner-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 600px) {
    .partner-grid { grid-template-columns: 1fr; }
}

/* ===== QUALITAETSSICHERUNG: HIGHLIGHT-BOX-MODIFIER & MESS-KARTEN (nur qualitaetssicherung.html) ===== */
.highlight-box.qs-highlight {
    border-radius: 0 4px 4px 0;
    margin: 60px auto;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.highlight-box.qs-highlight h3 { margin: 0 0 15px 0; font-size: 1.6rem; color: var(--ah-text-dark); font-weight: 300; }
.highlight-box.qs-highlight p { font-size: 1.1rem; }

.machine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.qs-machine-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-top: 3px solid var(--ah-text-dark);
    border-radius: 6px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.qs-machine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-top-color: var(--ah-red);
}

.machine-image-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.machine-image-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.qs-machine-card h4 {
    font-size: 1.3rem;
    color: var(--ah-text-dark);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.qs-machine-card p {
    font-size: 1rem;
    color: var(--ah-text-gray);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .machine-grid { grid-template-columns: 1fr; }
    .highlight-box.qs-highlight { border-left: none; border-top: 4px solid var(--ah-red); border-radius: 4px; }
}

/* ===== ZERTIFIKATE: ZERTIFIKATS-KARTEN (nur zertifikate.html) ===== */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.cert-card { background: #fff; border: 1px solid #eaeaea; border-top: 4px solid var(--ah-red); padding: 40px; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); display: flex; flex-direction: column; align-items: center; text-align: center;}
.cert-card h3 { font-size: 1.5rem; color: var(--ah-text-dark); margin-top: 0; margin-bottom: 25px; }

.cert-image-wrapper { height: 260px; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; width: 100%; }
.cert-card img { height: 260px; width: auto; object-fit: contain; box-shadow: 0 5px 25px rgba(0,0,0,0.08); transition: transform 0.2s;}
.cert-card img:hover { transform: translateY(-5px); }

.btn-group { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; width: 100%; margin-top: auto;}
.btn-download { background-color: var(--ah-text-dark); color: #ffffff; padding: 12px 25px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.2s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-download:hover { background-color: var(--ah-red); color: #ffffff; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(212, 59, 48, 0.3); }

@media (max-width: 900px) {
    .cert-grid { grid-template-columns: 1fr; }
}

/* ===== KARRIERE: JOB-KARTEN (nur karriere.html) ===== */
.jobs-wrapper { margin-top: 100px; text-align: center; }
.jobs-wrapper h3 { font-weight: 300; color: var(--ah-text-dark); font-size: 2rem; margin-bottom: 20px; }
.jobs-wrapper p { max-width: 800px; margin: 0 auto 50px auto; }

.job-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-top: 4px solid var(--ah-red);
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 300px;
    max-width: 400px;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.job-card span { display: block; font-size: 0.9rem; color: var(--ah-text-gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; font-weight: 600; }
.job-card h4 { margin: 0 0 20px 0; font-size: 1.3rem; color: var(--ah-text-dark); font-weight: 600; line-height: 1.4; }

/* ===== AKTUELLES: NEWS-GRID (nur aktuelles.html) ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.news-card {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    border: 1px solid #eaeaea;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-bottom-color: var(--ah-red);
}

.news-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image-wrapper img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--ah-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.news-title {
    margin: 0;
    font-size: 1.2rem;
    color: var(--ah-text-dark);
    font-weight: 600;
    line-height: 1.4;
}

.news-read-more {
    margin-top: auto;
    padding-top: 20px;
    color: var(--ah-red);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-read-more::after {
    content: '→';
    transition: transform 0.2s;
}

.news-card:hover .news-read-more::after {
    transform: translateX(4px);
}

/* ===== KONTAKT: FORMULAR & MAP BOXEN (nur kontakt.html) ===== */
.form-box { background: var(--ah-bg-light); border-top: 4px solid var(--ah-red); padding: 50px; border-radius: 4px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); max-width: 900px; margin: 0 auto 80px auto; }
.form-box h3 { font-size: 1.8rem; color: var(--ah-text-dark); margin-top: 0; font-weight: 300; margin-bottom: 30px; text-align: center;}

.map-box { max-width: 100%; overflow: hidden; border-radius: 4px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.map-box iframe { display: block; width: 100%; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-weight: 600; font-size: 0.95rem; color: var(--ah-text-dark); }
.contact-form .required-symbol { color: var(--ah-red); }
.contact-form input, .contact-form textarea { font-family: inherit; font-size: 1rem; padding: 12px 15px; border: 1px solid #dcdcdc; border-radius: 4px; color: var(--ah-text-dark); background: #ffffff; transition: border-color 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ah-red); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .form-submit-btn { align-self: center; margin-top: 10px; border: none; cursor: pointer; font-family: inherit; }
.contact-form .form-submit-btn:disabled { opacity: 0.6; cursor: default; }
.contact-form .form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-status { font-size: 0.95rem; font-weight: 500; min-height: 1.2em; }
.contact-form .form-status.success { color: #2e7d32; }
.contact-form .form-status.error { color: var(--ah-red); }

/* ===== AKTUELLES: EINZEL-ARTIKEL-SEITEN (nur aktuelles/*.html) ===== */
.article-meta { color: var(--ah-text-gray); font-size: 0.95rem; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 0.5px; }
.article-featured-image { max-width: 800px; margin: 0 auto 40px auto; text-align: center; background: var(--ah-bg-light); border-radius: 4px; padding: 10px; }
.article-featured-image img { max-width: 100%; max-height: 480px; height: auto; border-radius: 4px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.article-body { max-width: 800px; margin: 0 auto; }
.article-body p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; color: var(--ah-text-gray); }
.article-body blockquote { margin: 30px 0; padding: 20px 30px; border-left: 4px solid var(--ah-red); background: var(--ah-bg-light); font-style: italic; color: var(--ah-text-dark); border-radius: 0 4px 4px 0; }
.article-gallery { max-width: 800px; margin: 40px auto 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; }
.article-gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.article-nav { max-width: 800px; margin: 60px auto 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; padding-top: 30px; border-top: 1px solid #eaeaea; }
.article-nav a { color: var(--ah-red); text-decoration: none; font-weight: 500; }
.article-nav a:hover { text-decoration: underline; }
.article-nav .article-nav-back { color: var(--ah-text-dark); flex-basis: 100%; text-align: center; order: 3; margin-top: 10px; }
@media (max-width: 600px) {
    .article-nav { flex-direction: column; text-align: center; }
    .article-nav .article-nav-back { order: 0; margin-top: 0; }
}

@media (max-width: 900px) {
    .form-box { padding: 30px 20px; }
}

/* ===== ANGEBOT ANFORDERN: WIZARD (nur angebot-anfordern.html) ===== */
.aq-wizard {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eaeaea;
    border-top: 4px solid var(--ah-red);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Nummerierte Schrittanzeige */
.aq-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 40px 0 40px;
}
@media (max-width: 600px) { .aq-steps-indicator { padding: 22px 16px 0 16px; } }

.aq-step-dot-wrap { display: flex; align-items: center; flex: 1; }
.aq-step-dot-wrap:last-child { flex: 0; }
.aq-step-dot {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; font-weight: 700;
    background: var(--ah-bg-light); color: var(--ah-text-gray);
    border: 2px solid #eaeaea;
    flex-shrink: 0;
    transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.aq-step-dot svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; display: none; }
.aq-step-line { flex: 1; height: 2px; background: #eaeaea; margin: 0 8px; transition: background-color 0.25s; }

.aq-step-dot-wrap.is-active .aq-step-dot { background: var(--ah-red); border-color: var(--ah-red); color: #fff; }
.aq-step-dot-wrap.is-done .aq-step-dot { background: var(--ah-text-dark); border-color: var(--ah-text-dark); color: #fff; }
.aq-step-dot-wrap.is-done .aq-step-dot span { display: none; }
.aq-step-dot-wrap.is-done .aq-step-dot svg { display: block; }
.aq-step-dot-wrap.is-done .aq-step-line { background: var(--ah-text-dark); }

.aq-body { padding: 40px 50px 50px 50px; }
@media (max-width: 600px) {
    .aq-body { padding: 24px 20px 30px 20px; }
}

.aq-step-label { font-size: 0.85rem; font-weight: 600; color: var(--ah-red); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.aq-step-title { font-size: 1.8rem; font-weight: 300; color: var(--ah-text-dark); margin: 0 0 30px 0; line-height: 1.25; }
.aq-step-intro { font-size: 1rem; color: var(--ah-text-gray); margin: -20px 0 30px 0; }

.aq-step { display: none; }
.aq-step.active { display: block; animation: aqFadeIn 0.3s ease; }
@keyframes aqFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.aq-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 600px) { .aq-service-grid { grid-template-columns: 1fr; } }

.aq-service-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 18px 20px;
    cursor: pointer;
    text-align: left;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s, transform 0.2s;
}
.aq-service-card:hover { border-color: var(--ah-red); box-shadow: 0 8px 20px rgba(0,0,0,0.06); transform: translateY(-2px); }
.aq-service-card.selected { border-color: var(--ah-red); background: var(--ah-bg-light); box-shadow: 0 0 0 1px var(--ah-red); }
.aq-service-card-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--ah-bg-light);
    color: var(--ah-text-dark);
    transition: background-color 0.2s, color 0.2s;
}
.aq-service-card-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aq-service-card:hover .aq-service-card-icon,
.aq-service-card.selected .aq-service-card-icon { background: var(--ah-red); color: #fff; }
.aq-service-card h3 { margin: 0 0 3px 0; font-size: 1.02rem; font-weight: 600; color: var(--ah-text-dark); }
.aq-service-card p { margin: 0; font-size: 0.87rem; color: var(--ah-text-gray); line-height: 1.4; }

.aq-body .form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aq-field-group { margin-bottom: 22px; text-align: left; }
.aq-field-group label { display: block; font-size: 0.95rem; font-weight: 600; color: var(--ah-text-dark); margin-bottom: 8px; }
.aq-field-group .required-symbol { color: var(--ah-red); }
.aq-field-group input[type="text"],
.aq-field-group input[type="number"],
.aq-field-group input[type="email"],
.aq-field-group input[type="tel"],
.aq-field-group select,
.aq-field-group textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    color: var(--ah-text-dark);
    background: #ffffff;
    transition: border-color 0.2s;
}
.aq-field-group input:focus, .aq-field-group select:focus, .aq-field-group textarea:focus { outline: none; border-color: var(--ah-red); }
.aq-field-group textarea { resize: vertical; min-height: 100px; }
.aq-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .aq-field-row { grid-template-columns: 1fr; } }

.aq-upload-zone {
    position: relative;
    border: 2px dashed #dcdcdc;
    border-radius: 6px;
    padding: 40px 20px;
    text-align: center;
    background: var(--ah-bg-light);
    transition: border-color 0.2s, background-color 0.2s;
}
.aq-upload-zone:hover, .aq-upload-zone.dragover { border-color: var(--ah-red); background: #fff5f4; }
.aq-upload-zone-icon { width: 44px; height: 44px; margin: 0 auto 14px auto; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.aq-upload-zone-icon svg { width: 22px; height: 22px; stroke: var(--ah-red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aq-upload-zone h3 { margin: 0 0 6px 0; font-size: 1.05rem; font-weight: 600; color: var(--ah-text-dark); }
.aq-upload-zone p { margin: 0; font-size: 0.85rem; color: var(--ah-text-gray); }
.aq-upload-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.aq-file-display { margin-top: 16px; padding: 12px 16px; background: var(--ah-bg-light); border: 1px solid var(--ah-red); color: var(--ah-text-dark); border-radius: 4px; font-size: 0.9rem; font-weight: 500; display: none; }
.aq-upload-note { margin-top: 16px; font-size: 0.85rem; color: var(--ah-text-gray); }

.aq-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid #eaeaea; display: flex; justify-content: space-between; align-items: center; }
.aq-btn-email { display: inline-block; background: var(--ah-red); color: #fff; text-align: center; text-decoration: none; padding: 14px 28px; }
.aq-btn-email:hover { background: #b52d24; transform: translateY(-1px); }
@media (max-width: 600px) { .aq-footer { flex-wrap: wrap; gap: 12px; } .aq-btn-email { order: 3; width: 100%; } }
.aq-btn { padding: 14px 32px; border-radius: 4px; font-weight: 600; font-size: 1rem; cursor: pointer; border: none; font-family: inherit; transition: background-color 0.2s, transform 0.2s; }
.aq-btn-primary { background: var(--ah-text-dark); color: #fff; }
.aq-btn-primary:hover { background: var(--ah-red); transform: translateY(-1px); }
.aq-btn-secondary { background: transparent; color: var(--ah-text-gray); padding: 14px 0; }
.aq-btn-secondary:hover { color: var(--ah-text-dark); }
.aq-hidden { display: none !important; }

.aq-status { margin-top: 20px; font-size: 0.95rem; font-weight: 500; min-height: 1.2em; text-align: center; }
.aq-status.success { color: #2e7d32; }
.aq-status.error { color: var(--ah-red); }

.aq-summary { background: var(--ah-bg-light); border-left: 4px solid var(--ah-red); border-radius: 0 4px 4px 0; padding: 16px 20px; margin-bottom: 30px; font-size: 0.95rem; color: var(--ah-text-dark); }
.aq-summary strong { color: var(--ah-red); }
