/* Schrift Plus Jakarta Sans – vom eigenen Server (keine Verbindung zu Google), SIL Open Font License 1.1 */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =========================================================
   Mieten mit Schmidt – Stylesheet
   Reines Design. Keine Logik. Farben & Abstände als Tokens.
   ========================================================= */

:root {
  /* Farbpalette – angelehnt an mietenmitschmidt.de */
  --c-ink:        #1A1A1A;   /* Anthrazit (Header/Footer Referenz) */
  --c-slate:      #2B2B2B;
  --c-slate-2:    #222222;
  --c-paper:      #F9FAFB;   /* Hellgrau (Hintergrund Referenz) */
  --c-paper-2:    #F0F3F4;
  --c-line:       #E3E7EA;
  --c-line-dark:  rgba(255,255,255,.10);
  --c-muted:      #5B6470;
  --c-muted-dark: #9CA3AF;
  --c-accent:     #007A7A;   /* MMS-Petrol (Buttons Referenz) */
  --c-accent-hi:  #2DB3B0;   /* helleres Petrol für Text auf Dunkel */
  --c-accent-lo:  #005F5F;
  --c-accent-bg:  #E6F4F4;   /* Petrol-Tönung für Badges */
  --c-danger:     #DC2626;
  --rgb-accent:    0,122,122;
  --rgb-accent-hi: 45,179,176;

  /* Typografie */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 140px);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;

  --shadow: 0 1px 2px rgba(26,26,26,.04), 0 8px 24px rgba(26,26,26,.06);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-accent-hi);
  margin-bottom: 1.25rem;
}
.eyebrow-dark { color: var(--c-accent-lo); }
.accent { color: var(--c-accent); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-lo); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--c-paper); }
.btn-ghost:hover { border-color: var(--c-paper); }
.btn-small {
  padding: .6rem 1.1rem;
  font-size: .875rem;
  background: var(--c-ink);
  color: var(--c-paper);
}
.btn-small:hover { background: var(--c-slate); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(26,26,26,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line-dark);
  color: var(--c-paper);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1.5px dashed rgba(255,255,255,.35);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--c-accent-hi);
}
.logo-mark-sm { width: 40px; height: 40px; margin-bottom: 1rem; }
.logo-text { font-weight: 700; letter-spacing: -0.01em; }

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav a { white-space: nowrap; }
.main-nav a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(248,249,250,.78);
  transition: color .2s;
}
.main-nav a:hover { color: #fff; }

.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .6rem .55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.18);
  background: transparent;
  color: var(--c-paper);
  font-size: .9rem;
  font-weight: 600;
  transition: border-color .2s;
}
.nav-cart:hover { border-color: var(--c-accent); }

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px; height: 26px;
  padding: 0 .4rem;
  border-radius: 999px;
  background: var(--c-slate);
  color: var(--c-paper);
  font-size: .8rem;
  font-weight: 700;
  transition: background .2s, transform .3s var(--ease);
}
.cart-count.has-items { background: var(--c-accent); }
.cart-count.bump { transform: scale(1.3); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-paper); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Bühnen-Look) ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  background: var(--c-ink);
  color: var(--c-paper);
  overflow: hidden;
  isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-stage::after {           /* Bühnenboden */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(to top, rgba(var(--rgb-accent),.10), transparent);
}
.beam {
  position: absolute;
  top: -10%;
  width: 34vw;
  max-width: 520px;
  height: 130%;
  transform-origin: top center;
  background: linear-gradient(to bottom, rgba(var(--rgb-accent-hi),.38), rgba(var(--rgb-accent-hi),.06) 55%, transparent 80%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  filter: blur(6px);
  mix-blend-mode: screen;
  opacity: .8;
}
.beam-1 { right: 32%; transform: rotate(18deg);  animation: sway 9s ease-in-out infinite alternate; }
.beam-2 { right: 8%;  transform: rotate(-12deg); animation: sway 11s ease-in-out infinite alternate-reverse;
          background: linear-gradient(to bottom, rgba(248,249,250,.28), rgba(248,249,250,.04) 55%, transparent 80%); }
.beam-3 { right: -10%; transform: rotate(-28deg); animation: sway 13s ease-in-out infinite alternate; opacity: .55; }
.haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 85%, rgba(var(--rgb-accent),.18), transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(42,47,54,.9), transparent 70%);
}
@keyframes sway {
  from { rotate: -4deg; }
  to   { rotate: 4deg; }
}

