/*
Theme Name: Rudkøbing Bilsyn
Author: Bilsyn WP
Description: Standalone Rudkøbing Bilsyn theme with the approved customer pages. No parent theme required.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: bilsyn-rudkobing
*/
*{box-sizing:border-box}body{margin:0;min-width:320px;font-family:Arial,Helvetica,sans-serif;color:#0f172a;background:#f4f7f6}h1,h2,h3,p{margin:0}a{color:inherit}img{max-width:100%;height:auto}button,input,textarea{font:inherit}button{cursor:pointer}fieldset{min-width:0}address{font-style:normal}
.marketing-page {
  min-height: 100vh;
  background: #f4f7f6;
  color: #101827;
}

.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgb(209 222 226 / 70%);
  background: rgb(244 247 246 / 88%);
  padding: 0 clamp(18px, 4vw, 56px);
  backdrop-filter: blur(18px);
}

.marketing-brand,
.marketing-login,
.marketing-nav a {
  color: #101827;
  font-weight: 850;
  text-decoration: none;
}

.marketing-brand {
  font-size: 19px;
}

.marketing-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.marketing-nav nav a {
  color: #475569;
  font-size: 14px;
  font-weight: 750;
}

.marketing-login {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 7px;
  background: #0f172a;
  color: #ffffff;
  padding: 0 16px;
}

.marketing-hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 68px));
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid #dbe3ea;
  background: #0f172a;
}

.marketing-hero img {
  object-fit: cover;
  object-position: center;
}

.marketing-hero::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, rgb(7 16 28 / 84%) 0%, rgb(7 16 28 / 52%) 42%, rgb(7 16 28 / 16%) 100%),
    linear-gradient(0deg, rgb(7 16 28 / 76%) 0%, rgb(7 16 28 / 0%) 42%);
}

.marketing-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(760px, 100%);
  gap: 18px;
  padding: clamp(34px, 6vw, 82px);
  color: #ffffff;
}

.marketing-hero-content p,
.marketing-section-heading p,
.marketing-cta > p {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.marketing-hero-content h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  line-height: 0.98;
}

.marketing-hero-content span {
  max-width: 650px;
  color: #e2e8f0;
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 650;
  line-height: 1.45;
}

.marketing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.marketing-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 7px;
  background: #ffffff;
  color: #0f172a;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
}

.marketing-actions a + a {
  background: rgb(255 255 255 / 12%);
  color: #ffffff;
}

.marketing-band,
.marketing-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.marketing-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 22px 0 6px;
}

.marketing-proof div,
.marketing-proof a,
.marketing-service-grid article,
.marketing-security-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 14px 34px rgb(15 23 42 / 5%);
}

.marketing-proof a {
  position: relative;
  border-color: rgb(8 145 178 / 45%);
  background: linear-gradient(180deg, #ffffff 0%, #f0fbfd 100%);
  color: inherit;
  text-decoration: none;
}

.marketing-proof a::after {
  color: #06667c;
  content: "Åbn →";
  font-size: 13px;
  font-weight: 850;
}

.marketing-proof a:hover {
  border-color: #0891b2;
  box-shadow: 0 16px 38px rgb(8 145 178 / 14%);
  transform: translateY(-1px);
}

.marketing-proof strong,
.marketing-security-grid strong {
  font-size: 16px;
  font-weight: 900;
}

.marketing-proof span,
.marketing-security-grid span {
  color: #526173;
  line-height: 1.45;
}

.marketing-section {
  padding: clamp(54px, 7vw, 86px) 0;
}

.marketing-section-heading {
  display: grid;
  max-width: 720px;
  gap: 12px;
  margin-bottom: 24px;
}

.marketing-section-heading h2,
.marketing-cta h2 {
  color: #0f172a;
  font-size: clamp(30px, 4.8vw, 52px);
  font-weight: 900;
  line-height: 1.04;
}

.marketing-section-heading span,
.marketing-cta > span {
  color: #526173;
  font-size: 18px;
  line-height: 1.55;
}

.marketing-service-grid,
.marketing-security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.marketing-service-grid article {
  min-height: 170px;
  align-content: start;
}

.marketing-service-grid h3 {
  font-size: 19px;
  font-weight: 900;
}

.marketing-service-grid p {
  color: #526173;
  line-height: 1.55;
}

.marketing-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  border-top: 1px solid #dbe3ea;
  border-bottom: 1px solid #dbe3ea;
}

.marketing-flow {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  counter-reset: flow;
  list-style: none;
}

.marketing-flow li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  color: #0f172a;
  font-weight: 850;
}

.marketing-flow li::before {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 7px;
  background: #0891b2;
  color: #ffffff;
  content: counter(flow);
  counter-increment: flow;
  font-weight: 900;
}

.marketing-security {
  border-bottom: 1px solid #dbe3ea;
}

.marketing-security-grid article {
  border-top: 4px solid #0891b2;
}

.marketing-cta {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-bottom: clamp(64px, 8vw, 100px);
}

.marketing-cta .marketing-actions a {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
}

.marketing-cta .marketing-actions a + a {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}

