@font-face {
  font-family: 'Open Sans';
  src: url('../schriften/OpenSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}


:root {
  --primary: #700046;
  --accent: #333;
  --white: #ffffff;
  --gray: #f9f9f9;
  --social-accent: #8d225f;
}

/* -------------------- */
/* Grundlegendes Layout */
/* -------------------- */

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  background-color: var(--gray);
  color: #222;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* -------------------- */
/* Artikel-Container    */
/* -------------------- */

.container {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 1.4s ease-out forwards;
  animation-delay: 1.5s;
}

h1 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.meta {
  color: #8d225f;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

h2 {
  color: var(--accent);
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  margin: 0.8rem 0;
}

ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.back-link {
  text-align: center;
  margin-top: 3rem;
}

.back-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.back-link a:hover {
  text-decoration: underline;
}

/* -------------------- */
/* Hero-Bereich         */
/* -------------------- */

.artikel-hero {
  position: relative;
  background-color: #f9f9f9; /* nur Farbe, kein Bild */
  padding: 2rem 0; /* reduziert Höhe auf ca. Inhaltshöhe */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}


/* Kasten mit Überschrift */
.hero-overlay-box {
  background-color: rgba(255, 255, 255, 0.92);
  padding: 1.2rem 1.5rem;
  border-radius: 0 6px 6px 0;
  max-width: 325px;
  margin-left: 0;
  margin-right: auto;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateX(-60px);
  animation: slideInLeft 1.3s ease-out forwards;
  animation-delay: 0.3s;
}

.artikel-hero-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
}

/* -------------------- */
/* Social Media Buttons */
/* -------------------- */

.hero-social-icons {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 1rem;
  z-index: 10;
  opacity: 0;
  transform: translateX(60px);
  animation: slideInRight 1.3s ease-out forwards;
  animation-delay: 0.6s;
}

.hero-icon {
  background-color: var(--social-accent);
  padding: 0.4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.hero-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.hero-icon:hover {
  background-color: #b35681;
}

/* -------------------- */
/* Animationen          */
/* -------------------- */

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}