/* === GLOBAL === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-hobbies {
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #2A595C 0%,   /* hellere, frische Version von #00787D */
    #1F3F40 60%,  /* mittlerer Petrolton, angenehm fürs Auge */
    #182F2F 100%  /* dunkler Abschluss, aber NICHT tiefschwarz */
  );
  color: #e6eef0;
}

/* === PAGE BACKGROUND: Deine neue Wunschfarbe (#82B2C0-dunkel BUT not too dark) === */
/*.page-hobbies {
  min-height: 100vh;
  background: linear-gradient(180deg, #273f40 0%, #1f3331 90%);
  color: #e6eef0;
}*/

/* === HEADER === */
.page-header {
  padding: 2.5rem 0 1rem;
}

.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header h1 {
  margin: 0 0 1rem;
  font-size: 2.4rem;
}

.page-header p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.page-header .hint {
  font-size: 1rem;
  color: #bfc9cd;
}

/* === MAIN / GRID === */
.wall-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

.wall-intro h2 {
  margin: 0 0 0.5rem;
}

.wall-intro p {
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

/* GRID */
.wall-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

/* === POLAROID CARDS === */
.hobby-card {
  background: #fffaf3;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow:
    0 0.35rem 1rem rgba(0, 0, 0, 0.08),
    0 0 0.4rem rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.hobby-card img {
  width: 100%;
  display: block;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: scale(0.96);
  animation: fadePop 0.8s ease-out forwards;
  border: 3px solid transparent;
  transition: border-color 0.4s ease;
}

/* POLAROID TILT */
.hobby-card.tilt-left {
  transform: rotate(-1.5deg);
}

.hobby-card.tilt-right {
  transform: rotate(1.5deg);
}

.hobby-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 0.6rem 1.6rem rgba(0, 0, 0, 0.12),
    0 0 0.7rem rgba(255, 255, 255, 1);
}

/* TITEL + TEXT */
.hobby-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #111;
}

.hobby-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
}

/* LIGHTBOX LINK */
.hobby-card h3 a {
  color: inherit;
  text-decoration: none;
}

.hobby-card h3 a:hover {
  text-decoration: underline;
  cursor: zoom-in;
}

/* Fade/Pop Animation */
@keyframes fadePop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === FOOTER === */
.page-footer {
  text-align: center;
  padding: 1rem 1.5rem 2rem;
  font-size: 0.9rem;
  color: #bfc9cd;
}

.page-footer a {
  color: #82B2C0;
  text-decoration: none;
}

.page-footer a:hover {
  text-decoration: underline;
}

/* === NAVIGATION BUTTONS / PILLS === */

.nav-buttons {
  display: flex;
  gap: 0.75rem;
  margin: 2rem 0;
}

.btn-nav {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border-radius: 0.5rem; /* leicht eckig, nicht rund */
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #4FA4A7; /* heller Petrolrand */
  color: #e6eef0;
  background: rgba(0, 120, 125, 0.15); /* sehr leichte Tönung */
  transition: all 0.2s ease;
}

.btn-nav:hover {
  background: #2A595C;
  border-color: #82B2C0;
  transform: translateY(-2px);
}

.btn-nav:active {
  transform: translateY(0);
}

/* Varianten */
.btn-nav.back {
  color: #e6eef0;
}

.btn-nav.home {
  color: #dff8fa;
}

.btn-nav.next {
  color: #dff8fa;
}

.nav-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 0 1.5rem; /* Abstand zur Pinwand + Footer */
}

.nav-footer .btn-nav {
  min-width: 130px;
  text-align: center;
}