.rb-site { --rb-accent: #087e99; }
.rb-site a:focus-visible { outline: 3px solid #0891b2; outline-offset: 5px; }
.rb-site a { text-underline-offset: 4px; }
.rb-site .marketing-nav .rb-book { color: #fff; }
.rb-brand { flex-shrink: 0; padding: 10px 0; }
.rb-brand img { width: 180px; height: auto; }
.rb-site .marketing-nav { flex-wrap: wrap; }
.rb-site .marketing-nav a[aria-current] { color: var(--rb-accent); }
.rb-site .marketing-section-heading > p,.rb-site .marketing-cta > p { color: var(--rb-accent); font-size: 14px; }
.rb-site .marketing-hero-content > p { font-size: 14px; }
.rb-site .marketing-service-grid a,.rb-site .marketing-section-heading > a { color: #06667c; font-weight: 750; text-decoration: underline; }
.rb-hero { min-height: 620px; }
.rb-hero .marketing-hero-content { width: min(850px,100%); }
.rb-hero h1 { line-height: 1.06; }
.rb-site .marketing-service-grid article { gap: 14px; }
.rb-about > img { width: 100%; height: 440px; object-fit: cover; border-radius: 8px; }
.rb-about { align-items: center; }
.rb-page-heading { display: grid; gap: 20px; }
.rb-page-heading > p { color: #087e99; font-weight: 750; }
.rb-page-heading h1 { font-size: clamp(36px,6vw,72px); line-height: 1.08; font-weight: 850; max-width: 850px; }
.rb-page-heading > span { color: #526173; font-size: 20px; max-width: 720px; }
.rb-site address { font-style: normal; line-height: 1.8; }
.rb-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rb-gallery img { width: 100%; height: 430px; object-fit: cover; border-radius: 8px; }
.rb-footer { background: #0f172a; color: #e2e8f0; padding: 48px max(18px,calc((100% - 1180px)/2)); display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; line-height: 1.7; }
.rb-footer div,.rb-footer nav { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.rb-footer strong { color: white; font-size: 20px; }
.rb-site a:hover { text-decoration: underline; }
.rb-skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px; background: white; color: #0f172a; }
.rb-skip:focus { top: 12px; }
.rb-site #ydelser { scroll-margin-top: 150px; }
@media(max-width:760px) { .rb-site .marketing-nav { position:relative; padding: 12px 18px; gap: 12px; } .rb-site .marketing-nav nav { display:flex; order:3; width:100%; flex-wrap:wrap; justify-content:space-between; gap:12px; } .rb-site .marketing-nav .rb-book { width:auto; } .rb-brand img { width:155px; } .rb-hero { min-height:570px; } .rb-hero .marketing-hero-content { padding:40px 22px; } .rb-site .marketing-proof,.rb-site .marketing-split,.rb-gallery,.rb-footer { grid-template-columns:1fr; } .rb-about > img,.rb-gallery img { height:330px; } .rb-site .marketing-service-grid { grid-template-columns:1fr; } .rb-site .marketing-section-heading > a { overflow-wrap:anywhere; } }
@media(max-width:760px) { .rb-site #ydelser + .rb-about > img { display:none; } }

.rb-site .marketing-service-grid h2 { font-size: 19px; font-weight: 900; }
.rb-service-help { margin-top: 48px; margin-bottom: 0; }

.rb-contact-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); }
.rb-contact-form { background: white; border: 1px solid #dbe3ea; border-radius: 8px; padding: clamp(20px, 3vw, 36px); }
.rb-contact-form h2 { font-size: 30px; font-weight: 850; margin-bottom: 10px; }
.rb-contact-form p { color: #526173; line-height: 1.6; }
.rb-contact-form form { margin-top: 24px; }
.rb-contact-form fieldset { display: grid; gap: 12px; min-width: 0; border: 0; padding: 0; }
.rb-contact-form label { display: block; font-weight: 700; }
.rb-contact-form input,.rb-contact-form textarea { display: block; width: 100%; min-width: 0; border: 1px solid #94a3b8; border-radius: 6px; background: #fff; padding: 12px; color: #0f172a; font: inherit; }
.rb-contact-form textarea { resize: vertical; }
.rb-contact-form input:focus-visible,.rb-contact-form textarea:focus-visible,.rb-contact-form button:focus-visible { outline: 3px solid #0891b2; outline-offset: 3px; }
.rb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rb-form-row label { margin-bottom: 12px; }
.rb-contact-form .rb-form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rb-contact-form button { justify-self: start; background: #0f172a; color: #fff; font-weight: 750; border-radius: 7px; padding: 14px 24px; margin-top: 8px; }
.rb-contact-form button:hover { background: #164e63; }
.rb-contact-form fieldset:disabled { opacity: .65; }
.rb-contact-form .rb-form-result { padding: 16px; margin-top: 20px; border-radius: 6px; }
.rb-contact-form .rb-form-error { background: #fff1f2; color: #9f1239; }
.rb-contact-form .rb-form-success { background: #ecfdf5; color: #065f46; }
.rb-contact-details { display: grid; gap: 24px; }
.rb-contact-details .marketing-section-heading h2 { font-size: clamp(26px, 3vw, 36px); }
@media(max-width:760px) { .rb-contact-layout,.rb-form-row { grid-template-columns: 1fr; } }

.rb-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rb-contact-form .bilsyn-contact-form__intro h2{font-size:30px}
.rb-contact-form .bilsyn-form{display:grid;gap:16px}
.rb-contact-form .bilsyn-form__row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.rb-contact-form .bilsyn-form__field label{margin-bottom:10px}
.rb-contact-form .bilsyn-form__field--trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.rb-contact-form .bilsyn-form-message{padding:16px;margin:20px 0;border-radius:6px}
.rb-contact-form .bilsyn-form-message--error{background:#fff1f2;color:#9f1239}
.rb-contact-form .bilsyn-form-message--success{background:#ecfdf5;color:#065f46}
.rb-contact-form button{border:0}
.rb-contact-form .bilsyn-form__privacy a{text-decoration:underline}
.rb-site .marketing-nav nav a[aria-current=page]{color:#087e99}
@media(max-width:760px){.rb-contact-form .bilsyn-form__row{grid-template-columns:1fr}.marketing-actions{flex-direction:column}.marketing-actions a{width:100%}}
