/*
Theme Name: MMcoding
Theme URI: https://mmcoding.dk/
Author: MMcoding
Description: Et hurtigt, responsivt WordPress-tema til MMcoding.
Version: 1.9.5
Text Domain: mmcoding
*/

:root {
	--red: #d83335;
	--ink: #161616;
	--muted: #f5f5f3;
	--line: #dededb;
	--copy: #5b5b59;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ink);
	background: #fff;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
button, input, textarea { font: inherit; }

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.top { min-height: 88px; border-bottom: 1px solid var(--line); background: #fff; }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.logo { display: flex; flex-direction: column; width: 238px; gap: 4px; color: var(--ink); font-weight: 900; line-height: .8; letter-spacing: -2px; }
.logo > span { font-size: 25px; }
.logo b { color: var(--red); }
.logo small { font-size: 12px; }
.logo i { width: 100%; height: 3px; background: var(--ink); }
.logo em { font-size: 6px; font-style: normal; letter-spacing: 1px; }
.custom-brand { display: flex; align-items: center; width: 238px; }
.custom-brand .custom-logo-link { display: block; }
.custom-brand img { display: block; width: auto; max-width: 238px; max-height: 66px; }

.desktop-menu .menu,
.mobile-menu .menu {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 0;
	margin: 0;
	list-style: none;
}
.desktop-menu .menu a { display: block; padding: 8px 0; font-size: 12px; font-weight: 750; }
.desktop-menu .menu a:hover,
.desktop-menu .current-menu-item > a,
.desktop-menu .current_page_item > a { color: var(--red); }
.phone { color: var(--red); font-size: 14px; font-weight: 800; white-space: nowrap; }
.language-switch { display: flex; gap: 5px; color: #94948f; font-size: 11px; font-weight: 800; }
.language-switch a { color: #94948f; }
.language-switch a.is-active { color: var(--ink); }
.mobile-menu { display: none; }

.hero2,
.brand-hero {
	color: #fff;
	background-color: #070707;
}
.brand-hero {
	background-image:
		linear-gradient(90deg, rgba(7, 7, 7, .88) 0%, rgba(7, 7, 7, .72) 36%, rgba(7, 7, 7, .18) 70%, rgba(7, 7, 7, .02) 100%),
		var(--hero-image);
	background-position: center;
	background-size: cover;
}
.hero2 { position: relative; isolation: isolate; overflow: hidden; padding: 124px 0; }
.hero2::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(7, 7, 7, .88) 0%, rgba(7, 7, 7, .72) 36%, rgba(7, 7, 7, .18) 70%, rgba(7, 7, 7, .02) 100%); content: ''; pointer-events: none; }
.hero2__image { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.hero2 .wrap { position: relative; z-index: 2; }
.brand-hero { padding: 108px 0; }
.hero-grid { display: block; }
.hero-text { max-width: 690px; }
.kicker { margin: 0 0 17px; color: #6d6d6a; font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.hero2 .kicker,
.brand-hero .kicker { color: #d9d9d6; }
.redtext { color: var(--red); }
h1 {
	margin-bottom: 25px;
	font-size: clamp(52px, 7vw, 80px);
	font-weight: 600;
	letter-spacing: -.052em;
	line-height: .95;
}
.hero-title { max-width: 770px; font-size: clamp(48px, 5.8vw, 72px); }
h1 span, h2 span { color: var(--red); }
.lead { max-width: 540px; color: #4e4e4b; font-size: 18px; line-height: 1.58; }
.hero2 .lead,
.brand-hero .lead { color: #e0e0dd; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 17px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; font-size: 13px; font-weight: 800; transition: transform .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); }
.red { color: #fff; background: var(--red); }
.outline { border: 1px solid var(--ink); }
.hero2 .outline,
.brand-hero .outline { color: #fff; border-color: #fff; }
.trust { margin-bottom: 0; color: #6d6d6a; font-size: 12px; }
.hero2 .trust,
.brand-hero .trust { color: #d7d7d4; }

.quick,
.brand-facts { border-bottom: 1px solid var(--line); background: #fff; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.brand-facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-grid div,
.brand-facts-grid div { min-height: 90px; padding: 23px 18px; border-right: 1px solid var(--line); }
.quick-grid div:first-child,
.brand-facts-grid div:first-child { padding-left: 0; }
.quick-grid div:last-child,
.brand-facts-grid div:last-child { border-right: 0; }
.quick strong,
.brand-facts strong { display: block; font-size: 13px; }
.quick span,
.brand-facts span { display: block; margin-top: 5px; color: #747470; font-size: 12px; line-height: 1.35; }

.section { padding: 96px 0; }
h2 {
	margin-bottom: 37px;
	font-size: clamp(41px, 5vw, 64px);
	font-weight: 600;
	letter-spacing: -.052em;
	line-height: .98;
}
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-cards article { display: flex; flex-direction: column; min-height: 292px; padding: 27px; border: 1px solid var(--line); background: #fff; }
.tag { color: var(--red); font-size: 12px; font-weight: 850; }
.service-cards h3 { margin: 30px 0 13px; font-size: 25px; font-weight: 650; letter-spacing: -.045em; line-height: 1.04; }
.service-cards p:not(.tag) { color: var(--copy); font-size: 14px; line-height: 1.58; }
.service-cards a { margin-top: auto; color: var(--red); font-size: 13px; font-weight: 800; }

.bmw-hub { border-block: 1px solid var(--line); background: #151515; color: #fff; }
.bmw-hub .kicker { color: #ee6b6c; }
.bmw-hub h2 { max-width: 720px; }
.bmw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bmw-card { position: relative; display: flex; min-height: 400px; overflow: hidden; align-items: flex-end; padding: 27px; background: #0b0b0b; isolation: isolate; }
.bmw-card::before { position: absolute; z-index: -2; inset: 0; background-image: var(--brand-image, url('assets/hero-bmw.webp')); background-size: cover; content: ''; opacity: .94; transition: transform .4s ease; }
.seo-section { background: #f6f5f2; }
.seo-copy { max-width: 900px; }
.seo-copy h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0 0 1rem; }
.seo-copy h3 { font-size: 1.4rem; margin: 2rem 0 .7rem; }
.seo-copy p { max-width: 760px; color: #4b4b4b; font-size: 1.05rem; line-height: 1.75; }
.seo-copy a { color: #d93635; font-weight: 700; text-decoration: underline; }
.seo-copy figure { margin: 2rem 0; max-width: 760px; }
.seo-copy img { display: block; width: 100%; height: auto; border-radius: 3px; }
.bmw-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.72) 82%); content: ''; }
.bmw-card:hover::before { transform: scale(1.045); }
.bmw-card--carplay::before { background-position: 62% center; }
.bmw-card--android::before { background-position: 80% center; }
.bmw-card--upgrades::before { background-position: 38% center; }
.bmw-card--touch::before { background-image: var(--card-image); background-position: 77% center; }
.bmw-cards--four { grid-template-columns: repeat(2, 1fr); }
.bmw-card__number { position: absolute; top: 27px; left: 27px; color: #fff; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.bmw-card__arrow { position: absolute; top: 21px; right: 25px; color: var(--red); font-size: 27px; }
.bmw-card h3 { margin: 0 0 10px; font-size: 30px; font-weight: 650; letter-spacing: -.05em; line-height: .99; }
.bmw-card p { max-width: 235px; margin-bottom: 20px; color: #e0e0dd; font-size: 14px; line-height: 1.5; }
.bmw-card b { color: #fff; font-size: 13px; }

.detail-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; }
.detail-grid h2 { margin-bottom: 0; }

.model-hero h1 { max-width: 850px; font-size: clamp(46px, 6.2vw, 72px); }
.model-detail { padding-bottom: 82px; }
.model-cta { padding: 72px 0; color: #fff; background: #151515; }
.model-cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: end; }
.model-cta .kicker { color: #d9d9d6; }
.model-cta h2 { margin: 0; }
.model-cta > .model-cta__inner > div:last-child { max-width: 460px; }
.model-cta p:not(.kicker) { margin: 0; color: #d2d2cf; font-size: 17px; line-height: 1.58; }
.model-cta .hero-buttons { margin-top: 20px; }
.model-cta .btn { display: inline-flex; margin-top: 23px; }

.price-band { padding: 92px 0; border-block: 1px solid var(--line); background: var(--muted); }
.price-band h2 { margin-bottom: 31px; }
.price-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price-tables article,
.brand-price-list { overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--ink); background: #fff; }
.price-tables h3,
.brand-price-list h3 { margin: 0; padding: 20px 23px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 750; }
.price-tables h3.minor,
.brand-price-list h3.minor { border-top: 1px solid var(--line); }
.price-tables .price-row,
.brand-price-list .price-row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 23px; border-bottom: 1px solid #ececea; font-size: 14px; line-height: 1.35; }
.price-tables .price-row:last-child,
.brand-price-list .price-row:last-child { border-bottom: 0; }
.price-tables b,
.brand-price-list b { flex: 0 0 auto; white-space: nowrap; }
.brand-price-list { width: min(100%, 650px); }
.price-note { margin: 16px 0 0; color: #777773; font-size: 12px; }

.process { padding: 94px 0; color: #fff; background: #151515; }
.process .kicker { color: #d9d9d6; }
.process h2 { margin-bottom: 22px; }
.process-intro { max-width: 610px; }
.process-intro > p:not(.kicker) { max-width: 540px; margin-bottom: 48px; color: #c8c8c5; font-size: 17px; line-height: 1.58; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; list-style: none; border-top: 1px solid #454545; }
.process-steps li { min-height: 228px; padding: 25px 28px 20px 0; border-right: 1px solid #454545; }
.process-steps li + li { padding-left: 28px; }
.process-steps li:last-child { border-right: 0; }
.process-steps span { display: block; margin-bottom: 47px; color: var(--red); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.process-steps h3 { margin-bottom: 13px; font-size: 25px; font-weight: 650; letter-spacing: -.045em; line-height: 1.04; }
.process-steps p { max-width: 280px; margin-bottom: 0; color: #c8c8c5; font-size: 14px; line-height: 1.58; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; }
.split h2 { margin-bottom: 0; }
.copy { padding-top: 25px; }
.copy > p { color: var(--copy); font-size: 17px; line-height: 1.58; }
.facts { display: grid; gap: 13px; margin-top: 29px; }
.facts span { padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 750; }
.facts span::before { margin-right: 9px; color: var(--red); content: '✓'; }

.review { padding: 82px 0; border-block: 1px solid var(--line); background: var(--muted); }
.review h2 { margin-bottom: 34px; }
.review-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-badges a { min-height: 132px; padding: 22px; border: 1px solid var(--line); background: #fff; font-size: 18px; font-weight: 800; }
.review-badges strong { display: block; margin: 11px 0 5px; color: var(--red); font-size: 15px; letter-spacing: .13em; }
.review-badges small { display: block; color: #777773; font-size: 12px; font-weight: 500; }

.faq { padding: 96px 0; border-bottom: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 88px; }
.faq h2 { margin-bottom: 20px; }
.faq-grid > div:first-child > p:not(.kicker) { max-width: 400px; margin-bottom: 0; color: var(--copy); font-size: 16px; line-height: 1.58; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 21px 0; cursor: pointer; font-size: 16px; font-weight: 760; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { flex: 0 0 auto; color: var(--red); content: '+'; font-size: 24px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 670px; margin: -4px 0 22px; color: var(--copy); font-size: 14px; line-height: 1.6; }

.contact2 { padding: 94px 0; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.contact2 h2 { margin-bottom: 20px; }
.contact2 p:not(.kicker) { color: var(--copy); font-size: 16px; line-height: 1.58; }
.direct { display: grid; gap: 12px; margin-top: 28px; }
.direct a { color: var(--red); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; border: 1px solid var(--line); background: var(--muted); }
.lead-form label { display: grid; gap: 7px; font-size: 11px; font-weight: 850; }
.lead-form label > span { display: flex; align-items: baseline; gap: 4px; }
.lead-form label em { color: #73736f; font-style: normal; font-weight: 600; }
.lead-form label:last-of-type,
.lead-form button,
.lead-form small { grid-column: 1 / -1; }
.lead-form input,
.lead-form textarea,
.lead-form .ff-el-form-control { width: 100%; padding: 12px; border: 1px solid #cececa; border-radius: 0; background: #fff; color: var(--ink); font-size: 15px; }
.lead-form input { min-height: 48px; }
.lead-form textarea { min-height: 108px; resize: vertical; }
.lead-form button,
.lead-form .ff-btn-submit { min-height: 50px; border: 0; border-radius: 0; color: #fff; background: var(--red); font-size: 14px; font-weight: 800; cursor: pointer; }
.lead-form small { color: #73736f; font-size: 11px; line-height: 1.4; }
.mm-has-sent-popup { overflow: hidden; }
.mm-sent-popup { position: fixed !important; z-index: 99999 !important; inset: 0; display: grid !important; place-items: center; padding: 20px; background: rgba(0, 0, 0, .62); }
.mm-sent-popup__card { width: min(100%, 460px); padding: 34px; border-top: 7px solid var(--red); background: #fff; box-shadow: 0 26px 80px rgba(0, 0, 0, .35); }
.mm-sent-popup__check { display: grid; width: 46px; height: 46px; margin-bottom: 22px; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 25px; font-weight: 800; }
.mm-sent-popup .kicker { margin-bottom: 11px; }
.mm-sent-popup h2 { max-width: 360px; margin: 0 0 13px; font-size: clamp(28px, 5vw, 38px); line-height: .98; letter-spacing: -.055em; }
.mm-sent-popup p:not(.kicker) { max-width: 360px; margin: 0 0 25px; color: var(--copy); font-size: 16px; line-height: 1.5; }
.mm-sent-popup button { min-width: 126px; min-height: 48px; padding: 0 22px; border: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.plugin-form .ff-el-group { margin-bottom: 0; }
.plugin-form .ff-el-input--label { font-size: 11px; font-weight: 850; }

footer { padding: 35px 0; border-top: 1px solid var(--line); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #777773; font-size: 12px; }
.foot .logo { width: 180px; transform: scale(.72); transform-origin: left center; }
.foot .custom-brand { width: 180px; transform: scale(.72); transform-origin: left center; }
.foot .custom-brand img { max-width: 240px; }
.foot a { color: var(--ink); font-weight: 800; }
.mobile-cta { display: none; }

.content-page .copy { max-width: 760px; padding-top: 0; }
.content-page .copy > * { font-size: 17px; line-height: 1.65; }

@media (max-width: 750px) {
	.wrap { width: min(100% - 32px, 1120px); }
	.top,
	.nav { min-height: 78px; }
	.desktop-menu,
	.phone { display: none; }
	.language-switch { margin-left: auto; margin-right: 14px; }
	.nav { gap: 12px; }
	.logo,
	.custom-brand { width: 176px; }
	.logo > span { font-size: 18px; }
	.logo em { font-size: 5px; }
	.custom-brand img { max-width: 176px; max-height: 56px; }
	.mobile-menu { position: relative; display: block; }
	.mobile-menu summary { display: flex; align-items: center; gap: 8px; list-style: none; color: var(--ink); font-size: 12px; font-weight: 850; cursor: pointer; }
	.mobile-menu summary::-webkit-details-marker { display: none; }
	.mobile-menu summary span { color: var(--red); font-size: 21px; font-weight: 400; line-height: .7; }
	.mobile-menu[open] summary span { transform: rotate(45deg); }
	.mobile-menu > nav { position: absolute; z-index: 30; top: 37px; right: 0; width: 220px; border: 1px solid var(--line); background: #fff; box-shadow: 0 14px 28px rgba(0, 0, 0, .16); }
	.mobile-menu .menu { display: grid; gap: 0; padding: 0; }
	.mobile-menu .menu li { border-bottom: 1px solid var(--line); }
	.mobile-menu .menu li:last-child { border-bottom: 0; }
	.mobile-menu .menu a { display: block; padding: 15px 17px; font-size: 13px; font-weight: 800; }

	.hero2 { padding: 72px 0 78px; }
	.hero2__image { object-position: 64% center; }
	.brand-hero { padding: 72px 0 78px; background-position: 64% center; }
	.brand-hero { padding: 76px 0; }
	.brand-hero h1 { font-size: clamp(34px, 9vw, 44px); line-height: 1.02; }
	.brand-facts-grid { grid-template-columns: 1fr; }
	.brand-facts-grid div,
	.brand-facts-grid div:first-child { min-height: auto; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.brand-facts-grid div:last-child { border-bottom: 0; }
	body { padding-bottom: 69px; }
	.section,
	.price-band,
	.process,
	.review,
	.faq,
	.contact2,
	.model-cta { padding: 68px 0; }
	h1 { font-size: clamp(43px, 12vw, 54px); letter-spacing: -.042em; line-height: 1; }
	.hero-title { max-width: 11.5ch; font-size: clamp(34px, 10vw, 42px); line-height: 1.02; }
	.hero-title .hero-break { display: none; }
	h2 { margin-bottom: 25px; font-size: clamp(35px, 9.7vw, 40px); letter-spacing: -.032em; line-height: 1.07; }
	.lead { font-size: 17px; }
	.split,
	.contact-grid,
	.price-tables,
	.review-badges,
	.faq-grid,
	.model-cta__inner { grid-template-columns: 1fr; gap: 28px; }
	.quick-grid { grid-template-columns: 1fr 1fr; }
	.quick-grid div,
	.quick-grid div:first-child { min-height: auto; padding: 16px 0; border-bottom: 1px solid var(--line); }
	.quick-grid div:nth-child(even) { padding-left: 14px; border-right: 0; }
	.quick-grid div:last-child { border-bottom: 0; }
	.service-cards { grid-template-columns: 1fr; }
	.service-cards article { min-height: 226px; }
	.bmw-cards { grid-template-columns: 1fr; }
	.bmw-cards--four { grid-template-columns: 1fr; }
	.bmw-card { min-height: 322px; }
	.detail-grid { grid-template-columns: 1fr; gap: 28px; }
	.process-intro > p:not(.kicker) { margin-bottom: 36px; }
	.process-steps { grid-template-columns: 1fr; }
	.process-steps li,
	.process-steps li + li { min-height: auto; padding: 22px 0; border-right: 0; border-bottom: 1px solid #454545; }
	.process-steps li:last-child { border-bottom: 0; }
	.process-steps span { margin-bottom: 21px; }
	.process-steps h3 { margin-bottom: 10px; font-size: 22px; }
	.price-tables .price-row,
	.brand-price-list .price-row { padding: 17px; }
	.price-tables h3,
	.brand-price-list h3 { padding: 19px 17px; }
	.review-badges a { min-height: auto; }
	.contact2 h2 { max-width: none; }
	.contact2 p:not(.kicker) { font-size: 17px; line-height: 1.52; }
	.direct a { font-size: 21px; }
	.lead-form { grid-template-columns: 1fr; padding: 20px; }
	.lead-form label:last-of-type,
	.lead-form button,
	.lead-form small { grid-column: auto; }
	.mm-sent-popup { align-items: end; padding: 12px; }
	.mm-sent-popup__card { width: 100%; max-width: 520px; max-height: calc(100dvh - 24px); padding: 25px 22px 22px; overflow-y: auto; border-top-width: 5px; border-radius: 14px 14px 0 0; }
	.mm-sent-popup__check { width: 42px; height: 42px; margin-bottom: 18px; font-size: 22px; }
	.mm-sent-popup h2 { margin-bottom: 11px; font-size: clamp(27px, 8vw, 34px); line-height: 1; }
	.mm-sent-popup p:not(.kicker) { margin-bottom: 20px; font-size: 15px; }
	.mm-sent-popup button { width: 100%; }
	.foot { flex-wrap: wrap; }
	.foot .logo,
	.foot .custom-brand { width: 175px; transform: none; }
	.mobile-cta { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 -8px 24px rgba(0, 0, 0, .14); }
	.mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 69px; color: #fff; background: var(--ink); font-size: 14px; font-weight: 800; }
	.mobile-cta a + a { background: var(--red); }
}
