/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }
  :root {
  /* Farbvariablen */
  --primary-color: #2c4143; /* Hauptfarbe für Überschriften und Links */
  --secondary-color: #4a4a4a; /* Sekundärfarbe für Texte */
  --accent-color: #62be6a; /* Akzentfarbe für Hover-Effekte */
  --blockquote-border-color: #2c4143; /* Farbe für die Blockzitat-Grenze */
  --blockquote-bg-color: #f9f9f9; /* Hintergrundfarbe für Blockzitate */
  --hover-color: #4a9e51; /* Hover-Farbe für Links */

  /* Spacing-Variablen */
  --spacing-xs: 0.5rem; /* Kleinster Abstand */
  --spacing-sm: 1rem; /* Kleiner Abstand */
  --spacing-md: 1.5rem; /* Mittelgroßer Abstand */
  --spacing-lg: 2rem; /* Großer Abstand */
  --spacing-xl: 3rem; /* Sehr großer Abstand */

  --roundness: 8px; /* Rundungsradius für abgerundete Ecken */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: auto;
  overflow-x: hidden;
  scroll-behavior: auto !important; /* optional */
}

body {
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: #f2f2f1; /* Sanfter Hintergrund für Lesbarkeit */
}

body > header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem 0;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.2rem;
}

body > main {
  padding-top: 64px;
}

body > footer {
  padding: 1.2rem 0;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Custom */
.wrapper {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}

.flex-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.grid {
  display: grid;
  gap: 16px;
}

.square {
  aspect-ratio: 1 / 1; /* Höhe = Breite */
}

.ellipsis {
  height: 300px; 
  white-space: nowrap;          /* Verhindert, dass der Text umbricht */
  overflow: hidden;             /* Verhindert, dass der Text über den Container hinausläuft */
  text-overflow: ellipsis;      /* Fügt die Ellipsen '...' am Ende des abgeschnittenen Texts hinzu */
}

.no-select {
  user-select: none; /* Verhindert die Textauswahl */
}

.anchor {
  position: absolute;
  top: -128px; /* Höhe des Headers */
  visibility: hidden; /* Unsichtbar, aber im Layout vorhanden */
}

.box-shadow {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.text-shadow-small {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

img {
  line-height: 0;
}

/* Stile für section */
section {
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md);
}

/* Stile für article */
article {
  margin: var(--spacing-md) 0;
  padding: 1.2rem;
}

/* Stile für aside */
aside {
  margin: var(--spacing-sm) 0;
  padding: var(--spacing-sm);
}

/* Header innerhalb von section oder article */
section > header, article > header {
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-xs);
  border-bottom: 1px solid #dcdcdc;
}

/* Stile für header innerhalb von aside */
aside > header {
  margin-bottom: var(--spacing-sm); /* Abstand nach unten */
  padding-bottom: var(--spacing-xs); /* Innenabstand */
  border-bottom: 1px solid var(--accent-color); /* Trennlinie in Akzentfarbe */
  font-family: 'Lato', sans-serif; /* Gleiche Schrift wie Überschriften */
  color: var(--primary-color); /* Hauptfarbe */
}

/* Main innerhalb von section oder article */
section > main, article > main {
  padding: var(--spacing-sm) 0;
}

/* Stile für main innerhalb von aside */
aside > main {
  padding: var(--spacing-sm) 0; /* Vertikaler Innenabstand */
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-color); /* Textfarbe */
}

/* Footer innerhalb von section oder article */
section > footer, article > footer {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-sm);
  border-top: 1px solid #dcdcdc;
  text-align: right;
  color: var(--secondary-color);
  font-size: 0.875rem;
}

/* Stile für footer innerhalb von aside */
aside > footer {
  margin-top: var(--spacing-sm); /* Abstand nach oben */
  padding-top: var(--spacing-xs); /* Innenabstand */
  border-top: 1px solid var(--accent-color); /* Trennlinie in Akzentfarbe */
  text-align: right; /* Inhalte rechts ausrichten */
  font-size: 0.875rem; /* Kleinere Schriftgröße */
  color: var(--secondary-color); /* Sekundärfarbe */
}

/* Allgemeine Stile für Überschriften */
h1, h2, h3, h4, h5, h6 {
  position: relative;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.3; /* Optimiert die Lesbarkeit */
  max-width: 40ch;
}

