/* ============================================
   Insdel — Autolackiererei & Karosserie
   GLOBAL
   ============================================ */

:root {
  --bg: #0c0f13;
  --bg-elevated: #12161c;
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #d5dbe2;
  --heading: #f2f5f9;
  --muted: #98a4b2;
  --accent: #3b6ee0;
  --cta: #2f5fd0;
  --cta-hover: #4275ea;
  --accent-light: #7fa4f0;
  --success: #3d9b6a;
  --error: #d45a5a;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;
  --max: 1240px;
  --header-h: 74px;
  --font-display: "Space Grotesk", Helvetica, Arial, sans-serif;
  --font-body: "Barlow", Helvetica, Arial, sans-serif;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --transition: 280ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #a8c2f5;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

p {
  overflow-wrap: anywhere;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.85rem;
}

.section {
  padding: 5.5rem 0;
}

.section--tight {
  padding: 3.5rem 0;
}

.section__header {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section__header p {
  margin-top: 0.85rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--cta);
  color: #fff;
}

.btn--primary:hover {
  background: var(--cta-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.btn--full {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), background var(--transition);
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--card-hover);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Image placeholder */
.img-ph {
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(145deg, rgba(59, 110, 224, 0.12), transparent 55%),
    linear-gradient(180deg, #161b22 0%, #0e1218 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.img-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.015) 12px,
      rgba(255, 255, 255, 0.015) 24px
    );
  pointer-events: none;
}

.img-ph span {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
}

.img-ph--tall {
  aspect-ratio: 4 / 5;
}

.img-ph--square {
  aspect-ratio: 1;
}

.img-ph--hero {
  aspect-ratio: 5 / 4;
}

.img-label {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.content-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background: #10151b;
}

.hero__visual .content-img {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.product-card > .content-img,
.blog-card > .content-img {
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 4 / 3;
  transition: transform 400ms ease;
}

.blog-card > .content-img {
  aspect-ratio: 16 / 10;
}

.blog-card:hover > .content-img,
.product-card:hover > .content-img {
  transform: scale(1.02);
}

.gallery-item .content-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 400ms ease;
}

.gallery-item:hover .content-img {
  transform: scale(1.02);
}

.photo-grid .content-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-grid .content-img--wide,
.photo-grid .content-img[style*="grid-column"] {
  aspect-ratio: 16 / 9;
}

.article .content-img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  margin-bottom: 2rem;
}

.lightbox__stage .content-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(12, 15, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--heading);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--heading);
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), #1e3f8a);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.logo__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
}

.logo__text span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  white-space: nowrap;
}

.nav a:hover,
.nav a.is-active {
  color: var(--heading);
  background: rgba(255, 255, 255, 0.04);
}

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--heading);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: 3.5rem 0 4.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  margin-bottom: 1.35rem;
}

.hero h1 {
  margin-bottom: 1.15rem;
}

.hero__lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.85rem;
}

.hero__visual {
  position: relative;
}

.hero__tech-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: auto;
  width: min(240px, calc(100% - 2rem));
  background: rgba(12, 15, 19, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  z-index: 2;
}

.hero__tech-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 0.35rem;
}

.hero__tech-card p {
  font-size: 0.88rem;
  color: var(--heading);
  margin-bottom: 0.65rem;
}

.hero__bars {
  display: grid;
  gap: 0.35rem;
}

.hero__bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero__bar i {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--accent);
  border-radius: 4px;
}

.hero__bar:nth-child(2) i {
  width: 58%;
  background: var(--accent-light);
}

.hero__bar:nth-child(3) i {
  width: 84%;
}

/* ============================================
   SECTIONS — Trust strip
   ============================================ */

.trust {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  padding: 1.75rem 0;
}

.trust__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.trust__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.trust__list li {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--heading);
  position: relative;
  padding-left: 1rem;
}

.trust__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================
   SERVICES
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 0.85rem;
}

.service-card h3 {
  margin-bottom: 0.65rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.98rem;
  flex-grow: 1;
}

.service-card__price {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--heading);
  font-weight: 500;
}

.price-note {
  margin-top: 1.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 900px;
}

/* ============================================
   PROCESS
   ============================================ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.process-card__num {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.process-card h3 {
  margin-bottom: 0.55rem;
}

.process-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================
   BEFORE AFTER
   ============================================ */

.ba-wrap {
  display: grid;
  gap: 1.5rem;
}