.hero-inner { padding-block: clamp(80px, 12vw, 160px); }
.hero h1 {
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: .98;
  max-width: 14ch;
  margin-bottom: 1.75rem;
}
.hero-lead {
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(248,249,250,.74);
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 4.5rem; }

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--c-line-dark);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 2rem;
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-size: 1.05rem; }
.hero-facts span { color: var(--c-muted-dark); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-light { background: var(--c-paper); }
.section-dark  { background: var(--c-ink); color: var(--c-paper); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-lead { color: var(--c-muted); font-size: 1.1rem; margin-top: 1.25rem; }

/* ---------- Filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .6rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--c-line);
  background: #fff;
  color: var(--c-slate);
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--c-slate); }
.filter-btn.is-active { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-paper); }

/* ---------- Produktkarten ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 1.5rem;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(26,26,26,.05), 0 18px 40px rgba(26,26,26,.10); }

.card-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--c-slate);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(var(--rgb-accent),.45), transparent 60%);
}
.card-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s var(--ease); }
.card-visual img.is-loaded { opacity: 1; }
.card-noimg {
  position: relative;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: rgba(var(--rgb-accent-hi), .55);
}

.card-badge.card-badge-promo { top: auto; bottom: 14px; left: 14px; right: auto; background: var(--c-paper); color: var(--c-accent-lo); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.card-badge.card-badge-ext { background: rgba(26,26,26,.7); backdrop-filter: blur(4px); }
.card-promo {
  margin: -.25rem 0 .9rem;
  padding: .55rem .75rem;
  border-left: 3px solid var(--c-accent);
  background: var(--c-accent-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-accent-lo);
}
.card-promo span { font-weight: 500; opacity: .8; white-space: nowrap; }
.card.has-promo { border-color: rgba(var(--rgb-accent), .45); }
.card.is-highlight { box-shadow: 0 0 0 3px var(--c-accent), var(--shadow); }
.tariffs small { color: var(--c-muted); font-weight: 500; }

/* ---------- Angebots-Banner (Startseite) ---------- */
.promo-banner { position: relative; z-index: 45; background: var(--c-accent); color: #fff; }
.promo-inner { display: flex; align-items: center; gap: 1.25rem; padding-block: .8rem; }
.promo-text { margin: 0; flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; font-size: .95rem; }
.promo-text strong { font-weight: 800; letter-spacing: -0.01em; }
.promo-text span { opacity: .9; }
.promo-cta {
  flex-shrink: 0;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: var(--c-accent-lo);
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.promo-cta:hover { background: var(--c-paper-2); }
.promo-close { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.promo-close:hover { background: rgba(255,255,255,.12); }
@media (max-width: 520px) {
  .promo-inner { flex-wrap: wrap; gap: .6rem; }
  .promo-text { flex-basis: calc(100% - 44px); font-size: .9rem; }
  .promo-close { order: 2; }
  .promo-cta { order: 3; }
}

/* ---------- Kategorie-Übersicht (Startansicht) ---------- */
.product-grid.is-overview { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  min-height: 210px;
  padding: 1.6rem 1.6rem 1.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-ink);
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-tile::before {               /* Akzentlinie */
  content: "";
  position: absolute;
  left: 1.6rem; top: 0;
  width: 36px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--c-accent);
  transition: width .3s var(--ease);
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--c-accent); box-shadow: 0 2px 4px rgba(26,26,26,.05), 0 18px 40px rgba(26,26,26,.10); }
.cat-tile:hover::before { width: 72px; }
.cat-tile-count { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-lo); }
.cat-tile-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.cat-tile-preview { font-size: .9rem; color: var(--c-muted); line-height: 1.5; }
.cat-tile-cta {
  margin-top: auto;
  padding-top: .75rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-accent-lo);
}
.cat-tile-cta::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-.1em) rotate(45deg); transition: margin .2s; }
.cat-tile:hover .cat-tile-cta::after { margin-left: .7em; }
.cat-tile-all { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.cat-tile-all .cat-tile-count, .cat-tile-all .cat-tile-cta { color: var(--c-accent-hi); }
.cat-tile-all .cat-tile-preview { color: var(--c-muted-dark); }

.filter-back { background: transparent; border-color: transparent; color: var(--c-accent-lo); padding-left: .6rem; }
.filter-back::before { content: ""; display: inline-block; width: .45em; height: .45em; margin-right: .5em; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; transform: translateY(-.1em) rotate(45deg); }
.filter-back:hover { border-color: var(--c-line); }

.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(26,26,26,.7);
  backdrop-filter: blur(4px);
  color: var(--c-paper);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--c-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.6rem; }
