/* =====================================================================
   365Services – styles for all public pages
   ---------------------------------------------------------------------
   1. Fonts          5. Footer               9. Legal pages (Impressum, privacy)
   2. Colours        6. Buttons and links   10. Booking page
   3. Base           7. Home page           11. Booking status and thank-you pages
   4. Header + menu  8. Service pages       12. Booking bar (phones)
   ===================================================================== */

/* ---- 1. Fonts: hosted on this server (no data goes to Google) ---- */
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/dm-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/dm-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/dm-sans-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/space-grotesk-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/space-grotesk-latin-700-normal.woff2) format("woff2")}

/* ---- 2. Colours and fonts used everywhere ---- */
:root{
  /* Theme taken from the banner and logo: logo blue, navy, Swiss red, alpine sky blue, clean white */
  --ink:#0B1F3F;          /* text, dark backgrounds (navy) */
  --muted:#46536A;        /* secondary text */
  --line:#DCE3EE;         /* borders */
  --paper:#FBFCFC;        /* page background (same white as the banner) */
  --white:#FFFFFF;
  --blue:#01338E;         /* logo blue: buttons, links */
  --blue-dark:#002468;    /* link hover */
  --sky:#65A5CC;          /* mountain blue: small accents */
  --swiss-red:#D82228;    /* van red: accents only, not for errors */
  --field-line:#C3CDDB;   /* form field borders */
  --on-dark:#E3EAF5;      /* text on the dark footer */
  --on-dark-muted:#C2CDE0;
  --dark-card:#14305C;
  --footer-line:#1D3A68;
  --sand:#EEF3FA;         /* highlighted boxes (light blue) */
  --green:#1C5B2E;  --green-bg:#E3F1E6;
  --amber:#7A5300;  --amber-bg:#FFF4D6;
  --red:#B3261E;    --red-dark:#8A1C12;  --red-bg:#FDECEA;
  --font-head:'Space Grotesk', 'DM Sans', sans-serif;
  --font-body:'DM Sans', system-ui, sans-serif;
}

/* ---- 3. Base ---- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0}
img{max-width:100%}
h1,h2,h3{overflow-wrap:break-word;hyphens:auto}
a{color:var(--blue)}
a:not([class]):hover{color:var(--blue-dark)}   /* plain text links only; styled links keep their colour */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
@media (max-width:640px){ h1:not(.cat-title){font-size:2.4rem !important} h2{font-size:1.9rem !important} }
[hidden]{display:none !important}
/* Spam trap: hidden from visitors, bots fill it in */
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* Wrapper around every page */
.page{font-family:var(--font-body);color:var(--ink);background:var(--paper)}

/* Small layout helpers: a vertical stack with a gap */
.stack-8{display:flex;flex-direction:column;gap:8px}
.stack-10{display:flex;flex-direction:column;gap:10px}
.stack-12{display:flex;flex-direction:column;gap:12px}

/* Text */
.ink{color:var(--ink)}
.text{margin:0;font-size:1.05rem;line-height:1.6;color:var(--muted)}
.text-sm{margin:0;line-height:1.6;color:var(--muted)}
.note{margin:0;font-size:14px;color:var(--muted)}
.prose{margin:0;line-height:1.7;color:var(--muted)}
.rule{height:1.5px;background:var(--ink)}

/* ---- 4. Header and mobile menu ---- */
.site-header{position:relative;border-bottom:1px solid var(--line);background:var(--paper)}
.site-header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:linear-gradient(90deg,var(--blue) 0 70%,var(--swiss-red) 70% 100%)}   /* blue + red stripe like the banner */
.site-nav{max-width:1240px;margin:0 auto;padding:16px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.site-logo{display:inline-flex;align-items:center;gap:10px;font-family:var(--font-head);font-size:24px;font-weight:700;color:var(--blue);text-decoration:none}
.site-logo-mark{width:44px;height:44px;flex:none}
.nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:18px;font-size:15px;font-weight:500}
.nav-link{color:var(--ink);text-decoration:none;text-underline-offset:6px}
.nav-link.is-current{text-decoration:underline}
.nav-quote{color:var(--ink);text-decoration:none}
.nav-actions{display:flex;align-items:center;gap:12px}
.nav-cta{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;background:var(--blue);color:var(--white);text-decoration:none;font-weight:700;white-space:nowrap}