.ba-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  user-select: none;
  touch-action: none;
  background: #10151b;
}

.ba-slider__layer {
  position: absolute;
  inset: 0;
}

.ba-slider__before {
  z-index: 1;
}

.ba-slider__after {
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.ba-slider__layer .img-ph,
.ba-slider__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}

.ba-slider__after .img-ph,
.ba-slider__after img {
  width: var(--ba-full-width, 100%);
  max-width: none;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  top: 1rem;
  z-index: 4;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: rgba(12, 15, 19, 0.75);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--heading);
}

.ba-label--before {
  left: 1rem;
}

.ba-label--after {
  right: 1rem;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  z-index: 5;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.ba-handle__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(12, 15, 19, 0.9);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  pointer-events: none;
}

.ba-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.ba-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

.ba-disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ============================================
   PRODUCTS
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.product-card .img-ph,
.product-card img {
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 4 / 3;
}

.product-card__body {
  padding: 1.25rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__cat {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-family: var(--font-display);
  margin-bottom: 0.45rem;
}

.product-card h3 {
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0;
  font-family: var(--font-display);
}

.product-card__price {
  font-size: 1.15rem;
  color: var(--heading);
  font-weight: 500;
}

.product-card__stock {
  font-size: 0.85rem;
  color: var(--success);
}

/* ============================================
   REFERENCES / TYPICAL WORK
   ============================================ */

.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.ref-card h3 {
  margin-bottom: 0.6rem;
}

.ref-card p {
  color: var(--muted);
}

/* ============================================
   BLOG
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  color: inherit;
}

.blog-card:hover {
  color: inherit;
}

.blog-card .img-ph,
.blog-card img {
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16 / 10;
  transition: transform 400ms ease;
}

.blog-card:hover img,
.blog-card:hover .img-ph {
  transform: scale(1.02);
}

.blog-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.blog-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.blog-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.article {
  padding: 3.5rem 0 5rem;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1rem 0 1.75rem;
}

.article__content {
  max-width: 760px;
}

.article__content h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.55rem;
}

.article__content h3 {
  margin: 1.65rem 0 0.65rem;
}

.article__content p,
.article__content ul {
  margin-bottom: 1rem;
  color: var(--text);
}

.article__content ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.article__content li {
  margin-bottom: 0.4rem;
}

.article__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-faq {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ============================================
   FAQ
   ============================================ */

.faq-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent-light);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__body {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
}

.faq-cta {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.faq-cta h3 {
  margin-bottom: 0.65rem;
}

.faq-cta p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
  padding: 2rem 0 5rem;
}

.final-cta__box {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(59, 110, 224, 0.16), transparent 50%),
    var(--card);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.final-cta__box p {
  color: var(--muted);
  margin-top: 0.85rem;
  max-width: 36rem;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.page-hero p {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 42rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--heading);
}

.breadcrumbs span {
  opacity: 0.5;
}

/* ============================================
   LEISTUNGEN DETAIL
   ============================================ */

.service-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 4rem;
}

.service-nav {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1rem;
}

.service-nav strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.75rem;
  padding: 0 0.35rem;
}

.service-nav a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
}

.service-nav a:hover,
.service-nav a.is-active {
  background: rgba(59, 110, 224, 0.12);
  color: var(--heading);
}

.service-detail {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.25rem;
}

.service-detail h2 {
  margin-bottom: 0.85rem;
}

.service-detail > p {
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.service-detail h3 {
  margin: 1.35rem 0 0.65rem;
  font-size: 1.05rem;
}

.service-detail ul {
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--muted);
}

.service-detail li {
  margin-bottom: 0.35rem;
}

.service-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.service-meta__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.18);
}

.service-meta__item span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.service-meta__item strong {
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 500;
}

/* ============================================
   PREISE TABLE
   ============================================ */