.card-body h3 { margin-bottom: .6rem; }
.card-price-badge {
  align-self: flex-start;
  margin-bottom: .9rem;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: var(--c-accent-bg);
  color: var(--c-accent-lo);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card-desc { color: var(--c-muted); font-size: .95rem; margin-bottom: 1rem; }

.card-details { margin-bottom: 1.25rem; font-size: .9rem; }
.card-details summary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--c-accent-lo);
}
.card-details summary::-webkit-details-marker { display: none; }
.card-details summary::after { content: "▾"; transition: transform .2s; }
.card-details[open] summary::after { transform: rotate(180deg); }
.card-details summary:hover { color: var(--c-accent); }

.tariffs {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  background: var(--c-paper-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.tariffs td { padding: .55rem .8rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.tariffs td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.tariffs tr:last-child td { border-bottom: 0; }
.tariff-deposit td { background: var(--c-accent-bg); color: var(--c-accent-lo); font-weight: 700; }
.card-longdesc { color: var(--c-muted); line-height: 1.55; max-height: 22rem; overflow-y: auto; padding-right: .25rem; }

.catalog-status { grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; color: var(--c-muted); }

.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line);
}
.card-price { display: flex; flex-direction: column; line-height: 1.25; }
.card-price strong { font-size: 1.35rem; letter-spacing: -0.02em; }
.card-price span { font-size: .78rem; color: var(--c-muted); }

.btn-add {
  padding: .7rem 1.1rem;
  font-size: .875rem;
  background: var(--c-ink);
  color: var(--c-paper);
  white-space: nowrap;
}
.btn-add:hover { background: var(--c-accent); }
.btn-add.is-added { background: var(--c-paper-2); color: var(--c-ink); border-color: var(--c-line); }
.btn-add.is-added:hover { border-color: var(--c-ink); background: var(--c-paper-2); }
.btn-add.is-disabled { background: var(--c-paper-2); color: var(--c-muted); cursor: default; }
.btn-add.btn-partner { background: transparent; color: var(--c-accent-lo); border-color: var(--c-accent); }
.btn-add.btn-partner:hover { background: var(--c-accent); color: #fff; }

.filter-bar-sub { margin-top: -1.5rem; }
.filter-bar-sub .filter-btn { font-size: .825rem; padding: .45rem .95rem; background: transparent; }
.filter-bar-sub .filter-btn.is-active { background: var(--c-accent); border-color: var(--c-accent); }

.card.is-hidden { display: none; }

.price-note { margin-top: 2.5rem; font-size: .85rem; color: var(--c-muted); }

/* ---------- Ablauf ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2.25rem 2rem 2.5rem;
  border-radius: var(--radius);
  background: var(--c-slate-2);
  border: 1px solid var(--c-line-dark);
}
.step-num {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-accent);
  margin-bottom: 2rem;
}
.step h3 { margin-bottom: .75rem; }
.step p { color: var(--c-muted-dark); margin: 0; font-size: .975rem; }
.step:not(:last-child)::after {           /* Verbindungspfeil */
  content: "";
  position: absolute;
  top: 3.6rem;
  right: -1.15rem;
  width: .8rem; height: .8rem;
  border-top: 2px solid var(--c-accent);
  border-right: 2px solid var(--c-accent);
  transform: rotate(45deg);
  z-index: 1;
}
.steps-cta { margin-top: 3.5rem; }

/* ---------- Über uns ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-paper-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--c-muted); font-size: 1.075rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-muted-dark); padding-block: 56px; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--c-paper); }

/* ---------- Floating Cart (mobil) ---------- */
.fab-cart {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 40;
  display: none;
  align-items: center;
  gap: .6rem;
  padding: .8rem .8rem .8rem 1.25rem;
  border-radius: 999px;
  border: 0;
  background: var(--c-accent);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}
.fab-cart .cart-count { background: rgba(0,0,0,.25); }

/* ---------- Drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(26,26,26,.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.drawer-backdrop.is-visible { opacity: 1; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 100;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--c-paper);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--c-ink);
  color: var(--c-paper);
}
.drawer-head h2 { font-size: 1.25rem; letter-spacing: -0.01em; }
.drawer-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--c-line-dark);
  background: transparent;
  color: var(--c-paper);
  font-size: 1.5rem;
  line-height: 1;
}
.drawer-close:hover { border-color: var(--c-accent); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem; }

.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-item { padding: .9rem 0; border-bottom: 1px solid var(--c-line); }
.cart-item-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: .75rem;
}
.cart-opts { margin-top: .6rem; display: grid; gap: .4rem; }
.opt-field { display: flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; color: var(--c-slate); }
.opt-field select {
  flex: 1;
  padding: .45rem .6rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: .85rem;
}
.opt-field select:focus { outline: none; border-color: var(--c-accent); }
.opt-line { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .85rem; font-weight: 500; }
.opt-line small { display: block; font-size: .75rem; color: var(--c-muted); }
.qty-sm button { width: 26px; height: 26px; }
.qty-sm span { min-width: 18px; font-size: .8rem; }
.cart-item-price:empty { display: none; }
.cart-item-price {
  margin-top: .6rem;
  padding: .6rem .75rem;
  background: var(--c-paper-2);
  border-radius: var(--radius-sm);
  font-size: .8rem;
}
.cart-period { font-weight: 700; color: var(--c-accent-lo); margin-bottom: .2rem; }
.price-lines { list-style: none; padding: 0; margin: 0; }
.price-lines li { display: flex; justify-content: space-between; gap: 1rem; color: var(--c-slate); }
.price-lines li span:last-child { white-space: nowrap; font-weight: 600; }
.cart-note { margin-top: .3rem; color: var(--c-muted); }
.cart-warn { margin-top: .4rem; color: #92400E; font-weight: 600; font-size: .8rem; }
.cart-item-name { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.cart-item-sub { display: block; font-size: .8rem; color: var(--c-muted); font-weight: 500; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
}
.qty button {
  width: 30px; height: 30px;
  border: 0;
  background: transparent;
  font-weight: 700;
  color: var(--c-slate);
}
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty span { min-width: 22px; text-align: center; font-size: .9rem; font-weight: 600; }
.cart-remove {
  border: 0;
  background: transparent;
  color: var(--c-muted);
  font-size: 1.25rem;
  width: 30px; height: 30px;
  border-radius: 50%;
}
.cart-remove:hover { color: var(--c-danger); background: var(--c-paper-2); }

.cart-empty { text-align: center; padding: 2rem 1rem; color: var(--c-muted); background: var(--c-paper-2); border-radius: var(--radius); }

.cart-summary {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--c-paper-2);
  border-radius: var(--radius-sm);
  font-size: .9rem;
}
.cart-summary div { display: flex; justify-content: space-between; }
.cart-summary div + div { margin-top: .3rem; color: var(--c-muted); }

/* ---------- Formular ---------- */
.request-form { margin-top: 2rem; }
.request-form fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; }
.request-form legend {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent-lo);
  margin-bottom: 1rem;
}
.request-form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-slate);
  margin-bottom: 1rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.request-form input:not([type="checkbox"]),
