/*
 * Globale Gestaltung: Schriften, Farben, Abstände und Grundelemente
 * ANTRILOPE – unabhängig von Joomla
 */

/*
 * Montserrat: vorrangig lokal, sofern eine lizenzierte WOFF2-Datei vorliegt.
 * Falls diese fehlt, lädt assets/script.js die Google-Fonts-Stylesheet-Datei.
 * Den Datenschutz-Hinweis zu extern geladenen Schriften beachten.
 */
@font-face {
  font-family: Montserrat;
  src: local('Montserrat'), local('Montserrat Regular'),
       url('../assets/schriften/Montserrat-VariableFont_wght.ttf') ;
	   /* url('../assets/schriften/Montserrat-Variable.woff2') format('woff2');  */
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

/* Farben und zentrale Layoutwerte */

:root {
  --bg: #191919;
  --bg2: #222;
  --fg: #efefef;
  --muted: #a5a5a5;
  --line: #494949;
  --max: 1180px; /* Breitere Bildschirme: kompaktere Inhaltsbreite */
  --serif: Georgia,serif;
}

/* Allgemeine Grundregeln */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: Montserrat,'Helvetica Neue',Arial,sans-serif;
  font-weight: 400;
  line-height: 1.65;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

button {
  border-radius: 0;
}

/* Seitenbreite und Tastaturzugänglichkeit */

.wrap {
  width: min(var(--max),calc(100% - 112px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 100;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: #fff;
  color: #111;
}

.skip:focus {
  top: 15px;
}

main {
  flex: 1;
}

/* Gemeinsame Inhalte, Seitenüberschriften und Abstände */

.inner {
  padding-bottom: 95px;
}

.page-heading {
  margin: 33px 0 44px;
}

.kicker {
  display: block;
  color: #9f9f9f;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
}

.page-heading h1,
.article-head h1 {
  font-size: clamp(38px,4.1vw,66px);
  line-height: 1.17;
  letter-spacing: .035em;
  font-weight: 300;
  margin: 17px 0 15px;
}

.page-heading p {
  font-size: 13px;
  color: #9a9a9a;
  letter-spacing: .035em;
  margin: 0;
}
