@import url('https://fonts.googleapis.com/css2?family=Marcellus+SC&family=Crimson+Text:wght@300;400&display=swap');

:root {
  --bg: #0b0b0d;
  --fg: #e4e4e4;
  --accent: #5a002e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Höhe für flexbasierten Footer */
html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Crimson Text', serif;
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Intro / Fade */
.intro {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease;
  z-index: 999;
}
.intro.hide {
  opacity: 0;
  pointer-events: none;
}
.intro h1 {
  font-family: 'Marcellus SC', serif;
  font-size: 2rem;
  opacity: .8;
  margin-bottom: 1rem;
}

/* Rose kleiner auf Desktop */
.intro img {
  width: 140px;
  height: auto;
}

@media(max-width:700px) {
  .intro img {
    width: 200px;
  }
}

/* Header */
.main-header {
  text-align: center;
  padding: 4rem 1rem 2rem;
}
.main-header h1 {
  font-family: 'Marcellus SC', serif;
  font-size: 2rem;
  letter-spacing: 1px;
  text-shadow: 0 0 8px #000;
}

/* Content */
main.content {
  flex: 1; /* << sorgt dafür dass Footer unten bleibt */
  max-width: 700px;
  margin: auto;
  padding: 1.5rem;
  text-align: justify;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: .9rem;
}
.footer .social img {
  width: 24px;
  height: auto;
  margin-left: 10px;
  filter: grayscale(1);
  transition: filter .3s;
}
.footer .social img:hover {
  filter: grayscale(0);
}

/* Mobile */
@media(max-width: 700px) {
  .main-header h1 {
    font-size: 1.1rem;
  }
  main.content {
    padding: 1rem;
  }
  .footer {
    flex-direction: column;
    gap: .5rem;
  }
  .footer .social img {
    width: 32px;
  }
}

/* HILFENUMMERN */
/* Abschnitt-Layout */
#hilfenummern {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
}

/* Überschriften */
#hilfenummern h2 {
    font-size: 1.5em;
    margin-top: 40px;
    color: #ffffff;
    font-weight: 600;
}

/* Normale Links */
#hilfenummern p a {
    color: #4ca8ff;
    text-decoration: none;
}

#hilfenummern p a:hover {
    text-decoration: underline;
}

/* Telefonnummern-Links */
.num-link {
    color: #00d0ff;
    font-weight: 700;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.num-link:hover {
    color: #ffffff;
    background: #00d0ff55;
    text-shadow: 0 0 6px #00d0ff;
}
