:root {
  --bg: #050507;
  --ov: rgba(7, 7, 32, 0.76);

  /* Alles weiß */
  --text: #ffffff;
  --muted: #ffffff;
  --white: #ffffff;

  --header-h: 92px;
  --gutter: 32px;
  --container: 1180px;
  --narrow: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: var(--bg);
  line-height: 1.72;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: #000;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  width: min(calc(100% - 40px), 1770px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 0.94;
  min-width: 0;
  text-decoration: none;
}

.brand span,
.brand .line1,
.brand .line2 {
  display: block;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 600;
  color: #ffffff;
}

.brand span + span,
.brand .line1 + .line2 {
  margin-top: 5px;
}

.nav-toggle {
  display: none;
  padding: 10px 14px;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  padding: 12px 18px;
  border: 1px solid transparent;
  text-decoration: none;
}

.site-nav a.active {
  border-color: #ffffff;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
  outline: none;
  background: rgba(255, 255, 255, 0.06);
}

/* Footer */
.site-footer {
  min-height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1a1a1d;
  color: #ffffff;
  text-align: center;
  padding: 28px 16px;
}

/* Seiten-Layout */
.page-shell {
  position: relative;
  min-height: calc(100vh - 180px);
  padding-top: var(--header-h);
  background:
    linear-gradient(var(--ov), var(--ov)),
    radial-gradient(circle at 15% 28%, rgba(55, 58, 118, 0.58), transparent 27%),
    radial-gradient(circle at 86% 62%, rgba(150, 154, 173, 0.26), transparent 30%),
    linear-gradient(115deg, #090633 0%, #09091e 36%, #171721 100%);
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: cover;
  opacity: 0.34;
  pointer-events: none;
  mix-blend-mode: screen;
}

.page-home::before,
.page-instrumental::before,
.page-profile::before {
  background-image: url("../img/piano-watermark.jpg");
}

.page-contact::before,
.page-impressum::before,
.page-datenschutz::before {
  background-image: url("../img/flute-watermark.jpg");
  opacity: 0.36;
}

.page-konzept {
  background: #000;
}

.page-konzept::before {
  display: none;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.narrow {
  max-width: var(--narrow);
}

.page-main {
  padding: clamp(32px, 4vw, 64px) 0 clamp(64px, 8vw, 110px);
}

.hero-home {
  padding: clamp(36px, 4vw, 60px) 0 clamp(58px, 9vw, 96px);
}

/* Typografie */
.hero-title,
.page-title {
  color: #ffffff;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(18px, 3vw, 28px);
}

.hero-title {
  line-height: 1;
}

.page-title {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
}

/* Hero-Headline strukturiert */
.hero-title .preline {
  display: block;
  font-size: clamp(24px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-title .mainline {
  display: block;
  font-size: clamp(56px, 8vw, 95px);
  line-height: 1.25;
  margin-bottom: 56px;
  color: #ffffff;
}

.hero-title .subline {
  display: block;
  font-size: clamp(24px, 4vw, 48px);
  line-height: 0.95;
  color: #ffffff;
}

.home-center {
  text-align: center;
  margin: clamp(26px, 4vw, 54px) auto 0;
  max-width: 860px;
}

.hero-sub {
  font-size: clamp(18px, 2vw, 26px);
  color: #ffffff;
}

.hero-sub.large {
  font-size: clamp(26px, 3.2vw, 44px);
  color: #ffffff;
  margin-top: 8px;
}

.hero-sub.small {
  font-size: clamp(17px, 1.8vw, 25px);
  color: #ffffff;
  margin-top: 8px;
}

/* Kontaktblock auf Startseite */
.contact-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 56px;
  align-items: start;
}

.contact-block {
  font-size: clamp(17px, 1.45vw, 20px);
  color: #ffffff;
}

.contact-block strong {
  color: #ffffff;
}

.contact-block p {
  margin: 0;
  color: #ffffff;
}

/* Linke Überschrift */
.contact-left .label {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 28px 0;
}

/* Gleiche Referenzhöhe für linke und rechte erste Zeile */
.contact-left .label,
.contact-right .topline {
  min-height: 1.72em;
  display: flex;
  align-items: flex-start;
}

.contact-left .details,
.contact-right .details {
  margin-top: 0;
}

/* Rechte Spalte */
.contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  color: #ffffff;
}

.contact-right .topline {
  margin: 80px 0 0 0;
  line-height: 1.2;
  font-size: clamp(17px, 1.45vw, 20px);
  color: #ffffff;
}

.contact-right .details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 6px;
}

.contact-right .details p {
  color: #ffffff;
}

/* Karte */
.hero-map {
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin: 34px auto 0;
  overflow: hidden;
  width: 100%;
  background: #d9ead1;
}

.hero-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.1 / 1;
  border: 0;
}

