/* ACN Miete – Neuer Kopfbereich v2.4 (Claude, Okt 2026) */

/* ---------- Hero kompakt: keine leere Fläche oben ---------- */
.acn-app-root .hero {
  min-height: 0 !important;
  justify-content: center !important;
  padding: 72px 0 64px !important;
}
@media (max-width: 900px) {
  .acn-app-root .hero { padding: 40px 0 40px !important; }
}

/* ---------- Hero: schlanker, Titel 2 Zeilen ---------- */
.acn-app-root .hero-title.acn-hx-title {
  font-size: clamp(34px, 4vw, 56px) !important;
  line-height: 1.04 !important;
  max-width: 24ch !important;
  letter-spacing: -1px;
}
.acn-app-root .hero-lead.acn-hx-lead { font-size: 18px; max-width: 46ch !important; }

.acn-app-root .acn-hx-features {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.acn-app-root .acn-hx-features li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.88); border: 1px solid rgba(168,145,111,0.35);
  font-size: 14px; font-weight: 600; color: #1a1410; line-height: 1.2;
  text-transform: none; letter-spacing: 0;
}
.acn-app-root .acn-hx-check {
  flex: 0 0 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: #a8916f; color: #fff; font-size: 11px; font-weight: 900;
}
.acn-app-root .acn-hx-cta-row { margin-bottom: 8px; }

