/* ==========================================================================
   Alexander Maria Wagner – Stylesheet
   Schriften: Cormorant Garamond (Überschriften), Raleway (Fließtext)
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --c-text: #000;
  --c-muted: #737373;
  --c-footer: #595959;
  --c-grey: #f4f4f4;
  --c-white: #fff;
  --c-line: #000;
  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-sans: "Raleway", Helvetica, Arial, sans-serif;
  --wrap: 1080px;
  --gutter: 5.5%;
  --band: clamp(40px, 6vw, 80px);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .35em;
  font-family: var(--f-serif);
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.2;
}
h1 { font-size: 35px; }
h2 { font-size: 30px; }
h3 { font-size: 25px; }
h4 { font-size: 21px; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
blockquote { margin: 0; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: #000; color: #fff; padding: .5rem 1rem;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout-Helfer ---------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 900px; }
.band { padding-block: var(--band); }
.band-tight { padding-top: 0; }
.band-top { padding-top: 0; }
.band-grey { background: var(--c-grey); }
.center { text-align: center; }
.small { font-size: 13px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* ---------- Header / Navigation ---------- */
.site-header { position: relative; z-index: 20; background: var(--c-white); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: auto; padding: 32px 30px; gap: 24px;
}
.logo img { width: 110px; height: auto; }
.site-nav > ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-nav li { position: relative; }
.site-nav a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 15px/1.4 var(--f-sans); text-transform: uppercase; color: var(--c-text);
  background: none; border: 0; padding: 4px 0; cursor: pointer;
}
.site-nav a[aria-current="page"], .has-sub.is-active > .sub-toggle { text-decoration: underline; text-underline-offset: 6px; }
.icon-chevron { width: 10px; height: 10px; transition: transform .2s; }
.sub {
  position: absolute; top: 100%; left: -20px; min-width: 220px;
  margin: 0; padding: 14px 20px; list-style: none;
  background: var(--c-white); box-shadow: 0 2px 5px rgba(0,0,0,.1); border-top: 3px solid #000;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.sub a { font-size: 14px; padding: 6px 0; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.open .icon-chevron { transform: rotate(180deg); }
.lang a { font-size: 12px; letter-spacing: 2px; border: 1px solid #000; border-radius: 50px; padding: 2px 10px; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 25px; border: 1px solid #000; border-radius: 50px;
  font: 500 16px/1.6 var(--f-sans); letter-spacing: 2px; color: #000; background: transparent;
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: #000; color: #fff; text-decoration: none; }
.btn-small { padding: 4px 18px; font-size: 15px; width: 170px; }
.text-link {
  display: inline-block; font: 500 21px/1.7 var(--f-serif); letter-spacing: 2px;
  text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px;
}

/* ---------- Seitenkopf-Elemente ---------- */
.page-head { text-align: center; margin-bottom: 40px; }
.eyebrow {
  margin: 0 0 12px; font: 500 15px/1.6 var(--f-sans);
  letter-spacing: 2px; text-transform: uppercase;
}
.h-display { font-size: clamp(42px, 6vw, 72px); font-weight: 400; line-height: 1.5; text-transform: uppercase; margin: 0; }
.h-medium { font-size: 30px; text-transform: uppercase; margin: 0 0 .6em; }
.v-rule { display: block; width: 1px; height: 60px; margin: 10px auto 0; background: #000; }
.h-rule { display: block; width: 50px; height: 3px; margin: 18px auto 0; background: #000; }

.page-hero { position: relative; overflow: hidden; background: #111; }
.page-hero picture { display: block; }
.page-hero img { width: 100%; object-fit: cover; }
.hero-about img { aspect-ratio: 2.1 / 1; max-height: 680px; object-position: center 23%; }
.hero-calendar img { aspect-ratio: 16 / 9; max-height: 780px; object-position: center; }

/* ---------- Startseite ---------- */
.hero-home {
  display: flex; align-items: center; min-height: 630px;
  background: #0b1a22 url("../img/02-Alexander-Maria-Wagner-Composer-Pianist.jpg") center / cover no-repeat;
  color: #fff;
}
.hero-inner { display: flex; flex-direction: column; align-items: flex-end; }
.hero-inner > * { width: 48%; }
.hero-home h1 { font-size: clamp(44px, 5.2vw, 70px); line-height: .9; letter-spacing: 5px; margin-bottom: 14px; }
.hero-sub { font: 500 30px/1.6 var(--f-serif); letter-spacing: 1px; }

.quote { text-align: center; }
.band-grey .narrow { max-width: 1080px; }
.quote p { font: 500 24px/1.7 var(--f-serif); letter-spacing: 1px; margin-bottom: .4em; }
.quote footer { margin-top: 18px; }
.quote cite { font: normal 500 14px/1.6 var(--f-sans); letter-spacing: 1px; }
.quote-logo { display: block; width: 140px; max-width: 70%; height: auto; margin: 26px auto 0; }
.quote-logo[src*="new-york-times"] { width: 230px; }
.quote-logo[src*="kultur-port"] { width: 200px; }

.intro { text-align: center; padding-bottom: 20px; }
.monogram { font: 300 70px/1.4 var(--f-serif); letter-spacing: 1px; margin: 0; }
.big-links { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; }
.big-links a { font: 300 46px/1.7 var(--f-serif); letter-spacing: 1px; padding-inline: 10%; }
.big-links a:first-child { text-align: right; border-right: 1px solid #000; }
.big-links a:last-child { text-align: left; }

.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.album { text-align: center; }
.album figure img { width: 100%; aspect-ratio: 1.12; object-fit: cover; }
.album-label { font: 500 22px/1.5 var(--f-serif); margin: 18px 0 14px; }

.icon-links { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.icon-links a {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 3px;
  background: #353535; color: #fff; transition: background .2s;
}
.icon-links a:hover, .icon-links a:focus-visible { background: #000; }
.icon-links .icon { width: 16px; height: 16px; }

.teaser-card {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.13);
}
.teaser-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.teaser-body { padding: 40px 10%; min-width: 0; }
.carousel { position: relative; }
.slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  margin: 0; padding: 0; list-style: none; scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; padding-right: 8px; }
.slide p { font: 300 26px/1.25 var(--f-serif); margin-bottom: 18px; }
.slide .slide-date { margin-bottom: 4px; }
.slide .slide-date strong { font-weight: 700; }
.slide .slide-type { margin-bottom: 10px; }
.slide .slide-details { font-size: 18px; line-height: 1.45; font-weight: 400; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 16px; }
.carousel-controls .carousel-dots { margin-top: 0; }
.carousel-controls { margin-top: 18px; }
.carousel-pause {
  display: grid; place-items: center; width: 26px; height: 26px; padding: 0;
  border: 1px solid #000; border-radius: 50%; background: #fff; cursor: pointer;
}
.carousel-pause .icon { width: 9px; height: 9px; }
.carousel-pause .icon-play, .carousel-pause[aria-pressed="true"] .icon-pause { display: none; }
.carousel-pause[aria-pressed="true"] .icon-play { display: block; }
.email { white-space: nowrap; }
.carousel-dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%;
  border: 1px solid #000; background: transparent; cursor: pointer;
}
.carousel-dots button[aria-current="true"] { background: #000; }
.photo-carousel .carousel-dots { display: none; }

.photo-band img { width: 100%; height: clamp(360px, 58vw, 806px); object-fit: cover; object-position: center top; }

/* ---------- Biografie ---------- */
.prose { max-width: 100%; }
.prose-justify p { text-align: justify; hyphens: auto; }
.prose + .center { margin-top: 50px; }
.photo-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  margin: 30px 0 12px; padding: 0; list-style: none;
}
.photo-grid a { position: relative; display: block; overflow: hidden; }
.photo-grid img { width: 100%; aspect-ratio: 400 / 516; object-fit: cover; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.04); }
.dl-badge {
  position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9);
  opacity: 0; transition: opacity .2s;
}
.photo-grid a:hover .dl-badge, .photo-grid a:focus-visible .dl-badge { opacity: 1; }
.dl-badge .icon { width: 14px; height: 14px; }

/* ---------- Aufnahmen ---------- */
.recording { padding: 20px 0 50px; }
.recording + .recording { border-top: 1px solid #000; padding-top: 50px; }
.recording-head { text-align: center; margin-bottom: 30px; }
.recording-head p { line-height: 1.4; }
.h-album { font-size: 45px; font-weight: 300; line-height: 1.1; text-transform: uppercase; margin-bottom: 10px; }
.recording-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px; align-items: start; }
.recording-cover figcaption { text-align: center; margin-top: 12px; }
.recording-links { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.recording-links .icon { width: 14px; height: 14px; }
.recording-extra { max-width: 726px; margin: 40px auto 0; }
.recording-extra .embed { margin-bottom: 30px; }
.small-text { font-size: 14px; line-height: 1.6; }
.small-text .lead { font-size: 15px; margin-bottom: 1em; }

/* ---------- Externe Inhalte (2-Klick-Lösung) ---------- */
.embed {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center; background: #1e1e1e center / cover no-repeat; color: #fff;
  border-radius: 12px; overflow: hidden;
}
.embed { isolation: isolate; }
.embed > .embed-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.embed::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); z-index: -1; }
.embed > * { position: relative; }
.embed-audio { min-height: 352px; }
.embed-video { aspect-ratio: 16 / 9; border-radius: 0; }
.embed-load {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px;
  border: 1px solid #fff; border-radius: 50px; background: transparent; color: #fff;
  font: 500 15px/1.4 var(--f-sans); letter-spacing: 1px; cursor: pointer;
}
.embed-load:hover, .embed-load:focus-visible { background: #fff; color: #000; }
.embed-note { font-size: 12px; line-height: 1.5; max-width: 340px; opacity: .85; margin: 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.is-loaded { padding: 0; background: none; }
.embed.is-loaded::before { display: none; }

/* ---------- Kalender ---------- */
.event-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; }
.event {
  text-align: center; font-family: var(--f-serif); padding: 18px 0 14px;
  border-bottom: 1px solid #000; margin-bottom: 30px;
}
.event p { font: 500 19px/1.7 var(--f-serif); letter-spacing: 1px; margin: 0 0 .4em; }
.event .event-date { font-size: 21px; }
.event-place { font-size: 35px; line-height: 1.1; margin: 4px 0 18px; }
.event-place strong { font-weight: 700; }
.event a { text-decoration: underline; }
.events-past .event, .events-past .event p { color: var(--c-muted); }
.events:not(.events-past) .event-list > li:last-child .event { border-bottom: 0; margin-bottom: 0; }
.ornament { max-width: 900px; margin: 30px auto 70px; }
.ornament span {
  display: block; aspect-ratio: 1746 / 113; margin-top: 12px;
  background: url("../img/trenner2.png") center / 100% 100% no-repeat;
}

/* ---------- Werkverzeichnis / Repertoire ---------- */
.band-top > .wrap > .h-display { margin: 10px 0 30px; }
.acc { background: var(--c-grey); border: 2px solid #fff; margin-bottom: 26px; }
.acc summary {
  position: relative; display: block; padding: 20px 60px 20px 20px; cursor: pointer; list-style: none;
  font: 400 17px/1.6 var(--f-serif); letter-spacing: 1px; text-transform: uppercase;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: #000; color: #fff; font: 700 14px/1 var(--f-sans);
}
.acc[open] summary::after { content: "–"; }
.acc-body { padding: 0 20px 20px; font-weight: 400; }
.acc-body p { margin-bottom: 1em; }
.artwork figcaption { text-align: center; line-height: 1.4; margin-top: 18px; }
.video-wrap { max-width: 900px; margin: 0 auto 60px; }

/* ---------- Kontakt ---------- */
.contact-grid { text-align: center; gap: 40px; }
.contact-card h2 { font: 700 16px/2 var(--f-sans); letter-spacing: 0; margin-bottom: 1em; }
.contact-card p { margin-bottom: 1em; }
.contact-card img { margin: 10px auto 0; width: auto; max-height: 90px; }
.contact-artist { text-align: center; margin-top: 60px; }

/* ---------- Rechtstexte ---------- */
.legal { padding-top: 40px; }
.legal h1 { font-size: 35px; margin-bottom: 1em; }
.legal h2 { font-size: 26px; margin-top: 1.4em; }
.legal h3, .legal h4 { font-size: 21px; margin-top: 1.2em; }
.legal a { text-decoration: underline; word-break: break-word; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: 14px; }
.legal td, .legal th { border: 1px solid #ddd; padding: 6px 10px; text-align: left; vertical-align: top; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-grey); padding: 50px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; text-align: center; }
.footer-col { padding-inline: 16px; }
.footer-col h2 { font-size: 32px; font-weight: 500; text-transform: uppercase; margin-bottom: 14px; line-height: 1.4; }
.footer-col .icon-links a { background: transparent; color: #000; width: 28px; }
.footer-col .icon-links a:hover { background: transparent; opacity: .6; }
.footer-mid { border-inline: 1px solid #000; padding: 50px 20px; }
.footer-mid img { width: 118px; margin: 0 auto 6px; }
.footer-mid p { font-size: 11px; line-height: 1.8; color: var(--c-footer); margin: 0; }
.footer-mid a { color: var(--c-footer); }
.footer-mid a:hover { color: #000; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 980px) {
  .header-inner { padding: 20px var(--gutter); }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 26px; height: 2px; background: #000; position: relative; transition: .25s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -8px; }
  .nav-toggle-bars::after { top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 3px solid #000; box-shadow: 0 6px 12px rgba(0,0,0,.1);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 20px; }
  .site-nav li { border-bottom: 1px solid rgba(0,0,0,.08); }
  .site-nav a, .sub-toggle { width: 100%; padding: 12px 0; justify-content: space-between; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 8px 16px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .lang { border-bottom: 0 !important; padding-top: 14px; }
  .lang a { width: auto; }

  .hero-home { background-image: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 65%), url("../img/pianist-alexander-maria-wagner-header.jpg"); background-position: left center; min-height: 573px; align-items: flex-end; padding-bottom: 40px; }
  .hero-inner { align-items: flex-start; }
  .hero-inner > * { width: 100%; }
  .big-links a { font-size: 34px; }
  .albums { gap: 30px; }
  .recording-grid { grid-template-columns: 1fr 1fr; }
  .recording-player { grid-column: 1 / -1; grid-row: 2; }
  .recording-links { align-items: flex-start; justify-content: center; }
  .footer-col h2 { font-size: 24px; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Smartphone
   ========================================================================== */
@media (max-width: 767px) {
  body { font-size: 15px; }
  .logo img { width: 90px; }
  .cols-2, .teaser-card, .albums, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .albums { gap: 50px; max-width: 360px; margin-inline: auto; }
  .hero-home { min-height: 540px; }
  .hero-inner { align-items: center; text-align: center; }
  .hero-sub { font-size: 24px; }
  .quote p { font-size: 20px; }
  .monogram { font-size: 54px; }
  .big-links { grid-template-columns: 1fr; }
  .big-links a { font-size: 32px; text-align: center !important; }
  .big-links a:first-child { border-right: 0; border-bottom: 1px solid #000; }
  .teaser-body { padding: 30px 8%; }
  .slide p { font-size: 22px; }
  .h-album { font-size: 32px; }
  .recording-grid { grid-template-columns: 1fr; gap: 24px; }
  .recording-cover { max-width: 260px; margin-inline: auto; }
  .recording-player { grid-row: auto; }
  .recording-links { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .event-place { font-size: 28px; }
  .event p { font-size: 17px; }
  .photo-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; margin-bottom: 0;
  }
  .photo-grid::-webkit-scrollbar { display: none; }
  .photo-grid li { flex: 0 0 78%; scroll-snap-align: center; }
  .photo-carousel .carousel-dots { display: flex; }
  .dl-badge { opacity: 1; }
  .publisher-link { text-align: center; }
  .slide .slide-details { font-size: 16px; }
  .footer-mid { border-inline: 0; border-block: 1px solid #000; padding: 30px 20px; margin: 30px 0; }
  .prose-justify p { text-align: left; }
  .hero-about img { aspect-ratio: 4 / 3; }
  .hero-calendar img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
