@charset "utf-8";

:root {
  /* Base font size */
  --font-size-base: 16px;

  /* Type scale tokens */
  --font-size-xs: clamp(0.375rem, 0.179rem + 0.87vw, 0.875rem);
  --line-height-xs: 1.6;
  --font-size-s: clamp(0.5rem, 0.255rem + 1.087vw, 1.125rem);
  --line-height-s: 1.6;
  --font-size-r: clamp(0.688rem, 0.443rem + 1.087vw, 1.313rem);
  --line-height-r: 1.6;
  --font-size-m: clamp(0.75rem, 0.359rem + 1.739vw, 1.75rem);
  --line-height-m: 1.55;
  --font-size-l: clamp(0.938rem, 0.448rem + 2.174vw, 2.188rem);
  --line-height-l: 1.49;
  --font-size-xl: clamp(1.188rem, 0.576rem + 2.717vw, 2.75rem);
  --line-height-xl: 1.41;

  --red: #a91b00;
}

/* Utility classes */

.text-xs {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xs);
}

.text-s {
  font-size: var(--font-size-s);
  line-height: var(--line-height-s);
}

.text-r {
  font-size: var(--font-size-r);
  line-height: var(--line-height-r); /* Standard-Schrift */
}

.text-m {
  font-size: var(--font-size-m);
  line-height: var(--line-height-m); /* Schriftgröße für h3 */
}

.text-l {
  font-size: var(--font-size-l);
  line-height: var(--line-height-l); /* Schriftgröße für h2 */
}

.text-xl {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl); /* Schriftgröße für h1 */
}

/* Utility classes - Ende */

/* Schriftformatierung - Anfang */

h1,
h2,
h3,
h4 {
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #000; 
}

h2, h3, h4 { color: var(--red);}

.title {
  color: #2b2b2b;
}

h1 {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl);
}

h2 {
  font-size: var(--font-size-l);
  line-height: var(--line-height-l);
}

h3 {
  font-size: var(--font-size-m);
  line-height: var(--line-height-m);
}

h4 {
  font-size: var(--font-size-r);
  line-height: var(--line-height-r);
  font-style: italic;
}

.big {
  font-size:  200%;
  color: var(--red);
}

.first {
    font-size: var(--font-size-m);
}

.red {
    color: var(--red)
}

/* zur demo auf Presse-Seite */
.green {
  color:chartreuse;
  font-style: italic;
}

/* demo ende */

.kursiv {
  font-style: italic;
}

.none {
    list-style-type: none;
}

.center {
  text-align: center;
}

.absatz {
  margin-bottom: 2rem;
}

.bold {
  font-weight: 600;
}

/*.marker {
  background-color: yellow;
}*/

/* Schriftformatierung - Ende */

/* Allgemeine Seitenformatierungen - Anfang */

* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  max-width: 80rem;
  margin: 0 auto;
  background-color: #fff;
  color: #2b2b2b;
  font-size: var(--font-size-r);
  line-height: var(--line-height-r); 
}

main {
  padding: 2rem;
  flex: 1;
}

.wrapper {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
}

.hero {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
}

.data {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items:flex-start;
  gap: 2rem;
  padding-bottom: 2rem
}

.grid-container {
    width:100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    padding: 10px;
}

.card {
    padding: 0.5rem 1rem;
    border: 2px solid var(--red);
    border-radius: 1rem;
    background-color: #fff;
    text-align: left;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: minmax(0, 1fr);
}

/*.card-none{
    padding: 0.5rem 0rem;
    background-color: #fff;
    text-align: left;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: minmax(0, 1fr);
}

.card-none-r {
    padding: 0.5rem 0rem;
    background-color: #fff;
    text-align: right;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: minmax(0, 1fr);
} */

section ul {
  display: block;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

section li {
  list-style-type: disc;
  margin-bottom: 1rem;
}

section ul li::marker {
  color: var(--red);
}

section ul ul li {
    list-style-type: circle;
}

section ul ul li::marker {
    color: #000;
}

section img {
  border: 1px solid var(--red);
  margin-bottom: 1rem;
  border-radius: 1rem;
}

.black {
  border: 1px solid  #2b2b2b;
}

.none {
  border: none;
  margin-top: .75rem;
  border-radius: 1rem;
}

/*.portrait {
  display: flex;
  align-items: start;
  justify-content: right;
  margin-right: 2rem;
  margin-bottom: 0rem;
}*/

.portrait {
  margin-right: 2rem;
  text-align: right;
}

.move {
  padding: 0rem 2rem;
}

.move ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Allgemeine Seitenformatierungen - Ende */

/* Navigation - Anfang */

nav {
  margin-top: 0;
  padding: 1.5rem 1.5rem;
  color: var(--red);
  background: #f9f9f9;
  border-radius: 0 0 1rem 1rem;
  /* border: 1px solid var(--red); */
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center; /* horizontal zentriert 06.04. */
  @media (width <= calc(600 / 16 * 1rem)) {
        gap: 0.5rem;
      } /* Ergänzung 14.06.*/
}

nav ul li:first-child {
    margin-right: auto;
}

nav ul li a {
  color: var(--red);
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline 2px;
}

nav ul li a.current {
    text-decoration: underline 2px;
}

.sup-nav {
  background-color: #f9f9f9;
  display: block;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--red);
}

.sup-nav p {
  padding-bottom: .5rem;
}

/* Navigation - Ende */

/* Links im Text - Anfang */

a:link {
  color: var(--red);
  text-decoration: underline;
}

a:visited {
  color: #2b2b2b;
}

a:hover {
  color: var(--red);
  text-decoration: underline 2px;
}

a:active {
  color: #2b2b2b;
  text-decoration: underline 2px;
}

.noneline {
  text-decoration: none;
}

/* dl.termin {margin: 0 0;}
dt {width: 15%; float: left; clear: left; font-weight:normal; padding: .5em 0;}
dd {padding: .5em 0; margin-left: 20%;}
dd.termin:after {content: "."; display: block; clear: left; height: 0; visibility: hidden;} */

dd {
  margin-bottom: .5rem;
}

/* Links im Text - Ende */

/* Footer - Anfang */

footer {
  margin-top: 1.5rem;
  padding: 1.5rem 1.5rem;
  color: #000;
  background: #f9f9f9;
  position: relative;
  border-radius: 1rem 1rem 0 0;
}

footer ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* Footer - Ende */

@media print {
  .no-print {
    display: none;
  }
}