/*
  Zentrales Stylesheet für den Jeans & Velours One‑Pager.
  Farbpalette, Typografie und Layout orientieren sich am JV‑Logo.
*/
:root {
  --bg: #FAFAF7;
  --bubble-blue: hsl(208, 100%, 88%);
  --bubble-red: hsl(4, 100%, 88%);
  --text: #222222;
  --muted: #6b7280;
  --radius: 18px;
  --max-width: 700px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Nunito', 'Quicksand', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: hsl(220, 80%, 40%);
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
  text-align: center;
  position: relative;
}
.hero img {
  max-width: 80%;
  height: auto;
}
#chat {
  padding: 2rem 1rem;
}
.chat-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.msg {
  display: flex;
  align-items: flex-end;
}
.msg .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bubble {
  max-width: 75%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.bubble time {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.25rem;
  text-align: right;
}
.msg-denis {
  flex-direction: row;
}
.msg-denis .bubble {
  margin-left: 0.5rem;
  background-color: var(--bubble-blue);
}
.msg-nick {
  flex-direction: row-reverse;
}
.msg-nick .bubble {
  margin-right: 0.5rem;
  background-color: var(--bubble-red);
}
.voice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.voice .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text);
  flex-shrink: 0;
}
.voice .meta {
  font-size: 0.85rem;
  font-weight: 600;
}
.voice .meta span {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: normal;
}
audio {
  width: 100%;
  margin-top: 0.5rem;
}
.gallery {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.gallery img {
  border-radius: var(--radius);
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.visible {
  opacity: 1;
  transform: translateY(0);
}
.inputbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem auto 0;
  max-width: var(--max-width);
}
.inputbar input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  background-color: #fff;
  font-size: 1rem;
  color: var(--text);
}
.inputbar button {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius);
  background-color: var(--bubble-blue);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.inputbar button:hover {
  background-color: hsl(208, 100%, 80%);
}
.cta {
  display: inline-block;
  margin: 2rem auto;
  padding: 0.75rem 1.5rem;
  background-color: var(--bubble-blue);
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
}
.cta:hover {
  background-color: hsl(208, 100%, 80%);
}
#about {
  background-color: #fff;
  padding: 3rem 1rem;
  margin-top: 4rem;
}
#about h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
#about p {
  max-width: var(--max-width);
  margin: 0 auto 1rem;
}
#about ul {
  max-width: var(--max-width);
  margin: 0 auto;
  list-style: none;
  padding-left: 0;
}
#about li {
  margin-bottom: 0.5rem;
}
footer {
  background-color: #fff;
  border-top: 1px solid #eee;
  padding: 1rem;
  text-align: center;
}
footer .logo {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
  vertical-align: middle;
}
footer .small {
  font-size: 0.75rem;
  color: var(--muted);
}
nav.skiplink {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--bubble-blue);
  color: var(--text);
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.3s;
}
nav.skiplink:focus-within {
  top: 0;
}
@media (min-width: 768px) {
  .hero {
    height: 70vh;
  }
}