.request-form select,
.request-form textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  color: var(--c-ink);
  transition: border-color .2s;
}
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus { outline: none; border-color: var(--c-accent); }
.request-form .is-invalid { border-color: var(--c-danger) !important; }
.request-form textarea { resize: vertical; }

.request-form label.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: .65rem;
  font-weight: 500;
  color: var(--c-muted);
}
.checkbox input { margin-top: .2rem; accent-color: var(--c-accent); width: 18px; height: 18px; flex-shrink: 0; }
.checkbox.is-invalid span { color: var(--c-danger); }

.request-form .opt { font-weight: 500; color: var(--c-muted); }
.field-note { font-size: .8rem; color: var(--c-muted); margin-top: -.25rem; }
.field-row-zip { grid-template-columns: 120px 1fr; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1rem; }
.request-form label.choice {
  flex-direction: row;
  align-items: flex-start;
  gap: .6rem;
  margin: 0;
  padding: .8rem .9rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.request-form label.choice:has(input:checked) { border-color: var(--c-accent); background: var(--c-accent-bg); }
.choice input { accent-color: var(--c-accent); margin-top: .2rem; }
.choice small { display: block; font-size: .75rem; font-weight: 500; color: var(--c-muted); }

.quote {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.2rem;
  border: 1.5px solid var(--c-accent);
  border-radius: var(--radius);
  background: #fff;
}
.quote h3 { font-size: 1rem; margin-bottom: .6rem; }
[data-quote-body] { transition: opacity .2s; }
[data-quote-body].is-loading { opacity: .5; }
.quote-lines { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.quote-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.quote-lines li span:last-child { white-space: nowrap; font-weight: 600; }
.quote-lines small { display: block; font-size: .75rem; color: var(--c-muted); font-weight: 500; }
.quote-total { border-top: 1px solid var(--c-line); margin-top: .3rem; padding-top: .6rem !important; font-size: 1.05rem; font-weight: 800; }
.quote-deposit { color: var(--c-muted); font-size: .85rem; }
.quote-hint { font-size: .8rem; color: var(--c-muted); margin-top: .5rem; }
.quote-errors { margin: 0; padding-left: 1.1rem; color: #92400E; font-size: .85rem; font-weight: 600; }

.form-error {
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  background: #FEF2F2;
  color: var(--c-danger);
  font-size: .9rem;
  font-weight: 600;
}
.form-hint { text-align: center; font-size: .8rem; color: var(--c-muted); margin-top: .75rem; }

.form-success { text-align: center; padding: 3rem 1rem; }
.form-success h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.form-success p { color: var(--c-muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform .35s var(--ease), visibility 0s linear .35s;
  pointer-events: none;
  width: max-content;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .35s var(--ease), visibility 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: auto; bottom: -1.1rem; right: auto; left: 2.2rem; transform: rotate(135deg); }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--c-ink);
    border-bottom: 1px solid var(--c-line-dark);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
  .main-nav a { padding: 1rem 0; border-bottom: 1px solid var(--c-line-dark); font-size: 1.05rem; }
  .nav-cart { margin-top: 1rem; justify-content: space-between; }
  .fab-cart { display: inline-flex; }
  .toast { bottom: 88px; }
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: .25rem;
    scrollbar-width: none;
    margin-bottom: 1.75rem;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; white-space: nowrap; }
  .filter-bar-sub { margin-top: -1rem; }
  .hero-facts { grid-template-columns: 1fr; gap: 1rem; }
  .beam { width: 70vw; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row.field-row-zip { grid-template-columns: 100px 1fr; gap: .75rem; }
  .field-row.field-row-dt { grid-template-columns: 1.3fr 1fr; gap: .75rem; }
  .choice-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .card-foot { flex-wrap: wrap; }
  .btn-add { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Unterseiten (/mieten/…): Sortiment, Kategorie, Artikel
   ========================================================= */
.cat-tile { text-decoration: none; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover, .card h3 a:focus-visible { color: var(--c-accent-lo); text-decoration: underline; text-underline-offset: 3px; }
a.card-visual { text-decoration: none; color: inherit; }
.card-more { margin: -.25rem 0 1rem; font-size: .9rem; font-weight: 700; }
.card-more a { color: var(--c-accent-lo); text-decoration: none; }
.card-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-details .card-more { margin: .9rem 0 0; }
a.filter-btn { display: inline-block; text-decoration: none; }

.btn-outline { border-color: var(--c-line); background: #fff; color: var(--c-ink); }
.btn-outline:hover { border-color: var(--c-ink); }
.section-dark .btn-outline { background: transparent; border-color: rgba(255,255,255,.28); color: var(--c-paper); }

.page-head { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 64px); background: var(--c-paper); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 1.25rem; }
.page-intro { max-width: 760px; color: var(--c-muted); font-size: 1.08rem; }
.page-intro p:last-child { margin-bottom: 0; }
.page-subnav { margin: 2rem 0 0; }
.page-products { padding-top: 0; }
.page-tiles { margin-top: 2.5rem; }

.breadcrumbs { margin-bottom: 1.5rem; font-size: .85rem; color: var(--c-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--c-line); }
.breadcrumbs a { color: var(--c-accent-lo); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--c-ink); font-weight: 600; }

/* Artikelseite */
.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pd-gallery {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem;
  border-radius: var(--radius); scrollbar-width: thin;
}
.pd-gallery img {
  flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start;
  border-radius: var(--radius); background: var(--c-paper-2);
}
.pd-gallery-hint { margin: .6rem 0 0; font-size: .8rem; color: var(--c-muted); }
.pd-noimg { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--c-ink); color: var(--c-accent-hi); font-weight: 800; font-size: 2rem; letter-spacing: .1em; }
.pd-info .eyebrow a { color: inherit; text-decoration: none; }
.pd-info h1 { margin-bottom: 1rem; }
.pd-h1-suffix { color: var(--c-accent); }
.pd-partner { display: inline-block; padding: .3rem .7rem; border-radius: 999px; background: var(--c-accent-bg); color: var(--c-accent-lo); font-size: .82rem; font-weight: 700; }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-bottom: 1.25rem; }
.pd-price strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.pd-price span { color: var(--c-muted); font-size: .95rem; }
.pd-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.pd-actions .btn-add { width: auto; flex: 0 0 auto; }
.pd-facts { display: grid; gap: .5rem; margin: 0; padding: 1.25rem 0 0; border-top: 1px solid var(--c-line); list-style: none; color: var(--c-slate); font-size: .95rem; }
.pd-facts li { position: relative; padding-left: 1.4rem; }
.pd-facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .3rem; border-left: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent); transform: rotate(-45deg); }
.pd-more { padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--c-line); }
.pd-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pd-cols h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.25rem; }
.pd-desc { color: var(--c-slate); }
.pd-tariffs .tariffs { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); }
.pd-tariffs .price-note { margin-top: 1rem; }
.pd-related { padding-top: 0; }
.pd-related h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.5rem; }