.consent-map {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.map-consent-inner {
  max-width: 760px;
  text-align: center;
  color: #ffffff;
}

.map-consent-title {
  margin: 0 0 12px 0;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.map-consent-text {
  margin: 0 auto 24px auto;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}

.map-consent-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.map-load-btn {
  margin-top: 0;
}

.map-external-link {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}

.map-external-link:hover,
.map-external-link:focus-visible {
  text-decoration-color: #ffffff;
}

@media (max-width: 768px) {
  .consent-map {
    min-height: 280px;
    padding: 24px 18px;
  }

  .map-consent-text {
    font-size: 15px;
  }
}

.home-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: #ffffff;
}

/* Allgemeine Inhalte */
.text-block p,
.text-block li,
.text-block ul {
  color: #ffffff;
}

.text-block p {
  margin: 0 0 1rem;
}

.text-block ul {
  margin: 0.6rem 0 0 1.2rem;
  padding: 0;
}

.text-block li {
  margin: 0.42rem 0;
}

.section-divider {
  height: 1px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  margin: 48px 0 28px;
}

.price-group {
  margin: 0 0 42px;
}

.price-group h3 {
  color: #ffffff;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 300;
  margin: 0 0 10px;
}

.price-group h4 {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 8px;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
  color: #ffffff;
}

.pdf-link .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  flex: 0 0 auto;
}

/* Konzept */
.konzept-wrap {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.konzept-image {
  width: min(100%, 1180px);
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

/* Profil */
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 540px);
  gap: 40px;
  align-items: start;
}

.portrait-frame {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  justify-self: center;
  width: 100%;
  max-width: 540px;
}

.portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.78;
  object-fit: cover;
}

/* Kontaktformular */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: start;
}

.form-meta {
  font-size: 14px;
  color: #ffffff;
  font-style: italic;
  margin-bottom: 10px;
}

.contact-form {
  max-width: 560px;
  color: #ffffff;
}

.contact-form label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  margin: 18px 0 8px;
  color: #ffffff;
}

.required {
  color: #ef857d;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(12, 12, 24, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
  padding: 14px 16px;
  min-height: 54px;
}

.contact-form textarea {
  min-height: 210px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

/* neuer Block */

.form-consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 14px;
  align-items: start;
  margin-top: 22px;
  margin-bottom: 28px;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0 0;
  accent-color: #ffffff;
}

.checkbox-text {
  display: block;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.checkbox-text a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.checkbox-text a:hover,
.checkbox-text a:focus-visible {
  text-decoration-color: #ffffff;
}

.checkbox-text .required {
  color: #ef857d;
  margin-left: 4px;
}


/* Ende neuer Block */

.form-consent {
  margin-top: 20px;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  margin: 0;
}

.checkbox-label input[type="checkbox"] {
  margin: 4px 0 0 0;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: #ffffff;
}

.checkbox-label span {
  display: block;
  flex: 1 1 auto;
  margin: 0;
  line-height: 1.5;
}

.checkbox-label a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.checkbox-label a:hover,
.checkbox-label a:focus-visible {
  text-decoration-color: #ffffff;
}

.checkbox-label a:hover,
.checkbox-label a:focus-visible {
  text-decoration-color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

/* Datenschutz / Impressum */
.privacy-text,
.legal-text {
  max-width: 1120px;
}

.privacy-text h3,
.legal-text h3 {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  margin: 28px 0 10px;
}

.privacy-text p,
.legal-text p {
  margin: 0 0 1rem;
}

.privacy-text a,
.legal-text a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.34);
}


.legal-right {
  text-align: left;
}

.legal-right h2 {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 28px 0 10px 0;
}

.disclaimer-title {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 120px 0 10px 0;
}


