/* Richard Martin Music — rebuilt from the Wix site (same layout, colors, texts) */

@font-face { font-family: "Madefor Display"; src: url("../fonts/wix-madefor-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Madefor Display"; src: url("../fonts/wix-madefor-display-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Madefor Text"; src: url("../fonts/wix-madefor-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Madefor Text"; src: url("../fonts/wix-madefor-text-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --black: #000;
  --dark: #282626;        /* buttons */
  --grey: #666F76;        /* menu overlay, footer */
  --light: #F7F7F7;       /* hero background */
  --teal: #417586;        /* scroll-to-top button */
  --sky: #97BCC8;         /* mail button */
  --display: "Madefor Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "Madefor Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(1.25rem, 5.5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 57px; }
body { margin: 0; font-family: var(--display); font-size: 14px; line-height: 1.75; color: var(--black); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }
h1, h2 { font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.2; letter-spacing: -0.05em; }
h3 { font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.2rem); line-height: 1.25; letter-spacing: -0.04em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 200; background: #fff; padding: .5rem 1rem; }
.skip:focus { left: .5rem; }

/* Placeholder for photos that aren't added yet */
.is-missing { background: repeating-linear-gradient(45deg, #e4e6e8 0 14px, #eceef0 14px 28px); position: relative; }
.is-missing::after { content: "Foto folgt"; position: absolute; inset: 0; display: grid; place-items: center; color: #8a9096; font-size: 13px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--text); font-size: 13px; letter-spacing: .05em; text-decoration: none; text-align: center; cursor: pointer; border: 1px solid transparent; transition: background-color .2s, color .2s; }
.btn-dark { background: var(--dark); color: #fff; padding: .8rem 2.2rem; min-width: 180px; }
.btn-dark:hover { background: #4a4747; }
.btn-outline { border-color: var(--black); color: var(--black); padding: .45rem 1.6rem; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-wide { width: 100%; }

/* ---------- Header + menu ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: 57px; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 2.25rem; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 11px; letter-spacing: .02em; }
.logo-icon { width: 20px; height: 26px; }
.menu-button { width: 40px; height: 40px; background: none; border: 0; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.menu-button span { display: block; width: 22px; height: 1.5px; background: var(--black); }
.menu { position: fixed; inset: 0; z-index: 100; background: var(--grey); color: #fff; display: grid; place-items: center; }
.menu[hidden] { display: none; }
.menu nav { display: grid; justify-items: center; gap: 1.6rem; font-size: 22px; }
.menu a { text-decoration: none; }
.menu a:hover, .menu a[aria-current] { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.menu-row { display: flex; gap: 1.8rem; }
.menu-close { position: absolute; top: .6rem; right: 2rem; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }

/* ---------- Hero ---------- */
.hero { background: var(--light); position: relative; padding: 70px var(--pad) 110px; display: grid; grid-template-columns: repeat(12, 1fr); min-height: 705px; }
.hero-photo { grid-column: 1 / 7; grid-row: 1; aspect-ratio: 640 / 362; align-self: start; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card { grid-column: 6 / 13; grid-row: 1; margin-top: 70px; align-self: start; position: relative; z-index: 1; background: rgba(255,255,255,.69); padding: 90px 80px 70px 115px; }
.hero h1 { margin-bottom: 1.4rem; }
.hero-card p { max-width: 540px; margin-bottom: 1.8rem; }

/* ---------- Leistungen ---------- */
.services { padding: 60px var(--pad) 90px; text-align: center; }
.services h2 { margin-bottom: 70px; font-size: clamp(2.2rem, 1.3rem + 2.4vw, 3.25rem); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 6%; max-width: 1050px; margin: 0 auto 60px; }
.service h3 { margin: 2rem 0 2.5rem; }
.service p { text-align: justify; hyphens: auto; max-width: 300px; margin: 0 auto; }
.service-art { width: 180px; height: 180px; border-radius: 50%; margin: 0 auto; position: relative; overflow: hidden; }
/* Original artwork (the Wix animations are Wix stock media and can't be reused outside Wix) */
.art-disco { background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,.95) 0 6%, transparent 18%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 1px, transparent 1px 13px),
    radial-gradient(circle at 40% 35%, #f2f4f6, #9aa3ab 55%, #4f565c);
  animation: sparkle 6s ease-in-out infinite; }
@keyframes sparkle { 50% { filter: brightness(1.15) hue-rotate(-10deg); } }
.art-vinyl { background: radial-gradient(circle, #c62828 0 18%, #111 19% 22%, #1b1b1b 23%, #2a2a2a 30%, #151515 31%, #232323 45%, #111 46%, #1f1f1f 60%, #0d0d0d 61% 100%); animation: spin 5s linear infinite; }
.art-vinyl span { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #f1f1f1; }
.art-vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 10%, rgba(255,255,255,.12) 14%, transparent 18% 60%, rgba(255,255,255,.1) 64%, transparent 68%); }
@keyframes spin { to { transform: rotate(360deg); } }
.art-wave { background: radial-gradient(circle at 35% 30%, #e9f6ff, #a8d6f0 45%, #5fa8d3); display: grid; place-items: center; }
.art-wave svg { width: 62%; }
.art-wave path { animation: wave 1.6s ease-in-out infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes wave { 50% { transform: scaleY(.55); } }

/* ---------- Über mich slideshow ---------- */
.about { position: relative; overflow: hidden; }
.slide { background: var(--bg); min-height: 500px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); align-items: center; gap: 2rem; padding: 70px calc(var(--pad) + 140px); }
.slide[hidden] { display: none; }
.slide.is-active { animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; } }
.slide h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); margin-bottom: 1.6rem; }
.slide-lead { font-size: clamp(1.05rem, .9rem + .5vw, 1.3rem); line-height: 1.85; letter-spacing: -0.02em; max-width: 520px; }
.slide-text p:not(.slide-lead) { font-family: var(--text); font-size: 15px; line-height: 2; text-align: justify; max-width: 600px; }
.slide-text .btn { margin-top: .8rem; }
.slide-text-wide { grid-column: 1 / -1; }
.blob { width: min(100%, 360px); aspect-ratio: 360 / 470; justify-self: center; border-radius: 58% 42% 46% 54% / 44% 38% 62% 56%; overflow: hidden; }
.blob img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.slide-illustration { justify-self: center; width: 160px; }
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 30px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--black); }
.slide-arrow svg { width: 48px; }
.slide-arrow.prev { left: calc(var(--pad) + 8px); }
.slide-arrow.next { right: calc(var(--pad) + 8px); }

/* ---------- Hörproben ---------- */
.listen { padding: 110px var(--pad) 60px; max-width: 1180px; margin: 0 auto; }
.listen h2 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.2rem); letter-spacing: -0.04em; max-width: 620px; margin-bottom: 60px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); gap: 20px; justify-content: start; }
.video { aspect-ratio: 16 / 9; background: #111; position: relative; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: #fff; font: inherit; text-align: left; background: linear-gradient(135deg, #1d1d1f, #3a3a3e); display: flex; flex-direction: column; justify-content: space-between; padding: 14px 18px; }
.video-play.has-thumb { background-size: cover; background-position: center; }
.video-play.has-thumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.6), transparent 35%); }
.video-play > span { position: relative; }
.video-title { font-size: 15px; line-height: 1.35; max-width: 85%; }
.video-icon { align-self: center; width: 68px; height: 48px; border-radius: 12px; background: #e62117; position: relative; margin-bottom: 22%; }
.video-icon::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video-play:hover .video-icon { background: #ff2a1f; }
.video-note { margin-top: 1rem; color: #6b6b6b; font-size: 12px; }

/* ---------- Contact ---------- */
.contact { padding: 60px var(--pad) 110px; max-width: 1180px; margin: 0 auto; }
.contact h2 { font-size: clamp(2.2rem, 1.3rem + 2.4vw, 3.25rem); margin-bottom: 50px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 3rem; }
.contact-intro { font-size: 14px; line-height: 1.6; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.8rem; align-content: start; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12px; }
.field input, .field textarea { font: inherit; font-size: 14px; border: 0; border-bottom: 1px solid var(--black); padding: .4rem 0; background: transparent; border-radius: 0; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; }
.field [aria-invalid="true"] { border-bottom-color: #c0392b; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; }
.form-status.is-error { color: #c0392b; }

/* ---------- Photo strip + events ---------- */
.photo-strip { height: 314px; overflow: hidden; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.events { padding: 50px var(--pad) 80px; text-align: center; }
.events h2 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.2rem); letter-spacing: -0.04em; margin-bottom: 2.5rem; }
.event-list { list-style: none; padding: 0; margin: 0 auto; max-width: 600px; }
.event-list li { padding: .7rem 0; border-bottom: 1px solid #ddd; }
.event-list:not(:empty) + .events-empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grey); color: #fff; padding: 40px var(--pad) 50px; }
.site-footer hr { border: 0; border-top: 1px solid rgba(255,255,255,.5); margin: 0 0 30px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.footer-logo svg { width: 30px; height: 40px; }
.footer-right { min-width: 260px; }
.social { display: flex; gap: .9rem; margin-bottom: 1.2rem; }
.social svg { width: 26px; height: 26px; }
.footer-links { display: grid; font-size: 11px; line-height: 1.6; margin-bottom: 1.6rem; }
.footer-links a { text-decoration: underline; }
.copyright { font-size: 11px; margin: 0; }

/* ---------- Floating buttons ---------- */
.float-btn { position: fixed; right: 26px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.float-btn svg { width: 22px; height: 22px; }
.float-top { bottom: 150px; background: var(--teal); opacity: 0; pointer-events: none; transition: opacity .3s; }
.float-top.is-visible { opacity: 1; pointer-events: auto; }
.float-mail { bottom: 24px; background: var(--sky); color: #1d3540; }

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; margin: 0 auto; padding: 80px var(--pad) 100px; font-size: 15px; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 2.2rem 0 .7rem; }
.legal .todo { background: #FBEFC9; padding: 0 .25em; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding: 30px var(--pad) 70px; min-height: 0; }
  .hero-photo, .hero-card { grid-column: 1; }
  .hero-card { grid-row: 2; margin-top: -40px; margin-left: 8%; padding: 50px 40px; }
  .slide { grid-template-columns: 1fr; padding: 60px calc(var(--pad) + 50px); }
  .slide-arrow { top: auto; bottom: 18px; transform: none; }
  .slide-arrow.prev { left: var(--pad); }
  .slide-arrow.next { right: var(--pad); }
}
@media (max-width: 760px) {
  .site-header { padding: 0 1.1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .hero-card { margin-left: 0; padding: 40px 24px; }
  .slide { padding: 50px var(--pad) 80px; }
  .float-btn { right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
