/* ==========================================================================
   Jennas Raum – Entwürfe Relaunch 2026
   Farben/Schriften entsprechen den Cornerstone-Globals der Live-Seite.
   BEM, Mobile-First. Breakpoints: 768px / 1024px
   ========================================================================== */

@font-face {
  font-family: "manus";
  src: url("media/2025-07-manus-webfont.woff")
    format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  --jr-sand: #f0e5d9; /* Global Color "Hellbraun" */
  --jr-brown: #393532; /* Global Color "Dunkelbraun" */
  --jr-white: #ffffff;
  --jr-sand-deep: #e3d3c1; /* Vorschlag: abgetöntes Hellbraun für Flächen/Linien */
  --jr-copper: #a9683f; /* Vorschlag: sparsamer Akzent (Linien, Hover) */
  --jr-font-head: "manus", "Segoe Script", cursive;
  --jr-font-body: "Barlow", system-ui, sans-serif;
  --jr-pad-y: 70px; /* glSectionPaddingTB */
  --jr-pad-x: 4%; /* glSectionPaddingLR */
  --jr-max: 1200px;
  --jr-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--jr-sand);
  color: var(--jr-brown);
  font: 400 1.0625rem/1.6 var(--jr-font-body);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}

/* Entwurfsleiste (nicht Teil des Designs) --------------------------------- */
.mockbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  padding: 8px var(--jr-pad-x);
  background: #1f1d1b;
  color: #cfc6bc;
  font-size: 0.8125rem;
}
.mockbar a,
.mockbar button {
  color: inherit;
  background: none;
  border: 1px solid #5a534d;
  border-radius: 3px;
  padding: 2px 10px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.mockbar [aria-current],
.mockbar [aria-pressed="true"] {
  background: #cfc6bc;
  color: #1f1d1b;
}
.mockbar__spacer {
  flex: 1;
}

/* Basis-Bausteine ---------------------------------------------------------- */
.section {
  padding: var(--jr-pad-y) var(--jr-pad-x);
}
.section--white {
  background: var(--jr-white);
}
.section--dark {
  background: var(--jr-brown);
  color: var(--jr-sand);
}
.section--tight {
  padding-block: 44px;
}
.section__inner {
  max-width: var(--jr-max);
  margin-inline: auto;
}
.section__inner--narrow {
  max-width: 760px;
}
.section__head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 10px;
}
.headline {
  font-family: var(--jr-font-head);
  font-weight: 400;
  line-height: 1.05;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}
