:root {
  --bg: #000000;
  --silver: #c0c0c0;
  --gold: #e6c16f;
  --box-bg: #1f1f1f;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--gold);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    system-ui,
    sans-serif;
}

/* Startseite */
body.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Unterseiten: ich, kurse, impressum */
body.content-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Navigation oben rechts */
.top-right {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-right a {
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
}

.top-right a:hover {
  opacity: 1;
}

/* Grundcontainer */
.wrap {
  text-align: center;
  padding: 24px;
}

.home .wrap {
  width: 100%;
}

.content-page .wrap {
  width: 100%;
  max-width: 900px;
}

/* Logo Startseite */
.home-logo {
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

/*
  Logo auf ich.html, kurse.html und impressum.html.
  Feste Breite, damit es auf dem PC überall exakt gleich groß ist.
*/
.page-logo {
  width: 240px;
  max-width: 240px;
  height: auto;
  display: block;
  margin: 0 auto 24px auto;
}

/* Allgemeine Texte */
.subtitle {
  margin-top: 18px;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);

  text-shadow:
    0 0 10px rgba(192, 192, 192, 0.15),
    0 0 30px rgba(192, 192, 192, 0.08);
}

p {
  line-height: 1.6;
  opacity: 0.85;
  font-size: 16px;
}

.contact,
.hinweis {
  color: var(--gold);
}

a[href^="mailto:"] {
  color: darkgreen;
}

/* Textbox für Inhaltsseiten */
.textbox {
  background-color: var(--box-bg);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 28px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

h1 {
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 600;
}

h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

/* Kursseite */
.week-calendar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}

.day-card {
  min-height: 240px;
  background: #141414;
  border: 1px solid rgba(230, 193, 111, 0.55);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 0 18px rgba(230, 193, 111, 0.06);
}

.day-card h2 {
  margin: 0 0 16px 0;
  font-size: 18px;
  text-align: center;
}

.course {
  background: rgba(230, 193, 111, 0.1);
  border: 1px solid rgba(230, 193, 111, 0.8);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.course-time {
  display: block;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 8px;
}

.course-title {
  display: block;
  font-size: 17px;
  font-weight: 400;
}

.course-note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.75;
}

.empty-day {
  font-size: 14px;
  opacity: 0.45;
  text-align: center;
  margin-top: 48px;
}

/* Mobile Ansicht */
@media (max-width: 800px) {
  body.home,
  body.content-page {
    display: block;
  }

  .top-right {
    position: static;
    justify-content: center;
    padding: 18px 18px 0;
  }

  .home-logo {
    width: 90%;
  }

  .page-logo {
    width: 240px;
    max-width: 70vw;
  }

  .week-calendar {
    grid-template-columns: 1fr;
  }

  .textbox {
    padding: 24px;
  }
}