/* Ablauf + Aufruf */
.page-steps h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 2rem; }
.page-steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; counter-reset: step; }
.page-steps-list li { counter-increment: step; display: flex; flex-direction: column; gap: .35rem; padding-top: 1rem; border-top: 2px solid var(--c-accent); color: var(--c-muted-dark); }
.page-steps-list li strong { color: var(--c-paper); font-size: 1.15rem; }
.page-steps-list li strong::before { content: counter(step) ". "; color: var(--c-accent-hi); }
.page-steps .hero-actions { margin-bottom: 0; }

/* Sortiment: alle Artikel als Liste */
.page-index h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.75rem; }
.page-index-cols { columns: 3 260px; column-gap: 2.5rem; }
.page-index-group { break-inside: avoid; margin-bottom: 2rem; }
.page-index-group h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.page-index-group h3 a { color: var(--c-ink); text-decoration: none; border-bottom: 2px solid var(--c-accent); }
.page-index-group ul { margin: 0; padding: 0; list-style: none; }
.page-index-group li { padding: .2rem 0; font-size: .95rem; }
.page-index-group li a { color: var(--c-slate); text-decoration: none; }
.page-index-group li a:hover { color: var(--c-accent-lo); text-decoration: underline; }

.page-notfound { padding-block: clamp(60px, 10vw, 120px); }
.page-notfound .hero-actions { margin: 2rem 0 0; }

