@import url("../fonts/fonts.css");

/* =========================================================
   Connors Baumaschinen – Design System
   ========================================================= */

:root {
  /* Marke – Gelb und Rot sind pixelgenau aus dem Logo entnommen */
  --c-yellow: #ffee00;          /* Logo-Gelb (66,8 % aller Logo-Pixel) */
  --c-yellow-deep: #f0df00;     /* Hover / gedrückt */
  --c-yellow-soft: #fffbc4;
  --c-red: #ea2e1c;             /* Highlight-Strich */
  --c-ink: #14181c;             /* Fast-Schwarz */
  --c-ink-soft: #2b3138;
  --c-body: #4a5158;
  --c-muted: #7c848c;
  --c-line: #e4e7ea;
  --c-surface: #ffffff;
  --c-surface-2: #f6f7f8;
  --c-green: #16a34a;

  /* Typo */
  --f-display: "Fjalla One", "Arial Narrow", Impact, sans-serif;
  --f-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Maße */
  --w-page: 1220px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --header-h: 84px;

  --shadow-sm: 0 1px 2px rgba(20, 24, 28, .06), 0 2px 8px rgba(20, 24, 28, .05);
  --shadow-md: 0 4px 12px rgba(20, 24, 28, .07), 0 14px 34px rgba(20, 24, 28, .08);
  --shadow-lg: 0 10px 24px rgba(20, 24, 28, .09), 0 30px 60px rgba(20, 24, 28, .12);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-body);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

/* Muss stärker sein als eigene display-Regeln (grid/flex), sonst
   bleiben Panel, Formular und Felder trotz [hidden] sichtbar. */
[hidden] { display: none !important; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.06;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2.05rem, 4.6vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--c-yellow); color: var(--c-ink); }

:focus-visible {
  outline: 3px solid var(--c-ink);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--w-page)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--muted { background: var(--c-surface-2); }
.section--yellow { background: var(--c-yellow); }
.section--dark { background: var(--c-ink); color: rgba(255, 255, 255, .82); }
.section--dark h2, .section--dark h3 { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-ink); color: #fff; padding: .8rem 1.4rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Eyebrow / Kicker ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-ink); margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 3px; background: var(--c-red); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--c-yellow); }
.section--dark .eyebrow::before { background: var(--c-yellow); }

.section-head { max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.075rem; color: var(--c-body); }
.section--dark .section-head p { color: rgba(255, 255, 255, .75); }

/* ---------- Dekorations-Strich (Highlight) ---------- */
.stroke {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.stroke svg {
  position: absolute;
  left: -2%;
  bottom: -.16em;
  width: 104%;
  height: .42em;
  overflow: visible;
  pointer-events: none;
}
.stroke svg path {
  fill: none;
  stroke: var(--c-red);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
.stroke.is-drawn svg path { animation: draw 1.05s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: #fff;
  --btn-bd: var(--c-ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1rem 1.85rem;
  font-family: var(--f-body);
  font-size: .875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bd); border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .18s var(--ease); }
.btn:hover svg { transform: translate(3px, 3px); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-ink); }
.btn--outline:hover { --btn-bg: var(--c-ink); --btn-fg: #fff; }

.btn--yellow { --btn-bg: var(--c-yellow); --btn-fg: var(--c-ink); --btn-bd: var(--c-yellow); }
.btn--yellow:hover { --btn-bg: var(--c-yellow-deep); --btn-bd: var(--c-yellow-deep); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bd: #fff; }

.btn--sm { padding: .7rem 1.2rem; font-size: .78rem; letter-spacing: .1em; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-yellow);
  border-bottom: 3px solid var(--c-ink);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 8px 24px rgba(20, 24, 28, .18); }
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--header-h);
  padding-block: .6rem;
}
.header__logo { flex: none; line-height: 0; }
.header__logo img { width: 200px; height: auto; }

