:root { --accent: #a0262a; --accent-dark: #841e22; --accent-light: #f5cfd0; --accent-soft: #fbeeee; --ease-out: cubic-bezier(.22,.61,.36,1); }
::selection { background: #a0262a; color: white; }
.hero h1 { font-size: clamp(32px,4.3vw,64px); max-width: 900px; }
.button, .contact-form button { transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.button:hover, .contact-form button:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #a0262a26; }
.button:not(.button-outline):hover { background: var(--accent-dark); }
.quick-links > a, .product-card, .model-card, .gallery-item { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.quick-links > a:hover { background: var(--accent-soft); }
.product-card:hover, .model-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px #102d3e12; border-color: #a0262a66; }
.product-card img, .gallery-item img { transition: transform .45s ease; }
.product-card:hover img, .gallery-item:hover img { transform: scale(1.035); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #a0262a; outline-offset: 4px; }

/* Logo-Rot für alle Akzente */
.header-row nav .nav-contact { background: var(--accent); }
.header-row nav .nav-contact:hover { background: var(--accent-dark); }
.back-to-top:hover { background: var(--accent); }
.competence-section + .cta-band h2 em { color: var(--accent); }

/* Hover-Effekte auf allen Seiten */
.brand-logo, .text-link svg, .button svg, .nav-contact svg, .mega-menu-top a svg, .mega-menu-extra svg, .service-navigation > div > a svg,
.catalog-card, .catalog-card h3 a, .reference-item, .reference-caption h2, .product-photo-button, .product-photo-button > img, .photo-expand,
.detail-hero-photo > img, .service-detail-photo > img, .about-image > img, .detail-facts li, .check-list li, .process-grid li > span,
.competence-grid > article, .faq-list summary, .footer a, .legal-links a, .legal-links button, .topbar a, .article-toc a, .article-card,
.article-card img, .article-body a:not(.button), .legal-page a:not(.button), .contact-form input, .contact-form textarea, .contact-form select {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .3s ease, transform .35s var(--ease-out);
}
.header-row nav > a:not(.nav-contact), .nav-disclosure > summary { position: relative; }
.header-row nav > a:not(.nav-contact)::after, .nav-disclosure > summary::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav-disclosure > summary::after { right: 22px; }
.header-row nav > a:not(.nav-contact):hover::after, .header-row nav > a[aria-current]::after,
.nav-disclosure > summary:hover::after, .nav-disclosure[open] > summary::after { transform: scaleX(1); }
.nav-disclosure > summary:hover { color: var(--accent); }
.topbar a:hover { color: var(--accent-light); }
.footer a:hover, .legal-links a:hover, .legal-links button:hover { color: var(--accent-light); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details[open] summary { color: var(--accent); }
.catalog-card h3 a:hover, .catalog-card:hover h3 a { color: var(--accent); }
.reference-item:hover { border-bottom-color: var(--accent); }
.reference-item:hover .reference-caption h2 { color: var(--accent); }
.product-photo-button:hover { border-color: #a0262a80; box-shadow: 0 12px 28px #102d3e14; }
.product-photo-button:hover .photo-expand { background: var(--accent); color: #fff; }
.detail-facts li:hover { border-bottom-color: var(--accent); }
.process-grid li:hover > span { background: var(--accent); color: #fff; }
.article-body a:not(.button), .legal-page a:not(.button) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-body a:not(.button):hover, .legal-page a:not(.button):hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
.contact-form input:not([type=checkbox]):hover, .contact-form textarea:hover, .contact-form select:hover { border-color: #a0262a80; }
.contact-form input:not([type=checkbox]):focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #a0262a1f; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand:hover .brand-logo { transform: scale(1.04); }
  .button:hover svg, .text-link:hover svg, .nav-contact:hover svg, .mega-menu-top a:hover svg, .mega-menu-extra:hover svg,
  .service-navigation > div > a:hover svg { transform: translateX(5px); }
  .catalog-card:hover { transform: translateY(-6px); }
  .product-photo-button:hover { transform: translateY(-4px); }
  .product-photo-button:hover > img, .detail-hero-photo:hover > img, .service-detail-photo:hover > img, .about-image:hover > img { transform: scale(1.04); }
  .detail-facts li:hover, .check-list li:hover { transform: translateX(6px); }
  .process-grid li:hover > span { transform: scale(1.08); }
  .competence-grid > article:hover { transform: translateY(-5px); }
  .article-card:hover { transform: translateY(-6px); }
  .article-card:hover img { transform: scale(1.04); }
}

/* Einblenden beim Scrollen */
.reveal-pending { opacity: 0; transform: translateY(28px); }
.reveal { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.reveal-visible { opacity: 1; transform: none; }

/* Blog */
.article-hero { padding-top: 32px; padding-bottom: 40px; }
.article-hero h1 { max-width: 980px; font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.12; margin-top: 19px; }
.article-lead { max-width: 780px; margin-top: 23px; font-size: 19px; line-height: 1.75; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; font-weight: 650; color: var(--muted); }
.article-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta > span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.article-cover { margin: 0 0 60px; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.article-cover img { width: 100%; height: clamp(260px, 42vw, 520px); object-fit: cover; }
.article-cover figcaption, .article-figure figcaption { padding: 12px 20px; font-size: 14px; color: var(--muted); }
.article-single { padding-bottom: 80px; }
.article-body > h2:first-child { margin-top: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 70px; align-items: start; padding-bottom: 80px; }
.article-body { max-width: 760px; font-size: 17px; line-height: 1.85; }
.article-body > * + * { margin-top: 22px; }
.article-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.25; letter-spacing: -.03em; margin-top: 60px; scroll-margin-top: 130px; }
.article-body h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.02em; margin-top: 36px; }
.article-body ul, .article-body ol { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.article-body ul > li { position: relative; padding-left: 28px; }
.article-body ul > li::before { content: ''; position: absolute; left: 4px; top: .75em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.article-body ol { counter-reset: step; }
.article-body ol > li { position: relative; padding-left: 50px; counter-increment: step; }
.article-body ol > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-weight: 800; color: var(--accent); }
.article-note { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; }
.article-note strong { display: block; color: var(--accent); margin-bottom: 6px; }
.article-figure { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.article-figure img { width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; }
.article-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.article-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.article-table th, .article-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.article-table thead th { background: var(--dark); color: #fff; font-weight: 700; }
.article-table tbody tr:last-child td { border-bottom: 0; }
.article-table tbody tr { transition: background-color .2s ease; }
.article-table tbody tr:hover { background: var(--accent-soft); }
.article-table td:first-child { font-weight: 700; }
.article-aside { position: sticky; top: 130px; display: grid; gap: 22px; }
.article-toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.article-toc > p { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--accent); margin-bottom: 12px; }
.article-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc a { display: flex; gap: 12px; padding: 7px 10px; margin-inline: -10px; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.article-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-weight: 800; }
.article-toc a:hover, .article-toc a[aria-current='true'] { background: var(--accent-soft); color: var(--accent); }
.article-cta { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 26px; }
.article-cta strong { display: block; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.article-cta p { margin: 10px 0 20px; font-size: 14px; color: #c6d4db; }
.article-cta .button { width: 100%; }
.article-body .faq-list { margin-top: 26px; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; padding-bottom: 90px; }
.article-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.article-card:hover { border-color: #a0262a66; box-shadow: 0 16px 34px #102d3e14; }
.article-card-image { overflow: hidden; background: var(--soft); }
.article-card img { width: 100%; height: 230px; object-fit: cover; }
.article-card-body { display: flex; flex-direction: column; gap: 12px; padding: 26px; flex: 1; }
.article-card-body h2 { font-size: 23px; line-height: 1.3; letter-spacing: -.03em; }
.article-card:hover h2 { color: var(--accent); }
.article-card-body > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.article-card-body .text-link { margin-top: auto; color: var(--accent); }
@media (max-width: 980px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article-table { min-width: 560px; }
  .article-aside { position: static; order: -1; }
  .article-cta { display: none; }
}

.contact-form { margin-top: 28px; }
.contact-form button[type=submit] { background: var(--accent); color: white; cursor: pointer; }
.contact-form input, .contact-form textarea, .contact-form select, .contact-form button, .form-errors { scroll-margin-top: 160px; }
.contact-page .floating-contact { display: none; }
.contact-page .back-to-top { bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label:not(.consent) { display: block; font-weight: 700; margin: 18px 0 6px; font-size: 14px; }
.contact-form input:not([type=checkbox]), .contact-form textarea, .contact-form select { display: block; width: 100%; border: 1px solid #cad4d8; border-radius: 8px; padding: 13px 14px; font: inherit; background: white; color: var(--ink); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form .input-validation-error { border-color: var(--accent); }
.field-validation-error, .form-errors { color: #8f2226; font-size: 14px; }
.validation-summary-valid { display: none; }
.form-errors:not(.validation-summary-valid) { background: #fdf1f1; border-left: 3px solid var(--accent); padding: 16px 20px; }
.consent { display: flex; align-items: start; gap: 12px; margin: 24px 0; font-size: 13px; line-height: 1.6; }
.consent input { flex-shrink: 0; width: 19px; height: 19px; margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-form button:disabled { opacity: .65; cursor: wait; }.confirmation { max-width: 850px; min-height: 55vh; }
.confirmation p { margin: 24px 0; }
@media (max-width: 650px) { .form-grid { grid-template-columns: 1fr; gap: 0; } .hero h1 { font-size: clamp(30px,7.4vw,42px); } .article-body { font-size: 16px; } .article-lead { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto !important; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
 .reveal-pending, .reveal-visible { opacity: 1; transform: none; }
 .button:hover, .product-card:hover, .model-card:hover, .product-card:hover img, .gallery-item:hover img { transform: none; }
}