@media (max-width: 860px) {
  .pd, .pd-cols { grid-template-columns: 1fr; }
  .page-steps-list { grid-template-columns: 1fr; }
}

/* =========================================================
   Runde 2: Kontakt, Stern, Anfrageformular
   ========================================================= */
.header-contact { display: flex; align-items: center; gap: .4rem; margin-left: auto; margin-right: -.5rem; }
.contact-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .7rem; border-radius: 999px;
  color: rgba(248,249,250,.85); text-decoration: none; font-size: .85rem; font-weight: 600;
  white-space: nowrap; transition: background .2s, color .2s;
}
.logo-text { white-space: nowrap; }
@media (max-width: 1320px) {
  .contact-btn span { display: none; }
  .contact-btn { padding: .55rem; }
  .contact-btn svg { width: 20px; height: 20px; }
}
.contact-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.contact-btn svg { width: 18px; height: 18px; fill: var(--c-accent-hi); flex-shrink: 0; }

.footer-contact { display: flex; flex-direction: column; gap: .45rem; }
.footer-contact-title { margin: 0 0 .2rem; color: var(--c-paper); font-weight: 700; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.footer-contact a:hover { color: var(--c-paper); }
.footer-contact svg { width: 16px; height: 16px; fill: var(--c-accent-hi); }

.card-details-row { position: relative; }
.card-details-row .card-details summary, .card-details-row .card-more { padding-right: 3rem; }
.star-btn {
  position: absolute; right: 0; top: -.35rem; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1.5px solid var(--c-line); border-radius: 999px; background: #fff;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.star-btn svg { width: 20px; height: 20px; fill: transparent; stroke: var(--c-slate); stroke-width: 1.8; stroke-linejoin: round; transition: fill .2s, stroke .2s; }
.star-btn:hover { border-color: var(--c-accent); }
.star-btn:hover svg { stroke: var(--c-accent); }
.star-btn.is-on { border-color: var(--c-accent); background: var(--c-accent-bg); }
.star-btn.is-on svg { fill: var(--c-accent); stroke: var(--c-accent); }
.star-btn:active { transform: scale(.92); }
.pd-star { display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 600; color: var(--c-slate); }
.pd-star .star-btn { position: static; width: 48px; height: 48px; }

.choice.is-disabled { opacity: .45; cursor: not-allowed; }
.field-note-strong { color: var(--c-accent-lo); font-weight: 600; }
.quote-km small { display: block; }

@media (max-width: 860px) {
  .header-inner { gap: .5rem; }
  .header-contact { margin-right: 0; }
  .contact-btn { padding: .55rem; }
  .contact-btn span { display: none; }
  .contact-btn svg { width: 20px; height: 20px; }
}
@media (max-width: 400px) {
  .logo-text { display: none; }
}