/* ---------- Flotten-Filter ---------- */
.acn-app-root .acn-fleet-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 26px; }
.acn-app-root .acn-fleet-tab {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: #fff; color: #1a1410; border: 1px solid #d8cfbe;
  text-transform: none; letter-spacing: 0; line-height: 1.2; min-height: 0; box-shadow: none;
}
.acn-app-root .acn-fleet-tab:hover { border-color: #a8916f; background: #fff; color: #1a1410; }
.acn-app-root .acn-fleet-tab[data-active="1"] { background: #1a1410; color: #fff; border-color: #1a1410; }
.acn-app-root .acn-fleet-tab-count {
  font-size: 12px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: rgba(168,145,111,0.2);
}
.acn-app-root .acn-fleet-tab[data-active="1"] .acn-fleet-tab-count { background: rgba(255,255,255,0.18); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
}
@media (max-width: 600px) {
  .acn-app-root .hero-lead.acn-hx-lead { font-size: 16px; }
  .acn-app-root .acn-fleet-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .acn-app-root .acn-fleet-tab { flex: 0 0 auto; padding: 9px 14px; }
}

/* =====================================================================
   v2.4 (Claude, Okt 2026) — Profi-Überarbeitung Mietseite
   ===================================================================== */

/* ---------- 1. Breite: kein seitliches Scrollen unter 1200 px ---------- */
body.page-id-4354 .container,
.acn-app-root .container {
  width: auto !important;
  max-width: min(var(--maxw, 1320px), 100%) !important;
  box-sizing: border-box;
}
body.page-id-4354 { overflow-x: hidden; background: #faf9f5 !important; }

/* ---------- 2. Header: Creme statt Grau, kompakt, sticky (Desktop) ---------- */
body.page-id-4354 #site-header {
  background: rgba(250,249,245,0.96) !important;
  border-bottom: 1px solid #e5dcc7;
  backdrop-filter: saturate(1.2) blur(8px);
}
body.page-id-4354 #site-header .e-con-inner { align-items: center; }
body.page-id-4354 #site-header .elementor-element-13801d1 { background: transparent !important; }
@media (min-width: 1025px) {
  body.page-id-4354 #site-header {
    position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 999;
  }
  body.page-id-4354 #site-header #site-header-inner.container { padding-top: 2px !important; padding-bottom: 2px !important; }
  body.page-id-4354 #site-header .elementor-element-13801d1,
  body.page-id-4354 #site-header .elementor-element-13801d1 > .e-con-inner { padding-top: 4px !important; padding-bottom: 4px !important; }
  body.page-id-4354 #site-header .elementor-element-288ea8e { padding-top: 0 !important; padding-bottom: 0 !important; min-height: 0 !important; }
  body.page-id-4354 #site-header .e-con-inner { flex-wrap: nowrap !important; }
  body.page-id-4354 #site-header .elementor-element-4b21ca1 { flex: 0 0 auto !important; width: auto !important; }
  body.page-id-4354 #site-header .elementor-element-288ea8e { flex: 1 1 auto !important; width: auto !important; min-width: 0; align-items: flex-end !important; }
  body.page-id-4354 #site-header .elementor-element-288ea8e .elementskit-navbar-nav { justify-content: flex-end !important; }
  body.page-id-4354 #site-header .acn-anim-logo svg { width: 230px !important; height: auto !important; }
  body.page-id-4354 #site-header .elementor-element-13801d1 > .e-con-inner { max-width: 1320px !important; width: 100% !important; }
  body.page-id-4354 #site-header .elementskit-navbar-nav > li > a { font-size: 15px !important; }
}
.acn-mh-hdr { display: none; }
@media (min-width: 1025px) {
  .acn-mh-hdr {
    display: flex; align-items: center; gap: 14px; flex: 0 0 auto; margin-left: 12px;
  }
  .acn-mh-hdr-tel {
    font-family: Inter, system-ui, sans-serif; font-weight: 800; font-size: 15px;
    color: #1a1410 !important; text-decoration: none; white-space: nowrap;
    padding-left: 18px; border-left: 1px solid #d8cfbe;
  }
  .acn-mh-hdr-tel::before { content: "☎ "; color: #8a7a5a; }
  .acn-mh-hdr-tel:hover { color: #8a7a5a !important; }
  .acn-mh-hdr-btn {
    font-family: Inter, system-ui, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; white-space: nowrap; cursor: pointer;
    padding: 12px 20px; border-radius: 999px; border: 0;
    background: #484242 !important; color: #fff !important; box-shadow: 0 6px 18px rgba(26,20,16,.18) !important;
    line-height: 1.2 !important; min-height: 0 !important; height: auto !important;
  }
  .acn-mh-hdr-btn:hover, .acn-mh-hdr-btn:focus { background: #1a1410 !important; color: #fff !important; }
  body.page-id-4354 #site-header .elementskit-navbar-nav > li > a { padding-left: 11px !important; padding-right: 11px !important; white-space: nowrap; }
  body.page-id-4354 #site-header .elementskit-navbar-nav { flex-wrap: nowrap !important; }
}
@media (min-width: 1025px) and (max-width: 1320px) {
  body.page-id-4354 #site-header .acn-mh-hdr-tel { font-size: 0; padding-left: 14px; }
  body.page-id-4354 #site-header .acn-mh-hdr-tel::before { font-size: 18px; }
}
@media (min-width: 1025px) and (max-width: 1240px) {
  body.page-id-4354 #site-header .acn-anim-logo svg { width: 190px !important; }
  body.page-id-4354 #site-header .elementskit-navbar-nav > li > a { padding-left: 8px !important; padding-right: 8px !important; font-size: 14px !important; }
  .acn-mh-hdr-btn { padding: 11px 14px !important; }
  .acn-mh-hdr-tel { font-size: 0; padding-left: 14px; }
  .acn-mh-hdr-tel::before { font-size: 18px; }
}

/* ---------- 3. Hero: Auto klar sichtbar, Verlauf nur links ---------- */
.acn-app-root .hero { background: #f5f2ec !important; }
.acn-app-root .hero-image { opacity: 1 !important; background-position: 70% 55% !important; }
.acn-app-root[data-theme="light"] .hero-image::after,
.acn-app-root .hero-image::after {
  background:
    linear-gradient(90deg, rgba(250,249,245,0.96) 0%, rgba(250,249,245,0.82) 34%, rgba(250,249,245,0.25) 58%, transparent 75%) !important;
}
.acn-app-root .hero-bg { background: none !important; }

/* Aktion-Chip im Hero */
.acn-app-root .acn-hx-promo {
  display: flex !important; width: max-content; max-width: 100%; align-items: center; gap: 10px; margin: 0 0 14px;
  padding: 6px 14px 6px 6px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1px solid #b8ad96; color: #1a1410;
  font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.2;
  box-shadow: 0 4px 16px rgba(138,122,90,.18); min-height: 0;
}
.acn-app-root .acn-hx-promo:hover { background: #fff; color: #1a1410; border-color: #8a7a5a; }
.acn-app-root .acn-hx-promo-tag {
  background: #c8352d; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.acn-app-root .acn-hx-promo s { color: #6a635a; }
.acn-app-root .acn-hx-promo-txt { color: #1a1410 !important; text-shadow: none !important; }
.acn-app-root .acn-hx-promo strong { color: #c8352d; font-weight: 800; }
.acn-app-root .acn-hx-promo svg { width: 14px; height: 14px; }

/* ---------- 4. Karten: Kaution ---------- */
.acn-app-root .acn-vc-deposit { margin-top: 6px; font-size: 12.5px; color: #6a635a; font-weight: 600; }

/* ---------- 5. Anlässe + Gutschein ---------- */
.acn-app-root .acn-occ-section { padding-top: 24px !important; }
.acn-app-root .acn-occ-head { text-align: center; margin-bottom: 28px; }
.acn-app-root .acn-occ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.acn-app-root .acn-occ-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  padding: 22px 20px; border-radius: 16px; cursor: pointer; min-height: 0;
  background: #fff; border: 1px solid #e5dcc7; color: #1a1410;
  box-shadow: 0 6px 22px rgba(26,20,16,.05); text-transform: none; letter-spacing: 0;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.acn-app-root .acn-occ-card:hover { transform: translateY(-3px); border-color: #b8ad96; background: #fff; color: #1a1410; box-shadow: 0 12px 30px rgba(26,20,16,.1); }
.acn-app-root .acn-occ-icon { font-size: 26px; line-height: 1; }
.acn-app-root .acn-occ-title { font-size: 17px; font-weight: 800; }
.acn-app-root .acn-occ-text { font-size: 14px; line-height: 1.45; color: #6a635a; font-weight: 400; }
.acn-app-root .acn-occ-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #8a7a5a; }
.acn-app-root .acn-occ-link svg { width: 14px; height: 14px; }
.acn-app-root .acn-gift {
  margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 30px; border-radius: 18px; border: 1px solid #d8cfbe;
  background: linear-gradient(135deg, #fff 0%, #f5f2ec 60%, #ece7dc 100%);
}
.acn-app-root .acn-gift-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: #8a7a5a; }
.acn-app-root .acn-gift-title { font-size: 26px; font-weight: 900; letter-spacing: -.4px; color: #1a1410; margin: 4px 0 6px; }
.acn-app-root .acn-gift-text { font-size: 15px; color: #2a251f; max-width: 60ch; }
.acn-app-root .acn-gift-btn { flex: 0 0 auto; text-decoration: none; }

/* ---------- 6. Handy-Leiste unten ---------- */
.acn-app-root .acn-mbar { display: none; }
@media (max-width: 900px) {
  .acn-app-root .acn-mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250,249,245,0.97); border-top: 1px solid #e5dcc7;
    box-shadow: 0 -6px 20px rgba(26,20,16,.08); backdrop-filter: blur(8px);
  }
  .acn-app-root .acn-mbar-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 46px; border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none;
    background: #fff; color: #1a1410 !important; border: 1px solid #d8cfbe;
    text-transform: none; letter-spacing: 0; padding: 0 8px; min-height: 0; box-shadow: none;
  }
  .acn-app-root .acn-mbar-wa { color: #128c4b !important; }
  .acn-app-root .acn-mbar-main { background: #484242 !important; color: #fff !important; border-color: #484242; }
  body.page-id-4354 { padding-bottom: 72px; }
  body.page-id-4354 .wa-fab { display: none !important; } /* WhatsApp ist in der Leiste */
}

/* ---------- 7. Handy: Hero kürzer, Autos früher sichtbar ---------- */
@media (max-width: 900px) {
  .acn-app-root .acn-occ-grid { grid-template-columns: 1fr 1fr; }
  .acn-app-root .acn-gift { flex-direction: column; align-items: flex-start; padding: 22px; }
  .acn-app-root .hero-image::after {
    background: linear-gradient(180deg, rgba(250,249,245,0.55) 0%, rgba(250,249,245,0.92) 45%, rgba(250,249,245,0.97) 100%) !important;
  }
}
@media (max-width: 600px) {
  .acn-app-root .hero { padding: 22px 0 26px !important; }
  .acn-app-root .hero-masthead { display: none !important; }
  .acn-app-root .hero-title.acn-hx-title { font-size: 34px !important; margin-bottom: 10px !important; }
  .acn-app-root .hero-lead.acn-hx-lead { font-size: 15px !important; margin-bottom: 14px !important; }
  .acn-app-root .acn-hx-promo { font-size: 13px; margin-bottom: 12px; }
  .acn-app-root .acn-hx-features { gap: 6px; margin-bottom: 16px; }
  .acn-app-root .acn-hx-features li { font-size: 12.5px; padding: 5px 10px 5px 5px; }
  .acn-app-root .acn-hx-check { flex-basis: 16px; height: 16px; font-size: 9px; }
  .acn-app-root .acn-hx-cta-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; }
  .acn-app-root .acn-hx-cta-row .btn { width: 100%; padding-left: 10px !important; padding-right: 10px !important; font-size: 12px !important; min-height: 48px; }
  .acn-app-root .acn-hx-cta-row .hero-rating-chip { grid-column: 1 / -1; justify-self: start; padding: 6px 12px !important; }
  .acn-app-root .acn-occ-grid { grid-template-columns: 1fr; }
  .acn-app-root .acn-occ-card { padding: 16px; }
}

/* ---------- 8. Handy/Tablet-Header: Logo + Menü in einer Zeile ---------- */
@media (max-width: 1024px) {
  body.page-id-4354 #site-header #site-header-inner.container { padding: 4px 16px !important; }
  body.page-id-4354 #site-header .elementor-element-13801d1,
  body.page-id-4354 #site-header .elementor-element-13801d1 > .e-con-inner { padding-top: 2px !important; padding-bottom: 2px !important; }
  body.page-id-4354 #site-header .elementor-element-13801d1 > .e-con-inner {
    flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important;
  }
  body.page-id-4354 #site-header .elementor-element-4b21ca1,
  body.page-id-4354 #site-header .elementor-element-288ea8e { width: auto !important; flex: 0 1 auto !important; padding: 4px !important; min-height: 0 !important; }
  body.page-id-4354 #site-header .acn-anim-logo svg { width: 180px !important; height: auto !important; }
}
@media (max-width: 600px) {
  .acn-app-root .acn-hx-features { display: grid !important; grid-template-columns: 1fr 1fr; }
  .acn-app-root .acn-hx-features li { justify-content: flex-start; }
  .acn-app-root .acn-hx-promo { padding-right: 10px; }
  .acn-app-root .acn-hx-promo strong, .acn-app-root .acn-hx-promo s { white-space: nowrap; }
  .acn-app-root .acn-hx-promo > svg { display: none; }
  .acn-app-root .acn-hx-promo-txt { text-align: left; }
  .acn-app-root .hero-content { padding-bottom: 0 !important; }
  .acn-app-root .all-vehicles-section { padding-top: 36px !important; }
}

/* =====================================================================
   v2.5 (Claude, Okt 2026) — Kopfbereich ruhiger: weniger Text, Foto bleibt
   ===================================================================== */
.acn-app-root .hero-masthead { display: none !important; }
.acn-app-root .hero-lead.acn-hx-lead { font-size: 19px !important; max-width: 40ch !important; margin-bottom: 18px !important; }
.acn-app-root .acn-hx-features { gap: 6px 20px !important; margin-bottom: 26px !important; }
.acn-app-root .acn-hx-features li {
  background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important;
  font-size: 14.5px !important; font-weight: 600 !important; color: #2a251f !important;
}
.acn-app-root .acn-hx-check { flex: 0 0 18px !important; height: 18px !important; font-size: 10px !important; }
.acn-app-root .acn-hx-cta-row .hero-rating-chip {
  background: rgba(255,255,255,0.85) !important; border: 0 !important; box-shadow: none !important; padding: 8px 14px !important;
}
.acn-app-root .hero .container.hero-content { width: 100% !important; max-width: 1240px !important; margin-left: auto !important; margin-right: auto !important; }
.acn-app-root .hero-image::after {
  background: linear-gradient(90deg, rgba(250,249,245,0.97) 0%, rgba(250,249,245,0.9) 38%, rgba(250,249,245,0.35) 60%, transparent 78%) !important;
}
.acn-app-root .acn-hx-promo { font-size: 13.5px; padding-right: 12px; }
@media (max-width: 600px) {
  .acn-app-root .hero-lead.acn-hx-lead { font-size: 16px !important; margin-bottom: 14px !important; }
  .acn-app-root .acn-hx-features { display: flex !important; flex-direction: column; gap: 6px !important; margin-bottom: 18px !important; }
  .acn-app-root .acn-hx-features li { font-size: 14px !important; }
  .acn-app-root .acn-hx-cta-row .hero-rating-chip { grid-column: 1 / -1; justify-self: center; padding: 0 !important; }
}
.acn-app-root .hero .hero-content { padding-bottom: 0 !important; }
