:root {
  --bg-1: #fff6ea;
  --bg-2: #ffdfb8;
  --bg-3: #ffc99b;
  --accent: #e2734f;
  --accent-dark: #b9502f;
  --text: #4a3527;
  --text-soft: #7a5c46;
  --card-bg: #fffaf3;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

h1, .eyebrow, figcaption {
  font-family: 'Fraunces', Georgia, serif;
}

.section {
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6vh 6vw;
  position: relative;
}

/* ---------- Hero ---------- */

.hero-content {
  text-align: center;
  max-width: 560px;
  animation: fade-up 1s ease both;
}

.eyebrow {
  margin: 0 0 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
}

.sub {
  margin: 0 0 2.6rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-soft);
}

.play-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff8f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(226, 115, 79, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse 2.4s ease-in-out infinite;
}

.play-btn svg { margin-left: 3px; }
.play-btn:has(#pause-icon:not([hidden])) svg { margin-left: 0; }

.play-btn:hover {
  transform: scale(1.05);
}

.play-btn:active {
  transform: scale(0.96);
}

.play-btn.playing {
  animation: none;
  background: var(--accent-dark);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(226, 115, 79, 0.45), 0 0 0 0 rgba(226, 115, 79, 0.35); }
  50% { box-shadow: 0 12px 32px rgba(226, 115, 79, 0.45), 0 0 0 18px rgba(226, 115, 79, 0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
  position: absolute;
  bottom: 5vh;
  color: var(--accent-dark);
  opacity: 0.6;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- Photo sections (Vollbild) ---------- */

.photo-section {
  padding: 0;
  overflow: hidden;
}

.fullscreen-figure {
  margin: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fullscreen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.fullscreen-img.img-anim {
  transition: transform 0.45s cubic-bezier(.22, .61, .36, 1);
}

.zoomable-img {
  touch-action: none;
  cursor: zoom-in;
}

.zoomable-img.user-zoomed {
  cursor: zoom-out;
}

.fullscreen-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 4rem 1.5rem 2.4rem;
  background: linear-gradient(to top, rgba(20, 12, 6, 0.65), transparent);
  color: #fff8f2;
  text-align: center;
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  pointer-events: none;
}

/* ---------- Reaction-Panel ---------- */

.reaction-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 2.4rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
  text-align: center;
  background: linear-gradient(180deg, rgba(20, 12, 6, 0) 0%, rgba(20, 12, 6, 0.55) 40%, rgba(20, 12, 6, 0.88) 100%);
  transform: translateY(110%);
  transition: transform 0.6s cubic-bezier(.16, 1, .3, 1);
}

.reaction-panel.visible {
  transform: translateY(0);
}

.reaction-question {
  margin: 0 0 1.2rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.3rem, 4.5vw, 1.9rem);
  color: #fff8f2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.reaction-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.reaction-buttons button {
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  background: var(--accent);
  color: #fff8f2;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(226, 115, 79, 0.45);
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
}

.reaction-buttons button:active {
  transform: scale(0.95);
}

.reaction-buttons button.selected {
  background: var(--accent-dark);
}

.reaction-buttons button:disabled {
  opacity: 0.55;
  cursor: default;
}

/* ---------- Laptop / larger screens ---------- */

@media (min-width: 900px) {
  .section:not(.photo-section) { padding: 6vh 8vw; }
  .fullscreen-figure figcaption { padding: 5rem 2rem 3rem; }
}
