:root {
    --yellow: #ffed00;
    --black: #080808;
    --dark: #101010;
    --card: #191919;
    --border: #343434;
    --white: #ffffff;
    --grey: #c7c7c7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

section {
    scroll-margin-top: 80px;
}

/* ÖPPNINGSINFORMATION */

.opening-banner {
    min-height: 58px;
    padding: 9px 4%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: #111111;
    background: var(--yellow);
    text-align: center;
}

.opening-banner div {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.opening-banner strong {
    font-size: 16px;
    text-transform: uppercase;
}

.opening-banner span {
    font-size: 14px;
    font-weight: 700;
}

.banner-booking {
    flex: 0 0 auto;
    padding: 9px 15px;
    color: var(--white);
    background: #111111;
    border: 2px solid #111111;
    border-radius: 5px;
    font-weight: 800;
    font-size: 13px;
}

.banner-booking:hover {
    color: #111111;
    background: var(--white);
}

/* TOPPMENY */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    min-height: 76px;
    padding: 10px 4%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    background: rgba(8, 8, 8, 0.97);
    border-bottom: 2px solid var(--yellow);
}

.logo h2 {
    font-size: 20px;
    line-height: 1.1;
}

.logo p {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 8px;

    background: var(--yellow);
    color: #111111;

    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

nav a:hover {
    color: var(--yellow);
}

.nav-booking {
    padding: 8px 14px;

    background: var(--yellow);
    color: #111111;

    border: 0;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 800;

    transition: 0.2s;
}

.nav-booking:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* HERO */

.hero {
    min-height: 360px;
    padding: 45px 5%;

    display: flex;
    justify-content: center;
    align-items: center;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.48),
            rgba(0, 0, 0, 0.86)
        ),
        url("../images/verkstad.webp");

    background-size: cover;
    background-position: center 23%;
    background-repeat: no-repeat;
}

.hero-content {
    width: 100%;
    max-width: 850px;
    text-align: center;
}

.hero-top {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 11px;

    background: var(--yellow);
    color: #111111;

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin: 0 auto 16px;

    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.05;
}

.hero-content > p {
    max-width: 720px;
    margin: 0 auto 25px;

    color: #eeeeee;
    font-size: 17px;
}

/* KNAPPAR */

.hero-buttons,
.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 130px;
    min-height: 44px;
    padding: 10px 22px;

    border-radius: 5px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 800;

    transition: 0.2s;
}

.btn-primary {
    background: var(--yellow);
    color: #111111;
    border: 2px solid var(--yellow);
}

.btn-primary:hover {
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.45);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: #111111;
    transform: translateY(-3px);
}

/* TVÅ KOLUMNER */