.nav { margin-left: auto; }
.nav__list {
  display: flex; align-items: center; gap: 2rem;
  list-style: none; margin: 0; padding: 0;
}
.nav__list a {
  position: relative;
  font-size: .86rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-ink); text-decoration: none;
  padding-block: .35rem;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--c-ink); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }

/* CTA nur im aufgeklappten Mobil-Menü */
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: .9rem; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .95rem; color: var(--c-ink); text-decoration: none;
  white-space: nowrap;
}
.header__phone svg { width: 18px; height: 18px; }
.header__phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.burger {
  display: none;
  width: 46px; height: 46px; padding: 0;
  background: transparent; border: 2px solid var(--c-ink); border-radius: var(--r-sm);
  cursor: pointer; color: var(--c-ink);
}
.burger span {
  display: block; width: 20px; height: 2.5px; margin: 4px auto;
  background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; align-items: center;
  min-height: min(88vh, 780px);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  isolation: isolate;
  color: #fff;
  background: var(--c-ink);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(10, 13, 16, .88) 0%, rgba(10, 13, 16, .72) 45%, rgba(10, 13, 16, .45) 100%);
}
.hero__inner { max-width: 54rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem .45rem .6rem;
  margin-bottom: 1.6rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: #fff;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }

.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--c-yellow); }
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  color: rgba(255, 255, 255, .88);
  max-width: 40rem;
  margin-bottom: 2.2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 1rem 2.8rem;
  margin-top: 3.2rem; padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, .17);
}
.hero__fact { display: flex; align-items: center; gap: .7rem; }
.hero__fact svg { width: 22px; height: 22px; color: var(--c-yellow); flex: none; }
.hero__fact strong { display: block; color: #fff; font-size: .98rem; font-weight: 700; line-height: 1.3; }
.hero__fact span { font-size: .84rem; color: rgba(255, 255, 255, .62); }

/* ---------- Claim / Inhaber ---------- */
.claim__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.claim h2 {
  font-size: clamp(2.4rem, 5.6vw, 4.15rem);
  line-height: 1.02;
  margin-bottom: .55rem;
}
.claim__sub { font-size: 1.15rem; font-weight: 600; color: var(--c-ink-soft); margin-bottom: 2rem; }

.owner { text-align: center; }
.owner__frame {
  position: relative;
  display: inline-block;
  padding: 8px;
  background: #fff;
  border: 3px solid var(--c-ink);
  border-radius: var(--r-sm);
  box-shadow: 12px 12px 0 var(--c-red);
}
.owner__frame img { border-radius: 2px; width: 260px; height: auto; }
.owner__name { margin-top: 1.6rem; font-size: .98rem; color: var(--c-ink-soft); }
.owner__name strong { display: block; font-family: var(--f-display); font-size: 1.35rem; color: var(--c-ink); letter-spacing: .01em; }

/* ---------- USP-Leiste ---------- */
.usps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.usp {
  display: flex; gap: 1rem;
  padding: 1.7rem 1.6rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.usp:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3d8dd; }
.usp__icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--c-yellow); border-radius: 10px;
  color: var(--c-ink);
}
.usp__icon svg { width: 22px; height: 22px; }
.usp h3 { font-family: var(--f-body); font-size: 1.02rem; font-weight: 700; margin-bottom: .3rem; color: var(--c-ink); letter-spacing: 0; }
.usp p { font-size: .94rem; line-height: 1.6; }

/* ---------- Maschinen-Grid ---------- */
.machines {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.machine {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.machine:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfd5da; }

.machine__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-surface-2);
  overflow: hidden;
}
.machine__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.machine:hover .machine__media img { transform: scale(1.045); }

.badge {
  position: absolute; top: .85rem; left: .85rem;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .7rem;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--c-ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); }

.machine__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.5rem; }
.machine__title {
  font-family: var(--f-display);
  font-size: 1.32rem; line-height: 1.15; color: var(--c-ink);
  margin: 0 0 .15rem;
}
.machine__cat { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 1rem; }