.headline--xl {
  font-size: clamp(2.9rem, 8.5vw, 5.4rem);
}
.headline--sm {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
}
.subline {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
}
.lead {
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  max-width: 60ch;
}
.text > * + * {
  margin-top: 0.9em;
}
.rule {
  width: 64px;
  height: 2px;
  border: 0;
  background: var(--jr-copper);
  margin: 18px 0;
}
.section__head--center .rule {
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--jr-brown);
  color: var(--jr-white);
  border: 1px solid var(--jr-brown);
  font: 600 1rem/1.2 var(--jr-font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s var(--jr-ease);
}
.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--jr-brown);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--jr-brown);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--jr-brown);
  color: var(--jr-white);
}
.btn--light {
  background: var(--jr-sand);
  color: var(--jr-brown);
  border-color: var(--jr-sand);
}
.btn--light:hover,
.btn--light:focus-visible {
  background: transparent;
  color: var(--jr-sand);
}
.btn--ghost-light {
  background: transparent;
  color: var(--jr-sand);
  border-color: var(--jr-sand);
}
.btn--ghost-light:hover,
.btn--ghost-light:focus-visible {
  background: var(--jr-sand);
  color: var(--jr-brown);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.link-arrow {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow::after {
  content: " →";
  transition: margin 0.25s;
}
.link-arrow:hover::after {
  margin-left: 6px;
}

/* Header ------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px var(--jr-pad-x);
  background: color-mix(in srgb, var(--jr-sand) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--jr-sand-deep);
}
.header__logo {
  width: 150px;
  flex: none;
  color: var(--jr-brown);
}
.header__toggle {
  background: none;
  border: 1px solid var(--jr-brown);
  padding: 8px 12px;
  font: 600 0.875rem var(--jr-font-body);
  color: inherit;
}
.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--jr-sand);
  padding: 12px var(--jr-pad-x) 24px;
  border-bottom: 1px solid var(--jr-sand-deep);
}
.nav--open {
  display: block;
}
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  font-weight: 500;
}
.nav__link--active {
  font-weight: 700;
}
.nav__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 6px 16px;
  font-size: 0.9375rem;
}

@media (min-width: 1024px) {
  .header__toggle {
    display: none;
  }
  .header__logo {
    width: 180px;
  }
  .nav {
    display: block;
    position: static;
    background: none;
    padding: 0;
    border: 0;
  }
  .nav__list {
    display: flex;
    gap: 30px;
    align-items: center;
  }
  .nav__item {
    position: relative;
  }
  .nav__link {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
  }
  .nav__link:hover,
  .nav__link--active {
    border-bottom-color: var(--jr-copper);
  }
  .nav__sub {
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 220px;
    padding: 10px 18px;
    background: var(--jr-white);
    box-shadow: 0 12px 30px rgba(57, 53, 50, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: 0.2s;
  }
  .nav__item:hover .nav__sub,
  .nav__item:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* Logo + Auftakt-Animation ------------------------------------------------- */
.logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.logo path {
  fill: currentColor;
}
.js .logo--draw .logo__line {
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  fill-opacity: 0;
  animation:
    jr-draw 2.6s var(--jr-ease) 0.2s forwards,
    jr-fill 0.9s ease 2.1s forwards;
}
.js .logo--draw .logo__word {
  opacity: 0;
  transform: translateY(8px);
  animation: jr-rise 0.9s var(--jr-ease) 1.5s forwards;
}
@keyframes jr-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes jr-fill {
  to {
    fill-opacity: 1;
    stroke-width: 0;
  }
}
@keyframes jr-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hero Startseite ---------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: min(calc(100svh - 110px), 900px);
  padding: 48px var(--jr-pad-x) 72px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  display: none;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(57, 53, 50, 0.55),
    rgba(57, 53, 50, 0.72)
  );
}
.hero__inner {
  position: relative;
  max-width: 900px;
}
.hero__logo {
  width: min(78vw, 560px);
  margin: 0 auto 28px;
}
.hero__lead {
  margin: 18px auto 30px;
}
.hero .btn-row {
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  translate: -50% 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.7;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 6px auto 0;
  background: currentColor;
  animation: jr-scroll 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes jr-scroll {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

.js .hero__step {
  opacity: 0;
  transform: translateY(14px);
  animation: jr-rise 1s var(--jr-ease) forwards;
}
.js .hero__step--1 {
  animation-delay: 2.3s;
}
.js .hero__step--2 {
  animation-delay: 2.6s;
}
.js .hero__step--3 {
  animation-delay: 2.9s;
}
.js .hero__step--4 {
  animation-delay: 3.2s;
}

.hero--photo {
  color: var(--jr-white);
}
.hero--photo .hero__bg {
  display: block;
}
.hero--photo .btn {
  background: var(--jr-sand);
  color: var(--jr-brown);
  border-color: var(--jr-sand);
}
.hero--photo .btn--ghost {
  background: transparent;
  color: var(--jr-white);
  border-color: var(--jr-white);
}

/* Zwei Wege ---------------------------------------------------------------- */
.paths {
  display: grid;
  gap: 24px;
}
.path {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 440px;
  overflow: hidden;
  color: var(--jr-white);
  text-decoration: none;
}
.path__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--jr-ease);
}
.path--mono .path__img {
  filter: grayscale(1) contrast(1.05);
}
.path::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(57, 53, 50, 0.05) 25%,
    rgba(57, 53, 50, 0.88)
  );
}
.path:hover .path__img {
  transform: scale(1.05);
}
.path__body {
  position: relative;
  z-index: 1;
  padding: 28px;
}
.path__title {
  font-family: var(--jr-font-head);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.05;
  font-weight: 400;
}
.path__text {
  margin: 10px 0 18px;
  max-width: 42ch;
}
.path__more {
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
@media (min-width: 768px) {
  .paths {
    grid-template-columns: 1fr 1fr;
  }
  .path {
    min-height: 540px;
  }
}

/* Text + Bild -------------------------------------------------------------- */
.split {
  display: grid;
  gap: 36px;
  align-items: center;
}
.split__media {
  position: relative;
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__media::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  border: 1px solid var(--jr-copper);
  z-index: -1;
}
.split__media {
  z-index: 0;
}
@media (min-width: 768px) {
  .split {
    grid-template-columns: 5fr 6fr;
    gap: 64px;
  }
  .split--reverse .split__media {
    order: 2;
  }
}

/* Kacheln ------------------------------------------------------------------ */
.cards {
  display: grid;
  gap: 20px;
}
.card {
  background: var(--jr-sand);
  padding: 30px 26px;
  border-top: 2px solid var(--jr-copper);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section--dark .card {
  background: rgba(240, 229, 217, 0.07);
}
.card__title {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
}
.card__meta {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}
@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chips li {
  padding: 8px 18px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-weight: 500;
}

/* Zitat -------------------------------------------------------------------- */
.quote {
  text-align: center;
}
.quote__text {
  font-family: var(--jr-font-head);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
}
.quote__sub {
  margin-top: 16px;
  opacity: 0.8;
}

/* Blog-Teaser -------------------------------------------------------------- */
.post {
  display: flex;
  flex-direction: column;
  background: var(--jr-white);
  text-decoration: none;
}
.section--white .post {
  background: var(--jr-sand);
}
.post__img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.post__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post__title {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Kontakt-Band + Footer ---------------------------------------------------- */
.contact {
  text-align: center;
}
.contact__lines {
  margin: 14px 0 26px;
  font-size: 1.125rem;
}
.contact .btn-row {
  justify-content: center;
}
.footer {
  background: var(--jr-brown);
  color: var(--jr-sand);
  text-align: center;
  padding: 56px var(--jr-pad-x) 28px;
}
.footer__logo {
  width: 240px;
  margin: 0 auto 28px;
  color: var(--jr-white);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__nav a {
  text-decoration: none;
  opacity: 0.85;
}
.footer__nav a:hover {
  opacity: 1;
}
.footer__nav--legal {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 229, 217, 0.25);
  font-size: 0.9375rem;
  max-width: 560px;
  margin-inline: auto;
}
.footer__copy {
  margin-top: 30px;
  font-size: 0.8125rem;
  opacity: 0.6;
}

/* Klang-Schalter (Hintergrundmusik) --------------------------------------- */
.sound {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  background: var(--jr-brown);
  color: var(--jr-sand);
  border: 1px solid rgba(240, 229, 217, 0.35);
  border-radius: 99px;
  font: 600 0.875rem var(--jr-font-body);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(57, 53, 50, 0.25);
}
.sound__bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}
.sound__bars i {
  width: 3px;
  height: 4px;
  background: currentColor;
  border-radius: 2px;
}
.sound[aria-pressed="true"] .sound__bars i {
  animation: jr-bars 1.2s ease-in-out infinite;
}
.sound__bars i:nth-child(2) {
  animation-delay: 0.2s !important;
}
.sound__bars i:nth-child(3) {
  animation-delay: 0.4s !important;
}
@keyframes jr-bars {
  0%,
  100% {
    height: 4px;
  }
  50% {
    height: 16px;
  }
}

/* Stimme ------------------------------------------------------------------- */
.stage {
  background: var(--jr-brown);
  color: var(--jr-sand);
  padding: 56px var(--jr-pad-x) var(--jr-pad-y);
}
.stage__inner {
  max-width: var(--jr-max);
  margin-inline: auto;
  display: grid;
  gap: 40px;
  align-items: center;
}
.stage__media {
  position: relative;
}
.stage__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.stage__media::before {
  content: "";
  position: absolute;
  inset: -14px 18px 18px -14px;
  border: 1px solid var(--jr-copper);
}
.stage__caption {
  font-size: 0.8125rem;
  opacity: 0.6;
  margin-top: 8px;
}
.stage__claim {
  margin: 14px 0 26px;
}
@media (min-width: 1024px) {
  .stage__inner {
    grid-template-columns: 5fr 6fr;
    gap: 72px;
  }
  .stage {
    padding-top: 90px;
    padding-bottom: 100px;
  }
}

.tracks {
  display: grid;
  gap: 14px;
}
.track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--jr-white);
}
.track__play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--jr-brown);
  color: var(--jr-white);
  font-size: 0.9rem;
  cursor: pointer;
}
.track__title {
  font-weight: 600;
}
.track__meta {
  font-size: 0.875rem;
  opacity: 0.7;
}
.track__wave {
  height: 2px;
  background: var(--jr-sand-deep);
  margin-top: 8px;
  position: relative;
}
.track__wave::after {
  content: "";
  position: absolute;
  inset: 0 70% 0 0;
  background: var(--jr-copper);
}

