/* --------------------------------------------------------------------------
   DesignSystem from ChristophPraet.de
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   Fonts — Open Sans (variable font, lokal, latin + latin-ext)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans/open-sans-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans/open-sans-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans/open-sans-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans/open-sans-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  /* Fonts */
  --main-font:        'Open Sans', sans-serif;
  --headline-font:    'Open Sans', sans-serif;

  /* Colors */
  --main-color:       #131211;
  --main-color-hover: #d87957;
  --cta-color-main:   #2d9300;
  --cta-color-main-hover: #1f6700;
  --font-color:       #050101;
  --headline-color:   #050101;
  --bg-color:         #fff;
  --bg-color-02:      #313131;
  /* Highlight */
  --highlight-color:  #2d9300;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-xxl: 6rem;
}


/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 400;
  color: var(--font-color);
  background-color: var(--bg-color);
  line-height: 1.65;
  margin: 0;
  padding: 0;
}


/* --------------------------------------------------------------------------
   Headings
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--headline-font);
  color: var(--headline-color);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

h1 { font-size: 1.9rem; line-height: 1.4;}
h2 { font-size: 1.7rem; line-height: 1.3; }
h3 { font-size: 1.1rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

/* sm ≥ 576px */
@media (min-width: 576px) {
  h2 { font-size: 1.7rem;}
  h3 { font-size: 1.1rem;  }
}

/* md ≥ 768px */
@media (min-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.1rem; }
  h4 { font-size: 1.25rem; }
}

/* lg ≥ 992px */
@media (min-width: 992px) {
  h2 { font-size: 1.7rem;}
  h3 { font-size: 1.1rem; }
}

/* xl ≥ 1200px */
@media (min-width: 1200px) {
  h2 {font-size: 1.7rem; }
}

/* xxl ≥ 1400px */
@media (min-width: 1400px) {
  h1 { font-size: 1.9rem; }
}


/* --------------------------------------------------------------------------
   Body Text
   -------------------------------------------------------------------------- */

p {
  font-family: var(--main-font);
  color: var(--font-color);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.8;
  margin-top: 0;
  margin-bottom: var(--space-sm);
  
}



/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */

a {
  font-family: var(--main-font);
  color: var(--main-color);
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--main-color-hover);
}


/* --------------------------------------------------------------------------
   Horizontal Rule
   -------------------------------------------------------------------------- */

hr {
  border: none;
  border-top: 1px solid var(--side-color);
  margin: var(--space-lg) 0;
}


/* --------------------------------------------------------------------------
   Images
   -------------------------------------------------------------------------- */

img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */

ul {
  font-family: var(--main-font);
  color: var(--font-color);
  font-size: 1rem;
  line-height: 1.65;
  margin-top: 0;
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
}

ul li {
  margin-bottom: var(--space-xs);
}


/* --------------------------------------------------------------------------
   Highlight / Markierung
   -------------------------------------------------------------------------- */

::selection {
  background-color: var(--highlight-color);
  color: var(--font-color);
}

.highlight {
  background-color: var(--highlight-color);
  color: inherit;
  padding: 0 0.2em;
}


/* --------------------------------------------------------------------------
   Focus (Accessibility)
   -------------------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--main-color-hover);
  outline-offset: 3px;
}


/* --------------------------------------------------------------------------
   CTAs / Buttons
   -------------------------------------------------------------------------- */

.cta_01,
.cta_02 {
  display: inline-block;
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Primary CTA — filled */
.cta_01 {
  background-color: var(--main-color);
  color: #ffffff;
  border-color: var(--main-color);
}

.cta_01:hover,
.cta_01:focus {
  background-color: var(--main-color-hover);
  border-color: var(--main-color-hover);
  color: #ffffff;
}

/* Secondary CTA — outlined */
.cta_02 {
  background-color: transparent;
  color: var(--main-color);
  border-color: var(--main-color);
}

.cta_02:hover,
.cta_02:focus {
  background-color: var(--main-color);
  color: #ffffff;
}
