/* Knop & Co Advokater – fælles stylesheet */

@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --bordeaux: #951c31;
  --bordeaux-dark: #7a1527;
  --grey: #838383;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e4e1de;
  --paper: #ffffff;
  --paper-soft: #f6f4f2;
  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--grey);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Samme baggrund som PowerPoint-forsiden (Rundetårn), let mørknet for læsbarhed af hvid tekst.
   Lagt på et fast lag, så den står stille ved scroll – også på mobil. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--grey);
  background-image:
    linear-gradient(rgba(35, 35, 35, 0.28), rgba(35, 35, 35, 0.38)),
    url("../img/baggrund.jpg");
  background-size: cover;
  background-position: center 30%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-underline-offset: 3px; }
a:hover { color: var(--bordeaux-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header: menu til venstre, logo til højre ---------- */
.site-header { padding: 28px 0 20px; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { flex: 0 0 auto; order: 2; }
.logo img { width: 230px; }

.nav { order: 1; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 30px; }
.nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav a:hover, .nav a:focus-visible { border-bottom-color: rgba(255,255,255,.7); color: #fff; }
.nav a[aria-current="page"] { border-bottom-color: #fff; }

main { flex: 1 0 auto; }

/* ---------- Forside ---------- */
.hero { padding: clamp(70px, 14vh, 160px) 0 clamp(60px, 10vh, 120px); color: #fff; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.24em; font-size: 13px; font-weight: 500;
  margin: 0 0 18px; color: rgba(255,255,255,.85);
}
.hero h1 {
  font-weight: 300;
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.12;
  margin: 0 0 24px;
  max-width: 15ch;
  text-wrap: balance;
}
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); font-weight: 300; max-width: 52ch; margin: 0 0 36px; color: rgba(255,255,255,.92); }

.btn {
  display: inline-block;
  background: var(--bordeaux);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13.5px;
  font-weight: 500;
  padding: 14px 26px;
  transition: background .2s;
}
.btn:hover { background: var(--bordeaux-dark); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.8); margin-left: 10px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-bottom: 80px; }
.tile {
  background: rgba(255,255,255,.95);
  padding: 34px 32px 30px;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  transition: background .2s;
}
.tile:hover { background: #fff; color: var(--ink); }
.tile h2 {
  margin: 0 0 10px; font-weight: 500; font-size: 15px;
  text-transform: uppercase; letter-spacing: .16em; color: var(--bordeaux);
}
.tile p { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.tile .more { margin-top: auto; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tile:hover .more { color: var(--bordeaux); }

/* ---------- Undersider: hvidt indholdspanel over baggrunden ---------- */
.page-head { color: #fff; padding: clamp(40px, 8vh, 90px) 0 36px; }
.page-head h1 { font-weight: 300; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.15; margin: 0 0 12px; }
.page-head p { margin: 0; max-width: 60ch; font-weight: 300; font-size: 18px; color: rgba(255,255,255,.92); }

.panel {
  background: rgba(255,255,255,.97);
  padding: clamp(28px, 5vw, 56px);
  margin-bottom: 80px;
}

/* Personer */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 44px 32px; }
.person .photo {
  aspect-ratio: 4 / 5;
  background: var(--paper-soft);
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: #c9c4bf; font-size: 46px; font-weight: 300; letter-spacing: .06em;
}
.person h2 { font-size: 20px; font-weight: 500; margin: 0; line-height: 1.3; }
.person .title { color: var(--bordeaux); text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 500; margin: 4px 0 10px; }
.person .areas { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.person .contact { font-size: 15px; margin: 0; line-height: 1.7; }
.person .contact a { color: var(--ink); text-decoration: none; }
.person .contact a:hover { color: var(--bordeaux); text-decoration: underline; }

/* Virksomhedsområder */
.areas-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.area { padding: 28px 0 30px; border-top: 1px solid var(--line); }
.area h2 { margin: 0 0 8px; font-size: 21px; font-weight: 500; color: var(--ink); }
.area h2::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--bordeaux); vertical-align: middle; margin-right: 12px; transform: translateY(-2px); }
.area p { margin: 0; color: var(--muted); font-size: 16px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.contact-grid h2 {
  margin: 0 0 14px; font-size: 14px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .16em; color: var(--bordeaux);
}
.contact-block { margin-bottom: 34px; }
.contact-block p { margin: 0; }
.big-line { font-size: 24px; font-weight: 300; line-height: 1.45; }
.big-line a { color: var(--ink); text-decoration: none; }
.big-line a:hover { color: var(--bordeaux); }
dl.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; font-size: 16px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
.map-card {
  background: var(--paper-soft); padding: 32px; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.map-card p { margin: 0; color: var(--muted); }

.draft-note {
  border-left: 3px solid var(--bordeaux); background: #fbf3f4;
  padding: 12px 16px; font-size: 14.5px; color: #5a3a40; margin: 0 0 36px;
}

/* ---------- Footer (som brevpapirets kontaktblok) ---------- */
.site-footer {
  background: rgba(30, 30, 30, .78);
  color: rgba(255,255,255,.82);
  font-size: 14px;
  letter-spacing: .06em;
  padding: 28px 0;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; }
.site-footer .wrap > span { text-transform: uppercase; }
.site-footer a { color: #fff; text-decoration: none; white-space: nowrap; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .sep { opacity: .4; margin: 0 8px; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .site-header .wrap { flex-direction: column-reverse; align-items: flex-end; gap: 20px; }
  .logo img { width: 180px; }
  .nav { align-self: stretch; }
  .nav ul { gap: 4px 20px; }
  .nav a { font-size: 12.5px; letter-spacing: .12em; }
  .btn-ghost { margin: 12px 0 0; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- Personer: to partnerprofiler ---------- */
.profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.profile { display: flex; flex-direction: column; }
.profile-photo { margin: 0 0 26px; background: var(--paper-soft); overflow: hidden; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.profile:hover .profile-photo img { transform: scale(1.02); }
.profile .title {
  color: var(--bordeaux); text-transform: uppercase; letter-spacing: .14em;
  font-size: 12.5px; font-weight: 500; margin: 0 0 6px;
}
.profile h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; line-height: 1.2; margin: 0 0 16px; }
.tags { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 13px; letter-spacing: .04em; color: var(--ink);
  border: 1px solid var(--line); padding: 4px 12px;
}
.profile-body > p { margin: 0 0 14px; color: #4a4a4a; font-size: 16.5px; }
.profile-contact { list-style: none; margin: 10px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.profile-contact li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 3px 0; }
.profile-contact span { color: var(--muted); }
.profile-contact a { color: var(--ink); text-decoration: none; }
.profile-contact a:hover { color: var(--bordeaux); text-decoration: underline; }
.profile-contact em { color: var(--muted); font-size: 13.5px; }

@media (max-width: 760px) {
  .profiles { grid-template-columns: 1fr; gap: 64px; }
}

/* ---------- Personer: oversigt ---------- */
.people-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.person-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.person-card:hover { color: var(--ink); }
.person-card:hover .profile-photo img { transform: scale(1.03); }
.person-card .title { color: var(--bordeaux); text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 500; margin: 0 0 6px; }
.person-card h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; line-height: 1.2; margin: 0 0 16px; }
.person-card .teaser { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.person-card .more { margin-top: auto; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.person-card:hover .more { color: var(--bordeaux); }
.person-card:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 6px; }

/* ---------- Profilside ---------- */
.crumbs { margin: 0; color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs .sep { margin: 0 10px; opacity: .5; }

.profile-page { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.profile-side .profile-photo { margin-bottom: 20px; }
.profile-side .profile-contact { margin: 0 0 20px; padding-top: 0; border-top: 0; }
.btn-block { display: block; text-align: center; }
.profile-main .title { color: var(--bordeaux); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 500; margin: 0 0 8px; }
.profile-main h1 { font-weight: 300; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; margin: 0 0 24px; }
.profile-bio p { font-size: 18px; line-height: 1.7; color: #3d3d3d; margin: 0 0 16px; max-width: 62ch; }
.section-label {
  margin: 40px 0 14px; font-size: 14px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .16em; color: var(--bordeaux);
}
.profile-areas { list-style: none; margin: 0; padding: 0; }
.profile-areas li { padding: 16px 0; border-top: 1px solid var(--line); }
.profile-areas li:last-child { border-bottom: 1px solid var(--line); }
.profile-areas h3 { margin: 0 0 4px; font-size: 18px; font-weight: 500; }
.profile-areas p { margin: 0; color: var(--muted); font-size: 16px; }
.profile-next {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
}
.profile-next a { color: var(--ink); text-decoration: none; }
.profile-next a:hover { color: var(--bordeaux); }

@media (max-width: 760px) {
  .people-overview { grid-template-columns: 1fr; gap: 64px; }
  .profile-page { grid-template-columns: 1fr; }
  .profile-side { max-width: 420px; }
}

/* Tre personer i oversigten */
.people-overview { grid-template-columns: repeat(3, 1fr); gap: 44px 36px; }
.people-overview .person-card h2 { font-size: clamp(22px, 2vw, 26px); }
@media (max-width: 960px) { .people-overview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .people-overview { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- Forside: landing ---------- */
body.home::before {
  background-image:
    linear-gradient(180deg, rgba(25,25,25,.30) 0%, rgba(25,25,25,.18) 40%, rgba(20,20,20,.62) 100%),
    url("../img/baggrund.jpg");
}
.home .site-header { padding-top: 34px; }
.home .logo img { width: clamp(200px, 24vw, 340px); }
.home .site-footer { display: none; }
.home main { display: flex; }

.landing { flex: 1; display: flex; color: #fff; }
.landing-inner {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: calc(100svh - 150px);
  padding-top: 8vh; padding-bottom: 32px;
}
.statement {
  margin: 0 0 clamp(28px, 4vh, 44px);
  font-weight: 300;
  font-size: clamp(46px, 8.6vw, 132px);
  line-height: .98;
  letter-spacing: -0.02em;
}
.statement .line { display: block; }
.statement .line:last-child { color: rgba(255,255,255,.78); }

.landing-sub {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.45);
  margin-bottom: clamp(48px, 9vh, 96px);
}
.landing-sub p { margin: 0; max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; line-height: 1.55; color: rgba(255,255,255,.92); }
.landing-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.landing-links a {
  color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: .16em;
  font-size: 13.5px; font-weight: 500; padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.5);
  transition: border-color .2s, padding .2s;
}
.landing-links a::after { content: " →"; }
.landing-links a:hover { color: #fff; border-bottom-color: #fff; }

.landing-bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.72);
}
.landing-bar a { color: rgba(255,255,255,.9); text-decoration: none; white-space: nowrap; }
.landing-bar a:hover { color: #fff; text-decoration: underline; }
.landing-bar .sep { margin: 0 10px; opacity: .55; }

@media (prefers-reduced-motion: no-preference) {
  .statement .line, .landing-sub, .landing-bar { opacity: 0; transform: translateY(14px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .statement .line:nth-child(2) { animation-delay: .12s; }
  .landing-sub { animation-delay: .3s; }
  .landing-bar { animation-delay: .45s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

@media (max-width: 720px) {
  .home .site-header .wrap { flex-direction: column-reverse; }
  .landing-inner { min-height: calc(100svh - 170px); padding-top: 12vh; }
  .landing-links { gap: 22px; flex-wrap: wrap; }
  .landing-bar { flex-direction: column; letter-spacing: .06em; font-size: 12px; }
}
.landing-bar b { font-weight: inherit; white-space: nowrap; }
@media (max-width: 720px) {
  .landing-bar b, .landing-bar a { display: block; white-space: normal; }
  .landing-bar .sep { display: none; }
  .landing-bar { gap: 14px; line-height: 1.7; }
}

/* Forside v2: firmaoplysninger nederst, tre-linjers overskrift */
.home .site-footer { display: block; background: rgba(20,20,20,.55); }
.landing-inner { min-height: calc(100svh - 230px); padding-bottom: 0; }
.landing-sub { margin-bottom: clamp(36px, 6vh, 64px); }
.statement { font-size: clamp(42px, 7.4vw, 112px); }
.statement .line:last-child { color: #fff; }
.statement .line-soft { color: rgba(255,255,255,.62) !important; }
@media (prefers-reduced-motion: no-preference) {
  .statement .line:nth-child(3) { animation-delay: .24s; }
}
@media (max-width: 720px) {
  .landing-inner { min-height: calc(100svh - 300px); }
}
.statement { font-size: clamp(40px, 6.2vw, 92px); line-height: 1.02; }

/* ---------- Bundlinje uden mørk bjælke (alle sider) ---------- */
.site-footer, .home .site-footer { background: transparent; padding: 0 0 28px; }
.site-footer .wrap { padding-top: 22px; position: relative; }
.site-footer .wrap::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid rgba(255,255,255,.35);
}
.site-footer { color: rgba(255,255,255,.8); }

/* ---------- Mørkt format (Personer + profiler) som forsiden ---------- */
body.dark::before {
  background-image:
    linear-gradient(180deg, rgba(25,25,25,.34) 0%, rgba(25,25,25,.42) 50%, rgba(20,20,20,.62) 100%),
    url("../img/baggrund.jpg");
}
.dark { color: #fff; }
.intro { padding-top: clamp(48px, 10vh, 120px); color: #fff; }
.intro .statement { margin-bottom: 28px; }
.intro .landing-sub { margin-bottom: clamp(40px, 6vh, 64px); }

.dark .panel { background: transparent; padding: 0; margin-bottom: 72px; }
.dark .draft-note { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); border-left-color: rgba(255,255,255,.6); }

/* Oversigt */
.dark .people-overview { margin-bottom: 80px; }
.dark .person-card, .dark .person-card:hover { color: #fff; }
.dark .profile-photo { background: rgba(255,255,255,.06); }
.dark .person-card .title, .dark .profile-main .title { color: rgba(255,255,255,.7); }
.dark .person-card .teaser { color: rgba(255,255,255,.82); }
.dark .person-card .more { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); align-self: flex-start; padding-bottom: 6px; font-weight: 500; }
.dark .person-card:hover .more { color: #fff; border-bottom-color: #fff; }
.dark .tags li { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.4); }
.dark .person-card:focus-visible { outline-color: #fff; }

/* Profilside */
.dark .crumbs { padding-top: clamp(24px, 5vh, 56px); }
.dark .page-head { padding-bottom: 28px; }
.dark .profile-main h1 { font-size: clamp(36px, 4.6vw, 64px); }
.dark .profile-bio p { color: rgba(255,255,255,.9); }
.dark .section-label { color: rgba(255,255,255,.7); }
.dark .profile-areas li { border-color: rgba(255,255,255,.3); }
.dark .profile-areas p { color: rgba(255,255,255,.75); }
.dark dl.facts dt { color: rgba(255,255,255,.6); }
.dark .profile-contact span { color: rgba(255,255,255,.6); }
.dark .profile-contact a, .dark .profile-contact em { color: #fff; }
.dark .profile-contact em { opacity: .7; }
.dark .profile-next { border-top-color: rgba(255,255,255,.35); }
.dark .profile-next a { color: #fff; }
.dark .profile-next a:hover { color: #fff; text-decoration: underline; }

/* ---------- Profilside v2: flydende, uden linjer ---------- */
.profile-flow {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px);
  align-items: end; padding-top: clamp(32px, 7vh, 90px); color: #fff;
}
.profile-text { padding-bottom: 24px; }
.profile-flow .crumbs { padding-top: 0; margin-bottom: 22px; font-size: 13px; color: rgba(255,255,255,.7); }
.profile-name { font-size: clamp(42px, 5.6vw, 84px); margin: 0 0 30px; }
.profile-lead p { margin: 0 0 16px; max-width: 54ch; font-size: clamp(17px, 1.35vw, 20px); font-weight: 300; line-height: 1.6; color: rgba(255,255,255,.92); }
.profile-meta { margin: 6px 0 0; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.profile-meta .sep { margin: 0 10px; opacity: .55; }
.flow-label { margin: 36px 0 8px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.flow-areas { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: clamp(20px, 2vw, 28px); font-weight: 300; }
.flow-areas li:not(:last-child)::after { content: "·"; margin: 0 14px; opacity: .5; }
.profile-links { margin-bottom: 28px; }
.profile-links a::after { content: " →"; }
.flow-note { margin: 0; font-size: 13px; color: rgba(255,255,255,.55); font-style: italic; max-width: 60ch; }

.portrait-soft { margin: 0; position: relative; }
.portrait-soft img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  opacity: .96;
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 42%, #000 52%, rgba(0,0,0,.6) 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 72% at 50% 42%, #000 52%, rgba(0,0,0,.6) 70%, transparent 100%);
}

.flow-next {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin: clamp(40px, 7vh, 80px) auto 56px;
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
}
.flow-next a { color: rgba(255,255,255,.85); text-decoration: none; }
.flow-next a:hover { color: #fff; text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .profile-text > *, .portrait-soft { opacity: 0; transform: translateY(12px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .profile-name { animation-delay: .08s !important; }
  .profile-lead { animation-delay: .18s !important; }
  .portrait-soft { animation-delay: .1s; animation-duration: 1.4s; }
  .profile-text > *:nth-child(n+4) { animation-delay: .3s; }
}

@media (max-width: 820px) {
  .profile-flow { grid-template-columns: 1fr; }
  .portrait-soft { order: -1; max-width: 360px; margin: 0 auto -40px; }
}
.profile-flow { grid-template-columns: 1.25fr .75fr; align-items: center; }
.profile-name { font-size: clamp(40px, 4.4vw, 66px); line-height: 1.04; }
.portrait-soft img {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 45%, rgba(0,0,0,.55) 72%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 45%, rgba(0,0,0,.55) 72%, transparent 100%);
  filter: brightness(.94) contrast(1.04);
}
@media (max-width: 820px) {
  .profile-flow { grid-template-columns: 1fr; padding-top: 12px; }
  .portrait-soft { order: -1; width: 78%; max-width: 360px; margin: 0 auto -48px; }
  .profile-text { padding-bottom: 0; }
  .flow-areas { font-size: 21px; }
  .profile-links { flex-direction: column; gap: 18px; align-items: flex-start; }
}
/* Bløde billedkanter i oversigten */
.dark .person-card .profile-photo { background: transparent; overflow: visible; margin-bottom: 8px; }
.dark .person-card .profile-photo img {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 48%, rgba(0,0,0,.55) 74%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 48%, rgba(0,0,0,.55) 74%, transparent 100%);
  filter: brightness(.95) contrast(1.04);
}
.dark .person-card:hover .profile-photo img { transform: scale(1.02); }

/* ---------- Om os / Områder / Kontakt i flydende format ---------- */
.story { color: #fff; margin-bottom: clamp(48px, 8vh, 88px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 96px); }
.story-lead { margin: 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 300; line-height: 1.5; color: rgba(255,255,255,.92); max-width: 36ch; }

.milestones { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(24px, 4vw, 64px); }
.milestones .year { display: block; font-size: clamp(56px, 7vw, 104px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; margin-bottom: 14px; }
.milestones li:nth-child(2) .year { color: rgba(255,255,255,.8); }
.milestones li:nth-child(3) .year { color: rgba(255,255,255,.62); }
.milestones p { margin: 0; font-size: 17px; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,.88); max-width: 30ch; }

.house-title { margin: 0 0 32px; font-weight: 300; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.01em; }
.house-title span { color: rgba(255,255,255,.62); }
.house-text { columns: 2 320px; column-gap: clamp(32px, 5vw, 72px); }
.house-text p { margin: 0 0 18px; font-size: 17px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.88); break-inside: avoid; }
.house-text .source { font-size: 13px; font-style: italic; color: rgba(255,255,255,.55); }

.core-title { margin: 0 0 14px; font-weight: 300; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; }
.big-areas { font-size: clamp(24px, 2.8vw, 40px); line-height: 1.35; gap: 6px 0; margin-bottom: 0; }
.big-areas li:nth-child(even) { color: rgba(255,255,255,.72); }

.contact-big { margin: 0 0 22px; font-size: clamp(26px, 3vw, 42px); font-weight: 300; line-height: 1.3; }
.contact-big a { color: #fff; text-decoration: none; }
.contact-big a:hover { text-decoration: underline; }
.contact-flow .landing-links a::after { content: " →"; }
.story .landing-links a::after { content: " →"; }
.profile-meta em { text-transform: none; letter-spacing: 0; opacity: .7; }

@media (max-width: 760px) {
  .two-col, .milestones { grid-template-columns: 1fr; }
  .landing-links { flex-wrap: wrap; }
}

/* Personer-oversigt: kun kontakt under hver person */
.person-card .card-link { color: inherit; text-decoration: none; display: block; }
.person-card .card-link:hover h2 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.card-contact { list-style: none; margin: 4px 0 22px; padding: 0; font-size: 16px; line-height: 1.8; }
.card-contact li { display: grid; grid-template-columns: 72px 1fr; gap: 10px; }
.card-contact span { color: rgba(255,255,255,.6); font-size: 14px; }
.card-contact a { color: #fff; text-decoration: none; white-space: nowrap; }
.card-contact a:hover { text-decoration: underline; }
.dark .person-card .more { margin-top: auto; text-decoration: none; }
.profile-contact-flow .card-contact { font-size: clamp(18px, 1.5vw, 21px); font-weight: 300; margin: 0 0 30px; }
.profile-contact-flow .card-contact li { grid-template-columns: 90px 1fr; }
.profile-contact-flow .card-contact span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; align-self: center; }

/* Hverv på profilside */
.hverv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin: 0 0 40px; }
.hverv ul { list-style: none; margin: 0; padding: 0; }
.hverv li { font-size: 15.5px; font-weight: 300; line-height: 1.55; color: rgba(255,255,255,.88); padding: 4px 0; }
@media (max-width: 820px) { .hverv { grid-template-columns: 1fr; } }
.profile-flow { align-items: start; }
.portrait-soft { position: sticky; top: 40px; margin-top: 40px; }
.hverv-wrap { color: #fff; margin-top: clamp(24px, 5vh, 56px); }
.hverv { margin: 0; gap: 24px clamp(32px, 6vw, 96px); }
.hverv li { font-size: 16px; }
@media (max-width: 820px) { .portrait-soft { position: static; margin-top: 0; } }

/* Godt at vide */
.assurances { list-style: none; margin: 4px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px clamp(24px, 4vw, 64px); }
.assurances li { font-size: clamp(18px, 1.5vw, 22px); font-weight: 300; line-height: 1.5; color: rgba(255,255,255,.92); }
@media (max-width: 860px) { .assurances { grid-template-columns: 1fr; } }

/* Privatlivspolitik */
.legal { max-width: 74ch; }
.legal h2 { font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; margin: 48px 0 14px; color: #fff; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-weight: 500; font-size: 17px; margin: 28px 0 8px; color: #fff; }
.legal p, .legal li { font-size: 16.5px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.9); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal strong { font-weight: 500; }
.legal a { color: #fff; }
.legal-address { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.4); }
/* fire årstal + mindre, ens husoverskrift */
.milestones { grid-template-columns: repeat(4, 1fr); }
.milestones .year { font-size: clamp(48px, 5.6vw, 84px); }
.milestones li:nth-child(2) .year { color: rgba(255,255,255,.85); }
.milestones li:nth-child(3) .year { color: rgba(255,255,255,.72); }
.milestones li:nth-child(4) .year { color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .milestones { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .milestones { grid-template-columns: 1fr; } }
.house-title { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; margin-bottom: 24px; }
.house-title span { color: #fff; }

/* ---------- Ensartet baggrund på alle sider ---------- */
body::before, body.home::before, body.dark::before {
  background-color: #6e6e6e;
  background-image:
    linear-gradient(180deg, rgba(25,25,25,.32) 0%, rgba(25,25,25,.34) 45%, rgba(20,20,20,.62) 100%),
    url("../img/baggrund.jpg");
  background-size: cover;
  background-position: center 30%;
}
html { background-color: #3a3a3a; }

/* ---------- Bundlinje på én linje ---------- */
.site-footer { font-size: 12.5px; letter-spacing: .05em; }
.site-footer .wrap { flex-wrap: nowrap; gap: 24px; }
.site-footer .wrap > span { white-space: nowrap; }
.site-footer .sep { margin: 0 7px; }
@media (max-width: 1080px) {
  .site-footer .wrap { flex-wrap: wrap; flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-footer .wrap > span { white-space: normal; }
}
/* Rettelse: bundfarve på html, gennemsigtig body, så Rundetårn-laget ses */
html { background-color: #5a5a5a; }
body { background-color: transparent; }
.assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
@media (max-width: 860px) { .assurances { grid-template-columns: 1fr; } }

/* Fotokreditering */
.photo-credit {
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55); text-align: right; margin-top: -6px; padding-right: 8%;
}
.person-card .photo-credit { margin: -4px 0 14px; }

/* ---------- Sprogvælger ---------- */
.nav li.lang { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.nav li.lang a { display: inline-flex; padding: 4px 0; border-bottom: 1px solid transparent; opacity: .55; transition: opacity .2s; }
.nav li.lang a:hover, .nav li.lang a[aria-current] { opacity: 1; }
.nav li.lang a[aria-current] { border-bottom-color: #fff; }
.nav li.lang svg { display: block; border-radius: 1px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 720px) { .nav li.lang { margin-left: 0; } }
/* Plads til sprogvælger i menuen */
.nav ul { gap: 6px 26px; }
.home .logo img { width: clamp(200px, 21vw, 300px); }
@media (min-width: 1081px) and (max-width: 1220px) {
  .site-footer { font-size: 12px; letter-spacing: .03em; }
  .site-footer .sep { margin: 0 5px; }
}
