/*
Ipsens Regnskabsservice ApS — statisk PHP-site
Design genbrugt 1:1 fra det oprindelige tema.
*/

:root {
  --forest: #163e32;
  --forest-deep: #0d2c24;
  --forest-soft: #245646;
  --sage: #dbe6df;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --ink: #17221e;
  --muted: #68726c;
  --brass: #bd9660;
  --line: #d9ded9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.utility-bar { background: var(--forest-deep); color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .025em; }
.utility-inner { height: 36px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner p { margin: 0; }
.utility-inner div { display: flex; align-items: center; gap: 11px; }
.utility-inner a { transition: color .2s ease; }
.utility-inner a:hover { color: white; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,253,248,.95); border-bottom: 1px solid rgba(22,62,50,.11); backdrop-filter: blur(6px); }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; margin: 0; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--forest); color: var(--forest); font-family: Georgia, serif; font-size: 15px; letter-spacing: -.04em; }
.brand-name { display: flex; flex-direction: column; color: var(--forest-deep); font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.03; }
.brand-name em { font-family: inherit; font-size: 12px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
nav.site-nav { display: flex; align-items: center; gap: 18px; }
nav.site-nav a {
	position: relative;
	padding: 10px 14px 12px;
	border-radius: 8px;
	background: rgba(219,230,223,.14);
	border: 1px solid rgba(22,62,50,.06);
	color: #3f4d47;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .01em;
	overflow: hidden;
	transition: color .25s cubic-bezier(0.25, 1, 0.5, 1), background-color .25s cubic-bezier(0.25, 1, 0.5, 1), border-color .25s cubic-bezier(0.25, 1, 0.5, 1);
}
nav.site-nav a::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 7px;
	height: 2px;
	background: var(--forest);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.site-nav a:hover,
nav.site-nav a:focus-visible,
nav.site-nav a.is-current {
	color: var(--forest-deep);
	background: rgba(219,230,223,.65);
	border-color: rgba(22,62,50,.3);
}
nav.site-nav a:hover::after,
nav.site-nav a:focus-visible::after,
nav.site-nav a.is-current::after { transform: scaleX(1); }
nav.site-nav a:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 24px; border: 1px solid transparent; font-size: 14px; font-weight: 650; transition: transform .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button svg, .text-link svg { width: 18px; height: 18px; }
.button-small { min-height: 44px; padding: 0 18px; gap: 11px; font-size: 13px; }
.header-cta { min-height: 56px; padding: 0 30px; font-size: 15px; }
.button-dark { background: var(--forest); color: white; }
.button-dark:hover { background: var(--forest-soft); }
.button-primary { background: var(--brass); color: var(--forest-deep); }
.button-primary:hover { background: #cda770; }
.button-light { background: var(--cream); color: var(--forest-deep); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 13px 0; color: var(--forest); font-size: 14px; font-weight: 650; border-bottom: 1px solid rgba(22,62,50,.35); }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }

.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .33; background-image: linear-gradient(rgba(22,62,50,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(22,62,50,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, black, transparent 62%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .7fr; gap: clamp(58px, 8vw, 112px); align-items: center; min-height: 680px; padding: 76px 0 72px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: var(--brass); }
.eyebrow-dark { color: var(--forest); }
.hero .eyebrow { color: var(--forest); }
.hero h1, .section-heading h2, .process h2, .local h2, .contact h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
.hero h1 { max-width: 760px; color: var(--forest-deep); font-size: clamp(48px, 5.5vw, 78px); line-height: 1.04; }
.hero h1 em, .process h2 em { color: var(--forest-soft); font-weight: 400; }
.hero-lead { max-width: 660px; margin: 30px 0 0; color: #54615c; font-size: 17px; line-height: 1.75; }
.button-row { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 0; margin-top: 52px; padding-top: 23px; border-top: 1px solid rgba(22,62,50,.16); }
.hero-facts div { display: flex; flex-direction: column; min-width: 135px; padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(22,62,50,.15); }
.hero-facts div:last-child { border: 0; }
.hero-facts strong { color: var(--forest); font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.hero-facts span { margin-top: 4px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.hero-card { position: relative; padding: 42px 40px 36px; background: var(--forest); color: white; box-shadow: 24px 24px 0 rgba(22,62,50,.09); overflow: hidden; }
.hero-card::before { content: ""; position: absolute; width: 210px; height: 210px; right: -115px; top: -90px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 76px rgba(255,255,255,.018); }
.card-kicker { position: relative; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--brass); margin: 0; }
.hero-card h2 { position: relative; max-width: 280px; margin: 22px 0 0; font-family: Georgia, serif; font-size: 34px; line-height: 1.12; font-weight: 400; }
.hero-card ul { position: relative; list-style: none; padding: 0; margin: 31px 0 36px; display: grid; gap: 15px; }
.hero-card li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.86); font-size: 14px; }
.hero-card li::before { content: "\2013"; color: var(--brass); }
.card-note { display: flex; gap: 12px; align-items: flex-start; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.14); }
.card-note p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.6; }
.card-note strong { color: white; font-size: 13px; }

.section { padding: 112px 0; }
.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.2fr .55fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .local h2 { color: var(--forest-deep); font-size: clamp(39px, 4.2vw, 57px); line-height: 1.08; }
.section-heading > div > p, .section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 286px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .25s ease, transform .25s ease; }
.service-card:hover { z-index: 1; background: var(--cream); transform: translateY(-4px); }
.service-number { color: var(--brass); font-family: Georgia, serif; font-size: 13px; margin: 0; }
.service-card h3 { margin: 34px 0 12px; color: var(--forest-deep); font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-card .service-arrow { width: 36px; height: 36px; display: grid; place-items: center; align-self: flex-end; margin-top: 20px; border: 1px solid var(--line); color: var(--forest); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.service-card .service-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .service-arrow { background: var(--forest); border-color: var(--forest); color: white; }
.service-card:hover .service-arrow svg { transform: translate(2px, -2px); }

.process { background: var(--forest); color: white; }
.process-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(70px, 10vw, 140px); align-items: center; }
.process h2 { font-size: clamp(42px, 4.6vw, 62px); line-height: 1.06; }
.process h2 em { color: #b8d2c4; font-style: italic; }
.process-intro > p:not(.eyebrow) { max-width: 470px; margin: 28px 0 34px; color: rgba(255,255,255,.66); font-size: 15px; line-height: 1.8; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.steps li { display: grid; grid-template-columns: 66px 1fr; gap: 25px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.steps > li > span { color: var(--brass); font-family: Georgia, serif; font-size: 14px; }
.steps h3 { margin: -4px 0 8px; font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.steps p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.65; }

.local { background: var(--cream); }
.local-grid { display: grid; grid-template-columns: 1fr; gap: clamp(60px, 9vw, 125px); align-items: center; }
.local-copy > p:not(.eyebrow) { margin: 27px 0 30px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.area-list { display: flex; flex-wrap: wrap; gap: 9px; }
.area-list span { padding: 9px 14px; border: 1px solid rgba(22,62,50,.18); color: var(--forest); font-size: 12px; background: rgba(255,255,255,.48); }

.contact { background: var(--paper); }
.contact-panel { display: grid; grid-template-columns: .7fr 1fr; gap: 78px; padding: 70px 72px; background: var(--forest-deep); color: white; }
.contact h2 { font-size: clamp(39px, 4.3vw, 58px); line-height: 1.08; }
.contact-intro { max-width: 430px; margin: 25px 0 7px; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.75; }
.contact-mail { margin-top: 17px; color: rgba(255,255,255,.72); font-size: 13px; }
.contact-mail a { border-bottom: 1px solid rgba(255,255,255,.25); }

footer.site-footer { background: #091f1a; color: rgba(255,255,255,.68); }
.footer-top { min-height: 190px; display: grid; grid-template-columns: 1fr 1fr .6fr; gap: 55px; align-items: center; padding: 40px 0; }
.brand-light .brand-mark { border-color: var(--brass); color: var(--brass); }
.brand-light .brand-name { color: white; }
.footer-top > p { max-width: 380px; margin: 0; font-size: 13px; line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; color: white; font-size: 13px; margin: 0; }
.footer-share { display: flex; gap: 16px; align-items: center; color: white; font-size: 13px; margin: 12px 0 0; }
.footer-share a { color: inherit; opacity: .8; }
.footer-share a:hover { opacity: 1; }
.footer-bottom { min-height: 62px; display: flex; gap: 28px; align-items: center; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { margin-left: auto; }
.footer-bottom button.link-like { margin-left: 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

.legal-page { background: var(--cream); }
.legal-hero { padding: 78px 0 56px; background: var(--forest); color: white; }
.legal-hero h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(44px, 5vw, 64px); font-weight: 400; }
.legal-content { max-width: 800px; margin: 0 auto; padding: 75px 0 100px; }
.legal-content h2 { margin: 42px 0 12px; color: var(--forest-deep); font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 14px; line-height: 1.8; }
.legal-content a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 32px; }
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,.76); font-size: 12px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.2); border-radius: 0; background: rgba(255,255,255,.06); color: white; font: inherit; font-size: 14px; outline: none; padding: 13px 14px; }
.contact-form input { height: 48px; }
.contact-form textarea { min-height: 115px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brass); }
.contact-form label.consent { display: flex; grid-column: 1 / -1; gap: 12px; align-items: center; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.55; cursor: pointer; }
.contact-form .consent-text { flex: 1; }
.contact-form .consent a { text-decoration: underline; }

.consent-switch { position: relative; flex: none; width: 42px; height: 24px; }
.consent-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.consent-switch-track { position: absolute; inset: 0; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; transition: background .2s ease, border-color .2s ease; }
.consent-switch-track::before { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: white; border-radius: 50%; transition: transform .2s ease; }
.consent-switch input:checked + .consent-switch-track { background: var(--forest-soft); border-color: var(--brass); }
.consent-switch input:checked + .consent-switch-track::before { transform: translateX(18px); background: var(--brass); }
.consent-switch input:focus-visible + .consent-switch-track { outline: 2px solid var(--brass); outline-offset: 2px; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; }
.form-notice { grid-column: 1 / -1; margin: 0 0 16px; padding: 13px 15px; color: white; font-size: 12px; }
.form-notice-success { background: rgba(128,197,147,.2); border: 1px solid rgba(128,197,147,.45); }
.form-notice-error { background: rgba(206,115,103,.18); border: 1px solid rgba(206,115,103,.4); }
.hp-field { position: absolute !important; left: -9999px !important; }

/* Cookie consent banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: var(--forest-deep); color: rgba(255,255,255,.88); padding: 22px 0; box-shadow: 0 -6px 24px rgba(0,0,0,.15); transform: translateY(110%); transition: transform .4s ease; }
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-text { max-width: 620px; margin: 0; font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.75); }
.cookie-text a { text-decoration: underline; color: white; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button { border: 1px solid rgba(255,255,255,.25); background: transparent; color: white; font: inherit; font-size: 13px; font-weight: 600; padding: 11px 18px; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.cookie-actions button:hover { transform: translateY(-2px); }
.cookie-accept { background: var(--brass) !important; border-color: var(--brass) !important; color: var(--forest-deep) !important; }
.cookie-accept:hover { background: #cda770 !important; }
.cookie-settings-panel { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.cookie-settings-panel.is-visible { display: block; }
.cookie-option { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 12px; color: rgba(255,255,255,.7); }
.cookie-option strong { color: white; font-size: 13px; display: block; }
.cookie-option input { margin-top: 3px; }

@media (max-width: 980px) {
  nav.site-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding: 70px 0 82px; }
  .hero-card { width: min(570px, 100%); }
  .section-heading, .process-grid, .contact-panel { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { gap: 26px; }
  .process-grid { gap: 60px; }
  .contact-panel { gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 48px 0; }
  .footer-contact { grid-column: 2; }
}

@media (max-width: 640px) {
  .site-shell { width: min(100% - 32px, 1180px); }
  .header-inner { height: 72px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-name { font-size: 16px; }
  .brand-name em { font-size: 10px; }
  .header-cta { padding: 0 13px; min-height: 40px; }
  .hero-grid { min-height: 0; padding: 54px 0 66px; gap: 50px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 15px; }
  .button-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-facts div { min-width: 0; padding-right: 10px; margin-right: 10px; }
  .hero-facts strong { font-size: 16px; }
  .hero-facts span { font-size: 8px; line-height: 1.4; }
  .hero-card { padding: 34px 26px 30px; box-shadow: 12px 12px 0 rgba(22,62,50,.09); }
  .hero-card h2 { font-size: 29px; }
  .section { padding: 76px 0; }
  .section-heading h2, .local h2, .process h2, .contact h2 { font-size: 39px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .steps li { grid-template-columns: 44px 1fr; gap: 14px; }
  .contact-panel { width: 100%; padding: 56px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-wrap: wrap; gap: 12px 20px; padding: 18px 0; }
  .footer-bottom a { margin-left: 0; }
  .legal-content { width: calc(100% - 32px); }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .field-full, .contact-form .consent { grid-column: auto; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
