/* Photo-led opening, with a separate benefit row above the reviews. */
#fooldal.hero-photo-layout { padding: 0; overflow: hidden; }
.hero-scene { position: relative; isolation: isolate; background: #e9eaec; }
.hero-background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 64%; }
.hero-scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.92) 25%,rgba(255,255,255,.68) 40%,rgba(255,255,255,.08) 63%,transparent 82%); }
.hero-stage { min-height: 610px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-block: 65px 90px; position: relative; z-index: 2; }
.hero-copy { max-width: 650px; }
.hero-motto { display: flex; gap: 17px; align-items: center; color: #363b43; font-size: .74rem; letter-spacing: .19em; margin-bottom: 24px; }
.hero-motto span { color: #dc0710; }
.hero-copy h1 { font-size: clamp(3rem,4.7vw,5rem); line-height: 1.02; font-weight: 800; margin-bottom: 25px; }
.hero-copy h1 em { display: block; width: fit-content; margin-top: 6px; font-size: .8em; text-transform: none; font-style: italic; position: relative; }
.hero-copy h1 em::after { content: ""; display: block; height: 3px; background: #dc0710; transform: rotate(-3deg); margin-top: 3px; }
.hero-copy .lead { font-size: 1.12rem; line-height: 1.4; margin-bottom: 12px; }
.hero-description { max-width: 460px; font-size: .95rem; color: #434951; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 22px; }
.hero-actions .button { border-radius: 32px; box-shadow: none; text-transform: none; font-size: 1rem; padding: 14px 25px; margin: 0; }
.hero-more { font-size: .85rem; font-weight: 700; padding-block: 9px; }
.hero-more span { margin-left: 10px; }
.hero-benefits { position: relative; z-index: 2; background: white; border-bottom: 1px solid #dedfe2; }
.hero-benefits ul { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; list-style: none; margin: 0; padding: 26px 0 30px; }
.hero-benefits li { display: flex; align-items: center; gap: 14px; padding: 0 20px; font-size: .9rem; font-weight: 600; line-height: 1.4; border-left: 1px solid #e1e3e6; }
.hero-benefits li:first-child { border-left: 0; padding-left: 0; }
.benefit-icon { display: grid; place-items: center; flex: 0 0 54px; height: 54px; border-radius: 50%; background: #fcebed; color: #dc0710; }
@media(max-width:1000px) { .hero-stage { grid-template-columns: 1.4fr 1fr; gap: 24px; } .hero-benefits li { padding-inline: 12px; gap: 10px; } .benefit-icon { flex-basis: 44px; height: 44px; } }
@media(max-width:767px) { .hero-stage { display: block; padding-block: 42px 58px; min-height: 0; } .hero-scene::before { background: linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.92) 43%,rgba(255,255,255,.2) 72%,rgba(255,255,255,.05) 100%); } .hero-background { object-position: 60% center; } .hero-copy h1 { font-size: clamp(2.6rem,8vw,3.7rem); } .hero-motto { font-size: .65rem; gap: 12px; letter-spacing: .13em; } .hero-fleet-card { width: 235px; margin: 34px 8px 0 auto; } .hero-fleet-caption { gap: 8px; padding: 12px 4px; } .hero-fleet-caption strong { font-size: .9rem; } .hero-fleet-caption > span { font-size: .65rem; } .hero-benefits ul { grid-template-columns: repeat(2,1fr); gap: 24px 0; padding-block: 22px; } .hero-benefits li { font-size: .8rem; } .hero-benefits li:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media(prefers-reduced-motion:reduce) { .hero-fleet-card { transition: none; } }

/* Compact hero: original copy and a single background photo. */
.hero-stage { display: block; min-height: 480px; padding-block: 32px 60px; }
.hero-copy { max-width: 580px; }
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero-copy h1 { font-size: clamp(2.6rem,3.7vw,3.8rem); margin-bottom: 18px; }
.hero-copy .lead { margin-bottom: 10px; }
.hero-copy > .button { margin-top: 16px; }
@media(max-width:767px) {
 .hero-stage { min-height: 0; padding-block: 28px 50px; }
 .hero-copy h1 { font-size: clamp(2.4rem,8vw,3.2rem); }
 .hero-scene::before { background: linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.85) 65%,rgba(255,255,255,.65)); }
}

/* Straight section edge and content-sized opening. */
.hero-stage { min-height: 0; padding-block: 24px 28px; }
.hero-copy h1 { font-size: clamp(2.4rem,3.2vw,3.1rem); margin-bottom: 12px; }
.hero-copy .eyebrow { margin-bottom: 12px; }
.hero-copy .lead { margin-top: 0; margin-bottom: 10px; }
.hero-copy .hero-description { margin-top: 0; margin-bottom: 0; }
.hero-copy > .button { margin-top: 14px; margin-bottom: 6px; padding-block: 13px; }
.hero-benefits { border-top: 1px solid #dedfe2; }
@media(max-width:767px) {
 .hero-stage { padding-block: 22px 24px; }
 .hero-copy h1 { font-size: clamp(2.2rem,7vw,2.75rem); }
}

/* Keep page-wide decorative stripes behind the photo, not over it. */
.hero-scene { z-index: 2; }
.hero-scene::before {
 background: linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.96) 23%,rgba(255,255,255,.88) 40%,rgba(255,255,255,.20) 58%,transparent 72%);
}
@media(max-width:767px) {
 .hero-scene::before { background: linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.93) 65%,rgba(255,255,255,.84)); }
}

/* A paper driving record, linking directly to the teachers. */
.driving-note { position:absolute; right:30px; bottom:34px; width:260px; color:#333e64; text-decoration:none; transform:rotate(6deg); transition:transform .25s ease,filter .25s ease; filter:drop-shadow(5px 12px 10px #11121445); }
.driving-note::before { content:""; position:absolute; inset:5px -4px -5px 3px; background:#e9e7df; transform:rotate(-3deg); z-index:-1; }
.note-sheet { display:block; padding:18px 17px 14px; background:#fffef8; border:1px solid #d7d5ce; }
.note-school { display:block; font-size:8px; letter-spacing:.07em; text-align:center; }
.note-title { display:block; font-size:23px; line-height:1.2; text-align:center; margin:6px 0 12px; font-family:'Barlow Semi Condensed',Arial,sans-serif; }
.note-form { display:block; border:1px solid #7a829b; font-size:9px; line-height:1.4; }
.note-form > span { display:block; padding:6px 8px; }
.note-form > span + span { border-top:1px solid #7a829b; }
.note-handwriting { display:block; font-style:italic; font-size:15px; font-weight:600; padding:3px 0; }
.note-form .note-columns { display:grid; grid-template-columns:1fr 1.3fr; padding:0; }
.note-columns > span { padding:5px 8px; }
.note-columns > span + span { border-left:1px solid #7a829b; }
.note-columns b { font-weight:600; font-size:11px; }
.note-stamp { display:table; color:#b8050d; border:2px solid currentColor; padding:3px 8px; margin:12px 0 12px auto; transform:rotate(-8deg); font-size:10px; font-weight:800; line-height:1.25; letter-spacing:.05em; }
.note-cta { display:flex; justify-content:space-between; gap:10px; border-top:1px solid #7a829b; padding-top:9px; color:#b8050d; font-size:14px; font-weight:700; }
.driving-note:focus-visible { outline:3px solid #147cb3; outline-offset:8px; transform:translateY(-5px) rotate(2deg); }
@media(hover:hover) { .driving-note:hover { transform:translateY(-6px) rotate(2deg); filter:drop-shadow(6px 16px 12px #11121450); } }
@media(min-width:768px) and (max-width:1000px) { .hero-copy { max-width:calc(100% - 290px); } .driving-note { right:10px; width:245px; } }
@media(max-width:767px) { .driving-note { position:relative; display:block; right:auto; bottom:auto; width:240px; margin:28px 12px 12px auto; transform:rotate(4deg); } }
@media(prefers-reduced-motion:reduce) { .driving-note { transition:none; } .driving-note:hover,.driving-note:focus-visible { transform:rotate(4deg); } }

/* Two sheets share one grid cell, so page changes never move the layout. */
.driving-note-deck { position:absolute; right:30px; bottom:12px; width:260px; }
.driving-note-deck .driving-note { position:relative; display:grid; right:auto; bottom:auto; width:100%; margin:0; isolation:isolate; perspective:900px; }
.driving-note .note-sheet { grid-area:1 / 1; position:relative; z-index:1; transform-origin:50% 80%; backface-visibility:hidden; }
.driving-note .note-sheet-back { z-index:0; transform:translate(9px,-9px) rotate(-7deg) scale(.97); pointer-events:none; }
.note-vehicle { min-height:48px; line-height:1.3; }
.note-course { display:inline-block; min-height:30px; color:#b8050d; }
.note-controls { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:17px; font-size:12px; }
.note-pause { background:#fffef8; border:1px solid #d7d5ce; color:#333e64; border-radius:3px; padding:5px 10px; }
.note-pause { min-height:32px; font:inherit; cursor:pointer; }
.note-pause:hover { color:#b8050d; border-color:currentColor; }
@media(min-width:768px) and (max-width:1000px) { .driving-note-deck { right:10px; width:245px; } }
@media(max-width:767px) { .driving-note-deck { position:relative; right:auto; bottom:auto; width:240px; margin:28px 12px 12px auto; } }
/* Leave room above the stack for the sheet coming from behind. */
.driving-note .note-sheet { padding:12px 14px; }
.driving-note .note-title { margin:5px 0 8px; font-size:22px; }
.driving-note .note-vehicle { min-height:40px; font-size:14px; }
.driving-note .note-course { min-height:22px; }
.driving-note .note-stamp { margin-block:8px; }
.driving-note .note-cta { padding-top:7px; }

/* A 4:3 photo at full width: 37.5vw reveals half of its height. */
.hero-stage { min-height:37.5vw; display:flex; align-items:center; padding-block:48px; }
.driving-note-deck { bottom:36px; }
.note-controls { justify-content:flex-end; margin-top:34px; }
@media(max-width:767px) {
 .hero-stage { display:block; min-height:0; padding-block:32px; }
 .driving-note-deck { bottom:auto; }
}
/* Enlarge the paper and its typography together by 20%. */
.driving-note-deck { width:312px; }
.driving-note .note-sheet { padding:14.4px 16.8px; font-size:19.2px; }
.driving-note .note-school { font-size:9.6px; }
.driving-note .note-title { font-size:26.4px; margin:6px 0 9.6px; }
.driving-note .note-form { font-size:10.8px; }
.driving-note .note-form > span { padding:7.2px 9.6px; }
.driving-note .note-form .note-columns { padding:0; }
.driving-note .note-columns > span { padding:6px 9.6px; }
.driving-note .note-columns b { font-size:13.2px; }
.driving-note .note-handwriting { font-size:18px; padding:3.6px 0; }
.driving-note .note-vehicle { font-size:16.8px; min-height:48px; }
.driving-note .note-course { min-height:26.4px; }
.driving-note .note-stamp { font-size:12px; padding:3.6px 9.6px; margin-block:9.6px; }
.driving-note .note-cta { font-size:16.8px; gap:12px; padding-top:8.4px; }
@media(min-width:768px) { .hero-stage { min-height:max(37.5vw,520px); } }
@media(min-width:768px) and (max-width:1000px) {
 .driving-note-deck { width:294px; }
 .hero-copy { max-width:calc(100% - 340px); }
}
@media(max-width:767px) {
 .driving-note-deck { width:min(288px,calc(100% - 20px)); }
}

/* Stronger body copy contrast over the hero photograph. */
.hero-copy .hero-description { color:#212326; font-weight:500; line-height:1.6; }