.price-list { list-style: none; margin: 0 0 1.35rem; padding: 0; border-top: 1px solid var(--c-line); }
.price-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--c-line);
}
.price-list .unit { font-size: .86rem; color: var(--c-muted); }
.price-list .amount { font-family: var(--f-display); font-size: 1.32rem; color: var(--c-ink); }
.price-list .amount small { font-size: .8em; }

.machine__body .btn { margin-top: auto; }

.machines__note {
  margin-top: 1.75rem;
  font-size: .9rem; color: var(--c-muted);
  text-align: center;
}

/* ---------- Lieferservice ---------- */
.delivery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
.delivery__cards { display: grid; gap: 1.1rem; }
.delivery-card {
  display: flex; align-items: flex-start; gap: 1.15rem;
  padding: 1.6rem 1.7rem;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-md);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.delivery-card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 227, 46, .45); }
.delivery-card__icon {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--c-yellow); color: var(--c-ink); border-radius: 10px;
}
.delivery-card__icon svg { width: 24px; height: 24px; }
.delivery-card h3 { font-family: var(--f-body); font-size: 1.02rem; font-weight: 700; margin-bottom: .2rem; letter-spacing: 0; }
.delivery-card p { font-size: .92rem; margin: 0; color: rgba(255, 255, 255, .68); }
.delivery-card .price { display: block; margin-top: .55rem; font-family: var(--f-display); font-size: 1.5rem; color: var(--c-yellow); }
.delivery-card .price small { font-family: var(--f-body); font-size: .78rem; font-weight: 400; color: rgba(255, 255, 255, .6); letter-spacing: .02em; }

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 1.6rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--f-display); font-size: 2.6rem; line-height: 1;
  color: var(--c-yellow-deep);
  margin-bottom: .5rem;
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--c-ink); border-radius: 2px;
}
.step h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: .35rem; }
.step p { font-size: .94rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; }
.faq details {
  border-bottom: 1px solid var(--c-line);
}
.faq details[open] summary { color: var(--c-ink); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--f-display); font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  color: var(--c-ink-soft);
  cursor: pointer; list-style: none;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--c-ink); }
.faq summary .chev {
  flex: none; width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 2px solid var(--c-line); border-radius: 50%;
  transition: transform .25s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.faq summary .chev svg { width: 15px; height: 15px; }
.faq details[open] summary .chev { transform: rotate(180deg); background: var(--c-yellow); border-color: var(--c-yellow); }
.faq__answer { padding: 0 0 1.5rem; max-width: 46rem; }
.faq__answer p { font-size: .98rem; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--c-yellow); text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .7rem; }
.cta-band p { font-size: 1.1rem; color: var(--c-ink-soft); max-width: 38rem; margin-inline: auto; margin-bottom: 2.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--c-ink); color: rgba(255, 255, 255, .68); padding: clamp(3.5rem, 7vw, 5rem) 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}
.footer__logo img { width: 190px; margin-bottom: 1.2rem; }
.footer h3 {
  font-family: var(--f-body); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-yellow); margin-bottom: 1.1rem; letter-spacing: .16em;
}
.footer p, .footer address { font-size: .94rem; font-style: normal; line-height: 1.75; margin: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .18s var(--ease); }
.footer a:hover { color: var(--c-yellow); }
.footer__contact a { display: inline-flex; align-items: center; gap: .55rem; }
.footer__contact svg { width: 16px; height: 16px; color: var(--c-yellow); flex: none; }
.footer__big-phone { font-family: var(--f-display); font-size: 1.6rem; color: #fff; letter-spacing: .01em; }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .86rem;
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ---------- Rechtstexte ---------- */
.page-hero {
  background: var(--c-yellow);
  border-bottom: 3px solid var(--c-ink);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.breadcrumb { font-size: .84rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .8rem; color: var(--c-ink-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.legal { max-width: 50rem; }
.legal h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2.8rem; padding-top: 2.8rem;
  border-top: 1px solid var(--c-line);
}
.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-family: var(--f-body); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; margin-top: 2rem; margin-bottom: .5rem; color: var(--c-ink); }
.legal h4 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-top: 1.5rem; margin-bottom: .35rem; color: var(--c-ink-soft); }
.legal p, .legal li { font-size: .98rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--c-yellow-deep); }
.legal a:hover { text-decoration-thickness: 2px; }
.legal address { font-style: normal; }
.legal .uppercase-note { font-size: .9rem; color: var(--c-muted); }

