/*
Theme Name: RM Band Gildehaus
Theme URI: https://testrmband.screenus.de
Author: SCREENUS GmbH
Description: Lautes, zweisprachig angehauchtes Onepage-Theme für die RM Band Gildehaus.
Version: 1.2.0
Text Domain: rm-band
*/

:root {
  --navy: #071b3f;
  --navy-2: #0d2e67;
  --green: #16833e;
  --yellow: #ffd52d;
  --orange: #ef5b2a;
  --cream: #fff8e6;
  --ink: #07152d;
  --white: #fff;
  --muted: #657189;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(2, 16, 46, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.rm-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.rm-section { position: relative; padding: 110px 0; }
.rm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rm-kicker::before { content: ""; width: 30px; height: 4px; background: var(--yellow); border-radius: 20px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: .98; letter-spacing: -.035em; }
h2 { margin-bottom: 24px; font-size: clamp(2.5rem, 6vw, 5.4rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; }
.rm-lead { max-width: 760px; color: #3f4b62; font-size: clamp(1.08rem, 2vw, 1.35rem); }

.rm-site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  background: rgba(7, 27, 63, .88);
  border-bottom: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(18px);
}
.rm-nav { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.rm-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 950; letter-spacing: .03em; }
.rm-brand img { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--yellow); }
.rm-brand span { font-size: 1.1rem; }
.rm-menu { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.rm-menu a { color: #fff; font-size: .84rem; font-weight: 850; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.rm-menu a:hover, .rm-menu a:focus-visible { color: var(--yellow); }
.rm-menu .rm-nav-cta { padding: 12px 17px; color: var(--navy); background: var(--yellow); border-radius: 999px; }
.rm-menu-toggle { display: none; width: 46px; height: 46px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 0; }
.rm-menu-toggle::before, .rm-menu-toggle::after { content: ""; display: block; width: 22px; height: 3px; margin: 6px auto; background: currentColor; border-radius: 4px; }

.rm-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  padding: 150px 0 80px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.rm-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,27,63,.98) 0%, rgba(7,27,63,.8) 45%, rgba(7,27,63,.28) 75%, rgba(7,27,63,.55) 100%),
    url("assets/images/muehlenfest.jpg") center 35%/cover no-repeat;
  transform: scale(1.02);
}
.rm-hero::after {
  content: ""; position: absolute; inset: auto -5% -100px;
  height: 180px; background: var(--cream); transform: rotate(-3deg);
}
.rm-hero-content { position: relative; z-index: 1; max-width: 900px; padding-bottom: 40px; }
.rm-hero-logo { width: 130px; height: 130px; margin-bottom: 28px; border: 5px solid #fff; border-radius: 50%; box-shadow: 0 15px 45px rgba(0,0,0,.35); }
.rm-hero h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(4rem, 10vw, 9.5rem); text-transform: uppercase; text-shadow: 0 4px 0 rgba(0,0,0,.22); }
.rm-hero h1 em { display: block; color: var(--yellow); font-style: normal; }
.rm-hero-copy { max-width: 720px; color: rgba(255,255,255,.88); font-size: clamp(1.2rem, 2.4vw, 1.65rem); font-weight: 700; }
.rm-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.rm-button {
  display: inline-flex; min-height: 54px; align-items: center; justify-content: center;
  padding: 14px 24px; color: var(--navy); background: var(--yellow); border: 2px solid var(--yellow);
  border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.16);
  font-weight: 950; letter-spacing: .03em; text-decoration: none; text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}
