:root {
  --ink: #182328;
  --paper: #f4f7f6;
  --white: #ffffff;
  --teal: #0b4f52;
  --teal-bright: #68d7d2;
  --line: #cbd8d5;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--white);
  border-bottom: 1px solid rgba(24, 35, 40, 0.1);
}

.brand img {
  display: block;
  width: min(20rem, 55vw);
  height: auto;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.7rem;
}

.site-header nav a,
.site-footer nav a {
  text-decoration: none;
  font-weight: 650;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible { text-decoration: underline; text-underline-offset: 0.35em; }

.hero {
  position: relative;
  min-height: min(48rem, calc(100svh - 5.25rem));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #365f5b;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("titelbild-af.webp") 62% 22% / cover no-repeat;
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 31, 32, 0.88) 0%, rgba(7, 31, 32, 0.6) 42%, rgba(7, 31, 32, 0.05) 74%),
    linear-gradient(0deg, rgba(7, 31, 32, 0.55), transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(46rem, calc(100% - 3rem));
  margin: 0 max(1.5rem, calc((100vw - var(--max)) / 2));
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--teal); }

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

h1 { font-size: clamp(3.15rem, 7.8vw, 6.8rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.25rem, 4.3vw, 4rem); letter-spacing: -0.035em; }

.hero-copy > p:not(.eyebrow) {
  max-width: 39rem;
  margin: 1.6rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
}

.button-primary { color: var(--ink); background: var(--teal-bright); border-color: var(--teal-bright); }
.button-quiet { color: var(--white); background: rgba(7, 31, 32, 0.32); backdrop-filter: blur(8px); }
.button:hover,
.button:focus-visible { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }

.intro,
.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.intro-copy p { margin: 0 0 1.25rem; font-size: 1.15rem; }

.audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--ink);
  color: var(--white);
}

.audiences article {
  position: relative;
  min-height: 31rem;
  padding: clamp(3.5rem, 7vw, 7rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.audiences article:first-child { padding-right: clamp(2rem, 5vw, 5rem); }
.audiences article:last-child { padding-left: clamp(2rem, 5vw, 5rem); }
.audiences article.accent { color: var(--ink); background: var(--teal-bright); }
.audiences article p:not(.eyebrow) { max-width: 34rem; margin: 1.5rem 0 0; font-size: 1.1rem; }
.section-number { position: absolute; top: 2rem; right: 2rem; font-family: Georgia, serif; font-size: 4rem; opacity: 0.24; }

.text-link {
  width: fit-content;
  margin-top: 1.5rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.contact { grid-template-columns: 1.25fr 0.75fr 1fr; align-items: end; }
.contact address { font-style: normal; }
.contact-links { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-links a { font-weight: 750; text-underline-offset: 0.25em; }

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem max(1.5rem, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--teal);
}

.footer-brand { display: flex; flex-direction: column; }
.footer-brand span { font-family: Georgia, serif; font-size: 1.5rem; }
.footer-brand small { font-size: 0.82rem; opacity: 0.8; }

.links-page main { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 1.5rem; }
.links-page .page-lead { max-width: 48rem; margin-bottom: 3.5rem; }
.link-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.link-group { padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
.link-group:nth-child(odd) { padding-right: 3rem; border-right: 1px solid var(--line); }
.link-group:nth-child(even) { padding-left: 3rem; }
.link-group h2 { margin-bottom: 1rem; font-size: 2rem; }
.link-group ul { margin: 0; padding: 0; list-style: none; }
.link-group li + li { margin-top: 0.65rem; }
.link-group a { font-weight: 700; text-underline-offset: 0.28em; }

@media (max-width: 800px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .site-header nav { gap: 0.45rem 1.2rem; }
  .hero { min-height: 44rem; }
  .hero-media { background-position: 67% 25%; }
  .hero-shade { background: linear-gradient(90deg, rgba(7, 31, 32, 0.88), rgba(7, 31, 32, 0.25)); }
  .intro,
  .contact,
  .audiences,
  .link-groups { grid-template-columns: 1fr; }
  .audiences article { min-height: 25rem; padding: 4rem 1.5rem; }
  .audiences article:first-child,
  .audiences article:last-child { padding-left: 1.5rem; padding-right: 1.5rem; }
  .contact { align-items: start; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .link-group:nth-child(odd),
  .link-group:nth-child(even) { padding: 2rem 0; border-right: 0; }
}

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