/* ---------- Scroll-Reveal ----------
   Nur aktiv, wenn JavaScript läuft – ohne JS bleibt alles sichtbar. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .header__inner { gap: .75rem; }
  .header__logo img { width: 148px; }
  /* .nav ist ausgeklappt position:fixed und schiebt nicht mehr – daher hier */
  .header__actions { margin-left: auto; }
  .header__phone span { display: none; }
  .header__phone { padding: .6rem; border: 2px solid var(--c-ink); border-radius: var(--r-sm); }
  .burger { display: block; }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--c-yellow);
    border-bottom: 3px solid var(--c-ink);
    padding: 1.5rem 1.25rem 2rem;
    transform: translateY(-115%);
    /* visibility statt nur transform: Bei hohen Menüs ragte die
       Unterkante sonst wieder oben ins Bild und lag als dunkler
       Strich über dem Header. Nebenbei sind die Links im
       geschlossenen Zustand nicht mehr per Tab erreichbar. */
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s var(--ease);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid rgba(20, 24, 28, .16); }
  .nav__list a { display: block; padding: 1rem .25rem; font-size: 1rem; }
  .nav__list a::after { display: none; }

  .claim__grid { grid-template-columns: 1fr; }
  /* Botschaft zuerst, Portrait danach – sonst schiebt das hochformatige
     Foto die Kernaussage unter die Falz. */
  .owner { margin-top: 2.5rem; }
  .usps { grid-template-columns: 1fr; }
  .delivery__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 2rem, var(--w-page)); }
  /* Im Header bleibt auf kleinen Screens nur Logo, Telefon und Burger –
     der CTA wandert dafür ins aufgeklappte Menü. */
  .header__actions > .btn { display: none; }
  .header__logo img { width: 132px; }
  .nav__cta { display: block; border-top: 0 !important; padding-top: 1.25rem; }
  .nav__cta a { padding: 1rem 1.5rem; color: var(--btn-fg); font-size: .875rem; }
  .hero { min-height: auto; }
  .hero__facts { gap: 1.1rem 1.6rem; }
  .hero__cta .btn, .cta-band__actions .btn { width: 100%; }
  .machines { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .owner__frame { box-shadow: 8px 8px 0 var(--c-red); }
  .owner__frame img { width: min(220px, 60vw); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .stroke svg path { stroke-dashoffset: 0; }
}

@media print {
  .header, .footer, .cta-band, .hero__cta { display: none; }
  body { color: #000; font-size: 11pt; }
}

/* =========================================================
   MIETKORB & ANFRAGE-KONFIGURATOR
   ========================================================= */

.muted { color: var(--c-muted); }

/* ---------- Mengen-Stepper ---------- */
.qty {
  display: inline-flex; align-items: center; gap: .1rem;
  border: 1.5px solid var(--c-line); border-radius: 999px; overflow: hidden;
  background: #fff;
}
.qty button {
  width: 32px; height: 32px; padding: 0;
  display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer;
  font-size: 1.05rem; font-weight: 700; line-height: 1; color: var(--c-ink);
  transition: background-color .15s var(--ease);
}
.qty button:hover { background: var(--c-yellow); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: .95rem; color: var(--c-ink); }

/* ---------- „In den Mietkorb“ ---------- */
.btn.is-in-cart { --btn-bg: var(--c-yellow); --btn-fg: var(--c-ink); --btn-bd: var(--c-ink); }
.btn.is-pulse { animation: cbPulse .42s var(--ease); }
@keyframes cbPulse { 40% { transform: scale(.955); } 100% { transform: none; } }

.machine__actions { margin-top: auto; display: grid; gap: .5rem; }
.machine__actions .machine__link {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-align: center;
  color: var(--c-muted); text-decoration: none;
}
.machine__actions .machine__link:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Schwebende Mietkorb-Leiste ---------- */
.cartbar {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 95;
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
/* Beim Runterscrollen wegklappen, damit die Leiste nicht dauerhaft
   die Buttons der Maschinen-Karten überdeckt. */
.cartbar.is-tucked { transform: translateY(160%); opacity: 0; pointer-events: none; }
/* Platz am Seitenende, sonst liegt die Leiste über dem Footer */
body.has-cartbar { padding-bottom: 88px; }
.cartbar__btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .95rem 1.35rem;
  background: var(--c-ink); color: #fff;
  border: 2px solid var(--c-ink); border-radius: 999px;
  box-shadow: var(--shadow-lg); cursor: pointer;
  font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  animation: cbIn .3s var(--ease);
  transition: transform .18s var(--ease);
}
.cartbar__btn:hover { transform: translateY(-2px); }
.cartbar__btn svg { width: 20px; height: 20px; }
@keyframes cbIn { from { opacity: 0; transform: translateY(14px); } }
.cartbar__count {
  min-width: 24px; height: 24px; padding: 0 .3rem;
  display: grid; place-items: center;
  background: var(--c-yellow); color: var(--c-ink);
  border-radius: 999px; font-size: .8rem; letter-spacing: 0;
}

.cartbackdrop { position: fixed; inset: 0; z-index: 110; background: rgba(10, 13, 16, .5); backdrop-filter: blur(2px); }
body.is-cart-open { overflow: hidden; }

.cartpanel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: #fff; box-shadow: var(--shadow-lg);
  animation: cbSlide .28s var(--ease);
}
@keyframes cbSlide { from { transform: translateX(100%); } }
.cartpanel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 1.5rem; border-bottom: 3px solid var(--c-ink); background: var(--c-yellow);
}
.cartpanel__head h2 { margin: 0; font-size: 1.5rem; }
.cartpanel__close {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; border: 2px solid var(--c-ink); border-radius: var(--r-sm);
  color: var(--c-ink); cursor: pointer;
}
.cartpanel__close svg { width: 18px; height: 18px; }
.cartpanel__close:hover { background: var(--c-ink); color: var(--c-yellow); }
.cartpanel__body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cartpanel__empty { padding: 2.5rem 0; text-align: center; color: var(--c-muted); }
.cartpanel__foot { padding: 1.25rem 1.5rem; border-top: 1px solid var(--c-line); background: var(--c-surface-2); }
.cartpanel__hint { font-size: .85rem; color: var(--c-muted); margin-bottom: .85rem; }