.rm-button:hover, .rm-button:focus-visible { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 15px 35px rgba(0,0,0,.24); }
.rm-button--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.55); }
.rm-button--orange { color: #fff; background: var(--orange); border-color: var(--orange); }

.rm-intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.rm-sticker {
  position: relative; padding: 46px; color: #fff; background: var(--green); border: 10px solid var(--yellow);
  border-radius: 50% 45% 48% 43%; box-shadow: var(--shadow); transform: rotate(3deg);
  text-align: center;
}
.rm-sticker strong { display: block; font-size: clamp(2.7rem, 5vw, 5rem); line-height: .9; text-transform: uppercase; }
.rm-sticker span { display: block; margin-top: 15px; font-weight: 900; }

.rm-stats { padding: 42px 0; color: #fff; background: var(--navy); }
.rm-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rm-stat { padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.18); }
.rm-stat:last-child { border-right: 0; }
.rm-stat strong { display: block; color: var(--yellow); font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .9; }
.rm-stat span { display: block; margin-top: 10px; font-weight: 850; text-transform: uppercase; }

.rm-videos { color: #fff; background: var(--navy); }
.rm-videos .rm-kicker { color: var(--yellow); }
.rm-videos .rm-lead { color: rgba(255,255,255,.74); }
.rm-video-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; margin-top: 48px; }
.rm-video-card { position: relative; min-height: 320px; overflow: hidden; border: 2px solid rgba(255,255,255,.18); border-radius: var(--radius); background: #020b1d; }
.rm-video-card:first-child { grid-row: span 2; min-height: 664px; }
.rm-video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .74; transition: transform .4s ease, opacity .4s ease; }
.rm-video-card:hover img { transform: scale(1.04); opacity: .9; }
.rm-video-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 28px; background: linear-gradient(transparent 35%, rgba(3,14,38,.95)); }
.rm-video-overlay span { color: var(--yellow); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.rm-video-overlay h3 { max-width: 580px; margin: 8px 0 18px; font-size: clamp(1.55rem, 3vw, 2.8rem); }
.rm-play { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; color: var(--navy); background: var(--yellow); border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 950; }
.rm-play::before { content: "▶"; font-size: .75em; }
.rm-video-card iframe { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; border: 0; }
.rm-shorts-grid { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-inline: auto; }
.rm-shorts-grid .rm-video-card, .rm-shorts-grid .rm-video-card:first-child {
  grid-column: auto; grid-row: auto; min-height: 0; aspect-ratio: 9 / 16;
}
.rm-shorts-grid .rm-video-overlay h3 { font-size: clamp(1.4rem, 2.4vw, 2.25rem); }
.rm-instagram-head { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin: 90px 0 28px; }
.rm-instagram-head h3 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); text-transform: uppercase; }
.rm-instagram-head > p { max-width: 430px; margin: 0; color: rgba(255,255,255,.72); }
.rm-instagram-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.rm-instagram-grid .instagram-media {
  width: 100% !important; min-width: 0 !important; max-width: none !important; margin: 0 !important;
  overflow: hidden; color: var(--ink); background: #fff; border: 0 !important; border-radius: var(--radius) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.24) !important;
}
.rm-instagram-grid > blockquote > a { display: block; min-height: 180px; padding: 34px; color: var(--navy); font-weight: 900; }