/* Language switch DE / EN */
.lang-switch{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--white)}
.lang-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:36px;padding:0 10px;border-radius:999px;font-size:14px;font-weight:700;text-decoration:none;color:var(--muted)}
.lang-btn.is-active{background:var(--ink);color:var(--white)}

/* Mobile menu (three-bar button): shown only on small screens */
.mobile-menu{display:none}
.mobile-menu summary{list-style:none;cursor:pointer}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu .bar{display:block;width:22px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s, opacity .2s}
.mobile-menu[open] .bar1{transform:translateY(7px) rotate(45deg)}
.mobile-menu[open] .bar2{opacity:0}
.mobile-menu[open] .bar3{transform:translateY(-7px) rotate(-45deg)}
.menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:var(--white)}
.menu-panel{position:absolute;left:0;right:0;top:100%;z-index:20;display:flex;flex-direction:column;padding:8px 24px 24px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(11,31,63,.08)}
.menu-cta{margin:12px 0 8px;display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:999px;background:var(--blue);color:var(--white);text-decoration:none;font-size:17px;font-weight:700}
.menu-link{display:flex;align-items:center;min-height:48px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:17px;font-weight:500}
.menu-link.is-current{font-weight:700}
.menu-quote{margin-top:20px;display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:999px;border:1.5px solid var(--ink);color:var(--ink);text-decoration:none;font-weight:700}
@media (max-width: 1200px){
  .nav-links, .nav-cta{display:none !important}
  .mobile-menu{display:block}
  .site-nav{flex-wrap:nowrap !important;gap:8px !important;padding:12px 16px !important}
  .site-logo{font-size:20px !important;gap:8px}
  .site-logo-mark{width:38px;height:38px}
}
@media (max-width:380px){ .site-logo{font-size:17px !important} .site-logo-mark{width:34px;height:34px} }

/* ---- 5. Footer ---- */
.site-footer{background:var(--ink);color:var(--on-dark);border-top:4px solid var(--swiss-red)}
.footer-main{max-width:1200px;margin:0 auto;padding:48px 24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px}
.footer-about{display:flex;flex-direction:column;gap:10px;max-width:360px}
.footer-logo{display:flex;align-items:center;gap:14px;font-family:var(--font-head);font-size:22px;font-weight:700;color:var(--white)}
.footer-logo-mark{width:72px;height:72px;flex:none;border-radius:50%;box-shadow:0 0 0 3px rgba(255,255,255,.15)}
.footer-tagline{line-height:1.6}
.footer-col{display:flex;flex-direction:column;gap:10px;font-size:15px}
.footer-heading{font-weight:700;color:var(--white)}
.footer-link{color:var(--on-dark);text-decoration:none}
.footer-link-strong{color:var(--white);font-weight:700;text-decoration:none}
.on-dark{color:var(--on-dark)}   /* underlined links in the footer: e-mail, Impressum, privacy, social */
.footer-bottom{border-top:1px solid var(--footer-line)}
.footer-bottom-inner{max-width:1200px;margin:0 auto;padding:20px 24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:14px}
.footer-legal{display:flex;gap:20px}
.social-links{display:flex;gap:16px}

/* ---- 6. Buttons and links ---- */
.btn{display:inline-flex;align-items:center;min-height:48px;padding:0 26px;border-radius:999px;background:var(--blue);color:var(--white);text-decoration:none;font-weight:700}
.btn-outline{display:inline-flex;align-items:center;min-height:48px;padding:0 26px;border-radius:999px;border:1.5px solid var(--ink);color:var(--ink);text-decoration:none;font-weight:700}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}
.back-link{align-self:flex-start;font-size:15px;font-weight:500;color:var(--muted)}

/* ---- 7. Home page ---- */
/* Hero: like the banner – logo badge centred on top, text below it, then the Swiss scene running edge to edge */
.hero{max-width:1400px;margin:0 auto;padding:48px 0 0;display:flex;flex-direction:column;align-items:center;background:var(--paper)}
.hero-text{max-width:820px;padding:0 24px;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}
.hero-logo{width:150px;height:150px;display:block;filter:drop-shadow(0 8px 18px rgba(1,51,142,.25))}
.hero-title{margin:0;font-family:var(--font-head);font-size:3.25rem;line-height:1.05;color:var(--ink)}
.hero-lead{margin:0;font-size:1.2rem;line-height:1.6;color:var(--muted)}
.hero .btn-row{justify-content:center}
.hero-media{display:block;width:100%;margin-top:28px}
.hero-img{width:100%;height:auto;display:block}
@media (max-width:640px){
  .hero{padding-top:28px}
  .hero-logo{width:110px;height:110px}
  .hero-media{margin-top:16px}
}

