/* Farben */
:root {
  --bg: #e0e0e0;
  --accent: #BD1C28;
  --dark: #1a1a1a;
  --text: #333;
  --white: #fff;
}


/* Grundlayout */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg);
  /*background-image: url('img/bg.png'); Optional */
  background-size: cover;
  background-blend-mode: multiply;
  color: var(--text);
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2rem;
  color: var(--accent);
  margin: 0;
}

.logout {
  background: var(--accent);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.logout:hover {
  background: #c01616;
}

/* Cover */
.cover img {
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  margin-bottom: 30px;
}

/* Kapitel */
.chapters h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.chapter {
  margin-bottom: 25px;
}

.chapter h3 {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 6px;
}

audio {
  width: 100%;
  outline: none;
}

/* Login */
.login-container {
  max-width: 400px;
  margin: 100px auto;
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  text-align: center;
}

/* Hintergrundstruktur für Login */
.login-background {
  background-color: var(--bg);
  background-image: url('bgs.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Login-Box */
.login-wrapper {
  background: rgba(255,255,255,0.92);
  max-width: 400px;
  margin: auto;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Herz-Symbol oben */
.login-heart {
  width: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.3));
}

/* Formular-Stil */
.login-form input {
  width: 90%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 16px;
}

.login-form button {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.login-form button:hover {
  background: #b71c1c;
}

/* Fehlermeldung */
.error {
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 10px;
}


.heart-icon {
  height: 1em;
  margin-right: 6px;
  vertical-align: middle;
}

/* Silhouette unten */
.silhouette-footer {
  width: 100%;
  z-index: -10;
  margin: 250px 0px 0p 0px;
  overflow: hidden;
}

.silhouette-footer-login {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: -10;
  margin: 250px 0px 0p 0px;
  overflow: hidden;
}

.silhouette-footer img {
  width: 100%;
  height: auto;
  height: auto;
}

.silhouette-footer-login img {
  width: 100%;
  height: auto;
  height: auto;
}