/* Danke-Seite */
.success-box {
  max-width: 720px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 32px;
}

/* =========================
   RESPONSIVE ERGÄNZUNGEN
   ========================= */

/* Große Tablets / kleinere Laptops */
@media (max-width: 1200px) {
  .header-inner {
    width: min(calc(100% - 28px), 1770px);
  }

  .site-nav a {
    padding: 10px 14px;
    font-size: 13px;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
    gap: 28px;
  }

  .contact-columns {
    gap: 28px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --header-h: 84px;
    --gutter: 24px;
  }

  .header-inner {
    width: min(calc(100% - 24px), 1770px);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) - 1px);
    left: 0;
    right: 0;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 14px 18px;
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
  }

  /* Startseite */
  .contact-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-right {
    align-items: flex-start;
    text-align: left;
  }

  .contact-right .topline {
    margin-top: 0;
  }

  .contact-right .details {
    align-items: flex-start;
    text-align: left;
  }

  .contact-left .label,
  .contact-right .topline {
    min-height: auto;
  }

  /* Profil / Kontakt / Impressum */
  .profile-layout,
  .contact-layout,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .portrait-frame {
    max-width: 100%;
  }

  .legal-right {
    text-align: left;
    order: -1;
  }

  .disclaimer-title {
    margin-top: 0;
  }

  /* Typografie */
  .hero-title .mainline {
    font-size: clamp(48px, 8vw, 80px);
    margin-bottom: 34px;
    line-height: 1.08;
  }

  .hero-title .preline,
  .hero-title .subline {
    font-size: clamp(22px, 3.4vw, 36px);
  }

  .page-title {
    font-size: clamp(32px, 4.8vw, 48px);
  }

  .hero-sub.large {
    font-size: clamp(22px, 3vw, 34px);
  }

  .hero-map iframe {
    aspect-ratio: 1.6 / 1;
  }
}

/* Smartphone quer / kleine Tablets */
@media (max-width: 768px) {
  :root {
    --gutter: 18px;
  }

  .page-main,
  .hero-home {
    padding-top: 24px;
  }

  .brand {
    max-width: 220px;
  }

  .brand span {
    font-size: 16px;
  }

  .hero-title {
    line-height: 1.05;
  }

  .hero-title .preline {
    margin-bottom: 12px;
  }

  .hero-title .mainline {
    font-size: clamp(42px, 10vw, 64px);
    margin-bottom: 24px;
    line-height: 1.05;
  }

  .hero-title .subline {
    line-height: 1.05;
  }

  .home-center {
    margin-top: 28px;
  }

  .hero-sub {
    font-size: 18px;
  }

  .hero-sub.large {
    font-size: 26px;
    line-height: 1.2;
  }

  .hero-sub.small {
    font-size: 17px;
    line-height: 1.3;
  }

  .contact-columns {
    margin-top: 32px;
  }

  .contact-block {
    font-size: 16px;
  }

  .contact-left .label {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .profile-layout {
    gap: 22px;
  }

  .portrait-frame img {
    aspect-ratio: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .hero-map iframe {
    aspect-ratio: 1.4 / 1;
  }

  .pdf-link {
    align-items: flex-start;
  }
}

/* Kleine Smartphones */
@media (max-width: 560px) {
  :root {
    --gutter: 14px;
  }

  .brand {
    max-width: 180px;
  }

  .brand span {
    font-size: 15px;
    line-height: 1;
  }

  .header-inner {
    gap: 12px;
  }

  .nav-toggle {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-title,
  .page-title {
    word-break: break-word;
    hyphens: auto;
  }

  .hero-title .preline {
    font-size: 20px;
  }

  .hero-title .mainline {
    font-size: clamp(34px, 11vw, 52px);
    margin-bottom: 18px;
  }

  .hero-title .subline {
    font-size: 20px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-sub.large {
    font-size: 22px;
  }

  .hero-sub.small {
    font-size: 15px;
  }

  .contact-columns {
    gap: 16px;
  }

  .contact-block {
    font-size: 15px;
  }

  .hero-map iframe {
    aspect-ratio: 1.2 / 1;
  }

  .btn {
    width: 100%;
  }

  .site-footer {
    padding: 20px 12px;
    min-height: 120px;
  }
}