.rm-repertoire { overflow: hidden; background: var(--yellow); }
.rm-ticker { display: flex; width: max-content; gap: 18px; margin-top: 45px; animation: rm-scroll 28s linear infinite; }
.rm-ticker span { padding: 14px 24px; color: #fff; background: var(--navy); border-radius: 999px; font-size: 1.1rem; font-weight: 950; white-space: nowrap; transform: rotate(-1deg); }
.rm-ticker span:nth-child(3n) { background: var(--green); transform: rotate(1.5deg); }
.rm-ticker span:nth-child(4n) { background: var(--orange); }
@keyframes rm-scroll { to { transform: translateX(-50%); } }

.rm-band { background: #fff; }
.rm-members { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 54px; }
.rm-member { position: relative; min-height: 260px; padding: 26px 22px; overflow: hidden; color: #fff; background: var(--navy); border-radius: 18px; }
.rm-member::after { content: ""; position: absolute; width: 100px; height: 100px; right: -28px; bottom: -30px; background: var(--yellow); border-radius: 50%; opacity: .16; }
.rm-member:nth-child(3n) { background: var(--green); }
.rm-member:nth-child(4n) { background: var(--orange); }
.rm-member h3 { margin: 12px 0 10px; font-size: 1.55rem; }
.rm-member-role { margin-bottom: 10px; color: var(--yellow); font-weight: 900; }
.rm-member p:last-child { margin: 0; color: rgba(255,255,255,.78); font-size: .92rem; }

.rm-gigs { color: #fff; background: var(--green); }
.rm-gig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.rm-gig { min-height: 210px; padding: 28px 22px; color: var(--navy); background: var(--yellow); border-radius: 18px; transform: rotate(-1deg); }
.rm-gig:nth-child(even) { color: #fff; background: var(--navy); transform: rotate(1deg); }
.rm-gig-icon { display: block; margin-bottom: 35px; font-size: 2.2rem; }
.rm-gig h3 { margin: 0; font-size: 1.45rem; }

.rm-story-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.rm-story-card { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(-2deg); }
.rm-story-card img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.rm-timeline { margin: 0; padding: 0; list-style: none; }
.rm-timeline li { position: relative; padding: 0 0 38px 66px; border-left: 4px solid var(--yellow); }
.rm-timeline li:last-child { padding-bottom: 0; }
.rm-timeline strong { position: absolute; left: 17px; top: -4px; color: var(--green); font-size: .8rem; font-weight: 950; letter-spacing: .08em; transform: translateX(-50%); }
.rm-timeline h3 { margin-bottom: 8px; font-size: 1.8rem; }

.rm-booking { color: #fff; background: var(--navy); }
.rm-booking::before { content: ""; position: absolute; inset: 0; opacity: .1; background: url("assets/images/channel-banner.jpg") center/cover no-repeat; }
.rm-booking-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.rm-contact-card { padding: 34px; color: var(--ink); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.rm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rm-field { display: flex; flex-direction: column; gap: 7px; }
.rm-field--full { grid-column: 1 / -1; }
.rm-field label { font-size: .82rem; font-weight: 950; letter-spacing: .04em; text-transform: uppercase; }
.rm-field input, .rm-field textarea, .rm-field select {
  width: 100%; padding: 14px 15px; color: var(--ink); background: #f5f7fb; border: 2px solid #dfe4ee; border-radius: 12px; font: inherit;
}
.rm-field input:focus, .rm-field textarea:focus, .rm-field select:focus { border-color: var(--green); outline: 3px solid rgba(22,131,62,.12); }
.rm-field textarea { min-height: 135px; resize: vertical; }
.rm-hp { position: absolute; left: -9999px; }
.rm-form-note { margin: 16px 0 0; color: var(--muted); font-size: .82rem; }
.rm-alert { margin-bottom: 18px; padding: 15px 18px; border-radius: 12px; font-weight: 800; }
.rm-alert--ok { color: #0e5d2b; background: #dff7e6; }
.rm-alert--error { color: #8a2417; background: #ffe5df; }
.rm-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rm-socials a { padding: 12px 16px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; font-weight: 900; text-decoration: none; }
.rm-socials a:hover { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }

.rm-site-footer { padding: 42px 0; color: rgba(255,255,255,.68); background: #020b1d; }
.rm-footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rm-footer-grid p { margin: 0; }
.rm-footer-grid a { color: #fff; }
.rm-test-badge { padding: 8px 12px; color: var(--navy); background: var(--yellow); border-radius: 999px; font-size: .72rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 1050px) {
  .rm-members { grid-template-columns: repeat(3, 1fr); }
  .rm-gig-grid { grid-template-columns: repeat(3, 1fr); }
  .rm-video-grid { grid-template-columns: 1fr 1fr; }
  .rm-shorts-grid { grid-template-columns: repeat(3, 1fr); }
  .rm-video-card:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
}
@media (max-width: 800px) {
  .rm-wrap { width: min(100% - 28px, 680px); }
  .rm-section { padding: 82px 0; }
  .rm-menu-toggle { display: block; }
  .rm-menu { position: fixed; inset: 78px 0 auto; display: none; padding: 30px; background: var(--navy); flex-direction: column; align-items: stretch; }
  .rm-menu.is-open { display: flex; }
  .rm-menu a { display: block; padding: 10px 0; text-align: center; }
  .rm-shorts-grid { grid-template-columns: 1fr 1fr; }
  .rm-intro-grid, .rm-story-grid, .rm-booking-grid { grid-template-columns: 1fr; }
  .rm-instagram-head { align-items: flex-start; flex-direction: column; }
  .rm-stats-grid { grid-template-columns: 1fr 1fr; }
  .rm-stat:nth-child(2) { border-right: 0; }
  .rm-members { grid-template-columns: repeat(2, 1fr); }
  .rm-gig-grid { grid-template-columns: 1fr 1fr; }
  .rm-hero { min-height: 900px; }
  .rm-hero::before { background-position: 48% center; }
  .rm-hero-logo { width: 105px; height: 105px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .rm-brand span { display: none; }
  .rm-hero h1 { font-size: clamp(3.3rem, 18vw, 5.5rem); }
  .rm-hero-copy { font-size: 1.08rem; }
  .rm-actions, .rm-actions .rm-button { width: 100%; }
  .rm-video-grid, .rm-members, .rm-gig-grid, .rm-form-grid { grid-template-columns: 1fr; }
  .rm-instagram-grid { grid-template-columns: 1fr; }
  .rm-video-card, .rm-video-card:first-child { min-height: 300px; }
  .rm-member { min-height: 230px; }
  .rm-field--full { grid-column: auto; }
  .rm-footer-grid { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rm-ticker { animation: none; flex-wrap: wrap; width: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