.cartitem {
  display: grid; grid-template-columns: 80px 1fr auto; gap: .9rem; align-items: center;
  padding: .9rem 0; border-bottom: 1px solid var(--c-line);
}
.cartitem img { border-radius: var(--r-sm); object-fit: cover; width: 80px; height: 60px; background: var(--c-surface-2); }
.cartitem__name { margin: 0 0 .1rem; font-weight: 700; font-size: .94rem; color: var(--c-ink); line-height: 1.3; overflow-wrap: anywhere; }
.cartitem__meta { margin: 0 0 .5rem; font-size: .82rem; color: var(--c-muted); }
.cartitem__del {
  width: 30px; height: 30px; display: grid; place-items: center; align-self: start;
  background: transparent; border: 0; border-radius: var(--r-sm); color: var(--c-muted); cursor: pointer;
}
.cartitem__del svg { width: 15px; height: 15px; }
.cartitem__del:hover { background: var(--c-surface-2); color: var(--c-red); }

/* ---------- Hinweis-Banner ---------- */
.notice {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.1rem 1.3rem; margin: 0 0 2rem;
  background: var(--c-yellow-soft);
  border: 1px solid #f0e08a; border-left: 4px solid var(--c-yellow-deep);
  border-radius: var(--r-md);
  font-size: .95rem; color: var(--c-ink-soft);
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: .1rem; color: var(--c-ink); }

