:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --surface: #f7f4ee;
  --ink: #12151c;
  --soft: #2c3340;
  --line: #cfc7b8;
  --navy: #152a46;
  --navy-deep: #0e1d33;
  --gold: #9a7a4a;
  --on: #f7f4ee;
  --band: #152a46;
  --band-ink: #f7f4ee;
  --band-soft: #d7e0ec;
  --focus: #152a46;
  --page: min(1120px, calc(100% - 2.5rem));
  --measure: 58ch;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active, .phone-link:active { transform: none; }
}

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

::selection {
  background: color-mix(in srgb, var(--gold) 40%, transparent);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 40;
  background: var(--band);
  color: var(--band-ink);
  padding: 0.5rem 0.8rem;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.mast-inner {
  width: var(--page);
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: grid;
  line-height: 1.15;
}

.brand strong {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand span {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--gold);
}

.phone-link {
  text-decoration: none;
  color: var(--navy);
  font-weight: 650;
  font-size: 0.92rem;
  white-space: nowrap;
}

.phone-link:active,
.btn:active {
  transform: scale(0.97);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  height: 40px;
  padding: 0 0.8rem;
  font: inherit;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  background: #1a1f2b;
}

.hero-photo {
  margin: 0;
  height: calc(100svh - 72px);
  min-height: 520px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 28%;
}

.hero-ident {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1.25rem, 6vw, 5rem);
  background: linear-gradient(transparent, color-mix(in srgb, #12151c 78%, transparent));
  color: #f7f4ee;
  text-align: right;
}

.hero-name {
  margin: 0;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.hero-role {
  margin: 0.7rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, #f7f4ee 82%, var(--gold));
}

.wrap {
  width: var(--page);
  margin-inline: auto;
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.about-copy {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.about-copy h1,
.action h2,
.mandat h2,
.contact h2 {
  margin: 0 0 1.4rem;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.about-copy blockquote {
  margin: 0 0 1.5rem;
  padding: 0 0 1.2rem;
  border-bottom: 1px solid var(--gold);
}

.about-copy blockquote p {
  margin: 0;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.35;
  font-style: italic;
}

.about-copy > p,
.intro,
.mandat p,
.contact p {
  margin: 0 0 1rem;
  max-width: var(--measure);
  color: var(--soft);
}

.about-media {
  margin: 0;
  background: #ece7dc;
  min-height: 560px;
  position: relative;
}

.about-media picture,
.about-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.about-media img {
  object-fit: cover;
  object-position: 50% 18%;
  min-height: 560px;
}

.register,
.prio-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.register li,
.prio-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.register li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem 1.4rem;
}

.register .when,
.prio-list strong {
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.prio-list strong {
  display: block;
  font-size: 0.95rem;
}

.prio-list span,
.register .what {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink);
}

.action {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: #fff;
  color: #12151c;
  border-bottom: 1px solid var(--line);
}

.action h2 {
  color: #12151c;
}

.action .intro {
  color: #2c3340;
}

.action .prio-list {
  border-top-color: #12151c;
}

.action .prio-list strong {
  color: #152a46;
}

.action .prio-list span {
  color: #12151c;
}

.action .prio-list li {
  border-bottom-color: #cfc7b8;
}

.mandat {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--band);
  color: var(--band-ink);
}

.mandat h2 {
  color: var(--band-ink);
}

.mandat p {
  color: var(--band-soft);
}

.mandat .score {
  margin: 1.6rem 0 0;
  max-width: none;
  font-size: 1.05rem;
  color: var(--band-ink);
}

.mandat .score b {
  display: block;
  font-size: clamp(3.4rem, 8vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.contact {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
  background: var(--paper);
}

.narrow {
  max-width: 40rem;
}

.contact .intro,
.contact p {
  margin-inline: auto;
}

.big-phone {
  display: inline-block;
  margin: 0.6rem 0 0.8rem;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.mail-line a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.mail-line a:hover {
  text-decoration: underline;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border: 1px solid var(--navy);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.btn-primary {
  background: var(--band);
  color: var(--band-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: color-mix(in srgb, var(--band) 82%, #000);
  }
  .btn-ghost:hover {
    border-color: var(--navy);
  }
}

.site-footer {
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--soft);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--soft);
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.4rem 1.25rem 0.8rem;
    gap: 0;
  }

  .nav.open { display: flex; }

  .nav a {
    height: 44px;
    display: flex;
    align-items: center;
  }

  .menu-toggle { display: inline-grid; margin-left: auto; }

  .phone-link { display: none; }

  .about,
  .register li {
    grid-template-columns: 1fr;
  }

  .about-media { min-height: 420px; }
  .about-media img { min-height: 420px; }

  .hero-photo { min-height: 70svh; height: 70svh; }
  .hero-photo img { object-position: 18% 22%; }
  .hero-ident { text-align: left; }

  .action,
  .contact { text-align: left; }

  .hero-actions { justify-content: flex-start; }
}

@media print {
  .mast, .menu-toggle, .hero-actions { display: none !important; }
  .hero-photo { height: 12cm; min-height: 0; }
}