/* Standardgrößen (Desktop-Basis) */
h1 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

h4 {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
}

h5 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

h6 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

/* Subheadlines */
.subh1, .subh2, .subh3, .subh4, .subh5, .subh6 {
  position: relative;
  font-family: 'Lato', sans-serif;
  font-weight: 500; /* Weniger fett als die Hauptheadlines */
  color: var(--secondary-color); /* Sekundärfarbe, um sie abzusetzen */
  margin: 0;
  line-height: 1.4;
  text-transform: uppercase; /* Optional: Für Subheadlines */
  letter-spacing: 0.05rem; /* Etwas großzügigerer Abstand */
  max-width: 70ch;
}

/* Subheadline Größen (Desktop-Basis) */
.subh1 {
  font-size: 2rem; /* Kleiner als h1 */
  margin-bottom: var(--spacing-sm);
}

.subh2 {
  font-size: 1.75rem; /* Kleiner als h2 */
  margin-bottom: 0.9rem;
}

.subh3 {
  font-size: 1.5rem; /* Kleiner als h3 */
  margin-bottom: 0.8rem;
}

.subh4 {
  font-size: 1.25rem; /* Kleiner als h4 */
  margin-bottom: 0.7rem;
}

.subh5 {
  font-size: 1.125rem; /* Kleiner als h5 */
  margin-bottom: 0.6rem;
}

.subh6 {
  font-size: 1rem; /* Kleiner als h6 */
  margin-bottom: var(--spacing-xs);
}

/* Allgemeine Stile für Absätze */
p {
  width: 100%;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
  max-width: 70ch;
}

hr {
  width: 100%;
  border: none;
  border-top: 3px solid var(--accent-color);
  margin: var(--spacing-md) 0;
}

article + hr, aside + hr {
  margin-top: 96px;
}

span {
  display: inline; /* Standardwert für ein Inline-Element */
  font-family: inherit; /* Übernimmt die Schriftart des Elternelements */
  font-size: inherit; /* Übernimmt die Schriftgröße des Elternelements */
  line-height: inherit; /* Passt die Zeilenhöhe an den Kontext an */
  color: inherit; /* Übernimmt die Textfarbe des Elternelements */
  background-color: transparent; /* Keine Hintergrundfarbe, falls nicht anders definiert */
  border: none; /* Kein Rahmen */
  padding: 0; /* Kein Innenabstand */
  margin: 0; /* Kein Außenabstand */
  text-decoration: inherit; /* Erbt Textdekoration wie Unterstreichung */
  vertical-align: baseline; /* Standardmäßige vertikale Ausrichtung */
}

/* Allgemeine Stile für Listen */
ul, ol {
  margin: var(--spacing-sm) 0;
  padding-left: var(--spacing-md);
  color: var(--secondary-color);
  line-height: 1.6;
}

li {
  margin-bottom: var(--spacing-xs);
  max-width: 70ch;
}

ul li {
  list-style-type: disc;
}

ol li {
  list-style-type: decimal;
}

/* Stile für Blockzitate */
blockquote {
  font-family: 'Georgia', serif;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--secondary-color);
  border-left: 4px solid var(--blockquote-border-color);
  padding: var(--spacing-xs) var(--spacing-sm);
  margin: var(--spacing-md) 0;
  background: var(--blockquote-bg-color);
}

/* Links */
a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--hover-color);
  text-decoration: underline;
}

/* Buttons */
button, .button {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  padding: 10px 20px;
  border: 3px solid #ffffff;
  border-radius: 30px;
  cursor: pointer;
  background-color: var(--primary-color);
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 0.9; 
  height: 44px;
}

button:hover, .button:hover {
  background-color: var(--accent-color);
}