main {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero,
.warranty,
.process,
.faq,
.contact-preview {
    grid-column: 1 / -1;
}

/* TJÄNSTER */

.services {
    padding: 48px 5%;
    background: var(--dark);
}

.services > h2 {
    margin-bottom: 28px;
    text-align: center;
    font-size: 30px;
}

.services > h2::after {
    content: "";
    display: block;

    width: 58px;
    height: 4px;
    margin: 9px auto 0;

    background: var(--yellow);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.card {
    min-height: 145px;
    padding: 22px;

    background: var(--card);
    border: 1px solid var(--border);
    border-top: 4px solid var(--yellow);
    border-radius: 8px;

    transition: 0.22s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--yellow);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.card p {
    color: var(--grey);
    font-size: 14px;
}

/* OM OSS */

.why-us {
    padding: 48px 5%;
    background: var(--black);
}

.section-heading {
    margin: 0 auto 27px;
    text-align: center;
}

.section-heading span {
    color: var(--yellow);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 7px 0 10px;
    font-size: 28px;
    line-height: 1.15;
}

.section-heading p {
    max-width: 700px;
    margin: 0 auto;

    color: var(--grey);
    font-size: 14px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit {
    min-height: 145px;
    padding: 19px;

    text-align: center;

    background: #151515;
    border: 1px solid #303030;
    border-radius: 8px;

    transition: 0.22s;
}

.benefit:hover {
    transform: translateY(-5px);
    border-color: var(--yellow);
}

.benefit-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 9px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--yellow);
    color: #111111;

    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
}

.benefit h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

.benefit p {
    color: var(--grey);
    font-size: 12px;
}

/* GARANTI OCH KOMMANDE TJÄNSTER */

.warranty {
    padding: 45px 5%;
    background: #111111;
}

.warranty-card,
.coming-services {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    border-radius: 10px;
}

.warranty-card {
    padding: 28px 32px;
    background: #080808;
    border: 3px solid var(--yellow);
}

.warranty-icon {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111111;
    background: var(--yellow);
    border-radius: 50%;
    font-size: 38px;
    font-weight: 900;
}

.warranty-card span {
    color: var(--yellow);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.warranty-card h2 {
    margin: 5px 0 7px;
    color: var(--yellow);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.05;
    text-transform: uppercase;
}

.warranty-card p,
.coming-services p {
    color: #eeeeee;
}

.coming-services {
    margin-top: 18px;
    padding: 22px 30px;
    background: #242424;
    border: 1px solid #3c3c3c;
}

.coming-services > span {
    flex: 0 0 auto;
    font-size: 38px;
}

.coming-services h3 {
    margin-bottom: 3px;
    color: var(--yellow);
    font-size: 22px;
    text-transform: uppercase;
}

/* KONTAKT OCH KARTA */

.contact-preview {
    padding: 35px 5%;

    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(360px, 1fr);
    align-items: center;
    gap: 45px;

    background: #222222;
    border-top: 3px solid var(--yellow);
}

.contact-information > span {
    color: var(--yellow);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-information h2 {
    margin: 7px 0 14px;
    font-size: 27px;
}

.contact-information p {
    margin: 6px 0;
    color: #eeeeee;
    font-size: 14px;
}

.contact-information p a {
    color: var(--yellow);
    font-weight: 800;
    text-decoration: none;
}

.contact-information .contact-buttons {
    justify-content: flex-start;
    margin-top: 20px;
}

.map-container {
    width: 100%;
    height: 245px;

    overflow: hidden;

    border: 3px solid var(--white);
    border-radius: 8px;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* SIDFOT */

footer {
    padding: 20px 5%;

    background: #030303;
    border-top: 1px solid #292929;

    text-align: center;
}

footer p {
    margin: 3px 0;
    color: #999999;
    font-size: 11px;
}

/* BOKNINGSRUTA */

.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;

    display: none;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.booking-modal.is-open {
    display: flex;
}

.booking-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
}

.booking-box {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;

    padding: 34px;

    background: #151515;
    border: 2px solid var(--yellow);
    border-radius: 10px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65);
}

.close-booking {
    position: absolute;
    top: 12px;
    right: 16px;

    width: 38px;
    height: 38px;

    background: transparent;
    color: var(--white);
    border: 0;

    font-size: 32px;
}

.close-booking:hover {
    color: var(--yellow);
}

.booking-label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 9px;

    background: var(--yellow);
    color: #111111;

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.booking-box h2 {
    margin-bottom: 8px;
    padding-right: 35px;

    font-size: 28px;
}

.booking-intro {
    margin-bottom: 24px;

    color: var(--grey);
    font-size: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.booking-box label {
    display: block;
    margin-bottom: 16px;

    font-size: 13px;
    font-weight: 700;
}

.booking-box input,
.booking-box select,
.booking-box textarea {
    width: 100%;
    margin-top: 6px;
    padding: 12px 13px;

    background: #242424;
    color: var(--white);

    border: 1px solid #454545;
    border-radius: 5px;

    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.booking-box input:focus,
.booking-box select:focus,
.booking-box textarea:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 2px rgba(255, 237, 0, 0.15);
}

.booking-box textarea {
    resize: vertical;
}

.submit-booking {
    border: 0;
}

.form-message {
    margin-top: 14px;
    min-height: 20px;

    color: var(--yellow);
    font-size: 13px;
    font-weight: 700;
}

body.modal-open {
    overflow: hidden;
}

/* SURFPLATTA */

@media (max-width: 950px) {

    header {
        position: static;
        flex-direction: column;
        padding: 15px 20px;
        text-align: center;
    }

    nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    main {
        display: block;
    }

    .contact-preview {
        grid-template-columns: 1fr;
    }

    .contact-information {
        text-align: center;
    }

    .contact-information .contact-buttons {
        justify-content: center;
    }
}

/* MOBIL */

@media (max-width: 600px) {

    .logo h2 {
        font-size: 18px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        min-height: 480px;
        padding: 45px 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 220px;
    }

    .services,
    .why-us,
    .warranty {
        padding: 42px 20px;
    }

    .warranty-card,
    .coming-services {
        flex-direction: column;
        padding: 24px 20px;
        text-align: center;
    }

    .warranty-card h2 {
        font-size: 26px;
    }

    .coming-services h3 {
        font-size: 19px;
    }

    .service-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .contact-preview {
        padding: 35px 20px;
    }

    .contact-information h2 {
        font-size: 23px;
    }

    .contact-information .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .map-container {
        height: 230px;
    }

    .booking-modal {
        padding: 10px;
    }

    .booking-box {
        max-height: 95vh;
        padding: 26px 18px;
    }

    .booking-box h2 {
        font-size: 23px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .submit-booking {
        width: 100%;
    }
}/* ===========================
   Animationer
=========================== */

.reveal{
    opacity:0;
    transform:translateY(35px);
    transition:all .7s ease;
}

.reveal.show{
    opacity:1;
    transform:translateY(0);
}

/* Hover-effekt på kort */

.card,
.benefit{
    transition:.3s ease;
}

.card:hover,
.benefit:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,.35);
    border-color:#ffe100;
}

/* Hover på knappar */

.btn-primary,
.btn-secondary{
    transition:.25s ease;
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(255,225,0,.35);
}

.btn-secondary:hover{
    transform:translateY(-2px);
}

/* Loggan */

.logo img{
    transition:.3s;
}

.logo img:hover{
    transform:scale(1.05);
}

/* Navigation */

nav a{
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:#ffe100;
    transition:.3s;
}

nav a:hover::after{
    width:100%;
}

/* Mjuk scroll */

html{
    scroll-behavior:smooth;
}

.footer-links { margin-top: 10px; }
.footer-links a { color: var(--yellow); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* SÅ GÅR DET TILL */

.process, .faq { padding: 52px 5%; }
.process { background: var(--dark); }
.faq { background: var(--black); }

.process-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.process-step {
    padding: 24px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.process-step strong {
    width: 38px; height: 38px; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #111; background: var(--yellow); border-radius: 50%;
    font-size: 18px;
}

.process-step h3 { margin-bottom: 7px; font-size: 17px; }
.process-step p { color: var(--grey); font-size: 13px; }

.faq-list { max-width: 850px; margin: 0 auto; }
.faq-list details {
    margin-bottom: 10px;
    background: #171717;
    border: 1px solid var(--border);
    border-radius: 7px;
}
.faq-list details[open] { border-color: var(--yellow); }
.faq-list summary {
    padding: 17px 48px 17px 18px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
}
.faq-list details p { padding: 0 18px 18px; color: var(--grey); font-size: 14px; }

/* INFORMATIONSSIDOR */

.info-page { min-height: 100vh; padding: 55px 20px; background: var(--black); }
.info-content {
    max-width: 820px; margin: 0 auto; padding: 34px;
    background: var(--card); border-top: 5px solid var(--yellow); border-radius: 9px;
}
.info-content h1 { margin-bottom: 22px; font-size: 34px; }
.info-content h2 { margin: 25px 0 8px; color: var(--yellow); font-size: 20px; }
.info-content p { margin-bottom: 10px; color: var(--grey); }
.info-content a { color: var(--yellow); }
.back-link { display: inline-block; margin-bottom: 22px; font-weight: 800; text-decoration: none; }

@media (max-width: 950px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {

    .opening-banner {
        padding: 13px 18px;
        flex-direction: column;
        gap: 9px;
    }

    .opening-banner div {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .opening-banner strong {
        font-size: 14px;
    }

    .opening-banner span {
        font-size: 12px;
    }
    .process, .faq { padding: 42px 20px; }
    .process-grid { grid-template-columns: 1fr; }
    .info-content { padding: 25px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Tillgänglighet och smala skärmar */
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 6000; padding: 12px; background: var(--yellow); color: #111; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.opening-banner :focus-visible { outline-color: #111; }
nav a, .nav-booking, .banner-booking { min-height: 44px; display: inline-flex; align-items: center; }
main > *, .form-grid > *, .contact-preview > * { min-width: 0; }
.contact-information a, footer p { overflow-wrap: anywhere; }
.booking-box input, .booking-box select, .booking-box textarea { font-size: 16px; }
.close-booking { width: 44px; height: 44px; }
.booking-box { max-height: 90dvh; overscroll-behavior: contain; }
.info-page { display: block; }
.no-script { padding: 20px; text-align: center; }
@media (min-width: 951px) { header { flex-wrap: wrap; } nav { flex-wrap: wrap; } section { scroll-margin-top: 155px; } }
@media (max-width: 600px) { .hero h1 { font-size: clamp(30px, 9vw, 38px); } .btn-primary, .btn-secondary { max-width: 100%; } .booking-box { max-height: 95dvh; } }

[hidden] { display: none !important; }
.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; }
.map-placeholder p { font-size: 13px; color: var(--grey); }