.section-inner{max-width:1200px;margin:0 auto;padding:80px 24px;display:flex;flex-direction:column;gap:40px}
.section-head{display:flex;flex-direction:column;gap:12px;max-width:680px}
.section-title{margin:0;font-family:var(--font-head);font-size:2.5rem}
.section-title::after{content:"";display:block;width:56px;height:4px;margin-top:12px;border-radius:2px;background:var(--swiss-red)}
.section-lead{margin:0;font-size:1.1rem;line-height:1.6;color:var(--muted)}

/* Service cards */
.services{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.svc-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(min(420px, 100%), 1fr));gap:24px}
.svc-card{display:flex;flex-direction:column;gap:16px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--paper);transition:border-color .2s, box-shadow .2s}
.svc-card:hover{border-color:var(--sky);box-shadow:0 10px 28px rgba(1,51,142,.08)}
.svc-card-img{width:100%;height:200px;object-fit:cover;display:block;border-radius:12px}
.svc-card-title{margin:0;font-family:var(--font-head);font-size:1.6rem;color:var(--blue)}
.svc-card-list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;line-height:1.5}
.svc-card-more{font-size:15px;color:var(--muted)}
.svc-card-link{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;font-weight:700;text-decoration:none;color:var(--blue)}

/* Picture focus point per photo (used on the home page cards and the service page headers) */
.focus-cleaning{object-position:75% 62%}
.focus-moving{object-position:55% 72%}
.focus-passenger{object-position:50% 72%}
.focus-goods{object-position:55% 68%}
.focus-rental{object-position:50% 72%}
.cat-tagline{flex-basis:100%;margin:0 0 -8px;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--sky)}

/* How it works */
.steps-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(min(260px, 100%), 1fr));gap:32px}
.step-num{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--blue);color:var(--white);font-weight:700;box-shadow:0 0 0 4px var(--white),0 0 0 6px var(--blue)}
.step-title{margin:0;font-family:var(--font-head);font-size:1.25rem}

/* Packages (dark section) */
.packages{background:var(--ink)}
.packages-inner{max-width:1200px;margin:0 auto;padding:80px 24px;display:flex;flex-direction:column;gap:32px}
.packages-title{margin:0;font-family:var(--font-head);font-size:2.5rem;color:var(--white)}
.packages-lead{margin:0;font-size:1.1rem;line-height:1.6;color:var(--on-dark-muted)}
.package-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(min(280px, 100%), 1fr));gap:20px}
.package{display:flex;flex-direction:column;gap:10px;padding:24px;border-radius:14px;background:var(--dark-card);border-top:3px solid var(--swiss-red)}
.package-title{margin:0;font-family:var(--font-head);font-size:1.3rem;color:var(--white)}
.package-text{margin:0;line-height:1.6;color:var(--on-dark-muted)}