.page-hero__lead { margin: .7rem 0 0; font-size: 1.05rem; color: var(--c-ink-soft); max-width: 40rem; }

/* ---------- Layout ---------- */
.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 2rem;
  align-items: start;
}
.booking__main { display: grid; gap: 1.5rem; min-width: 0; }
.booking__empty { padding: 1.5rem 0; color: var(--c-muted); }
.booking__empty a { color: var(--c-ink); }

.step-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 1.6rem 1.7rem 1.8rem; box-shadow: var(--shadow-sm);
}
.step-card__title {
  display: flex; align-items: center; gap: .8rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 1.2rem;
}
.step-card__num {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--c-yellow); border: 2px solid var(--c-ink); border-radius: 50%;
  font-size: 1rem; line-height: 1;
}
.step-card__hint { font-size: .92rem; color: var(--c-muted); margin-bottom: 1rem; }

/* ---------- Positionen ---------- */
.bookitem {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto auto;
  gap: 1rem; align-items: center;
  padding: .9rem 0; border-bottom: 1px solid var(--c-line);
}
.bookitem:first-child { padding-top: 0; }
.bookitem img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: var(--c-surface-2); }
.bookitem__name { margin: 0 0 .15rem; font-weight: 700; color: var(--c-ink); line-height: 1.3; overflow-wrap: anywhere; }
.bookitem__meta { margin: 0; font-size: .84rem; color: var(--c-muted); }
.bookitem__price { margin: 0; font-family: var(--f-display); font-size: 1.2rem; color: var(--c-ink); white-space: nowrap; }
.bookitem__price .muted { font-family: var(--f-body); font-size: .8rem; }
.bookitem__del {
  width: 30px; height: 30px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: var(--r-sm); color: var(--c-muted); cursor: pointer;
}
.bookitem__del svg { width: 15px; height: 15px; }
.bookitem__del:hover { background: var(--c-surface-2); color: var(--c-red); }

/* ---------- Chips / Maschinen-Auswahl ---------- */
.picker { margin-top: 1.2rem; border-top: 1px solid var(--c-line); }
.picker summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: .95rem; color: var(--c-ink);
}
.picker summary::-webkit-details-marker { display: none; }
.picker summary svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.picker[open] summary svg { transform: rotate(180deg); }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; padding-top: 1rem; }
.quick { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1rem;
  background: #fff; border: 1.5px solid var(--c-line); border-radius: 999px;
  font: inherit; font-size: .88rem; font-weight: 600; color: var(--c-ink-soft);
  cursor: pointer; text-align: left;
  transition: border-color .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease);
}
.chip:hover { border-color: var(--c-ink); color: var(--c-ink); }
.chip.is-active { background: var(--c-yellow); border-color: var(--c-ink); color: var(--c-ink); }
.chip__price { font-weight: 400; font-size: .8rem; color: var(--c-muted); }
.chip.is-active .chip__price { color: var(--c-ink-soft); }
.chip--sm { padding: .5rem .95rem; font-size: .84rem; }

/* ---------- Kalender ---------- */
.cal { border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.cal__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 1rem; background: var(--c-surface-2); border-bottom: 1px solid var(--c-line);
}
.cal__title { margin: 0; font-family: var(--f-display); font-size: 1.05rem; color: var(--c-ink); }
.cal__arrow {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--r-sm);
  color: var(--c-ink); cursor: pointer;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.cal__arrow svg { width: 16px; height: 16px; }
