#let set_simple_layout(doc) = {
  set page(
    paper: "a4",
    margin: (top: 25mm, bottom: 25mm, inside: 25mm, outside: 20mm),
    numbering: "1"
  )
  set text(font: "Helvetica", size: 11pt)
  set par(justify: true, leading: 14pt, first-line-indent: 4mm)
  set list(indent: 5mm, spacing: 1.5mm)
  set heading(numbering: "1.1.1", depth: 3)

  // Make headings visually distinct without extra boilerplate.
  show heading.where(level: 1): it => [
    #set text(size: 18pt, weight: "bold")
    
  ]
  show heading.where(level: 2): it => [
    #set text(size: 14pt, weight: "semibold")
    
  ]
  show heading.where(level: 3): it => [
    #set text(size: 12pt, weight: "bold")    
  ]
  doc
}

#let simple_title_page(title, author, date: none) = [
  #set page(numbering: none)
  #align(center)[
    #v(6cm)
    #text(size: 26pt, weight: "bold")[#title]
    #v(6mm)
    #text(size: 14pt, weight: "medium")[Autor: #author]
    #if date != none [
      #v(3mm)
      #text(size: 12pt)[Datum: #date]
    ]
  ]
]

#let simple_style = (
  layout: set_simple_layout,
  title_page: simple_title_page,
)