/* About */
.about{max-width:1200px;margin:0 auto;padding:80px 24px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.about-body{flex:1 1 440px;display:flex;flex-direction:column;gap:16px}
.about-text{margin:0;font-size:1.1rem;line-height:1.7;color:var(--muted)}
.about-media{flex:1 1 380px}

/* Contact and quote form */
.contact-inner{max-width:1200px;margin:0 auto;padding:80px 24px;display:flex;flex-wrap:wrap;gap:48px}
.contact-text{flex:1 1 360px;display:flex;flex-direction:column;gap:16px}
.contact-details{display:flex;flex-direction:column;gap:8px;font-size:1.05rem}
.quote-form{flex:1 1 440px;display:flex;flex-direction:column;gap:16px;padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}
.q-input{min-height:44px;padding:0 12px;border:1px solid var(--field-line);border-radius:8px;font:inherit}
.q-select{min-height:44px;padding:0 12px;border:1px solid var(--field-line);border-radius:8px;font:inherit;background:var(--white)}
.q-textarea{padding:12px;border:1px solid var(--field-line);border-radius:8px;font:inherit;resize:vertical}

/* ---- 8. Service pages (cleaning, moving, passenger and goods transport) ---- */
.cat-hero{max-width:1200px;margin:0 auto;padding:32px 24px 0;display:flex;flex-direction:column;gap:16px}
.cat-hero-frame{position:relative}   /* the page title sits on the picture */
.cat-hero-img{width:100%;height:clamp(260px, 42vw, 440px);object-fit:cover;display:block;border-radius:18px}
.cat-title{position:absolute;right:16px;bottom:16px;max-width:calc(100% - 32px);margin:0;padding:8px 18px;border-radius:12px;background:var(--paper);font-family:var(--font-head);font-size:clamp(1.6rem, 5vw, 3rem);line-height:1.1}
.cat-intro{max-width:900px;margin:0 auto;padding:48px 24px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.cat-intro-text{flex:1 1 420px;margin:0;font-size:1.2rem;line-height:1.6;color:var(--muted)}
.svc-list{max-width:900px;margin:0 auto;padding:32px 24px 72px;display:flex;flex-direction:column;gap:48px}
.svc-title{margin:0;font-family:var(--font-head);font-size:1.6rem;line-height:1.2;text-align:left}
.svc-title--right{text-align:right}   /* titles alternate left / right */
.svc-photo{width:min(80%, 640px);align-self:center;margin:16px 0}
.svc-photo-img{width:100%;height:280px;object-fit:cover;display:block;border-radius:14px}

/* "Need more than one service?" band */
.band-white{background:var(--white);border-top:1px solid var(--line)}
.cta-band{max-width:1200px;margin:0 auto;padding:64px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.cta-band-text{display:flex;flex-direction:column;gap:10px;max-width:620px}
.cta-band-title{margin:0;font-family:var(--font-head);font-size:2rem}

/* ---- 9. Legal pages (Impressum, privacy policy) ---- */
.legal{max-width:820px;margin:0 auto;padding:72px 24px;display:flex;flex-direction:column;gap:36px}
.legal-back{font-size:15px;font-weight:500;color:var(--muted)}
.legal-title{margin:0;font-family:var(--font-head);font-size:3rem}
.legal-date{margin:0;color:var(--muted)}
.legal-h2{margin:0;font-family:var(--font-head);font-size:1.4rem}
.legal-h3{margin:0;font-family:var(--font-head);font-size:1.2rem}
.imprint{max-width:900px;margin:0 auto;padding:72px 24px;display:flex;flex-direction:column;gap:40px}
.imprint-sub{margin:0;font-size:1.1rem;color:var(--muted)}
.imprint-table{border-top:1px solid var(--line)}
.legal-row{display:flex;flex-wrap:wrap;gap:8px 24px;padding:18px 0;border-bottom:1px solid var(--line)}
.legal-label{flex:0 0 240px;font-weight:700}
.legal-value{flex:1 1 320px;line-height:1.6;color:var(--muted)}
.imprint-notes{display:flex;flex-direction:column;gap:28px}

/* ---- 10. Booking page ---- */
.bk-page{max-width:860px;margin:0 auto;padding:56px 24px 88px;display:flex;flex-direction:column;gap:28px}
.bk-title{margin:0;font-family:var(--font-head);font-size:3rem;line-height:1.1}
.bk-noscript{margin:0;padding:16px;border-radius:12px;background:var(--red-bg);color:var(--red-dark)}
.bk-form{display:flex;flex-direction:column;gap:24px}
.bk-box{display:flex;flex-direction:column;gap:18px;padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--white)}
.bk-box-title{margin:0;font-family:var(--font-head);font-size:1.5rem}
.bk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (max-width:640px){.bk-grid{grid-template-columns:1fr}}
.bk-addr{position:relative}
.field{display:flex;flex-direction:column;gap:6px;font-weight:500}
.input{min-height:48px;width:100%;padding:0 14px;border:1px solid var(--field-line);border-radius:10px;font:inherit;background:var(--white);color:var(--ink)}
.input-area{padding:12px 14px;resize:vertical}
.bk-btn{align-self:flex-start;min-height:48px;padding:0 28px;border:0;border-radius:999px;background:var(--blue);color:var(--white);font:inherit;font-weight:700;cursor:pointer}
.bk-msg{margin:0;color:var(--red);font-weight:500}
.bk-route{margin:0;font-size:1.05rem;font-weight:700}
.bk-hint{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
.bk-consent{display:flex;gap:12px;align-items:flex-start;line-height:1.5;color:var(--muted)}
.bk-check{width:20px;height:20px;margin-top:2px;flex:none}
.bk-summary{margin:0;padding:14px 16px;border-radius:12px;background:var(--sand);font-weight:700}
.bk-submit{align-self:flex-start;min-height:52px;padding:0 32px;border:0;border-radius:999px;background:var(--blue);color:var(--white);font:inherit;font-size:1.05rem;font-weight:700;cursor:pointer}

/* Address suggestions */
.bk-sugg{position:absolute;left:0;right:0;top:100%;z-index:30;margin:6px 0 0;padding:6px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 24px rgba(11,31,63,.12);max-height:360px;overflow:auto}
.bk-sugg li + li{border-top:1px solid var(--line)}
.bk-sugg button{display:flex;flex-direction:column;gap:3px;width:100%;min-height:56px;padding:11px 14px;border:0;border-radius:8px;background:none;font:inherit;line-height:1.35;text-align:left;color:var(--ink);cursor:pointer}
.bk-sugg button:hover,.bk-sugg button:focus{background:var(--sand)}
.bk-sugg-main{font-weight:500}
.bk-sugg-sub{font-size:14px;color:var(--muted)}
.bk-sugg li.bk-sugg-by{border-top:0;padding:8px 12px 2px;font-size:12px;color:var(--muted);text-align:right}

/* Route facts above the map: a capsule with three sections (distance | time | price), each with an icon */
.bk-facts{display:grid;grid-template-columns:repeat(3,1fr);margin:0;border:1px solid var(--line);border-radius:999px;background:var(--white);box-shadow:0 2px 10px rgba(11,31,63,.06);overflow:hidden}
.bk-facts > div{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 18px;min-width:0}
.bk-facts > div + div{border-left:1px solid var(--line)}
.bk-facts svg{flex:none;width:34px;height:34px;padding:7px;border-radius:50%;background:var(--sand);fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bk-facts span{display:flex;flex-direction:column;min-width:0}
.bk-facts dt{font-size:12px;line-height:1.2;color:var(--muted)}
.bk-facts dd{margin:2px 0 0;font-size:1.1rem;font-weight:700;line-height:1.2;white-space:nowrap}
.bk-facts .bk-f-price{background:var(--blue)}
.bk-facts .bk-f-price svg{background:rgba(255,255,255,.18);stroke:var(--white)}
.bk-facts .bk-f-price dt{color:rgba(255,255,255,.85)}
.bk-facts .bk-f-price dd{color:var(--white)}
@media (max-width:560px){
  .bk-facts{border-radius:20px}
  .bk-facts > div{flex-direction:column;gap:6px;padding:12px 6px;text-align:center}
  .bk-facts span{align-items:center}
  .bk-facts svg{width:30px;height:30px;padding:6px}
  .bk-facts dd{font-size:.98rem}
}

/* Route map: picture from our server; the interactive Google map loads only after a click */
.bk-routemap{display:flex;flex-direction:column;gap:10px;margin:0}
.bk-routemap img{display:block;width:100%;height:auto;aspect-ratio:640/300;object-fit:cover;border:1px solid var(--line);border-radius:14px;background:var(--sand)}
.bk-routemap figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.bk-maplink{min-height:44px;padding:0 20px;border:1px solid var(--line);border-radius:999px;background:var(--white);color:var(--ink);font:inherit;font-weight:500;cursor:pointer}
.bk-map{overflow:hidden;border:1px solid var(--line);border-radius:14px;aspect-ratio:16/9;min-height:260px}
.bk-map iframe{display:block;width:100%;height:100%;border:0}

/* Car cards */
.bk-cars{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:14px}
.bk-car{position:relative;display:flex;flex-direction:column;gap:6px;padding:18px;border:2px solid var(--line);border-radius:14px;background:var(--paper);cursor:pointer}
.bk-car input{position:absolute;opacity:0;pointer-events:none}
.bk-car:has(input:checked){border-color:var(--blue);background:var(--sand)}
.bk-car:has(input:focus-visible){outline:3px solid var(--blue);outline-offset:2px}
.bk-car-img{display:block;width:100%;aspect-ratio:2/1;object-fit:cover;border-radius:10px;margin-bottom:6px;background:#ECEFF2}
.bk-car-class{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--sky)}
.bk-car-name{font-family:"Space Grotesk","DM Sans",sans-serif;font-size:1.25rem;font-weight:700}
.bk-car-km{font-size:14px;color:var(--muted)}
/* seats | large bags | small bags: three centred cells */
.bk-car-meta{display:grid;grid-template-columns:repeat(3,1fr);margin:4px 0;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.bk-car-meta > span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 4px;text-align:center;font-size:12px;line-height:1.2;color:var(--muted)}
.bk-car-meta > span + span{border-left:1px solid var(--line)}
.bk-car-meta b{font-family:"Space Grotesk","DM Sans",sans-serif;font-size:1.15rem;color:var(--ink)}
.bk-car-desc,.bk-car-brands{font-size:14px;color:var(--ink);line-height:1.4}
.bk-car-desc:empty,.bk-car-brands:empty{display:none}
.bk-car-total{margin-top:6px;font-size:1.15rem;font-weight:700}
.bk-car-off{opacity:.45;cursor:not-allowed}
/* wheelchair-accessible car: highlighted card + badge */
.bk-car-wc{border-color:var(--sky);background:var(--sand);box-shadow:0 6px 18px rgba(1,51,142,.10)}
.bk-car-wc-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 8px;border-radius:999px;background:var(--blue);color:#fff;font-size:13px;font-weight:700}
.bk-car-wc-badge svg,.wc-icon{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bk-car-wc-badge svg circle,.wc-icon circle{fill:currentColor;stroke:none}
/* wheelchair transport: featured block on the passenger transport page */
.svc-feature-tag{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:4px 12px 4px 10px;border-radius:999px;background:var(--blue);color:#fff;font-size:13px;font-weight:700}
.svc-feature .wc-icon{width:18px;height:18px}
.svc-feature .btn{align-self:flex-start}
.bk-car-off .bk-car-total{font-size:14px;color:var(--red)}

/* ---- 11. Booking status and thank-you pages ---- */
.confirm{max-width:720px;margin:0 auto;padding:120px 24px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.confirm-icon{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;background:var(--green-bg);color:var(--green)}
.confirm-icon--wait{background:var(--amber-bg);color:var(--amber)}
.confirm-title{margin:0;font-family:var(--font-head);font-size:2.75rem;line-height:1.1}
.confirm-ref{margin:0;font-size:1.25rem;font-weight:700}
.confirm-paid{margin:0;font-size:1.1rem;color:var(--green);font-weight:700}
.confirm-text{margin:0;font-size:1.15rem;line-height:1.6;color:var(--muted)}
.confirm-btn{margin-top:8px}

/* Error page shown by the forms (send.php, book.php) */
.error-page{box-sizing:content-box;font-family:system-ui,sans-serif;max-width:560px;margin:80px auto;padding:0 24px;color:var(--ink);line-height:1.6}
.error-page h1{font-size:1.6rem !important}   /* keeps its size on phones too */

/* ---- 12. Booking bar: fixed at the bottom on phones ---- */
.book-bar{display:none}
@media (max-width:760px){
  .book-bar{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(11,31,63,.08)}
  .book-bar a{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:999px;font-weight:700;text-decoration:none}
  .book-bar-main{flex:1;background:var(--blue);color:#fff}
  .book-bar-call{padding:0 20px;border:1.5px solid var(--ink);color:var(--ink)}
  body.has-book-bar{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
}

/* ---- 13. Payment page (bezahlen.php, en/pay.php): booking summary + Stripe's payment form ---- */
.pay{max-width:1140px;margin:0 auto;padding:40px 24px 88px;display:flex;flex-direction:column;gap:28px}
.pay-steps{display:flex;gap:8px;margin:0;padding:0;list-style:none;font-size:14px;font-weight:500;color:var(--muted)}
.pay-steps li{display:flex;align-items:center;gap:8px}
.pay-steps li + li::before{content:"";width:28px;height:2px;margin-right:4px;background:var(--line)}
.pay-steps span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;border:2px solid var(--line);background:var(--white);font-size:13px;font-weight:700}
.pay-steps .is-done span{border-color:var(--blue);background:var(--blue);color:var(--white)}
.pay-steps .is-current{color:var(--ink);font-weight:700}
.pay-steps .is-current span{border-color:var(--blue);color:var(--blue)}
.pay-head{display:flex;flex-direction:column;gap:8px}
.pay-title{margin:0;font-family:var(--font-head);font-size:2.6rem;line-height:1.1}
.pay-title::after{content:"";display:block;width:56px;height:4px;margin-top:12px;border-radius:2px;background:var(--swiss-red)}
.pay-lead{margin:0;font-size:1.1rem;line-height:1.6;color:var(--muted)}
.pay-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:28px;align-items:start}
.pay-h2{margin:0;font-family:var(--font-head);font-size:1.4rem}

/* Summary card */
.pay-summary{position:sticky;top:24px;display:flex;flex-direction:column;gap:18px;padding:26px;border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:16px;background:var(--white);box-shadow:0 10px 30px rgba(11,31,63,.06)}
.pay-summary-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px}
.pay-ref{font-size:13px;color:var(--muted)}
.pay-ref b{color:var(--ink)}
.pay-rows{margin:0;display:flex;flex-direction:column}
.pay-rows > div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px dashed var(--line)}
.pay-rows dt{flex:none;font-size:14px;color:var(--muted)}
.pay-rows dd{margin:0;font-weight:500;text-align:right;overflow-wrap:anywhere}
.pay-route dd{max-width:70%}
.pay-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-radius:12px;background:var(--ink);color:var(--white)}
.pay-total span{font-weight:500}
.pay-total small{display:block;font-size:12px;color:var(--on-dark-muted)}
.pay-total b{font-family:var(--font-head);font-size:1.7rem;white-space:nowrap}
.pay-points{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:1.5;color:var(--muted)}
.pay-points li{position:relative;padding-left:28px}
.pay-points li::before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:var(--green-bg);color:var(--green);font-size:12px;font-weight:700;line-height:20px;text-align:center}

/* Payment form card */
.pay-box{display:flex;flex-direction:column;gap:14px;padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--white)}
.pay-checkout{min-height:420px}
.pay-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:420px;margin:0;color:var(--muted)}
.pay-spinner{width:22px;height:22px;border:3px solid var(--line);border-top-color:var(--blue);border-radius:50%;animation:pay-spin .8s linear infinite}
@keyframes pay-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.pay-spinner{animation:none}}
.pay-secure{display:flex;align-items:flex-start;gap:10px;margin:0;padding-top:14px;border-top:1px solid var(--line);font-size:13px;line-height:1.5;color:var(--muted)}
.pay-secure svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--green);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* PayPal's own button above Stripe's form (paypal = direct) */
.pay-paypal{display:flex;flex-direction:column;gap:12px}
.pay-paypal[hidden]{display:none}
#pay-paypal{min-height:48px;position:relative;z-index:0}   /* PayPal's popup layer stays below our header */
.pay-pp-msg{margin:0;padding:12px 14px;border-radius:10px;background:var(--red-bg);color:var(--red-dark);font-size:14px;line-height:1.5}
.pay-pp-msg.is-info{background:var(--sand);color:var(--navy,#0B1F3F)}
.pay-pp-msg[hidden]{display:none}
.pay-or{display:flex;align-items:center;gap:12px;margin:4px 0 0;font-size:13px;color:var(--muted)}
.pay-or::before,.pay-or::after{content:"";flex:1;height:1px;background:var(--line)}

@media (max-width:900px){
  .pay-grid{grid-template-columns:1fr}
  .pay-summary{position:static}
}
@media (max-width:560px){
  .pay{padding:24px 16px 64px;gap:22px}
  .pay-title{font-size:2rem !important}
  .pay-h2{font-size:1.3rem !important}   /* the general phone rule for h2 is too big here */
  .pay-steps{font-size:13px}
  .pay-steps li + li::before{width:14px}
  .pay-summary,.pay-box{padding:18px}
  .pay-box{margin:0 -4px}
}

/* Minimum-ride note under the addresses (booking page) */
.bk-limits{margin:0;padding:10px 14px;border-radius:10px;border:1px solid #F0C9A8;background:#FFF5EC;font-size:15px;line-height:1.5;color:var(--ink)}

/* Headings: left on desktop (service-page titles no longer alternate, page title on the picture at the left), centred on phones */
.svc-title--right{text-align:left}
.cat-title{right:auto;left:16px}
@media (max-width:640px){
  h1,h2,h3{text-align:center}
  .section-title::after{margin-left:auto;margin-right:auto}
  .cat-title{left:50%;transform:translateX(-50%);width:max-content}
}