.price-alert {
  border: 1px solid rgba(127, 164, 240, 0.35);
  background: rgba(59, 110, 224, 0.1);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.price-table th {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td:last-child {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 500;
  white-space: nowrap;
}

.price-cat {
  margin: 2.5rem 0 1rem;
  font-size: 1.25rem;
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--heading);
  border-color: rgba(127, 164, 240, 0.45);
  background: rgba(59, 110, 224, 0.12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: inherit;
  width: 100%;
}

.gallery-item .img-ph,
.gallery-item img {
  transition: transform 400ms ease;
  aspect-ratio: 4 / 3;
}

.gallery-item:hover .img-ph,
.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(6, 8, 11, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__inner {
  max-width: min(960px, 100%);
  width: 100%;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox__caption {
  margin-top: 0.85rem;
  text-align: center;
  color: var(--muted);
}

/* ============================================
   ABOUT
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.about-points .card h3 {
  margin-bottom: 0.45rem;
}

.about-points .card p {
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.photo-grid .img-ph:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

/* ============================================
   FORMS / CONTACT
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 4rem;
}

.form {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--heading);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(127, 164, 240, 0.55);
}

.form-row .error-msg {
  display: none;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.form-row.has-error input,
.form-row.has-error textarea {
  border-color: var(--error);
}

.form-row.has-error .error-msg {
  display: block;
}

.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.25rem 0 1.5rem;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--cta);
}

.form-check label {
  font-size: 0.92rem;
  color: var(--muted);
}

.form-success {
  display: none;
  border: 1px solid rgba(61, 155, 106, 0.4);
  background: rgba(61, 155, 106, 0.12);
  color: #b7e0c8;
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.company-card h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.company-card dl {
  display: grid;
  gap: 1rem;
}

.company-card dt {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.company-card dd {
  color: var(--heading);
}

.placeholder-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--accent-light);
  background: rgba(59, 110, 224, 0.12);
  border: 1px dashed rgba(127, 164, 240, 0.35);
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal {
  padding: 3rem 0 5rem;
  max-width: 800px;
}

.legal h1 {
  margin-bottom: 1.25rem;
}

.legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.legal p,
.legal li {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.legal ul {
  padding-left: 1.2rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.todo-box {
  border: 1px dashed rgba(127, 164, 240, 0.4);
  background: rgba(59, 110, 224, 0.08);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: var(--text);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.75rem;
  background: #0a0d11;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand p {
  color: var(--muted);
  margin: 1rem 0;
  max-width: 280px;
  font-size: 0.95rem;
}

.footer__contact {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer__contact a {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.footer__contact a:hover {
  color: var(--heading);
}

.company-card dd a {
  overflow-wrap: anywhere;
}

.footer__col h3 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  color: var(--muted);
  padding: 0.28rem 0;
  font-size: 0.95rem;
}

.footer__col a:hover {
  color: var(--heading);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ============================================
   CART
   ============================================ */

.cart-fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1500;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--cta);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.cart-fab__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  color: #0c0f13;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  z-index: 2500;
  background: #10151b;
  border-left: 1px solid var(--border);
  transform: translateX(105%);
  transition: transform 320ms ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__head h2 {
  font-size: 1.15rem;
}

.cart-drawer__close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--heading);
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 2rem 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item h3 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.cart-item__controls button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}

.cart-item__remove {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: underline;
}

.cart-drawer__foot {
  border-top: 1px solid var(--border);
  padding: 1.15rem 1.25rem 1.5rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  margin-bottom: 1rem;
  color: var(--heading);
}

.cart-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 4000;
  max-width: 520px;
  margin-left: auto;
  background: #121820;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner h2 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.cookie-banner p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-settings {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.cookie-settings.is-open {
  display: block;
}

.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.cookie-cat:last-child {
  border-bottom: 0;
}

.cookie-cat strong {
  display: block;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.cookie-cat p {
  margin: 0;
  font-size: 0.85rem;
}

.cookie-cat input {
  margin-top: 0.25rem;
  accent-color: var(--cta);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .nav a {
    padding: 0.4rem 0.4rem;
    font-size: 0.85rem;
  }

  .services-grid,
  .products-grid,
  .refs-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header__cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(12, 15, 19, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.15rem;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.75rem;
    font-size: 1rem;
  }

  .nav .btn {
    margin-top: 0.5rem;
    width: 100%;
  }

  .hero__grid,
  .faq-layout,
  .final-cta__box,
  .about-grid,
  .contact-grid,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-nav {
    position: static;
  }

  .final-cta__actions {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .section {
    padding: 3.75rem 0;
  }

  .services-grid,
  .products-grid,
  .refs-grid,
  .blog-grid,
  .gallery-grid,
  .process-grid,
  .footer__grid,
  .service-meta,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid .img-ph:first-child {
    grid-column: auto;
  }

  .btn {
    width: 100%;
  }

  .btn-group {
    flex-direction: column;
  }

  .hero__tech-card {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 0.85rem;
  }

  .ba-slider {
    aspect-ratio: 4 / 3;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}