.cal__arrow:hover:not(:disabled) { background: var(--c-yellow); border-color: var(--c-ink); }
.cal__arrow:disabled { opacity: .35; cursor: not-allowed; }

.cal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.1rem 1.2rem 1.3rem; }
.cal__caption {
  margin: 0 0 .6rem; text-align: center;
  font-family: var(--f-display); font-size: 1rem; color: var(--c-ink);
}
.cal__weekdays, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__weekdays { gap: 0; margin-bottom: .3rem; }
.cal__weekdays span {
  text-align: center; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted);
  padding-bottom: .3rem;
}
.cal__days { gap: 2px 0; }
.cal__pad { aspect-ratio: 1; }
.cal__day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: transparent; border: 0; border-radius: var(--r-sm);
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--c-ink-soft);
  cursor: pointer; position: relative;
  transition: background-color .12s var(--ease), color .12s var(--ease);
}
.cal__day:hover:not(:disabled) { background: var(--c-yellow-soft); color: var(--c-ink); }
.cal__day:disabled { color: #c8ced3; cursor: not-allowed; }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--c-line); }
.cal__day.is-in-range { background: var(--c-yellow-soft); border-radius: 0; color: var(--c-ink); }
.cal__day.is-start, .cal__day.is-end {
  background: var(--c-ink); color: #fff; box-shadow: none;
}
.cal__day.is-start:hover, .cal__day.is-end:hover { background: var(--c-ink); color: #fff; }
.cal__day.is-start { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.cal__day.is-end { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.cal__day.is-start.is-end { border-radius: var(--r-sm); }

.period {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem;
  margin-top: 1rem; padding: .9rem 1.1rem;
  background: var(--c-surface-2); border-radius: var(--r-md);
}
.period__out { margin: 0; font-size: .95rem; color: var(--c-ink); }
.period__out.is-empty { color: var(--c-muted); }
.period__clear {
  background: transparent; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: .85rem; font-weight: 600; color: var(--c-muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.period__clear:hover { color: var(--c-ink); }

/* ---------- Optionen (Radio-Karten) ---------- */
.options { display: grid; gap: .7rem; }
.option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--c-line); border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.option:hover { border-color: #c4cad0; }
.option:has(input:checked) { border-color: var(--c-ink); background: var(--c-yellow-soft); }
.option:has(input:focus-visible) { outline: 3px solid var(--c-ink); outline-offset: 2px; }
.option input { flex: none; width: 20px; height: 20px; accent-color: var(--c-ink); }
.option__body { display: block; flex: 1; }
.option__name { display: block; font-weight: 700; color: var(--c-ink); }
.option__desc { display: block; font-size: .86rem; color: var(--c-muted); }
.option__price { flex: none; font-family: var(--f-display); font-size: 1.15rem; color: var(--c-ink); }

/* ---------- Formularfelder ---------- */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field--km { margin-top: 1.1rem; max-width: 22rem; }
.field label, .check span { font-size: .88rem; font-weight: 600; color: var(--c-ink-soft); }
.field .opt { font-weight: 400; color: var(--c-muted); }
.field__hint { margin: 0; font-size: .8rem; color: var(--c-muted); }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem;
  font: inherit; font-size: .97rem; color: var(--c-ink);
  background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--r-sm);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: #c4cad0; }
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--c-ink); box-shadow: 0 0 0 3px var(--c-yellow);
}
.field input:user-invalid { border-color: var(--c-red); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check {
  display: flex; gap: .8rem; align-items: flex-start;
  margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--c-line);
  cursor: pointer;
}
.check input { flex: none; width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--c-ink); }
.check span { font-weight: 400; font-size: .9rem; line-height: 1.6; color: var(--c-body); }
.check a { color: var(--c-ink); }

/* ---------- Zusammenfassung ---------- */
.booking__aside { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.summary {
  background: var(--c-ink); color: rgba(255, 255, 255, .78);
  border-radius: var(--r-lg); padding: 1.6rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-md);
}
.summary__title { color: #fff; font-size: 1.45rem; margin-bottom: .2rem; }
.summary__days { font-size: .85rem; color: var(--c-yellow); font-weight: 600; margin-bottom: 1.2rem; }
.summary__lines { list-style: none; margin: 0; padding: 0; }
.summary__lines li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem;
}
.summary__lines small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.summary__lines b { color: #fff; font-weight: 700; white-space: nowrap; }
.summary__lines .muted, .summary__lines .muted b { color: rgba(255, 255, 255, .45); }
.summary__lines--extra li { border-bottom: 0; }
.summary__total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin: .3rem 0 0; padding-top: .9rem; border-top: 2px solid rgba(255, 255, 255, .25);
}
.summary__total span { font-weight: 700; color: #fff; }
.summary__total b { font-family: var(--f-display); font-size: 2.1rem; color: var(--c-yellow); }
.summary__note { font-size: .78rem; line-height: 1.6; color: rgba(255, 255, 255, .55); margin: .9rem 0 1.2rem; }
.summary .btn { --btn-bg: var(--c-yellow); --btn-fg: var(--c-ink); --btn-bd: var(--c-yellow); }
.summary .btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.summary .btn.is-loading { opacity: .7; }
.summary__hint { font-size: .8rem; color: var(--c-yellow); margin: .7rem 0 0; text-align: center; }
.summary__alt {
  margin: 1.3rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem; text-align: center;
}
.summary__alt a { color: var(--c-yellow); font-weight: 700; text-decoration: none; }
.summary__alt a:hover { text-decoration: underline; }

/* ---------- Erfolgsmeldung ---------- */
.result {
  max-width: 40rem; margin: 0 auto; padding: 3rem 2rem; text-align: center;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.result__icon {
  width: 68px; height: 68px; margin: 0 auto 1.5rem;
  display: grid; place-items: center;
  background: var(--c-yellow); border: 3px solid var(--c-ink); border-radius: 50%;
  color: var(--c-ink);
}
.result__icon svg { width: 32px; height: 32px; }
.result h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.result__note { font-size: .9rem; color: var(--c-muted); }
.result__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .booking__grid { grid-template-columns: 1fr; }
  .booking__aside { position: static; }
}

@media (max-width: 860px) {
  .cal__grid { grid-template-columns: 1fr; }
  .cal__month--second { display: none; }
}

@media (max-width: 640px) {
  .cartbar { right: 1rem; bottom: 1rem; left: 1rem; }
  .cartbar__btn { width: 100%; justify-content: center; }
  .cartpanel { width: 100%; }
  .step-card { padding: 1.3rem 1.15rem 1.5rem; border-radius: var(--r-md); }
  .fields { grid-template-columns: 1fr; }
  /* Der Entfernen-Button wandert aus dem Raster, sonst bleiben für den
     Maschinennamen bei 320 px nur ~85 px und lange Wörter laufen raus. */
  .bookitem {
    position: relative;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas: "img main" "qty price";
    gap: .6rem .8rem;
    padding-right: 34px;
  }
  .bookitem img { grid-area: img; width: 56px; height: 46px; }
  .bookitem__main { grid-area: main; min-width: 0; }
  .bookitem__name { font-size: .95rem; }
  .bookitem__meta { font-size: .8rem; }
  .bookitem .qty { grid-area: qty; justify-self: start; }
  .bookitem__price { grid-area: price; justify-self: end; align-self: center; font-size: 1.1rem; }
  .bookitem__del { position: absolute; top: .8rem; right: 0; }
  .bookitem:first-child .bookitem__del { top: 0; }
  .option { flex-wrap: wrap; }
  .option__price { width: 100%; padding-left: 2.9rem; font-size: 1rem; }
  .summary__total b { font-size: 1.8rem; }
  .result { padding: 2.2rem 1.3rem; }
}
