:root {
  --blue: #0f77b7;
  --blue-dark: #063f73;
  --blue-deep: #042f56;
  --blue-soft: #e9f5fd;
  --blue-soft-2: #f5fbff;
  --white: #ffffff;
  --text: #102a43;
  --muted: #60758a;
  --line: #d9e8f2;
  --shadow: 0 22px 60px rgba(6, 63, 115, 0.14);
  --shadow-soft: 0 12px 35px rgba(6, 63, 115, 0.10);
  --radius: 28px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: Inter, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(18px, 6vw, 92px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(6, 63, 115, 0.10);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, min-height 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(6, 63, 115, 0.12);
}

.header-pattern {
  position: relative;
  display: inline-flex;
  width: clamp(118px, 10vw, 168px);
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(15, 119, 183, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(233,245,253,.78));
  box-shadow: 0 8px 22px rgba(6, 63, 115, 0.055);
  text-decoration: none;
}

.header-pattern::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(6,63,115,.14), rgba(15,119,183,.44), rgba(6,63,115,.14));
}

.header-pattern::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(15, 119, 183, 0.72);
  box-shadow: calc(clamp(118px, 10vw, 168px) - 43px) 0 0 rgba(15, 119, 183, 0.32);
}

.pattern-line {
  position: absolute;
  inset: 0;
  opacity: .6;
  background-image: linear-gradient(115deg, transparent 0 43%, rgba(15,119,183,.13) 43% 45%, transparent 45% 55%, rgba(15,119,183,.10) 55% 57%, transparent 57% 100%);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  position: relative;
  padding: 10px 12px;
  color: var(--blue-deep);
  font-weight: 850;
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
  background: var(--blue-soft);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 15px;
  background: var(--blue-dark);
  cursor: pointer;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  isolation: isolate;
  padding: clamp(70px, 8vw, 120px) clamp(18px, 6vw, 92px) clamp(110px, 10vw, 150px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 25%, rgba(24, 145, 211, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(4, 47, 86, 0.92), rgba(15, 119, 183, 0.76)),
    url("bilder/hero.jpg") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -24% -8%;
  height: 45%;
  z-index: -1;
  background: var(--white);
  transform: skewY(-3deg);
  transform-origin: left top;
}

.hero-inner {
  width: min(1360px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(560px, 1.1fr) minmax(410px, 0.82fr);
  align-items: center;
  gap: clamp(44px, 5.6vw, 90px);
}

.simple-showcase {
  position: relative;
  display: grid;
  place-items: center;
}

.simple-showcase::before {
  content: "";
  position: absolute;
  inset: 12% 3% 8% 8%;
  border-radius: 44px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(4px);
  z-index: -1;
}

.hero-logo-card {
  width: min(100%, 860px);
  padding: clamp(12px, 1.5vw, 20px);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(6px);
}

.hero-logo {
  width: 100%;
  border-radius: 20px;
}

.hero-copy { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dff3ff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero h1 {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(2.15rem, 4.8vw, 4.85rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 168px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-hero {
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(0, 31, 58, 0.25);
}

.btn-hero:hover {
  background: #f4fbff;
  box-shadow: 0 22px 46px rgba(0, 31, 58, 0.32);
}

.section {
  padding: clamp(76px, 9vw, 120px) clamp(18px, 6vw, 92px);
}

.section-soft {
  background: linear-gradient(180deg, var(--blue-soft-2), #ffffff 66%), var(--blue-soft-2);
}

.section-title {
  width: min(820px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.section-title span,
.category-card span,
.machine-category,
.price-label,
.sub-nav-title {
  color: var(--blue);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title h1,
.section-title h2,
.contact-card h2,
.page-hero h1,
.cta-strip h2 {
  margin-top: 8px;
  color: var(--blue-deep);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-title p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

.category-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(6, 63, 115, 0.10);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 119, 183, 0.28);
  box-shadow: 0 28px 65px rgba(6, 63, 115, 0.15);
}

.category-card h3 {
  margin-top: 10px;
  color: var(--blue-deep);
  font-size: 1.45rem;
  line-height: 1.15;
}

.category-card p {
  margin-top: 12px;
  color: var(--muted);
}

.category-card strong {
  margin-top: auto;
  color: var(--blue);
  font-weight: 950;
}

.page-hero {
  position: relative;
  padding: clamp(70px, 8vw, 118px) clamp(18px, 6vw, 92px);
  background: linear-gradient(135deg, rgba(4,47,86,.96), rgba(15,119,183,.84)), url("bilder/hero.jpg") center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -28% -8%;
  height: 40%;
  background: var(--white);
  transform: skewY(-3deg);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 880px;
  color: var(--white);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 20px;
  color: rgba(255,255,255,.86);
  font-size: 1.1rem;
}

.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.sub-nav a {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: var(--white);
  text-decoration: none;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.sub-nav a:hover { background: rgba(255,255,255,.2); }

.machine-page-section {
  padding-top: clamp(56px, 7vw, 90px);
}

.machine-price-list {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.machine-price-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 250px;
  align-items: stretch;
  gap: 24px;
  padding: 20px;
  border: 1px solid rgba(6, 63, 115, 0.10);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.machine-price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 119, 183, 0.28);
  box-shadow: 0 28px 65px rgba(6, 63, 115, 0.15);
}

.machine-photo {
  position: relative;
  min-height: 172px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px dashed rgba(15, 119, 183, 0.38);
  background: linear-gradient(135deg, rgba(15, 119, 183, 0.08), rgba(255, 255, 255, 0.9)), var(--blue-soft);
}

.machine-photo img {
  width: 100%;
  height: 100%;
  min-height: 172px;
  object-fit: cover;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
}

.photo-placeholder::before {
  content: "";
  width: 52px;
  height: 42px;
  margin: 0 auto 4px;
  border: 3px solid rgba(15, 119, 183, 0.56);
  border-radius: 14px;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.55);
}

.photo-placeholder span {
  color: var(--blue-deep);
  font-weight: 950;
}

.photo-placeholder small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.machine-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.machine-category {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.82rem;
}

.machine-info h3 {
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-size: clamp(1.28rem, 2.1vw, 1.75rem);
  line-height: 1.15;
}

.machine-info p:not(.machine-category) { color: var(--muted); }

.price-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border-radius: 22px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.price-label {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.price-panel strong {
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1;
}

.price-panel p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
}

.price-muted { background: linear-gradient(145deg, var(--blue-deep), #526879); }

.contact-section { padding-top: clamp(64px, 8vw, 105px); }

.contact-card {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  border-radius: 36px;
  background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.24), transparent 36%), linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: var(--shadow);
  color: var(--white);
  overflow: hidden;
}

.contact-card .eyebrow { color: #dff3ff; }
.contact-card h2 { color: var(--white); }

.contact-intro {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-item {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
}

.contact-item span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item strong {
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.contact-phone strong {
  display: grid;
  gap: 4px;
}

.contact-phone a {
  color: var(--white);
  text-decoration: none;
}

.contact-phone a:hover {
  text-decoration: underline;
}


.cta-strip {
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto clamp(70px, 8vw, 110px);
  padding: clamp(26px, 4vw, 42px);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-strip span {
  color: rgba(255,255,255,.76);
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
}

.cta-strip h2 {
  color: var(--white);
  max-width: 720px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.legal-page { min-height: 70vh; }

.footer {
  padding: 34px clamp(18px, 6vw, 92px);
  color: var(--white);
  background: var(--blue-deep);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  width: min(280px, 48vw);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
}

.footer p { text-align: right; }

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 5px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.js-enabled .reveal.is-visible,
.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: 1fr; }
  .simple-showcase { max-width: 860px; }
  .hero-copy { max-width: 780px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1050px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machine-price-card { grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr); }
  .price-panel { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --header-height: 76px; }
  .site-header { padding-block: 10px; }
  .menu-toggle { display: grid; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(6, 63, 115, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a { padding: 12px 14px; }
  .hero { min-height: auto; padding-top: 54px; }
  .hero-logo-card { border-radius: 22px; }
  .hero-logo { border-radius: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .machine-price-card { grid-template-columns: 1fr; }
  .machine-photo, .machine-photo img { min-height: 210px; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .header-pattern { width: 96px; }
  .hero-actions, .footer-inner { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .machine-photo, .machine-photo img { min-height: 180px; }
  .footer p, .footer-links { text-align: left; justify-content: flex-start; }
}


/* Update v8: Header-Muster entfernt und Kontaktwerte einzeilig ausgerichtet */
.site-header {
  justify-content: flex-end;
}

.header-pattern,
.pattern-line {
  display: none !important;
}

.contact-card {
  width: min(1260px, 100%);
  grid-template-columns: minmax(260px, 0.54fr) minmax(720px, 1.46fr);
  gap: clamp(28px, 4vw, 56px);
}

.contact-grid {
  grid-template-columns: minmax(360px, 1.3fr) minmax(270px, 1fr) minmax(250px, 0.95fr);
  align-items: stretch;
}

.contact-item {
  padding-inline: 20px;
}

.contact-item strong {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
}

.contact-phone strong,
.contact-phone .phone-line {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

@media (max-width: 1180px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-item strong {
    white-space: normal;
  }

  .contact-phone strong,
  .contact-phone .phone-line {
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .site-header {
    justify-content: flex-end;
  }
}

/* Update v9: Kontaktbereich ohne Abschneiden, Telefonnummern/E-Mail einzeilig */
.contact-card {
  width: min(1260px, calc(100% - 48px));
  grid-template-columns: 1fr !important;
  gap: clamp(24px, 3vw, 36px) !important;
  align-items: stretch;
  overflow: visible;
}

.contact-card > div:first-child {
  max-width: 620px;
}

.contact-grid {
  width: 100%;
  grid-template-columns: minmax(400px, 1.35fr) minmax(260px, 0.9fr) minmax(290px, 0.95fr) !important;
  gap: 14px;
}

.contact-item {
  min-width: 0;
  padding-inline: clamp(18px, 2vw, 26px);
}

.contact-item strong {
  display: block;
  max-width: 100%;
  font-size: clamp(0.92rem, 1vw, 1.04rem);
  line-height: 1.35;
}

.contact-phone .phone-line {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 10px;
  white-space: nowrap;
}

.contact-grid a[href^="mailto"] strong {
  white-space: nowrap;
}

.contact-item:not(.contact-phone) strong {
  white-space: normal;
}

@media (max-width: 1080px) {
  .contact-card {
    width: min(100% - 32px, 760px);
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-phone .phone-line {
    flex-wrap: wrap !important;
    white-space: normal;
  }

  .contact-grid a[href^="mailto"] strong {
    white-space: normal;
  }
}


/* Update v10: Kontaktbox repariert – kein leeres eckiges Link-Feld mehr */
.contact-grid {
  overflow: visible;
}

.contact-item,
.contact-email {
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  border-radius: 22px !important;
}

.contact-item a,
.contact-phone a,
.contact-email a {
  color: #ffffff;
  text-decoration: none;
}

.contact-item a:hover,
.contact-phone a:hover,
.contact-email a:hover {
  text-decoration: underline;
}

.contact-email strong {
  display: block;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-item,
  .contact-email {
    width: 100%;
    min-height: 116px;
  }

  .contact-email strong {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .contact-card {
    width: min(100% - 24px, 760px);
    padding: 28px 20px;
    border-radius: 28px;
  }

  .contact-grid {
    gap: 14px;
  }

  .contact-item,
  .contact-email {
    padding: 18px;
  }
}


/* Update v12: Header-Logo als Basteiner-Bande und Startbereich etwas höher zentriert */
.site-header {
  justify-content: space-between !important;
  align-items: center !important;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(230px, 25vw, 360px);
  max-width: 48vw;
  text-decoration: none;
}

.site-logo img {
  width: 100%;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(6, 63, 115, 0.10);
}

.main-nav {
  margin-left: auto;
}

.hero {
  padding-top: clamp(44px, 5vw, 82px);
  padding-bottom: clamp(128px, 12vw, 190px);
}

.hero-inner {
  margin-top: clamp(-52px, -4vh, -24px);
}

.footer-logo {
  width: min(430px, 58vw);
  max-height: 160px;
  object-fit: contain;
}

@media (max-width: 1180px) {
  .hero-inner {
    margin-top: clamp(-34px, -3vh, -16px);
  }
}

@media (max-width: 820px) {
  .site-header {
    justify-content: space-between !important;
  }

  .site-logo {
    width: min(250px, 62vw);
    max-width: 62vw;
  }

  .site-logo img {
    max-height: 50px;
  }

  .menu-toggle {
    order: 2;
    flex: 0 0 48px;
  }

  .main-nav {
    margin-left: 0;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-inner {
    margin-top: -14px;
  }
}

@media (max-width: 560px) {
  .site-logo {
    width: min(220px, 58vw);
    max-width: 58vw;
  }

  .footer-logo {
    width: min(100%, 420px);
  }
}

/* Update v13: Startbereich weiter nach oben, Header-Bande abgerundet ohne weiße Umrandung */
.site-header {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.site-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: min(360px, 46vw) !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  line-height: 0 !important;
  box-shadow: none !important;
}

.site-logo img {
  display: block !important;
  width: auto !important;
  height: 62px !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  border-radius: 15px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero {
  padding-top: clamp(24px, 3vw, 52px) !important;
  padding-bottom: clamp(150px, 14vw, 220px) !important;
}

.hero-inner {
  margin-top: clamp(-108px, -8vh, -60px) !important;
}

@media (max-width: 1180px) {
  .hero-inner {
    margin-top: clamp(-76px, -6vh, -38px) !important;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  .site-logo {
    max-width: min(230px, 58vw) !important;
    border-radius: 12px !important;
  }

  .site-logo img {
    height: 50px !important;
    border-radius: 12px !important;
  }

  .hero {
    padding-top: 22px !important;
  }

  .hero-inner {
    margin-top: -38px !important;
  }
}

@media (max-width: 560px) {
  .site-logo {
    max-width: min(205px, 56vw) !important;
  }

  .site-logo img {
    height: 45px !important;
  }

  .hero-inner {
    margin-top: -28px !important;
  }
}

/* Update v14: Weiße Zwischenräume kompakter gemacht */
.hero {
  min-height: calc(82svh - var(--header-height)) !important;
  padding-top: clamp(20px, 2.8vw, 46px) !important;
  padding-bottom: clamp(82px, 9vw, 135px) !important;
}

.hero::after {
  inset: auto -8% -18% -8% !important;
  height: 32% !important;
}

.section {
  padding-top: clamp(48px, 6vw, 82px) !important;
  padding-bottom: clamp(48px, 6vw, 82px) !important;
}

.section-title {
  margin-bottom: 30px !important;
}

.contact-section {
  padding-top: clamp(42px, 5vw, 72px) !important;
  padding-bottom: clamp(48px, 6vw, 78px) !important;
}

.category-card {
  min-height: 225px !important;
  padding: 24px !important;
}

.page-hero {
  padding-top: clamp(50px, 6vw, 86px) !important;
  padding-bottom: clamp(64px, 7vw, 96px) !important;
}

.page-hero::after {
  inset: auto -8% -20% -8% !important;
  height: 28% !important;
}

.machine-page-section {
  padding-top: clamp(42px, 5vw, 68px) !important;
}

.machine-price-list {
  gap: 16px !important;
}

.cta-strip {
  margin-bottom: clamp(42px, 6vw, 70px) !important;
  padding: clamp(24px, 3.4vw, 36px) !important;
}

.footer {
  padding-top: 26px !important;
  padding-bottom: 26px !important;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto !important;
    padding-top: 18px !important;
    padding-bottom: 70px !important;
  }

  .hero::after {
    height: 24% !important;
    inset: auto -8% -14% -8% !important;
  }

  .section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .section-title {
    margin-bottom: 24px !important;
  }

  .contact-section {
    padding-top: 36px !important;
    padding-bottom: 42px !important;
  }

  .page-hero {
    padding-top: 42px !important;
    padding-bottom: 58px !important;
  }

  .machine-page-section {
    padding-top: 36px !important;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-bottom: 58px !important;
  }

  .section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .category-card {
    min-height: 200px !important;
  }
}

/* Update v15: Pop-up beim Runter- und Raufscrollen + runder Nach-oben-Pfeil */
body.js-enabled .reveal {
  opacity: 0 !important;
  transform: translateY(34px) scale(0.965) !important;
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
  will-change: opacity, transform;
}

body.js-enabled .reveal.is-visible,
body:not(.js-enabled) .reveal {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 120;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 119, 183, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 14px 34px rgba(6, 63, 115, 0.22);
  backdrop-filter: blur(10px);
  text-decoration: none;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(4, 47, 86, 0.82);
  transform: translateY(-3px) scale(1.04);
  outline: none;
}

@media (max-width: 560px) {
  .back-to-top {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 14px;
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.js-enabled .reveal,
  body.js-enabled .reveal.is-visible,
  .back-to-top,
  .back-to-top.is-visible {
    transition: none !important;
    transform: none !important;
  }
}

/* Update v16: Nach-oben-Pfeil größer und mittig am Bildschirm */
.back-to-top {
  left: 50% !important;
  right: auto !important;
  bottom: clamp(18px, 3.5vw, 38px) !important;
  width: 64px !important;
  height: 64px !important;
  font-size: 2rem !important;
  transform: translate(-50%, 14px) scale(0.92) !important;
}

.back-to-top.is-visible {
  transform: translateX(-50%) scale(1) !important;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateX(-50%) translateY(-4px) scale(1.06) !important;
}

@media (max-width: 560px) {
  .back-to-top {
    left: 50% !important;
    right: auto !important;
    bottom: 18px !important;
    width: 58px !important;
    height: 58px !important;
    font-size: 1.8rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .back-to-top.is-visible {
    transform: translateX(-50%) !important;
  }
}

/* Update v17: Nach-oben-Pfeil rechts, vertikal mittig */
.back-to-top {
  left: auto !important;
  right: clamp(16px, 3vw, 34px) !important;
  top: 50% !important;
  bottom: auto !important;
  width: 64px !important;
  height: 64px !important;
  font-size: 2rem !important;
  transform: translateY(-50%) translateX(14px) scale(0.92) !important;
}

.back-to-top.is-visible {
  transform: translateY(-50%) translateX(0) scale(1) !important;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-50%) translateX(-4px) scale(1.06) !important;
}

@media (max-width: 560px) {
  .back-to-top {
    right: 12px !important;
    top: 50% !important;
    bottom: auto !important;
    width: 58px !important;
    height: 58px !important;
    font-size: 1.8rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .back-to-top.is-visible {
    transform: translateY(-50%) !important;
  }
}

/* Update v18: Hauptbereich in der Handy-Ansicht etwas nach unten gesetzt */
@media (max-width: 820px) {
  .hero {
    padding-top: 68px !important;
  }

  .hero-inner {
    margin-top: 0 !important;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 76px !important;
  }

  .hero-inner {
    margin-top: 0 !important;
  }
}


/* Update v19: Maschinen aus der neuen Maschinenliste eingebaut */
.machine-photo.photo-contain {
  border-style: solid !important;
  background: linear-gradient(135deg, rgba(15, 119, 183, 0.06), rgba(255, 255, 255, 0.96)), var(--blue-soft-2) !important;
}

.machine-photo.photo-contain img {
  width: 100%;
  height: 100%;
  min-height: 172px;
  object-fit: contain !important;
  padding: 10px;
  background: transparent;
}

.machine-details {
  margin-top: 12px;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.machine-details li::marker {
  color: var(--blue);
}

.price-list-panel {
  justify-content: center;
  gap: 10px;
}

.price-rows {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: baseline;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.price-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.price-row span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
  line-height: 1.2;
}

.price-row strong {
  font-size: 1.08rem !important;
  line-height: 1.15 !important;
  white-space: nowrap;
}

.price-row small {
  grid-column: 1 / -1;
  margin-top: -3px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
  line-height: 1.25;
}

.price-note {
  margin-top: 12px !important;
  color: rgba(255, 255, 255, 0.80) !important;
  font-size: 0.92rem !important;
}

@media (max-width: 1050px) {
  .price-list-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .price-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .price-row strong {
    font-size: 1.18rem !important;
  }
}

.price-row small:empty { display: none; }


/* Update v20: Maschinenbilder entfernt, Baukompressor als eigener Reiter, Preisbereich übersichtlicher */
.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
}

.machine-price-card {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr) !important;
  gap: clamp(22px, 4vw, 42px) !important;
  padding: clamp(24px, 3vw, 34px) !important;
  align-items: center !important;
}

.machine-photo,
.machine-photo img,
.machine-photo.photo-contain,
.machine-photo.photo-contain img {
  display: none !important;
}

.machine-info {
  padding: 0 !important;
}

.machine-info h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem) !important;
}

.machine-info p:not(.machine-category),
.machine-details {
  font-size: 1.04rem !important;
}

.price-panel.price-list-panel {
  min-height: 100% !important;
  padding: clamp(26px, 3vw, 38px) !important;
  border-radius: 26px !important;
}

.price-label {
  margin-bottom: 8px !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 0.95rem !important;
}

.price-rows {
  gap: 12px !important;
  margin-top: 10px !important;
}

.price-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 6px 18px !important;
  padding-top: 14px !important;
  align-items: center !important;
}

.price-row:first-child {
  padding-top: 0 !important;
}

.price-row span {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1.03rem !important;
  font-weight: 900 !important;
}

.price-row strong {
  color: #ffffff !important;
  font-size: clamp(1.45rem, 2.25vw, 1.9rem) !important;
  font-weight: 950 !important;
}

.price-row small {
  grid-column: 1 / -1 !important;
  width: fit-content !important;
  margin-top: 2px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 0.88rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
}

.price-note {
  padding-top: 12px !important;
  border-top: 1px solid rgba(255,255,255,0.18) !important;
  font-size: 0.98rem !important;
}

@media (max-width: 1050px) {
  .machine-price-card {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .machine-price-card {
    padding: 22px !important;
  }

  .price-row {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
  }

  .price-row strong {
    font-size: 1.55rem !important;
  }
}


/* Update v21: zweite E-Mail-Adresse und übersichtlichere Zusatzausstattung bei Baggern */
.email-lines {
  display: grid !important;
  gap: 6px !important;
  white-space: normal !important;
}

.email-lines a {
  display: block;
  white-space: nowrap;
}

.machine-extra {
  margin-top: 16px;
}

.machine-extra h4 {
  margin: 0 0 8px;
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.machine-extra .machine-details {
  margin-top: 0;
}

@media (max-width: 520px) {
  .email-lines a {
    white-space: normal;
  }
}


/* Update v22: Einsatzgewicht bei Baggern nur einmal als Überschrift */
.price-subheading {
  margin: 6px 0 2px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* Update v23: Telefonnummern im Kontaktfeld untereinander */
.contact-phone .phone-line,
.contact-phone strong.phone-line {
  display: grid !important;
  gap: 6px !important;
  align-items: start !important;
  flex-wrap: initial !important;
  white-space: normal !important;
}

.contact-phone .phone-line a {
  display: block !important;
  width: fit-content;
}

.contact-phone .phone-line span[aria-hidden="true"] {
  display: none !important;
}

/* Update v24: übersichtlich formatierte Datenschutzerklärung */
.legal-page .section-title {
  max-width: 900px;
  margin-inline: auto;
}

.legal-page .section-title > p {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.privacy-card {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.privacy-intro {
  padding: clamp(30px, 5vw, 58px);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.privacy-intro .eyebrow {
  margin-bottom: 8px;
  color: #dff3ff;
}

.privacy-intro h2 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.18;
}

.privacy-intro > p:last-child {
  max-width: 820px;
  margin-top: 18px;
  color: rgba(255,255,255,.86);
  font-size: 1.06rem;
}

.privacy-section {
  padding: clamp(28px, 4vw, 46px) clamp(26px, 5vw, 58px);
}

.privacy-section + .privacy-section {
  border-top: 1px solid var(--line);
}

.privacy-section h2 {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: clamp(1.3rem, 2.2vw, 1.72rem);
  line-height: 1.25;
}

.privacy-section h2 > span {
  display: inline-grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
  font-size: .9rem;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(6, 63, 115, .16);
}

.privacy-section p + p,
.privacy-section address + p,
.privacy-section p + address,
.privacy-section ul + p,
.privacy-section p + ul {
  margin-top: 14px;
}

.privacy-section p,
.privacy-section li,
.privacy-address {
  color: #314b61;
}

.privacy-contact-box,
.privacy-address {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--blue-soft-2);
}

.privacy-contact-box p + p {
  margin-top: 9px;
}

.privacy-address {
  font-style: normal;
  line-height: 1.7;
}

.privacy-card a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-card a:hover,
.privacy-card a:focus-visible {
  color: var(--blue);
}

.privacy-link::after {
  content: " ↗";
  font-size: .86em;
}

.privacy-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.privacy-list li {
  position: relative;
  padding-left: 30px;
}

.privacy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: .72rem;
  font-weight: 950;
}

.privacy-list-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
}

.privacy-updated {
  margin: 0;
  padding: 22px clamp(26px, 5vw, 58px) 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--blue-soft-2);
  font-size: .94rem;
  font-weight: 850;
  text-align: right;
}

@media (max-width: 720px) {
  .privacy-card {
    width: min(100% - 24px, 1040px);
    border-radius: 26px;
  }

  .privacy-section h2 {
    align-items: flex-start;
  }

  .privacy-section h2 > span {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .privacy-list-columns {
    grid-template-columns: 1fr;
  }

  .privacy-updated {
    text-align: left;
  }
}


/* Datenschutzseite ohne Aufplopp-/Scroll-Animationen */
body.no-pop-animations.js-enabled .reveal,
body.no-pop-animations.js-enabled .reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  transition-delay: 0ms !important;
  will-change: auto;
}


/* Update v25: Hinweise und neue Dumper-Reiter */
.billing-note {
  width: min(1120px, 100%);
  margin: 0 auto clamp(20px, 3vw, 28px);
  padding: clamp(18px, 2.2vw, 24px);
  display: grid;
  gap: 8px;
  border: 1px solid rgba(15, 119, 183, 0.18);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 119, 183, 0.10), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow-soft);
}

.billing-note strong {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.billing-note p {
  margin: 0;
  color: var(--blue-deep);
  font-weight: 850;
  line-height: 1.45;
}

.billing-note-index {
  margin-top: -22px;
  margin-bottom: 28px;
}

.vehicle-tabs {
  width: min(1120px, 100%);
  margin: 0 auto clamp(20px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vehicle-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(15, 119, 183, 0.20);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  font-weight: 950;
}

.vehicle-tabs a:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 119, 183, 0.34);
}

@media (max-width: 560px) {
  .billing-note {
    border-radius: 20px;
  }

  .vehicle-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* Update v11: Zusatzkosten-Hinweis, Dumper-Reiter und 2500-kg-Bagger */
.billing-note {
  width: min(1120px, 100%);
  margin: 0 auto clamp(20px, 3vw, 28px);
  padding: clamp(18px, 2.2vw, 24px);
  display: grid;
  gap: 8px;
  border: 1px solid rgba(15, 119, 183, 0.18);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 119, 183, 0.10), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow-soft);
}

.billing-note strong {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.billing-note p {
  margin: 0;
  color: var(--blue-deep);
  font-weight: 850;
  line-height: 1.45;
}

.vehicle-tabs {
  width: min(1120px, 100%);
  margin: 0 auto clamp(20px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vehicle-tabs a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(15, 119, 183, 0.20);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  font-weight: 950;
}

.vehicle-tabs a:hover,
.vehicle-tabs a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 119, 183, 0.34);
}

@media (max-width: 560px) {
  .billing-note {
    border-radius: 20px;
  }

  .vehicle-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* Update v12: Preisbasis und Zusatzausrüstung klarer dargestellt */
.price-subheading {
  margin: 8px 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 850;
}

.price-row small {
  display: block;
  margin-top: 3px;
}

.machine-extra {
  margin-top: 16px;
}

/* Update v14: Auf Handy im Startbereich das Platzhalter-Bild entfernen,
   damit keine Schrift hinter dem "Preise ansehen"-Button sichtbar ist */
@media (max-width: 560px) {
  .hero-bg {
    background:
      radial-gradient(circle at 78% 25%, rgba(24, 145, 211, 0.28), transparent 36%),
      linear-gradient(135deg, rgba(4, 47, 86, 0.96), rgba(15, 119, 183, 0.84)) !important;
  }
}





/* Update v20: durchgängige Responsive-Anpassung für Hero/Header */
:root {
  --header-safe-height: clamp(76px, 8vw, 112px);
}

.site-header {
  min-height: var(--header-safe-height);
}

.site-logo img {
  width: clamp(150px, 14vw, 230px);
  height: auto;
}

.hero {
  min-height: auto !important;
  padding-top: clamp(42px, 6vh, 92px) !important;
  padding-bottom: clamp(74px, 9vh, 132px) !important;
}

.hero-inner {
  width: min(1500px, calc(100% - clamp(28px, 6vw, 120px)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 110px);
}

.hero-showcase,
.simple-showcase,
.hero-logo-card {
  width: 100%;
  max-width: clamp(520px, 48vw, 860px);
  margin: 0 !important;
}

.hero-logo-card img,
.hero-logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.2vw, 5.9rem);
}

.hero-copy p {
  font-size: clamp(1rem, 1.25vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 1.4vw, 22px);
}

/* Kleine Laptops und niedrigere Displays */
@media (min-width: 901px) and (max-height: 850px) {
  .hero {
    padding-top: clamp(62px, 8vh, 106px) !important;
    padding-bottom: clamp(68px, 8vh, 110px) !important;
  }

  .hero-inner {
    gap: clamp(34px, 5vw, 82px);
  }

  .hero-showcase,
  .simple-showcase,
  .hero-logo-card {
    max-width: clamp(500px, 45vw, 760px);
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 4.6vw, 5.2rem);
  }
}

/* Sehr niedrige Desktop-/Laptopfenster */
@media (min-width: 901px) and (max-height: 720px) {
  .hero {
    padding-top: 78px !important;
    padding-bottom: 72px !important;
  }

  .hero-logo-card {
    max-width: min(48vw, 700px);
  }
}

/* Große Monitore */
@media (min-width: 1500px) and (min-height: 900px) {
  .hero {
    padding-top: clamp(48px, 5vh, 78px) !important;
  }

  .hero-inner {
    max-width: 1560px;
  }
}

/* Tablets / schmale Bildschirme */
@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: 1fr;
    width: min(900px, calc(100% - 36px));
    gap: 36px;
    text-align: center;
  }

  .hero-showcase,
  .simple-showcase,
  .hero-logo-card {
    max-width: min(720px, 100%);
    justify-self: center;
  }

  .hero-copy {
    max-width: 760px;
    justify-self: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

/* Handy */
@media (max-width: 640px) {
  :root {
    --header-safe-height: 74px;
  }

  .site-header {
    min-height: var(--header-safe-height);
    padding-inline: 18px;
  }

  .site-logo img {
    width: clamp(130px, 42vw, 170px);
  }

  .hero {
    padding-top: 28px !important;
    padding-bottom: 58px !important;
  }

  .hero-inner {
    width: min(100% - 28px, 520px);
    gap: 26px;
  }

  .hero-logo-card {
    border-radius: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 11vw, 3.25rem);
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Sehr kleine Handys */
@media (max-width: 380px) {
  .hero-inner {
    width: calc(100% - 22px);
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .site-logo img {
    width: 126px;
  }
}


/* Update v21: Hero-Logo vor schräger Trennfläche schützen */
.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(120px, 13vh, 190px) !important;
}

.hero-inner {
  position: relative;
  z-index: 5;
}

.hero-showcase,
.simple-showcase,
.hero-logo-card {
  position: relative;
  z-index: 6;
}

.hero::after,
.hero .hero-slope,
.hero .hero-wave,
.hero .hero-divider {
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  z-index: 0;
}

@media (min-width: 901px) and (max-height: 850px) {
  .hero {
    padding-bottom: clamp(120px, 15vh, 170px) !important;
  }

  .hero-logo-card {
    max-width: clamp(460px, 42vw, 690px) !important;
  }
}

@media (min-width: 901px) and (max-height: 720px) {
  .hero {
    padding-top: 64px !important;
    padding-bottom: 130px !important;
  }

  .hero-logo-card {
    max-width: min(42vw, 640px) !important;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 4.2vw, 4.7rem) !important;
  }
}

@media (max-width: 1050px) {
  .hero {
    padding-bottom: 96px !important;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 76px !important;
  }
}


/* Update v22: Header niedriger, Navigation größer, mehr Luft oben im Hero */
:root {
  --header-safe-height: clamp(68px, 5.2vw, 86px) !important;
}

.site-header {
  min-height: var(--header-safe-height) !important;
  height: auto !important;
  padding-block: clamp(8px, 1.1vw, 14px) !important;
}

.site-logo img {
  width: clamp(145px, 12vw, 205px) !important;
  height: auto !important;
}

.main-nav {
  gap: clamp(18px, 2.2vw, 36px) !important;
}

.main-nav a {
  font-size: clamp(1.02rem, 1.05vw, 1.18rem) !important;
  line-height: 1.1 !important;
  padding: 12px 8px !important;
}

/* Mehr Sicherheitsabstand zwischen Header und großem Hero-Logo */
.hero {
  padding-top: clamp(70px, 8vh, 118px) !important;
  padding-bottom: clamp(120px, 13vh, 180px) !important;
}

@media (min-width: 901px) and (max-height: 850px) {
  .hero {
    padding-top: clamp(78px, 9vh, 120px) !important;
  }
}

@media (min-width: 901px) and (max-height: 720px) {
  .hero {
    padding-top: 86px !important;
  }
}

@media (max-width: 900px) {
  :root {
    --header-safe-height: 72px !important;
  }

  .site-header {
    padding-block: 8px !important;
  }

  .main-nav a {
    font-size: 1rem !important;
    padding: 12px 14px !important;
  }

  .hero {
    padding-top: 48px !important;
  }
}

@media (max-width: 560px) {
  :root {
    --header-safe-height: 68px !important;
  }

  .site-logo img {
    width: clamp(126px, 40vw, 160px) !important;
  }

  .hero {
    padding-top: 34px !important;
  }
}


/* Update v23: blauen Hero-Bereich verlängern, Buttons im Blau halten */
.hero {
  padding-top: clamp(82px, 9vh, 130px) !important;
  padding-bottom: clamp(160px, 17vh, 235px) !important;
}

.hero-inner {
  position: relative;
  z-index: 8;
}

/* Die schräge weiße Trennkante weiter nach unten setzen */
.hero::after {
  bottom: -78px !important;
  height: clamp(120px, 14vw, 210px) !important;
  z-index: 2 !important;
}

.hero-actions {
  position: relative;
  z-index: 12;
  margin-top: clamp(28px, 3vh, 44px) !important;
}

.hero-actions .btn {
  position: relative;
  z-index: 13;
}

@media (min-width: 901px) and (max-height: 850px) {
  .hero {
    padding-top: clamp(92px, 10vh, 134px) !important;
    padding-bottom: clamp(150px, 18vh, 220px) !important;
  }

  .hero::after {
    bottom: -92px !important;
  }
}

@media (min-width: 901px) and (max-height: 720px) {
  .hero {
    padding-top: 96px !important;
    padding-bottom: 165px !important;
  }

  .hero::after {
    bottom: -100px !important;
  }

  .hero-actions {
    margin-top: 30px !important;
  }
}

@media (max-width: 1050px) {
  .hero {
    padding-top: 70px !important;
    padding-bottom: 130px !important;
  }

  .hero::after {
    bottom: -68px !important;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 46px !important;
    padding-bottom: 100px !important;
  }

  .hero::after {
    bottom: -54px !important;
  }
}


/* Update v24: Hero-Buttons vollständig im blauen Bereich */
.hero {
  padding-top: clamp(86px, 9vh, 132px) !important;
  padding-bottom: clamp(96px, 11vh, 150px) !important;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 10;
}

.hero-actions {
  position: relative;
  z-index: 20;
  margin-top: clamp(22px, 2.4vh, 34px) !important;
  transform: translateY(-10px);
}

/* Die weiße Schräge beginnt erst unterhalb der Buttons */
.hero::after {
  bottom: -138px !important;
  height: clamp(150px, 16vw, 230px) !important;
  z-index: 1 !important;
  pointer-events: none;
}

.hero-showcase,
.simple-showcase,
.hero-logo-card,
.hero-copy {
  position: relative;
  z-index: 12;
}

/* Laptop-Höhen: Buttons nicht in die Schräge rutschen lassen */
@media (min-width: 901px) and (max-height: 850px) {
  .hero {
    padding-top: clamp(82px, 9vh, 118px) !important;
    padding-bottom: clamp(98px, 12vh, 142px) !important;
  }

  .hero-actions {
    transform: translateY(-14px);
  }

  .hero::after {
    bottom: -148px !important;
  }
}

/* Sehr niedrige Fenster */
@media (min-width: 901px) and (max-height: 720px) {
  .hero {
    padding-top: 86px !important;
    padding-bottom: 118px !important;
  }

  .hero-actions {
    transform: translateY(-18px);
  }

  .hero::after {
    bottom: -160px !important;
  }
}

@media (max-width: 1050px) {
  .hero {
    padding-top: 70px !important;
    padding-bottom: 108px !important;
  }

  .hero-actions {
    transform: none;
  }

  .hero::after {
    bottom: -120px !important;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 46px !important;
    padding-bottom: 92px !important;
  }

  .hero::after {
    bottom: -104px !important;
  }
}


/* Update v35: Foto-Platzhalter für Maschinenkarten */
.machine-price-card {
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr) minmax(300px, 0.43fr) !important;
  align-items: stretch !important;
}

.machine-photo.photo-slot {
  display: flex !important;
  min-height: 220px !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 2px dashed rgba(15, 119, 183, 0.38) !important;
  background:
    linear-gradient(135deg, rgba(15, 119, 183, 0.10), rgba(255, 255, 255, 0.94)),
    var(--blue-soft) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72) !important;
}

.machine-photo.photo-slot .photo-placeholder {
  position: static !important;
  display: flex !important;
  width: 100% !important;
  min-height: 100% !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 22px !important;
  text-align: center !important;
}

.machine-photo.photo-slot .photo-placeholder::before {
  content: "" !important;
  width: 58px !important;
  height: 44px !important;
  margin: 0 auto 6px !important;
  border: 3px solid rgba(15, 119, 183, 0.58) !important;
  border-radius: 16px !important;
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.55),
    0 10px 20px rgba(6, 63, 115, 0.10) !important;
}

.machine-photo.photo-slot .photo-placeholder span {
  color: var(--blue-deep) !important;
  font-size: 1.08rem !important;
  font-weight: 950 !important;
}

.machine-photo.photo-slot .photo-placeholder small {
  color: var(--muted) !important;
  font-size: 0.86rem !important;
  font-weight: 850 !important;
}

@media (max-width: 1050px) {
  .machine-price-card {
    grid-template-columns: 1fr !important;
  }

  .machine-photo.photo-slot {
    min-height: 235px !important;
  }
}

@media (max-width: 560px) {
  .machine-photo.photo-slot {
    min-height: 190px !important;
    border-radius: 20px !important;
  }

  .machine-photo.photo-slot .photo-placeholder span {
    font-size: 1rem !important;
  }
}
/* Ende Update v35 */


/* Update v36: Bagger-Übersicht und einzelne Karten nach Einsatzgewicht */
.bagger-overview {
  width: min(1120px, 100%);
  margin: 0 auto clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(22px, 4vw, 38px);
  align-items: stretch;
}

.bagger-overview-copy,
.bagger-overview-grid {
  border: 1px solid rgba(6, 63, 115, 0.10);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.bagger-overview-copy {
  padding: clamp(24px, 3.2vw, 36px);
}

.bagger-overview-copy h2 {
  margin: 8px 0 12px;
  color: var(--blue-deep);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.bagger-overview-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.bagger-equipment-note {
  margin-top: 18px;
  padding: 16px 18px;
  display: grid;
  gap: 5px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15, 119, 183, 0.10), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(15, 119, 183, 0.16);
}

.bagger-equipment-note strong {
  color: var(--blue-deep);
  font-weight: 950;
}

.bagger-equipment-note span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.bagger-overview-grid {
  padding: clamp(18px, 2.3vw, 24px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bagger-overview-card {
  min-height: 112px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
  border: 1px solid rgba(15, 119, 183, 0.15);
  background: linear-gradient(145deg, rgba(4, 47, 86, 0.96), rgba(15, 119, 183, 0.86));
  color: #fff;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.bagger-overview-card:hover,
.bagger-overview-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(6, 63, 115, 0.16);
}

.bagger-overview-card span {
  color: rgba(255,255,255,0.84);
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bagger-overview-card strong {
  margin-top: 7px;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1;
}

.bagger-overview-card small {
  margin-top: 6px;
  color: rgba(255,255,255,0.76);
  font-weight: 800;
}

.bagger-weight-card {
  scroll-margin-top: 120px;
}

.bagger-weight-card .machine-photo.photo-slot .photo-placeholder small {
  max-width: 150px;
}

@media (max-width: 1050px) {
  .bagger-overview {
    grid-template-columns: 1fr;
  }

  .bagger-overview-grid {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
  }
}

@media (max-width: 760px) {
  .bagger-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bagger-overview-card {
    min-height: 104px;
  }
}

@media (max-width: 480px) {
  .bagger-overview-grid {
    grid-template-columns: 1fr;
  }
}
/* Ende Update v36 */


/* Update v37: Bagger-Übersicht ruhiger, Gewichtsklassen statt Preise im Vordergrund */
.bagger-overview-compact {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr) !important;
  gap: clamp(18px, 3vw, 30px) !important;
}

.bagger-overview-compact .bagger-overview-copy {
  padding: clamp(22px, 3vw, 32px) !important;
}

.bagger-overview-compact .bagger-overview-copy h2 {
  max-width: 520px;
  margin-bottom: 10px !important;
  font-size: clamp(1.9rem, 3vw, 2.75rem) !important;
}

.bagger-overview-compact .bagger-overview-copy p:not(.machine-category) {
  max-width: 560px;
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

.bagger-overview-compact .bagger-equipment-note {
  margin-top: 16px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  gap: 3px !important;
}

.bagger-overview-compact .bagger-equipment-note span {
  font-size: 0.92rem !important;
  line-height: 1.35 !important;
}

.bagger-overview-compact .bagger-overview-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-content: center !important;
  gap: 10px !important;
  padding: clamp(18px, 2.4vw, 26px) !important;
}

.bagger-overview-compact .bagger-overview-card {
  min-height: 118px !important;
  padding: 16px 10px !important;
  align-items: center !important;
  text-align: center !important;
  background: linear-gradient(145deg, rgba(4, 47, 86, 0.96), rgba(15, 119, 183, 0.88)) !important;
}

.bagger-overview-compact .bagger-overview-card strong {
  margin: 0 !important;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem) !important;
  letter-spacing: -0.04em !important;
}

.bagger-overview-compact .bagger-overview-card span {
  margin-top: 8px !important;
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.bagger-overview-compact .bagger-overview-card small {
  display: none !important;
}

@media (max-width: 1050px) {
  .bagger-overview-compact {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .bagger-overview-compact .bagger-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bagger-overview-compact .bagger-overview-card {
    min-height: 96px !important;
  }
}

@media (max-width: 480px) {
  .bagger-overview-compact .bagger-overview-grid {
    grid-template-columns: 1fr !important;
  }
}
/* Ende Update v37 */


/* Update v38: Bagger-Übersicht als klare, breite Auswahlkarte */
.bagger-overview-modern {
  width: min(1120px, 100%) !important;
  margin: 0 auto clamp(26px, 4vw, 42px) !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(18px, 2.5vw, 26px) !important;
  padding: clamp(24px, 3.4vw, 38px) !important;
  border: 1px solid rgba(6, 63, 115, 0.10) !important;
  border-radius: var(--radius) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(15,119,183,.10), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbfe) !important;
  box-shadow: var(--shadow-soft) !important;
}

.bagger-overview-modern .bagger-overview-copy,
.bagger-overview-modern .bagger-overview-grid {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bagger-overview-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
}

.bagger-overview-head h2 {
  margin: 8px 0 0 !important;
  color: var(--blue-deep);
  font-size: clamp(2rem, 3.6vw, 3.05rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
}

.bagger-overview-head > p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 1.02rem !important;
  line-height: 1.55 !important;
}

.bagger-class-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.bagger-class-card {
  position: relative;
  min-height: 132px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  border: 1px solid rgba(15,119,183,.16);
  background: #ffffff;
  color: var(--blue-deep);
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(6,63,115,.08);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.bagger-class-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
}

.bagger-class-card:hover,
.bagger-class-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(15,119,183,.34);
  box-shadow: 0 22px 46px rgba(6,63,115,.14);
}

.bagger-class-weight {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--blue-deep);
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.bagger-class-weight small {
  font-size: 0.46em;
  letter-spacing: -0.02em;
}

.bagger-class-use {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.25;
}

.bagger-accessory-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding-top: 4px;
}

.bagger-accessory-strip strong,
.bagger-accessory-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.bagger-accessory-strip strong {
  color: #fff;
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
}

.bagger-accessory-strip span {
  color: var(--blue-deep);
  background: rgba(15,119,183,.08);
  border: 1px solid rgba(15,119,183,.13);
}

@media (max-width: 1050px) {
  .bagger-overview-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .bagger-class-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .bagger-overview-modern {
    padding: 22px !important;
    border-radius: 24px !important;
  }

  .bagger-class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bagger-class-card {
    min-height: 110px;
    padding: 17px 14px;
    border-radius: 20px;
  }

  .bagger-class-weight {
    font-size: clamp(1.9rem, 9vw, 2.45rem);
  }
}

@media (max-width: 440px) {
  .bagger-class-grid {
    grid-template-columns: 1fr !important;
  }

  .bagger-class-card {
    min-height: 92px;
  }
}
/* Ende Update v38 */


/* Update v39: Bagger-Übersicht final ruhiger, Zubehör als Liste, Preistext nur einmal */
.bagger-overview-final .bagger-overview-head > p {
  max-width: 380px !important;
}

.bagger-overview-final .bagger-class-grid {
  gap: 14px !important;
}

.bagger-overview-final .bagger-class-card {
  min-height: 122px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  background: var(--blue) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(6, 63, 115, 0.12) !important;
}

.bagger-overview-final .bagger-class-card::before {
  display: none !important;
}

.bagger-overview-final .bagger-class-weight {
  color: #fff !important;
  justify-content: center !important;
}

.bagger-overview-final .bagger-class-use {
  margin: 0 !important;
  color: rgba(255,255,255,.78) !important;
  font-size: .76rem !important;
  font-weight: 900 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
}

.bagger-accessory-list {
  padding-top: 2px;
  display: grid;
  gap: 8px;
  color: var(--blue-deep);
}

.bagger-accessory-list strong {
  font-weight: 950;
}

.bagger-accessory-list ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 28px;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.35;
}

.bagger-accessory-list li::marker {
  color: var(--blue);
}

.price-panel .price-label {
  line-height: 1.25 !important;
}

@media (max-width: 760px) {
  .bagger-accessory-list ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .bagger-accessory-list ul {
    grid-template-columns: 1fr;
  }
}
/* Ende Update v39 */


/* Update v40: eigene Fotos per src-Pfad + Abmessungen je Maschine */
.machine-photo.photo-slot {
  position: relative !important;
}

.machine-photo.photo-slot img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 220px !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}

.machine-photo.photo-slot .photo-placeholder {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
}

.machine-photo.photo-slot .photo-placeholder.is-hidden {
  display: none !important;
}

.machine-details li:last-child {
  color: var(--blue-deep);
  font-weight: 900;
}
/* Ende Update v40 */


/* Update v41: Foto-Platzhalter breiter und für verschiedene Fotoformate geeignet */
.machine-price-card {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr) minmax(285px, 0.38fr) !important;
}

.machine-photo.photo-slot {
  min-height: 270px !important;
  aspect-ratio: 4 / 3 !important;
  background:
    linear-gradient(135deg, rgba(15, 119, 183, 0.08), rgba(255, 255, 255, 0.96)),
    #f4f8fc !important;
}

.machine-photo.photo-slot img {
  width: 100% !important;
  height: 100% !important;
  min-height: 270px !important;
  object-fit: contain !important;
  padding: 12px !important;
  background: #f4f8fc !important;
}

/* Platzhalter bleibt mittig und nutzt die größere Fläche */
.machine-photo.photo-slot .photo-placeholder {
  min-height: 270px !important;
  padding: 24px !important;
}

/* Lange Querformatfotos und hohe Handyfotos werden nicht abgeschnitten */
.machine-photo.photo-slot img.is-loaded {
  object-fit: contain !important;
}

@media (max-width: 1050px) {
  .machine-price-card {
    grid-template-columns: 1fr !important;
  }

  .machine-photo.photo-slot {
    min-height: 300px !important;
    aspect-ratio: 16 / 10 !important;
  }

  .machine-photo.photo-slot img,
  .machine-photo.photo-slot .photo-placeholder {
    min-height: 300px !important;
  }
}

@media (max-width: 560px) {
  .machine-photo.photo-slot {
    min-height: 230px !important;
    aspect-ratio: 4 / 3 !important;
  }

  .machine-photo.photo-slot img,
  .machine-photo.photo-slot .photo-placeholder {
    min-height: 230px !important;
  }
}
/* Ende Update v41 */


/* Update v42: Desktop-Fix gegen Überschneidung von Foto und Text */
@media (min-width: 1051px) {
  .machine-price-card {
    grid-template-columns: 270px minmax(260px, 1fr) 230px !important;
    gap: 34px !important;
    align-items: center !important;
  }

  .machine-photo.photo-slot {
    width: 270px !important;
    max-width: 270px !important;
    min-height: 230px !important;
    aspect-ratio: 4 / 3 !important;
  }

  .machine-photo.photo-slot img,
  .machine-photo.photo-slot .photo-placeholder {
    min-height: 230px !important;
  }

  .machine-info {
    min-width: 0 !important;
    padding-left: 0 !important;
    overflow: visible !important;
  }

  .machine-info h3,
  .machine-info p,
  .machine-details {
    max-width: 100% !important;
  }

  .price-panel.price-list-panel {
    width: 230px !important;
    min-width: 230px !important;
    padding: 28px !important;
  }
}

/* Bei mittleren Desktop-/Laptopbreiten lieber untereinander statt gequetscht */
@media (min-width: 1051px) and (max-width: 1160px) {
  .machine-price-card {
    grid-template-columns: 260px minmax(0, 1fr) !important;
  }

  .price-panel.price-list-panel {
    grid-column: 1 / -1 !important;
    width: auto !important;
    min-width: 0 !important;
  }
}
/* Ende Update v42 */


/* Fix: Preiszeilen im Preisblock nicht überschneiden */
.price-panel.price-list-panel .price-row {
  grid-template-columns: 1fr !important;
  gap: 6px !important;
  align-items: start !important;
}

.price-panel.price-list-panel .price-row span {
  display: block !important;
  max-width: 100% !important;
  line-height: 1.25 !important;
}

.price-panel.price-list-panel .price-row strong {
  display: block !important;
  justify-self: start !important;
  margin-top: 2px !important;
  font-size: clamp(1.6rem, 2.2vw, 2rem) !important;
  line-height: 1 !important;
}

.price-panel.price-list-panel .price-row small {
  margin-top: 4px !important;
}

.machine-details li {
  color: var(--muted) !important;
  font-weight: 500 !important;
}

/* Update: Dezentes Tipp-Feedback (ersetzt das blaue Kästchen auf Mobilgeräten) */
a,
button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

/* Fokus-Rahmen nur nach Antippen/Klick ausblenden – Tastatur-Fokus bleibt sichtbar */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Weicher Übergang beim Loslassen */
.btn,
.menu-toggle,
.main-nav a,
.sub-nav a,
.vehicle-tabs a,
.contact-item,
.privacy-link,
.footer-links a,
.bagger-class-card,
.category-card,
.back-to-top {
  transition-property: transform, box-shadow, background, color, border-color, opacity, visibility, scale, filter;
}

/* Buttons & Menü: kurz "eindrücken" */
.btn:active,
.menu-toggle:active,
.contact-item:active,
.back-to-top:active {
  scale: 0.96;
  filter: brightness(0.94);
}

/* Navigation, Reiter, Textlinks: zarter Hintergrund in Markenfarbe */
.main-nav a:active,
.sub-nav a:active,
.vehicle-tabs a:active {
  scale: 0.97;
  background: var(--blue-soft);
}

.privacy-link:active,
.footer-links a:active {
  opacity: 0.7;
}

/* Maschinen-Kacheln: minimal nachgeben + feiner blauer Rand */
.category-card:active,
.bagger-class-card:active {
  scale: 0.985;
  border-color: rgba(15, 119, 183, 0.35);
  box-shadow: 0 0 0 3px rgba(15, 119, 183, 0.14), var(--shadow-soft);
}

/* Auf Touch-Geräten den "Hochheben"-Hover nicht hängen lassen */
@media (hover: none) {
  .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn:active,
  .menu-toggle:active,
  .contact-item:active,
  .back-to-top:active,
  .main-nav a:active,
  .sub-nav a:active,
  .vehicle-tabs a:active,
  .category-card:active,
  .bagger-class-card:active {
    scale: none;
  }
}
/* Ende Update Tipp-Feedback */