/* Responsive Anpassungen */
/* Kleine Geräte: Smartphones und kleine Tablets (bis 768px Breite) */
@media (max-width: 768px) {
  section, article {
      padding: var(--spacing-sm);
  }

  aside {
      margin: var(--spacing-xs) 0;
      padding: 0.8rem;
  }

  aside > main {
      padding: 0.8rem 0;
  }

  aside > footer {
      text-align: center; /* Zentrierte Ausrichtung bei kleineren Geräten */
  }

  section > footer, article > footer {
      text-align: center;
  }

  h1 {
      font-size: 2.25rem;
      margin-bottom: var(--spacing-sm);
  }

  h2 {
      font-size: 2rem;
      margin-bottom: 0.8rem;
  }

  h3 {
      font-size: 1.75rem;
      margin-bottom: 0.7rem;
  }

  h4 {
      font-size: 1.5rem;
      margin-bottom: 0.6rem;
  }

  h5 {
      font-size: 1.25rem;
      margin-bottom: 0.4rem;
  }

  h6 {
      font-size: 1rem;
      margin-bottom: 0.3rem;
  }

  .subh1 {
      font-size: 1.75rem;
      margin-bottom: 0.9rem;
  }

  .subh2 {
      font-size: 1.5rem;
      margin-bottom: 0.8rem;
  }

  .subh3 {
      font-size: 1.25rem;
      margin-bottom: 0.7rem;
  }

  .subh4 {
      font-size: 1.125rem;
      margin-bottom: 0.6rem;
  }

  .subh5 {
      font-size: 1rem;
      margin-bottom: var(--spacing-xs);
  }

  .subh6 {
      font-size: 0.875rem;
      margin-bottom: 0.4rem;
  }

  p {
      font-size: 0.95rem;
  }

  blockquote {
      font-size: 1rem;
  }
}

/* Große Bildschirme: HD (ab 1200px Breite) */
@media (min-width: 1200px) {
  section {
      padding: var(--spacing-lg);
  }

  article {
      padding: var(--spacing-md);
  }

  aside {
      padding: 1.2rem;
  }

  aside > footer {
      font-size: 1rem; /* Größere Schriftgröße im Footer */
  }

  h1 {
      font-size: 3.5rem;
      margin-bottom: var(--spacing-md);
  }

  h2 {
      font-size: 3rem;
      margin-bottom: 1.3rem;
  }

  h3 {
      font-size: 2.5rem;
      margin-bottom: var(--spacing-sm);
  }

  h4 {
      font-size: 2rem;
      margin-bottom: 0.8rem;
  }

  h5 {
      font-size: 1.75rem;
      margin-bottom: 0.7rem;
  }

  h6 {
      font-size: 1.5rem;
      margin-bottom: 0.6rem;
  }

  .subh1 {
      font-size: 2.5rem;
      margin-bottom: 1.2rem;
  }

  .subh2 {
      font-size: 2.25rem;
      margin-bottom: 1.1rem;
  }

  .subh3 {
      font-size: 2rem;
      margin-bottom: var(--spacing-sm);
  }

  .subh4 {
      font-size: 1.75rem;
      margin-bottom: 0.9rem;
  }

  .subh5 {
      font-size: 1.5rem;
      margin-bottom: 0.8rem;
  }

  .subh6 {
      font-size: 1.25rem;
      margin-bottom: 0.7rem;
  }

  p {
      font-size: 1.1rem;
  }

  blockquote {
      font-size: 1.25rem;
  }
}

/* Widescreens: 4K UHD und größere (ab 2560px Breite) */
@media (min-width: 2560px) {
  h1 {
      font-size: 4.5rem;
      margin-bottom: var(--spacing-lg);
  }

  h2 {
      font-size: 4rem;
      margin-bottom: 1.8rem;
  }

  h3 {
      font-size: 3.5rem;
      margin-bottom: var(--spacing-md);
  }

  h4 {
      font-size: 3rem;
      margin-bottom: 1.3rem;
  }

  h5 {
      font-size: 2.5rem;
      margin-bottom: var(--spacing-sm);
  }

  h6 {
      font-size: 2rem;
      margin-bottom: 0.8rem;
  }

  .subh1 {
      font-size: 3.5rem;
      margin-bottom: 1.8rem;
  }

  .subh2 {
      font-size: 3rem;
      margin-bottom: 1.6rem;
  }

  .subh3 {
      font-size: 2.75rem;
      margin-bottom: 1.4rem;
  }

  .subh4 {
      font-size: 2.5rem;
      margin-bottom: 1.3rem;
  }

  .subh5 {
      font-size: 2rem;
      margin-bottom: 1.2rem;
  }

  .subh6 {
      font-size: 1.75rem;
      margin-bottom: var(--spacing-sm);
  }

  p {
      font-size: 1.25rem;
  }

  blockquote {
      font-size: 1.5rem;
  }
}