.hero{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:64px 5vw;min-height:560px;background:linear-gradient(115deg,#fff7fb,#eaf8ff)}.hero::before,.hero::after{display:none}.hero-content{position:relative;width:auto;max-width:650px;margin:0;padding:0}.hero h1,.hero .eyebrow{color:#20274f;text-shadow:none}.hero-text{color:#53617f;text-shadow:none}.hero-visual{align-self:center}.hero-visual img{width:100%;border-radius:28px;aspect-ratio:1.2;object-fit:cover}.home-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.home-category-card{border-radius:20px;overflow:hidden}.home-packages{background:#fff3f8}.footer-links{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding-bottom:32px}.footer-links a{display:block;padding:8px 0;color:inherit;line-height:1.5;transition:color .2s ease}.footer-links a:hover,.footer-links a:focus-visible{color:#d6e8f7;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.hero-safety-badge{background:white;color:#243268}@media(max-width:650px){.hero{grid-template-columns:1fr;padding:35px 22px;min-height:0}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-links{grid-template-columns:1fr}}
/* Compact opening section with a smaller, landscape image. */
.hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 0; gap: 40px; padding-top: 46px; padding-bottom: 46px; }
.hero-visual { width: 100%; max-width: 460px; justify-self: end; }
.hero-visual img { display: block; height: auto; max-height: 310px; aspect-ratio: 1.55; object-fit: cover; object-position: 80% center; border-radius: 24px; }
.hero h1 { font-size: clamp(2.5rem, 4.2vw, 4rem); }
@media (max-width: 650px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 32px 22px; }
  .hero-visual { max-width: 420px; justify-self: center; }
  .hero-visual img { aspect-ratio: 1.8; max-height: 230px; }
}
/* Smaller product images in category and rental listings. */
.home-category-card > img { height: 175px; aspect-ratio: auto; object-fit: contain; padding: 14px; background: #f8f9fc; box-sizing: border-box; }
.catalog-card > img,
.catalog-card > .catalog-image-link img,
.catalog-card > .category-image img,
.catalog-card[data-category="festmaskine"] > .catalog-image-link img { height: 190px; aspect-ratio: auto; object-fit: contain; padding: 14px; box-sizing: border-box; background: #f8f9fc; }
.catalog-card > .catalog-image-link,
.catalog-card[data-category="festmaskine"] > .catalog-image-link { display: block; height: 190px; overflow: hidden; }
@media (max-width: 650px) {
  .home-category-card > img { height: 130px; padding: 10px; }
  .catalog-card > img,
  .catalog-card > .catalog-image-link img,
  .catalog-card > .category-image img,
  .catalog-card[data-category="festmaskine"] > .catalog-image-link img { height: 165px; }
  .catalog-card > .catalog-image-link,
  .catalog-card[data-category="festmaskine"] > .catalog-image-link { height: 165px; }
}
/* Reference layout: four compact cards with the price along the bottom. */
.home-categories { background: #fff7fb; }
.home-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.home-category-card { border: 1px solid #eee7ed; border-radius: 16px; background: white; box-shadow: 0 4px 14px #20274f08; }
.home-category-card > img { width: 100%; height: 155px; padding: 10px; object-fit: contain; background: #f8f8fb; }
.home-category-card > div { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; gap: 8px; min-height: 138px; padding: 15px 16px; align-items: start; }
.home-category-card h3 { grid-column: 1 / -1; grid-row: 1; margin: 0; font-family: 'DM Sans',sans-serif; font-size: 1.04rem; }
.home-category-card p { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: .81rem; line-height: 1.5; }
.home-category-card > div > span:first-child { grid-column: 1; grid-row: 3; align-self: end; color: #20274f; font-size: .82rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.home-category-card > div > b { grid-column: 2; grid-row: 3; margin: 0; padding: 0; align-self: end; font-size: 0; background: transparent; }
.home-category-card > div > b span { font-size: 1.1rem; color: #e94f9d; }
@media(max-width:1000px){.home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:650px){.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-category-card > img{height:125px}.home-category-card > div{padding:12px;min-height:155px}.home-category-card h3{font-size:.95rem}.home-category-card > div > span:first-child{font-size:.75rem}}
@media(max-width:360px){.home-category-grid{grid-template-columns:1fr}}
/* Balanced reference-inspired hero. */
.hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; padding: 44px max(5vw, calc((100vw - 1200px) / 2)); }
.hero-content { max-width: 620px; }
.hero h1 { margin: 18px 0; font-family: 'DM Sans', sans-serif; font-size: clamp(2.7rem,4.2vw,4.25rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; }
.hero h1 em { color: #e94f9d; font-style: normal; }
.hero-text { max-width: 540px; font-size: 1rem; line-height: 1.65; }
.hero .eyebrow { font-size: .75rem; letter-spacing: .08em; }
.hero-safety-badge { font-size: .72rem; padding: 7px 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-actions .button { border-radius: 999px; padding: 13px 23px; min-height: 46px; }
.hero-actions .button-primary { background: #e94f9d; color: white; }
.hero-actions .button-secondary { background: #bcefff; border-color: transparent; color: #17466b; }
.hero-visual { max-width: 450px; }
.hero-visual img { aspect-ratio: 1.35; max-height: 335px; box-shadow: 0 15px 35px #20274f12; }
@media(max-width:650px){.hero{grid-template-columns:1fr;gap:26px;padding:30px 22px}.hero h1{font-size:clamp(2.5rem,10vw,3.3rem)}.hero-visual{max-width:420px}.hero-visual img{aspect-ratio:1.8;max-height:230px}.hero-actions .button{padding:12px 18px}}
/* Edge-to-edge card photos, with plain text underneath. */
.home-category-card > img { display: block; width: 100%; height: 165px; padding: 0; object-fit: cover; object-position: center; border-radius: 0; background: transparent; }
.home-category-card > div { background: #fff; }
.home-category-card h3, .home-category-card p, .home-category-card > div > span:first-child { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
@media(max-width:650px){.home-category-card > img{height:140px;padding:0}}
/* Hero photograph fills the section; text sits directly on a light gradient. */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; min-height: 480px; padding: 48px max(5vw, calc((100vw - 1200px) / 2)); background: #fff7fb; }
.hero-content { position: relative; z-index: 2; flex: 0 1 55%; max-width: 620px; background: transparent; border: 0; box-shadow: none; }
.hero-visual { position: absolute; z-index: 0; inset: 0 0 0 auto; width: 65%; max-width: none; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.hero-visual img { display: block; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; object-position: 78% center; border-radius: 0; box-shadow: none; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#fff7fb 0%,rgba(255,247,251,.94) 12%,rgba(255,247,251,.45) 36%,transparent 62%); }
.hero h1 { font-size: clamp(2.7rem,4vw,4.1rem); }
.hero-text { max-width: 490px; color: #394863; }
@media(max-width:900px) and (min-width:651px){.hero-content{flex-basis:62%}.hero-visual{width:65%}.hero-visual::after{background:linear-gradient(90deg,#fff7fb,rgba(255,247,251,.8) 35%,transparent)}}
@media(max-width:650px){
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 30px 22px 0; gap: 20px; }
  .hero-content { flex: auto; max-width: none; }
  .hero-visual { position: relative; inset: auto; width: calc(100% + 44px); height: 220px; margin: 0 -22px; }
  .hero-visual::after { background: linear-gradient(180deg,#fff7fb 0%,rgba(255,247,251,.25) 30%,transparent 60%); }
  .hero-visual img { height: 220px; max-height: none; aspect-ratio: auto; }
}
/* Hercules reference, inspected directly: centered split hero, framed photo. */
.hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:48px; min-height:610px; padding:80px max(24px,calc((100% - 1120px)/2)); overflow:hidden; background:radial-gradient(ellipse at 90% 10%,#fff3ae 0,transparent 55%),radial-gradient(ellipse at 65% 95%,#fbd7e8 0,transparent 58%),linear-gradient(110deg,#baf0fd,#eef3fc 56%,#fff4dd); }
.hero-content { position:relative; z-index:1; width:100%; max-width:540px; flex:unset; }
.hero-content > .eyebrow { display:inline-flex; padding:8px 17px; margin:0 0 24px; background:#ffffffed; border-radius:999px; box-shadow:0 2px 3px #32213c15; font-family:'Nunito Sans',sans-serif; font-size:13px; letter-spacing:0; text-transform:none; color:#30203e; }
.hero-safety-badge { display:none; }
.hero h1 { margin:0 0 26px; max-width:540px; color:#30203e; font-family:'Lilita One',sans-serif; font-weight:400; font-size:60px; line-height:1.04; letter-spacing:-.02em; }
.hero h1 em { color:#e9529f; }
.hero-text { max-width:520px; font-family:'Nunito Sans',sans-serif; color:#69657a; font-size:18px; line-height:1.6; }
.hero-actions { margin-top:26px; }
.hero-visual { position:relative; inset:auto; z-index:1; width:100%; max-width:560px; height:auto; margin:0; padding:12px; border-radius:40px; background:#f1c6d8; transform:rotate(2deg); box-shadow:0 18px 35px #502a4b20; }
.hero-visual::after { display:none; }
.hero-visual img { width:100%; height:auto; max-height:none; aspect-ratio:1.25; object-fit:cover; object-position:78% center; border-radius:29px; box-shadow:none; }
.home-section-heading h2,.home-category-card h3 { font-family:'Lilita One',sans-serif; font-weight:400; color:#30203e; }
@media(max-width:900px){.hero{gap:28px;padding:55px 5vw;min-height:500px}.hero h1{font-size:46px}.hero-text{font-size:16px}}
@media(max-width:650px){.hero{display:grid;grid-template-columns:1fr;gap:32px;padding:36px 22px 44px;min-height:0}.hero h1{font-size:clamp(39px,10vw,52px)}.hero-visual{width:calc(100% - 16px);max-width:460px;height:auto;margin:0;justify-self:center}.hero-visual img{height:auto;max-height:none;aspect-ratio:1.35}.hero-content>.eyebrow{margin-bottom:20px}}
.hero-visual img { aspect-ratio: 1402 / 1122; object-position: center; }

.hero-image-open { position:relative; display:block; width:100%; margin:0; padding:0; border:0; border-radius:29px; background:transparent; cursor:zoom-in; overflow:hidden; color:#30203e; }
.hero-image-open:focus-visible { outline:3px solid #0751a8; outline-offset:5px; }
.hero-image-hint { position:absolute; right:12px; bottom:12px; padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.95); color:#30203e; font:700 12px 'Nunito Sans',sans-serif; box-shadow:0 2px 12px #0002; }
.hero-image-dialog { position:fixed; inset:0; width:100vw; max-width:none; height:100dvh; max-height:none; margin:0; padding:58px 20px 20px; box-sizing:border-box; border:0; background:rgba(15,19,29,.94); overflow:auto; }
.hero-image-dialog[open] { display:flex; align-items:center; justify-content:center; }
.hero-image-dialog::backdrop { background:rgba(0,0,0,.65); }
.hero-image-dialog > img { display:block; width:auto; height:auto; max-width:100%; max-height:calc(100dvh - 90px); object-fit:contain; border-radius:8px; }
.hero-image-close { position:absolute; top:12px; right:18px; width:40px; height:40px; padding:0; border:1px solid #ffffff60; border-radius:50%; background:#fff; color:#20274f; font:32px/1 Arial,sans-serif; cursor:pointer; }
.hero-image-close:focus-visible { outline:3px solid #f6a8d0; outline-offset:3px; }

/* Fill rental and machine card image areas edge to edge. */
.shop-hero, .b2b-events { background: linear-gradient(115deg,#c8f1fc 0%,#f1eafb 55%,#ffe9d8 100%); color: #30203e; }
.shop-hero::after { background: none; }
.shop-hero h1, .shop-hero h2, .shop-hero .eyebrow,
.b2b-events h2, .b2b-events .eyebrow { color: #30203e; }
.shop-hero p, .shop-hero p:last-child, .b2b-events-copy > p:not(.eyebrow) { color: #53617f; }
.shop-hero .button-primary, .b2b-events .button { background: #e9529f; color: #fff; }
.shop-hero .button-primary:hover, .b2b-events .button:hover { background: #d7408c; }
.package-showcase { padding: 28px; background: linear-gradient(120deg,#eaf8ff,#fff0f7); color: #30203e; border: 1px solid #eee7ed; box-shadow: none; }
.package-showcase-heading h2 { color: #30203e; font-family: 'Lilita One',sans-serif; font-weight: 400; line-height: 1.1; }
.package-showcase-heading .eyebrow, .package-showcase-heading > p { color: #53617f; }
.package-showcase-card { background: #fff; border: 1px solid #eee7ed; }
.package-image-zoom img { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: contain; padding: 0; }
.package-card-body { padding: 20px; }
.package-card-body h3 { margin-bottom: 16px; font-family: 'Lilita One',sans-serif; font-weight: 400; }
.package-card-details { gap: 10px; margin-bottom: 18px; }
.package-card-details > div { min-height: 0; padding-bottom: 10px; }
@media(max-width:650px) { .package-showcase { padding: 18px; } }

.catalog-card > img,
.catalog-card > .catalog-image-link img,
.catalog-card > .category-image img,
.catalog-card[data-category="festmaskine"] > .catalog-image-link img {
  display: block;
  width: 100%;
  height: 280px;
  padding: 0;
  object-fit: cover;
  object-position: center;
}
.catalog-card > .catalog-image-link,
.catalog-card[data-category="festmaskine"] > .catalog-image-link { height: 280px; }
@media (max-width: 650px) {
  .catalog-card > img,
  .catalog-card > .catalog-image-link img,
  .catalog-card > .category-image img,
  .catalog-card[data-category="festmaskine"] > .catalog-image-link img { height: 225px; }
  .catalog-card > .catalog-image-link,
  .catalog-card[data-category="festmaskine"] > .catalog-image-link { height: 225px; }
}
