/* ============================================================
   Pennys Nachhilfe-Seite — Hero + Fächer-Karten + Kontakt
   ============================================================ */

.penny-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    linear-gradient(180deg, rgba(60, 38, 15, .55), rgba(60, 38, 15, .30) 55%, rgba(252, 244, 222, .85) 100%),
    url("../assets/collage/world-map-table.png");
  background-size: cover;
  background-position: center 35%;
  color: #fcf4de;
}

.penny-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(252, 244, 222, .45), transparent 60%);
}

.penny-page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--container, 1180px), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.penny-page-hero__copy {
  display: grid;
  gap: 1rem;
  max-width: 680px;
}

.penny-page-hero__avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 300px;
}

.penny-page-hero__avatar canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .35));
}

.penny-page-hero__kicker {
  display: inline-flex;
  width: fit-content;
  padding: .25rem .85rem;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  color: #fcf4de;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  backdrop-filter: blur(6px);
}

.penny-page-hero h1 {
  margin: 0;
  font-family: var(--font-adventure, Georgia, serif);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.penny-page-hero__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 680px;
  color: #fbf2da;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

.penny-page-hero__meta {
  margin-top: .6rem;
  font-size: .85rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .82);
}

@media (max-width: 760px) {
  .penny-page-hero__inner {
    grid-template-columns: 1fr;
  }

  .penny-page-hero__avatar {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }
}

/* ============================================================
   Fächer-Karten — 9 Schulfächer in flexiblem Grid
   ============================================================ */

.penny-subjects {
  background:
    linear-gradient(180deg, #fdf3d8 0%, #fbecc1 100%);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.penny-subjects__wrap {
  width: min(var(--container, 1180px), calc(100% - 2rem));
  margin: 0 auto;
  max-width: 1080px;
}

.penny-subjects__intro {
  max-width: 720px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.penny-subjects__intro h2 {
  margin: 0 0 .6rem 0;
  font-family: var(--font-adventure, Georgia, serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.1;
  color: #4a2c0e;
}

.penny-subjects__intro p {
  margin: 0;
  color: #5a3a1a;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.6;
}

.penny-subjects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.penny-subject-card {
  position: relative;
  padding: 1.4rem 1.5rem 1.5rem;
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, #fff8e2, #faedc4);
  border: 1px solid rgba(120, 80, 30, .18);
  box-shadow:
    0 8px 22px rgba(120, 80, 30, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .5);
  transition: transform .18s ease, box-shadow .18s ease;
}

.penny-subject-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(120, 80, 30, .14);
}

.penny-subject-card__icon {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(120, 80, 30, .14);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: .8rem;
}

.penny-subject-card h3 {
  margin: 0 0 .35rem 0;
  font-family: var(--font-adventure, Georgia, serif);
  font-size: 1.32rem;
  color: #4a2c0e;
  line-height: 1.1;
}

.penny-subject-card p {
  margin: 0;
  color: #5a3a1a;
  font-size: .98rem;
  line-height: 1.55;
}

.penny-subject-card__quote {
  margin-top: .9rem;
  padding-top: .8rem;
  border-top: 1px dashed rgba(120, 80, 30, .25);
  font-style: italic;
  color: #6a4319;
  font-size: .92rem;
}

.penny-subject-card__quote::before {
  content: "🦐 ";
  font-style: normal;
}

/* ============================================================
   Kontakt-Abschnitt am Ende
   ============================================================ */

.penny-contact {
  background: linear-gradient(180deg, #4a2c0e, #2f1a06);
  color: #f8ebcd;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.penny-contact__wrap {
  width: min(var(--container, 1180px), calc(100% - 2rem));
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.penny-contact h2 {
  margin: 0 0 .8rem 0;
  font-family: var(--font-adventure, Georgia, serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #fcf4de;
}

.penny-contact p {
  color: rgba(248, 235, 205, .9);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.6;
  margin: 0 auto 1.4rem;
  max-width: 580px;
}

.penny-contact__note {
  margin-top: 1.4rem;
  font-size: .85rem;
  color: rgba(248, 235, 205, .65);
  font-style: italic;
}