.gallery {
  columns: 2;
  column-gap: 14px;
}
.gallery__item {
  break-inside: avoid;
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
}
.gallery__item img {
  width: 100%;
  transition: transform 0.8s var(--jr-ease);
}
.gallery__item:hover img {
  transform: scale(1.04);
}
.gallery__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 10px;
  font-size: 0.8125rem;
  color: var(--jr-white);
  background: linear-gradient(transparent, rgba(57, 53, 50, 0.85));
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery__item:hover .gallery__cap,
.gallery__item:focus-within .gallery__cap {
  opacity: 1;
}
@media (hover: none) {
  .gallery__cap {
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .gallery {
    columns: 3;
  }
}
@media (min-width: 1024px) {
  .gallery {
    columns: 4;
  }
}

.press {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.press a {
  display: block;
  background: var(--jr-white);
  padding: 8px;
}
.press img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}
@media (min-width: 768px) {
  .press {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Scroll-Einblendung ------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--jr-ease),
    transform 0.9s var(--jr-ease);
}
.js .reveal--in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .logo--draw .logo__line {
    stroke-dashoffset: 0;
    fill-opacity: 1;
    stroke-width: 0;
  }
  .js .logo--draw .logo__word,
  .js .hero__step,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.text .chips {
  margin-top: 1.4em;
}
