/* merriweather-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/merriweather-v32-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/merriweather-v32-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/merriweather-v32-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/merriweather-v32-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v43-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v43-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v43-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




:root {
  --primary: #b73c2d;
  --accent: #3b555f;
  --light: #f4f4f4;
  --text: #222;
}
body {
  font-family: 'Open Sans', sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

h1 {
  font-size: 3rem;
  font-family: 'Merriweather', serif;
  color: var(--primary);
}
h2 {
  font-size: 2rem;
  font-family: 'Merriweather', serif;
  color: var(--primary);
  margin-top: 75px;
}

h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.7rem
}

h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  margin-top: 40px;
}

p {
  margin-top: 40px;
  font-size: 1.2rem;
}

li {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.topheadline {
  font-size: 2rem;
  font-weight: 600;
}

.topheadline div{
  display: inline;
}

.text-red {
  color: #e2666b;
}
.text-turkis {
  color: #59c2ab;
}
.text-hellblau {
  color: #2db4e8;
}
.text-gelb {
  color: #febf33;
}

.hinweis-banner {
  background-color: var(--accent); /* dein dunkelblau */
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
}

a {
  color: #b73c2d;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #b73c2d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

a:hover {
  color: #b73c2d;
}

a:hover::after {
  transform: scaleX(1);
}

header img {
  width: 800px;
  height: auto;
  max-width: 95vw;
  display: block;
  margin: 2rem auto;
}
main { max-width: 800px; margin: auto; padding: 1rem; }
footer { background: var(--accent); color: #fff; text-align: center; padding: 2rem; }
footer a { color: #fff; }
footer a:hover { color: #fff; }

section {
  margin-top: 80px;
  padding-top: 40px;
}

.kachel {
  display: inline-block;
  color: white;
  font-weight: bold;
  font-size: clamp(1.5rem, 4vw + 1rem, 2.5rem);
  padding: 0.5em 1em;
  transform: rotate(-3deg);
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  margin-bottom: 80px;
  hyphens: auto;
}

.kachel.gelb {
  background-color: #ffc633;
}

.kachel.hellblau {
  background-color: #26abe2;
}

.kachel.blau {
  background-color: #0097d7;
}

.kachel.gelb1 {
  background-color: #ffd040;
}

.kachel.pink {
  background-color: #bd79a3;
}

.kachel.dunkelgruen {
  background-color: #00a0a1;
}

.kachel.dunkelgelb {
  background-color: #fbae36;
}

.kachel.rosa {
  background-color: #d87394;
}

.kachel.blassgelb {
  background-color: #e3ca6b;
}

.bg-box {
  padding: 40px;
  margin-left: -40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.bg-box h3 {
  font-size: 1.7rem;
  line-height: 2;
  text-align: center;
}

.bg-box.bd73a4 {
  background-color: #bd73a4;
  color: #ffd167;
}

.bg-box.ffd64f {
  background-color: #ffd64f;
  color: #0097d7;
}

.bg-box.d4e168 {
  background-color: #d4e168;
  color: #0067a7;
}

.bg-box.d4e168 {
  background-color: #d4e168;
  color: #0067a7;
}

.bg-box.f27292 {
  background-color: #f27292;
  color: #ffe384;
}

.bg-box.acdac0 {
  background-color: #acdac0;
  color: #0079b3;
}

.bg-box.efd5ab {
  background-color: #efd5ab;
  color: #c13874;
}

.bg-box.turkis {
  background-color: #3fbfb6;
  color: #fff89f;
}

.bg-box.f3c059 {
  background-color: #f3c059;
  color: #982160;
}

.bg-box.hellblau {
  background-color: #75c6ef;
  color: #7d3657;
}


@media (max-width: 915px) {
  .bg-box {
    margin-left: 0;
  }
}

@media (max-width: 480px) {

  .hinweis-banner {
    font-size: 0.9rem;
    padding: 0.8rem;
  }  

  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.6rem;
  }

  .kachel {
    max-width: 70vw;
  }

  .bg-box h3 {
    line-height: 1.5;
  }

  main {
    padding: 0.5rem;
  }

  a {
    word-break: break-word;
  }  

  ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  ul li {
    margin-bottom: 0.75rem;
  }

}

